@auxx/chat 0.0.2 → 0.0.5
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/dist/client/client/index.d.ts +13 -1
- package/dist/client/client/index.d.ts.map +1 -1
- package/dist/client/client/index.js +27 -2
- package/dist/react/client/index.d.ts +13 -1
- package/dist/react/client/index.d.ts.map +1 -1
- package/dist/react/client/index.js +27 -2
- package/dist/react/react/index.d.ts.map +1 -1
- package/dist/react/react/index.js +27 -5
- package/dist/widget-bundle/auxx-chat.js +190 -190
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";var nn,ee,li,wt,si,ci,di,ui,vo,xo,yo,hi,Sn={},Cn=[],sd=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,on=Array.isArray;function Ge(e,t){for(var n in t)e[n]=t[n];return e}function wo(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function fe(e,t,n){var o,r,i,l={};for(i in t)i=="key"?o=t[i]:i=="ref"?r=t[i]:l[i]=t[i];if(arguments.length>2&&(l.children=arguments.length>3?nn.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)l[i]===void 0&&(l[i]=e.defaultProps[i]);return rn(e,l,o,r,null)}function rn(e,t,n,o,r){var i={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:r??++li,__i:-1,__u:0};return r==null&&ee.vnode!=null&&ee.vnode(i),i}function pi(){return{current:null}}function xe(e){return e.children}function qe(e,t){this.props=e,this.context=t}function It(e,t){if(t==null)return e.__?It(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?It(e):null}function cd(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,o=[],r=[],i=Ge({},t);i.__v=t.__v+1,ee.vnode&&ee.vnode(i),jo(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,o,n??It(t),!!(32&t.__u),r),i.__v=t.__v,i.__.__k[i.__i]=i,vi(o,i,r),t.__e=t.__=null,i.__e!=n&&mi(i)}}function mi(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),mi(e)}function ko(e){(!e.__d&&(e.__d=!0)&&wt.push(e)&&!Nn.__r++||si!=ee.debounceRendering)&&((si=ee.debounceRendering)||ci)(Nn)}function Nn(){for(var e,t=1;wt.length;)wt.length>t&&wt.sort(di),e=wt.shift(),t=wt.length,cd(e);Nn.__r=0}function fi(e,t,n,o,r,i,l,s,u,h,f){var m,g,_,k,x,b,y,S=o&&o.__k||Cn,N=t.length;for(u=dd(n,t,S,u,N),m=0;m<N;m++)(_=n.__k[m])!=null&&(g=_.__i!=-1&&S[_.__i]||Sn,_.__i=m,b=jo(e,_,g,r,i,l,s,u,h,f),k=_.__e,_.ref&&g.ref!=_.ref&&(g.ref&&Co(g.ref,null,_),f.push(_.ref,_.__c||k,_)),x==null&&k!=null&&(x=k),(y=!!(4&_.__u))||g.__k===_.__k?u=bi(_,u,e,y):typeof _.type=="function"&&b!==void 0?u=b:k&&(u=k.nextSibling),_.__u&=-7);return n.__e=x,u}function dd(e,t,n,o,r){var i,l,s,u,h,f=n.length,m=f,g=0;for(e.__k=new Array(r),i=0;i<r;i++)(l=t[i])!=null&&typeof l!="boolean"&&typeof l!="function"?(typeof l=="string"||typeof l=="number"||typeof l=="bigint"||l.constructor==String?l=e.__k[i]=rn(null,l,null,null,null):on(l)?l=e.__k[i]=rn(xe,{children:l},null,null,null):l.constructor===void 0&&l.__b>0?l=e.__k[i]=rn(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):e.__k[i]=l,u=i+g,l.__=e,l.__b=e.__b+1,s=null,(h=l.__i=ud(l,n,u,m))!=-1&&(m--,(s=n[h])&&(s.__u|=2)),s==null||s.__v==null?(h==-1&&(r>f?g--:r<f&&g++),typeof l.type!="function"&&(l.__u|=4)):h!=u&&(h==u-1?g--:h==u+1?g++:(h>u?g--:g++,l.__u|=4))):e.__k[i]=null;if(m)for(i=0;i<f;i++)(s=n[i])!=null&&(2&s.__u)==0&&(s.__e==o&&(o=It(s)),yi(s,s));return o}function bi(e,t,n,o){var r,i;if(typeof e.type=="function"){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=bi(r[i],t,n,o));return t}e.__e!=t&&(o&&(t&&e.type&&!t.parentNode&&(t=It(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function et(e,t){return t=t||[],e==null||typeof e=="boolean"||(on(e)?e.some(function(n){et(n,t)}):t.push(e)),t}function ud(e,t,n,o){var r,i,l,s=e.key,u=e.type,h=t[n],f=h!=null&&(2&h.__u)==0;if(h===null&&s==null||f&&s==h.key&&u==h.type)return n;if(o>(f?1:0)){for(r=n-1,i=n+1;r>=0||i<t.length;)if((h=t[l=r>=0?r--:i++])!=null&&(2&h.__u)==0&&s==h.key&&u==h.type)return l}return-1}function gi(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||sd.test(t)?n:n+"px"}function Tn(e,t,n,o,r){var i,l;e:if(t=="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof o=="string"&&(e.style.cssText=o=""),o)for(t in o)n&&t in n||gi(e.style,t,"");if(n)for(t in n)o&&n[t]==o[t]||gi(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")i=t!=(t=t.replace(ui,"$1")),l=t.toLowerCase(),t=l in e||t=="onFocusOut"||t=="onFocusIn"?l.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?o?n.u=o.u:(n.u=vo,e.addEventListener(t,i?yo:xo,i)):e.removeEventListener(t,i?yo:xo,i);else{if(r=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function _i(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=vo++;else if(t.t<n.u)return;return n(ee.event?ee.event(t):t)}}}function jo(e,t,n,o,r,i,l,s,u,h){var f,m,g,_,k,x,b,y,S,N,C,P,T,A,M,E=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=ee.__b)&&f(t);e:if(typeof E=="function")try{if(y=t.props,S="prototype"in E&&E.prototype.render,N=(f=E.contextType)&&o[f.__c],C=f?N?N.props.value:f.__:o,n.__c?b=(m=t.__c=n.__c).__=m.__E:(S?t.__c=m=new E(y,C):(t.__c=m=new qe(y,C),m.constructor=E,m.render=pd),N&&N.sub(m),m.state||(m.state={}),m.__n=o,g=m.__d=!0,m.__h=[],m._sb=[]),S&&m.__s==null&&(m.__s=m.state),S&&E.getDerivedStateFromProps!=null&&(m.__s==m.state&&(m.__s=Ge({},m.__s)),Ge(m.__s,E.getDerivedStateFromProps(y,m.__s))),_=m.props,k=m.state,m.__v=t,g)S&&E.getDerivedStateFromProps==null&&m.componentWillMount!=null&&m.componentWillMount(),S&&m.componentDidMount!=null&&m.__h.push(m.componentDidMount);else{if(S&&E.getDerivedStateFromProps==null&&y!==_&&m.componentWillReceiveProps!=null&&m.componentWillReceiveProps(y,C),t.__v==n.__v||!m.__e&&m.shouldComponentUpdate!=null&&m.shouldComponentUpdate(y,m.__s,C)===!1){t.__v!=n.__v&&(m.props=y,m.state=m.__s,m.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(R){R&&(R.__=t)}),Cn.push.apply(m.__h,m._sb),m._sb=[],m.__h.length&&l.push(m);break e}m.componentWillUpdate!=null&&m.componentWillUpdate(y,m.__s,C),S&&m.componentDidUpdate!=null&&m.__h.push(function(){m.componentDidUpdate(_,k,x)})}if(m.context=C,m.props=y,m.__P=e,m.__e=!1,P=ee.__r,T=0,S)m.state=m.__s,m.__d=!1,P&&P(t),f=m.render(m.props,m.state,m.context),Cn.push.apply(m.__h,m._sb),m._sb=[];else do m.__d=!1,P&&P(t),f=m.render(m.props,m.state,m.context),m.state=m.__s;while(m.__d&&++T<25);m.state=m.__s,m.getChildContext!=null&&(o=Ge(Ge({},o),m.getChildContext())),S&&!g&&m.getSnapshotBeforeUpdate!=null&&(x=m.getSnapshotBeforeUpdate(_,k)),A=f!=null&&f.type===xe&&f.key==null?xi(f.props.children):f,s=fi(e,on(A)?A:[A],t,n,o,r,i,l,s,u,h),m.base=t.__e,t.__u&=-161,m.__h.length&&l.push(m),b&&(m.__E=m.__=null)}catch(R){if(t.__v=null,u||i!=null)if(R.then){for(t.__u|=u?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;i[i.indexOf(s)]=null,t.__e=s}else{for(M=i.length;M--;)wo(i[M]);So(t)}else t.__e=n.__e,t.__k=n.__k,R.then||So(t);ee.__e(R,t,n)}else i==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=hd(n.__e,t,n,o,r,i,l,u,h);return(f=ee.diffed)&&f(t),128&t.__u?void 0:s}function So(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(So))}function vi(e,t,n){for(var o=0;o<n.length;o++)Co(n[o],n[++o],n[++o]);ee.__c&&ee.__c(t,e),e.some(function(r){try{e=r.__h,r.__h=[],e.some(function(i){i.call(r)})}catch(i){ee.__e(i,r.__v)}})}function xi(e){return typeof e!="object"||e==null||e.__b>0?e:on(e)?e.map(xi):Ge({},e)}function hd(e,t,n,o,r,i,l,s,u){var h,f,m,g,_,k,x,b=n.props||Sn,y=t.props,S=t.type;if(S=="svg"?r="http://www.w3.org/2000/svg":S=="math"?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),i!=null){for(h=0;h<i.length;h++)if((_=i[h])&&"setAttribute"in _==!!S&&(S?_.localName==S:_.nodeType==3)){e=_,i[h]=null;break}}if(e==null){if(S==null)return document.createTextNode(y);e=document.createElementNS(r,S,y.is&&y),s&&(ee.__m&&ee.__m(t,i),s=!1),i=null}if(S==null)b===y||s&&e.data==y||(e.data=y);else{if(i=i&&nn.call(e.childNodes),!s&&i!=null)for(b={},h=0;h<e.attributes.length;h++)b[(_=e.attributes[h]).name]=_.value;for(h in b)_=b[h],h=="dangerouslySetInnerHTML"?m=_:h=="children"||h in y||h=="value"&&"defaultValue"in y||h=="checked"&&"defaultChecked"in y||Tn(e,h,null,_,r);for(h in y)_=y[h],h=="children"?g=_:h=="dangerouslySetInnerHTML"?f=_:h=="value"?k=_:h=="checked"?x=_:s&&typeof _!="function"||b[h]===_||Tn(e,h,_,b[h],r);if(f)s||m&&(f.__html==m.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(m&&(e.innerHTML=""),fi(t.type=="template"?e.content:e,on(g)?g:[g],t,n,o,S=="foreignObject"?"http://www.w3.org/1999/xhtml":r,i,l,i?i[0]:n.__k&&It(n,0),s,u),i!=null)for(h=i.length;h--;)wo(i[h]);s||(h="value",S=="progress"&&k==null?e.removeAttribute("value"):k!=null&&(k!==e[h]||S=="progress"&&!k||S=="option"&&k!=b[h])&&Tn(e,h,k,b[h],r),h="checked",x!=null&&x!=e[h]&&Tn(e,h,x,b[h],r))}return e}function Co(e,t,n){try{if(typeof e=="function"){var o=typeof e.__u=="function";o&&e.__u(),o&&t==null||(e.__u=e(t))}else e.current=t}catch(r){ee.__e(r,n)}}function yi(e,t,n){var o,r;if(ee.unmount&&ee.unmount(e),(o=e.ref)&&(o.current&&o.current!=e.__e||Co(o,null,t)),(o=e.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(i){ee.__e(i,t)}o.base=o.__P=null}if(o=e.__k)for(r=0;r<o.length;r++)o[r]&&yi(o[r],t,n||typeof e.type!="function");n||wo(e.__e),e.__c=e.__=e.__e=void 0}function pd(e,t,n){return this.constructor(e,n)}function pt(e,t,n){var o,r,i,l;t==document&&(t=document.documentElement),ee.__&&ee.__(e,t),r=(o=typeof n=="function")?null:n&&n.__k||t.__k,i=[],l=[],jo(t,e=(!o&&n||t).__k=fe(xe,null,[e]),r||Sn,Sn,t.namespaceURI,!o&&n?[n]:r?null:t.firstChild?nn.call(t.childNodes):null,i,!o&&n?n:r?r.__e:t.firstChild,o,l),vi(i,e,l)}function wi(e,t){pt(e,t,wi)}function md(e,t,n){var o,r,i,l,s=Ge({},e.props);for(i in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)i=="key"?o=t[i]:i=="ref"?r=t[i]:s[i]=t[i]===void 0&&l!=null?l[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?nn.call(arguments,2):n),rn(e.type,s,o||e.key,r||e.ref,null)}function tt(e){function t(n){var o,r;return this.getChildContext||(o=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(i){this.props.value!=i.value&&o.forEach(function(l){l.__e=!0,ko(l)})},this.sub=function(i){o.add(i);var l=i.componentWillUnmount;i.componentWillUnmount=function(){o&&o.delete(i),l&&l.call(i)}}),n.children}return t.__c="__cC"+hi++,t.__=e,t.Provider=t.__l=(t.Consumer=function(n,o){return n.children(o)}).contextType=t,t}nn=Cn.slice,ee={__e:function(e,t,n,o){for(var r,i,l;t=t.__;)if((r=t.__c)&&!r.__)try{if((i=r.constructor)&&i.getDerivedStateFromError!=null&&(r.setState(i.getDerivedStateFromError(e)),l=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(e,o||{}),l=r.__d),l)return r.__E=r}catch(s){e=s}throw e}},li=0,qe.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=Ge({},this.state),typeof e=="function"&&(e=e(Ge({},n),this.props)),e&&Ge(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),ko(this))},qe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ko(this))},qe.prototype.render=xe,wt=[],ci=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,di=function(e,t){return e.__v.__b-t.__v.__b},Nn.__r=0,ui=/(PointerCapture)$|Capture$/i,vo=0,xo=_i(!1),yo=_i(!0),hi=0;var fd=0;function p(e,t,n,o,r,i){t||(t={});var l,s,u=t;if("ref"in u)for(s in u={},t)s=="ref"?l=t[s]:u[s]=t[s];var h={type:e,props:u,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--fd,__i:-1,__u:0,__source:r,__self:i};if(typeof e=="function"&&(l=e.defaultProps))for(s in l)u[s]===void 0&&(u[s]=l[s]);return ee.vnode&&ee.vnode(h),h}const bd="auxx-chat-identify:",No=new Set;function ki(e){return`${bd}${e}`}function ji(e){try{const t=window.sessionStorage.getItem(ki(e));if(!t)return null;const n=JSON.parse(t);return Ci(n)}catch{return null}}function Si(e){return No.add(e),()=>{No.delete(e)}}function gd(e){const t=window.AuxxChat,n=Array.isArray(t)?t:[],o=r=>{if(!Array.isArray(r)||r[0]!=="identify")return;const i=Ci(r[1]);if(i){try{window.sessionStorage.setItem(ki(e),JSON.stringify(i))}catch{}No.forEach(l=>l(i))}};window.AuxxChat={push:o,identify:r=>o(["identify",r])};for(const r of n)o(r)}function Ci(e){if(!e||typeof e!="object")return null;const t=To(e.name),n=To(e.email),o=To(e.externalId);return!t&&!n&&!o?null:{...t?{name:t}:{},...n?{email:n}:{},...o?{externalId:o}:{}}}function To(e){if(typeof e!="string")return;const t=e.trim();return t.length?t:void 0}var nt,pe,Mo,Ni,Dt=0,Ti=[],be=ee,Mi=be.__b,Ai=be.__r,Pi=be.diffed,Ei=be.__c,$i=be.unmount,Ri=be.__;function kt(e,t){be.__h&&be.__h(pe,e,Dt||t),Dt=0;var n=pe.__H||(pe.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function z(e){return Dt=1,an(Li,e)}function an(e,t,n){var o=kt(nt++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):Li(void 0,t),function(s){var u=o.__N?o.__N[0]:o.__[0],h=o.t(u,s);u!==h&&(o.__N=[h,o.__[1]],o.__c.setState({}))}],o.__c=pe,!pe.__f)){var r=function(s,u,h){if(!o.__c.__H)return!0;var f=o.__c.__H.__.filter(function(g){return g.__c});if(f.every(function(g){return!g.__N}))return!i||i.call(this,s,u,h);var m=o.__c.props!==s;return f.some(function(g){if(g.__N){var _=g.__[0];g.__=g.__N,g.__N=void 0,_!==g.__[0]&&(m=!0)}}),i&&i.call(this,s,u,h)||m};pe.__f=!0;var i=pe.shouldComponentUpdate,l=pe.componentWillUpdate;pe.componentWillUpdate=function(s,u,h){if(this.__e){var f=i;i=void 0,r(s,u,h),i=f}l&&l.call(this,s,u,h)},pe.shouldComponentUpdate=r}return o.__N||o.__}function H(e,t){var n=kt(nt++,3);!be.__s&&Ro(n.__H,t)&&(n.__=e,n.u=t,pe.__H.__h.push(n))}function $e(e,t){var n=kt(nt++,4);!be.__s&&Ro(n.__H,t)&&(n.__=e,n.u=t,pe.__h.push(n))}function D(e){return Dt=5,ve(function(){return{current:e}},[])}function Ao(e,t,n){Dt=6,$e(function(){if(typeof e=="function"){var o=e(t());return function(){e(null),o&&typeof o=="function"&&o()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function ve(e,t){var n=kt(nt++,7);return Ro(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function B(e,t){return Dt=8,ve(function(){return e},t)}function Ke(e){var t=pe.context[e.__c],n=kt(nt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(pe)),t.props.value):e.__}function Po(e,t){be.useDebugValue&&be.useDebugValue(t?t(e):e)}function _d(e){var t=kt(nt++,10),n=z();return t.__=e,pe.componentDidCatch||(pe.componentDidCatch=function(o,r){t.__&&t.__(o,r),n[1](o)}),[n[0],function(){n[1](void 0)}]}function Eo(){var e=kt(nt++,11);if(!e.__){for(var t=pe.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function vd(){for(var e;e=Ti.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(Mn),t.__h.some($o),t.__h=[]}catch(n){t.__h=[],be.__e(n,e.__v)}}}be.__b=function(e){pe=null,Mi&&Mi(e)},be.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Ri&&Ri(e,t)},be.__r=function(e){Ai&&Ai(e),nt=0;var t=(pe=e.__c).__H;t&&(Mo===pe?(t.__h=[],pe.__h=[],t.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.some(Mn),t.__h.some($o),t.__h=[],nt=0)),Mo=pe},be.diffed=function(e){Pi&&Pi(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ti.push(t)!==1&&Ni===be.requestAnimationFrame||((Ni=be.requestAnimationFrame)||xd)(vd)),t.__H.__.some(function(n){n.u&&(n.__H=n.u),n.u=void 0})),Mo=pe=null},be.__c=function(e,t){t.some(function(n){try{n.__h.some(Mn),n.__h=n.__h.filter(function(o){return!o.__||$o(o)})}catch(o){t.some(function(r){r.__h&&(r.__h=[])}),t=[],be.__e(o,n.__v)}}),Ei&&Ei(e,t)},be.unmount=function(e){$i&&$i(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(o){try{Mn(o)}catch(r){t=r}}),n.__H=void 0,t&&be.__e(t,n.__v))};var Oi=typeof requestAnimationFrame=="function";function xd(e){var t,n=function(){clearTimeout(o),Oi&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,35);Oi&&(t=requestAnimationFrame(n))}function Mn(e){var t=pe,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),pe=t}function $o(e){var t=pe;e.__c=e.__(),pe=t}function Ro(e,t){return!e||e.length!==t.length||t.some(function(n,o){return n!==e[o]})}function Li(e,t){return typeof t=="function"?t(e):t}const yd='/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-sky-100:oklch(95.1% .026 236.824);--color-sky-600:oklch(58.8% .158 241.966);--color-indigo-500:oklch(58.5% .233 277.117);--color-zinc-50:oklch(98.5% 0 0);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-950:oklch(14.1% .005 285.823);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-medium:500;--font-weight-semibold:600;--tracking-wide:.025em;--leading-tight:1.25;--leading-snug:1.375;--radius-sm:calc(var(--radius) - 4px);--radius-md:calc(var(--radius) - 2px);--radius-lg:var(--radius);--radius-xl:calc(var(--radius) + 4px);--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce:bounce 1s infinite;--blur-xl:24px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--radius:.625rem;--color-background:var(--background);--color-foreground:var(--foreground);--color-card:var(--card);--color-primary:var(--primary);--color-primary-foreground:var(--primary-foreground);--color-muted:var(--muted);--color-muted-foreground:var(--muted-foreground);--color-destructive:var(--destructive);--color-border:var(--border)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}.auxx-root{--background:var(--color-zinc-50);--foreground:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .6);--card:var(--auxx-chat-surface-medium);--card-foreground:var(--auxx-chat-text-loud);--illustration:var(--color-white);--border-illustration:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.auxx-root{--border-illustration:color-mix(in srgb, var(--foreground) 7.5%, transparent)}}.auxx-root{--popover:var(--color-white);--popover-foreground:var(--color-zinc-950);--primary:var(--auxx-chat-primary,var(--color-indigo-500));--primary-foreground:var(--color-white);--secondary:var(--color-sky-100);--secondary-foreground:var(--color-sky-600);--muted:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.auxx-root{--muted:color-mix(in srgb, var(--foreground) 5%, transparent)}}.auxx-root{--muted-foreground:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .3);--accent:var(--color-zinc-100);--accent-foreground:var(--color-zinc-800);--destructive:var(--color-red-600);--destructive-foreground:var(--color-white);--border:var(--auxx-chat-hairline);--input:var(--auxx-chat-hairline);--ring:var(--primary);--color-background:var(--background);--color-foreground:var(--foreground);--color-card:var(--card);--color-card-foreground:var(--card-foreground);--color-popover:var(--popover);--color-popover-foreground:var(--popover-foreground);--color-primary:var(--primary);--color-primary-foreground:var(--primary-foreground);--color-secondary:var(--secondary);--color-secondary-foreground:var(--secondary-foreground);--color-muted:var(--muted);--color-muted-foreground:var(--muted-foreground);--color-accent:var(--accent);--color-accent-foreground:var(--accent-foreground);--color-destructive:var(--destructive);--color-destructive-foreground:var(--destructive-foreground);--color-border:var(--border);--color-input:var(--input);--color-ring:var(--ring);--color-illustration:var(--illustration);--color-border-illustration:var(--border-illustration);--auxx-chat-primary:var(--color-indigo-500);--auxx-chat-tint-h:250;--auxx-chat-tint-c:.012;--auxx-chat-neutral-base:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h));--auxx-chat-glass-overlay:linear-gradient(180deg, oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .7) 0%, oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .4) 100%);--auxx-chat-surface-loud:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .9);--auxx-chat-surface-medium:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .6);--auxx-chat-primary-band:oklch(88% .069 var(--auxx-chat-tint-h) / .88);--auxx-chat-surface-default:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .4);--auxx-chat-surface-dark-default:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .06);--auxx-chat-surface-dark-faint:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .02);--auxx-chat-text-loud:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .9);--auxx-chat-surface-raised:linear-gradient(180deg, oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .96) 0%, oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .86) 100%);--auxx-chat-hairline:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .06);--auxx-chat-shadow-tint:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .04);--auxx-chat-shadow-tint-strong:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .08);--auxx-chat-shadow-tint-light:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .02);--auxx-chat-shadow-shell:0 0 0 1px var(--auxx-chat-shadow-tint), 0 0 2px 0 var(--auxx-chat-shadow-tint), 0 4px 6px -2px var(--auxx-chat-shadow-tint), 0 16px 28px -8px var(--auxx-chat-shadow-tint), 0 24px 40px -12px var(--auxx-chat-shadow-tint-strong);--auxx-chat-shadow-raised:0 0 0 1px var(--auxx-chat-shadow-tint), 0 4px 12px 0 var(--auxx-chat-shadow-tint-light), 0 8px 24px 0 var(--auxx-chat-shadow-tint-light), 0 16px 32px 0 var(--auxx-chat-shadow-tint), 0 32px 48px 0 var(--auxx-chat-shadow-tint-light)}.auxx-root[data-theme=dark]{--background:var(--color-zinc-950);--foreground:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .6);--card:var(--auxx-chat-surface-medium);--card-foreground:var(--auxx-chat-text-loud);--illustration:#171719}@supports (color:color-mix(in lab,red,red)){.auxx-root[data-theme=dark]{--illustration:color-mix(in oklab, var(--color-zinc-800) 60%, #000)}}.auxx-root[data-theme=dark]{--border-illustration:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.auxx-root[data-theme=dark]{--border-illustration:color-mix(in srgb, var(--foreground) 7.5%, transparent)}}.auxx-root[data-theme=dark]{--popover:var(--color-zinc-950);--popover-foreground:var(--color-white);--primary:var(--auxx-chat-primary-dark,var(--auxx-chat-primary,var(--color-indigo-500)));--primary-foreground:var(--color-white);--secondary:var(--color-zinc-800);--secondary-foreground:var(--color-white);--muted:var(--color-zinc-800);--muted-foreground:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .3);--accent:var(--color-zinc-800);--accent-foreground:var(--color-white);--destructive:var(--color-red-700);--destructive-foreground:var(--color-white);--border:var(--auxx-chat-hairline);--input:var(--auxx-chat-hairline);--ring:var(--color-zinc-600);--auxx-chat-neutral-base:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h));--auxx-chat-glass-overlay:linear-gradient(180deg, oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .62) 0%, oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .38) 100%);--auxx-chat-surface-loud:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .5);--auxx-chat-surface-medium:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .35);--auxx-chat-primary-band:oklch(25% .069 var(--auxx-chat-tint-h) / .88);--auxx-chat-surface-default:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .2);--auxx-chat-surface-dark-default:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .08);--auxx-chat-surface-dark-faint:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .03);--auxx-chat-text-loud:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .9);--auxx-chat-surface-raised:linear-gradient(180deg, oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .6) 0%, oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .4) 100%);--auxx-chat-hairline:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .08);--auxx-chat-shadow-tint:oklch(0% 0 0/.4);--auxx-chat-shadow-tint-strong:oklch(0% 0 0/.6);--auxx-chat-shadow-tint-light:oklch(0% 0 0/.2)}.auxx-root,.auxx-root *,.auxx-root :before,.auxx-root :after{box-sizing:border-box}.auxx-root{font-family:var(--font-sans);color:var(--foreground);line-height:1.4}}@layer components{.auxx-chat-root{--auxx-chat-shell-closed-size:48px;--auxx-chat-shell-open-width:360px;--auxx-chat-shell-open-height:540px;--auxx-chat-shell-closed-radius:28px;--auxx-chat-shell-open-radius:16px;--auxx-chat-shell-radius-top:1.125rem;--auxx-chat-shell-radius-bottom:1.75rem;--auxx-chat-shell-edge-gap:20px;--auxx-chat-closed-outer-border:var(--auxx-chat-primary)}@supports (color:color-mix(in lab,red,red)){.auxx-chat-root{--auxx-chat-closed-outer-border:color-mix(in oklab, var(--auxx-chat-primary), black 22%)}}.auxx-chat-root{--auxx-chat-closed-inner-border:var(--auxx-chat-primary)}@supports (color:color-mix(in lab,red,red)){.auxx-chat-root{--auxx-chat-closed-inner-border:color-mix(in oklab, var(--auxx-chat-primary), white 20%)}}.auxx-chat-root{--auxx-chat-shell-closed-shadow:0 0 0 1px var(--auxx-chat-closed-outer-border), inset 0 0 0 1px var(--auxx-chat-closed-inner-border), 0 16px 32px -8px #0000003d;--auxx-chat-shell-duration:.28s;--auxx-chat-shell-ease:cubic-bezier(.32, .72, 0, 1);--auxx-chat-icon-duration:.12s;--auxx-chat-panel-duration:.16s;--auxx-chat-panel-open-delay:.14s;--auxx-chat-panel-close-delay:0s}.auxx-chat-shell{z-index:2147483000;width:var(--auxx-chat-shell-closed-size);height:var(--auxx-chat-shell-closed-size);border-radius:var(--auxx-chat-shell-closed-radius);background:var(--auxx-chat-primary);position:fixed}@supports (color:color-mix(in lab,red,red)){.auxx-chat-shell{background:color-mix(in srgb,var(--auxx-chat-primary) 88%,transparent)}}.auxx-chat-shell{box-shadow:var(--auxx-chat-shell-closed-shadow);-webkit-backdrop-filter:blur(40px);transition:width var(--auxx-chat-shell-duration) var(--auxx-chat-shell-ease),height var(--auxx-chat-shell-duration) var(--auxx-chat-shell-ease),border-radius var(--auxx-chat-shell-duration) var(--auxx-chat-shell-ease),background var(--auxx-chat-shell-duration) var(--auxx-chat-shell-ease),box-shadow var(--auxx-chat-shell-duration) var(--auxx-chat-shell-ease);-webkit-backdrop-filter:blur(40px)!important;backdrop-filter:blur(40px)!important}.auxx-chat-shell--bottom-right{right:var(--auxx-chat-shell-edge-gap);bottom:var(--auxx-chat-shell-edge-gap);transform-origin:100% 100%}.auxx-chat-shell--bottom-left{left:var(--auxx-chat-shell-edge-gap);bottom:var(--auxx-chat-shell-edge-gap);transform-origin:0 100%}.auxx-chat-shell--open{width:var(--auxx-chat-shell-open-width);height:var(--auxx-chat-shell-open-height);max-width:calc(100vw - calc(var(--auxx-chat-shell-edge-gap) * 2));max-height:calc(100vh - calc(var(--auxx-chat-shell-edge-gap) * 5));border-top-left-radius:var(--auxx-chat-shell-radius-top);border-top-right-radius:var(--auxx-chat-shell-radius-top);border-bottom-left-radius:var(--auxx-chat-shell-radius-bottom);border-bottom-right-radius:var(--auxx-chat-shell-radius-bottom);background:var(--auxx-chat-glass-overlay),var(--auxx-chat-surface-default);-webkit-backdrop-filter:blur(24px);box-shadow:var(--auxx-chat-shadow-shell);border:none;-webkit-backdrop-filter:blur(24px)!important;backdrop-filter:blur(24px)!important}.auxx-chat-shell--expanded{width:640px;height:calc(100vh - var(--auxx-chat-shell-edge-gap));max-height:calc(100vh - var(--auxx-chat-shell-edge-gap))}.auxx-chat-shell--floating{transform-origin:0 0;transition:none;bottom:auto;right:auto}.auxx-chat-shell--floating .auxx-chat-shell__trigger,.auxx-chat-shell--floating .auxx-chat-shell__icon{display:none}.auxx-chat-shell--bobbing{animation:1.6s cubic-bezier(.45,0,.55,1) 2 auxx-float-bob}@keyframes auxx-float-bob{0%{transform:translateY(0)}50%{transform:translateY(-6px)}to{transform:translateY(0)}}.auxx-chat-shell--docking{transition:left .32s cubic-bezier(.32,.72,0,1),top .32s cubic-bezier(.32,.72,0,1)}.auxx-chat-drag-handle{cursor:grab;touch-action:none}.auxx-chat-drag-handle.is-dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.auxx-chat-drag-handle :is(button,a,input,textarea,select,[role=button]){cursor:pointer}.auxx-chat-shell__badge{color:#fff;z-index:3;pointer-events:none;border:2px solid var(--background);background:#ef4444;border-radius:9px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:600;display:inline-flex;position:absolute;top:-4px;right:-4px}.auxx-chat-shell--open .auxx-chat-shell__badge{display:none}.auxx-chat-shell__trigger{cursor:pointer;color:#fff;z-index:2;background:0 0;border:none;padding:0;position:absolute;top:0;right:0;bottom:0;left:0}.auxx-chat-shell__trigger:focus{outline:none}.auxx-chat-shell__trigger:focus-visible{outline-offset:2px;outline:2px solid #00000040}.auxx-chat-shell--open .auxx-chat-shell__trigger{pointer-events:none}.auxx-chat-shell__icon{color:#fff;opacity:1;pointer-events:none;z-index:1;width:24px;height:24px;transition:opacity var(--auxx-chat-icon-duration) ease-out;justify-content:center;align-items:center;margin-top:-12px;margin-left:-12px;display:flex;position:absolute;top:50%;left:50%}.auxx-chat-shell__icon svg{fill:currentColor;width:24px;height:24px}.auxx-chat-shell--open .auxx-chat-shell__icon{opacity:0}.auxx-chat-shell__panel{opacity:0;pointer-events:none;transition:opacity var(--auxx-chat-panel-duration) ease-out;transition-delay:var(--auxx-chat-panel-close-delay);flex-direction:column;display:flex;position:absolute;top:0;right:0;bottom:0;left:0}.auxx-chat-shell--open .auxx-chat-shell__panel{opacity:1;pointer-events:auto;transition-delay:var(--auxx-chat-panel-open-delay)}@media(max-width:639.98px){.auxx-chat-shell--open{--auxx-chat-shell-radius-top:0px;--auxx-chat-shell-radius-bottom:0px;border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}.auxx-chat-shell--open.auxx-chat-shell--bottom-right{bottom:0;right:0}.auxx-chat-shell--open.auxx-chat-shell--bottom-left{bottom:0;left:0}.auxx-root[data-preview-rounded=true] .auxx-chat-shell--open{--auxx-chat-shell-radius-top:1.125rem;--auxx-chat-shell-radius-bottom:1.75rem;border-top-left-radius:var(--auxx-chat-shell-radius-top);border-top-right-radius:var(--auxx-chat-shell-radius-top);border-bottom-left-radius:var(--auxx-chat-shell-radius-bottom);border-bottom-right-radius:var(--auxx-chat-shell-radius-bottom)}}.auxx-chat-clip-top{border-top-left-radius:var(--auxx-chat-shell-radius-top);border-top-right-radius:var(--auxx-chat-shell-radius-top)}.auxx-chat-clip-bottom{border-bottom-left-radius:var(--auxx-chat-shell-radius-bottom);border-bottom-right-radius:var(--auxx-chat-shell-radius-bottom)}.auxx-chat-frame>:first-child{border-top-left-radius:var(--auxx-chat-shell-radius-top);border-top-right-radius:var(--auxx-chat-shell-radius-top)}.auxx-chat-frame>:last-child{border-bottom-left-radius:var(--auxx-chat-shell-radius-bottom);border-bottom-right-radius:var(--auxx-chat-shell-radius-bottom)}.auxx-chat-body-mask{-webkit-mask-image:linear-gradient(#0000 0,#000 5% 100%);mask-image:linear-gradient(#0000 0,#000 5%,#000)}.auxx-chat-composer-plinth{background:var(--auxx-chat-surface-loud);flex-direction:column;gap:.25rem;padding:0 .5rem .5rem;display:flex;position:relative}.auxx-chat-composer-plinth:before{content:"";background:linear-gradient(180deg,transparent 0%,var(--auxx-chat-surface-loud) 100%);pointer-events:none;height:1rem;position:absolute;bottom:100%;left:0;right:0}.auxx-chat-composer-card{background-image:var(--auxx-chat-surface-raised);box-shadow:var(--auxx-chat-shadow-raised);-webkit-backdrop-filter:blur(24px);border-radius:1.25rem;transition:box-shadow .12s ease-out;position:relative;-webkit-backdrop-filter:blur(24px)!important;backdrop-filter:blur(24px)!important}.auxx-chat-composer-card:focus-within,.auxx-chat-composer-card.is-drag-over{box-shadow:0 0 0 2px var(--primary),var(--auxx-chat-shadow-raised)}.auxx-chat-frame-transition{flex-direction:column;flex:1 1 0;min-height:0;display:flex;position:relative}.auxx-chat-frame-transition--animating{overflow:hidden}.auxx-chat-frame-layer{flex-direction:column;flex:1 1 0;min-height:0;display:flex}.auxx-chat-frame-transition--animating .auxx-chat-frame-layer{flex:none;position:absolute;top:0;right:0;bottom:0;left:0}.auxx-chat-frame--entering[data-direction=from-right]{animation:auxx-frame-slide-in-right .28s var(--auxx-chat-shell-ease) both}.auxx-chat-frame--entering[data-direction=from-left]{animation:auxx-frame-slide-in-left .28s var(--auxx-chat-shell-ease) both}.auxx-chat-frame--exiting[data-direction=from-right]{animation:auxx-frame-slide-out-left .28s var(--auxx-chat-shell-ease) both}.auxx-chat-frame--exiting[data-direction=from-left]{animation:auxx-frame-slide-out-right .28s var(--auxx-chat-shell-ease) both}@keyframes auxx-frame-slide-in-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes auxx-frame-slide-in-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes auxx-frame-slide-out-left{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-30%)}}@keyframes auxx-frame-slide-out-right{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(30%)}}}@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-x-0{inset-inline:calc(var(--spacing) * 0)}.top-0{top:calc(var(--spacing) * 0)}.top-1\\/2{top:50%}.right-2{right:calc(var(--spacing) * 2)}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-3{bottom:calc(var(--spacing) * 3)}.left-1\\/2{left:50%}.left-2\\.5{left:calc(var(--spacing) * 2.5)}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-1{margin-inline:calc(var(--spacing) * 1)}.mx-3{margin-inline:calc(var(--spacing) * 3)}.my-1{margin-block:calc(var(--spacing) * 1)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mb-0{margin-bottom:calc(var(--spacing) * 0)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.size-1\\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-full{width:100%;height:100%}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-32{height:calc(var(--spacing) * 32)}.h-64{height:calc(var(--spacing) * 64)}.h-\\[120px\\]{height:120px}.h-full{height:100%}.h-px{height:1px}.max-h-\\[200px\\]{max-height:200px}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-\\[260px\\]{min-height:260px}.w-2{width:calc(var(--spacing) * 2)}.w-9{width:calc(var(--spacing) * 9)}.w-80{width:calc(var(--spacing) * 80)}.w-\\[90\\%\\]{width:90%}.w-\\[160px\\]{width:160px}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.max-w-\\[80\\%\\]{max-width:80%}.max-w-\\[140px\\]{max-width:140px}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[260px\\]{max-width:260px}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-\\[10rem\\]{min-width:10rem}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.animate-bounce{animation:var(--animate-bounce)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.scroll-mt-8{scroll-margin-top:calc(var(--spacing) * 8)}.grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-8{gap:calc(var(--spacing) * 8)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-\\[color\\:var\\(--auxx-chat-hairline\\)\\]>:not(:last-child)){border-color:var(--auxx-chat-hairline)}.self-center{align-self:center}.self-end{align-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:var(--radius)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-tl-md{border-top-left-radius:var(--radius-md)}.rounded-tr-md{border-top-right-radius:var(--radius-md)}.rounded-br-md{border-bottom-right-radius:var(--radius-md)}.rounded-br-sm{border-bottom-right-radius:var(--radius-sm)}.rounded-bl-md{border-bottom-left-radius:var(--radius-md)}.rounded-bl-sm{border-bottom-left-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-\\[color\\:var\\(--auxx-chat-hairline\\)\\]{border-color:var(--auxx-chat-hairline)}.border-border{border-color:var(--color-border)}.border-current{border-color:currentColor}.border-destructive,.border-destructive\\/40{border-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.border-destructive\\/40{border-color:color-mix(in oklab,var(--color-destructive) 40%,transparent)}}.border-t-transparent{border-top-color:#0000}.bg-\\[color\\:var\\(--auxx-chat-surface-loud\\)\\]{background-color:var(--auxx-chat-surface-loud)}.bg-background,.bg-background\\/15{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/15{background-color:color-mix(in oklab,var(--color-background) 15%,transparent)}}.bg-background\\/20{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/20{background-color:color-mix(in oklab,var(--color-background) 20%,transparent)}}.bg-background\\/60{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/60{background-color:color-mix(in oklab,var(--color-background) 60%,transparent)}}.bg-black\\/40{background-color:#0006}@supports (color:color-mix(in lab,red,red)){.bg-black\\/40{background-color:color-mix(in oklab,var(--color-black) 40%,transparent)}}.bg-border{background-color:var(--color-border)}.bg-card{background-color:var(--color-card)}.bg-muted{background-color:var(--color-muted)}.bg-muted-foreground\\/60{background-color:var(--color-muted-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-muted-foreground\\/60{background-color:color-mix(in oklab,var(--color-muted-foreground) 60%,transparent)}}.bg-primary{background-color:var(--color-primary)}.bg-transparent{background-color:#0000}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing) * 0)}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:calc(var(--spacing) * 1)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.ps-5{padding-inline-start:calc(var(--spacing) * 5)}.pe-3{padding-inline-end:calc(var(--spacing) * 3)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-1{padding-bottom:calc(var(--spacing) * 1)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pl-8{padding-left:calc(var(--spacing) * 8)}.text-center{text-align:center}.text-left{text-align:left}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.break-words{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[color\\:var\\(--auxx-chat-text-loud\\)\\]{color:var(--auxx-chat-text-loud)}.text-black\\/70{color:#000000b3}@supports (color:color-mix(in lab,red,red)){.text-black\\/70{color:color-mix(in oklab,var(--color-black) 70%,transparent)}}.text-current{color:currentColor}.text-destructive{color:var(--color-destructive)}.text-foreground{color:var(--color-foreground)}.text-muted-foreground{color:var(--color-muted-foreground)}.text-primary{color:var(--color-primary)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-white\\/90{color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.text-white\\/90{color:color-mix(in oklab,var(--color-white) 90%,transparent)}}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\\[animation-delay\\:-0\\.1s\\]{animation-delay:-.1s}.\\[animation-delay\\:-0\\.2s\\]{animation-delay:-.2s}@media(hover:hover){.group-hover\\:translate-x-0\\.5:is(:where(.group):hover *){--tw-translate-x:calc(var(--spacing) * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}}.placeholder\\:text-muted-foreground::placeholder{color:var(--color-muted-foreground)}@media(hover:hover){.hover\\:bg-\\[color\\:var\\(--auxx-chat-surface-dark-default\\)\\]:hover{background-color:var(--auxx-chat-surface-dark-default)}.hover\\:bg-\\[color\\:var\\(--auxx-chat-surface-dark-faint\\)\\]:hover{background-color:var(--auxx-chat-surface-dark-faint)}.hover\\:bg-\\[color\\:var\\(--auxx-chat-surface-loud\\)\\]:hover{background-color:var(--auxx-chat-surface-loud)}.hover\\:bg-background\\/25:hover{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-background\\/25:hover{background-color:color-mix(in oklab,var(--color-background) 25%,transparent)}}.hover\\:bg-background\\/30:hover{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-background\\/30:hover{background-color:color-mix(in oklab,var(--color-background) 30%,transparent)}}.hover\\:bg-black\\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-black\\/5:hover{background-color:color-mix(in oklab,var(--color-black) 5%,transparent)}}.hover\\:bg-border:hover{background-color:var(--color-border)}.hover\\:bg-muted:hover{background-color:var(--color-muted)}.hover\\:bg-white\\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/10:hover{background-color:color-mix(in oklab,var(--color-white) 10%,transparent)}}.hover\\:text-\\[color\\:var\\(--auxx-chat-text-loud\\)\\]:hover{color:var(--auxx-chat-text-loud)}.hover\\:text-black:hover{color:var(--color-black)}.hover\\:text-foreground:hover{color:var(--color-foreground)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:outline-offset-0:hover{outline-offset:0px}.hover\\:brightness-110:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.focus\\:bg-\\[color\\:var\\(--auxx-chat-surface-dark-default\\)\\]:focus{background-color:var(--auxx-chat-surface-dark-default)}.focus\\:text-\\[color\\:var\\(--auxx-chat-text-loud\\)\\]:focus{color:var(--auxx-chat-text-loud)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-primary\\/30:focus{--tw-ring-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.focus\\:ring-primary\\/30:focus{--tw-ring-color:color-mix(in oklab, var(--color-primary) 30%, transparent)}}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-primary\\/40:focus-visible{--tw-ring-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-primary\\/40:focus-visible{--tw-ring-color:color-mix(in oklab, var(--color-primary) 40%, transparent)}}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.active\\:brightness-95:active{--tw-brightness:brightness(95%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:opacity-60:disabled{opacity:.6}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=active\\]\\:bg-background[data-state=active]{background-color:var(--color-background)}.data-\\[state\\=active\\]\\:text-foreground[data-state=active]{color:var(--color-foreground)}.data-\\[state\\=active\\]\\:shadow-sm[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}@media(min-width:40rem){.sm\\:flex{display:flex}}}.auxx-kb-article{color:var(--foreground);overflow-wrap:anywhere;font-size:14px;line-height:1.55}.auxx-kb-article [data-auxx-article-head]{flex-direction:column;gap:.5rem;margin-bottom:1rem;display:flex}.auxx-kb-article [data-auxx-article-cover]{object-fit:cover;border-radius:.5rem;width:100%;max-height:200px}.auxx-kb-article [data-auxx-article-title]{color:var(--foreground);align-items:center;gap:.5rem;margin:0;font-size:1.5rem;font-weight:700;display:flex}.auxx-kb-article [data-auxx-icon]{vertical-align:-.15em;color:currentColor;flex-shrink:0;justify-content:center;align-items:center;width:1em;height:1em;display:inline-flex}.auxx-kb-article [data-auxx-icon] svg{stroke-width:2px;width:100%;height:100%}.auxx-kb-article [data-auxx-article-emoji]{width:1.25em;height:1.25em;font-size:1.25rem}.auxx-kb-article [data-auxx-block=heading][data-level="1"]{margin:1.25rem 0 .5rem;font-size:1.25rem;font-weight:700}.auxx-kb-article [data-auxx-block=heading][data-level="2"]{margin:1rem 0 .5rem;font-size:1.125rem;font-weight:600}.auxx-kb-article [data-auxx-block=heading][data-level="3"]{margin:.75rem 0 .25rem;font-size:1rem;font-weight:600}.auxx-kb-article [data-auxx-block=text]{margin:0 0 .75rem}.auxx-kb-article [data-auxx-block=bullet-list],.auxx-kb-article [data-auxx-block=numbered-list]{margin:0 0 .5rem;padding-left:1.25rem}.auxx-kb-article [data-auxx-block=bullet-list] li,.auxx-kb-article [data-auxx-block=numbered-list] li{margin-bottom:.25rem}.auxx-kb-article [data-auxx-block=quote]{border-left:3px solid var(--border);color:var(--muted-foreground);margin:.5rem 0;padding:.25rem 0 .25rem .75rem;font-style:italic}.auxx-kb-article [data-auxx-block=callout]{border:1px solid var(--border);background:var(--muted);border-radius:.5rem;margin:.75rem 0;padding:.625rem .75rem}.auxx-kb-article [data-auxx-block=callout][data-variant=warn],.auxx-kb-article [data-auxx-block=callout][data-variant=error]{border-color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.auxx-kb-article [data-auxx-block=callout][data-variant=warn],.auxx-kb-article [data-auxx-block=callout][data-variant=error]{border-color:color-mix(in srgb,var(--foreground) 10%,transparent)}}.auxx-kb-article [data-auxx-block=callout][data-variant=warn],.auxx-kb-article [data-auxx-block=callout][data-variant=error]{background:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.auxx-kb-article [data-auxx-block=callout][data-variant=warn],.auxx-kb-article [data-auxx-block=callout][data-variant=error]{background:color-mix(in srgb,var(--foreground) 5%,transparent)}}.auxx-kb-article [data-auxx-block=code]{background:var(--muted);border:1px solid var(--border);white-space:pre;border-radius:.5rem;margin:.5rem 0 .75rem;padding:.625rem .75rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8125rem;overflow-x:auto}.auxx-kb-article [data-auxx-inline-code]{background:var(--muted);border:1px solid var(--border);border-radius:.25rem;padding:.1em .3em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85em}.auxx-kb-article [data-auxx-block=divider]{border:none;border-top:1px solid var(--border);margin:1rem 0}.auxx-kb-article [data-auxx-block=image]{text-align:center;margin:.75rem 0}.auxx-kb-article [data-auxx-block=image] img{border-radius:.375rem;max-width:100%;height:auto}.auxx-kb-article [data-auxx-block=todo]{align-items:flex-start;gap:.5rem;margin-bottom:.25rem;display:flex}.auxx-kb-article [data-auxx-todo-box]{border:1px solid var(--border);border-radius:.25rem;justify-content:center;align-items:center;width:1rem;height:1rem;font-size:.7rem;line-height:1;display:inline-flex}.auxx-kb-article a{color:var(--primary);text-underline-offset:2px;text-decoration:underline}.auxx-kb-article a:hover{text-decoration-thickness:2px}.auxx-kb-article [data-auxx-article-fallback]{border-top:1px dashed var(--border);text-align:center;margin-top:1rem;padding-top:.75rem;font-size:.8125rem}.auxx-kb-article [data-auxx-block=table]{margin:.75rem 0}.auxx-kb-article [data-auxx-table-scroll]{border:1px solid var(--border);border-radius:.5rem;overflow-x:auto}.auxx-kb-article [data-auxx-block=table] table{border-collapse:collapse;width:100%;font-size:.8125rem}.auxx-kb-article [data-auxx-block=table] th,.auxx-kb-article [data-auxx-block=table] td{text-align:left;vertical-align:top;border-bottom:1px solid var(--border);padding:.5rem .625rem}.auxx-kb-article [data-auxx-block=table] th{background:var(--muted);font-weight:600}.auxx-kb-article [data-auxx-block=table] tr:last-child td,.auxx-kb-article [data-auxx-block=table] tr:last-child th{border-bottom:0}.auxx-kb-article [data-auxx-block=table] [data-auxx-block=text]{margin:0}.auxx-kb-article [data-auxx-block=tabs]{margin:.75rem 0}.auxx-kb-article [data-auxx-tabs-list]{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:.25rem;margin-bottom:.5rem;display:flex}.auxx-kb-article [data-auxx-tab]{color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;align-items:center;gap:.375rem;margin-bottom:-1px;padding:.4rem .6rem;font-size:.8125rem;font-weight:500;display:inline-flex}.auxx-kb-article [data-auxx-tab]:hover{color:var(--foreground)}.auxx-kb-article [data-auxx-tab][data-active=true]{color:var(--primary);border-bottom-color:var(--primary)}.auxx-kb-article [data-auxx-tab-panel][data-active=false]{display:none}.auxx-kb-article [data-auxx-block=accordion]{border:1px solid var(--border);border-radius:.5rem;margin:.75rem 0;overflow:hidden}.auxx-kb-article [data-auxx-accordion-item]+[data-auxx-accordion-item]{border-top:1px solid var(--border)}.auxx-kb-article [data-auxx-accordion-item]>summary{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;padding:.625rem .75rem;font-weight:500;list-style:none;display:flex}.auxx-kb-article [data-auxx-accordion-item]>summary::-webkit-details-marker{display:none}.auxx-kb-article [data-auxx-accordion-chevron]{color:var(--muted-foreground);transition:transform .12s}.auxx-kb-article [data-auxx-accordion-item][open]>summary [data-auxx-accordion-chevron]{transform:rotate(180deg)}.auxx-kb-article [data-auxx-accordion-panel]{padding:0 .75rem .625rem}.auxx-kb-article [data-auxx-accordion-panel]>[data-auxx-block=text]:last-child{margin-bottom:0}.auxx-kb-article [data-auxx-block=embed]{background:var(--muted);aspect-ratio:16/9;border-radius:.5rem;width:100%;margin:.75rem 0;overflow:hidden}.auxx-kb-article [data-auxx-block=embed][data-aspect="4:3"]{aspect-ratio:4/3}.auxx-kb-article [data-auxx-block=embed][data-aspect="1:1"]{aspect-ratio:1}.auxx-kb-article [data-auxx-block=embed] iframe{border:0;width:100%;height:100%;display:block}.auxx-kb-article [data-auxx-block=cards]{grid-template-columns:1fr;gap:.5rem;margin:.75rem 0;display:grid}.auxx-kb-article [data-auxx-card]{border:1px solid var(--border);background:var(--background);color:var(--foreground);border-radius:.5rem;align-items:flex-start;gap:.625rem;padding:.625rem .75rem;text-decoration:none;transition:background-color .12s;display:flex}.auxx-kb-article a[data-auxx-card]:hover{background:var(--muted);text-decoration:none}.auxx-kb-article [data-auxx-card-icon]{color:var(--muted-foreground);flex-shrink:0;align-items:center;margin-top:.125rem;font-size:1.125rem;display:inline-flex}.auxx-kb-article [data-auxx-card-body]{flex-direction:column;flex:1;gap:.125rem;min-width:0;display:flex}.auxx-kb-article [data-auxx-card-title]{font-size:.875rem;font-weight:600}.auxx-kb-article [data-auxx-card-desc]{color:var(--muted-foreground);font-size:.8125rem}@media(prefers-reduced-motion:reduce){.auxx-chat-shell,.auxx-chat-shell__icon,.auxx-chat-shell__panel{transition:none}.auxx-chat-shell--bobbing{animation:none}.auxx-chat-frame--entering,.auxx-chat-frame--entering[data-direction=from-right],.auxx-chat-frame--entering[data-direction=from-left]{animation:.12s ease-out both auxx-frame-fade-in}.auxx-chat-frame--exiting,.auxx-chat-frame--exiting[data-direction=from-right],.auxx-chat-frame--exiting[data-direction=from-left]{animation:.12s ease-out both auxx-frame-fade-out}@keyframes auxx-frame-fade-in{0%{opacity:0}to{opacity:1}}@keyframes auxx-frame-fade-out{0%{opacity:1}to{opacity:0}}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}',zi=tt(null),wd=zi.Provider;function Ii(){return Ke(zi)}const Di="auxx-chat-widget-root",Fi="auxx-chat-widget-properties",kd="auxx-root",Hi=/@property\s+--[^{]+\{[^}]*\}/g;function jd(e){var o;const t=((o=e.match(Hi))==null?void 0:o.join(""))??"",n=e.replace(Hi,"");return{properties:t,rest:n}}function Sd(e){const{properties:t,rest:n}=jd(yd);if(t&&!document.getElementById(Fi)){const r=document.createElement("style");r.id=Fi,r.textContent=t,document.head.appendChild(r)}const o=document.createElement("style");o.textContent=n,e.appendChild(o)}function Cd(){let e=document.getElementById(Di);e||(e=document.createElement("div"),e.id=Di,document.body.appendChild(e));const t=e.attachShadow({mode:"closed"});Sd(t);const n=document.createElement("div");return n.className=kd,t.appendChild(n),{shadowRoot:t,rootEl:n}}const Bi=tt(null);function Nd(){return Ke(Bi)}function Td({shadowRoot:e,children:t}){return p(Bi.Provider,{value:e,children:t})}function Md(e){const{shadowRoot:t,rootEl:n}=Cd();return pt(p(Td,{shadowRoot:t,children:p(wd,{value:n,children:e})}),n),t}function Ui(e,t){for(var n in t)e[n]=t[n];return e}function Oo(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var o in t)if(o!=="__source"&&e[o]!==t[o])return!0;return!1}function Lo(e,t){var n=t(),o=z({t:{__:n,u:t}}),r=o[0].t,i=o[1];return $e(function(){r.__=n,r.u=t,zo(r)&&i({t:r})},[e,n,t]),H(function(){return zo(r)&&i({t:r}),e(function(){zo(r)&&i({t:r})})},[e]),n}function zo(e){try{return!((t=e.__)===(n=e.u())&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}var t,n}function Io(e){e()}function Do(e){return e}function Fo(){return[!1,Io]}var Ho=$e;function An(e,t){this.props=e,this.context=t}function Ft(e,t){function n(r){var i=this.props.ref,l=i==r.ref;return!l&&i&&(i.call?i(null):i.current=null),t?!t(this.props,r)||!l:Oo(this.props,r)}function o(r){return this.shouldComponentUpdate=n,fe(e,r)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o.type=e,o}(An.prototype=new qe).isPureReactComponent=!0,An.prototype.shouldComponentUpdate=function(e,t){return Oo(this.props,e)||Oo(this.state,t)};var qi=ee.__b;ee.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),qi&&qi(e)};var Ad=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function V(e){function t(n){var o=Ui({},n);return delete o.ref,e(o,n.ref||null)}return t.$$typeof=Ad,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Wi=function(e,t){return e==null?null:et(et(e).map(t))},ot={map:Wi,forEach:Wi,count:function(e){return e?et(e).length:0},only:function(e){var t=et(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:et},Pd=ee.__e;ee.__e=function(e,t,n,o){if(e.then){for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}Pd(e,t,n,o)};var Vi=ee.unmount;function Gi(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),e.__c.__H=null),(e=Ui({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(o){return Gi(o,t,n)})),e}function Ki(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(o){return Ki(o,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function ln(){this.__u=0,this.o=null,this.__b=null}function Xi(e){if(!e.__)return null;var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Yi(e){var t,n,o,r=null;function i(l){if(t||(t=e()).then(function(s){s&&(r=s.default||s),o=!0},function(s){n=s,o=!0}),n)throw n;if(!o)throw t;return r?fe(r,l):null}return i.displayName="Lazy",i.__f=!0,i}function Ht(){this.i=null,this.l=null}ee.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Vi&&Vi(e)},(ln.prototype=new qe).__c=function(e,t){var n=t.__c,o=this;o.o==null&&(o.o=[]),o.o.push(n);var r=Xi(o.__v),i=!1,l=function(){i||o.__z||(i=!0,n.__R=null,r?r(u):u())};n.__R=l;var s=n.__P;n.__P=null;var u=function(){if(!--o.__u){if(o.state.__a){var h=o.state.__a;o.__v.__k[0]=Ki(h,h.__c.__P,h.__c.__O)}var f;for(o.setState({__a:o.__b=null});f=o.o.pop();)f.__P=s,f.forceUpdate()}};o.__u++||32&t.__u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(l,l)},ln.prototype.componentWillUnmount=function(){this.o=[]},ln.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=Gi(this.__b,n,o.__O=o.__P)}this.__b=null}var r=t.__a&&fe(xe,null,e.fallback);return r&&(r.__u&=-33),[fe(xe,null,t.__a?null:e.children),r]};var Ji=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Ed(e){return this.getChildContext=function(){return e.context},e.children}function $d(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){pt(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var o=t.__v;o!==null&&!o.__m&&o.__!==null;)o=o.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:o.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(r,i){this.childNodes.push(r),t.h.insertBefore(r,i)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.h.removeChild(r)}}}pt(fe(Ed,{context:t.context},e.__v),t.v)}function Zi(e,t){var n=fe($d,{__v:e,h:t});return n.containerInfo=t,n}(Ht.prototype=new qe).__a=function(e){var t=this,n=Xi(t.__v),o=t.l.get(e);return o[0]++,function(r){var i=function(){t.props.revealOrder?(o.push(r),Ji(t,e,o)):r()};n?n(i):i()}},Ht.prototype.render=function(e){this.i=null,this.l=new Map;var t=et(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Ht.prototype.componentDidUpdate=Ht.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){Ji(e,n,t)})};var Qi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Rd=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Od=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ld=/[A-Z0-9]/g,zd=typeof document<"u",Id=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ea(e,t,n){return t.__k==null&&(t.textContent=""),pt(e,t),typeof n=="function"&&n(),e?e.__c:null}function ta(e,t,n){return wi(e,t),typeof n=="function"&&n(),e?e.__c:null}qe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(qe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var na=ee.event;function Dd(){}function Fd(){return this.cancelBubble}function Hd(){return this.defaultPrevented}ee.event=function(e){return na&&(e=na(e)),e.persist=Dd,e.isPropagationStopped=Fd,e.isDefaultPrevented=Hd,e.nativeEvent=e};var Bo,Bd={enumerable:!1,configurable:!0,get:function(){return this.class}},oa=ee.vnode;ee.vnode=function(e){typeof e.type=="string"&&(function(t){var n=t.props,o=t.type,r={},i=o.indexOf("-")===-1;for(var l in n){var s=n[l];if(!(l==="value"&&"defaultValue"in n&&s==null||zd&&l==="children"&&o==="noscript"||l==="class"||l==="className")){var u=l.toLowerCase();l==="defaultValue"&&"value"in n&&n.value==null?l="value":l==="download"&&s===!0?s="":u==="translate"&&s==="no"?s=!1:u[0]==="o"&&u[1]==="n"?u==="ondoubleclick"?l="ondblclick":u!=="onchange"||o!=="input"&&o!=="textarea"||Id(n.type)?u==="onfocus"?l="onfocusin":u==="onblur"?l="onfocusout":Od.test(l)&&(l=u):u=l="oninput":i&&Rd.test(l)?l=l.replace(Ld,"-$&").toLowerCase():s===null&&(s=void 0),u==="oninput"&&r[l=u]&&(l="oninputCapture"),r[l]=s}}o=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=et(n.children).forEach(function(h){h.props.selected=r.value.indexOf(h.props.value)!=-1})),o=="select"&&r.defaultValue!=null&&(r.value=et(n.children).forEach(function(h){h.props.selected=r.multiple?r.defaultValue.indexOf(h.props.value)!=-1:r.defaultValue==h.props.value})),n.class&&!n.className?(r.class=n.class,Object.defineProperty(r,"className",Bd)):n.className&&(r.class=r.className=n.className),t.props=r})(e),e.$$typeof=Qi,oa&&oa(e)};var ra=ee.__r;ee.__r=function(e){ra&&ra(e),Bo=e.__c};var ia=ee.diffed;ee.diffed=function(e){ia&&ia(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Bo=null};var aa={ReactCurrentDispatcher:{current:{readContext:function(e){return Bo.__n[e.__c].props.value},useCallback:B,useContext:Ke,useDebugValue:Po,useDeferredValue:Do,useEffect:H,useId:Eo,useImperativeHandle:Ao,useInsertionEffect:Ho,useLayoutEffect:$e,useMemo:ve,useReducer:an,useRef:D,useState:z,useSyncExternalStore:Lo,useTransition:Fo}}},Ud="18.3.1";function la(e){return fe.bind(null,e)}function rt(e){return!!e&&e.$$typeof===Qi}function sa(e){return rt(e)&&e.type===xe}function ca(e){return!!e&&typeof e.displayName=="string"&&e.displayName.startsWith("Memo(")}function Bt(e){return rt(e)?md.apply(null,arguments):e}function da(e){return!!e.__k&&(pt(null,e),!0)}function ua(e){return e&&(e.base||e.nodeType===1&&e)||null}var ha=function(e,t){return e(t)},Pn=function(e,t){return e(t)},pa=xe,ma=rt,it={useState:z,useId:Eo,useReducer:an,useEffect:H,useLayoutEffect:$e,useInsertionEffect:Ho,useTransition:Fo,useDeferredValue:Do,useSyncExternalStore:Lo,startTransition:Io,useRef:D,useImperativeHandle:Ao,useMemo:ve,useCallback:B,useContext:Ke,useDebugValue:Po,version:"18.3.1",Children:ot,render:ea,hydrate:ta,unmountComponentAtNode:da,createPortal:Zi,createElement:fe,createContext:tt,createFactory:la,cloneElement:Bt,createRef:pi,Fragment:xe,isValidElement:rt,isElement:ma,isFragment:sa,isMemo:ca,findDOMNode:ua,Component:qe,PureComponent:An,memo:Ft,forwardRef:V,flushSync:Pn,unstable_batchedUpdates:ha,StrictMode:pa,Suspense:ln,SuspenseList:Ht,lazy:Yi,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:aa};const fa=Object.freeze(Object.defineProperty({__proto__:null,Children:ot,Component:qe,Fragment:xe,PureComponent:An,StrictMode:pa,Suspense:ln,SuspenseList:Ht,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:aa,cloneElement:Bt,createContext:tt,createElement:fe,createFactory:la,createPortal:Zi,createRef:pi,default:it,findDOMNode:ua,flushSync:Pn,forwardRef:V,hydrate:ta,isElement:ma,isFragment:sa,isMemo:ca,isValidElement:rt,lazy:Yi,memo:Ft,render:ea,startTransition:Io,unmountComponentAtNode:da,unstable_batchedUpdates:ha,useCallback:B,useContext:Ke,useDebugValue:Po,useDeferredValue:Do,useEffect:H,useErrorBoundary:_d,useId:Eo,useImperativeHandle:Ao,useInsertionEffect:Ho,useLayoutEffect:$e,useMemo:ve,useReducer:an,useRef:D,useState:z,useSyncExternalStore:Lo,useTransition:Fo,version:Ud},Symbol.toStringTag,{value:"Module"}));/**
|
|
1
|
+
(function(){"use strict";var nn,ee,li,wt,si,ci,di,ui,vo,xo,yo,hi,Sn={},Cn=[],cd=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,on=Array.isArray;function Ge(e,t){for(var n in t)e[n]=t[n];return e}function wo(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function fe(e,t,n){var o,r,i,l={};for(i in t)i=="key"?o=t[i]:i=="ref"?r=t[i]:l[i]=t[i];if(arguments.length>2&&(l.children=arguments.length>3?nn.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)l[i]===void 0&&(l[i]=e.defaultProps[i]);return rn(e,l,o,r,null)}function rn(e,t,n,o,r){var i={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:r??++li,__i:-1,__u:0};return r==null&&ee.vnode!=null&&ee.vnode(i),i}function pi(){return{current:null}}function xe(e){return e.children}function qe(e,t){this.props=e,this.context=t}function It(e,t){if(t==null)return e.__?It(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?It(e):null}function dd(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,o=[],r=[],i=Ge({},t);i.__v=t.__v+1,ee.vnode&&ee.vnode(i),jo(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,o,n??It(t),!!(32&t.__u),r),i.__v=t.__v,i.__.__k[i.__i]=i,vi(o,i,r),t.__e=t.__=null,i.__e!=n&&mi(i)}}function mi(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),mi(e)}function ko(e){(!e.__d&&(e.__d=!0)&&wt.push(e)&&!Nn.__r++||si!=ee.debounceRendering)&&((si=ee.debounceRendering)||ci)(Nn)}function Nn(){for(var e,t=1;wt.length;)wt.length>t&&wt.sort(di),e=wt.shift(),t=wt.length,dd(e);Nn.__r=0}function fi(e,t,n,o,r,i,l,s,u,h,f){var m,g,_,k,x,b,y,S=o&&o.__k||Cn,N=t.length;for(u=ud(n,t,S,u,N),m=0;m<N;m++)(_=n.__k[m])!=null&&(g=_.__i!=-1&&S[_.__i]||Sn,_.__i=m,b=jo(e,_,g,r,i,l,s,u,h,f),k=_.__e,_.ref&&g.ref!=_.ref&&(g.ref&&Co(g.ref,null,_),f.push(_.ref,_.__c||k,_)),x==null&&k!=null&&(x=k),(y=!!(4&_.__u))||g.__k===_.__k?u=bi(_,u,e,y):typeof _.type=="function"&&b!==void 0?u=b:k&&(u=k.nextSibling),_.__u&=-7);return n.__e=x,u}function ud(e,t,n,o,r){var i,l,s,u,h,f=n.length,m=f,g=0;for(e.__k=new Array(r),i=0;i<r;i++)(l=t[i])!=null&&typeof l!="boolean"&&typeof l!="function"?(typeof l=="string"||typeof l=="number"||typeof l=="bigint"||l.constructor==String?l=e.__k[i]=rn(null,l,null,null,null):on(l)?l=e.__k[i]=rn(xe,{children:l},null,null,null):l.constructor===void 0&&l.__b>0?l=e.__k[i]=rn(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):e.__k[i]=l,u=i+g,l.__=e,l.__b=e.__b+1,s=null,(h=l.__i=hd(l,n,u,m))!=-1&&(m--,(s=n[h])&&(s.__u|=2)),s==null||s.__v==null?(h==-1&&(r>f?g--:r<f&&g++),typeof l.type!="function"&&(l.__u|=4)):h!=u&&(h==u-1?g--:h==u+1?g++:(h>u?g--:g++,l.__u|=4))):e.__k[i]=null;if(m)for(i=0;i<f;i++)(s=n[i])!=null&&(2&s.__u)==0&&(s.__e==o&&(o=It(s)),yi(s,s));return o}function bi(e,t,n,o){var r,i;if(typeof e.type=="function"){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=bi(r[i],t,n,o));return t}e.__e!=t&&(o&&(t&&e.type&&!t.parentNode&&(t=It(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function et(e,t){return t=t||[],e==null||typeof e=="boolean"||(on(e)?e.some(function(n){et(n,t)}):t.push(e)),t}function hd(e,t,n,o){var r,i,l,s=e.key,u=e.type,h=t[n],f=h!=null&&(2&h.__u)==0;if(h===null&&s==null||f&&s==h.key&&u==h.type)return n;if(o>(f?1:0)){for(r=n-1,i=n+1;r>=0||i<t.length;)if((h=t[l=r>=0?r--:i++])!=null&&(2&h.__u)==0&&s==h.key&&u==h.type)return l}return-1}function gi(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||cd.test(t)?n:n+"px"}function Tn(e,t,n,o,r){var i,l;e:if(t=="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof o=="string"&&(e.style.cssText=o=""),o)for(t in o)n&&t in n||gi(e.style,t,"");if(n)for(t in n)o&&n[t]==o[t]||gi(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")i=t!=(t=t.replace(ui,"$1")),l=t.toLowerCase(),t=l in e||t=="onFocusOut"||t=="onFocusIn"?l.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?o?n.u=o.u:(n.u=vo,e.addEventListener(t,i?yo:xo,i)):e.removeEventListener(t,i?yo:xo,i);else{if(r=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function _i(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=vo++;else if(t.t<n.u)return;return n(ee.event?ee.event(t):t)}}}function jo(e,t,n,o,r,i,l,s,u,h){var f,m,g,_,k,x,b,y,S,N,C,P,T,A,M,E=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=ee.__b)&&f(t);e:if(typeof E=="function")try{if(y=t.props,S="prototype"in E&&E.prototype.render,N=(f=E.contextType)&&o[f.__c],C=f?N?N.props.value:f.__:o,n.__c?b=(m=t.__c=n.__c).__=m.__E:(S?t.__c=m=new E(y,C):(t.__c=m=new qe(y,C),m.constructor=E,m.render=md),N&&N.sub(m),m.state||(m.state={}),m.__n=o,g=m.__d=!0,m.__h=[],m._sb=[]),S&&m.__s==null&&(m.__s=m.state),S&&E.getDerivedStateFromProps!=null&&(m.__s==m.state&&(m.__s=Ge({},m.__s)),Ge(m.__s,E.getDerivedStateFromProps(y,m.__s))),_=m.props,k=m.state,m.__v=t,g)S&&E.getDerivedStateFromProps==null&&m.componentWillMount!=null&&m.componentWillMount(),S&&m.componentDidMount!=null&&m.__h.push(m.componentDidMount);else{if(S&&E.getDerivedStateFromProps==null&&y!==_&&m.componentWillReceiveProps!=null&&m.componentWillReceiveProps(y,C),t.__v==n.__v||!m.__e&&m.shouldComponentUpdate!=null&&m.shouldComponentUpdate(y,m.__s,C)===!1){t.__v!=n.__v&&(m.props=y,m.state=m.__s,m.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(R){R&&(R.__=t)}),Cn.push.apply(m.__h,m._sb),m._sb=[],m.__h.length&&l.push(m);break e}m.componentWillUpdate!=null&&m.componentWillUpdate(y,m.__s,C),S&&m.componentDidUpdate!=null&&m.__h.push(function(){m.componentDidUpdate(_,k,x)})}if(m.context=C,m.props=y,m.__P=e,m.__e=!1,P=ee.__r,T=0,S)m.state=m.__s,m.__d=!1,P&&P(t),f=m.render(m.props,m.state,m.context),Cn.push.apply(m.__h,m._sb),m._sb=[];else do m.__d=!1,P&&P(t),f=m.render(m.props,m.state,m.context),m.state=m.__s;while(m.__d&&++T<25);m.state=m.__s,m.getChildContext!=null&&(o=Ge(Ge({},o),m.getChildContext())),S&&!g&&m.getSnapshotBeforeUpdate!=null&&(x=m.getSnapshotBeforeUpdate(_,k)),A=f!=null&&f.type===xe&&f.key==null?xi(f.props.children):f,s=fi(e,on(A)?A:[A],t,n,o,r,i,l,s,u,h),m.base=t.__e,t.__u&=-161,m.__h.length&&l.push(m),b&&(m.__E=m.__=null)}catch(R){if(t.__v=null,u||i!=null)if(R.then){for(t.__u|=u?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;i[i.indexOf(s)]=null,t.__e=s}else{for(M=i.length;M--;)wo(i[M]);So(t)}else t.__e=n.__e,t.__k=n.__k,R.then||So(t);ee.__e(R,t,n)}else i==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=pd(n.__e,t,n,o,r,i,l,u,h);return(f=ee.diffed)&&f(t),128&t.__u?void 0:s}function So(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(So))}function vi(e,t,n){for(var o=0;o<n.length;o++)Co(n[o],n[++o],n[++o]);ee.__c&&ee.__c(t,e),e.some(function(r){try{e=r.__h,r.__h=[],e.some(function(i){i.call(r)})}catch(i){ee.__e(i,r.__v)}})}function xi(e){return typeof e!="object"||e==null||e.__b>0?e:on(e)?e.map(xi):Ge({},e)}function pd(e,t,n,o,r,i,l,s,u){var h,f,m,g,_,k,x,b=n.props||Sn,y=t.props,S=t.type;if(S=="svg"?r="http://www.w3.org/2000/svg":S=="math"?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),i!=null){for(h=0;h<i.length;h++)if((_=i[h])&&"setAttribute"in _==!!S&&(S?_.localName==S:_.nodeType==3)){e=_,i[h]=null;break}}if(e==null){if(S==null)return document.createTextNode(y);e=document.createElementNS(r,S,y.is&&y),s&&(ee.__m&&ee.__m(t,i),s=!1),i=null}if(S==null)b===y||s&&e.data==y||(e.data=y);else{if(i=i&&nn.call(e.childNodes),!s&&i!=null)for(b={},h=0;h<e.attributes.length;h++)b[(_=e.attributes[h]).name]=_.value;for(h in b)_=b[h],h=="dangerouslySetInnerHTML"?m=_:h=="children"||h in y||h=="value"&&"defaultValue"in y||h=="checked"&&"defaultChecked"in y||Tn(e,h,null,_,r);for(h in y)_=y[h],h=="children"?g=_:h=="dangerouslySetInnerHTML"?f=_:h=="value"?k=_:h=="checked"?x=_:s&&typeof _!="function"||b[h]===_||Tn(e,h,_,b[h],r);if(f)s||m&&(f.__html==m.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(m&&(e.innerHTML=""),fi(t.type=="template"?e.content:e,on(g)?g:[g],t,n,o,S=="foreignObject"?"http://www.w3.org/1999/xhtml":r,i,l,i?i[0]:n.__k&&It(n,0),s,u),i!=null)for(h=i.length;h--;)wo(i[h]);s||(h="value",S=="progress"&&k==null?e.removeAttribute("value"):k!=null&&(k!==e[h]||S=="progress"&&!k||S=="option"&&k!=b[h])&&Tn(e,h,k,b[h],r),h="checked",x!=null&&x!=e[h]&&Tn(e,h,x,b[h],r))}return e}function Co(e,t,n){try{if(typeof e=="function"){var o=typeof e.__u=="function";o&&e.__u(),o&&t==null||(e.__u=e(t))}else e.current=t}catch(r){ee.__e(r,n)}}function yi(e,t,n){var o,r;if(ee.unmount&&ee.unmount(e),(o=e.ref)&&(o.current&&o.current!=e.__e||Co(o,null,t)),(o=e.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(i){ee.__e(i,t)}o.base=o.__P=null}if(o=e.__k)for(r=0;r<o.length;r++)o[r]&&yi(o[r],t,n||typeof e.type!="function");n||wo(e.__e),e.__c=e.__=e.__e=void 0}function md(e,t,n){return this.constructor(e,n)}function pt(e,t,n){var o,r,i,l;t==document&&(t=document.documentElement),ee.__&&ee.__(e,t),r=(o=typeof n=="function")?null:n&&n.__k||t.__k,i=[],l=[],jo(t,e=(!o&&n||t).__k=fe(xe,null,[e]),r||Sn,Sn,t.namespaceURI,!o&&n?[n]:r?null:t.firstChild?nn.call(t.childNodes):null,i,!o&&n?n:r?r.__e:t.firstChild,o,l),vi(i,e,l)}function wi(e,t){pt(e,t,wi)}function fd(e,t,n){var o,r,i,l,s=Ge({},e.props);for(i in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)i=="key"?o=t[i]:i=="ref"?r=t[i]:s[i]=t[i]===void 0&&l!=null?l[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?nn.call(arguments,2):n),rn(e.type,s,o||e.key,r||e.ref,null)}function tt(e){function t(n){var o,r;return this.getChildContext||(o=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(i){this.props.value!=i.value&&o.forEach(function(l){l.__e=!0,ko(l)})},this.sub=function(i){o.add(i);var l=i.componentWillUnmount;i.componentWillUnmount=function(){o&&o.delete(i),l&&l.call(i)}}),n.children}return t.__c="__cC"+hi++,t.__=e,t.Provider=t.__l=(t.Consumer=function(n,o){return n.children(o)}).contextType=t,t}nn=Cn.slice,ee={__e:function(e,t,n,o){for(var r,i,l;t=t.__;)if((r=t.__c)&&!r.__)try{if((i=r.constructor)&&i.getDerivedStateFromError!=null&&(r.setState(i.getDerivedStateFromError(e)),l=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(e,o||{}),l=r.__d),l)return r.__E=r}catch(s){e=s}throw e}},li=0,qe.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=Ge({},this.state),typeof e=="function"&&(e=e(Ge({},n),this.props)),e&&Ge(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),ko(this))},qe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ko(this))},qe.prototype.render=xe,wt=[],ci=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,di=function(e,t){return e.__v.__b-t.__v.__b},Nn.__r=0,ui=/(PointerCapture)$|Capture$/i,vo=0,xo=_i(!1),yo=_i(!0),hi=0;var bd=0;function p(e,t,n,o,r,i){t||(t={});var l,s,u=t;if("ref"in u)for(s in u={},t)s=="ref"?l=t[s]:u[s]=t[s];var h={type:e,props:u,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--bd,__i:-1,__u:0,__source:r,__self:i};if(typeof e=="function"&&(l=e.defaultProps))for(s in l)u[s]===void 0&&(u[s]=l[s]);return ee.vnode&&ee.vnode(h),h}const gd="auxx-chat-identify:",No=new Set;function ki(e){return`${gd}${e}`}function ji(e){try{const t=window.sessionStorage.getItem(ki(e));if(!t)return null;const n=JSON.parse(t);return Ci(n)}catch{return null}}function Si(e){return No.add(e),()=>{No.delete(e)}}function _d(e){const t=window.AuxxChat,n=Array.isArray(t)?t:[],o=r=>{if(!Array.isArray(r)||r[0]!=="identify")return;const i=Ci(r[1]);if(i){try{window.sessionStorage.setItem(ki(e),JSON.stringify(i))}catch{}No.forEach(l=>l(i))}};window.AuxxChat={push:o,identify:r=>o(["identify",r])};for(const r of n)o(r)}function Ci(e){if(!e||typeof e!="object")return null;const t=To(e.name),n=To(e.email),o=To(e.externalId);return!t&&!n&&!o?null:{...t?{name:t}:{},...n?{email:n}:{},...o?{externalId:o}:{}}}function To(e){if(typeof e!="string")return;const t=e.trim();return t.length?t:void 0}var nt,pe,Mo,Ni,Dt=0,Ti=[],be=ee,Mi=be.__b,Ai=be.__r,Pi=be.diffed,Ei=be.__c,$i=be.unmount,Ri=be.__;function kt(e,t){be.__h&&be.__h(pe,e,Dt||t),Dt=0;var n=pe.__H||(pe.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function z(e){return Dt=1,an(Li,e)}function an(e,t,n){var o=kt(nt++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):Li(void 0,t),function(s){var u=o.__N?o.__N[0]:o.__[0],h=o.t(u,s);u!==h&&(o.__N=[h,o.__[1]],o.__c.setState({}))}],o.__c=pe,!pe.__f)){var r=function(s,u,h){if(!o.__c.__H)return!0;var f=o.__c.__H.__.filter(function(g){return g.__c});if(f.every(function(g){return!g.__N}))return!i||i.call(this,s,u,h);var m=o.__c.props!==s;return f.some(function(g){if(g.__N){var _=g.__[0];g.__=g.__N,g.__N=void 0,_!==g.__[0]&&(m=!0)}}),i&&i.call(this,s,u,h)||m};pe.__f=!0;var i=pe.shouldComponentUpdate,l=pe.componentWillUpdate;pe.componentWillUpdate=function(s,u,h){if(this.__e){var f=i;i=void 0,r(s,u,h),i=f}l&&l.call(this,s,u,h)},pe.shouldComponentUpdate=r}return o.__N||o.__}function H(e,t){var n=kt(nt++,3);!be.__s&&Ro(n.__H,t)&&(n.__=e,n.u=t,pe.__H.__h.push(n))}function $e(e,t){var n=kt(nt++,4);!be.__s&&Ro(n.__H,t)&&(n.__=e,n.u=t,pe.__h.push(n))}function D(e){return Dt=5,ve(function(){return{current:e}},[])}function Ao(e,t,n){Dt=6,$e(function(){if(typeof e=="function"){var o=e(t());return function(){e(null),o&&typeof o=="function"&&o()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function ve(e,t){var n=kt(nt++,7);return Ro(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function B(e,t){return Dt=8,ve(function(){return e},t)}function Ke(e){var t=pe.context[e.__c],n=kt(nt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(pe)),t.props.value):e.__}function Po(e,t){be.useDebugValue&&be.useDebugValue(t?t(e):e)}function vd(e){var t=kt(nt++,10),n=z();return t.__=e,pe.componentDidCatch||(pe.componentDidCatch=function(o,r){t.__&&t.__(o,r),n[1](o)}),[n[0],function(){n[1](void 0)}]}function Eo(){var e=kt(nt++,11);if(!e.__){for(var t=pe.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function xd(){for(var e;e=Ti.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(Mn),t.__h.some($o),t.__h=[]}catch(n){t.__h=[],be.__e(n,e.__v)}}}be.__b=function(e){pe=null,Mi&&Mi(e)},be.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Ri&&Ri(e,t)},be.__r=function(e){Ai&&Ai(e),nt=0;var t=(pe=e.__c).__H;t&&(Mo===pe?(t.__h=[],pe.__h=[],t.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.some(Mn),t.__h.some($o),t.__h=[],nt=0)),Mo=pe},be.diffed=function(e){Pi&&Pi(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ti.push(t)!==1&&Ni===be.requestAnimationFrame||((Ni=be.requestAnimationFrame)||yd)(xd)),t.__H.__.some(function(n){n.u&&(n.__H=n.u),n.u=void 0})),Mo=pe=null},be.__c=function(e,t){t.some(function(n){try{n.__h.some(Mn),n.__h=n.__h.filter(function(o){return!o.__||$o(o)})}catch(o){t.some(function(r){r.__h&&(r.__h=[])}),t=[],be.__e(o,n.__v)}}),Ei&&Ei(e,t)},be.unmount=function(e){$i&&$i(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(o){try{Mn(o)}catch(r){t=r}}),n.__H=void 0,t&&be.__e(t,n.__v))};var Oi=typeof requestAnimationFrame=="function";function yd(e){var t,n=function(){clearTimeout(o),Oi&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,35);Oi&&(t=requestAnimationFrame(n))}function Mn(e){var t=pe,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),pe=t}function $o(e){var t=pe;e.__c=e.__(),pe=t}function Ro(e,t){return!e||e.length!==t.length||t.some(function(n,o){return n!==e[o]})}function Li(e,t){return typeof t=="function"?t(e):t}const wd='/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-sky-100:oklch(95.1% .026 236.824);--color-sky-600:oklch(58.8% .158 241.966);--color-indigo-500:oklch(58.5% .233 277.117);--color-zinc-50:oklch(98.5% 0 0);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-950:oklch(14.1% .005 285.823);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-medium:500;--font-weight-semibold:600;--tracking-wide:.025em;--leading-tight:1.25;--leading-snug:1.375;--radius-sm:calc(var(--radius) - 4px);--radius-md:calc(var(--radius) - 2px);--radius-lg:var(--radius);--radius-xl:calc(var(--radius) + 4px);--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce:bounce 1s infinite;--blur-xl:24px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--radius:.625rem;--color-background:var(--background);--color-foreground:var(--foreground);--color-card:var(--card);--color-primary:var(--primary);--color-primary-foreground:var(--primary-foreground);--color-muted:var(--muted);--color-muted-foreground:var(--muted-foreground);--color-destructive:var(--destructive);--color-border:var(--border)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}.auxx-root{--background:var(--color-zinc-50);--foreground:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .6);--card:var(--auxx-chat-surface-medium);--card-foreground:var(--auxx-chat-text-loud);--illustration:var(--color-white);--border-illustration:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.auxx-root{--border-illustration:color-mix(in srgb, var(--foreground) 7.5%, transparent)}}.auxx-root{--popover:var(--color-white);--popover-foreground:var(--color-zinc-950);--primary:var(--auxx-chat-primary,var(--color-indigo-500));--primary-foreground:var(--color-white);--secondary:var(--color-sky-100);--secondary-foreground:var(--color-sky-600);--muted:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.auxx-root{--muted:color-mix(in srgb, var(--foreground) 5%, transparent)}}.auxx-root{--muted-foreground:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .3);--accent:var(--color-zinc-100);--accent-foreground:var(--color-zinc-800);--destructive:var(--color-red-600);--destructive-foreground:var(--color-white);--border:var(--auxx-chat-hairline);--input:var(--auxx-chat-hairline);--ring:var(--primary);--color-background:var(--background);--color-foreground:var(--foreground);--color-card:var(--card);--color-card-foreground:var(--card-foreground);--color-popover:var(--popover);--color-popover-foreground:var(--popover-foreground);--color-primary:var(--primary);--color-primary-foreground:var(--primary-foreground);--color-secondary:var(--secondary);--color-secondary-foreground:var(--secondary-foreground);--color-muted:var(--muted);--color-muted-foreground:var(--muted-foreground);--color-accent:var(--accent);--color-accent-foreground:var(--accent-foreground);--color-destructive:var(--destructive);--color-destructive-foreground:var(--destructive-foreground);--color-border:var(--border);--color-input:var(--input);--color-ring:var(--ring);--color-illustration:var(--illustration);--color-border-illustration:var(--border-illustration);--auxx-chat-primary:var(--color-indigo-500);--auxx-chat-tint-h:250;--auxx-chat-tint-c:.012;--auxx-chat-neutral-base:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h));--auxx-chat-glass-overlay:linear-gradient(180deg, oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .7) 0%, oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .4) 100%);--auxx-chat-surface-loud:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .9);--auxx-chat-surface-medium:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .6);--auxx-chat-primary-band:oklch(88% .069 var(--auxx-chat-tint-h) / .88);--auxx-chat-surface-default:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .4);--auxx-chat-surface-dark-default:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .06);--auxx-chat-surface-dark-faint:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .02);--auxx-chat-text-loud:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .9);--auxx-chat-surface-raised:linear-gradient(180deg, oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .96) 0%, oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .86) 100%);--auxx-chat-hairline:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .06);--auxx-chat-shadow-tint:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .04);--auxx-chat-shadow-tint-strong:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .08);--auxx-chat-shadow-tint-light:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .02);--auxx-chat-shadow-shell:0 0 0 1px var(--auxx-chat-shadow-tint), 0 0 2px 0 var(--auxx-chat-shadow-tint), 0 4px 6px -2px var(--auxx-chat-shadow-tint), 0 16px 28px -8px var(--auxx-chat-shadow-tint), 0 24px 40px -12px var(--auxx-chat-shadow-tint-strong);--auxx-chat-shadow-raised:0 0 0 1px var(--auxx-chat-shadow-tint), 0 4px 12px 0 var(--auxx-chat-shadow-tint-light), 0 8px 24px 0 var(--auxx-chat-shadow-tint-light), 0 16px 32px 0 var(--auxx-chat-shadow-tint), 0 32px 48px 0 var(--auxx-chat-shadow-tint-light)}.auxx-root[data-theme=dark]{--background:var(--color-zinc-950);--foreground:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .6);--card:var(--auxx-chat-surface-medium);--card-foreground:var(--auxx-chat-text-loud);--illustration:#171719}@supports (color:color-mix(in lab,red,red)){.auxx-root[data-theme=dark]{--illustration:color-mix(in oklab, var(--color-zinc-800) 60%, #000)}}.auxx-root[data-theme=dark]{--border-illustration:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.auxx-root[data-theme=dark]{--border-illustration:color-mix(in srgb, var(--foreground) 7.5%, transparent)}}.auxx-root[data-theme=dark]{--popover:var(--color-zinc-950);--popover-foreground:var(--color-white);--primary:var(--auxx-chat-primary-dark,var(--auxx-chat-primary,var(--color-indigo-500)));--primary-foreground:var(--color-white);--secondary:var(--color-zinc-800);--secondary-foreground:var(--color-white);--muted:var(--color-zinc-800);--muted-foreground:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .3);--accent:var(--color-zinc-800);--accent-foreground:var(--color-white);--destructive:var(--color-red-700);--destructive-foreground:var(--color-white);--border:var(--auxx-chat-hairline);--input:var(--auxx-chat-hairline);--ring:var(--color-zinc-600);--auxx-chat-neutral-base:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h));--auxx-chat-glass-overlay:linear-gradient(180deg, oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .62) 0%, oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .38) 100%);--auxx-chat-surface-loud:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .5);--auxx-chat-surface-medium:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .35);--auxx-chat-primary-band:oklch(25% .069 var(--auxx-chat-tint-h) / .88);--auxx-chat-surface-default:oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .2);--auxx-chat-surface-dark-default:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .08);--auxx-chat-surface-dark-faint:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .03);--auxx-chat-text-loud:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .9);--auxx-chat-surface-raised:linear-gradient(180deg, oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .6) 0%, oklch(14% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .4) 100%);--auxx-chat-hairline:oklch(98% var(--auxx-chat-tint-c) var(--auxx-chat-tint-h) / .08);--auxx-chat-shadow-tint:oklch(0% 0 0/.4);--auxx-chat-shadow-tint-strong:oklch(0% 0 0/.6);--auxx-chat-shadow-tint-light:oklch(0% 0 0/.2)}.auxx-root,.auxx-root *,.auxx-root :before,.auxx-root :after{box-sizing:border-box}.auxx-root{font-family:var(--font-sans);color:var(--foreground);line-height:1.4}}@layer components{.auxx-chat-root{--auxx-chat-shell-closed-size:48px;--auxx-chat-shell-open-width:360px;--auxx-chat-shell-open-height:540px;--auxx-chat-shell-closed-radius:28px;--auxx-chat-shell-open-radius:16px;--auxx-chat-shell-radius-top:1.125rem;--auxx-chat-shell-radius-bottom:1.75rem;--auxx-chat-shell-edge-gap:20px;--auxx-chat-closed-outer-border:var(--auxx-chat-primary)}@supports (color:color-mix(in lab,red,red)){.auxx-chat-root{--auxx-chat-closed-outer-border:color-mix(in oklab, var(--auxx-chat-primary), black 22%)}}.auxx-chat-root{--auxx-chat-closed-inner-border:var(--auxx-chat-primary)}@supports (color:color-mix(in lab,red,red)){.auxx-chat-root{--auxx-chat-closed-inner-border:color-mix(in oklab, var(--auxx-chat-primary), white 20%)}}.auxx-chat-root{--auxx-chat-shell-closed-shadow:0 0 0 1px var(--auxx-chat-closed-outer-border), inset 0 0 0 1px var(--auxx-chat-closed-inner-border), 0 16px 32px -8px #0000003d;--auxx-chat-shell-duration:.28s;--auxx-chat-shell-ease:cubic-bezier(.32, .72, 0, 1);--auxx-chat-icon-duration:.12s;--auxx-chat-panel-duration:.16s;--auxx-chat-panel-open-delay:.14s;--auxx-chat-panel-close-delay:0s}.auxx-chat-shell{z-index:2147483000;width:var(--auxx-chat-shell-closed-size);height:var(--auxx-chat-shell-closed-size);border-radius:var(--auxx-chat-shell-closed-radius);background:var(--auxx-chat-primary);position:fixed}@supports (color:color-mix(in lab,red,red)){.auxx-chat-shell{background:color-mix(in srgb,var(--auxx-chat-primary) 88%,transparent)}}.auxx-chat-shell{box-shadow:var(--auxx-chat-shell-closed-shadow);-webkit-backdrop-filter:blur(40px);transition:width var(--auxx-chat-shell-duration) var(--auxx-chat-shell-ease),height var(--auxx-chat-shell-duration) var(--auxx-chat-shell-ease),border-radius var(--auxx-chat-shell-duration) var(--auxx-chat-shell-ease),background var(--auxx-chat-shell-duration) var(--auxx-chat-shell-ease),box-shadow var(--auxx-chat-shell-duration) var(--auxx-chat-shell-ease);-webkit-backdrop-filter:blur(40px)!important;backdrop-filter:blur(40px)!important}.auxx-chat-shell--bottom-right{right:var(--auxx-chat-shell-edge-gap);bottom:var(--auxx-chat-shell-edge-gap);transform-origin:100% 100%}.auxx-chat-shell--bottom-left{left:var(--auxx-chat-shell-edge-gap);bottom:var(--auxx-chat-shell-edge-gap);transform-origin:0 100%}.auxx-chat-shell--open{width:var(--auxx-chat-shell-open-width);height:var(--auxx-chat-shell-open-height);max-width:calc(100vw - calc(var(--auxx-chat-shell-edge-gap) * 2));max-height:calc(100vh - calc(var(--auxx-chat-shell-edge-gap) * 5));border-top-left-radius:var(--auxx-chat-shell-radius-top);border-top-right-radius:var(--auxx-chat-shell-radius-top);border-bottom-left-radius:var(--auxx-chat-shell-radius-bottom);border-bottom-right-radius:var(--auxx-chat-shell-radius-bottom);background:var(--auxx-chat-glass-overlay),var(--auxx-chat-surface-default);-webkit-backdrop-filter:blur(24px);box-shadow:var(--auxx-chat-shadow-shell);border:none;-webkit-backdrop-filter:blur(24px)!important;backdrop-filter:blur(24px)!important}.auxx-chat-shell--expanded{width:640px;height:calc(100vh - var(--auxx-chat-shell-edge-gap));max-height:calc(100vh - var(--auxx-chat-shell-edge-gap))}.auxx-chat-shell--floating{transform-origin:0 0;transition:none;bottom:auto;right:auto}.auxx-chat-shell--floating .auxx-chat-shell__trigger,.auxx-chat-shell--floating .auxx-chat-shell__icon{display:none}.auxx-chat-shell--bobbing{animation:1.6s cubic-bezier(.45,0,.55,1) 2 auxx-float-bob}@keyframes auxx-float-bob{0%{transform:translateY(0)}50%{transform:translateY(-6px)}to{transform:translateY(0)}}.auxx-chat-shell--docking{transition:left .32s cubic-bezier(.32,.72,0,1),top .32s cubic-bezier(.32,.72,0,1)}.auxx-chat-drag-handle{cursor:grab;touch-action:none}.auxx-chat-drag-handle.is-dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.auxx-chat-drag-handle :is(button,a,input,textarea,select,[role=button]){cursor:pointer}.auxx-chat-shell__badge{color:#fff;z-index:3;pointer-events:none;border:2px solid var(--background);background:#ef4444;border-radius:9px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:600;display:inline-flex;position:absolute;top:-4px;right:-4px}.auxx-chat-shell--open .auxx-chat-shell__badge{display:none}.auxx-chat-shell__trigger{cursor:pointer;color:#fff;z-index:2;background:0 0;border:none;padding:0;position:absolute;top:0;right:0;bottom:0;left:0}.auxx-chat-shell__trigger:focus{outline:none}.auxx-chat-shell__trigger:focus-visible{outline-offset:2px;outline:2px solid #00000040}.auxx-chat-shell--open .auxx-chat-shell__trigger{pointer-events:none}.auxx-chat-shell__icon{color:#fff;opacity:1;pointer-events:none;z-index:1;width:24px;height:24px;transition:opacity var(--auxx-chat-icon-duration) ease-out;justify-content:center;align-items:center;margin-top:-12px;margin-left:-12px;display:flex;position:absolute;top:50%;left:50%}.auxx-chat-shell__icon svg{fill:currentColor;width:24px;height:24px}.auxx-chat-shell--open .auxx-chat-shell__icon{opacity:0}.auxx-chat-shell__panel{opacity:0;pointer-events:none;transition:opacity var(--auxx-chat-panel-duration) ease-out;transition-delay:var(--auxx-chat-panel-close-delay);flex-direction:column;display:flex;position:absolute;top:0;right:0;bottom:0;left:0}.auxx-chat-shell--open .auxx-chat-shell__panel{opacity:1;pointer-events:auto;transition-delay:var(--auxx-chat-panel-open-delay)}@media(max-width:639.98px){.auxx-chat-shell--open{--auxx-chat-shell-radius-top:0px;--auxx-chat-shell-radius-bottom:0px;border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}.auxx-chat-shell--open.auxx-chat-shell--bottom-right{bottom:0;right:0}.auxx-chat-shell--open.auxx-chat-shell--bottom-left{bottom:0;left:0}.auxx-root[data-preview-rounded=true] .auxx-chat-shell--open{--auxx-chat-shell-radius-top:1.125rem;--auxx-chat-shell-radius-bottom:1.75rem;border-top-left-radius:var(--auxx-chat-shell-radius-top);border-top-right-radius:var(--auxx-chat-shell-radius-top);border-bottom-left-radius:var(--auxx-chat-shell-radius-bottom);border-bottom-right-radius:var(--auxx-chat-shell-radius-bottom)}}.auxx-chat-clip-top{border-top-left-radius:var(--auxx-chat-shell-radius-top);border-top-right-radius:var(--auxx-chat-shell-radius-top)}.auxx-chat-clip-bottom{border-bottom-left-radius:var(--auxx-chat-shell-radius-bottom);border-bottom-right-radius:var(--auxx-chat-shell-radius-bottom)}.auxx-chat-frame>:first-child{border-top-left-radius:var(--auxx-chat-shell-radius-top);border-top-right-radius:var(--auxx-chat-shell-radius-top)}.auxx-chat-frame>:last-child{border-bottom-left-radius:var(--auxx-chat-shell-radius-bottom);border-bottom-right-radius:var(--auxx-chat-shell-radius-bottom)}.auxx-chat-body-mask{-webkit-mask-image:linear-gradient(#0000 0,#000 5% 100%);mask-image:linear-gradient(#0000 0,#000 5%,#000)}.auxx-chat-composer-plinth{background:var(--auxx-chat-surface-loud);flex-direction:column;gap:.25rem;padding:0 .5rem .5rem;display:flex;position:relative}.auxx-chat-composer-plinth:before{content:"";background:linear-gradient(180deg,transparent 0%,var(--auxx-chat-surface-loud) 100%);pointer-events:none;height:1rem;position:absolute;bottom:100%;left:0;right:0}.auxx-chat-composer-card{background-image:var(--auxx-chat-surface-raised);box-shadow:var(--auxx-chat-shadow-raised);-webkit-backdrop-filter:blur(24px);border-radius:1.25rem;transition:box-shadow .12s ease-out;position:relative;-webkit-backdrop-filter:blur(24px)!important;backdrop-filter:blur(24px)!important}.auxx-chat-composer-card:focus-within,.auxx-chat-composer-card.is-drag-over{box-shadow:0 0 0 2px var(--primary),var(--auxx-chat-shadow-raised)}.auxx-chat-frame-transition{flex-direction:column;flex:1 1 0;min-height:0;display:flex;position:relative}.auxx-chat-frame-transition--animating{overflow:hidden}.auxx-chat-frame-layer{flex-direction:column;flex:1 1 0;min-height:0;display:flex}.auxx-chat-frame-transition--animating .auxx-chat-frame-layer{flex:none;position:absolute;top:0;right:0;bottom:0;left:0}.auxx-chat-frame--entering[data-direction=from-right]{animation:auxx-frame-slide-in-right .28s var(--auxx-chat-shell-ease) both}.auxx-chat-frame--entering[data-direction=from-left]{animation:auxx-frame-slide-in-left .28s var(--auxx-chat-shell-ease) both}.auxx-chat-frame--exiting[data-direction=from-right]{animation:auxx-frame-slide-out-left .28s var(--auxx-chat-shell-ease) both}.auxx-chat-frame--exiting[data-direction=from-left]{animation:auxx-frame-slide-out-right .28s var(--auxx-chat-shell-ease) both}@keyframes auxx-frame-slide-in-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes auxx-frame-slide-in-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes auxx-frame-slide-out-left{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-30%)}}@keyframes auxx-frame-slide-out-right{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(30%)}}}@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-x-0{inset-inline:calc(var(--spacing) * 0)}.top-0{top:calc(var(--spacing) * 0)}.top-1\\/2{top:50%}.right-2{right:calc(var(--spacing) * 2)}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-3{bottom:calc(var(--spacing) * 3)}.left-1\\/2{left:50%}.left-2\\.5{left:calc(var(--spacing) * 2.5)}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-1{margin-inline:calc(var(--spacing) * 1)}.mx-3{margin-inline:calc(var(--spacing) * 3)}.my-1{margin-block:calc(var(--spacing) * 1)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mb-0{margin-bottom:calc(var(--spacing) * 0)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.size-1\\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-full{width:100%;height:100%}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-32{height:calc(var(--spacing) * 32)}.h-64{height:calc(var(--spacing) * 64)}.h-\\[120px\\]{height:120px}.h-full{height:100%}.h-px{height:1px}.max-h-\\[200px\\]{max-height:200px}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-\\[260px\\]{min-height:260px}.w-2{width:calc(var(--spacing) * 2)}.w-9{width:calc(var(--spacing) * 9)}.w-80{width:calc(var(--spacing) * 80)}.w-\\[90\\%\\]{width:90%}.w-\\[160px\\]{width:160px}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.max-w-\\[80\\%\\]{max-width:80%}.max-w-\\[140px\\]{max-width:140px}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[260px\\]{max-width:260px}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-\\[10rem\\]{min-width:10rem}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.animate-bounce{animation:var(--animate-bounce)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.scroll-mt-8{scroll-margin-top:calc(var(--spacing) * 8)}.grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-8{gap:calc(var(--spacing) * 8)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-\\[color\\:var\\(--auxx-chat-hairline\\)\\]>:not(:last-child)){border-color:var(--auxx-chat-hairline)}.self-center{align-self:center}.self-end{align-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:var(--radius)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-tl-md{border-top-left-radius:var(--radius-md)}.rounded-tr-md{border-top-right-radius:var(--radius-md)}.rounded-br-md{border-bottom-right-radius:var(--radius-md)}.rounded-br-sm{border-bottom-right-radius:var(--radius-sm)}.rounded-bl-md{border-bottom-left-radius:var(--radius-md)}.rounded-bl-sm{border-bottom-left-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-\\[color\\:var\\(--auxx-chat-hairline\\)\\]{border-color:var(--auxx-chat-hairline)}.border-border{border-color:var(--color-border)}.border-current{border-color:currentColor}.border-destructive,.border-destructive\\/40{border-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.border-destructive\\/40{border-color:color-mix(in oklab,var(--color-destructive) 40%,transparent)}}.border-t-transparent{border-top-color:#0000}.bg-\\[color\\:var\\(--auxx-chat-surface-loud\\)\\]{background-color:var(--auxx-chat-surface-loud)}.bg-background,.bg-background\\/15{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/15{background-color:color-mix(in oklab,var(--color-background) 15%,transparent)}}.bg-background\\/20{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/20{background-color:color-mix(in oklab,var(--color-background) 20%,transparent)}}.bg-background\\/60{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/60{background-color:color-mix(in oklab,var(--color-background) 60%,transparent)}}.bg-black\\/40{background-color:#0006}@supports (color:color-mix(in lab,red,red)){.bg-black\\/40{background-color:color-mix(in oklab,var(--color-black) 40%,transparent)}}.bg-border{background-color:var(--color-border)}.bg-card{background-color:var(--color-card)}.bg-muted{background-color:var(--color-muted)}.bg-muted-foreground\\/60{background-color:var(--color-muted-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-muted-foreground\\/60{background-color:color-mix(in oklab,var(--color-muted-foreground) 60%,transparent)}}.bg-primary{background-color:var(--color-primary)}.bg-transparent{background-color:#0000}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing) * 0)}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:calc(var(--spacing) * 1)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.ps-5{padding-inline-start:calc(var(--spacing) * 5)}.pe-3{padding-inline-end:calc(var(--spacing) * 3)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-1{padding-bottom:calc(var(--spacing) * 1)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pl-8{padding-left:calc(var(--spacing) * 8)}.text-center{text-align:center}.text-left{text-align:left}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.break-words{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[color\\:var\\(--auxx-chat-text-loud\\)\\]{color:var(--auxx-chat-text-loud)}.text-black\\/70{color:#000000b3}@supports (color:color-mix(in lab,red,red)){.text-black\\/70{color:color-mix(in oklab,var(--color-black) 70%,transparent)}}.text-current{color:currentColor}.text-destructive{color:var(--color-destructive)}.text-foreground{color:var(--color-foreground)}.text-muted-foreground{color:var(--color-muted-foreground)}.text-primary{color:var(--color-primary)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-white\\/90{color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.text-white\\/90{color:color-mix(in oklab,var(--color-white) 90%,transparent)}}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\\[animation-delay\\:-0\\.1s\\]{animation-delay:-.1s}.\\[animation-delay\\:-0\\.2s\\]{animation-delay:-.2s}@media(hover:hover){.group-hover\\:translate-x-0\\.5:is(:where(.group):hover *){--tw-translate-x:calc(var(--spacing) * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}}.placeholder\\:text-muted-foreground::placeholder{color:var(--color-muted-foreground)}@media(hover:hover){.hover\\:bg-\\[color\\:var\\(--auxx-chat-surface-dark-default\\)\\]:hover{background-color:var(--auxx-chat-surface-dark-default)}.hover\\:bg-\\[color\\:var\\(--auxx-chat-surface-dark-faint\\)\\]:hover{background-color:var(--auxx-chat-surface-dark-faint)}.hover\\:bg-\\[color\\:var\\(--auxx-chat-surface-loud\\)\\]:hover{background-color:var(--auxx-chat-surface-loud)}.hover\\:bg-background\\/25:hover{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-background\\/25:hover{background-color:color-mix(in oklab,var(--color-background) 25%,transparent)}}.hover\\:bg-background\\/30:hover{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-background\\/30:hover{background-color:color-mix(in oklab,var(--color-background) 30%,transparent)}}.hover\\:bg-black\\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-black\\/5:hover{background-color:color-mix(in oklab,var(--color-black) 5%,transparent)}}.hover\\:bg-border:hover{background-color:var(--color-border)}.hover\\:bg-muted:hover{background-color:var(--color-muted)}.hover\\:bg-white\\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/10:hover{background-color:color-mix(in oklab,var(--color-white) 10%,transparent)}}.hover\\:text-\\[color\\:var\\(--auxx-chat-text-loud\\)\\]:hover{color:var(--auxx-chat-text-loud)}.hover\\:text-black:hover{color:var(--color-black)}.hover\\:text-foreground:hover{color:var(--color-foreground)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:outline-offset-0:hover{outline-offset:0px}.hover\\:brightness-110:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.focus\\:bg-\\[color\\:var\\(--auxx-chat-surface-dark-default\\)\\]:focus{background-color:var(--auxx-chat-surface-dark-default)}.focus\\:text-\\[color\\:var\\(--auxx-chat-text-loud\\)\\]:focus{color:var(--auxx-chat-text-loud)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-primary\\/30:focus{--tw-ring-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.focus\\:ring-primary\\/30:focus{--tw-ring-color:color-mix(in oklab, var(--color-primary) 30%, transparent)}}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-primary\\/40:focus-visible{--tw-ring-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-primary\\/40:focus-visible{--tw-ring-color:color-mix(in oklab, var(--color-primary) 40%, transparent)}}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.active\\:brightness-95:active{--tw-brightness:brightness(95%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:opacity-60:disabled{opacity:.6}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=active\\]\\:bg-background[data-state=active]{background-color:var(--color-background)}.data-\\[state\\=active\\]\\:text-foreground[data-state=active]{color:var(--color-foreground)}.data-\\[state\\=active\\]\\:shadow-sm[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}@media(min-width:40rem){.sm\\:flex{display:flex}}}.auxx-kb-article{color:var(--foreground);overflow-wrap:anywhere;font-size:14px;line-height:1.55}.auxx-kb-article [data-auxx-article-head]{flex-direction:column;gap:.5rem;margin-bottom:1rem;display:flex}.auxx-kb-article [data-auxx-article-cover]{object-fit:cover;border-radius:.5rem;width:100%;max-height:200px}.auxx-kb-article [data-auxx-article-title]{color:var(--foreground);align-items:center;gap:.5rem;margin:0;font-size:1.5rem;font-weight:700;display:flex}.auxx-kb-article [data-auxx-icon]{vertical-align:-.15em;color:currentColor;flex-shrink:0;justify-content:center;align-items:center;width:1em;height:1em;display:inline-flex}.auxx-kb-article [data-auxx-icon] svg{stroke-width:2px;width:100%;height:100%}.auxx-kb-article [data-auxx-article-emoji]{width:1.25em;height:1.25em;font-size:1.25rem}.auxx-kb-article [data-auxx-block=heading][data-level="1"]{margin:1.25rem 0 .5rem;font-size:1.25rem;font-weight:700}.auxx-kb-article [data-auxx-block=heading][data-level="2"]{margin:1rem 0 .5rem;font-size:1.125rem;font-weight:600}.auxx-kb-article [data-auxx-block=heading][data-level="3"]{margin:.75rem 0 .25rem;font-size:1rem;font-weight:600}.auxx-kb-article [data-auxx-block=text]{margin:0 0 .75rem}.auxx-kb-article [data-auxx-block=bullet-list],.auxx-kb-article [data-auxx-block=numbered-list]{margin:0 0 .5rem;padding-left:1.25rem}.auxx-kb-article [data-auxx-block=bullet-list] li,.auxx-kb-article [data-auxx-block=numbered-list] li{margin-bottom:.25rem}.auxx-kb-article [data-auxx-block=quote]{border-left:3px solid var(--border);color:var(--muted-foreground);margin:.5rem 0;padding:.25rem 0 .25rem .75rem;font-style:italic}.auxx-kb-article [data-auxx-block=callout]{border:1px solid var(--border);background:var(--muted);border-radius:.5rem;margin:.75rem 0;padding:.625rem .75rem}.auxx-kb-article [data-auxx-block=callout][data-variant=warn],.auxx-kb-article [data-auxx-block=callout][data-variant=error]{border-color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.auxx-kb-article [data-auxx-block=callout][data-variant=warn],.auxx-kb-article [data-auxx-block=callout][data-variant=error]{border-color:color-mix(in srgb,var(--foreground) 10%,transparent)}}.auxx-kb-article [data-auxx-block=callout][data-variant=warn],.auxx-kb-article [data-auxx-block=callout][data-variant=error]{background:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.auxx-kb-article [data-auxx-block=callout][data-variant=warn],.auxx-kb-article [data-auxx-block=callout][data-variant=error]{background:color-mix(in srgb,var(--foreground) 5%,transparent)}}.auxx-kb-article [data-auxx-block=code]{background:var(--muted);border:1px solid var(--border);white-space:pre;border-radius:.5rem;margin:.5rem 0 .75rem;padding:.625rem .75rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8125rem;overflow-x:auto}.auxx-kb-article [data-auxx-inline-code]{background:var(--muted);border:1px solid var(--border);border-radius:.25rem;padding:.1em .3em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85em}.auxx-kb-article [data-auxx-block=divider]{border:none;border-top:1px solid var(--border);margin:1rem 0}.auxx-kb-article [data-auxx-block=image]{text-align:center;margin:.75rem 0}.auxx-kb-article [data-auxx-block=image] img{border-radius:.375rem;max-width:100%;height:auto}.auxx-kb-article [data-auxx-block=todo]{align-items:flex-start;gap:.5rem;margin-bottom:.25rem;display:flex}.auxx-kb-article [data-auxx-todo-box]{border:1px solid var(--border);border-radius:.25rem;justify-content:center;align-items:center;width:1rem;height:1rem;font-size:.7rem;line-height:1;display:inline-flex}.auxx-kb-article a{color:var(--primary);text-underline-offset:2px;text-decoration:underline}.auxx-kb-article a:hover{text-decoration-thickness:2px}.auxx-kb-article [data-auxx-article-fallback]{border-top:1px dashed var(--border);text-align:center;margin-top:1rem;padding-top:.75rem;font-size:.8125rem}.auxx-kb-article [data-auxx-block=table]{margin:.75rem 0}.auxx-kb-article [data-auxx-table-scroll]{border:1px solid var(--border);border-radius:.5rem;overflow-x:auto}.auxx-kb-article [data-auxx-block=table] table{border-collapse:collapse;width:100%;font-size:.8125rem}.auxx-kb-article [data-auxx-block=table] th,.auxx-kb-article [data-auxx-block=table] td{text-align:left;vertical-align:top;border-bottom:1px solid var(--border);padding:.5rem .625rem}.auxx-kb-article [data-auxx-block=table] th{background:var(--muted);font-weight:600}.auxx-kb-article [data-auxx-block=table] tr:last-child td,.auxx-kb-article [data-auxx-block=table] tr:last-child th{border-bottom:0}.auxx-kb-article [data-auxx-block=table] [data-auxx-block=text]{margin:0}.auxx-kb-article [data-auxx-block=tabs]{margin:.75rem 0}.auxx-kb-article [data-auxx-tabs-list]{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:.25rem;margin-bottom:.5rem;display:flex}.auxx-kb-article [data-auxx-tab]{color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;align-items:center;gap:.375rem;margin-bottom:-1px;padding:.4rem .6rem;font-size:.8125rem;font-weight:500;display:inline-flex}.auxx-kb-article [data-auxx-tab]:hover{color:var(--foreground)}.auxx-kb-article [data-auxx-tab][data-active=true]{color:var(--primary);border-bottom-color:var(--primary)}.auxx-kb-article [data-auxx-tab-panel][data-active=false]{display:none}.auxx-kb-article [data-auxx-block=accordion]{border:1px solid var(--border);border-radius:.5rem;margin:.75rem 0;overflow:hidden}.auxx-kb-article [data-auxx-accordion-item]+[data-auxx-accordion-item]{border-top:1px solid var(--border)}.auxx-kb-article [data-auxx-accordion-item]>summary{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;padding:.625rem .75rem;font-weight:500;list-style:none;display:flex}.auxx-kb-article [data-auxx-accordion-item]>summary::-webkit-details-marker{display:none}.auxx-kb-article [data-auxx-accordion-chevron]{color:var(--muted-foreground);transition:transform .12s}.auxx-kb-article [data-auxx-accordion-item][open]>summary [data-auxx-accordion-chevron]{transform:rotate(180deg)}.auxx-kb-article [data-auxx-accordion-panel]{padding:0 .75rem .625rem}.auxx-kb-article [data-auxx-accordion-panel]>[data-auxx-block=text]:last-child{margin-bottom:0}.auxx-kb-article [data-auxx-block=embed]{background:var(--muted);aspect-ratio:16/9;border-radius:.5rem;width:100%;margin:.75rem 0;overflow:hidden}.auxx-kb-article [data-auxx-block=embed][data-aspect="4:3"]{aspect-ratio:4/3}.auxx-kb-article [data-auxx-block=embed][data-aspect="1:1"]{aspect-ratio:1}.auxx-kb-article [data-auxx-block=embed] iframe{border:0;width:100%;height:100%;display:block}.auxx-kb-article [data-auxx-block=cards]{grid-template-columns:1fr;gap:.5rem;margin:.75rem 0;display:grid}.auxx-kb-article [data-auxx-card]{border:1px solid var(--border);background:var(--background);color:var(--foreground);border-radius:.5rem;align-items:flex-start;gap:.625rem;padding:.625rem .75rem;text-decoration:none;transition:background-color .12s;display:flex}.auxx-kb-article a[data-auxx-card]:hover{background:var(--muted);text-decoration:none}.auxx-kb-article [data-auxx-card-icon]{color:var(--muted-foreground);flex-shrink:0;align-items:center;margin-top:.125rem;font-size:1.125rem;display:inline-flex}.auxx-kb-article [data-auxx-card-body]{flex-direction:column;flex:1;gap:.125rem;min-width:0;display:flex}.auxx-kb-article [data-auxx-card-title]{font-size:.875rem;font-weight:600}.auxx-kb-article [data-auxx-card-desc]{color:var(--muted-foreground);font-size:.8125rem}@media(prefers-reduced-motion:reduce){.auxx-chat-shell,.auxx-chat-shell__icon,.auxx-chat-shell__panel{transition:none}.auxx-chat-shell--bobbing{animation:none}.auxx-chat-frame--entering,.auxx-chat-frame--entering[data-direction=from-right],.auxx-chat-frame--entering[data-direction=from-left]{animation:.12s ease-out both auxx-frame-fade-in}.auxx-chat-frame--exiting,.auxx-chat-frame--exiting[data-direction=from-right],.auxx-chat-frame--exiting[data-direction=from-left]{animation:.12s ease-out both auxx-frame-fade-out}@keyframes auxx-frame-fade-in{0%{opacity:0}to{opacity:1}}@keyframes auxx-frame-fade-out{0%{opacity:1}to{opacity:0}}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}',zi=tt(null),kd=zi.Provider;function Ii(){return Ke(zi)}const Di="auxx-chat-widget-root",Fi="auxx-chat-widget-properties",jd="auxx-root",Hi=/@property\s+--[^{]+\{[^}]*\}/g;function Sd(e){var o;const t=((o=e.match(Hi))==null?void 0:o.join(""))??"",n=e.replace(Hi,"");return{properties:t,rest:n}}function Cd(e){const{properties:t,rest:n}=Sd(wd);if(t&&!document.getElementById(Fi)){const r=document.createElement("style");r.id=Fi,r.textContent=t,document.head.appendChild(r)}const o=document.createElement("style");o.textContent=n,e.appendChild(o)}function Nd(){let e=document.getElementById(Di);e||(e=document.createElement("div"),e.id=Di,document.body.appendChild(e));const t=e.attachShadow({mode:"closed"});Cd(t);const n=document.createElement("div");return n.className=jd,t.appendChild(n),{shadowRoot:t,rootEl:n}}const Bi=tt(null);function Td(){return Ke(Bi)}function Md({shadowRoot:e,children:t}){return p(Bi.Provider,{value:e,children:t})}function Ad(e){const{shadowRoot:t,rootEl:n}=Nd();return pt(p(Md,{shadowRoot:t,children:p(kd,{value:n,children:e})}),n),t}function Ui(e,t){for(var n in t)e[n]=t[n];return e}function Oo(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var o in t)if(o!=="__source"&&e[o]!==t[o])return!0;return!1}function Lo(e,t){var n=t(),o=z({t:{__:n,u:t}}),r=o[0].t,i=o[1];return $e(function(){r.__=n,r.u=t,zo(r)&&i({t:r})},[e,n,t]),H(function(){return zo(r)&&i({t:r}),e(function(){zo(r)&&i({t:r})})},[e]),n}function zo(e){try{return!((t=e.__)===(n=e.u())&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}var t,n}function Io(e){e()}function Do(e){return e}function Fo(){return[!1,Io]}var Ho=$e;function An(e,t){this.props=e,this.context=t}function Ft(e,t){function n(r){var i=this.props.ref,l=i==r.ref;return!l&&i&&(i.call?i(null):i.current=null),t?!t(this.props,r)||!l:Oo(this.props,r)}function o(r){return this.shouldComponentUpdate=n,fe(e,r)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o.type=e,o}(An.prototype=new qe).isPureReactComponent=!0,An.prototype.shouldComponentUpdate=function(e,t){return Oo(this.props,e)||Oo(this.state,t)};var qi=ee.__b;ee.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),qi&&qi(e)};var Pd=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function V(e){function t(n){var o=Ui({},n);return delete o.ref,e(o,n.ref||null)}return t.$$typeof=Pd,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Wi=function(e,t){return e==null?null:et(et(e).map(t))},ot={map:Wi,forEach:Wi,count:function(e){return e?et(e).length:0},only:function(e){var t=et(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:et},Ed=ee.__e;ee.__e=function(e,t,n,o){if(e.then){for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}Ed(e,t,n,o)};var Vi=ee.unmount;function Gi(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),e.__c.__H=null),(e=Ui({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(o){return Gi(o,t,n)})),e}function Ki(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(o){return Ki(o,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function ln(){this.__u=0,this.o=null,this.__b=null}function Xi(e){if(!e.__)return null;var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Yi(e){var t,n,o,r=null;function i(l){if(t||(t=e()).then(function(s){s&&(r=s.default||s),o=!0},function(s){n=s,o=!0}),n)throw n;if(!o)throw t;return r?fe(r,l):null}return i.displayName="Lazy",i.__f=!0,i}function Ht(){this.i=null,this.l=null}ee.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Vi&&Vi(e)},(ln.prototype=new qe).__c=function(e,t){var n=t.__c,o=this;o.o==null&&(o.o=[]),o.o.push(n);var r=Xi(o.__v),i=!1,l=function(){i||o.__z||(i=!0,n.__R=null,r?r(u):u())};n.__R=l;var s=n.__P;n.__P=null;var u=function(){if(!--o.__u){if(o.state.__a){var h=o.state.__a;o.__v.__k[0]=Ki(h,h.__c.__P,h.__c.__O)}var f;for(o.setState({__a:o.__b=null});f=o.o.pop();)f.__P=s,f.forceUpdate()}};o.__u++||32&t.__u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(l,l)},ln.prototype.componentWillUnmount=function(){this.o=[]},ln.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=Gi(this.__b,n,o.__O=o.__P)}this.__b=null}var r=t.__a&&fe(xe,null,e.fallback);return r&&(r.__u&=-33),[fe(xe,null,t.__a?null:e.children),r]};var Ji=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function $d(e){return this.getChildContext=function(){return e.context},e.children}function Rd(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){pt(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var o=t.__v;o!==null&&!o.__m&&o.__!==null;)o=o.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:o.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(r,i){this.childNodes.push(r),t.h.insertBefore(r,i)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.h.removeChild(r)}}}pt(fe($d,{context:t.context},e.__v),t.v)}function Zi(e,t){var n=fe(Rd,{__v:e,h:t});return n.containerInfo=t,n}(Ht.prototype=new qe).__a=function(e){var t=this,n=Xi(t.__v),o=t.l.get(e);return o[0]++,function(r){var i=function(){t.props.revealOrder?(o.push(r),Ji(t,e,o)):r()};n?n(i):i()}},Ht.prototype.render=function(e){this.i=null,this.l=new Map;var t=et(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Ht.prototype.componentDidUpdate=Ht.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){Ji(e,n,t)})};var Qi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Od=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ld=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,zd=/[A-Z0-9]/g,Id=typeof document<"u",Dd=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ea(e,t,n){return t.__k==null&&(t.textContent=""),pt(e,t),typeof n=="function"&&n(),e?e.__c:null}function ta(e,t,n){return wi(e,t),typeof n=="function"&&n(),e?e.__c:null}qe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(qe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var na=ee.event;function Fd(){}function Hd(){return this.cancelBubble}function Bd(){return this.defaultPrevented}ee.event=function(e){return na&&(e=na(e)),e.persist=Fd,e.isPropagationStopped=Hd,e.isDefaultPrevented=Bd,e.nativeEvent=e};var Bo,Ud={enumerable:!1,configurable:!0,get:function(){return this.class}},oa=ee.vnode;ee.vnode=function(e){typeof e.type=="string"&&(function(t){var n=t.props,o=t.type,r={},i=o.indexOf("-")===-1;for(var l in n){var s=n[l];if(!(l==="value"&&"defaultValue"in n&&s==null||Id&&l==="children"&&o==="noscript"||l==="class"||l==="className")){var u=l.toLowerCase();l==="defaultValue"&&"value"in n&&n.value==null?l="value":l==="download"&&s===!0?s="":u==="translate"&&s==="no"?s=!1:u[0]==="o"&&u[1]==="n"?u==="ondoubleclick"?l="ondblclick":u!=="onchange"||o!=="input"&&o!=="textarea"||Dd(n.type)?u==="onfocus"?l="onfocusin":u==="onblur"?l="onfocusout":Ld.test(l)&&(l=u):u=l="oninput":i&&Od.test(l)?l=l.replace(zd,"-$&").toLowerCase():s===null&&(s=void 0),u==="oninput"&&r[l=u]&&(l="oninputCapture"),r[l]=s}}o=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=et(n.children).forEach(function(h){h.props.selected=r.value.indexOf(h.props.value)!=-1})),o=="select"&&r.defaultValue!=null&&(r.value=et(n.children).forEach(function(h){h.props.selected=r.multiple?r.defaultValue.indexOf(h.props.value)!=-1:r.defaultValue==h.props.value})),n.class&&!n.className?(r.class=n.class,Object.defineProperty(r,"className",Ud)):n.className&&(r.class=r.className=n.className),t.props=r})(e),e.$$typeof=Qi,oa&&oa(e)};var ra=ee.__r;ee.__r=function(e){ra&&ra(e),Bo=e.__c};var ia=ee.diffed;ee.diffed=function(e){ia&&ia(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Bo=null};var aa={ReactCurrentDispatcher:{current:{readContext:function(e){return Bo.__n[e.__c].props.value},useCallback:B,useContext:Ke,useDebugValue:Po,useDeferredValue:Do,useEffect:H,useId:Eo,useImperativeHandle:Ao,useInsertionEffect:Ho,useLayoutEffect:$e,useMemo:ve,useReducer:an,useRef:D,useState:z,useSyncExternalStore:Lo,useTransition:Fo}}},qd="18.3.1";function la(e){return fe.bind(null,e)}function rt(e){return!!e&&e.$$typeof===Qi}function sa(e){return rt(e)&&e.type===xe}function ca(e){return!!e&&typeof e.displayName=="string"&&e.displayName.startsWith("Memo(")}function Bt(e){return rt(e)?fd.apply(null,arguments):e}function da(e){return!!e.__k&&(pt(null,e),!0)}function ua(e){return e&&(e.base||e.nodeType===1&&e)||null}var ha=function(e,t){return e(t)},Pn=function(e,t){return e(t)},pa=xe,ma=rt,it={useState:z,useId:Eo,useReducer:an,useEffect:H,useLayoutEffect:$e,useInsertionEffect:Ho,useTransition:Fo,useDeferredValue:Do,useSyncExternalStore:Lo,startTransition:Io,useRef:D,useImperativeHandle:Ao,useMemo:ve,useCallback:B,useContext:Ke,useDebugValue:Po,version:"18.3.1",Children:ot,render:ea,hydrate:ta,unmountComponentAtNode:da,createPortal:Zi,createElement:fe,createContext:tt,createFactory:la,cloneElement:Bt,createRef:pi,Fragment:xe,isValidElement:rt,isElement:ma,isFragment:sa,isMemo:ca,findDOMNode:ua,Component:qe,PureComponent:An,memo:Ft,forwardRef:V,flushSync:Pn,unstable_batchedUpdates:ha,StrictMode:pa,Suspense:ln,SuspenseList:Ht,lazy:Yi,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:aa};const fa=Object.freeze(Object.defineProperty({__proto__:null,Children:ot,Component:qe,Fragment:xe,PureComponent:An,StrictMode:pa,Suspense:ln,SuspenseList:Ht,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:aa,cloneElement:Bt,createContext:tt,createElement:fe,createFactory:la,createPortal:Zi,createRef:pi,default:it,findDOMNode:ua,flushSync:Pn,forwardRef:V,hydrate:ta,isElement:ma,isFragment:sa,isMemo:ca,isValidElement:rt,lazy:Yi,memo:Ft,render:ea,startTransition:Io,unmountComponentAtNode:da,unstable_batchedUpdates:ha,useCallback:B,useContext:Ke,useDebugValue:Po,useDeferredValue:Do,useEffect:H,useErrorBoundary:vd,useId:Eo,useImperativeHandle:Ao,useInsertionEffect:Ho,useLayoutEffect:$e,useMemo:ve,useReducer:an,useRef:D,useState:z,useSyncExternalStore:Lo,useTransition:Fo,version:qd},Symbol.toStringTag,{value:"Module"}));/**
|
|
2
2
|
* @license lucide-react v0.575.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -8,47 +8,47 @@
|
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
10
10
|
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const
|
|
11
|
+
*/const Wd=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
12
12
|
* @license lucide-react v0.575.0 - ISC
|
|
13
13
|
*
|
|
14
14
|
* This source code is licensed under the ISC license.
|
|
15
15
|
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/const
|
|
16
|
+
*/const Vd=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,o)=>o?o.toUpperCase():n.toLowerCase());/**
|
|
17
17
|
* @license lucide-react v0.575.0 - ISC
|
|
18
18
|
*
|
|
19
19
|
* This source code is licensed under the ISC license.
|
|
20
20
|
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/const ga=e=>{const t=
|
|
21
|
+
*/const ga=e=>{const t=Vd(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
|
|
22
22
|
* @license lucide-react v0.575.0 - ISC
|
|
23
23
|
*
|
|
24
24
|
* This source code is licensed under the ISC license.
|
|
25
25
|
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/var
|
|
26
|
+
*/var Gd={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"};/**
|
|
27
27
|
* @license lucide-react v0.575.0 - ISC
|
|
28
28
|
*
|
|
29
29
|
* This source code is licensed under the ISC license.
|
|
30
30
|
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/const
|
|
31
|
+
*/const Kd=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};/**
|
|
32
32
|
* @license lucide-react v0.575.0 - ISC
|
|
33
33
|
*
|
|
34
34
|
* This source code is licensed under the ISC license.
|
|
35
35
|
* See the LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/const
|
|
36
|
+
*/const Xd=V(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:r="",children:i,iconNode:l,...s},u)=>fe("svg",{ref:u,...Gd,width:t,height:t,stroke:e,strokeWidth:o?Number(n)*24/Number(t):n,className:ba("lucide",r),...!i&&!Kd(s)&&{"aria-hidden":"true"},...s},[...l.map(([h,f])=>fe(h,f)),...Array.isArray(i)?i:[i]]));/**
|
|
37
37
|
* @license lucide-react v0.575.0 - ISC
|
|
38
38
|
*
|
|
39
39
|
* This source code is licensed under the ISC license.
|
|
40
40
|
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/const j=(e,t)=>{const n=V(({className:o,...r},i)=>fe(
|
|
41
|
+
*/const j=(e,t)=>{const n=V(({className:o,...r},i)=>fe(Xd,{ref:i,iconNode:t,className:ba(`lucide-${Wd(ga(e))}`,`lucide-${e}`,o),...r}));return n.displayName=ga(e),n};/**
|
|
42
42
|
* @license lucide-react v0.575.0 - ISC
|
|
43
43
|
*
|
|
44
44
|
* This source code is licensed under the ISC license.
|
|
45
45
|
* See the LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/const
|
|
46
|
+
*/const Yd=j("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"}]]);/**
|
|
47
47
|
* @license lucide-react v0.575.0 - ISC
|
|
48
48
|
*
|
|
49
49
|
* This source code is licensed under the ISC license.
|
|
50
50
|
* See the LICENSE file in the root directory of this source tree.
|
|
51
|
-
*/const
|
|
51
|
+
*/const Jd=j("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"}]]);/**
|
|
52
52
|
* @license lucide-react v0.575.0 - ISC
|
|
53
53
|
*
|
|
54
54
|
* This source code is licensed under the ISC license.
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
*
|
|
59
59
|
* This source code is licensed under the ISC license.
|
|
60
60
|
* See the LICENSE file in the root directory of this source tree.
|
|
61
|
-
*/const
|
|
61
|
+
*/const Zd=j("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
|
|
62
62
|
* @license lucide-react v0.575.0 - ISC
|
|
63
63
|
*
|
|
64
64
|
* This source code is licensed under the ISC license.
|
|
65
65
|
* See the LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/const
|
|
66
|
+
*/const Qd=j("arrow-left-right",[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]]);/**
|
|
67
67
|
* @license lucide-react v0.575.0 - ISC
|
|
68
68
|
*
|
|
69
69
|
* This source code is licensed under the ISC license.
|
|
@@ -73,12 +73,12 @@
|
|
|
73
73
|
*
|
|
74
74
|
* This source code is licensed under the ISC license.
|
|
75
75
|
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
-
*/const
|
|
76
|
+
*/const eu=j("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
|
77
77
|
* @license lucide-react v0.575.0 - ISC
|
|
78
78
|
*
|
|
79
79
|
* This source code is licensed under the ISC license.
|
|
80
80
|
* See the LICENSE file in the root directory of this source tree.
|
|
81
|
-
*/const
|
|
81
|
+
*/const tu=j("arrow-up-down",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]);/**
|
|
82
82
|
* @license lucide-react v0.575.0 - ISC
|
|
83
83
|
*
|
|
84
84
|
* This source code is licensed under the ISC license.
|
|
@@ -88,37 +88,37 @@
|
|
|
88
88
|
*
|
|
89
89
|
* This source code is licensed under the ISC license.
|
|
90
90
|
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
-
*/const
|
|
91
|
+
*/const nu=j("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
|
|
92
92
|
* @license lucide-react v0.575.0 - ISC
|
|
93
93
|
*
|
|
94
94
|
* This source code is licensed under the ISC license.
|
|
95
95
|
* See the LICENSE file in the root directory of this source tree.
|
|
96
|
-
*/const
|
|
96
|
+
*/const ou=j("at-sign",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]]);/**
|
|
97
97
|
* @license lucide-react v0.575.0 - ISC
|
|
98
98
|
*
|
|
99
99
|
* This source code is licensed under the ISC license.
|
|
100
100
|
* See the LICENSE file in the root directory of this source tree.
|
|
101
|
-
*/const
|
|
101
|
+
*/const ru=j("award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
|
|
102
102
|
* @license lucide-react v0.575.0 - ISC
|
|
103
103
|
*
|
|
104
104
|
* This source code is licensed under the ISC license.
|
|
105
105
|
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
-
*/const
|
|
106
|
+
*/const iu=j("ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]]);/**
|
|
107
107
|
* @license lucide-react v0.575.0 - ISC
|
|
108
108
|
*
|
|
109
109
|
* This source code is licensed under the ISC license.
|
|
110
110
|
* See the LICENSE file in the root directory of this source tree.
|
|
111
|
-
*/const
|
|
111
|
+
*/const au=j("battery",[["path",{d:"M 22 14 L 22 10",key:"nqc4tb"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]]);/**
|
|
112
112
|
* @license lucide-react v0.575.0 - ISC
|
|
113
113
|
*
|
|
114
114
|
* This source code is licensed under the ISC license.
|
|
115
115
|
* See the LICENSE file in the root directory of this source tree.
|
|
116
|
-
*/const
|
|
116
|
+
*/const lu=j("bell-ring",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6",key:"5bb3ad"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8",key:"tap9e0"}]]);/**
|
|
117
117
|
* @license lucide-react v0.575.0 - ISC
|
|
118
118
|
*
|
|
119
119
|
* This source code is licensed under the ISC license.
|
|
120
120
|
* See the LICENSE file in the root directory of this source tree.
|
|
121
|
-
*/const
|
|
121
|
+
*/const su=j("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);/**
|
|
122
122
|
* @license lucide-react v0.575.0 - ISC
|
|
123
123
|
*
|
|
124
124
|
* This source code is licensed under the ISC license.
|
|
@@ -128,62 +128,62 @@
|
|
|
128
128
|
*
|
|
129
129
|
* This source code is licensed under the ISC license.
|
|
130
130
|
* See the LICENSE file in the root directory of this source tree.
|
|
131
|
-
*/const
|
|
131
|
+
*/const cu=j("bookmark",[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]]);/**
|
|
132
132
|
* @license lucide-react v0.575.0 - ISC
|
|
133
133
|
*
|
|
134
134
|
* This source code is licensed under the ISC license.
|
|
135
135
|
* See the LICENSE file in the root directory of this source tree.
|
|
136
|
-
*/const
|
|
136
|
+
*/const du=j("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/**
|
|
137
137
|
* @license lucide-react v0.575.0 - ISC
|
|
138
138
|
*
|
|
139
139
|
* This source code is licensed under the ISC license.
|
|
140
140
|
* See the LICENSE file in the root directory of this source tree.
|
|
141
|
-
*/const
|
|
141
|
+
*/const uu=j("boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);/**
|
|
142
142
|
* @license lucide-react v0.575.0 - ISC
|
|
143
143
|
*
|
|
144
144
|
* This source code is licensed under the ISC license.
|
|
145
145
|
* See the LICENSE file in the root directory of this source tree.
|
|
146
|
-
*/const
|
|
146
|
+
*/const hu=j("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);/**
|
|
147
147
|
* @license lucide-react v0.575.0 - ISC
|
|
148
148
|
*
|
|
149
149
|
* This source code is licensed under the ISC license.
|
|
150
150
|
* See the LICENSE file in the root directory of this source tree.
|
|
151
|
-
*/const
|
|
151
|
+
*/const pu=j("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"}]]);/**
|
|
152
152
|
* @license lucide-react v0.575.0 - ISC
|
|
153
153
|
*
|
|
154
154
|
* This source code is licensed under the ISC license.
|
|
155
155
|
* See the LICENSE file in the root directory of this source tree.
|
|
156
|
-
*/const
|
|
156
|
+
*/const mu=j("briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
|
|
157
157
|
* @license lucide-react v0.575.0 - ISC
|
|
158
158
|
*
|
|
159
159
|
* This source code is licensed under the ISC license.
|
|
160
160
|
* See the LICENSE file in the root directory of this source tree.
|
|
161
|
-
*/const
|
|
161
|
+
*/const fu=j("building-2",[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]]);/**
|
|
162
162
|
* @license lucide-react v0.575.0 - ISC
|
|
163
163
|
*
|
|
164
164
|
* This source code is licensed under the ISC license.
|
|
165
165
|
* See the LICENSE file in the root directory of this source tree.
|
|
166
|
-
*/const
|
|
166
|
+
*/const bu=j("building",[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]]);/**
|
|
167
167
|
* @license lucide-react v0.575.0 - ISC
|
|
168
168
|
*
|
|
169
169
|
* This source code is licensed under the ISC license.
|
|
170
170
|
* See the LICENSE file in the root directory of this source tree.
|
|
171
|
-
*/const
|
|
171
|
+
*/const gu=j("calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/**
|
|
172
172
|
* @license lucide-react v0.575.0 - ISC
|
|
173
173
|
*
|
|
174
174
|
* This source code is licensed under the ISC license.
|
|
175
175
|
* See the LICENSE file in the root directory of this source tree.
|
|
176
|
-
*/const
|
|
176
|
+
*/const _u=j("calendar-clock",[["path",{d:"M16 14v2.2l1.6 1",key:"fo4ql5"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]]);/**
|
|
177
177
|
* @license lucide-react v0.575.0 - ISC
|
|
178
178
|
*
|
|
179
179
|
* This source code is licensed under the ISC license.
|
|
180
180
|
* See the LICENSE file in the root directory of this source tree.
|
|
181
|
-
*/const
|
|
181
|
+
*/const vu=j("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
|
|
182
182
|
* @license lucide-react v0.575.0 - ISC
|
|
183
183
|
*
|
|
184
184
|
* This source code is licensed under the ISC license.
|
|
185
185
|
* See the LICENSE file in the root directory of this source tree.
|
|
186
|
-
*/const
|
|
186
|
+
*/const xu=j("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"}]]);/**
|
|
187
187
|
* @license lucide-react v0.575.0 - ISC
|
|
188
188
|
*
|
|
189
189
|
* This source code is licensed under the ISC license.
|
|
@@ -193,27 +193,27 @@
|
|
|
193
193
|
*
|
|
194
194
|
* This source code is licensed under the ISC license.
|
|
195
195
|
* See the LICENSE file in the root directory of this source tree.
|
|
196
|
-
*/const
|
|
196
|
+
*/const yu=j("chart-line",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]]);/**
|
|
197
197
|
* @license lucide-react v0.575.0 - ISC
|
|
198
198
|
*
|
|
199
199
|
* This source code is licensed under the ISC license.
|
|
200
200
|
* See the LICENSE file in the root directory of this source tree.
|
|
201
|
-
*/const
|
|
201
|
+
*/const wu=j("chart-no-axes-column-increasing",[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V9",key:"uvy0l4"}],["path",{d:"M19 21V3",key:"11j9sm"}]]);/**
|
|
202
202
|
* @license lucide-react v0.575.0 - ISC
|
|
203
203
|
*
|
|
204
204
|
* This source code is licensed under the ISC license.
|
|
205
205
|
* See the LICENSE file in the root directory of this source tree.
|
|
206
|
-
*/const
|
|
206
|
+
*/const ku=j("chart-pie",[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]]);/**
|
|
207
207
|
* @license lucide-react v0.575.0 - ISC
|
|
208
208
|
*
|
|
209
209
|
* This source code is licensed under the ISC license.
|
|
210
210
|
* See the LICENSE file in the root directory of this source tree.
|
|
211
|
-
*/const
|
|
211
|
+
*/const ju=j("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
212
212
|
* @license lucide-react v0.575.0 - ISC
|
|
213
213
|
*
|
|
214
214
|
* This source code is licensed under the ISC license.
|
|
215
215
|
* See the LICENSE file in the root directory of this source tree.
|
|
216
|
-
*/const
|
|
216
|
+
*/const Su=j("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
217
217
|
* @license lucide-react v0.575.0 - ISC
|
|
218
218
|
*
|
|
219
219
|
* This source code is licensed under the ISC license.
|
|
@@ -228,22 +228,22 @@
|
|
|
228
228
|
*
|
|
229
229
|
* This source code is licensed under the ISC license.
|
|
230
230
|
* See the LICENSE file in the root directory of this source tree.
|
|
231
|
-
*/const
|
|
231
|
+
*/const Cu=j("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
|
|
232
232
|
* @license lucide-react v0.575.0 - ISC
|
|
233
233
|
*
|
|
234
234
|
* This source code is licensed under the ISC license.
|
|
235
235
|
* See the LICENSE file in the root directory of this source tree.
|
|
236
|
-
*/const
|
|
236
|
+
*/const Nu=j("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);/**
|
|
237
237
|
* @license lucide-react v0.575.0 - ISC
|
|
238
238
|
*
|
|
239
239
|
* This source code is licensed under the ISC license.
|
|
240
240
|
* See the LICENSE file in the root directory of this source tree.
|
|
241
|
-
*/const
|
|
241
|
+
*/const Tu=j("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
|
242
242
|
* @license lucide-react v0.575.0 - ISC
|
|
243
243
|
*
|
|
244
244
|
* This source code is licensed under the ISC license.
|
|
245
245
|
* See the LICENSE file in the root directory of this source tree.
|
|
246
|
-
*/const
|
|
246
|
+
*/const Mu=j("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
|
|
247
247
|
* @license lucide-react v0.575.0 - ISC
|
|
248
248
|
*
|
|
249
249
|
* This source code is licensed under the ISC license.
|
|
@@ -253,87 +253,87 @@
|
|
|
253
253
|
*
|
|
254
254
|
* This source code is licensed under the ISC license.
|
|
255
255
|
* See the LICENSE file in the root directory of this source tree.
|
|
256
|
-
*/const
|
|
256
|
+
*/const Au=j("circle-user",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);/**
|
|
257
257
|
* @license lucide-react v0.575.0 - ISC
|
|
258
258
|
*
|
|
259
259
|
* This source code is licensed under the ISC license.
|
|
260
260
|
* See the LICENSE file in the root directory of this source tree.
|
|
261
|
-
*/const
|
|
261
|
+
*/const Pu=j("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
|
|
262
262
|
* @license lucide-react v0.575.0 - ISC
|
|
263
263
|
*
|
|
264
264
|
* This source code is licensed under the ISC license.
|
|
265
265
|
* See the LICENSE file in the root directory of this source tree.
|
|
266
|
-
*/const
|
|
266
|
+
*/const Eu=j("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
|
|
267
267
|
* @license lucide-react v0.575.0 - ISC
|
|
268
268
|
*
|
|
269
269
|
* This source code is licensed under the ISC license.
|
|
270
270
|
* See the LICENSE file in the root directory of this source tree.
|
|
271
|
-
*/const
|
|
271
|
+
*/const $u=j("clipboard-check",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);/**
|
|
272
272
|
* @license lucide-react v0.575.0 - ISC
|
|
273
273
|
*
|
|
274
274
|
* This source code is licensed under the ISC license.
|
|
275
275
|
* See the LICENSE file in the root directory of this source tree.
|
|
276
|
-
*/const
|
|
276
|
+
*/const Ru=j("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]);/**
|
|
277
277
|
* @license lucide-react v0.575.0 - ISC
|
|
278
278
|
*
|
|
279
279
|
* This source code is licensed under the ISC license.
|
|
280
280
|
* See the LICENSE file in the root directory of this source tree.
|
|
281
|
-
*/const
|
|
281
|
+
*/const Ou=j("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);/**
|
|
282
282
|
* @license lucide-react v0.575.0 - ISC
|
|
283
283
|
*
|
|
284
284
|
* This source code is licensed under the ISC license.
|
|
285
285
|
* See the LICENSE file in the root directory of this source tree.
|
|
286
|
-
*/const
|
|
286
|
+
*/const Lu=j("cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);/**
|
|
287
287
|
* @license lucide-react v0.575.0 - ISC
|
|
288
288
|
*
|
|
289
289
|
* This source code is licensed under the ISC license.
|
|
290
290
|
* See the LICENSE file in the root directory of this source tree.
|
|
291
|
-
*/const
|
|
291
|
+
*/const zu=j("code",[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]]);/**
|
|
292
292
|
* @license lucide-react v0.575.0 - ISC
|
|
293
293
|
*
|
|
294
294
|
* This source code is licensed under the ISC license.
|
|
295
295
|
* See the LICENSE file in the root directory of this source tree.
|
|
296
|
-
*/const
|
|
296
|
+
*/const Iu=j("coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);/**
|
|
297
297
|
* @license lucide-react v0.575.0 - ISC
|
|
298
298
|
*
|
|
299
299
|
* This source code is licensed under the ISC license.
|
|
300
300
|
* See the LICENSE file in the root directory of this source tree.
|
|
301
|
-
*/const
|
|
301
|
+
*/const Du=j("columns-3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);/**
|
|
302
302
|
* @license lucide-react v0.575.0 - ISC
|
|
303
303
|
*
|
|
304
304
|
* This source code is licensed under the ISC license.
|
|
305
305
|
* See the LICENSE file in the root directory of this source tree.
|
|
306
|
-
*/const
|
|
306
|
+
*/const Fu=j("compass",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}]]);/**
|
|
307
307
|
* @license lucide-react v0.575.0 - ISC
|
|
308
308
|
*
|
|
309
309
|
* This source code is licensed under the ISC license.
|
|
310
310
|
* See the LICENSE file in the root directory of this source tree.
|
|
311
|
-
*/const
|
|
311
|
+
*/const Hu=j("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"}]]);/**
|
|
312
312
|
* @license lucide-react v0.575.0 - ISC
|
|
313
313
|
*
|
|
314
314
|
* This source code is licensed under the ISC license.
|
|
315
315
|
* See the LICENSE file in the root directory of this source tree.
|
|
316
|
-
*/const
|
|
316
|
+
*/const Bu=j("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/**
|
|
317
317
|
* @license lucide-react v0.575.0 - ISC
|
|
318
318
|
*
|
|
319
319
|
* This source code is licensed under the ISC license.
|
|
320
320
|
* See the LICENSE file in the root directory of this source tree.
|
|
321
|
-
*/const
|
|
321
|
+
*/const Uu=j("crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]]);/**
|
|
322
322
|
* @license lucide-react v0.575.0 - ISC
|
|
323
323
|
*
|
|
324
324
|
* This source code is licensed under the ISC license.
|
|
325
325
|
* See the LICENSE file in the root directory of this source tree.
|
|
326
|
-
*/const
|
|
326
|
+
*/const qu=j("crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/**
|
|
327
327
|
* @license lucide-react v0.575.0 - ISC
|
|
328
328
|
*
|
|
329
329
|
* This source code is licensed under the ISC license.
|
|
330
330
|
* See the LICENSE file in the root directory of this source tree.
|
|
331
|
-
*/const
|
|
331
|
+
*/const Wu=j("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"}]]);/**
|
|
332
332
|
* @license lucide-react v0.575.0 - ISC
|
|
333
333
|
*
|
|
334
334
|
* This source code is licensed under the ISC license.
|
|
335
335
|
* See the LICENSE file in the root directory of this source tree.
|
|
336
|
-
*/const
|
|
336
|
+
*/const Vu=j("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
|
|
337
337
|
* @license lucide-react v0.575.0 - ISC
|
|
338
338
|
*
|
|
339
339
|
* This source code is licensed under the ISC license.
|
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
*
|
|
344
344
|
* This source code is licensed under the ISC license.
|
|
345
345
|
* See the LICENSE file in the root directory of this source tree.
|
|
346
|
-
*/const
|
|
346
|
+
*/const Gu=j("ellipsis-vertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/**
|
|
347
347
|
* @license lucide-react v0.575.0 - ISC
|
|
348
348
|
*
|
|
349
349
|
* This source code is licensed under the ISC license.
|
|
@@ -353,37 +353,37 @@
|
|
|
353
353
|
*
|
|
354
354
|
* This source code is licensed under the ISC license.
|
|
355
355
|
* See the LICENSE file in the root directory of this source tree.
|
|
356
|
-
*/const
|
|
356
|
+
*/const Ku=j("equal",[["line",{x1:"5",x2:"19",y1:"9",y2:"9",key:"1nwqeh"}],["line",{x1:"5",x2:"19",y1:"15",y2:"15",key:"g8yjpy"}]]);/**
|
|
357
357
|
* @license lucide-react v0.575.0 - ISC
|
|
358
358
|
*
|
|
359
359
|
* This source code is licensed under the ISC license.
|
|
360
360
|
* See the LICENSE file in the root directory of this source tree.
|
|
361
|
-
*/const
|
|
361
|
+
*/const Xu=j("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"}]]);/**
|
|
362
362
|
* @license lucide-react v0.575.0 - ISC
|
|
363
363
|
*
|
|
364
364
|
* This source code is licensed under the ISC license.
|
|
365
365
|
* See the LICENSE file in the root directory of this source tree.
|
|
366
|
-
*/const
|
|
366
|
+
*/const Yu=j("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"}]]);/**
|
|
367
367
|
* @license lucide-react v0.575.0 - ISC
|
|
368
368
|
*
|
|
369
369
|
* This source code is licensed under the ISC license.
|
|
370
370
|
* See the LICENSE file in the root directory of this source tree.
|
|
371
|
-
*/const
|
|
371
|
+
*/const Ju=j("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"}]]);/**
|
|
372
372
|
* @license lucide-react v0.575.0 - ISC
|
|
373
373
|
*
|
|
374
374
|
* This source code is licensed under the ISC license.
|
|
375
375
|
* See the LICENSE file in the root directory of this source tree.
|
|
376
|
-
*/const
|
|
376
|
+
*/const Zu=j("file-braces",[["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 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]]);/**
|
|
377
377
|
* @license lucide-react v0.575.0 - ISC
|
|
378
378
|
*
|
|
379
379
|
* This source code is licensed under the ISC license.
|
|
380
380
|
* See the LICENSE file in the root directory of this source tree.
|
|
381
|
-
*/const
|
|
381
|
+
*/const Qu=j("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"}]]);/**
|
|
382
382
|
* @license lucide-react v0.575.0 - ISC
|
|
383
383
|
*
|
|
384
384
|
* This source code is licensed under the ISC license.
|
|
385
385
|
* See the LICENSE file in the root directory of this source tree.
|
|
386
|
-
*/const
|
|
386
|
+
*/const eh=j("file-headphone",[["path",{d:"M4 6.835V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-.343",key:"1vfytu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M2 19a2 2 0 0 1 4 0v1a2 2 0 0 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 0 1-4 0v-1a2 2 0 0 1 4 0",key:"1etmh7"}]]);/**
|
|
387
387
|
* @license lucide-react v0.575.0 - ISC
|
|
388
388
|
*
|
|
389
389
|
* This source code is licensed under the ISC license.
|
|
@@ -398,7 +398,7 @@
|
|
|
398
398
|
*
|
|
399
399
|
* This source code is licensed under the ISC license.
|
|
400
400
|
* See the LICENSE file in the root directory of this source tree.
|
|
401
|
-
*/const
|
|
401
|
+
*/const th=j("file-spreadsheet",[["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:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]]);/**
|
|
402
402
|
* @license lucide-react v0.575.0 - ISC
|
|
403
403
|
*
|
|
404
404
|
* This source code is licensed under the ISC license.
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
*
|
|
409
409
|
* This source code is licensed under the ISC license.
|
|
410
410
|
* See the LICENSE file in the root directory of this source tree.
|
|
411
|
-
*/const
|
|
411
|
+
*/const nh=j("file-type",[["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:"M11 18h2",key:"12mj7e"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M9 13v-.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v.5",key:"qbrxap"}]]);/**
|
|
412
412
|
* @license lucide-react v0.575.0 - ISC
|
|
413
413
|
*
|
|
414
414
|
* This source code is licensed under the ISC license.
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
*
|
|
419
419
|
* This source code is licensed under the ISC license.
|
|
420
420
|
* See the LICENSE file in the root directory of this source tree.
|
|
421
|
-
*/const
|
|
421
|
+
*/const oh=j("fingerprint-pattern",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]]);/**
|
|
422
422
|
* @license lucide-react v0.575.0 - ISC
|
|
423
423
|
*
|
|
424
424
|
* This source code is licensed under the ISC license.
|
|
@@ -428,12 +428,12 @@
|
|
|
428
428
|
*
|
|
429
429
|
* This source code is licensed under the ISC license.
|
|
430
430
|
* See the LICENSE file in the root directory of this source tree.
|
|
431
|
-
*/const
|
|
431
|
+
*/const rh=j("folder-kanban",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]]);/**
|
|
432
432
|
* @license lucide-react v0.575.0 - ISC
|
|
433
433
|
*
|
|
434
434
|
* This source code is licensed under the ISC license.
|
|
435
435
|
* See the LICENSE file in the root directory of this source tree.
|
|
436
|
-
*/const
|
|
436
|
+
*/const ih=j("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);/**
|
|
437
437
|
* @license lucide-react v0.575.0 - ISC
|
|
438
438
|
*
|
|
439
439
|
* This source code is licensed under the ISC license.
|
|
@@ -443,42 +443,42 @@
|
|
|
443
443
|
*
|
|
444
444
|
* This source code is licensed under the ISC license.
|
|
445
445
|
* See the LICENSE file in the root directory of this source tree.
|
|
446
|
-
*/const
|
|
446
|
+
*/const ah=j("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"}]]);/**
|
|
447
447
|
* @license lucide-react v0.575.0 - ISC
|
|
448
448
|
*
|
|
449
449
|
* This source code is licensed under the ISC license.
|
|
450
450
|
* See the LICENSE file in the root directory of this source tree.
|
|
451
|
-
*/const
|
|
451
|
+
*/const lh=j("gamepad-2",[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]]);/**
|
|
452
452
|
* @license lucide-react v0.575.0 - ISC
|
|
453
453
|
*
|
|
454
454
|
* This source code is licensed under the ISC license.
|
|
455
455
|
* See the LICENSE file in the root directory of this source tree.
|
|
456
|
-
*/const
|
|
456
|
+
*/const sh=j("gift",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8",key:"1sqzm4"}],["path",{d:"M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5",key:"kc0143"}],["rect",{x:"3",y:"7",width:"18",height:"4",rx:"1",key:"1hberx"}]]);/**
|
|
457
457
|
* @license lucide-react v0.575.0 - ISC
|
|
458
458
|
*
|
|
459
459
|
* This source code is licensed under the ISC license.
|
|
460
460
|
* See the LICENSE file in the root directory of this source tree.
|
|
461
|
-
*/const
|
|
461
|
+
*/const ch=j("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"}]]);/**
|
|
462
462
|
* @license lucide-react v0.575.0 - ISC
|
|
463
463
|
*
|
|
464
464
|
* This source code is licensed under the ISC license.
|
|
465
465
|
* See the LICENSE file in the root directory of this source tree.
|
|
466
|
-
*/const
|
|
466
|
+
*/const dh=j("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"}]]);/**
|
|
467
467
|
* @license lucide-react v0.575.0 - ISC
|
|
468
468
|
*
|
|
469
469
|
* This source code is licensed under the ISC license.
|
|
470
470
|
* See the LICENSE file in the root directory of this source tree.
|
|
471
|
-
*/const
|
|
471
|
+
*/const uh=j("grid-3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);/**
|
|
472
472
|
* @license lucide-react v0.575.0 - ISC
|
|
473
473
|
*
|
|
474
474
|
* This source code is licensed under the ISC license.
|
|
475
475
|
* See the LICENSE file in the root directory of this source tree.
|
|
476
|
-
*/const
|
|
476
|
+
*/const hh=j("hammer",[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]]);/**
|
|
477
477
|
* @license lucide-react v0.575.0 - ISC
|
|
478
478
|
*
|
|
479
479
|
* This source code is licensed under the ISC license.
|
|
480
480
|
* See the LICENSE file in the root directory of this source tree.
|
|
481
|
-
*/const
|
|
481
|
+
*/const ph=j("handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/**
|
|
482
482
|
* @license lucide-react v0.575.0 - ISC
|
|
483
483
|
*
|
|
484
484
|
* This source code is licensed under the ISC license.
|
|
@@ -488,32 +488,32 @@
|
|
|
488
488
|
*
|
|
489
489
|
* This source code is licensed under the ISC license.
|
|
490
490
|
* See the LICENSE file in the root directory of this source tree.
|
|
491
|
-
*/const
|
|
491
|
+
*/const mh=j("heading-1",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]]);/**
|
|
492
492
|
* @license lucide-react v0.575.0 - ISC
|
|
493
493
|
*
|
|
494
494
|
* This source code is licensed under the ISC license.
|
|
495
495
|
* See the LICENSE file in the root directory of this source tree.
|
|
496
|
-
*/const
|
|
496
|
+
*/const fh=j("heading-2",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]]);/**
|
|
497
497
|
* @license lucide-react v0.575.0 - ISC
|
|
498
498
|
*
|
|
499
499
|
* This source code is licensed under the ISC license.
|
|
500
500
|
* See the LICENSE file in the root directory of this source tree.
|
|
501
|
-
*/const
|
|
501
|
+
*/const bh=j("heading-3",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]]);/**
|
|
502
502
|
* @license lucide-react v0.575.0 - ISC
|
|
503
503
|
*
|
|
504
504
|
* This source code is licensed under the ISC license.
|
|
505
505
|
* See the LICENSE file in the root directory of this source tree.
|
|
506
|
-
*/const
|
|
506
|
+
*/const gh=j("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"}]]);/**
|
|
507
507
|
* @license lucide-react v0.575.0 - ISC
|
|
508
508
|
*
|
|
509
509
|
* This source code is licensed under the ISC license.
|
|
510
510
|
* See the LICENSE file in the root directory of this source tree.
|
|
511
|
-
*/const
|
|
511
|
+
*/const _h=j("hexagon",[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}]]);/**
|
|
512
512
|
* @license lucide-react v0.575.0 - ISC
|
|
513
513
|
*
|
|
514
514
|
* This source code is licensed under the ISC license.
|
|
515
515
|
* See the LICENSE file in the root directory of this source tree.
|
|
516
|
-
*/const
|
|
516
|
+
*/const vh=j("history",[["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"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
|
|
517
517
|
* @license lucide-react v0.575.0 - ISC
|
|
518
518
|
*
|
|
519
519
|
* This source code is licensed under the ISC license.
|
|
@@ -523,92 +523,92 @@
|
|
|
523
523
|
*
|
|
524
524
|
* This source code is licensed under the ISC license.
|
|
525
525
|
* See the LICENSE file in the root directory of this source tree.
|
|
526
|
-
*/const
|
|
526
|
+
*/const xh=j("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"}]]);/**
|
|
527
527
|
* @license lucide-react v0.575.0 - ISC
|
|
528
528
|
*
|
|
529
529
|
* This source code is licensed under the ISC license.
|
|
530
530
|
* See the LICENSE file in the root directory of this source tree.
|
|
531
|
-
*/const
|
|
531
|
+
*/const yh=j("inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);/**
|
|
532
532
|
* @license lucide-react v0.575.0 - ISC
|
|
533
533
|
*
|
|
534
534
|
* This source code is licensed under the ISC license.
|
|
535
535
|
* See the LICENSE file in the root directory of this source tree.
|
|
536
|
-
*/const
|
|
536
|
+
*/const wh=j("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
537
537
|
* @license lucide-react v0.575.0 - ISC
|
|
538
538
|
*
|
|
539
539
|
* This source code is licensed under the ISC license.
|
|
540
540
|
* See the LICENSE file in the root directory of this source tree.
|
|
541
|
-
*/const
|
|
541
|
+
*/const kh=j("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"}]]);/**
|
|
542
542
|
* @license lucide-react v0.575.0 - ISC
|
|
543
543
|
*
|
|
544
544
|
* This source code is licensed under the ISC license.
|
|
545
545
|
* See the LICENSE file in the root directory of this source tree.
|
|
546
|
-
*/const
|
|
546
|
+
*/const jh=j("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"}]]);/**
|
|
547
547
|
* @license lucide-react v0.575.0 - ISC
|
|
548
548
|
*
|
|
549
549
|
* This source code is licensed under the ISC license.
|
|
550
550
|
* See the LICENSE file in the root directory of this source tree.
|
|
551
|
-
*/const
|
|
551
|
+
*/const Sh=j("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
|
|
552
552
|
* @license lucide-react v0.575.0 - ISC
|
|
553
553
|
*
|
|
554
554
|
* This source code is licensed under the ISC license.
|
|
555
555
|
* See the LICENSE file in the root directory of this source tree.
|
|
556
|
-
*/const
|
|
556
|
+
*/const Ch=j("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
|
|
557
557
|
* @license lucide-react v0.575.0 - ISC
|
|
558
558
|
*
|
|
559
559
|
* This source code is licensed under the ISC license.
|
|
560
560
|
* See the LICENSE file in the root directory of this source tree.
|
|
561
|
-
*/const
|
|
561
|
+
*/const Nh=j("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/**
|
|
562
562
|
* @license lucide-react v0.575.0 - ISC
|
|
563
563
|
*
|
|
564
564
|
* This source code is licensed under the ISC license.
|
|
565
565
|
* See the LICENSE file in the root directory of this source tree.
|
|
566
|
-
*/const
|
|
566
|
+
*/const Th=j("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);/**
|
|
567
567
|
* @license lucide-react v0.575.0 - ISC
|
|
568
568
|
*
|
|
569
569
|
* This source code is licensed under the ISC license.
|
|
570
570
|
* See the LICENSE file in the root directory of this source tree.
|
|
571
|
-
*/const
|
|
571
|
+
*/const Mh=j("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]);/**
|
|
572
572
|
* @license lucide-react v0.575.0 - ISC
|
|
573
573
|
*
|
|
574
574
|
* This source code is licensed under the ISC license.
|
|
575
575
|
* See the LICENSE file in the root directory of this source tree.
|
|
576
|
-
*/const
|
|
576
|
+
*/const Ah=j("list-filter",[["path",{d:"M2 5h20",key:"1fs1ex"}],["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M9 19h6",key:"456am0"}]]);/**
|
|
577
577
|
* @license lucide-react v0.575.0 - ISC
|
|
578
578
|
*
|
|
579
579
|
* This source code is licensed under the ISC license.
|
|
580
580
|
* See the LICENSE file in the root directory of this source tree.
|
|
581
|
-
*/const
|
|
581
|
+
*/const Ph=j("list-ordered",[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]]);/**
|
|
582
582
|
* @license lucide-react v0.575.0 - ISC
|
|
583
583
|
*
|
|
584
584
|
* This source code is licensed under the ISC license.
|
|
585
585
|
* See the LICENSE file in the root directory of this source tree.
|
|
586
|
-
*/const
|
|
586
|
+
*/const Eh=j("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);/**
|
|
587
587
|
* @license lucide-react v0.575.0 - ISC
|
|
588
588
|
*
|
|
589
589
|
* This source code is licensed under the ISC license.
|
|
590
590
|
* See the LICENSE file in the root directory of this source tree.
|
|
591
|
-
*/const
|
|
591
|
+
*/const $h=j("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
592
592
|
* @license lucide-react v0.575.0 - ISC
|
|
593
593
|
*
|
|
594
594
|
* This source code is licensed under the ISC license.
|
|
595
595
|
* See the LICENSE file in the root directory of this source tree.
|
|
596
|
-
*/const
|
|
596
|
+
*/const Rh=j("lock-open",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]);/**
|
|
597
597
|
* @license lucide-react v0.575.0 - ISC
|
|
598
598
|
*
|
|
599
599
|
* This source code is licensed under the ISC license.
|
|
600
600
|
* See the LICENSE file in the root directory of this source tree.
|
|
601
|
-
*/const
|
|
601
|
+
*/const Oh=j("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
|
|
602
602
|
* @license lucide-react v0.575.0 - ISC
|
|
603
603
|
*
|
|
604
604
|
* This source code is licensed under the ISC license.
|
|
605
605
|
* See the LICENSE file in the root directory of this source tree.
|
|
606
|
-
*/const
|
|
606
|
+
*/const Lh=j("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"}]]);/**
|
|
607
607
|
* @license lucide-react v0.575.0 - ISC
|
|
608
608
|
*
|
|
609
609
|
* This source code is licensed under the ISC license.
|
|
610
610
|
* See the LICENSE file in the root directory of this source tree.
|
|
611
|
-
*/const
|
|
611
|
+
*/const zh=j("mails",[["path",{d:"M17 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 1-1.732",key:"1vyzll"}],["path",{d:"m22 5.5-6.419 4.179a2 2 0 0 1-2.162 0L7 5.5",key:"k7ramc"}],["rect",{x:"7",y:"3",width:"15",height:"12",rx:"2",key:"17196g"}]]);/**
|
|
612
612
|
* @license lucide-react v0.575.0 - ISC
|
|
613
613
|
*
|
|
614
614
|
* This source code is licensed under the ISC license.
|
|
@@ -618,22 +618,22 @@
|
|
|
618
618
|
*
|
|
619
619
|
* This source code is licensed under the ISC license.
|
|
620
620
|
* See the LICENSE file in the root directory of this source tree.
|
|
621
|
-
*/const
|
|
621
|
+
*/const Ih=j("map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]);/**
|
|
622
622
|
* @license lucide-react v0.575.0 - ISC
|
|
623
623
|
*
|
|
624
624
|
* This source code is licensed under the ISC license.
|
|
625
625
|
* See the LICENSE file in the root directory of this source tree.
|
|
626
|
-
*/const
|
|
626
|
+
*/const Dh=j("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"}]]);/**
|
|
627
627
|
* @license lucide-react v0.575.0 - ISC
|
|
628
628
|
*
|
|
629
629
|
* This source code is licensed under the ISC license.
|
|
630
630
|
* See the LICENSE file in the root directory of this source tree.
|
|
631
|
-
*/const
|
|
631
|
+
*/const Fh=j("megaphone",[["path",{d:"M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z",key:"q8bfy3"}],["path",{d:"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14",key:"1853fq"}],["path",{d:"M8 6v8",key:"15ugcq"}]]);/**
|
|
632
632
|
* @license lucide-react v0.575.0 - ISC
|
|
633
633
|
*
|
|
634
634
|
* This source code is licensed under the ISC license.
|
|
635
635
|
* See the LICENSE file in the root directory of this source tree.
|
|
636
|
-
*/const
|
|
636
|
+
*/const Hh=j("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);/**
|
|
637
637
|
* @license lucide-react v0.575.0 - ISC
|
|
638
638
|
*
|
|
639
639
|
* This source code is licensed under the ISC license.
|
|
@@ -643,7 +643,7 @@
|
|
|
643
643
|
*
|
|
644
644
|
* This source code is licensed under the ISC license.
|
|
645
645
|
* See the LICENSE file in the root directory of this source tree.
|
|
646
|
-
*/const
|
|
646
|
+
*/const Bh=j("message-square-plus",[["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"}],["path",{d:"M12 8v6",key:"1ib9pf"}],["path",{d:"M9 11h6",key:"1fldmi"}]]);/**
|
|
647
647
|
* @license lucide-react v0.575.0 - ISC
|
|
648
648
|
*
|
|
649
649
|
* This source code is licensed under the ISC license.
|
|
@@ -653,32 +653,32 @@
|
|
|
653
653
|
*
|
|
654
654
|
* This source code is licensed under the ISC license.
|
|
655
655
|
* See the LICENSE file in the root directory of this source tree.
|
|
656
|
-
*/const
|
|
656
|
+
*/const Uh=j("minimize-2",[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]]);/**
|
|
657
657
|
* @license lucide-react v0.575.0 - ISC
|
|
658
658
|
*
|
|
659
659
|
* This source code is licensed under the ISC license.
|
|
660
660
|
* See the LICENSE file in the root directory of this source tree.
|
|
661
|
-
*/const
|
|
661
|
+
*/const qh=j("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
|
|
662
662
|
* @license lucide-react v0.575.0 - ISC
|
|
663
663
|
*
|
|
664
664
|
* This source code is licensed under the ISC license.
|
|
665
665
|
* See the LICENSE file in the root directory of this source tree.
|
|
666
|
-
*/const
|
|
666
|
+
*/const Wh=j("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"}]]);/**
|
|
667
667
|
* @license lucide-react v0.575.0 - ISC
|
|
668
668
|
*
|
|
669
669
|
* This source code is licensed under the ISC license.
|
|
670
670
|
* See the LICENSE file in the root directory of this source tree.
|
|
671
|
-
*/const
|
|
671
|
+
*/const Vh=j("music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/**
|
|
672
672
|
* @license lucide-react v0.575.0 - ISC
|
|
673
673
|
*
|
|
674
674
|
* This source code is licensed under the ISC license.
|
|
675
675
|
* See the LICENSE file in the root directory of this source tree.
|
|
676
|
-
*/const
|
|
676
|
+
*/const Gh=j("navigation",[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]]);/**
|
|
677
677
|
* @license lucide-react v0.575.0 - ISC
|
|
678
678
|
*
|
|
679
679
|
* This source code is licensed under the ISC license.
|
|
680
680
|
* See the LICENSE file in the root directory of this source tree.
|
|
681
|
-
*/const
|
|
681
|
+
*/const Kh=j("octagon",[["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}]]);/**
|
|
682
682
|
* @license lucide-react v0.575.0 - ISC
|
|
683
683
|
*
|
|
684
684
|
* This source code is licensed under the ISC license.
|
|
@@ -688,7 +688,7 @@
|
|
|
688
688
|
*
|
|
689
689
|
* This source code is licensed under the ISC license.
|
|
690
690
|
* See the LICENSE file in the root directory of this source tree.
|
|
691
|
-
*/const
|
|
691
|
+
*/const Xh=j("panels-top-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);/**
|
|
692
692
|
* @license lucide-react v0.575.0 - ISC
|
|
693
693
|
*
|
|
694
694
|
* This source code is licensed under the ISC license.
|
|
@@ -698,32 +698,32 @@
|
|
|
698
698
|
*
|
|
699
699
|
* This source code is licensed under the ISC license.
|
|
700
700
|
* See the LICENSE file in the root directory of this source tree.
|
|
701
|
-
*/const
|
|
701
|
+
*/const Yh=j("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]);/**
|
|
702
702
|
* @license lucide-react v0.575.0 - ISC
|
|
703
703
|
*
|
|
704
704
|
* This source code is licensed under the ISC license.
|
|
705
705
|
* See the LICENSE file in the root directory of this source tree.
|
|
706
|
-
*/const
|
|
706
|
+
*/const Jh=j("pen-tool",[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]]);/**
|
|
707
707
|
* @license lucide-react v0.575.0 - ISC
|
|
708
708
|
*
|
|
709
709
|
* This source code is licensed under the ISC license.
|
|
710
710
|
* See the LICENSE file in the root directory of this source tree.
|
|
711
|
-
*/const
|
|
711
|
+
*/const Zh=j("percent",[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]]);/**
|
|
712
712
|
* @license lucide-react v0.575.0 - ISC
|
|
713
713
|
*
|
|
714
714
|
* This source code is licensed under the ISC license.
|
|
715
715
|
* See the LICENSE file in the root directory of this source tree.
|
|
716
|
-
*/const
|
|
716
|
+
*/const Qh=j("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);/**
|
|
717
717
|
* @license lucide-react v0.575.0 - ISC
|
|
718
718
|
*
|
|
719
719
|
* This source code is licensed under the ISC license.
|
|
720
720
|
* See the LICENSE file in the root directory of this source tree.
|
|
721
|
-
*/const
|
|
721
|
+
*/const ep=j("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"}]]);/**
|
|
722
722
|
* @license lucide-react v0.575.0 - ISC
|
|
723
723
|
*
|
|
724
724
|
* This source code is licensed under the ISC license.
|
|
725
725
|
* See the LICENSE file in the root directory of this source tree.
|
|
726
|
-
*/const
|
|
726
|
+
*/const tp=j("plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]]);/**
|
|
727
727
|
* @license lucide-react v0.575.0 - ISC
|
|
728
728
|
*
|
|
729
729
|
* This source code is licensed under the ISC license.
|
|
@@ -733,67 +733,67 @@
|
|
|
733
733
|
*
|
|
734
734
|
* This source code is licensed under the ISC license.
|
|
735
735
|
* See the LICENSE file in the root directory of this source tree.
|
|
736
|
-
*/const
|
|
736
|
+
*/const np=j("power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]);/**
|
|
737
737
|
* @license lucide-react v0.575.0 - ISC
|
|
738
738
|
*
|
|
739
739
|
* This source code is licensed under the ISC license.
|
|
740
740
|
* See the LICENSE file in the root directory of this source tree.
|
|
741
|
-
*/const
|
|
741
|
+
*/const op=j("printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);/**
|
|
742
742
|
* @license lucide-react v0.575.0 - ISC
|
|
743
743
|
*
|
|
744
744
|
* This source code is licensed under the ISC license.
|
|
745
745
|
* See the LICENSE file in the root directory of this source tree.
|
|
746
|
-
*/const
|
|
746
|
+
*/const rp=j("qr-code",[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]]);/**
|
|
747
747
|
* @license lucide-react v0.575.0 - ISC
|
|
748
748
|
*
|
|
749
749
|
* This source code is licensed under the ISC license.
|
|
750
750
|
* See the LICENSE file in the root directory of this source tree.
|
|
751
|
-
*/const
|
|
751
|
+
*/const ip=j("quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);/**
|
|
752
752
|
* @license lucide-react v0.575.0 - ISC
|
|
753
753
|
*
|
|
754
754
|
* This source code is licensed under the ISC license.
|
|
755
755
|
* See the LICENSE file in the root directory of this source tree.
|
|
756
|
-
*/const
|
|
756
|
+
*/const ap=j("receipt",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 17.5v-11",key:"1jc1ny"}]]);/**
|
|
757
757
|
* @license lucide-react v0.575.0 - ISC
|
|
758
758
|
*
|
|
759
759
|
* This source code is licensed under the ISC license.
|
|
760
760
|
* See the LICENSE file in the root directory of this source tree.
|
|
761
|
-
*/const
|
|
761
|
+
*/const lp=j("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"}]]);/**
|
|
762
762
|
* @license lucide-react v0.575.0 - ISC
|
|
763
763
|
*
|
|
764
764
|
* This source code is licensed under the ISC license.
|
|
765
765
|
* See the LICENSE file in the root directory of this source tree.
|
|
766
|
-
*/const
|
|
766
|
+
*/const sp=j("regex",[["path",{d:"M17 3v10",key:"15fgeh"}],["path",{d:"m12.67 5.5 8.66 5",key:"1gpheq"}],["path",{d:"m12.67 10.5 8.66-5",key:"1dkfa6"}],["path",{d:"M9 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2z",key:"swwfx4"}]]);/**
|
|
767
767
|
* @license lucide-react v0.575.0 - ISC
|
|
768
768
|
*
|
|
769
769
|
* This source code is licensed under the ISC license.
|
|
770
770
|
* See the LICENSE file in the root directory of this source tree.
|
|
771
|
-
*/const
|
|
771
|
+
*/const cp=j("repeat",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]);/**
|
|
772
772
|
* @license lucide-react v0.575.0 - ISC
|
|
773
773
|
*
|
|
774
774
|
* This source code is licensed under the ISC license.
|
|
775
775
|
* See the LICENSE file in the root directory of this source tree.
|
|
776
|
-
*/const
|
|
776
|
+
*/const dp=j("replace",[["path",{d:"M14 4a1 1 0 0 1 1-1",key:"dhj8ez"}],["path",{d:"M15 10a1 1 0 0 1-1-1",key:"1mnyi5"}],["path",{d:"M21 4a1 1 0 0 0-1-1",key:"sfs9ap"}],["path",{d:"M21 9a1 1 0 0 1-1 1",key:"mp6qeo"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a2 2 0 0 1 2-2h2",key:"15xut4"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}]]);/**
|
|
777
777
|
* @license lucide-react v0.575.0 - ISC
|
|
778
778
|
*
|
|
779
779
|
* This source code is licensed under the ISC license.
|
|
780
780
|
* See the LICENSE file in the root directory of this source tree.
|
|
781
|
-
*/const
|
|
781
|
+
*/const up=j("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"}]]);/**
|
|
782
782
|
* @license lucide-react v0.575.0 - ISC
|
|
783
783
|
*
|
|
784
784
|
* This source code is licensed under the ISC license.
|
|
785
785
|
* See the LICENSE file in the root directory of this source tree.
|
|
786
|
-
*/const
|
|
786
|
+
*/const hp=j("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"}]]);/**
|
|
787
787
|
* @license lucide-react v0.575.0 - ISC
|
|
788
788
|
*
|
|
789
789
|
* This source code is licensed under the ISC license.
|
|
790
790
|
* See the LICENSE file in the root directory of this source tree.
|
|
791
|
-
*/const
|
|
791
|
+
*/const pp=j("scan",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]]);/**
|
|
792
792
|
* @license lucide-react v0.575.0 - ISC
|
|
793
793
|
*
|
|
794
794
|
* This source code is licensed under the ISC license.
|
|
795
795
|
* See the LICENSE file in the root directory of this source tree.
|
|
796
|
-
*/const
|
|
796
|
+
*/const mp=j("scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);/**
|
|
797
797
|
* @license lucide-react v0.575.0 - ISC
|
|
798
798
|
*
|
|
799
799
|
* This source code is licensed under the ISC license.
|
|
@@ -803,47 +803,47 @@
|
|
|
803
803
|
*
|
|
804
804
|
* This source code is licensed under the ISC license.
|
|
805
805
|
* See the LICENSE file in the root directory of this source tree.
|
|
806
|
-
*/const
|
|
806
|
+
*/const fp=j("send-horizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]]);/**
|
|
807
807
|
* @license lucide-react v0.575.0 - ISC
|
|
808
808
|
*
|
|
809
809
|
* This source code is licensed under the ISC license.
|
|
810
810
|
* See the LICENSE file in the root directory of this source tree.
|
|
811
|
-
*/const
|
|
811
|
+
*/const bp=j("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"}]]);/**
|
|
812
812
|
* @license lucide-react v0.575.0 - ISC
|
|
813
813
|
*
|
|
814
814
|
* This source code is licensed under the ISC license.
|
|
815
815
|
* See the LICENSE file in the root directory of this source tree.
|
|
816
|
-
*/const
|
|
816
|
+
*/const gp=j("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"}]]);/**
|
|
817
817
|
* @license lucide-react v0.575.0 - ISC
|
|
818
818
|
*
|
|
819
819
|
* This source code is licensed under the ISC license.
|
|
820
820
|
* See the LICENSE file in the root directory of this source tree.
|
|
821
|
-
*/const
|
|
821
|
+
*/const _p=j("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"}]]);/**
|
|
822
822
|
* @license lucide-react v0.575.0 - ISC
|
|
823
823
|
*
|
|
824
824
|
* This source code is licensed under the ISC license.
|
|
825
825
|
* See the LICENSE file in the root directory of this source tree.
|
|
826
|
-
*/const
|
|
826
|
+
*/const vp=j("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/**
|
|
827
827
|
* @license lucide-react v0.575.0 - ISC
|
|
828
828
|
*
|
|
829
829
|
* This source code is licensed under the ISC license.
|
|
830
830
|
* See the LICENSE file in the root directory of this source tree.
|
|
831
|
-
*/const
|
|
831
|
+
*/const xp=j("share",[["path",{d:"M12 2v13",key:"1km8f5"}],["path",{d:"m16 6-4-4-4 4",key:"13yo43"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}]]);/**
|
|
832
832
|
* @license lucide-react v0.575.0 - ISC
|
|
833
833
|
*
|
|
834
834
|
* This source code is licensed under the ISC license.
|
|
835
835
|
* See the LICENSE file in the root directory of this source tree.
|
|
836
|
-
*/const
|
|
836
|
+
*/const yp=j("shield-check",[["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"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
837
837
|
* @license lucide-react v0.575.0 - ISC
|
|
838
838
|
*
|
|
839
839
|
* This source code is licensed under the ISC license.
|
|
840
840
|
* See the LICENSE file in the root directory of this source tree.
|
|
841
|
-
*/const
|
|
841
|
+
*/const wp=j("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"}]]);/**
|
|
842
842
|
* @license lucide-react v0.575.0 - ISC
|
|
843
843
|
*
|
|
844
844
|
* This source code is licensed under the ISC license.
|
|
845
845
|
* See the LICENSE file in the root directory of this source tree.
|
|
846
|
-
*/const
|
|
846
|
+
*/const kp=j("shopping-cart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/**
|
|
847
847
|
* @license lucide-react v0.575.0 - ISC
|
|
848
848
|
*
|
|
849
849
|
* This source code is licensed under the ISC license.
|
|
@@ -853,152 +853,152 @@
|
|
|
853
853
|
*
|
|
854
854
|
* This source code is licensed under the ISC license.
|
|
855
855
|
* See the LICENSE file in the root directory of this source tree.
|
|
856
|
-
*/const
|
|
856
|
+
*/const jp=j("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"}]]);/**
|
|
857
857
|
* @license lucide-react v0.575.0 - ISC
|
|
858
858
|
*
|
|
859
859
|
* This source code is licensed under the ISC license.
|
|
860
860
|
* See the LICENSE file in the root directory of this source tree.
|
|
861
|
-
*/const
|
|
861
|
+
*/const Sp=j("square-check-big",[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
|
|
862
862
|
* @license lucide-react v0.575.0 - ISC
|
|
863
863
|
*
|
|
864
864
|
* This source code is licensed under the ISC license.
|
|
865
865
|
* See the LICENSE file in the root directory of this source tree.
|
|
866
|
-
*/const
|
|
866
|
+
*/const Cp=j("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"}]]);/**
|
|
867
867
|
* @license lucide-react v0.575.0 - ISC
|
|
868
868
|
*
|
|
869
869
|
* This source code is licensed under the ISC license.
|
|
870
870
|
* See the LICENSE file in the root directory of this source tree.
|
|
871
|
-
*/const
|
|
871
|
+
*/const Np=j("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/**
|
|
872
872
|
* @license lucide-react v0.575.0 - ISC
|
|
873
873
|
*
|
|
874
874
|
* This source code is licensed under the ISC license.
|
|
875
875
|
* See the LICENSE file in the root directory of this source tree.
|
|
876
|
-
*/const
|
|
876
|
+
*/const Tp=j("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"}]]);/**
|
|
877
877
|
* @license lucide-react v0.575.0 - ISC
|
|
878
878
|
*
|
|
879
879
|
* This source code is licensed under the ISC license.
|
|
880
880
|
* See the LICENSE file in the root directory of this source tree.
|
|
881
|
-
*/const
|
|
881
|
+
*/const Mp=j("sticky-note",[["path",{d:"M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",key:"1dfntj"}],["path",{d:"M15 3v5a1 1 0 0 0 1 1h5",key:"6s6qgf"}]]);/**
|
|
882
882
|
* @license lucide-react v0.575.0 - ISC
|
|
883
883
|
*
|
|
884
884
|
* This source code is licensed under the ISC license.
|
|
885
885
|
* See the LICENSE file in the root directory of this source tree.
|
|
886
|
-
*/const
|
|
886
|
+
*/const Ap=j("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"}]]);/**
|
|
887
887
|
* @license lucide-react v0.575.0 - ISC
|
|
888
888
|
*
|
|
889
889
|
* This source code is licensed under the ISC license.
|
|
890
890
|
* See the LICENSE file in the root directory of this source tree.
|
|
891
|
-
*/const
|
|
891
|
+
*/const Pp=j("table",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]]);/**
|
|
892
892
|
* @license lucide-react v0.575.0 - ISC
|
|
893
893
|
*
|
|
894
894
|
* This source code is licensed under the ISC license.
|
|
895
895
|
* See the LICENSE file in the root directory of this source tree.
|
|
896
|
-
*/const
|
|
896
|
+
*/const Ep=j("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
|
|
897
897
|
* @license lucide-react v0.575.0 - ISC
|
|
898
898
|
*
|
|
899
899
|
* This source code is licensed under the ISC license.
|
|
900
900
|
* See the LICENSE file in the root directory of this source tree.
|
|
901
|
-
*/const
|
|
901
|
+
*/const $p=j("tags",[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]]);/**
|
|
902
902
|
* @license lucide-react v0.575.0 - ISC
|
|
903
903
|
*
|
|
904
904
|
* This source code is licensed under the ISC license.
|
|
905
905
|
* See the LICENSE file in the root directory of this source tree.
|
|
906
|
-
*/const
|
|
906
|
+
*/const Rp=j("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
|
|
907
907
|
* @license lucide-react v0.575.0 - ISC
|
|
908
908
|
*
|
|
909
909
|
* This source code is licensed under the ISC license.
|
|
910
910
|
* See the LICENSE file in the root directory of this source tree.
|
|
911
|
-
*/const
|
|
911
|
+
*/const Op=j("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]);/**
|
|
912
912
|
* @license lucide-react v0.575.0 - ISC
|
|
913
913
|
*
|
|
914
914
|
* This source code is licensed under the ISC license.
|
|
915
915
|
* See the LICENSE file in the root directory of this source tree.
|
|
916
|
-
*/const
|
|
916
|
+
*/const Lp=j("text-align-center",[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 19H5",key:"vjpgq2"}]]);/**
|
|
917
917
|
* @license lucide-react v0.575.0 - ISC
|
|
918
918
|
*
|
|
919
919
|
* This source code is licensed under the ISC license.
|
|
920
920
|
* See the LICENSE file in the root directory of this source tree.
|
|
921
|
-
*/const
|
|
921
|
+
*/const zp=j("text-cursor-input",[["path",{d:"M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6",key:"1528k5"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1",key:"1mj8rg"}],["path",{d:"M9 6v12",key:"velyjx"}]]);/**
|
|
922
922
|
* @license lucide-react v0.575.0 - ISC
|
|
923
923
|
*
|
|
924
924
|
* This source code is licensed under the ISC license.
|
|
925
925
|
* See the LICENSE file in the root directory of this source tree.
|
|
926
|
-
*/const
|
|
926
|
+
*/const Ip=j("ticket",[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]]);/**
|
|
927
927
|
* @license lucide-react v0.575.0 - ISC
|
|
928
928
|
*
|
|
929
929
|
* This source code is licensed under the ISC license.
|
|
930
930
|
* See the LICENSE file in the root directory of this source tree.
|
|
931
|
-
*/const
|
|
931
|
+
*/const Dp=j("toggle-left",[["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]]);/**
|
|
932
932
|
* @license lucide-react v0.575.0 - ISC
|
|
933
933
|
*
|
|
934
934
|
* This source code is licensed under the ISC license.
|
|
935
935
|
* See the LICENSE file in the root directory of this source tree.
|
|
936
|
-
*/const
|
|
936
|
+
*/const Fp=j("trash",[["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"}]]);/**
|
|
937
937
|
* @license lucide-react v0.575.0 - ISC
|
|
938
938
|
*
|
|
939
939
|
* This source code is licensed under the ISC license.
|
|
940
940
|
* See the LICENSE file in the root directory of this source tree.
|
|
941
|
-
*/const
|
|
941
|
+
*/const Hp=j("tree-pine",[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]]);/**
|
|
942
942
|
* @license lucide-react v0.575.0 - ISC
|
|
943
943
|
*
|
|
944
944
|
* This source code is licensed under the ISC license.
|
|
945
945
|
* See the LICENSE file in the root directory of this source tree.
|
|
946
|
-
*/const
|
|
946
|
+
*/const Bp=j("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]]);/**
|
|
947
947
|
* @license lucide-react v0.575.0 - ISC
|
|
948
948
|
*
|
|
949
949
|
* This source code is licensed under the ISC license.
|
|
950
950
|
* See the LICENSE file in the root directory of this source tree.
|
|
951
|
-
*/const
|
|
951
|
+
*/const Up=j("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);/**
|
|
952
952
|
* @license lucide-react v0.575.0 - ISC
|
|
953
953
|
*
|
|
954
954
|
* This source code is licensed under the ISC license.
|
|
955
955
|
* See the LICENSE file in the root directory of this source tree.
|
|
956
|
-
*/const
|
|
956
|
+
*/const qp=j("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"}]]);/**
|
|
957
957
|
* @license lucide-react v0.575.0 - ISC
|
|
958
958
|
*
|
|
959
959
|
* This source code is licensed under the ISC license.
|
|
960
960
|
* See the LICENSE file in the root directory of this source tree.
|
|
961
|
-
*/const
|
|
961
|
+
*/const Wp=j("triangle",[["path",{d:"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"14u9p9"}]]);/**
|
|
962
962
|
* @license lucide-react v0.575.0 - ISC
|
|
963
963
|
*
|
|
964
964
|
* This source code is licensed under the ISC license.
|
|
965
965
|
* See the LICENSE file in the root directory of this source tree.
|
|
966
|
-
*/const
|
|
966
|
+
*/const Vp=j("truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);/**
|
|
967
967
|
* @license lucide-react v0.575.0 - ISC
|
|
968
968
|
*
|
|
969
969
|
* This source code is licensed under the ISC license.
|
|
970
970
|
* See the LICENSE file in the root directory of this source tree.
|
|
971
|
-
*/const
|
|
971
|
+
*/const Gp=j("type",[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]);/**
|
|
972
972
|
* @license lucide-react v0.575.0 - ISC
|
|
973
973
|
*
|
|
974
974
|
* This source code is licensed under the ISC license.
|
|
975
975
|
* See the LICENSE file in the root directory of this source tree.
|
|
976
|
-
*/const
|
|
976
|
+
*/const Kp=j("undo-2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]);/**
|
|
977
977
|
* @license lucide-react v0.575.0 - ISC
|
|
978
978
|
*
|
|
979
979
|
* This source code is licensed under the ISC license.
|
|
980
980
|
* See the LICENSE file in the root directory of this source tree.
|
|
981
|
-
*/const
|
|
981
|
+
*/const Xp=j("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"}]]);/**
|
|
982
982
|
* @license lucide-react v0.575.0 - ISC
|
|
983
983
|
*
|
|
984
984
|
* This source code is licensed under the ISC license.
|
|
985
985
|
* See the LICENSE file in the root directory of this source tree.
|
|
986
|
-
*/const
|
|
986
|
+
*/const Yp=j("user-check",[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["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"}]]);/**
|
|
987
987
|
* @license lucide-react v0.575.0 - ISC
|
|
988
988
|
*
|
|
989
989
|
* This source code is licensed under the ISC license.
|
|
990
990
|
* See the LICENSE file in the root directory of this source tree.
|
|
991
|
-
*/const
|
|
991
|
+
*/const Jp=j("user-minus",[["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:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/**
|
|
992
992
|
* @license lucide-react v0.575.0 - ISC
|
|
993
993
|
*
|
|
994
994
|
* This source code is licensed under the ISC license.
|
|
995
995
|
* See the LICENSE file in the root directory of this source tree.
|
|
996
|
-
*/const
|
|
996
|
+
*/const Zp=j("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"}]]);/**
|
|
997
997
|
* @license lucide-react v0.575.0 - ISC
|
|
998
998
|
*
|
|
999
999
|
* This source code is licensed under the ISC license.
|
|
1000
1000
|
* See the LICENSE file in the root directory of this source tree.
|
|
1001
|
-
*/const
|
|
1001
|
+
*/const Qp=j("user-x",[["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:"17",x2:"22",y1:"8",y2:"13",key:"3nzzx3"}],["line",{x1:"22",x2:"17",y1:"8",y2:"13",key:"1swrse"}]]);/**
|
|
1002
1002
|
* @license lucide-react v0.575.0 - ISC
|
|
1003
1003
|
*
|
|
1004
1004
|
* This source code is licensed under the ISC license.
|
|
@@ -1008,47 +1008,47 @@
|
|
|
1008
1008
|
*
|
|
1009
1009
|
* This source code is licensed under the ISC license.
|
|
1010
1010
|
* See the LICENSE file in the root directory of this source tree.
|
|
1011
|
-
*/const
|
|
1011
|
+
*/const em=j("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);/**
|
|
1012
1012
|
* @license lucide-react v0.575.0 - ISC
|
|
1013
1013
|
*
|
|
1014
1014
|
* This source code is licensed under the ISC license.
|
|
1015
1015
|
* See the LICENSE file in the root directory of this source tree.
|
|
1016
|
-
*/const
|
|
1016
|
+
*/const tm=j("variable",[["path",{d:"M8 21s-4-3-4-9 4-9 4-9",key:"uto9ud"}],["path",{d:"M16 3s4 3 4 9-4 9-4 9",key:"4w2vsq"}],["line",{x1:"15",x2:"9",y1:"9",y2:"15",key:"f7djnv"}],["line",{x1:"9",x2:"15",y1:"9",y2:"15",key:"1shsy8"}]]);/**
|
|
1017
1017
|
* @license lucide-react v0.575.0 - ISC
|
|
1018
1018
|
*
|
|
1019
1019
|
* This source code is licensed under the ISC license.
|
|
1020
1020
|
* See the LICENSE file in the root directory of this source tree.
|
|
1021
|
-
*/const
|
|
1021
|
+
*/const nm=j("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/**
|
|
1022
1022
|
* @license lucide-react v0.575.0 - ISC
|
|
1023
1023
|
*
|
|
1024
1024
|
* This source code is licensed under the ISC license.
|
|
1025
1025
|
* See the LICENSE file in the root directory of this source tree.
|
|
1026
|
-
*/const
|
|
1026
|
+
*/const om=j("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"}]]);/**
|
|
1027
1027
|
* @license lucide-react v0.575.0 - ISC
|
|
1028
1028
|
*
|
|
1029
1029
|
* This source code is licensed under the ISC license.
|
|
1030
1030
|
* See the LICENSE file in the root directory of this source tree.
|
|
1031
|
-
*/const
|
|
1031
|
+
*/const rm=j("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"}]]);/**
|
|
1032
1032
|
* @license lucide-react v0.575.0 - ISC
|
|
1033
1033
|
*
|
|
1034
1034
|
* This source code is licensed under the ISC license.
|
|
1035
1035
|
* See the LICENSE file in the root directory of this source tree.
|
|
1036
|
-
*/const
|
|
1036
|
+
*/const im=j("warehouse",[["path",{d:"M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11",key:"pb2vm6"}],["path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z",key:"doq5xv"}],["path",{d:"M6 13h12",key:"yf64js"}],["path",{d:"M6 17h12",key:"1jwigz"}]]);/**
|
|
1037
1037
|
* @license lucide-react v0.575.0 - ISC
|
|
1038
1038
|
*
|
|
1039
1039
|
* This source code is licensed under the ISC license.
|
|
1040
1040
|
* See the LICENSE file in the root directory of this source tree.
|
|
1041
|
-
*/const
|
|
1041
|
+
*/const am=j("webhook",[["path",{d:"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",key:"q3hayz"}],["path",{d:"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06",key:"1go1hn"}],["path",{d:"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8",key:"qlwsc0"}]]);/**
|
|
1042
1042
|
* @license lucide-react v0.575.0 - ISC
|
|
1043
1043
|
*
|
|
1044
1044
|
* This source code is licensed under the ISC license.
|
|
1045
1045
|
* See the LICENSE file in the root directory of this source tree.
|
|
1046
|
-
*/const
|
|
1046
|
+
*/const lm=j("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);/**
|
|
1047
1047
|
* @license lucide-react v0.575.0 - ISC
|
|
1048
1048
|
*
|
|
1049
1049
|
* This source code is licensed under the ISC license.
|
|
1050
1050
|
* See the LICENSE file in the root directory of this source tree.
|
|
1051
|
-
*/const
|
|
1051
|
+
*/const sm=j("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"}]]);/**
|
|
1052
1052
|
* @license lucide-react v0.575.0 - ISC
|
|
1053
1053
|
*
|
|
1054
1054
|
* This source code is licensed under the ISC license.
|
|
@@ -1058,15 +1058,15 @@
|
|
|
1058
1058
|
*
|
|
1059
1059
|
* This source code is licensed under the ISC license.
|
|
1060
1060
|
* See the LICENSE file in the root directory of this source tree.
|
|
1061
|
-
*/const sm=j("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"}]]);function Fa(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=Fa(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function cm(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=Fa(e))&&(o&&(o+=" "),o+=t);return o}const dm=(e,t)=>{const n=new Array(e.length+t.length);for(let o=0;o<e.length;o++)n[o]=e[o];for(let o=0;o<t.length;o++)n[e.length+o]=t[o];return n},um=(e,t)=>({classGroupId:e,validator:t}),Ha=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),$n="-",Ba=[],hm="arbitrary..",pm=e=>{const t=fm(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return mm(l);const s=l.split($n),u=s[0]===""&&s.length>1?1:0;return Ua(s,u,t)},getConflictingClassGroupIds:(l,s)=>{if(s){const u=o[l],h=n[l];return u?h?dm(h,u):u:h||Ba}return n[l]||Ba}}},Ua=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],i=n.nextPart.get(r);if(i){const h=Ua(e,t+1,i);if(h)return h}const l=n.validators;if(l===null)return;const s=t===0?e.join($n):e.slice(t).join($n),u=l.length;for(let h=0;h<u;h++){const f=l[h];if(f.validator(s))return f.classGroupId}},mm=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),o=t.slice(0,n);return o?hm+o:void 0})(),fm=e=>{const{theme:t,classGroups:n}=e;return bm(n,t)},bm=(e,t)=>{const n=Ha();for(const o in e){const r=e[o];Vo(r,n,o,t)}return n},Vo=(e,t,n,o)=>{const r=e.length;for(let i=0;i<r;i++){const l=e[i];gm(l,t,n,o)}},gm=(e,t,n,o)=>{if(typeof e=="string"){_m(e,t,n);return}if(typeof e=="function"){vm(e,t,n,o);return}xm(e,t,n,o)},_m=(e,t,n)=>{const o=e===""?t:qa(t,e);o.classGroupId=n},vm=(e,t,n,o)=>{if(ym(e)){Vo(e(o),t,n,o);return}t.validators===null&&(t.validators=[]),t.validators.push(um(n,e))},xm=(e,t,n,o)=>{const r=Object.entries(e),i=r.length;for(let l=0;l<i;l++){const[s,u]=r[l];Vo(u,qa(t,s),n,o)}},qa=(e,t)=>{let n=e;const o=t.split($n),r=o.length;for(let i=0;i<r;i++){const l=o[i];let s=n.nextPart.get(l);s||(s=Ha(),n.nextPart.set(l,s)),n=s}return n},ym=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,wm=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),o=Object.create(null);const r=(i,l)=>{n[i]=l,t++,t>e&&(t=0,o=n,n=Object.create(null))};return{get(i){let l=n[i];if(l!==void 0)return l;if((l=o[i])!==void 0)return r(i,l),l},set(i,l){i in n?n[i]=l:r(i,l)}}},Go="!",Wa=":",km=[],Va=(e,t,n,o,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:o,isExternal:r}),jm=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=r=>{const i=[];let l=0,s=0,u=0,h;const f=r.length;for(let x=0;x<f;x++){const b=r[x];if(l===0&&s===0){if(b===Wa){i.push(r.slice(u,x)),u=x+1;continue}if(b==="/"){h=x;continue}}b==="["?l++:b==="]"?l--:b==="("?s++:b===")"&&s--}const m=i.length===0?r:r.slice(u);let g=m,_=!1;m.endsWith(Go)?(g=m.slice(0,-1),_=!0):m.startsWith(Go)&&(g=m.slice(1),_=!0);const k=h&&h>u?h-u:void 0;return Va(i,_,g,k)};if(t){const r=t+Wa,i=o;o=l=>l.startsWith(r)?i(l.slice(r.length)):Va(km,!1,l,void 0,!0)}if(n){const r=o;o=i=>n({className:i,parseClassName:r})}return o},Sm=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,o)=>{t.set(n,1e6+o)}),n=>{const o=[];let r=[];for(let i=0;i<n.length;i++){const l=n[i],s=l[0]==="[",u=t.has(l);s||u?(r.length>0&&(r.sort(),o.push(...r),r=[]),o.push(l)):r.push(l)}return r.length>0&&(r.sort(),o.push(...r)),o}},Cm=e=>({cache:wm(e.cacheSize),parseClassName:jm(e),sortModifiers:Sm(e),...pm(e)}),Nm=/\s+/,Tm=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=t,l=[],s=e.trim().split(Nm);let u="";for(let h=s.length-1;h>=0;h-=1){const f=s[h],{isExternal:m,modifiers:g,hasImportantModifier:_,baseClassName:k,maybePostfixModifierPosition:x}=n(f);if(m){u=f+(u.length>0?" "+u:u);continue}let b=!!x,y=o(b?k.substring(0,x):k);if(!y){if(!b){u=f+(u.length>0?" "+u:u);continue}if(y=o(k),!y){u=f+(u.length>0?" "+u:u);continue}b=!1}const S=g.length===0?"":g.length===1?g[0]:i(g).join(":"),N=_?S+Go:S,C=N+y;if(l.indexOf(C)>-1)continue;l.push(C);const P=r(y,b);for(let T=0;T<P.length;++T){const A=P[T];l.push(N+A)}u=f+(u.length>0?" "+u:u)}return u},Mm=(...e)=>{let t=0,n,o,r="";for(;t<e.length;)(n=e[t++])&&(o=Ga(n))&&(r&&(r+=" "),r+=o);return r},Ga=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=Ga(e[o]))&&(n&&(n+=" "),n+=t);return n},Am=(e,...t)=>{let n,o,r,i;const l=u=>{const h=t.reduce((f,m)=>m(f),e());return n=Cm(h),o=n.cache.get,r=n.cache.set,i=s,s(u)},s=u=>{const h=o(u);if(h)return h;const f=Tm(u,n);return r(u,f),f};return i=l,(...u)=>i(Mm(...u))},Pm=[],we=e=>{const t=n=>n[e]||Pm;return t.isThemeGetter=!0,t},Ka=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Xa=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Em=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,$m=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rm=/\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$/,Om=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Lm=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,zm=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,mt=e=>Em.test(e),ne=e=>!!e&&!Number.isNaN(Number(e)),ft=e=>!!e&&Number.isInteger(Number(e)),Ko=e=>e.endsWith("%")&&ne(e.slice(0,-1)),at=e=>$m.test(e),Ya=()=>!0,Im=e=>Rm.test(e)&&!Om.test(e),Xo=()=>!1,Dm=e=>Lm.test(e),Fm=e=>zm.test(e),Hm=e=>!U(e)&&!q(e),Bm=e=>bt(e,nl,Xo),U=e=>Ka.test(e),Ct=e=>bt(e,ol,Im),Ja=e=>bt(e,Ym,ne),Um=e=>bt(e,il,Ya),qm=e=>bt(e,rl,Xo),Za=e=>bt(e,el,Xo),Wm=e=>bt(e,tl,Fm),Rn=e=>bt(e,al,Dm),q=e=>Xa.test(e),sn=e=>Nt(e,ol),Vm=e=>Nt(e,rl),Qa=e=>Nt(e,el),Gm=e=>Nt(e,nl),Km=e=>Nt(e,tl),On=e=>Nt(e,al,!0),Xm=e=>Nt(e,il,!0),bt=(e,t,n)=>{const o=Ka.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},Nt=(e,t,n=!1)=>{const o=Xa.exec(e);return o?o[1]?t(o[1]):n:!1},el=e=>e==="position"||e==="percentage",tl=e=>e==="image"||e==="url",nl=e=>e==="length"||e==="size"||e==="bg-size",ol=e=>e==="length",Ym=e=>e==="number",rl=e=>e==="family-name",il=e=>e==="number"||e==="weight",al=e=>e==="shadow",Jm=Am(()=>{const e=we("color"),t=we("font"),n=we("text"),o=we("font-weight"),r=we("tracking"),i=we("leading"),l=we("breakpoint"),s=we("container"),u=we("spacing"),h=we("radius"),f=we("shadow"),m=we("inset-shadow"),g=we("text-shadow"),_=we("drop-shadow"),k=we("blur"),x=we("perspective"),b=we("aspect"),y=we("ease"),S=we("animate"),N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...C(),q,U],T=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto","contain","none"],M=()=>[q,U,u],E=()=>[mt,"full","auto",...M()],R=()=>[ft,"none","subgrid",q,U],G=()=>["auto",{span:["full",ft,q,U]},ft,q,U],I=()=>[ft,"auto",q,U],ie=()=>["auto","min","max","fr",q,U],le=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],de=()=>["start","end","center","stretch","center-safe","end-safe"],X=()=>["auto",...M()],ae=()=>[mt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...M()],K=()=>[mt,"screen","full","dvw","lvw","svw","min","max","fit",...M()],F=()=>[mt,"screen","full","lh","dvh","lvh","svh","min","max","fit",...M()],O=()=>[e,q,U],ce=()=>[...C(),Qa,Za,{position:[q,U]}],ge=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Fe=()=>["auto","cover","contain",Gm,Bm,{size:[q,U]}],ke=()=>[Ko,sn,Ct],re=()=>["","none","full",h,q,U],te=()=>["",ne,sn,Ct],je=()=>["solid","dashed","dotted","double"],ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Y=()=>[ne,Ko,Qa,Za],Ie=()=>["","none",k,q,U],Pe=()=>["none",ne,q,U],Te=()=>["none",ne,q,U],Ee=()=>[ne,q,U],He=()=>[mt,"full",...M()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[at],breakpoint:[at],color:[Ya],container:[at],"drop-shadow":[at],ease:["in","out","in-out"],font:[Hm],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[at],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[at],shadow:[at],spacing:["px",ne],text:[at],"text-shadow":[at],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",mt,U,q,b]}],container:["container"],columns:[{columns:[ne,U,q,s]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"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:P()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{"inset-s":E(),start:E()}],end:[{"inset-e":E(),end:E()}],"inset-bs":[{"inset-bs":E()}],"inset-be":[{"inset-be":E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[ft,"auto",q,U]}],basis:[{basis:[mt,"full","auto",s,...M()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ne,mt,"auto","initial","none",U]}],grow:[{grow:["",ne,q,U]}],shrink:[{shrink:["",ne,q,U]}],order:[{order:[ft,"first","last","none",q,U]}],"grid-cols":[{"grid-cols":R()}],"col-start-end":[{col:G()}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":R()}],"row-start-end":[{row:G()}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ie()}],"auto-rows":[{"auto-rows":ie()}],gap:[{gap:M()}],"gap-x":[{"gap-x":M()}],"gap-y":[{"gap-y":M()}],"justify-content":[{justify:[...le(),"normal"]}],"justify-items":[{"justify-items":[...de(),"normal"]}],"justify-self":[{"justify-self":["auto",...de()]}],"align-content":[{content:["normal",...le()]}],"align-items":[{items:[...de(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...de(),{baseline:["","last"]}]}],"place-content":[{"place-content":le()}],"place-items":[{"place-items":[...de(),"baseline"]}],"place-self":[{"place-self":["auto",...de()]}],p:[{p:M()}],px:[{px:M()}],py:[{py:M()}],ps:[{ps:M()}],pe:[{pe:M()}],pbs:[{pbs:M()}],pbe:[{pbe:M()}],pt:[{pt:M()}],pr:[{pr:M()}],pb:[{pb:M()}],pl:[{pl:M()}],m:[{m:X()}],mx:[{mx:X()}],my:[{my:X()}],ms:[{ms:X()}],me:[{me:X()}],mbs:[{mbs:X()}],mbe:[{mbe:X()}],mt:[{mt:X()}],mr:[{mr:X()}],mb:[{mb:X()}],ml:[{ml:X()}],"space-x":[{"space-x":M()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":M()}],"space-y-reverse":["space-y-reverse"],size:[{size:ae()}],"inline-size":[{inline:["auto",...K()]}],"min-inline-size":[{"min-inline":["auto",...K()]}],"max-inline-size":[{"max-inline":["none",...K()]}],"block-size":[{block:["auto",...F()]}],"min-block-size":[{"min-block":["auto",...F()]}],"max-block-size":[{"max-block":["none",...F()]}],w:[{w:[s,"screen",...ae()]}],"min-w":[{"min-w":[s,"screen","none",...ae()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[l]},...ae()]}],h:[{h:["screen","lh",...ae()]}],"min-h":[{"min-h":["screen","lh","none",...ae()]}],"max-h":[{"max-h":["screen","lh",...ae()]}],"font-size":[{text:["base",n,sn,Ct]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Xm,Um]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ko,U]}],"font-family":[{font:[Vm,qm,t]}],"font-features":[{"font-features":[U]}],"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:[r,q,U]}],"line-clamp":[{"line-clamp":[ne,"none",q,Ja]}],leading:[{leading:[i,...M()]}],"list-image":[{"list-image":["none",q,U]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",q,U]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...je(),"wavy"]}],"text-decoration-thickness":[{decoration:[ne,"from-font","auto",q,Ct]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[ne,"auto",q,U]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q,U]}],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,U]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ce()}],"bg-repeat":[{bg:ge()}],"bg-size":[{bg:Fe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ft,q,U],radial:["",q,U],conic:[ft,q,U]},Km,Wm]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:ke()}],"gradient-via-pos":[{via:ke()}],"gradient-to-pos":[{to:ke()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:re()}],"rounded-s":[{"rounded-s":re()}],"rounded-e":[{"rounded-e":re()}],"rounded-t":[{"rounded-t":re()}],"rounded-r":[{"rounded-r":re()}],"rounded-b":[{"rounded-b":re()}],"rounded-l":[{"rounded-l":re()}],"rounded-ss":[{"rounded-ss":re()}],"rounded-se":[{"rounded-se":re()}],"rounded-ee":[{"rounded-ee":re()}],"rounded-es":[{"rounded-es":re()}],"rounded-tl":[{"rounded-tl":re()}],"rounded-tr":[{"rounded-tr":re()}],"rounded-br":[{"rounded-br":re()}],"rounded-bl":[{"rounded-bl":re()}],"border-w":[{border:te()}],"border-w-x":[{"border-x":te()}],"border-w-y":[{"border-y":te()}],"border-w-s":[{"border-s":te()}],"border-w-e":[{"border-e":te()}],"border-w-bs":[{"border-bs":te()}],"border-w-be":[{"border-be":te()}],"border-w-t":[{"border-t":te()}],"border-w-r":[{"border-r":te()}],"border-w-b":[{"border-b":te()}],"border-w-l":[{"border-l":te()}],"divide-x":[{"divide-x":te()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":te()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...je(),"hidden","none"]}],"divide-style":[{divide:[...je(),"hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-bs":[{"border-bs":O()}],"border-color-be":[{"border-be":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...je(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ne,q,U]}],"outline-w":[{outline:["",ne,sn,Ct]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",f,On,Rn]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",m,On,Rn]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[ne,Ct]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":te()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",g,On,Rn]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[ne,q,U]}],"mix-blend":[{"mix-blend":[...ze(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ze()}],"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":[ne]}],"mask-image-linear-from-pos":[{"mask-linear-from":Y()}],"mask-image-linear-to-pos":[{"mask-linear-to":Y()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":Y()}],"mask-image-t-to-pos":[{"mask-t-to":Y()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":Y()}],"mask-image-r-to-pos":[{"mask-r-to":Y()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":Y()}],"mask-image-b-to-pos":[{"mask-b-to":Y()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":Y()}],"mask-image-l-to-pos":[{"mask-l-to":Y()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":Y()}],"mask-image-x-to-pos":[{"mask-x-to":Y()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":Y()}],"mask-image-y-to-pos":[{"mask-y-to":Y()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[q,U]}],"mask-image-radial-from-pos":[{"mask-radial-from":Y()}],"mask-image-radial-to-pos":[{"mask-radial-to":Y()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"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":C()}],"mask-image-conic-pos":[{"mask-conic":[ne]}],"mask-image-conic-from-pos":[{"mask-conic-from":Y()}],"mask-image-conic-to-pos":[{"mask-conic-to":Y()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ce()}],"mask-repeat":[{mask:ge()}],"mask-size":[{mask:Fe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",q,U]}],filter:[{filter:["","none",q,U]}],blur:[{blur:Ie()}],brightness:[{brightness:[ne,q,U]}],contrast:[{contrast:[ne,q,U]}],"drop-shadow":[{"drop-shadow":["","none",_,On,Rn]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",ne,q,U]}],"hue-rotate":[{"hue-rotate":[ne,q,U]}],invert:[{invert:["",ne,q,U]}],saturate:[{saturate:[ne,q,U]}],sepia:[{sepia:["",ne,q,U]}],"backdrop-filter":[{"backdrop-filter":["","none",q,U]}],"backdrop-blur":[{"backdrop-blur":Ie()}],"backdrop-brightness":[{"backdrop-brightness":[ne,q,U]}],"backdrop-contrast":[{"backdrop-contrast":[ne,q,U]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ne,q,U]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ne,q,U]}],"backdrop-invert":[{"backdrop-invert":["",ne,q,U]}],"backdrop-opacity":[{"backdrop-opacity":[ne,q,U]}],"backdrop-saturate":[{"backdrop-saturate":[ne,q,U]}],"backdrop-sepia":[{"backdrop-sepia":["",ne,q,U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":M()}],"border-spacing-x":[{"border-spacing-x":M()}],"border-spacing-y":[{"border-spacing-y":M()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",q,U]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ne,"initial",q,U]}],ease:[{ease:["linear","initial",y,q,U]}],delay:[{delay:[ne,q,U]}],animate:[{animate:["none",S,q,U]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[x,q,U]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:Pe()}],"rotate-x":[{"rotate-x":Pe()}],"rotate-y":[{"rotate-y":Pe()}],"rotate-z":[{"rotate-z":Pe()}],scale:[{scale:Te()}],"scale-x":[{"scale-x":Te()}],"scale-y":[{"scale-y":Te()}],"scale-z":[{"scale-z":Te()}],"scale-3d":["scale-3d"],skew:[{skew:Ee()}],"skew-x":[{"skew-x":Ee()}],"skew-y":[{"skew-y":Ee()}],transform:[{transform:[q,U,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:He()}],"translate-x":[{"translate-x":He()}],"translate-y":[{"translate-y":He()}],"translate-z":[{"translate-z":He()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"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,U]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mbs":[{"scroll-mbs":M()}],"scroll-mbe":[{"scroll-mbe":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pbs":[{"scroll-pbs":M()}],"scroll-pbe":[{"scroll-pbe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"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,U]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[ne,sn,Ct,Ja]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function he(...e){return Jm(cm(e))}function Zm({variant:e,title:t,subtitle:n,logoLight:o,logoDark:r,resolvedTheme:i="light",onClose:l,onBack:s,actions:u,children:h,floating:f,onToggleFloating:m,headerRef:g}){if(e==="dark-hero"){const _=o;return p("header",{ref:g,className:"auxx-chat-clip-top relative flex shrink-0 flex-col gap-4 bg-primary px-5 py-5 text-primary-foreground",children:[p("div",{className:"flex items-start justify-between",children:[_?p("img",{src:_,alt:"",className:"h-8 w-auto"}):p("span",{className:"h-8"}),p("div",{className:"flex items-center gap-1",children:[m?p(Yo,{floating:f??!1,onToggle:m,tone:"light"}):null,p(Jo,{onClose:l,tone:"light"})]})]}),h??p("div",{className:"flex flex-col gap-1",children:[t?p("h1",{className:"text-xl font-semibold leading-tight",children:t}):null,n?p("p",{className:"text-sm opacity-90",children:n}):null]})]})}return e==="plain"?p("header",{ref:g,className:"auxx-chat-clip-top relative flex shrink-0 items-center justify-between border-b border-[color:var(--auxx-chat-hairline)] bg-transparent px-4 py-3",children:[p("span",{"aria-hidden":!0,className:"size-7"}),p("h1",{className:"text-sm font-semibold",children:t}),p("div",{className:"flex items-center gap-1",children:[m?p(Yo,{floating:f??!1,onToggle:m,tone:"dark"}):null,p(Jo,{onClose:l,tone:"dark"})]})]}):p("header",{ref:g,className:"auxx-chat-clip-top relative flex shrink-0 items-center gap-2 border-b border-[color:var(--auxx-chat-hairline)] bg-transparent px-3 py-2",children:[s?p("button",{type:"button",onClick:s,className:"flex size-7 items-center justify-center rounded text-muted-foreground hover:bg-[color:var(--auxx-chat-surface-dark-default)] hover:text-[color:var(--auxx-chat-text-loud)]","aria-label":"Back",children:p(va,{className:"size-4","aria-hidden":"true"})}):null,p("div",{className:"flex min-w-0 flex-1 flex-col",children:[t?p("span",{className:"truncate text-sm font-semibold text-foreground",children:t}):null,n?p("span",{className:"truncate text-xs text-muted-foreground",children:n}):null]}),u,m?p(Yo,{floating:f??!1,onToggle:m,tone:"dark"}):null,p(Jo,{onClose:l,tone:"dark"})]})}function Yo({floating:e,onToggle:t,tone:n}){const o=e?_a:xa;return p("button",{type:"button",onClick:t,onPointerDown:r=>r.stopPropagation(),"data-no-drag":!0,"aria-label":e?"Dock chat":"Pop out chat","aria-pressed":e,className:he("hidden size-7 items-center justify-center rounded transition-colors sm:flex",n==="light"?"text-white/90 hover:bg-white/10 hover:text-white":"text-muted-foreground hover:bg-[color:var(--auxx-chat-surface-dark-default)] hover:text-[color:var(--auxx-chat-text-loud)]"),children:p(o,{className:"size-4","aria-hidden":"true"})})}function Jo({onClose:e,tone:t}){return p("button",{type:"button",onClick:e,onPointerDown:n=>n.stopPropagation(),"data-no-drag":!0,"aria-label":"Close chat",className:he("flex size-7 items-center justify-center rounded transition-colors",t==="light"?"text-white/90 hover:bg-white/10 hover:text-white":"text-muted-foreground hover:bg-[color:var(--auxx-chat-surface-dark-default)] hover:text-[color:var(--auxx-chat-text-loud)]"),children:p(St,{className:"size-4","aria-hidden":"true"})})}function Qm({viewKey:e,direction:t,children:n}){const o=D(e),r=D(n),[i,l]=z(null);o.current!==e&&(!i||i.key!==o.current)&&l({key:o.current,children:r.current,direction:t}),$e(()=>{o.current=e,r.current=n});const s=u=>{u.target===u.currentTarget&&l(null)};return p("div",{className:`auxx-chat-frame-transition ${i?"auxx-chat-frame-transition--animating":""}`,children:[i?p("div",{className:"auxx-chat-frame-layer auxx-chat-frame--exiting","data-direction":i.direction,onAnimationEnd:s,children:i.children},i.key):null,p("div",{className:`auxx-chat-frame-layer ${i?"auxx-chat-frame--entering":""}`,"data-direction":t,children:n},e)]})}const ll=[{id:"home",label:"Home",icon:Ea},{id:"messages",label:"Messages",icon:Oa},{id:"help",label:"Help",icon:ja}];function ef({activeTab:e,onChange:t,showHelp:n}){const o=n?ll:ll.filter(r=>r.id!=="help");return p("nav",{className:"auxx-chat-clip-bottom flex shrink-0 items-stretch justify-around divide-x divide-[color:var(--auxx-chat-hairline)] border-t border-[color:var(--auxx-chat-hairline)] bg-transparent","aria-label":"Widget sections",children:o.map(r=>{const i=r.id===e,l=r.icon;return p("button",{type:"button",className:he("flex flex-1 flex-col items-center justify-center gap-1 px-2 py-2 text-xs font-medium transition-colors",i?"text-primary":"text-muted-foreground hover:text-foreground"),onClick:()=>t(r.id),"aria-current":i?"page":void 0,children:[p(l,{className:"size-5","aria-hidden":"true"}),p("span",{children:r.label})]},r.id)})})}const sl=tt(null),tf=sl.Provider;function cn(){const e=Ke(sl);if(!e)throw new Error("useNavStack must be used within a NavStackProvider");return e}function Zo(e=[]){const[t,n]=z(e),o=B(u=>{n(h=>[...h,u])},[]),r=B(()=>{n(u=>u.length>0?u.slice(0,-1):u)},[]),i=B(u=>{n(h=>h.slice(0,Math.max(0,u+1)))},[]),l=B(()=>{n([])},[]),s=B(u=>{n(h=>h.length===0?[u]:[...h.slice(0,-1),u])},[]);return ve(()=>({stack:t,current:t.length>0?t[t.length-1]:null,isAtRoot:t.length===0,push:o,pop:r,navigateTo:i,reset:l,replace:s}),[t,o,r,i,l,s])}const nf="auxx-chat-route:",of=200;function cl(e){return`${nf}${e}`}function rf(e){try{const t=window.localStorage.getItem(cl(e));if(!t)return null;const n=JSON.parse(t);if(n.activeTab==="home"||n.activeTab==="messages"||n.activeTab==="help")return{activeTab:n.activeTab}}catch{}return null}function af(e,t){try{window.localStorage.setItem(cl(e),JSON.stringify(t))}catch{}}function lf(e,t="home"){const[n,o]=z(()=>{var h;return typeof window>"u"?t:((h=rf(e))==null?void 0:h.activeTab)??t}),r=Zo(),i=Zo(),l=Zo(),s=n==="home"?r:n==="messages"?i:l,u=D(null);return H(()=>{if(!(typeof window>"u"))return u.current!==null&&window.clearTimeout(u.current),u.current=window.setTimeout(()=>{af(e,{activeTab:n})},of),()=>{u.current!==null&&window.clearTimeout(u.current)}},[e,n]),ve(()=>({activeTab:n,setActiveTab:o,homeStack:r,messagesStack:i,helpStack:l,currentStack:s}),[n,r,i,l,s])}const sf="auxx-chat-read:";function dl(e){return`${sf}${e}`}function ul(e){try{const t=window.localStorage.getItem(dl(e));if(!t)return{};const n=JSON.parse(t);return n&&typeof n=="object"?n:{}}catch{return{}}}function cf(e,t){try{window.localStorage.setItem(dl(e),JSON.stringify(t))}catch{}}function hl(e,t){return ul(e)[t]??null}function df(e,t,n=new Date){const o=ul(e);o[t]=n.toISOString(),cf(e,o)}function Tt(){var e;if(typeof window<"u"){const t=(e=window.__AUXX_CONFIG__)==null?void 0:e.apiBase;if(t)return t}return"http://localhost:3007"}function uf(){var t;if(typeof window>"u")return null;const e=(t=window.__AUXX_CONFIG__)==null?void 0:t.userJwt;return typeof e=="string"&&e.length>0?e:null}function hf(){var t;if(typeof window>"u")return null;const e=(t=window.__AUXX_CONFIG__)==null?void 0:t.attributes;return!e||typeof e!="object"?null:Object.keys(e).length>0?e:null}function pf(){var e;return typeof window>"u"?!1:((e=window.__AUXX_CONFIG__)==null?void 0:e.open)===!0}function mf(){var e;return typeof window>"u"?!1:((e=window.__AUXX_CONFIG__)==null?void 0:e.previewRounded)===!0}function pl(){const e=uf(),t=hf();return!e&&!t?null:{...e?{auxx_user_jwt:e}:{},...t?{attributes:t}:{}}}const Qo=250;function ff(e){if(!e)return Qo;const t=/^#?([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(e.trim());if(!t)return Qo;let n=t[1];n.length===3&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]);const o=parseInt(n.slice(0,2),16)/255,r=parseInt(n.slice(2,4),16)/255,i=parseInt(n.slice(4,6),16)/255,l=C=>C<=.04045?C/12.92:((C+.055)/1.055)**2.4,s=l(o),u=l(r),h=l(i),f=.4122214708*s+.5363325363*u+.0514459929*h,m=.2119034982*s+.6806995451*u+.1073969566*h,g=.0883024619*s+.2817188376*u+.6299787005*h,_=Math.cbrt(f),k=Math.cbrt(m),x=Math.cbrt(g),b=1.9779984951*_-2.428592205*k+.4505937099*x,y=.0259040371*_+.7827717662*k-.808675766*x;if(Math.sqrt(b*b+y*y)<5e-4)return Qo;const N=Math.atan2(y,b)*180/Math.PI;return N<0?N+360:N}function bf(){return typeof window<"u"?window.matchMedia("(prefers-color-scheme: dark)").matches:!1}function gf({scriptTheme:e,adminTheme:t}){const n=e??t,[o,r]=z(bf);return H(()=>{if(n!=="system")return;const i=window.matchMedia("(prefers-color-scheme: dark)"),l=s=>r(s.matches);return i.addEventListener("change",l),()=>i.removeEventListener("change",l)},[n]),n==="light"?"light":n==="dark"||o?"dark":"light"}const _f="auxx_passport_chat_",vf=300*1e3;function er(e){return`${_f}${e}`}function ml(e){try{const t=window.localStorage.getItem(er(e));return t?JSON.parse(t):null}catch{return null}}function xf(e,t){try{window.localStorage.setItem(er(e),JSON.stringify(t))}catch{}}function yf(e){try{window.localStorage.removeItem(er(e))}catch{}}function wf(e){const t=new Date(e.expiresAt).getTime();return Number.isNaN(t)?!1:t-Date.now()>vf}function kf(e){const t=/^(\d+)([smhd])$/.exec(e.trim());if(!t)return new Date(Date.now()+3600*1e3).toISOString();const n=Number(t[1]),o=t[2],r=o==="s"?n*1e3:o==="m"?n*6e4:o==="h"?n*36e5:n*864e5;return new Date(Date.now()+r).toISOString()}async function jf(e,t){const n=pl(),o=await fetch(`${Tt()}/api/chat/passport`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({channelId:e,visitorId:t??void 0,...n?{user_data:n}:{}})}),r=await o.json();if(!o.ok||!r.success)throw new Error("success"in r&&!r.success?r.error.message:`Passport request failed (${o.status})`);return{passport:r.data.passport,visitorId:r.data.visitorId,visitorParticipantId:r.data.visitorParticipantId,expiresAt:kf(r.data.expiresIn)}}let dn=null;async function Ut(e,t={}){if(t.force)yf(e);else{const n=ml(e);if(n&&wf(n))return n}return dn||(dn=(async()=>{try{const n=ml(e),o=await jf(e,(n==null?void 0:n.visitorId)??null);return xf(e,o),o}finally{dn=null}})(),dn)}const Sf=Object.freeze(Object.defineProperty({__proto__:null,getChatPassport:Ut},Symbol.toStringTag,{value:"Module"}));async function Me(e,t,n={}){var g;const o=n.method??"GET",r=pl(),i=n.body!==void 0&&n.body!==null?typeof n.body=="object"?n.body:{value:n.body}:null,l=r&&o!=="GET"&&o!=="HEAD"?{...i??{},user_data:r}:i,s=l!==null,u=async _=>{let k=`${Tt()}${t}`;if(n.query){const x=new URLSearchParams(n.query).toString();x&&(k+=`?${x}`)}return fetch(k,{method:o,credentials:"include",headers:{Authorization:`Bearer ${_}`,...s?{"Content-Type":"application/json"}:{}},body:s?JSON.stringify(l):void 0,signal:n.signal})};let{passport:h}=await Ut(e),f=await u(h);f.status===401&&(h=(await Ut(e,{force:!0})).passport,f=await u(h));const m=await f.json();if(!f.ok||!m.success||m.data===void 0)throw new Error(((g=m.error)==null?void 0:g.message)??`Request failed (${f.status})`);return m.data}function Mt(e){return{initialize:t=>Me(e,"/api/chat/initialize",{method:"POST",body:t}),sendMessage:t=>{const{threadId:n,...o}=t;return Me(e,`/api/chat/threads/${n}/messages`,{method:"POST",body:o})},getAttachmentUrl:t=>Me(e,`/api/chat/attachments/${t}/url`,{method:"GET"}),getHistory:(t,n,o={})=>{const r={sessionId:n};return o.cursor&&(r.cursor=o.cursor),o.limit&&(r.limit=String(o.limit)),Me(e,`/api/chat/threads/${t}/messages`,{method:"GET",query:r})},setTyping:(t,n)=>Me(e,"/api/chat/typing",{method:"POST",body:{sessionId:t,isTyping:n}}),markDelivered:t=>Me(e,"/api/chat/receipts/delivered",{method:"POST",body:{messageIds:t}}),markRead:t=>Me(e,"/api/chat/receipts/read",{method:"POST",body:{messageIds:t}}),createThread:(t={})=>Me(e,"/api/chat/threads",{method:"POST",body:t}),getRecentThread:()=>Me(e,"/api/chat/threads/recent",{method:"GET"}),listThreads:(t=null)=>{const n={};return t&&(n.cursor=t),Me(e,"/api/chat/threads",{method:"GET",query:n})},getTranscript:t=>Me(e,`/api/chat/threads/${t}/transcript`,{method:"POST"}),updateVisitorInfo:t=>Me(e,"/api/chat/visitor-info",{method:"PATCH",body:t})}}async function Cf(e,t=null){const n=t?`?v=${encodeURIComponent(t)}`:"",o=await fetch(`${Tt()}/api/chat/config/${e}${n}`,{method:"GET",credentials:"omit",cache:t?"no-store":"default"});if(!o.ok)throw new Error(`Failed to load chat config (${o.status})`);return await o.json()}function Nf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tr={exports:{}};/*!
|
|
1061
|
+
*/const cm=j("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"}]]);function Fa(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=Fa(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function dm(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=Fa(e))&&(o&&(o+=" "),o+=t);return o}const um=(e,t)=>{const n=new Array(e.length+t.length);for(let o=0;o<e.length;o++)n[o]=e[o];for(let o=0;o<t.length;o++)n[e.length+o]=t[o];return n},hm=(e,t)=>({classGroupId:e,validator:t}),Ha=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),$n="-",Ba=[],pm="arbitrary..",mm=e=>{const t=bm(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return fm(l);const s=l.split($n),u=s[0]===""&&s.length>1?1:0;return Ua(s,u,t)},getConflictingClassGroupIds:(l,s)=>{if(s){const u=o[l],h=n[l];return u?h?um(h,u):u:h||Ba}return n[l]||Ba}}},Ua=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],i=n.nextPart.get(r);if(i){const h=Ua(e,t+1,i);if(h)return h}const l=n.validators;if(l===null)return;const s=t===0?e.join($n):e.slice(t).join($n),u=l.length;for(let h=0;h<u;h++){const f=l[h];if(f.validator(s))return f.classGroupId}},fm=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),o=t.slice(0,n);return o?pm+o:void 0})(),bm=e=>{const{theme:t,classGroups:n}=e;return gm(n,t)},gm=(e,t)=>{const n=Ha();for(const o in e){const r=e[o];Vo(r,n,o,t)}return n},Vo=(e,t,n,o)=>{const r=e.length;for(let i=0;i<r;i++){const l=e[i];_m(l,t,n,o)}},_m=(e,t,n,o)=>{if(typeof e=="string"){vm(e,t,n);return}if(typeof e=="function"){xm(e,t,n,o);return}ym(e,t,n,o)},vm=(e,t,n)=>{const o=e===""?t:qa(t,e);o.classGroupId=n},xm=(e,t,n,o)=>{if(wm(e)){Vo(e(o),t,n,o);return}t.validators===null&&(t.validators=[]),t.validators.push(hm(n,e))},ym=(e,t,n,o)=>{const r=Object.entries(e),i=r.length;for(let l=0;l<i;l++){const[s,u]=r[l];Vo(u,qa(t,s),n,o)}},qa=(e,t)=>{let n=e;const o=t.split($n),r=o.length;for(let i=0;i<r;i++){const l=o[i];let s=n.nextPart.get(l);s||(s=Ha(),n.nextPart.set(l,s)),n=s}return n},wm=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,km=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),o=Object.create(null);const r=(i,l)=>{n[i]=l,t++,t>e&&(t=0,o=n,n=Object.create(null))};return{get(i){let l=n[i];if(l!==void 0)return l;if((l=o[i])!==void 0)return r(i,l),l},set(i,l){i in n?n[i]=l:r(i,l)}}},Go="!",Wa=":",jm=[],Va=(e,t,n,o,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:o,isExternal:r}),Sm=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=r=>{const i=[];let l=0,s=0,u=0,h;const f=r.length;for(let x=0;x<f;x++){const b=r[x];if(l===0&&s===0){if(b===Wa){i.push(r.slice(u,x)),u=x+1;continue}if(b==="/"){h=x;continue}}b==="["?l++:b==="]"?l--:b==="("?s++:b===")"&&s--}const m=i.length===0?r:r.slice(u);let g=m,_=!1;m.endsWith(Go)?(g=m.slice(0,-1),_=!0):m.startsWith(Go)&&(g=m.slice(1),_=!0);const k=h&&h>u?h-u:void 0;return Va(i,_,g,k)};if(t){const r=t+Wa,i=o;o=l=>l.startsWith(r)?i(l.slice(r.length)):Va(jm,!1,l,void 0,!0)}if(n){const r=o;o=i=>n({className:i,parseClassName:r})}return o},Cm=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,o)=>{t.set(n,1e6+o)}),n=>{const o=[];let r=[];for(let i=0;i<n.length;i++){const l=n[i],s=l[0]==="[",u=t.has(l);s||u?(r.length>0&&(r.sort(),o.push(...r),r=[]),o.push(l)):r.push(l)}return r.length>0&&(r.sort(),o.push(...r)),o}},Nm=e=>({cache:km(e.cacheSize),parseClassName:Sm(e),sortModifiers:Cm(e),...mm(e)}),Tm=/\s+/,Mm=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=t,l=[],s=e.trim().split(Tm);let u="";for(let h=s.length-1;h>=0;h-=1){const f=s[h],{isExternal:m,modifiers:g,hasImportantModifier:_,baseClassName:k,maybePostfixModifierPosition:x}=n(f);if(m){u=f+(u.length>0?" "+u:u);continue}let b=!!x,y=o(b?k.substring(0,x):k);if(!y){if(!b){u=f+(u.length>0?" "+u:u);continue}if(y=o(k),!y){u=f+(u.length>0?" "+u:u);continue}b=!1}const S=g.length===0?"":g.length===1?g[0]:i(g).join(":"),N=_?S+Go:S,C=N+y;if(l.indexOf(C)>-1)continue;l.push(C);const P=r(y,b);for(let T=0;T<P.length;++T){const A=P[T];l.push(N+A)}u=f+(u.length>0?" "+u:u)}return u},Am=(...e)=>{let t=0,n,o,r="";for(;t<e.length;)(n=e[t++])&&(o=Ga(n))&&(r&&(r+=" "),r+=o);return r},Ga=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=Ga(e[o]))&&(n&&(n+=" "),n+=t);return n},Pm=(e,...t)=>{let n,o,r,i;const l=u=>{const h=t.reduce((f,m)=>m(f),e());return n=Nm(h),o=n.cache.get,r=n.cache.set,i=s,s(u)},s=u=>{const h=o(u);if(h)return h;const f=Mm(u,n);return r(u,f),f};return i=l,(...u)=>i(Am(...u))},Em=[],we=e=>{const t=n=>n[e]||Em;return t.isThemeGetter=!0,t},Ka=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Xa=/^\((?:(\w[\w-]*):)?(.+)\)$/i,$m=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Rm=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Om=/\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$/,Lm=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,zm=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Im=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,mt=e=>$m.test(e),ne=e=>!!e&&!Number.isNaN(Number(e)),ft=e=>!!e&&Number.isInteger(Number(e)),Ko=e=>e.endsWith("%")&&ne(e.slice(0,-1)),at=e=>Rm.test(e),Ya=()=>!0,Dm=e=>Om.test(e)&&!Lm.test(e),Xo=()=>!1,Fm=e=>zm.test(e),Hm=e=>Im.test(e),Bm=e=>!U(e)&&!q(e),Um=e=>bt(e,nl,Xo),U=e=>Ka.test(e),Ct=e=>bt(e,ol,Dm),Ja=e=>bt(e,Jm,ne),qm=e=>bt(e,il,Ya),Wm=e=>bt(e,rl,Xo),Za=e=>bt(e,el,Xo),Vm=e=>bt(e,tl,Hm),Rn=e=>bt(e,al,Fm),q=e=>Xa.test(e),sn=e=>Nt(e,ol),Gm=e=>Nt(e,rl),Qa=e=>Nt(e,el),Km=e=>Nt(e,nl),Xm=e=>Nt(e,tl),On=e=>Nt(e,al,!0),Ym=e=>Nt(e,il,!0),bt=(e,t,n)=>{const o=Ka.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},Nt=(e,t,n=!1)=>{const o=Xa.exec(e);return o?o[1]?t(o[1]):n:!1},el=e=>e==="position"||e==="percentage",tl=e=>e==="image"||e==="url",nl=e=>e==="length"||e==="size"||e==="bg-size",ol=e=>e==="length",Jm=e=>e==="number",rl=e=>e==="family-name",il=e=>e==="number"||e==="weight",al=e=>e==="shadow",Zm=Pm(()=>{const e=we("color"),t=we("font"),n=we("text"),o=we("font-weight"),r=we("tracking"),i=we("leading"),l=we("breakpoint"),s=we("container"),u=we("spacing"),h=we("radius"),f=we("shadow"),m=we("inset-shadow"),g=we("text-shadow"),_=we("drop-shadow"),k=we("blur"),x=we("perspective"),b=we("aspect"),y=we("ease"),S=we("animate"),N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...C(),q,U],T=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto","contain","none"],M=()=>[q,U,u],E=()=>[mt,"full","auto",...M()],R=()=>[ft,"none","subgrid",q,U],G=()=>["auto",{span:["full",ft,q,U]},ft,q,U],I=()=>[ft,"auto",q,U],ie=()=>["auto","min","max","fr",q,U],le=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],de=()=>["start","end","center","stretch","center-safe","end-safe"],X=()=>["auto",...M()],ae=()=>[mt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...M()],K=()=>[mt,"screen","full","dvw","lvw","svw","min","max","fit",...M()],F=()=>[mt,"screen","full","lh","dvh","lvh","svh","min","max","fit",...M()],O=()=>[e,q,U],ce=()=>[...C(),Qa,Za,{position:[q,U]}],ge=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Fe=()=>["auto","cover","contain",Km,Um,{size:[q,U]}],ke=()=>[Ko,sn,Ct],re=()=>["","none","full",h,q,U],te=()=>["",ne,sn,Ct],je=()=>["solid","dashed","dotted","double"],ze=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Y=()=>[ne,Ko,Qa,Za],Ie=()=>["","none",k,q,U],Pe=()=>["none",ne,q,U],Te=()=>["none",ne,q,U],Ee=()=>[ne,q,U],He=()=>[mt,"full",...M()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[at],breakpoint:[at],color:[Ya],container:[at],"drop-shadow":[at],ease:["in","out","in-out"],font:[Bm],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[at],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[at],shadow:[at],spacing:["px",ne],text:[at],"text-shadow":[at],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",mt,U,q,b]}],container:["container"],columns:[{columns:[ne,U,q,s]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"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:P()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{"inset-s":E(),start:E()}],end:[{"inset-e":E(),end:E()}],"inset-bs":[{"inset-bs":E()}],"inset-be":[{"inset-be":E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[ft,"auto",q,U]}],basis:[{basis:[mt,"full","auto",s,...M()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ne,mt,"auto","initial","none",U]}],grow:[{grow:["",ne,q,U]}],shrink:[{shrink:["",ne,q,U]}],order:[{order:[ft,"first","last","none",q,U]}],"grid-cols":[{"grid-cols":R()}],"col-start-end":[{col:G()}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":R()}],"row-start-end":[{row:G()}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ie()}],"auto-rows":[{"auto-rows":ie()}],gap:[{gap:M()}],"gap-x":[{"gap-x":M()}],"gap-y":[{"gap-y":M()}],"justify-content":[{justify:[...le(),"normal"]}],"justify-items":[{"justify-items":[...de(),"normal"]}],"justify-self":[{"justify-self":["auto",...de()]}],"align-content":[{content:["normal",...le()]}],"align-items":[{items:[...de(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...de(),{baseline:["","last"]}]}],"place-content":[{"place-content":le()}],"place-items":[{"place-items":[...de(),"baseline"]}],"place-self":[{"place-self":["auto",...de()]}],p:[{p:M()}],px:[{px:M()}],py:[{py:M()}],ps:[{ps:M()}],pe:[{pe:M()}],pbs:[{pbs:M()}],pbe:[{pbe:M()}],pt:[{pt:M()}],pr:[{pr:M()}],pb:[{pb:M()}],pl:[{pl:M()}],m:[{m:X()}],mx:[{mx:X()}],my:[{my:X()}],ms:[{ms:X()}],me:[{me:X()}],mbs:[{mbs:X()}],mbe:[{mbe:X()}],mt:[{mt:X()}],mr:[{mr:X()}],mb:[{mb:X()}],ml:[{ml:X()}],"space-x":[{"space-x":M()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":M()}],"space-y-reverse":["space-y-reverse"],size:[{size:ae()}],"inline-size":[{inline:["auto",...K()]}],"min-inline-size":[{"min-inline":["auto",...K()]}],"max-inline-size":[{"max-inline":["none",...K()]}],"block-size":[{block:["auto",...F()]}],"min-block-size":[{"min-block":["auto",...F()]}],"max-block-size":[{"max-block":["none",...F()]}],w:[{w:[s,"screen",...ae()]}],"min-w":[{"min-w":[s,"screen","none",...ae()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[l]},...ae()]}],h:[{h:["screen","lh",...ae()]}],"min-h":[{"min-h":["screen","lh","none",...ae()]}],"max-h":[{"max-h":["screen","lh",...ae()]}],"font-size":[{text:["base",n,sn,Ct]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Ym,qm]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ko,U]}],"font-family":[{font:[Gm,Wm,t]}],"font-features":[{"font-features":[U]}],"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:[r,q,U]}],"line-clamp":[{"line-clamp":[ne,"none",q,Ja]}],leading:[{leading:[i,...M()]}],"list-image":[{"list-image":["none",q,U]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",q,U]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...je(),"wavy"]}],"text-decoration-thickness":[{decoration:[ne,"from-font","auto",q,Ct]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[ne,"auto",q,U]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q,U]}],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,U]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ce()}],"bg-repeat":[{bg:ge()}],"bg-size":[{bg:Fe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ft,q,U],radial:["",q,U],conic:[ft,q,U]},Xm,Vm]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:ke()}],"gradient-via-pos":[{via:ke()}],"gradient-to-pos":[{to:ke()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:re()}],"rounded-s":[{"rounded-s":re()}],"rounded-e":[{"rounded-e":re()}],"rounded-t":[{"rounded-t":re()}],"rounded-r":[{"rounded-r":re()}],"rounded-b":[{"rounded-b":re()}],"rounded-l":[{"rounded-l":re()}],"rounded-ss":[{"rounded-ss":re()}],"rounded-se":[{"rounded-se":re()}],"rounded-ee":[{"rounded-ee":re()}],"rounded-es":[{"rounded-es":re()}],"rounded-tl":[{"rounded-tl":re()}],"rounded-tr":[{"rounded-tr":re()}],"rounded-br":[{"rounded-br":re()}],"rounded-bl":[{"rounded-bl":re()}],"border-w":[{border:te()}],"border-w-x":[{"border-x":te()}],"border-w-y":[{"border-y":te()}],"border-w-s":[{"border-s":te()}],"border-w-e":[{"border-e":te()}],"border-w-bs":[{"border-bs":te()}],"border-w-be":[{"border-be":te()}],"border-w-t":[{"border-t":te()}],"border-w-r":[{"border-r":te()}],"border-w-b":[{"border-b":te()}],"border-w-l":[{"border-l":te()}],"divide-x":[{"divide-x":te()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":te()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...je(),"hidden","none"]}],"divide-style":[{divide:[...je(),"hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-bs":[{"border-bs":O()}],"border-color-be":[{"border-be":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...je(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ne,q,U]}],"outline-w":[{outline:["",ne,sn,Ct]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",f,On,Rn]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",m,On,Rn]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[ne,Ct]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":te()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",g,On,Rn]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[ne,q,U]}],"mix-blend":[{"mix-blend":[...ze(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ze()}],"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":[ne]}],"mask-image-linear-from-pos":[{"mask-linear-from":Y()}],"mask-image-linear-to-pos":[{"mask-linear-to":Y()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":Y()}],"mask-image-t-to-pos":[{"mask-t-to":Y()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":Y()}],"mask-image-r-to-pos":[{"mask-r-to":Y()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":Y()}],"mask-image-b-to-pos":[{"mask-b-to":Y()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":Y()}],"mask-image-l-to-pos":[{"mask-l-to":Y()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":Y()}],"mask-image-x-to-pos":[{"mask-x-to":Y()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":Y()}],"mask-image-y-to-pos":[{"mask-y-to":Y()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[q,U]}],"mask-image-radial-from-pos":[{"mask-radial-from":Y()}],"mask-image-radial-to-pos":[{"mask-radial-to":Y()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"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":C()}],"mask-image-conic-pos":[{"mask-conic":[ne]}],"mask-image-conic-from-pos":[{"mask-conic-from":Y()}],"mask-image-conic-to-pos":[{"mask-conic-to":Y()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ce()}],"mask-repeat":[{mask:ge()}],"mask-size":[{mask:Fe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",q,U]}],filter:[{filter:["","none",q,U]}],blur:[{blur:Ie()}],brightness:[{brightness:[ne,q,U]}],contrast:[{contrast:[ne,q,U]}],"drop-shadow":[{"drop-shadow":["","none",_,On,Rn]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",ne,q,U]}],"hue-rotate":[{"hue-rotate":[ne,q,U]}],invert:[{invert:["",ne,q,U]}],saturate:[{saturate:[ne,q,U]}],sepia:[{sepia:["",ne,q,U]}],"backdrop-filter":[{"backdrop-filter":["","none",q,U]}],"backdrop-blur":[{"backdrop-blur":Ie()}],"backdrop-brightness":[{"backdrop-brightness":[ne,q,U]}],"backdrop-contrast":[{"backdrop-contrast":[ne,q,U]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ne,q,U]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ne,q,U]}],"backdrop-invert":[{"backdrop-invert":["",ne,q,U]}],"backdrop-opacity":[{"backdrop-opacity":[ne,q,U]}],"backdrop-saturate":[{"backdrop-saturate":[ne,q,U]}],"backdrop-sepia":[{"backdrop-sepia":["",ne,q,U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":M()}],"border-spacing-x":[{"border-spacing-x":M()}],"border-spacing-y":[{"border-spacing-y":M()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",q,U]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ne,"initial",q,U]}],ease:[{ease:["linear","initial",y,q,U]}],delay:[{delay:[ne,q,U]}],animate:[{animate:["none",S,q,U]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[x,q,U]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:Pe()}],"rotate-x":[{"rotate-x":Pe()}],"rotate-y":[{"rotate-y":Pe()}],"rotate-z":[{"rotate-z":Pe()}],scale:[{scale:Te()}],"scale-x":[{"scale-x":Te()}],"scale-y":[{"scale-y":Te()}],"scale-z":[{"scale-z":Te()}],"scale-3d":["scale-3d"],skew:[{skew:Ee()}],"skew-x":[{"skew-x":Ee()}],"skew-y":[{"skew-y":Ee()}],transform:[{transform:[q,U,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:He()}],"translate-x":[{"translate-x":He()}],"translate-y":[{"translate-y":He()}],"translate-z":[{"translate-z":He()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"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,U]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mbs":[{"scroll-mbs":M()}],"scroll-mbe":[{"scroll-mbe":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pbs":[{"scroll-pbs":M()}],"scroll-pbe":[{"scroll-pbe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"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,U]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[ne,sn,Ct,Ja]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function he(...e){return Zm(dm(e))}function Qm({variant:e,title:t,subtitle:n,logoLight:o,logoDark:r,resolvedTheme:i="light",onClose:l,onBack:s,actions:u,children:h,floating:f,onToggleFloating:m,headerRef:g}){if(e==="dark-hero"){const _=o;return p("header",{ref:g,className:"auxx-chat-clip-top relative flex shrink-0 flex-col gap-4 bg-primary px-5 py-5 text-primary-foreground",children:[p("div",{className:"flex items-start justify-between",children:[_?p("img",{src:_,alt:"",className:"h-8 w-auto"}):p("span",{className:"h-8"}),p("div",{className:"flex items-center gap-1",children:[m?p(Yo,{floating:f??!1,onToggle:m,tone:"light"}):null,p(Jo,{onClose:l,tone:"light"})]})]}),h??p("div",{className:"flex flex-col gap-1",children:[t?p("h1",{className:"text-xl font-semibold leading-tight",children:t}):null,n?p("p",{className:"text-sm opacity-90",children:n}):null]})]})}return e==="plain"?p("header",{ref:g,className:"auxx-chat-clip-top relative flex shrink-0 items-center justify-between border-b border-[color:var(--auxx-chat-hairline)] bg-transparent px-4 py-3",children:[p("span",{"aria-hidden":!0,className:"size-7"}),p("h1",{className:"text-sm font-semibold",children:t}),p("div",{className:"flex items-center gap-1",children:[m?p(Yo,{floating:f??!1,onToggle:m,tone:"dark"}):null,p(Jo,{onClose:l,tone:"dark"})]})]}):p("header",{ref:g,className:"auxx-chat-clip-top relative flex shrink-0 items-center gap-2 border-b border-[color:var(--auxx-chat-hairline)] bg-transparent px-3 py-2",children:[s?p("button",{type:"button",onClick:s,className:"flex size-7 items-center justify-center rounded text-muted-foreground hover:bg-[color:var(--auxx-chat-surface-dark-default)] hover:text-[color:var(--auxx-chat-text-loud)]","aria-label":"Back",children:p(va,{className:"size-4","aria-hidden":"true"})}):null,p("div",{className:"flex min-w-0 flex-1 flex-col",children:[t?p("span",{className:"truncate text-sm font-semibold text-foreground",children:t}):null,n?p("span",{className:"truncate text-xs text-muted-foreground",children:n}):null]}),u,m?p(Yo,{floating:f??!1,onToggle:m,tone:"dark"}):null,p(Jo,{onClose:l,tone:"dark"})]})}function Yo({floating:e,onToggle:t,tone:n}){const o=e?_a:xa;return p("button",{type:"button",onClick:t,onPointerDown:r=>r.stopPropagation(),"data-no-drag":!0,"aria-label":e?"Dock chat":"Pop out chat","aria-pressed":e,className:he("hidden size-7 items-center justify-center rounded transition-colors sm:flex",n==="light"?"text-white/90 hover:bg-white/10 hover:text-white":"text-muted-foreground hover:bg-[color:var(--auxx-chat-surface-dark-default)] hover:text-[color:var(--auxx-chat-text-loud)]"),children:p(o,{className:"size-4","aria-hidden":"true"})})}function Jo({onClose:e,tone:t}){return p("button",{type:"button",onClick:e,onPointerDown:n=>n.stopPropagation(),"data-no-drag":!0,"aria-label":"Close chat",className:he("flex size-7 items-center justify-center rounded transition-colors",t==="light"?"text-white/90 hover:bg-white/10 hover:text-white":"text-muted-foreground hover:bg-[color:var(--auxx-chat-surface-dark-default)] hover:text-[color:var(--auxx-chat-text-loud)]"),children:p(St,{className:"size-4","aria-hidden":"true"})})}function ef({viewKey:e,direction:t,children:n}){const o=D(e),r=D(n),[i,l]=z(null);o.current!==e&&(!i||i.key!==o.current)&&l({key:o.current,children:r.current,direction:t}),$e(()=>{o.current=e,r.current=n});const s=u=>{u.target===u.currentTarget&&l(null)};return p("div",{className:`auxx-chat-frame-transition ${i?"auxx-chat-frame-transition--animating":""}`,children:[i?p("div",{className:"auxx-chat-frame-layer auxx-chat-frame--exiting","data-direction":i.direction,onAnimationEnd:s,children:i.children},i.key):null,p("div",{className:`auxx-chat-frame-layer ${i?"auxx-chat-frame--entering":""}`,"data-direction":t,children:n},e)]})}const ll=[{id:"home",label:"Home",icon:Ea},{id:"messages",label:"Messages",icon:Oa},{id:"help",label:"Help",icon:ja}];function tf({activeTab:e,onChange:t,showHelp:n}){const o=n?ll:ll.filter(r=>r.id!=="help");return p("nav",{className:"auxx-chat-clip-bottom flex shrink-0 items-stretch justify-around divide-x divide-[color:var(--auxx-chat-hairline)] border-t border-[color:var(--auxx-chat-hairline)] bg-transparent","aria-label":"Widget sections",children:o.map(r=>{const i=r.id===e,l=r.icon;return p("button",{type:"button",className:he("flex flex-1 flex-col items-center justify-center gap-1 px-2 py-2 text-xs font-medium transition-colors",i?"text-primary":"text-muted-foreground hover:text-foreground"),onClick:()=>t(r.id),"aria-current":i?"page":void 0,children:[p(l,{className:"size-5","aria-hidden":"true"}),p("span",{children:r.label})]},r.id)})})}const sl=tt(null),nf=sl.Provider;function cn(){const e=Ke(sl);if(!e)throw new Error("useNavStack must be used within a NavStackProvider");return e}function Zo(e=[]){const[t,n]=z(e),o=B(u=>{n(h=>[...h,u])},[]),r=B(()=>{n(u=>u.length>0?u.slice(0,-1):u)},[]),i=B(u=>{n(h=>h.slice(0,Math.max(0,u+1)))},[]),l=B(()=>{n([])},[]),s=B(u=>{n(h=>h.length===0?[u]:[...h.slice(0,-1),u])},[]);return ve(()=>({stack:t,current:t.length>0?t[t.length-1]:null,isAtRoot:t.length===0,push:o,pop:r,navigateTo:i,reset:l,replace:s}),[t,o,r,i,l,s])}const of="auxx-chat-route:",rf=200;function cl(e){return`${of}${e}`}function af(e){try{const t=window.localStorage.getItem(cl(e));if(!t)return null;const n=JSON.parse(t);if(n.activeTab==="home"||n.activeTab==="messages"||n.activeTab==="help")return{activeTab:n.activeTab}}catch{}return null}function lf(e,t){try{window.localStorage.setItem(cl(e),JSON.stringify(t))}catch{}}function sf(e,t="home"){const[n,o]=z(()=>{var h;return typeof window>"u"?t:((h=af(e))==null?void 0:h.activeTab)??t}),r=Zo(),i=Zo(),l=Zo(),s=n==="home"?r:n==="messages"?i:l,u=D(null);return H(()=>{if(!(typeof window>"u"))return u.current!==null&&window.clearTimeout(u.current),u.current=window.setTimeout(()=>{lf(e,{activeTab:n})},rf),()=>{u.current!==null&&window.clearTimeout(u.current)}},[e,n]),ve(()=>({activeTab:n,setActiveTab:o,homeStack:r,messagesStack:i,helpStack:l,currentStack:s}),[n,r,i,l,s])}const cf="auxx-chat-read:";function dl(e){return`${cf}${e}`}function ul(e){try{const t=window.localStorage.getItem(dl(e));if(!t)return{};const n=JSON.parse(t);return n&&typeof n=="object"?n:{}}catch{return{}}}function df(e,t){try{window.localStorage.setItem(dl(e),JSON.stringify(t))}catch{}}function hl(e,t){return ul(e)[t]??null}function uf(e,t,n=new Date){const o=ul(e);o[t]=n.toISOString(),df(e,o)}function Tt(){var e;if(typeof window<"u"){const t=(e=window.__AUXX_CONFIG__)==null?void 0:e.apiBase;if(t)return t}return"http://localhost:3007"}function pl(){var t;if(typeof window>"u")return null;const e=(t=window.__AUXX_CONFIG__)==null?void 0:t.userJwt;return typeof e=="string"&&e.length>0?e:null}function hf(){var t;if(typeof window>"u")return null;const e=(t=window.__AUXX_CONFIG__)==null?void 0:t.attributes;return!e||typeof e!="object"?null:Object.keys(e).length>0?e:null}function pf(){var e;return typeof window>"u"?!1:((e=window.__AUXX_CONFIG__)==null?void 0:e.open)===!0}function mf(){var e;return typeof window>"u"?!1:((e=window.__AUXX_CONFIG__)==null?void 0:e.previewRounded)===!0}function ff(){var e;return typeof window>"u"?!1:((e=window.__AUXX_CONFIG__)==null?void 0:e.previewBypassAudience)===!0}function ml(){const e=pl(),t=hf();return!e&&!t?null:{...e?{auxx_user_jwt:e}:{},...t?{attributes:t}:{}}}const Qo=250;function bf(e){if(!e)return Qo;const t=/^#?([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(e.trim());if(!t)return Qo;let n=t[1];n.length===3&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]);const o=parseInt(n.slice(0,2),16)/255,r=parseInt(n.slice(2,4),16)/255,i=parseInt(n.slice(4,6),16)/255,l=C=>C<=.04045?C/12.92:((C+.055)/1.055)**2.4,s=l(o),u=l(r),h=l(i),f=.4122214708*s+.5363325363*u+.0514459929*h,m=.2119034982*s+.6806995451*u+.1073969566*h,g=.0883024619*s+.2817188376*u+.6299787005*h,_=Math.cbrt(f),k=Math.cbrt(m),x=Math.cbrt(g),b=1.9779984951*_-2.428592205*k+.4505937099*x,y=.0259040371*_+.7827717662*k-.808675766*x;if(Math.sqrt(b*b+y*y)<5e-4)return Qo;const N=Math.atan2(y,b)*180/Math.PI;return N<0?N+360:N}function gf(){return typeof window<"u"?window.matchMedia("(prefers-color-scheme: dark)").matches:!1}function _f({scriptTheme:e,adminTheme:t}){const n=e??t,[o,r]=z(gf);return H(()=>{if(n!=="system")return;const i=window.matchMedia("(prefers-color-scheme: dark)"),l=s=>r(s.matches);return i.addEventListener("change",l),()=>i.removeEventListener("change",l)},[n]),n==="light"?"light":n==="dark"||o?"dark":"light"}const vf="auxx_passport_chat_",xf=300*1e3;function er(e){return`${vf}${e}`}function fl(e){try{const t=window.localStorage.getItem(er(e));return t?JSON.parse(t):null}catch{return null}}function yf(e,t){try{window.localStorage.setItem(er(e),JSON.stringify(t))}catch{}}function wf(e){try{window.localStorage.removeItem(er(e))}catch{}}function kf(e){const t=new Date(e.expiresAt).getTime();return Number.isNaN(t)?!1:t-Date.now()>xf}function jf(e){const t=/^(\d+)([smhd])$/.exec(e.trim());if(!t)return new Date(Date.now()+3600*1e3).toISOString();const n=Number(t[1]),o=t[2],r=o==="s"?n*1e3:o==="m"?n*6e4:o==="h"?n*36e5:n*864e5;return new Date(Date.now()+r).toISOString()}async function Sf(e,t){const n=ml(),o=await fetch(`${Tt()}/api/chat/passport`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({channelId:e,visitorId:t??void 0,...n?{user_data:n}:{}})}),r=await o.json();if(!o.ok||!r.success)throw new Error("success"in r&&!r.success?r.error.message:`Passport request failed (${o.status})`);return{passport:r.data.passport,visitorId:r.data.visitorId,visitorParticipantId:r.data.visitorParticipantId,expiresAt:jf(r.data.expiresIn)}}let dn=null;async function Ut(e,t={}){if(t.force)wf(e);else{const n=fl(e);if(n&&kf(n))return n}return dn||(dn=(async()=>{try{const n=fl(e),o=await Sf(e,(n==null?void 0:n.visitorId)??null);return yf(e,o),o}finally{dn=null}})(),dn)}const Cf=Object.freeze(Object.defineProperty({__proto__:null,getChatPassport:Ut},Symbol.toStringTag,{value:"Module"}));async function Me(e,t,n={}){var g;const o=n.method??"GET",r=ml(),i=n.body!==void 0&&n.body!==null?typeof n.body=="object"?n.body:{value:n.body}:null,l=r&&o!=="GET"&&o!=="HEAD"?{...i??{},user_data:r}:i,s=l!==null,u=async _=>{let k=`${Tt()}${t}`;if(n.query){const x=new URLSearchParams(n.query).toString();x&&(k+=`?${x}`)}return fetch(k,{method:o,credentials:"include",headers:{Authorization:`Bearer ${_}`,...s?{"Content-Type":"application/json"}:{}},body:s?JSON.stringify(l):void 0,signal:n.signal})};let{passport:h}=await Ut(e),f=await u(h);f.status===401&&(h=(await Ut(e,{force:!0})).passport,f=await u(h));const m=await f.json();if(!f.ok||!m.success||m.data===void 0)throw new Error(((g=m.error)==null?void 0:g.message)??`Request failed (${f.status})`);return m.data}function Mt(e){return{initialize:t=>Me(e,"/api/chat/initialize",{method:"POST",body:t}),sendMessage:t=>{const{threadId:n,...o}=t;return Me(e,`/api/chat/threads/${n}/messages`,{method:"POST",body:o})},getAttachmentUrl:t=>Me(e,`/api/chat/attachments/${t}/url`,{method:"GET"}),getHistory:(t,n,o={})=>{const r={sessionId:n};return o.cursor&&(r.cursor=o.cursor),o.limit&&(r.limit=String(o.limit)),Me(e,`/api/chat/threads/${t}/messages`,{method:"GET",query:r})},setTyping:(t,n)=>Me(e,"/api/chat/typing",{method:"POST",body:{sessionId:t,isTyping:n}}),markDelivered:t=>Me(e,"/api/chat/receipts/delivered",{method:"POST",body:{messageIds:t}}),markRead:t=>Me(e,"/api/chat/receipts/read",{method:"POST",body:{messageIds:t}}),createThread:(t={})=>Me(e,"/api/chat/threads",{method:"POST",body:t}),getRecentThread:()=>Me(e,"/api/chat/threads/recent",{method:"GET"}),listThreads:(t=null)=>{const n={};return t&&(n.cursor=t),Me(e,"/api/chat/threads",{method:"GET",query:n})},getTranscript:t=>Me(e,`/api/chat/threads/${t}/transcript`,{method:"POST"}),updateVisitorInfo:t=>Me(e,"/api/chat/visitor-info",{method:"PATCH",body:t})}}async function Nf(e,t=null){const n=t?`?v=${encodeURIComponent(t)}`:"",o=await fetch(`${Tt()}/api/chat/config/${e}${n}`,{method:"GET",credentials:"omit",cache:t?"no-store":"default"});if(!o.ok)throw new Error(`Failed to load chat config (${o.status})`);return await o.json()}function Tf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tr={exports:{}};/*!
|
|
1062
1062
|
* Pusher JavaScript Library v8.4.0
|
|
1063
1063
|
* https://pusher.com/
|
|
1064
1064
|
*
|
|
1065
1065
|
* Copyright 2020, Pusher
|
|
1066
1066
|
* Released under the MIT licence.
|
|
1067
|
-
*/var fl;function Tf(){return fl||(fl=1,(function(e,t){(function(o,r){e.exports=r()})(window,function(){return(function(n){var o={};function r(i){if(o[i])return o[i].exports;var l=o[i]={i,l:!1,exports:{}};return n[i].call(l.exports,l,l.exports,r),l.l=!0,l.exports}return r.m=n,r.c=o,r.d=function(i,l,s){r.o(i,l)||Object.defineProperty(i,l,{enumerable:!0,get:s})},r.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,l){if(l&1&&(i=r(i)),l&8||l&4&&typeof i=="object"&&i&&i.__esModule)return i;var s=Object.create(null);if(r.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:i}),l&2&&typeof i!="string")for(var u in i)r.d(s,u,(function(h){return i[h]}).bind(null,u));return s},r.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(l,"a",l),l},r.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},r.p="",r(r.s=2)})([(function(n,o,r){var i=this&&this.__extends||(function(){var x=function(b,y){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var C in N)N.hasOwnProperty(C)&&(S[C]=N[C])},x(b,y)};return function(b,y){x(b,y);function S(){this.constructor=b}b.prototype=y===null?Object.create(y):(S.prototype=y.prototype,new S)}})();Object.defineProperty(o,"__esModule",{value:!0});var l=256,s=(function(){function x(b){b===void 0&&(b="="),this._paddingCharacter=b}return x.prototype.encodedLength=function(b){return this._paddingCharacter?(b+2)/3*4|0:(b*8+5)/6|0},x.prototype.encode=function(b){for(var y="",S=0;S<b.length-2;S+=3){var N=b[S]<<16|b[S+1]<<8|b[S+2];y+=this._encodeByte(N>>>18&63),y+=this._encodeByte(N>>>12&63),y+=this._encodeByte(N>>>6&63),y+=this._encodeByte(N>>>0&63)}var C=b.length-S;if(C>0){var N=b[S]<<16|(C===2?b[S+1]<<8:0);y+=this._encodeByte(N>>>18&63),y+=this._encodeByte(N>>>12&63),C===2?y+=this._encodeByte(N>>>6&63):y+=this._paddingCharacter||"",y+=this._paddingCharacter||""}return y},x.prototype.maxDecodedLength=function(b){return this._paddingCharacter?b/4*3|0:(b*6+7)/8|0},x.prototype.decodedLength=function(b){return this.maxDecodedLength(b.length-this._getPaddingLength(b))},x.prototype.decode=function(b){if(b.length===0)return new Uint8Array(0);for(var y=this._getPaddingLength(b),S=b.length-y,N=new Uint8Array(this.maxDecodedLength(S)),C=0,P=0,T=0,A=0,M=0,E=0,R=0;P<S-4;P+=4)A=this._decodeChar(b.charCodeAt(P+0)),M=this._decodeChar(b.charCodeAt(P+1)),E=this._decodeChar(b.charCodeAt(P+2)),R=this._decodeChar(b.charCodeAt(P+3)),N[C++]=A<<2|M>>>4,N[C++]=M<<4|E>>>2,N[C++]=E<<6|R,T|=A&l,T|=M&l,T|=E&l,T|=R&l;if(P<S-1&&(A=this._decodeChar(b.charCodeAt(P)),M=this._decodeChar(b.charCodeAt(P+1)),N[C++]=A<<2|M>>>4,T|=A&l,T|=M&l),P<S-2&&(E=this._decodeChar(b.charCodeAt(P+2)),N[C++]=M<<4|E>>>2,T|=E&l),P<S-3&&(R=this._decodeChar(b.charCodeAt(P+3)),N[C++]=E<<6|R,T|=R&l),T!==0)throw new Error("Base64Coder: incorrect characters for decoding");return N},x.prototype._encodeByte=function(b){var y=b;return y+=65,y+=25-b>>>8&6,y+=51-b>>>8&-75,y+=61-b>>>8&-15,y+=62-b>>>8&3,String.fromCharCode(y)},x.prototype._decodeChar=function(b){var y=l;return y+=(42-b&b-44)>>>8&-l+b-43+62,y+=(46-b&b-48)>>>8&-l+b-47+63,y+=(47-b&b-58)>>>8&-l+b-48+52,y+=(64-b&b-91)>>>8&-l+b-65+0,y+=(96-b&b-123)>>>8&-l+b-97+26,y},x.prototype._getPaddingLength=function(b){var y=0;if(this._paddingCharacter){for(var S=b.length-1;S>=0&&b[S]===this._paddingCharacter;S--)y++;if(b.length<4||y>2)throw new Error("Base64Coder: incorrect padding")}return y},x})();o.Coder=s;var u=new s;function h(x){return u.encode(x)}o.encode=h;function f(x){return u.decode(x)}o.decode=f;var m=(function(x){i(b,x);function b(){return x!==null&&x.apply(this,arguments)||this}return b.prototype._encodeByte=function(y){var S=y;return S+=65,S+=25-y>>>8&6,S+=51-y>>>8&-75,S+=61-y>>>8&-13,S+=62-y>>>8&49,String.fromCharCode(S)},b.prototype._decodeChar=function(y){var S=l;return S+=(44-y&y-46)>>>8&-l+y-45+62,S+=(94-y&y-96)>>>8&-l+y-95+63,S+=(47-y&y-58)>>>8&-l+y-48+52,S+=(64-y&y-91)>>>8&-l+y-65+0,S+=(96-y&y-123)>>>8&-l+y-97+26,S},b})(s);o.URLSafeCoder=m;var g=new m;function _(x){return g.encode(x)}o.encodeURLSafe=_;function k(x){return g.decode(x)}o.decodeURLSafe=k,o.encodedLength=function(x){return u.encodedLength(x)},o.maxDecodedLength=function(x){return u.maxDecodedLength(x)},o.decodedLength=function(x){return u.decodedLength(x)}}),(function(n,o,r){Object.defineProperty(o,"__esModule",{value:!0});var i="utf8: invalid string",l="utf8: invalid source encoding";function s(f){for(var m=new Uint8Array(u(f)),g=0,_=0;_<f.length;_++){var k=f.charCodeAt(_);k<128?m[g++]=k:k<2048?(m[g++]=192|k>>6,m[g++]=128|k&63):k<55296?(m[g++]=224|k>>12,m[g++]=128|k>>6&63,m[g++]=128|k&63):(_++,k=(k&1023)<<10,k|=f.charCodeAt(_)&1023,k+=65536,m[g++]=240|k>>18,m[g++]=128|k>>12&63,m[g++]=128|k>>6&63,m[g++]=128|k&63)}return m}o.encode=s;function u(f){for(var m=0,g=0;g<f.length;g++){var _=f.charCodeAt(g);if(_<128)m+=1;else if(_<2048)m+=2;else if(_<55296)m+=3;else if(_<=57343){if(g>=f.length-1)throw new Error(i);g++,m+=4}else throw new Error(i)}return m}o.encodedLength=u;function h(f){for(var m=[],g=0;g<f.length;g++){var _=f[g];if(_&128){var k=void 0;if(_<224){if(g>=f.length)throw new Error(l);var x=f[++g];if((x&192)!==128)throw new Error(l);_=(_&31)<<6|x&63,k=128}else if(_<240){if(g>=f.length-1)throw new Error(l);var x=f[++g],b=f[++g];if((x&192)!==128||(b&192)!==128)throw new Error(l);_=(_&15)<<12|(x&63)<<6|b&63,k=2048}else if(_<248){if(g>=f.length-2)throw new Error(l);var x=f[++g],b=f[++g],y=f[++g];if((x&192)!==128||(b&192)!==128||(y&192)!==128)throw new Error(l);_=(_&15)<<18|(x&63)<<12|(b&63)<<6|y&63,k=65536}else throw new Error(l);if(_<k||_>=55296&&_<=57343)throw new Error(l);if(_>=65536){if(_>1114111)throw new Error(l);_-=65536,m.push(String.fromCharCode(55296|_>>10)),_=56320|_&1023}}m.push(String.fromCharCode(_))}return m.join("")}o.decode=h}),(function(n,o,r){n.exports=r(3).default}),(function(n,o,r){r.r(o);class i{constructor(a,c){this.lastId=0,this.prefix=a,this.name=c}create(a){this.lastId++;var c=this.lastId,v=this.prefix+c,w=this.name+"["+c+"]",$=!1,L=function(){$||(a.apply(null,arguments),$=!0)};return this[c]=L,{number:c,id:v,name:w,callback:L}}remove(a){delete this[a.number]}}var l=new i("_pusher_script_","Pusher.ScriptReceivers"),s={VERSION:"8.4.0",PROTOCOL:7,wsPort:80,wssPort:443,wsPath:"",httpHost:"sockjs.pusher.com",httpPort:80,httpsPort:443,httpPath:"/pusher",stats_host:"stats.pusher.com",authEndpoint:"/pusher/auth",authTransport:"ajax",activityTimeout:12e4,pongTimeout:3e4,unavailableTimeout:1e4,userAuthentication:{endpoint:"/pusher/user-auth",transport:"ajax"},channelAuthorization:{endpoint:"/pusher/auth",transport:"ajax"},cdn_http:"http://js.pusher.com",cdn_https:"https://js.pusher.com",dependency_suffix:""},u=s;class h{constructor(a){this.options=a,this.receivers=a.receivers||l,this.loading={}}load(a,c,v){var w=this;if(w.loading[a]&&w.loading[a].length>0)w.loading[a].push(v);else{w.loading[a]=[v];var $=Q.createScriptRequest(w.getPath(a,c)),L=w.receivers.create(function(W){if(w.receivers.remove(L),w.loading[a]){var Z=w.loading[a];delete w.loading[a];for(var se=function(ye){ye||$.cleanup()},ue=0;ue<Z.length;ue++)Z[ue](W,se)}});$.send(L)}}getRoot(a){var c,v=Q.getDocument().location.protocol;return a&&a.useTLS||v==="https:"?c=this.options.cdn_https:c=this.options.cdn_http,c.replace(/\/*$/,"")+"/"+this.options.version}getPath(a,c){return this.getRoot(c)+"/"+a+this.options.suffix+".js"}}var f=new i("_pusher_dependencies","Pusher.DependenciesReceivers"),m=new h({cdn_http:u.cdn_http,cdn_https:u.cdn_https,version:u.VERSION,suffix:u.dependency_suffix,receivers:f});const g={baseUrl:"https://pusher.com",urls:{authenticationEndpoint:{path:"/docs/channels/server_api/authenticating_users"},authorizationEndpoint:{path:"/docs/channels/server_api/authorizing-users/"},javascriptQuickStart:{path:"/docs/javascript_quick_start"},triggeringClientEvents:{path:"/docs/client_api_guide/client_events#trigger-events"},encryptedChannelSupport:{fullUrl:"https://github.com/pusher/pusher-js/tree/cc491015371a4bde5743d1c87a0fbac0feb53195#encrypted-channel-support"}}};var k={buildLogSuffix:function(d){const a="See:",c=g.urls[d];if(!c)return"";let v;return c.fullUrl?v=c.fullUrl:c.path&&(v=g.baseUrl+c.path),v?`${a} ${v}`:""}},x;(function(d){d.UserAuthentication="user-authentication",d.ChannelAuthorization="channel-authorization"})(x||(x={}));class b extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class y extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class S extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class N extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class C extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class P extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class T extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class A extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class M extends Error{constructor(a,c){super(c),this.status=a,Object.setPrototypeOf(this,new.target.prototype)}}var R=function(d,a,c,v,w){const $=Q.createXHR();$.open("POST",c.endpoint,!0),$.setRequestHeader("Content-Type","application/x-www-form-urlencoded");for(var L in c.headers)$.setRequestHeader(L,c.headers[L]);if(c.headersProvider!=null){let W=c.headersProvider();for(var L in W)$.setRequestHeader(L,W[L])}return $.onreadystatechange=function(){if($.readyState===4)if($.status===200){let W,Z=!1;try{W=JSON.parse($.responseText),Z=!0}catch{w(new M(200,`JSON returned from ${v.toString()} endpoint was invalid, yet status code was 200. Data was: ${$.responseText}`),null)}Z&&w(null,W)}else{let W="";switch(v){case x.UserAuthentication:W=k.buildLogSuffix("authenticationEndpoint");break;case x.ChannelAuthorization:W=`Clients must be authorized to join private or presence channels. ${k.buildLogSuffix("authorizationEndpoint")}`;break}w(new M($.status,`Unable to retrieve auth string from ${v.toString()} endpoint - received status: ${$.status} from ${c.endpoint}. ${W}`),null)}},$.send(a),$};function G(d){return ae(de(d))}var I=String.fromCharCode,ie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=function(d){var a=d.charCodeAt(0);return a<128?d:a<2048?I(192|a>>>6)+I(128|a&63):I(224|a>>>12&15)+I(128|a>>>6&63)+I(128|a&63)},de=function(d){return d.replace(/[^\x00-\x7F]/g,le)},X=function(d){var a=[0,2,1][d.length%3],c=d.charCodeAt(0)<<16|(d.length>1?d.charCodeAt(1):0)<<8|(d.length>2?d.charCodeAt(2):0),v=[ie.charAt(c>>>18),ie.charAt(c>>>12&63),a>=2?"=":ie.charAt(c>>>6&63),a>=1?"=":ie.charAt(c&63)];return v.join("")},ae=window.btoa||function(d){return d.replace(/[\s\S]{1,3}/g,X)};class K{constructor(a,c,v,w){this.clear=c,this.timer=a(()=>{this.timer&&(this.timer=w(this.timer))},v)}isRunning(){return this.timer!==null}ensureAborted(){this.timer&&(this.clear(this.timer),this.timer=null)}}var F=K;function O(d){window.clearTimeout(d)}function ce(d){window.clearInterval(d)}class ge extends F{constructor(a,c){super(setTimeout,O,a,function(v){return c(),null})}}class Fe extends F{constructor(a,c){super(setInterval,ce,a,function(v){return c(),v})}}var ke={now(){return Date.now?Date.now():new Date().valueOf()},defer(d){return new ge(0,d)},method(d,...a){var c=Array.prototype.slice.call(arguments,1);return function(v){return v[d].apply(v,c.concat(arguments))}}},re=ke;function te(d,...a){for(var c=0;c<a.length;c++){var v=a[c];for(var w in v)v[w]&&v[w].constructor&&v[w].constructor===Object?d[w]=te(d[w]||{},v[w]):d[w]=v[w]}return d}function je(){for(var d=["Pusher"],a=0;a<arguments.length;a++)typeof arguments[a]=="string"?d.push(arguments[a]):d.push(mo(arguments[a]));return d.join(" : ")}function ze(d,a){var c=Array.prototype.indexOf;if(d===null)return-1;if(c&&d.indexOf===c)return d.indexOf(a);for(var v=0,w=d.length;v<w;v++)if(d[v]===a)return v;return-1}function Y(d,a){for(var c in d)Object.prototype.hasOwnProperty.call(d,c)&&a(d[c],c,d)}function Ie(d){var a=[];return Y(d,function(c,v){a.push(v)}),a}function Pe(d){var a=[];return Y(d,function(c){a.push(c)}),a}function Te(d,a,c){for(var v=0;v<d.length;v++)a.call(c||window,d[v],v,d)}function Ee(d,a){for(var c=[],v=0;v<d.length;v++)c.push(a(d[v],v,d,c));return c}function He(d,a){var c={};return Y(d,function(v,w){c[w]=a(v)}),c}function Rt(d,a){a=a||function(w){return!!w};for(var c=[],v=0;v<d.length;v++)a(d[v],v,d,c)&&c.push(d[v]);return c}function J(d,a){var c={};return Y(d,function(v,w){(a&&a(v,w,d,c)||v)&&(c[w]=v)}),c}function me(d){var a=[];return Y(d,function(c,v){a.push([v,c])}),a}function dt(d,a){for(var c=0;c<d.length;c++)if(a(d[c],c,d))return!0;return!1}function Be(d,a){for(var c=0;c<d.length;c++)if(!a(d[c],c,d))return!1;return!0}function Ue(d){return He(d,function(a){return typeof a=="object"&&(a=mo(a)),encodeURIComponent(G(a.toString()))})}function Gr(d){var a=J(d,function(v){return v!==void 0}),c=Ee(me(Ue(a)),re.method("join","=")).join("&");return c}function Gv(d){var a=[],c=[];return(function v(w,$){var L,W,Z;switch(typeof w){case"object":if(!w)return null;for(L=0;L<a.length;L+=1)if(a[L]===w)return{$ref:c[L]};if(a.push(w),c.push($),Object.prototype.toString.apply(w)==="[object Array]")for(Z=[],L=0;L<w.length;L+=1)Z[L]=v(w[L],$+"["+L+"]");else{Z={};for(W in w)Object.prototype.hasOwnProperty.call(w,W)&&(Z[W]=v(w[W],$+"["+JSON.stringify(W)+"]"))}return Z;case"number":case"string":case"boolean":return w}})(d,"$")}function mo(d){try{return JSON.stringify(d)}catch{return JSON.stringify(Gv(d))}}class Kv{constructor(){this.globalLog=a=>{window.console&&window.console.log&&window.console.log(a)}}debug(...a){this.log(this.globalLog,a)}warn(...a){this.log(this.globalLogWarn,a)}error(...a){this.log(this.globalLogError,a)}globalLogWarn(a){window.console&&window.console.warn?window.console.warn(a):this.globalLog(a)}globalLogError(a){window.console&&window.console.error?window.console.error(a):this.globalLogWarn(a)}log(a,...c){var v=je.apply(this,arguments);ri.log?ri.log(v):ri.logToConsole&&a.bind(this)(v)}}var _e=new Kv,Xv=function(d,a,c,v,w){(c.headers!==void 0||c.headersProvider!=null)&&_e.warn(`To send headers with the ${v.toString()} request, you must use AJAX, rather than JSONP.`);var $=d.nextAuthCallbackID.toString();d.nextAuthCallbackID++;var L=d.getDocument(),W=L.createElement("script");d.auth_callbacks[$]=function(ue){w(null,ue)};var Z="Pusher.auth_callbacks['"+$+"']";W.src=c.endpoint+"?callback="+encodeURIComponent(Z)+"&"+a;var se=L.getElementsByTagName("head")[0]||L.documentElement;se.insertBefore(W,se.firstChild)},Yv=Xv;class Jv{constructor(a){this.src=a}send(a){var c=this,v="Error loading "+c.src;c.script=document.createElement("script"),c.script.id=a.id,c.script.src=c.src,c.script.type="text/javascript",c.script.charset="UTF-8",c.script.addEventListener?(c.script.onerror=function(){a.callback(v)},c.script.onload=function(){a.callback(null)}):c.script.onreadystatechange=function(){(c.script.readyState==="loaded"||c.script.readyState==="complete")&&a.callback(null)},c.script.async===void 0&&document.attachEvent&&/opera/i.test(navigator.userAgent)?(c.errorScript=document.createElement("script"),c.errorScript.id=a.id+"_error",c.errorScript.text=a.name+"('"+v+"');",c.script.async=c.errorScript.async=!1):c.script.async=!0;var w=document.getElementsByTagName("head")[0];w.insertBefore(c.script,w.firstChild),c.errorScript&&w.insertBefore(c.errorScript,c.script.nextSibling)}cleanup(){this.script&&(this.script.onload=this.script.onerror=null,this.script.onreadystatechange=null),this.script&&this.script.parentNode&&this.script.parentNode.removeChild(this.script),this.errorScript&&this.errorScript.parentNode&&this.errorScript.parentNode.removeChild(this.errorScript),this.script=null,this.errorScript=null}}class Zv{constructor(a,c){this.url=a,this.data=c}send(a){if(!this.request){var c=Gr(this.data),v=this.url+"/"+a.number+"?"+c;this.request=Q.createScriptRequest(v),this.request.send(a)}}cleanup(){this.request&&this.request.cleanup()}}var Qv=function(d,a){return function(c,v){var w="http"+(a?"s":"")+"://",$=w+(d.host||d.options.host)+d.options.path,L=Q.createJSONPRequest($,c),W=Q.ScriptReceivers.create(function(Z,se){l.remove(W),L.cleanup(),se&&se.host&&(d.host=se.host),v&&v(Z,se)});L.send(W)}},ex={name:"jsonp",getAgent:Qv},tx=ex;function Kr(d,a,c){var v=d+(a.useTLS?"s":""),w=a.useTLS?a.hostTLS:a.hostNonTLS;return v+"://"+w+c}function Xr(d,a){var c="/app/"+d,v="?protocol="+u.PROTOCOL+"&client=js&version="+u.VERSION+(a?"&"+a:"");return c+v}var nx={getInitial:function(d,a){var c=(a.httpPath||"")+Xr(d,"flash=false");return Kr("ws",a,c)}},ox={getInitial:function(d,a){var c=(a.httpPath||"/pusher")+Xr(d);return Kr("http",a,c)}},rx={getInitial:function(d,a){return Kr("http",a,a.httpPath||"/pusher")},getPath:function(d,a){return Xr(d)}};class ix{constructor(){this._callbacks={}}get(a){return this._callbacks[Yr(a)]}add(a,c,v){var w=Yr(a);this._callbacks[w]=this._callbacks[w]||[],this._callbacks[w].push({fn:c,context:v})}remove(a,c,v){if(!a&&!c&&!v){this._callbacks={};return}var w=a?[Yr(a)]:Ie(this._callbacks);c||v?this.removeCallback(w,c,v):this.removeAllCallbacks(w)}removeCallback(a,c,v){Te(a,function(w){this._callbacks[w]=Rt(this._callbacks[w]||[],function($){return c&&c!==$.fn||v&&v!==$.context}),this._callbacks[w].length===0&&delete this._callbacks[w]},this)}removeAllCallbacks(a){Te(a,function(c){delete this._callbacks[c]},this)}}function Yr(d){return"_"+d}class ut{constructor(a){this.callbacks=new ix,this.global_callbacks=[],this.failThrough=a}bind(a,c,v){return this.callbacks.add(a,c,v),this}bind_global(a){return this.global_callbacks.push(a),this}unbind(a,c,v){return this.callbacks.remove(a,c,v),this}unbind_global(a){return a?(this.global_callbacks=Rt(this.global_callbacks||[],c=>c!==a),this):(this.global_callbacks=[],this)}unbind_all(){return this.unbind(),this.unbind_global(),this}emit(a,c,v){for(var w=0;w<this.global_callbacks.length;w++)this.global_callbacks[w](a,c);var $=this.callbacks.get(a),L=[];if(v?L.push(c,v):c&&L.push(c),$&&$.length>0)for(var w=0;w<$.length;w++)$[w].fn.apply($[w].context||window,L);else this.failThrough&&this.failThrough(a,c);return this}}class ax extends ut{constructor(a,c,v,w,$){super(),this.initialize=Q.transportConnectionInitializer,this.hooks=a,this.name=c,this.priority=v,this.key=w,this.options=$,this.state="new",this.timeline=$.timeline,this.activityTimeout=$.activityTimeout,this.id=this.timeline.generateUniqueID()}handlesActivityChecks(){return!!this.hooks.handlesActivityChecks}supportsPing(){return!!this.hooks.supportsPing}connect(){if(this.socket||this.state!=="initialized")return!1;var a=this.hooks.urls.getInitial(this.key,this.options);try{this.socket=this.hooks.getSocket(a,this.options)}catch(c){return re.defer(()=>{this.onError(c),this.changeState("closed")}),!1}return this.bindListeners(),_e.debug("Connecting",{transport:this.name,url:a}),this.changeState("connecting"),!0}close(){return this.socket?(this.socket.close(),!0):!1}send(a){return this.state==="open"?(re.defer(()=>{this.socket&&this.socket.send(a)}),!0):!1}ping(){this.state==="open"&&this.supportsPing()&&this.socket.ping()}onOpen(){this.hooks.beforeOpen&&this.hooks.beforeOpen(this.socket,this.hooks.urls.getPath(this.key,this.options)),this.changeState("open"),this.socket.onopen=void 0}onError(a){this.emit("error",{type:"WebSocketError",error:a}),this.timeline.error(this.buildTimelineMessage({error:a.toString()}))}onClose(a){a?this.changeState("closed",{code:a.code,reason:a.reason,wasClean:a.wasClean}):this.changeState("closed"),this.unbindListeners(),this.socket=void 0}onMessage(a){this.emit("message",a)}onActivity(){this.emit("activity")}bindListeners(){this.socket.onopen=()=>{this.onOpen()},this.socket.onerror=a=>{this.onError(a)},this.socket.onclose=a=>{this.onClose(a)},this.socket.onmessage=a=>{this.onMessage(a)},this.supportsPing()&&(this.socket.onactivity=()=>{this.onActivity()})}unbindListeners(){this.socket&&(this.socket.onopen=void 0,this.socket.onerror=void 0,this.socket.onclose=void 0,this.socket.onmessage=void 0,this.supportsPing()&&(this.socket.onactivity=void 0))}changeState(a,c){this.state=a,this.timeline.info(this.buildTimelineMessage({state:a,params:c})),this.emit(a,c)}buildTimelineMessage(a){return te({cid:this.id},a)}}class tn{constructor(a){this.hooks=a}isSupported(a){return this.hooks.isSupported(a)}createConnection(a,c,v,w){return new ax(this.hooks,a,c,v,w)}}var lx=new tn({urls:nx,handlesActivityChecks:!1,supportsPing:!1,isInitialized:function(){return!!Q.getWebSocketAPI()},isSupported:function(){return!!Q.getWebSocketAPI()},getSocket:function(d){return Q.createWebSocket(d)}}),Bc={urls:ox,handlesActivityChecks:!1,supportsPing:!0,isInitialized:function(){return!0}},Uc=te({getSocket:function(d){return Q.HTTPFactory.createStreamingSocket(d)}},Bc),qc=te({getSocket:function(d){return Q.HTTPFactory.createPollingSocket(d)}},Bc),Wc={isSupported:function(){return Q.isXHRSupported()}},sx=new tn(te({},Uc,Wc)),cx=new tn(te({},qc,Wc)),dx={ws:lx,xhr_streaming:sx,xhr_polling:cx},fo=dx,ux=new tn({file:"sockjs",urls:rx,handlesActivityChecks:!0,supportsPing:!1,isSupported:function(){return!0},isInitialized:function(){return window.SockJS!==void 0},getSocket:function(d,a){return new window.SockJS(d,null,{js_path:m.getPath("sockjs",{useTLS:a.useTLS}),ignore_null_origin:a.ignoreNullOrigin})},beforeOpen:function(d,a){d.send(JSON.stringify({path:a}))}}),Vc={isSupported:function(d){var a=Q.isXDRSupported(d.useTLS);return a}},hx=new tn(te({},Uc,Vc)),px=new tn(te({},qc,Vc));fo.xdr_streaming=hx,fo.xdr_polling=px,fo.sockjs=ux;var mx=fo;class fx extends ut{constructor(){super();var a=this;window.addEventListener!==void 0&&(window.addEventListener("online",function(){a.emit("online")},!1),window.addEventListener("offline",function(){a.emit("offline")},!1))}isOnline(){return window.navigator.onLine===void 0?!0:window.navigator.onLine}}var bx=new fx;class gx{constructor(a,c,v){this.manager=a,this.transport=c,this.minPingDelay=v.minPingDelay,this.maxPingDelay=v.maxPingDelay,this.pingDelay=void 0}createConnection(a,c,v,w){w=te({},w,{activityTimeout:this.pingDelay});var $=this.transport.createConnection(a,c,v,w),L=null,W=function(){$.unbind("open",W),$.bind("closed",Z),L=re.now()},Z=se=>{if($.unbind("closed",Z),se.code===1002||se.code===1003)this.manager.reportDeath();else if(!se.wasClean&&L){var ue=re.now()-L;ue<2*this.maxPingDelay&&(this.manager.reportDeath(),this.pingDelay=Math.max(ue/2,this.minPingDelay))}};return $.bind("open",W),$}isSupported(a){return this.manager.isAlive()&&this.transport.isSupported(a)}}const Gc={decodeMessage:function(d){try{var a=JSON.parse(d.data),c=a.data;if(typeof c=="string")try{c=JSON.parse(a.data)}catch{}var v={event:a.event,channel:a.channel,data:c};return a.user_id&&(v.user_id=a.user_id),v}catch(w){throw{type:"MessageParseError",error:w,data:d.data}}},encodeMessage:function(d){return JSON.stringify(d)},processHandshake:function(d){var a=Gc.decodeMessage(d);if(a.event==="pusher:connection_established"){if(!a.data.activity_timeout)throw"No activity timeout specified in handshake";return{action:"connected",id:a.data.socket_id,activityTimeout:a.data.activity_timeout*1e3}}else{if(a.event==="pusher:error")return{action:this.getCloseAction(a.data),error:this.getCloseError(a.data)};throw"Invalid handshake"}},getCloseAction:function(d){return d.code<4e3?d.code>=1002&&d.code<=1004?"backoff":null:d.code===4e3?"tls_only":d.code<4100?"refused":d.code<4200?"backoff":d.code<4300?"retry":"refused"},getCloseError:function(d){return d.code!==1e3&&d.code!==1001?{type:"PusherError",data:{code:d.code,message:d.reason||d.message}}:null}};var Ot=Gc;class _x extends ut{constructor(a,c){super(),this.id=a,this.transport=c,this.activityTimeout=c.activityTimeout,this.bindListeners()}handlesActivityChecks(){return this.transport.handlesActivityChecks()}send(a){return this.transport.send(a)}send_event(a,c,v){var w={event:a,data:c};return v&&(w.channel=v),_e.debug("Event sent",w),this.send(Ot.encodeMessage(w))}ping(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})}close(){this.transport.close()}bindListeners(){var a={message:v=>{var w;try{w=Ot.decodeMessage(v)}catch($){this.emit("error",{type:"MessageParseError",error:$,data:v.data})}if(w!==void 0){switch(_e.debug("Event recd",w),w.event){case"pusher:error":this.emit("error",{type:"PusherError",data:w.data});break;case"pusher:ping":this.emit("ping");break;case"pusher:pong":this.emit("pong");break}this.emit("message",w)}},activity:()=>{this.emit("activity")},error:v=>{this.emit("error",v)},closed:v=>{c(),v&&v.code&&this.handleCloseEvent(v),this.transport=null,this.emit("closed")}},c=()=>{Y(a,(v,w)=>{this.transport.unbind(w,v)})};Y(a,(v,w)=>{this.transport.bind(w,v)})}handleCloseEvent(a){var c=Ot.getCloseAction(a),v=Ot.getCloseError(a);v&&this.emit("error",v),c&&this.emit(c,{action:c,error:v})}}class vx{constructor(a,c){this.transport=a,this.callback=c,this.bindListeners()}close(){this.unbindListeners(),this.transport.close()}bindListeners(){this.onMessage=a=>{this.unbindListeners();var c;try{c=Ot.processHandshake(a)}catch(v){this.finish("error",{error:v}),this.transport.close();return}c.action==="connected"?this.finish("connected",{connection:new _x(c.id,this.transport),activityTimeout:c.activityTimeout}):(this.finish(c.action,{error:c.error}),this.transport.close())},this.onClosed=a=>{this.unbindListeners();var c=Ot.getCloseAction(a)||"backoff",v=Ot.getCloseError(a);this.finish(c,{error:v})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)}unbindListeners(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)}finish(a,c){this.callback(te({transport:this.transport,action:a},c))}}class xx{constructor(a,c){this.timeline=a,this.options=c||{}}send(a,c){this.timeline.isEmpty()||this.timeline.send(Q.TimelineTransport.getAgent(this,a),c)}}class Jr extends ut{constructor(a,c){super(function(v,w){_e.debug("No callbacks on "+a+" for "+v)}),this.name=a,this.pusher=c,this.subscribed=!1,this.subscriptionPending=!1,this.subscriptionCancelled=!1}authorize(a,c){return c(null,{auth:""})}trigger(a,c){if(a.indexOf("client-")!==0)throw new b("Event '"+a+"' does not start with 'client-'");if(!this.subscribed){var v=k.buildLogSuffix("triggeringClientEvents");_e.warn(`Client event triggered before channel 'subscription_succeeded' event . ${v}`)}return this.pusher.send_event(a,c,this.name)}disconnect(){this.subscribed=!1,this.subscriptionPending=!1}handleEvent(a){var c=a.event,v=a.data;if(c==="pusher_internal:subscription_succeeded")this.handleSubscriptionSucceededEvent(a);else if(c==="pusher_internal:subscription_count")this.handleSubscriptionCountEvent(a);else if(c.indexOf("pusher_internal:")!==0){var w={};this.emit(c,v,w)}}handleSubscriptionSucceededEvent(a){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",a.data)}handleSubscriptionCountEvent(a){a.data.subscription_count&&(this.subscriptionCount=a.data.subscription_count),this.emit("pusher:subscription_count",a.data)}subscribe(){this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,(a,c)=>{a?(this.subscriptionPending=!1,_e.error(a.toString()),this.emit("pusher:subscription_error",Object.assign({},{type:"AuthError",error:a.message},a instanceof M?{status:a.status}:{}))):this.pusher.send_event("pusher:subscribe",{auth:c.auth,channel_data:c.channel_data,channel:this.name})}))}unsubscribe(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})}cancelSubscription(){this.subscriptionCancelled=!0}reinstateSubscription(){this.subscriptionCancelled=!1}}class Zr extends Jr{authorize(a,c){return this.pusher.config.channelAuthorizer({channelName:this.name,socketId:a},c)}}class yx{constructor(){this.reset()}get(a){return Object.prototype.hasOwnProperty.call(this.members,a)?{id:a,info:this.members[a]}:null}each(a){Y(this.members,(c,v)=>{a(this.get(v))})}setMyID(a){this.myID=a}onSubscription(a){this.members=a.presence.hash,this.count=a.presence.count,this.me=this.get(this.myID)}addMember(a){return this.get(a.user_id)===null&&this.count++,this.members[a.user_id]=a.user_info,this.get(a.user_id)}removeMember(a){var c=this.get(a.user_id);return c&&(delete this.members[a.user_id],this.count--),c}reset(){this.members={},this.count=0,this.myID=null,this.me=null}}var wx=function(d,a,c,v){function w($){return $ instanceof c?$:new c(function(L){L($)})}return new(c||(c=Promise))(function($,L){function W(ue){try{se(v.next(ue))}catch(ye){L(ye)}}function Z(ue){try{se(v.throw(ue))}catch(ye){L(ye)}}function se(ue){ue.done?$(ue.value):w(ue.value).then(W,Z)}se((v=v.apply(d,a||[])).next())})};class kx extends Zr{constructor(a,c){super(a,c),this.members=new yx}authorize(a,c){super.authorize(a,(v,w)=>wx(this,void 0,void 0,function*(){if(!v)if(w=w,w.channel_data!=null){var $=JSON.parse(w.channel_data);this.members.setMyID($.user_id)}else if(yield this.pusher.user.signinDonePromise,this.pusher.user.user_data!=null)this.members.setMyID(this.pusher.user.user_data.id);else{let L=k.buildLogSuffix("authorizationEndpoint");_e.error(`Invalid auth response for channel '${this.name}', expected 'channel_data' field. ${L}, or the user should be signed in.`),c("Invalid auth response");return}c(v,w)}))}handleEvent(a){var c=a.event;if(c.indexOf("pusher_internal:")===0)this.handleInternalEvent(a);else{var v=a.data,w={};a.user_id&&(w.user_id=a.user_id),this.emit(c,v,w)}}handleInternalEvent(a){var c=a.event,v=a.data;switch(c){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(a);break;case"pusher_internal:subscription_count":this.handleSubscriptionCountEvent(a);break;case"pusher_internal:member_added":var w=this.members.addMember(v);this.emit("pusher:member_added",w);break;case"pusher_internal:member_removed":var $=this.members.removeMember(v);$&&this.emit("pusher:member_removed",$);break}}handleSubscriptionSucceededEvent(a){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(a.data),this.emit("pusher:subscription_succeeded",this.members))}disconnect(){this.members.reset(),super.disconnect()}}var jx=r(1),Qr=r(0);class Sx extends Zr{constructor(a,c,v){super(a,c),this.key=null,this.nacl=v}authorize(a,c){super.authorize(a,(v,w)=>{if(v){c(v,w);return}let $=w.shared_secret;if(!$){c(new Error(`No shared_secret key in auth payload for encrypted channel: ${this.name}`),null);return}this.key=Object(Qr.decode)($),delete w.shared_secret,c(null,w)})}trigger(a,c){throw new P("Client events are not currently supported for encrypted channels")}handleEvent(a){var c=a.event,v=a.data;if(c.indexOf("pusher_internal:")===0||c.indexOf("pusher:")===0){super.handleEvent(a);return}this.handleEncryptedEvent(c,v)}handleEncryptedEvent(a,c){if(!this.key){_e.debug("Received encrypted event before key has been retrieved from the authEndpoint");return}if(!c.ciphertext||!c.nonce){_e.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+c);return}let v=Object(Qr.decode)(c.ciphertext);if(v.length<this.nacl.secretbox.overheadLength){_e.error(`Expected encrypted event ciphertext length to be ${this.nacl.secretbox.overheadLength}, got: ${v.length}`);return}let w=Object(Qr.decode)(c.nonce);if(w.length<this.nacl.secretbox.nonceLength){_e.error(`Expected encrypted event nonce length to be ${this.nacl.secretbox.nonceLength}, got: ${w.length}`);return}let $=this.nacl.secretbox.open(v,w,this.key);if($===null){_e.debug("Failed to decrypt an event, probably because it was encrypted with a different key. Fetching a new key from the authEndpoint..."),this.authorize(this.pusher.connection.socket_id,(L,W)=>{if(L){_e.error(`Failed to make a request to the authEndpoint: ${W}. Unable to fetch new key, so dropping encrypted event`);return}if($=this.nacl.secretbox.open(v,w,this.key),$===null){_e.error("Failed to decrypt event with new key. Dropping encrypted event");return}this.emit(a,this.getDataToEmit($))});return}this.emit(a,this.getDataToEmit($))}getDataToEmit(a){let c=Object(jx.decode)(a);try{return JSON.parse(c)}catch{return c}}}class Cx extends ut{constructor(a,c){super(),this.state="initialized",this.connection=null,this.key=a,this.options=c,this.timeline=this.options.timeline,this.usingTLS=this.options.useTLS,this.errorCallbacks=this.buildErrorCallbacks(),this.connectionCallbacks=this.buildConnectionCallbacks(this.errorCallbacks),this.handshakeCallbacks=this.buildHandshakeCallbacks(this.errorCallbacks);var v=Q.getNetwork();v.bind("online",()=>{this.timeline.info({netinfo:"online"}),(this.state==="connecting"||this.state==="unavailable")&&this.retryIn(0)}),v.bind("offline",()=>{this.timeline.info({netinfo:"offline"}),this.connection&&this.sendActivityCheck()}),this.updateStrategy()}connect(){if(!(this.connection||this.runner)){if(!this.strategy.isSupported()){this.updateState("failed");return}this.updateState("connecting"),this.startConnecting(),this.setUnavailableTimer()}}send(a){return this.connection?this.connection.send(a):!1}send_event(a,c,v){return this.connection?this.connection.send_event(a,c,v):!1}disconnect(){this.disconnectInternally(),this.updateState("disconnected")}isUsingTLS(){return this.usingTLS}startConnecting(){var a=(c,v)=>{c?this.runner=this.strategy.connect(0,a):v.action==="error"?(this.emit("error",{type:"HandshakeError",error:v.error}),this.timeline.error({handshakeError:v.error})):(this.abortConnecting(),this.handshakeCallbacks[v.action](v))};this.runner=this.strategy.connect(0,a)}abortConnecting(){this.runner&&(this.runner.abort(),this.runner=null)}disconnectInternally(){if(this.abortConnecting(),this.clearRetryTimer(),this.clearUnavailableTimer(),this.connection){var a=this.abandonConnection();a.close()}}updateStrategy(){this.strategy=this.options.getStrategy({key:this.key,timeline:this.timeline,useTLS:this.usingTLS})}retryIn(a){this.timeline.info({action:"retry",delay:a}),a>0&&this.emit("connecting_in",Math.round(a/1e3)),this.retryTimer=new ge(a||0,()=>{this.disconnectInternally(),this.connect()})}clearRetryTimer(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)}setUnavailableTimer(){this.unavailableTimer=new ge(this.options.unavailableTimeout,()=>{this.updateState("unavailable")})}clearUnavailableTimer(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()}sendActivityCheck(){this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new ge(this.options.pongTimeout,()=>{this.timeline.error({pong_timed_out:this.options.pongTimeout}),this.retryIn(0)})}resetActivityCheck(){this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new ge(this.activityTimeout,()=>{this.sendActivityCheck()}))}stopActivityCheck(){this.activityTimer&&this.activityTimer.ensureAborted()}buildConnectionCallbacks(a){return te({},a,{message:c=>{this.resetActivityCheck(),this.emit("message",c)},ping:()=>{this.send_event("pusher:pong",{})},activity:()=>{this.resetActivityCheck()},error:c=>{this.emit("error",c)},closed:()=>{this.abandonConnection(),this.shouldRetry()&&this.retryIn(1e3)}})}buildHandshakeCallbacks(a){return te({},a,{connected:c=>{this.activityTimeout=Math.min(this.options.activityTimeout,c.activityTimeout,c.connection.activityTimeout||1/0),this.clearUnavailableTimer(),this.setConnection(c.connection),this.socket_id=this.connection.id,this.updateState("connected",{socket_id:this.socket_id})}})}buildErrorCallbacks(){let a=c=>v=>{v.error&&this.emit("error",{type:"WebSocketError",error:v.error}),c(v)};return{tls_only:a(()=>{this.usingTLS=!0,this.updateStrategy(),this.retryIn(0)}),refused:a(()=>{this.disconnect()}),backoff:a(()=>{this.retryIn(1e3)}),retry:a(()=>{this.retryIn(0)})}}setConnection(a){this.connection=a;for(var c in this.connectionCallbacks)this.connection.bind(c,this.connectionCallbacks[c]);this.resetActivityCheck()}abandonConnection(){if(this.connection){this.stopActivityCheck();for(var a in this.connectionCallbacks)this.connection.unbind(a,this.connectionCallbacks[a]);var c=this.connection;return this.connection=null,c}}updateState(a,c){var v=this.state;if(this.state=a,v!==a){var w=a;w==="connected"&&(w+=" with new socket ID "+c.socket_id),_e.debug("State changed",v+" -> "+w),this.timeline.info({state:a,params:c}),this.emit("state_change",{previous:v,current:a}),this.emit(a,c)}}shouldRetry(){return this.state==="connecting"||this.state==="connected"}}class Nx{constructor(){this.channels={}}add(a,c){return this.channels[a]||(this.channels[a]=Tx(a,c)),this.channels[a]}all(){return Pe(this.channels)}find(a){return this.channels[a]}remove(a){var c=this.channels[a];return delete this.channels[a],c}disconnect(){Y(this.channels,function(a){a.disconnect()})}}function Tx(d,a){if(d.indexOf("private-encrypted-")===0){if(a.config.nacl)return ht.createEncryptedChannel(d,a,a.config.nacl);let c="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",v=k.buildLogSuffix("encryptedChannelSupport");throw new P(`${c}. ${v}`)}else{if(d.indexOf("private-")===0)return ht.createPrivateChannel(d,a);if(d.indexOf("presence-")===0)return ht.createPresenceChannel(d,a);if(d.indexOf("#")===0)throw new y('Cannot create a channel with name "'+d+'".');return ht.createChannel(d,a)}}var Mx={createChannels(){return new Nx},createConnectionManager(d,a){return new Cx(d,a)},createChannel(d,a){return new Jr(d,a)},createPrivateChannel(d,a){return new Zr(d,a)},createPresenceChannel(d,a){return new kx(d,a)},createEncryptedChannel(d,a,c){return new Sx(d,a,c)},createTimelineSender(d,a){return new xx(d,a)},createHandshake(d,a){return new vx(d,a)},createAssistantToTheTransportManager(d,a,c){return new gx(d,a,c)}},ht=Mx;class Kc{constructor(a){this.options=a||{},this.livesLeft=this.options.lives||1/0}getAssistant(a){return ht.createAssistantToTheTransportManager(this,a,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})}isAlive(){return this.livesLeft>0}reportDeath(){this.livesLeft-=1}}class Lt{constructor(a,c){this.strategies=a,this.loop=!!c.loop,this.failFast=!!c.failFast,this.timeout=c.timeout,this.timeoutLimit=c.timeoutLimit}isSupported(){return dt(this.strategies,re.method("isSupported"))}connect(a,c){var v=this.strategies,w=0,$=this.timeout,L=null,W=(Z,se)=>{se?c(null,se):(w=w+1,this.loop&&(w=w%v.length),w<v.length?($&&($=$*2,this.timeoutLimit&&($=Math.min($,this.timeoutLimit))),L=this.tryStrategy(v[w],a,{timeout:$,failFast:this.failFast},W)):c(!0))};return L=this.tryStrategy(v[w],a,{timeout:$,failFast:this.failFast},W),{abort:function(){L.abort()},forceMinPriority:function(Z){a=Z,L&&L.forceMinPriority(Z)}}}tryStrategy(a,c,v,w){var $=null,L=null;return v.timeout>0&&($=new ge(v.timeout,function(){L.abort(),w(!0)})),L=a.connect(c,function(W,Z){W&&$&&$.isRunning()&&!v.failFast||($&&$.ensureAborted(),w(W,Z))}),{abort:function(){$&&$.ensureAborted(),L.abort()},forceMinPriority:function(W){L.forceMinPriority(W)}}}}class ei{constructor(a){this.strategies=a}isSupported(){return dt(this.strategies,re.method("isSupported"))}connect(a,c){return Ax(this.strategies,a,function(v,w){return function($,L){if(w[v].error=$,$){Px(w)&&c(!0);return}Te(w,function(W){W.forceMinPriority(L.transport.priority)}),c(null,L)}})}}function Ax(d,a,c){var v=Ee(d,function(w,$,L,W){return w.connect(a,c($,W))});return{abort:function(){Te(v,Ex)},forceMinPriority:function(w){Te(v,function($){$.forceMinPriority(w)})}}}function Px(d){return Be(d,function(a){return!!a.error})}function Ex(d){!d.error&&!d.aborted&&(d.abort(),d.aborted=!0)}class $x{constructor(a,c,v){this.strategy=a,this.transports=c,this.ttl=v.ttl||1800*1e3,this.usingTLS=v.useTLS,this.timeline=v.timeline}isSupported(){return this.strategy.isSupported()}connect(a,c){var v=this.usingTLS,w=Rx(v),$=w&&w.cacheSkipCount?w.cacheSkipCount:0,L=[this.strategy];if(w&&w.timestamp+this.ttl>=re.now()){var W=this.transports[w.transport];W&&(["ws","wss"].includes(w.transport)||$>3?(this.timeline.info({cached:!0,transport:w.transport,latency:w.latency}),L.push(new Lt([W],{timeout:w.latency*2+1e3,failFast:!0}))):$++)}var Z=re.now(),se=L.pop().connect(a,function ue(ye,_o){ye?(Xc(v),L.length>0?(Z=re.now(),se=L.pop().connect(a,ue)):c(ye)):(Ox(v,_o.transport.name,re.now()-Z,$),c(null,_o))});return{abort:function(){se.abort()},forceMinPriority:function(ue){a=ue,se&&se.forceMinPriority(ue)}}}}function ti(d){return"pusherTransport"+(d?"TLS":"NonTLS")}function Rx(d){var a=Q.getLocalStorage();if(a)try{var c=a[ti(d)];if(c)return JSON.parse(c)}catch{Xc(d)}return null}function Ox(d,a,c,v){var w=Q.getLocalStorage();if(w)try{w[ti(d)]=mo({timestamp:re.now(),transport:a,latency:c,cacheSkipCount:v})}catch{}}function Xc(d){var a=Q.getLocalStorage();if(a)try{delete a[ti(d)]}catch{}}class bo{constructor(a,{delay:c}){this.strategy=a,this.options={delay:c}}isSupported(){return this.strategy.isSupported()}connect(a,c){var v=this.strategy,w,$=new ge(this.options.delay,function(){w=v.connect(a,c)});return{abort:function(){$.ensureAborted(),w&&w.abort()},forceMinPriority:function(L){a=L,w&&w.forceMinPriority(L)}}}}class kn{constructor(a,c,v){this.test=a,this.trueBranch=c,this.falseBranch=v}isSupported(){var a=this.test()?this.trueBranch:this.falseBranch;return a.isSupported()}connect(a,c){var v=this.test()?this.trueBranch:this.falseBranch;return v.connect(a,c)}}class Lx{constructor(a){this.strategy=a}isSupported(){return this.strategy.isSupported()}connect(a,c){var v=this.strategy.connect(a,function(w,$){$&&v.abort(),c(w,$)});return v}}function jn(d){return function(){return d.isSupported()}}var zx=function(d,a,c){var v={};function w(ad,Ly,zy,Iy,Dy){var ld=c(d,ad,Ly,zy,Iy,Dy);return v[ad]=ld,ld}var $=Object.assign({},a,{hostNonTLS:d.wsHost+":"+d.wsPort,hostTLS:d.wsHost+":"+d.wssPort,httpPath:d.wsPath}),L=Object.assign({},$,{useTLS:!0}),W=Object.assign({},a,{hostNonTLS:d.httpHost+":"+d.httpPort,hostTLS:d.httpHost+":"+d.httpsPort,httpPath:d.httpPath}),Z={loop:!0,timeout:15e3,timeoutLimit:6e4},se=new Kc({minPingDelay:1e4,maxPingDelay:d.activityTimeout}),ue=new Kc({lives:2,minPingDelay:1e4,maxPingDelay:d.activityTimeout}),ye=w("ws","ws",3,$,se),_o=w("wss","ws",3,L,se),Py=w("sockjs","sockjs",1,W),ed=w("xhr_streaming","xhr_streaming",1,W,ue),Ey=w("xdr_streaming","xdr_streaming",1,W,ue),td=w("xhr_polling","xhr_polling",1,W),$y=w("xdr_polling","xdr_polling",1,W),nd=new Lt([ye],Z),Ry=new Lt([_o],Z),Oy=new Lt([Py],Z),od=new Lt([new kn(jn(ed),ed,Ey)],Z),rd=new Lt([new kn(jn(td),td,$y)],Z),id=new Lt([new kn(jn(od),new ei([od,new bo(rd,{delay:4e3})]),rd)],Z),ii=new kn(jn(id),id,Oy),ai;return a.useTLS?ai=new ei([nd,new bo(ii,{delay:2e3})]):ai=new ei([nd,new bo(Ry,{delay:2e3}),new bo(ii,{delay:5e3})]),new $x(new Lx(new kn(jn(ye),ai,ii)),v,{ttl:18e5,timeline:a.timeline,useTLS:a.useTLS})},Ix=zx,Dx=(function(){var d=this;d.timeline.info(d.buildTimelineMessage({transport:d.name+(d.options.useTLS?"s":"")})),d.hooks.isInitialized()?d.changeState("initialized"):d.hooks.file?(d.changeState("initializing"),m.load(d.hooks.file,{useTLS:d.options.useTLS},function(a,c){d.hooks.isInitialized()?(d.changeState("initialized"),c(!0)):(a&&d.onError(a),d.onClose(),c(!1))})):d.onClose()}),Fx={getRequest:function(d){var a=new window.XDomainRequest;return a.ontimeout=function(){d.emit("error",new S),d.close()},a.onerror=function(c){d.emit("error",c),d.close()},a.onprogress=function(){a.responseText&&a.responseText.length>0&&d.onChunk(200,a.responseText)},a.onload=function(){a.responseText&&a.responseText.length>0&&d.onChunk(200,a.responseText),d.emit("finished",200),d.close()},a},abortRequest:function(d){d.ontimeout=d.onerror=d.onprogress=d.onload=null,d.abort()}},Hx=Fx;const Bx=256*1024;class Ux extends ut{constructor(a,c,v){super(),this.hooks=a,this.method=c,this.url=v}start(a){this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=()=>{this.close()},Q.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(a)}close(){this.unloader&&(Q.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)}onChunk(a,c){for(;;){var v=this.advanceBuffer(c);if(v)this.emit("chunk",{status:a,data:v});else break}this.isBufferTooLong(c)&&this.emit("buffer_too_long")}advanceBuffer(a){var c=a.slice(this.position),v=c.indexOf(`
|
|
1068
|
-
`);return v!==-1?(this.position+=v+1,c.slice(0,v)):null}isBufferTooLong(a){return this.position===a.length&&a.length>Bx}}var ni;(function(d){d[d.CONNECTING=0]="CONNECTING",d[d.OPEN=1]="OPEN",d[d.CLOSED=3]="CLOSED"})(ni||(ni={}));var zt=ni,qx=1;class Wx{constructor(a,c){this.hooks=a,this.session=Jc(1e3)+"/"+Xx(8),this.location=Vx(c),this.readyState=zt.CONNECTING,this.openStream()}send(a){return this.sendRaw(JSON.stringify([a]))}ping(){this.hooks.sendHeartbeat(this)}close(a,c){this.onClose(a,c,!0)}sendRaw(a){if(this.readyState===zt.OPEN)try{return Q.createSocketRequest("POST",Yc(Gx(this.location,this.session))).start(a),!0}catch{return!1}else return!1}reconnect(){this.closeStream(),this.openStream()}onClose(a,c,v){this.closeStream(),this.readyState=zt.CLOSED,this.onclose&&this.onclose({code:a,reason:c,wasClean:v})}onChunk(a){if(a.status===200){this.readyState===zt.OPEN&&this.onActivity();var c,v=a.data.slice(0,1);switch(v){case"o":c=JSON.parse(a.data.slice(1)||"{}"),this.onOpen(c);break;case"a":c=JSON.parse(a.data.slice(1)||"[]");for(var w=0;w<c.length;w++)this.onEvent(c[w]);break;case"m":c=JSON.parse(a.data.slice(1)||"null"),this.onEvent(c);break;case"h":this.hooks.onHeartbeat(this);break;case"c":c=JSON.parse(a.data.slice(1)||"[]"),this.onClose(c[0],c[1],!0);break}}}onOpen(a){this.readyState===zt.CONNECTING?(a&&a.hostname&&(this.location.base=Kx(this.location.base,a.hostname)),this.readyState=zt.OPEN,this.onopen&&this.onopen()):this.onClose(1006,"Server lost session",!0)}onEvent(a){this.readyState===zt.OPEN&&this.onmessage&&this.onmessage({data:a})}onActivity(){this.onactivity&&this.onactivity()}onError(a){this.onerror&&this.onerror(a)}openStream(){this.stream=Q.createSocketRequest("POST",Yc(this.hooks.getReceiveURL(this.location,this.session))),this.stream.bind("chunk",a=>{this.onChunk(a)}),this.stream.bind("finished",a=>{this.hooks.onFinished(this,a)}),this.stream.bind("buffer_too_long",()=>{this.reconnect()});try{this.stream.start()}catch(a){re.defer(()=>{this.onError(a),this.onClose(1006,"Could not start streaming",!1)})}}closeStream(){this.stream&&(this.stream.unbind_all(),this.stream.close(),this.stream=null)}}function Vx(d){var a=/([^\?]*)\/*(\??.*)/.exec(d);return{base:a[1],queryString:a[2]}}function Gx(d,a){return d.base+"/"+a+"/xhr_send"}function Yc(d){var a=d.indexOf("?")===-1?"?":"&";return d+a+"t="+ +new Date+"&n="+qx++}function Kx(d,a){var c=/(https?:\/\/)([^\/:]+)((\/|:)?.*)/.exec(d);return c[1]+a+c[3]}function Jc(d){return Q.randomInt(d)}function Xx(d){for(var a=[],c=0;c<d;c++)a.push(Jc(32).toString(32));return a.join("")}var Yx=Wx,Jx={getReceiveURL:function(d,a){return d.base+"/"+a+"/xhr_streaming"+d.queryString},onHeartbeat:function(d){d.sendRaw("[]")},sendHeartbeat:function(d){d.sendRaw("[]")},onFinished:function(d,a){d.onClose(1006,"Connection interrupted ("+a+")",!1)}},Zx=Jx,Qx={getReceiveURL:function(d,a){return d.base+"/"+a+"/xhr"+d.queryString},onHeartbeat:function(){},sendHeartbeat:function(d){d.sendRaw("[]")},onFinished:function(d,a){a===200?d.reconnect():d.onClose(1006,"Connection interrupted ("+a+")",!1)}},ey=Qx,ty={getRequest:function(d){var a=Q.getXHRAPI(),c=new a;return c.onreadystatechange=c.onprogress=function(){switch(c.readyState){case 3:c.responseText&&c.responseText.length>0&&d.onChunk(c.status,c.responseText);break;case 4:c.responseText&&c.responseText.length>0&&d.onChunk(c.status,c.responseText),d.emit("finished",c.status),d.close();break}},c},abortRequest:function(d){d.onreadystatechange=null,d.abort()}},ny=ty,oy={createStreamingSocket(d){return this.createSocket(Zx,d)},createPollingSocket(d){return this.createSocket(ey,d)},createSocket(d,a){return new Yx(d,a)},createXHR(d,a){return this.createRequest(ny,d,a)},createRequest(d,a,c){return new Ux(d,a,c)}},Zc=oy;Zc.createXDR=function(d,a){return this.createRequest(Hx,d,a)};var ry=Zc,iy={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:l,DependenciesReceivers:f,getDefaultStrategy:Ix,Transports:mx,transportConnectionInitializer:Dx,HTTPFactory:ry,TimelineTransport:tx,getXHRAPI(){return window.XMLHttpRequest},getWebSocketAPI(){return window.WebSocket||window.MozWebSocket},setup(d){window.Pusher=d;var a=()=>{this.onDocumentBody(d.ready)};window.JSON?a():m.load("json2",{},a)},getDocument(){return document},getProtocol(){return this.getDocument().location.protocol},getAuthorizers(){return{ajax:R,jsonp:Yv}},onDocumentBody(d){document.body?d():setTimeout(()=>{this.onDocumentBody(d)},0)},createJSONPRequest(d,a){return new Zv(d,a)},createScriptRequest(d){return new Jv(d)},getLocalStorage(){try{return window.localStorage}catch{return}},createXHR(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest(){var d=this.getXHRAPI();return new d},createMicrosoftXHR(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork(){return bx},createWebSocket(d){var a=this.getWebSocketAPI();return new a(d)},createSocketRequest(d,a){if(this.isXHRSupported())return this.HTTPFactory.createXHR(d,a);if(this.isXDRSupported(a.indexOf("https:")===0))return this.HTTPFactory.createXDR(d,a);throw"Cross-origin HTTP requests are not supported"},isXHRSupported(){var d=this.getXHRAPI();return!!d&&new d().withCredentials!==void 0},isXDRSupported(d){var a=d?"https:":"http:",c=this.getProtocol();return!!window.XDomainRequest&&c===a},addUnloadListener(d){window.addEventListener!==void 0?window.addEventListener("unload",d,!1):window.attachEvent!==void 0&&window.attachEvent("onunload",d)},removeUnloadListener(d){window.addEventListener!==void 0?window.removeEventListener("unload",d,!1):window.detachEvent!==void 0&&window.detachEvent("onunload",d)},randomInt(d){return Math.floor(function(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]/Math.pow(2,32)}()*d)}},Q=iy,oi;(function(d){d[d.ERROR=3]="ERROR",d[d.INFO=6]="INFO",d[d.DEBUG=7]="DEBUG"})(oi||(oi={}));var go=oi;class ay{constructor(a,c,v){this.key=a,this.session=c,this.events=[],this.options=v||{},this.sent=0,this.uniqueID=0}log(a,c){a<=this.options.level&&(this.events.push(te({},c,{timestamp:re.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())}error(a){this.log(go.ERROR,a)}info(a){this.log(go.INFO,a)}debug(a){this.log(go.DEBUG,a)}isEmpty(){return this.events.length===0}send(a,c){var v=te({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],a(v,(w,$)=>{w||this.sent++,c&&c(w,$)}),!0}generateUniqueID(){return this.uniqueID++,this.uniqueID}}class ly{constructor(a,c,v,w){this.name=a,this.priority=c,this.transport=v,this.options=w||{}}isSupported(){return this.transport.isSupported({useTLS:this.options.useTLS})}connect(a,c){if(this.isSupported()){if(this.priority<a)return Qc(new N,c)}else return Qc(new A,c);var v=!1,w=this.transport.createConnection(this.name,this.priority,this.options.key,this.options),$=null,L=function(){w.unbind("initialized",L),w.connect()},W=function(){$=ht.createHandshake(w,function(ye){v=!0,ue(),c(null,ye)})},Z=function(ye){ue(),c(ye)},se=function(){ue();var ye;ye=mo(w),c(new C(ye))},ue=function(){w.unbind("initialized",L),w.unbind("open",W),w.unbind("error",Z),w.unbind("closed",se)};return w.bind("initialized",L),w.bind("open",W),w.bind("error",Z),w.bind("closed",se),w.initialize(),{abort:()=>{v||(ue(),$?$.close():w.close())},forceMinPriority:ye=>{v||this.priority<ye&&($?$.close():w.close())}}}}function Qc(d,a){return re.defer(function(){a(d)}),{abort:function(){},forceMinPriority:function(){}}}const{Transports:sy}=Q;var cy=function(d,a,c,v,w,$){var L=sy[c];if(!L)throw new T(c);var W=(!d.enabledTransports||ze(d.enabledTransports,a)!==-1)&&(!d.disabledTransports||ze(d.disabledTransports,a)===-1),Z;return W?(w=Object.assign({ignoreNullOrigin:d.ignoreNullOrigin},w),Z=new ly(a,v,$?$.getAssistant(L):L,w)):Z=dy,Z},dy={isSupported:function(){return!1},connect:function(d,a){var c=re.defer(function(){a(new A)});return{abort:function(){c.ensureAborted()},forceMinPriority:function(){}}}};function uy(d){if(d==null)throw"You must pass an options object";if(d.cluster==null)throw"Options object must provide a cluster";"disableStats"in d&&_e.warn("The disableStats option is deprecated in favor of enableStats")}const hy=(d,a)=>{var c="socket_id="+encodeURIComponent(d.socketId);for(var v in a.params)c+="&"+encodeURIComponent(v)+"="+encodeURIComponent(a.params[v]);if(a.paramsProvider!=null){let w=a.paramsProvider();for(var v in w)c+="&"+encodeURIComponent(v)+"="+encodeURIComponent(w[v])}return c};var py=d=>{if(typeof Q.getAuthorizers()[d.transport]>"u")throw`'${d.transport}' is not a recognized auth transport`;return(a,c)=>{const v=hy(a,d);Q.getAuthorizers()[d.transport](Q,v,d,x.UserAuthentication,c)}};const my=(d,a)=>{var c="socket_id="+encodeURIComponent(d.socketId);c+="&channel_name="+encodeURIComponent(d.channelName);for(var v in a.params)c+="&"+encodeURIComponent(v)+"="+encodeURIComponent(a.params[v]);if(a.paramsProvider!=null){let w=a.paramsProvider();for(var v in w)c+="&"+encodeURIComponent(v)+"="+encodeURIComponent(w[v])}return c};var fy=d=>{if(typeof Q.getAuthorizers()[d.transport]>"u")throw`'${d.transport}' is not a recognized auth transport`;return(a,c)=>{const v=my(a,d);Q.getAuthorizers()[d.transport](Q,v,d,x.ChannelAuthorization,c)}};const by=(d,a,c)=>{const v={authTransport:a.transport,authEndpoint:a.endpoint,auth:{params:a.params,headers:a.headers}};return(w,$)=>{const L=d.channel(w.channelName);c(L,v).authorize(w.socketId,$)}};function gy(d,a){let c={activityTimeout:d.activityTimeout||u.activityTimeout,cluster:d.cluster,httpPath:d.httpPath||u.httpPath,httpPort:d.httpPort||u.httpPort,httpsPort:d.httpsPort||u.httpsPort,pongTimeout:d.pongTimeout||u.pongTimeout,statsHost:d.statsHost||u.stats_host,unavailableTimeout:d.unavailableTimeout||u.unavailableTimeout,wsPath:d.wsPath||u.wsPath,wsPort:d.wsPort||u.wsPort,wssPort:d.wssPort||u.wssPort,enableStats:wy(d),httpHost:_y(d),useTLS:yy(d),wsHost:vy(d),userAuthenticator:ky(d),channelAuthorizer:Sy(d,a)};return"disabledTransports"in d&&(c.disabledTransports=d.disabledTransports),"enabledTransports"in d&&(c.enabledTransports=d.enabledTransports),"ignoreNullOrigin"in d&&(c.ignoreNullOrigin=d.ignoreNullOrigin),"timelineParams"in d&&(c.timelineParams=d.timelineParams),"nacl"in d&&(c.nacl=d.nacl),c}function _y(d){return d.httpHost?d.httpHost:d.cluster?`sockjs-${d.cluster}.pusher.com`:u.httpHost}function vy(d){return d.wsHost?d.wsHost:xy(d.cluster)}function xy(d){return`ws-${d}.pusher.com`}function yy(d){return Q.getProtocol()==="https:"?!0:d.forceTLS!==!1}function wy(d){return"enableStats"in d?d.enableStats:"disableStats"in d?!d.disableStats:!1}function ky(d){const a=Object.assign(Object.assign({},u.userAuthentication),d.userAuthentication);return"customHandler"in a&&a.customHandler!=null?a.customHandler:py(a)}function jy(d,a){let c;return"channelAuthorization"in d?c=Object.assign(Object.assign({},u.channelAuthorization),d.channelAuthorization):(c={transport:d.authTransport||u.authTransport,endpoint:d.authEndpoint||u.authEndpoint},"auth"in d&&("params"in d.auth&&(c.params=d.auth.params),"headers"in d.auth&&(c.headers=d.auth.headers)),"authorizer"in d&&(c.customHandler=by(a,c,d.authorizer))),c}function Sy(d,a){const c=jy(d,a);return"customHandler"in c&&c.customHandler!=null?c.customHandler:fy(c)}class Cy extends ut{constructor(a){super(function(c,v){_e.debug(`No callbacks on watchlist events for ${c}`)}),this.pusher=a,this.bindWatchlistInternalEvent()}handleEvent(a){a.data.events.forEach(c=>{this.emit(c.name,c)})}bindWatchlistInternalEvent(){this.pusher.connection.bind("message",a=>{var c=a.event;c==="pusher_internal:watchlist_events"&&this.handleEvent(a)})}}function Ny(){let d,a;return{promise:new Promise((v,w)=>{d=v,a=w}),resolve:d,reject:a}}var Ty=Ny;class My extends ut{constructor(a){super(function(c,v){_e.debug("No callbacks on user for "+c)}),this.signin_requested=!1,this.user_data=null,this.serverToUserChannel=null,this.signinDonePromise=null,this._signinDoneResolve=null,this._onAuthorize=(c,v)=>{if(c){_e.warn(`Error during signin: ${c}`),this._cleanup();return}this.pusher.send_event("pusher:signin",{auth:v.auth,user_data:v.user_data})},this.pusher=a,this.pusher.connection.bind("state_change",({previous:c,current:v})=>{c!=="connected"&&v==="connected"&&this._signin(),c==="connected"&&v!=="connected"&&(this._cleanup(),this._newSigninPromiseIfNeeded())}),this.watchlist=new Cy(a),this.pusher.connection.bind("message",c=>{var v=c.event;v==="pusher:signin_success"&&this._onSigninSuccess(c.data),this.serverToUserChannel&&this.serverToUserChannel.name===c.channel&&this.serverToUserChannel.handleEvent(c)})}signin(){this.signin_requested||(this.signin_requested=!0,this._signin())}_signin(){this.signin_requested&&(this._newSigninPromiseIfNeeded(),this.pusher.connection.state==="connected"&&this.pusher.config.userAuthenticator({socketId:this.pusher.connection.socket_id},this._onAuthorize))}_onSigninSuccess(a){try{this.user_data=JSON.parse(a.user_data)}catch{_e.error(`Failed parsing user data after signin: ${a.user_data}`),this._cleanup();return}if(typeof this.user_data.id!="string"||this.user_data.id===""){_e.error(`user_data doesn't contain an id. user_data: ${this.user_data}`),this._cleanup();return}this._signinDoneResolve(),this._subscribeChannels()}_subscribeChannels(){const a=c=>{c.subscriptionPending&&c.subscriptionCancelled?c.reinstateSubscription():!c.subscriptionPending&&this.pusher.connection.state==="connected"&&c.subscribe()};this.serverToUserChannel=new Jr(`#server-to-user-${this.user_data.id}`,this.pusher),this.serverToUserChannel.bind_global((c,v)=>{c.indexOf("pusher_internal:")===0||c.indexOf("pusher:")===0||this.emit(c,v)}),a(this.serverToUserChannel)}_cleanup(){this.user_data=null,this.serverToUserChannel&&(this.serverToUserChannel.unbind_all(),this.serverToUserChannel.disconnect(),this.serverToUserChannel=null),this.signin_requested&&this._signinDoneResolve()}_newSigninPromiseIfNeeded(){if(!this.signin_requested||this.signinDonePromise&&!this.signinDonePromise.done)return;const{promise:a,resolve:c}=Ty();a.done=!1;const v=()=>{a.done=!0};a.then(v).catch(v),this.signinDonePromise=a,this._signinDoneResolve=c}}class Ce{static ready(){Ce.isReady=!0;for(var a=0,c=Ce.instances.length;a<c;a++)Ce.instances[a].connect()}static getClientFeatures(){return Ie(J({ws:Q.Transports.ws},function(a){return a.isSupported({})}))}constructor(a,c){Ay(a),uy(c),this.key=a,this.config=gy(c,this),this.channels=ht.createChannels(),this.global_emitter=new ut,this.sessionID=Q.randomInt(1e9),this.timeline=new ay(this.key,this.sessionID,{cluster:this.config.cluster,features:Ce.getClientFeatures(),params:this.config.timelineParams||{},limit:50,level:go.INFO,version:u.VERSION}),this.config.enableStats&&(this.timelineSender=ht.createTimelineSender(this.timeline,{host:this.config.statsHost,path:"/timeline/v2/"+Q.TimelineTransport.name}));var v=w=>Q.getDefaultStrategy(this.config,w,cy);this.connection=ht.createConnectionManager(this.key,{getStrategy:v,timeline:this.timeline,activityTimeout:this.config.activityTimeout,pongTimeout:this.config.pongTimeout,unavailableTimeout:this.config.unavailableTimeout,useTLS:!!this.config.useTLS}),this.connection.bind("connected",()=>{this.subscribeAll(),this.timelineSender&&this.timelineSender.send(this.connection.isUsingTLS())}),this.connection.bind("message",w=>{var $=w.event,L=$.indexOf("pusher_internal:")===0;if(w.channel){var W=this.channel(w.channel);W&&W.handleEvent(w)}L||this.global_emitter.emit(w.event,w.data)}),this.connection.bind("connecting",()=>{this.channels.disconnect()}),this.connection.bind("disconnected",()=>{this.channels.disconnect()}),this.connection.bind("error",w=>{_e.warn(w)}),Ce.instances.push(this),this.timeline.info({instances:Ce.instances.length}),this.user=new My(this),Ce.isReady&&this.connect()}channel(a){return this.channels.find(a)}allChannels(){return this.channels.all()}connect(){if(this.connection.connect(),this.timelineSender&&!this.timelineSenderTimer){var a=this.connection.isUsingTLS(),c=this.timelineSender;this.timelineSenderTimer=new Fe(6e4,function(){c.send(a)})}}disconnect(){this.connection.disconnect(),this.timelineSenderTimer&&(this.timelineSenderTimer.ensureAborted(),this.timelineSenderTimer=null)}bind(a,c,v){return this.global_emitter.bind(a,c,v),this}unbind(a,c,v){return this.global_emitter.unbind(a,c,v),this}bind_global(a){return this.global_emitter.bind_global(a),this}unbind_global(a){return this.global_emitter.unbind_global(a),this}unbind_all(a){return this.global_emitter.unbind_all(),this}subscribeAll(){var a;for(a in this.channels.channels)this.channels.channels.hasOwnProperty(a)&&this.subscribe(a)}subscribe(a){var c=this.channels.add(a,this);return c.subscriptionPending&&c.subscriptionCancelled?c.reinstateSubscription():!c.subscriptionPending&&this.connection.state==="connected"&&c.subscribe(),c}unsubscribe(a){var c=this.channels.find(a);c&&c.subscriptionPending?c.cancelSubscription():(c=this.channels.remove(a),c&&c.subscribed&&c.unsubscribe())}send_event(a,c,v){return this.connection.send_event(a,c,v)}shouldUseTLS(){return this.config.useTLS}signin(){this.user.signin()}}Ce.instances=[],Ce.isReady=!1,Ce.logToConsole=!1,Ce.Runtime=Q,Ce.ScriptReceivers=Q.ScriptReceivers,Ce.DependenciesReceivers=Q.DependenciesReceivers,Ce.auth_callbacks=Q.auth_callbacks;var ri=o.default=Ce;function Ay(d){if(d==null)throw"You must pass your app key when you instantiate Pusher."}Q.setup(Ce)})])})})(tr)),tr.exports}var Mf=Tf();const bl=Nf(Mf);function Af(e){const t=new bl(e.key,{cluster:e.cluster,forceTLS:!0}),n=t.subscribe(e.channelName);return n.bind_global((o,r)=>{if(o.startsWith("pusher:")){(o==="pusher:subscription_succeeded"||o==="pusher:subscription_error")&&console.log("[widget.sub]",e.channelName,o);return}console.log("[widget.sub]",e.channelName,o,r)}),{channel:n,disconnect:()=>{try{t.unsubscribe(e.channelName),t.disconnect()}catch{}}}}function gl(e){const t=new bl(e.key,{cluster:e.cluster,forceTLS:!0,channelAuthorization:{transport:"ajax",endpoint:`${Tt()}/api/chat/pusher/auth`,customHandler:async({socketId:o,channelName:r},i)=>{try{const{passport:l}=await Ut(e.channelId),s=new URLSearchParams({socket_id:o,channel_name:r}),u=await fetch(`${Tt()}/api/chat/pusher/auth`,{method:"POST",headers:{Authorization:`Bearer ${l}`,"Content-Type":"application/x-www-form-urlencoded"},credentials:"include",body:s.toString()});if(!u.ok){i(new Error(`Pusher auth failed (${u.status})`),null);return}const h=await u.json();i(null,h)}catch(l){i(l instanceof Error?l:new Error(String(l)),null)}}}}),n=t.subscribe(e.channelName);return n.bind_global((o,r)=>{if(o.startsWith("pusher:")){(o==="pusher:subscription_succeeded"||o==="pusher:subscription_error")&&console.log("[widget.sub]",e.channelName,o);return}console.log("[widget.sub]",e.channelName,o,r)}),{channel:n,disconnect:()=>{try{t.unsubscribe(e.channelName),t.disconnect()}catch{}}}}async function Pf(e,t){const{visitorParticipantId:n}=await Ut(e),o=`private-visitor-${n}`,r=gl({key:t.realtime.key,cluster:t.realtime.cluster,channelName:o,channelId:e}),i=new Set,l=new Set;return r.channel.bind("thread-updated",s=>{i.forEach(u=>u(s))}),r.channel.bind("thread-created",s=>{l.forEach(u=>u(s))}),{onThreadUpdated(s){return i.add(s),()=>i.delete(s)},onThreadCreated(s){return l.add(s),()=>l.delete(s)},disconnect:r.disconnect}}const Ef="auxx-chat-privacy-dismissed:";function _l(e){return`${Ef}${e}`}function $f(e){try{return window.localStorage.getItem(_l(e))==="1"}catch{return!1}}function Rf(e){try{window.localStorage.setItem(_l(e),"1")}catch{}}const Of=["thread:taken_over","thread:returned_to_ai","thread:archived","thread:reopened","thread:assignee:changed","thread:visitor:identified"],Ln=new Map,un=new Map;function vl(e,t){const[n,o]=z(0),[r,i]=z(()=>{const s=Ln.get(t);return s&&s.expiresAt>Date.now()+6e4?{url:s.url,loading:!1,error:!1}:{url:null,loading:!0,error:!1}}),l=B(()=>{Ln.delete(t),un.delete(t),i({url:null,loading:!0,error:!1}),o(s=>s+1)},[t]);return H(()=>{const s=Ln.get(t);if(s&&s.expiresAt>Date.now()+6e4){r.url!==s.url&&i({url:s.url,loading:!1,error:!1});return}let u=!1,h=un.get(t);return h||(h=Mt(e).getAttachmentUrl(t).then(({url:f,expiresAt:m})=>(Ln.set(t,{url:f,expiresAt:new Date(m).getTime()}),un.delete(t),f)).catch(f=>{throw un.delete(t),f}),un.set(t,h)),h.then(f=>{u||i({url:f,loading:!1,error:!1})}).catch(()=>{u||i({url:null,loading:!1,error:!0})}),()=>{u=!0}},[e,t,n]),{...r,retry:l}}function Lf({channelId:e,items:t,isUser:n}){if(t.length===0)return null;const o=t.filter(i=>xl(i.mimeType)),r=t.filter(i=>!xl(i.mimeType));return p("div",{className:"mt-1 flex flex-col gap-1.5",children:[o.length>0?p("div",{className:"flex flex-wrap gap-1.5",children:o.map(i=>p(zf,{channelId:e,attachment:i},i.id))}):null,r.length>0?p("div",{className:"flex flex-col gap-1.5",children:r.map(i=>p(If,{channelId:e,attachment:i,isUser:n},i.id))}):null]})}function zf({channelId:e,attachment:t}){const{url:n,loading:o,error:r,retry:i}=vl(e,t.id),l=t.objectUrl??n;return l?p("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"block overflow-hidden rounded-md",children:p("img",{src:l,alt:t.name,className:"max-h-[200px] max-w-[200px] rounded-md object-cover",onError:t.objectUrl?void 0:i})}):r?p("button",{type:"button",onClick:i,className:"rounded-md border border-destructive/40 bg-background/20 px-2 py-1 text-left text-[11px] hover:bg-background/30",children:"Couldn’t load image — click to retry."}):p("div",{className:he("h-[120px] w-[160px] rounded-md bg-muted",o?"animate-pulse":""),"aria-label":`Loading ${t.name}`})}function If({channelId:e,attachment:t,isUser:n}){const{url:o,loading:r,error:i,retry:l}=vl(e,t.id),s=t.objectUrl??o,u=Df(t.mimeType),h=p(xe,{children:[p(u,{className:"size-4 shrink-0","aria-hidden":"true"}),p("div",{className:"flex min-w-0 flex-col text-left",children:[p("span",{className:"truncate text-xs font-medium",children:t.name}),p("span",{className:"text-[10px] opacity-70",children:[Ff(t.size),i?" · click to retry":r&&!s?" · loading…":""]})]})]}),f=he("flex max-w-[260px] items-center gap-2 rounded-md px-2 py-1.5 transition-colors",n?"bg-background/15 text-current hover:bg-background/25":"bg-background text-foreground hover:bg-muted");return i?p("button",{type:"button",onClick:l,className:f,children:h}):s?p("a",{href:s,target:"_blank",rel:"noopener noreferrer",download:t.name,className:f,children:h}):p("div",{className:he(f,"cursor-default opacity-80"),"aria-busy":r,children:h})}function xl(e){return e.startsWith("image/")}function Df(e){return e.startsWith("image/")?Na:e.startsWith("video/")?Ta:e.startsWith("text/")||e==="application/pdf"?jt:Ma}function Ff(e){if(!Number.isFinite(e)||e<=0)return"0 B";const t=["B","KB","MB","GB"];let n=0,o=e;for(;o>=1024&&n<t.length-1;)o/=1024,n+=1;return`${o<10&&n>0?o.toFixed(1):Math.round(o)} ${t[n]}`}function nr({sender:e,avatar:t,typing:n,group:o,children:r,channelId:i}){const l=e??(o==null?void 0:o.sender)??"AGENT",s=l==="USER";return l==="SYSTEM"?p("div",{className:"self-center text-center text-xs italic text-muted-foreground",children:o?o.messages.map(h=>h.content).join(" "):r}):p("div",{className:he("flex items-end gap-2",s?"flex-row-reverse":"flex-row"),children:[s?null:p(Bf,{avatar:t}),p("div",{className:he("flex max-w-[80%] flex-col gap-0.5",s?"items-end":"items-start"),children:[n?p("div",{className:or(s,!0,!0),children:p(qf,{})}):o?o.messages.map((h,f)=>{const m=h.attachments&&h.attachments.length>0,g=h.content&&h.content.length>0;return p("div",{className:or(s,f===0,f===o.messages.length-1),children:[g?p("div",{children:h.content}):null,m&&i?p(Lf,{channelId:i,items:h.attachments,isUser:s}):null]},h.id)}):p("div",{className:or(s,!0,!0),children:r}),!n&&o&&o.messages.length>0?p("time",{className:"px-1 text-[10px] text-muted-foreground",dateTime:o.messages[o.messages.length-1].createdAt,children:Hf(o.messages[o.messages.length-1].createdAt)}):null]})]})}function Hf(e){const t=new Date(e);return Number.isNaN(t.getTime())?"":t.toLocaleTimeString(void 0,{hour:"numeric",minute:"2-digit"})}function or(e,t,n){return he("whitespace-pre-wrap break-words rounded-2xl px-3 py-1.5 text-sm",e?"bg-primary text-primary-foreground":"bg-[color:var(--auxx-chat-surface-loud)] text-[color:var(--auxx-chat-text-loud)]",!t&&(e?"rounded-tr-md":"rounded-tl-md"),!n&&(e?"rounded-br-md":"rounded-bl-md"),n&&(e?"rounded-br-sm":"rounded-bl-sm"))}function Bf({avatar:e}){const t=e?Uf(e.name??null):null;return p("div",{className:"flex size-7 shrink-0 items-center justify-center self-end overflow-hidden rounded-full bg-background text-[10px] font-medium uppercase text-muted-foreground",children:e!=null&&e.avatarUrl?p("img",{src:e.avatarUrl,alt:"",className:"size-full object-cover"}):t?p("span",{"aria-hidden":"true",children:t}):p(Wo,{className:"size-3.5","aria-hidden":"true"})})}function Uf(e){if(!e)return null;const t=e.trim().split(/\s+/).filter(n=>n.length>0);return t.length===0?null:t.length===1?t[0].slice(0,2).toUpperCase():(t[0][0]+t[t.length-1][0]).toUpperCase()}function qf(){return p("span",{className:"inline-flex items-center gap-1 py-1",role:"status","aria-label":"Typing",children:[p("span",{className:"size-1.5 animate-bounce rounded-full bg-muted-foreground/60 [animation-delay:-0.2s]"}),p("span",{className:"size-1.5 animate-bounce rounded-full bg-muted-foreground/60 [animation-delay:-0.1s]"}),p("span",{className:"size-1.5 animate-bounce rounded-full bg-muted-foreground/60"})]})}function Wf({channelId:e,inflight:t,onChange:n,disabled:o}){const r=D(null),i=B(async l=>{const s=Array.from(l);if(s.length===0)return;const u=s.map(m=>({localId:`${Date.now()}-${Math.random().toString(36).slice(2)}`,name:m.name,size:m.size,type:m.type,objectUrl:m.type.startsWith("image/")?URL.createObjectURL(m):void 0})),h=[...t,...u];n(h);const f=[...h];await Promise.all(u.map(async(m,g)=>{const _=s[g];try{const{passport:k}=await Ut(e),x=new FormData;x.append("file",_);const b=await fetch(`${Tt()}/api/chat/attachments`,{method:"POST",headers:{Authorization:`Bearer ${k}`},credentials:"include",body:x}),y=await b.json(),S=f.findIndex(N=>N.localId===m.localId);if(S===-1)return;!b.ok||!y.success?f[S]={...f[S],error:y.success===!1?y.error.message:`Upload failed (${b.status})`}:f[S]={...f[S],assetId:y.data.id},n([...f])}catch(k){const x=f.findIndex(b=>b.localId===m.localId);if(x===-1)return;f[x]={...f[x],error:k instanceof Error?k.message:"Upload failed"},n([...f])}}))},[e,t,n]);return p(xe,{children:[p("input",{ref:r,type:"file",multiple:!0,className:"hidden",onChange:l=>{const s=l.currentTarget.files;s&&i(s),r.current&&(r.current.value="")}}),p("button",{type:"button",title:"Attach files",disabled:o,onClick:()=>{var l;return(l=r.current)==null?void 0:l.click()},className:he("flex size-7 items-center justify-center rounded text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:opacity-50"),children:p(za,{className:"size-4","aria-hidden":"true"})})]})}function Vf({inflight:e,onRemove:t}){return e.length===0?null:p("div",{className:"flex flex-wrap gap-1.5 border-b border-border px-3 py-2",children:e.map(n=>p("div",{className:he("flex items-center gap-1.5 rounded-md border border-border bg-muted px-2 py-1 text-xs",n.error?"border-destructive text-destructive":""),children:[p("span",{className:"max-w-[140px] truncate",children:n.name}),!n.assetId&&!n.error?p("span",{className:"size-3 animate-spin rounded-full border-2 border-current border-t-transparent","aria-hidden":"true"}):null,p("button",{type:"button",onClick:()=>t(n.localId),"aria-label":"Remove attachment",className:"text-muted-foreground hover:text-foreground",children:p(St,{className:"size-3","aria-hidden":"true"})})]},n.localId))})}const Gf=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],yl={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"};let Re=null;function wl(e){Object.keys(yl).forEach(t=>{e.style.setProperty(t,yl[t],"important")})}function Kf(e){const t=window.getComputedStyle(e);if(!t)return null;const n=Gf.reduce((i,l)=>(i[l]=t.getPropertyValue(l.replace(/[A-Z]/g,s=>`-${s.toLowerCase()}`)),i),{});if(n.boxSizing==="")return null;const o=parseFloat(n.paddingBottom||"0")+parseFloat(n.paddingTop||"0"),r=parseFloat(n.borderBottomWidth||"0")+parseFloat(n.borderTopWidth||"0");return{sizingStyle:n,paddingSize:o,borderSize:r}}function Xf(e,t){return t.sizingStyle.boxSizing==="border-box"?e.scrollHeight+t.borderSize:e.scrollHeight-t.paddingSize}function Yf(e,t,n,o){Re||(Re=document.createElement("textarea"),Re.setAttribute("tabindex","-1"),Re.setAttribute("aria-hidden","true"),wl(Re)),Re.parentNode||document.body.appendChild(Re),Object.keys(t.sizingStyle).forEach(u=>{Re.style[u]=t.sizingStyle[u]}),wl(Re),Re.value=e;let r=Xf(Re,t);Re.value="x";const i=Re.scrollHeight-t.paddingSize;let l=i*n;t.sizingStyle.boxSizing==="border-box"&&(l=l+t.paddingSize+t.borderSize),r=Math.max(l,r);let s=i*o;return t.sizingStyle.boxSizing==="border-box"&&(s=s+t.paddingSize+t.borderSize),Math.min(s,r)}const Jf=V(function({minRows:t=1,maxRows:n=6,cacheMeasurements:o=!0,value:r,className:i,style:l,onInput:s,...u},h){const f=D(null),m=D(0),g=D(null),_=B(x=>{f.current=x,typeof h=="function"?h(x):h&&(h.current=x)},[h]),k=B(()=>{const x=f.current;if(!x)return;const b=o&&g.current?g.current:Kf(x);if(!b)return;o&&(g.current=b);const y=x.value||x.placeholder||"x",S=Yf(y,b,t,n);m.current!==S&&(m.current=S,x.style.setProperty("height",`${S}px`,"important"))},[o,t,n]);return $e(()=>{k()}),$e(()=>{var b;const x=()=>k();return window.addEventListener("resize",x),(b=document.fonts)!=null&&b.addEventListener&&document.fonts.addEventListener("loadingdone",x),()=>{var y;window.removeEventListener("resize",x),(y=document.fonts)!=null&&y.removeEventListener&&document.fonts.removeEventListener("loadingdone",x)}},[k]),p("textarea",{...u,ref:_,value:r,onInput:s,className:he("block w-full resize-none border-0 bg-transparent px-3 py-2 text-sm outline-none placeholder:text-muted-foreground",i),style:l})});function kl(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function zn(...e){return t=>{let n=!1;const o=e.map(r=>{const i=kl(r,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let r=0;r<o.length;r++){const i=o[r];typeof i=="function"?i():kl(e[r],null)}}}}function Ne(...e){return B(zn(...e),e)}function hn(e){const t=Zf(e),n=V((o,r)=>{const{children:i,...l}=o,s=ot.toArray(i),u=s.find(eb);if(u){const h=u.props.children,f=s.map(m=>m===u?ot.count(h)>1?ot.only(null):rt(h)?h.props.children:null:m);return p(t,{...l,ref:r,children:rt(h)?Bt(h,void 0,f):null})}return p(t,{...l,ref:r,children:i})});return n.displayName=`${e}.Slot`,n}function Zf(e){const t=V((n,o)=>{const{children:r,...i}=n;if(rt(r)){const l=nb(r),s=tb(i,r.props);return r.type!==xe&&(s.ref=o?zn(o,l):l),Bt(r,s)}return ot.count(r)>1?ot.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Qf=Symbol("radix.slottable");function eb(e){return rt(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Qf}function tb(e,t){const n={...t};for(const o in t){const r=e[o],i=t[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...s)=>{const u=i(...s);return r(...s),u}:r&&(n[o]=r):o==="style"?n[o]={...r,...i}:o==="className"&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}function nb(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ob=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Se=ob.reduce((e,t)=>{const n=hn(`Primitive.${t}`),o=V((r,i)=>{const{asChild:l,...s}=r,u=l?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p(u,{...s,ref:i})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function jl(e,t){e&&Pn(()=>e.dispatchEvent(t))}function qt(e,t=[]){let n=[];function o(i,l){const s=tt(l),u=n.length;n=[...n,l];const h=m=>{var y;const{scope:g,children:_,...k}=m,x=((y=g==null?void 0:g[e])==null?void 0:y[u])||s,b=ve(()=>k,Object.values(k));return p(x.Provider,{value:b,children:_})};h.displayName=i+"Provider";function f(m,g){var x;const _=((x=g==null?void 0:g[e])==null?void 0:x[u])||s,k=Ke(_);if(k)return k;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${i}\``)}return[h,f]}const r=()=>{const i=n.map(l=>tt(l));return function(s){const u=(s==null?void 0:s[e])||i;return ve(()=>({[`__scope${e}`]:{...s,[e]:u}}),[s,u])}};return r.scopeName=e,[o,rb(r,...t)]}function rb(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(i){const l=o.reduce((s,{useScope:u,scopeName:h})=>{const m=u(i)[`__scope${h}`];return{...s,...m}},{});return ve(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function Sl(e){const t=e+"CollectionProvider",[n,o]=qt(t),[r,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=x=>{const{scope:b,children:y}=x,S=it.useRef(null),N=it.useRef(new Map).current;return p(r,{scope:b,itemMap:N,collectionRef:S,children:y})};l.displayName=t;const s=e+"CollectionSlot",u=hn(s),h=it.forwardRef((x,b)=>{const{scope:y,children:S}=x,N=i(s,y),C=Ne(b,N.collectionRef);return p(u,{ref:C,children:S})});h.displayName=s;const f=e+"CollectionItemSlot",m="data-radix-collection-item",g=hn(f),_=it.forwardRef((x,b)=>{const{scope:y,children:S,...N}=x,C=it.useRef(null),P=Ne(b,C),T=i(f,y);return it.useEffect(()=>(T.itemMap.set(C,{ref:C,...N}),()=>void T.itemMap.delete(C))),p(g,{[m]:"",ref:P,children:S})});_.displayName=f;function k(x){const b=i(e+"CollectionConsumer",x);return it.useCallback(()=>{const S=b.collectionRef.current;if(!S)return[];const N=Array.from(S.querySelectorAll(`[${m}]`));return Array.from(b.itemMap.values()).sort((T,A)=>N.indexOf(T.ref.current)-N.indexOf(A.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:l,Slot:h,ItemSlot:_},k,o]}function oe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}var gt=globalThis!=null&&globalThis.document?$e:()=>{},ib=fa[" useInsertionEffect ".trim().toString()]||gt;function rr({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){const[r,i,l]=ab({defaultProp:t,onChange:n}),s=e!==void 0,u=s?e:r;{const f=D(e!==void 0);H(()=>{const m=f.current;m!==s&&console.warn(`${o} is changing from ${m?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=s},[s,o])}const h=B(f=>{var m;if(s){const g=lb(f)?f(e):f;g!==e&&((m=l.current)==null||m.call(l,g))}else i(f)},[s,e,i,l]);return[u,h]}function ab({defaultProp:e,onChange:t}){const[n,o]=z(e),r=D(n),i=D(t);return ib(()=>{i.current=t},[t]),H(()=>{var l;r.current!==n&&((l=i.current)==null||l.call(i,n),r.current=n)},[n,r]),[n,o,i]}function lb(e){return typeof e=="function"}function sb(e,t){return an((n,o)=>t[n][o]??n,e)}var At=e=>{const{present:t,children:n}=e,o=cb(t),r=typeof n=="function"?n({present:o.isPresent}):ot.only(n),i=Ne(o.ref,db(r));return typeof n=="function"||o.isPresent?Bt(r,{ref:i}):null};At.displayName="Presence";function cb(e){const[t,n]=z(),o=D(null),r=D(e),i=D("none"),l=e?"mounted":"unmounted",[s,u]=sb(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return H(()=>{const h=In(o.current);i.current=s==="mounted"?h:"none"},[s]),gt(()=>{const h=o.current,f=r.current;if(f!==e){const g=i.current,_=In(h);e?u("MOUNT"):_==="none"||(h==null?void 0:h.display)==="none"?u("UNMOUNT"):u(f&&g!==_?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,u]),gt(()=>{if(t){let h;const f=t.ownerDocument.defaultView??window,m=_=>{const x=In(o.current).includes(CSS.escape(_.animationName));if(_.target===t&&x&&(u("ANIMATION_END"),!r.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",h=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},g=_=>{_.target===t&&(i.current=In(o.current))};return t.addEventListener("animationstart",g),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{f.clearTimeout(h),t.removeEventListener("animationstart",g),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:B(h=>{o.current=h?getComputedStyle(h):null,n(h)},[])}}function In(e){return(e==null?void 0:e.animationName)||"none"}function db(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ub=fa[" useId ".trim().toString()]||(()=>{}),hb=0;function Dn(e){const[t,n]=z(ub());return gt(()=>{n(o=>o??String(hb++))},[e]),e||(t?`radix-${t}`:"")}var pb=tt(void 0);function Cl(e){const t=Ke(pb);return e||t||"ltr"}function lt(e){const t=D(e);return H(()=>{t.current=e}),ve(()=>(...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)},[])}function mb(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e);H(()=>{const o=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}var fb="DismissableLayer",ir="dismissableLayer.update",bb="dismissableLayer.pointerDownOutside",gb="dismissableLayer.focusOutside",Nl,Tl=tt({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ar=V((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:i,onInteractOutside:l,onDismiss:s,...u}=e,h=Ke(Tl),[f,m]=z(null),g=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,_]=z({}),k=Ne(t,A=>m(A)),x=Array.from(h.layers),[b]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),y=x.indexOf(b),S=f?x.indexOf(f):-1,N=h.layersWithOutsidePointerEventsDisabled.size>0,C=S>=y,P=xb(A=>{const M=A.target,E=[...h.branches].some(R=>R.contains(M));!C||E||(r==null||r(A),l==null||l(A),A.defaultPrevented||s==null||s())},g),T=yb(A=>{const M=A.target;[...h.branches].some(R=>R.contains(M))||(i==null||i(A),l==null||l(A),A.defaultPrevented||s==null||s())},g);return mb(A=>{S===h.layers.size-1&&(o==null||o(A),!A.defaultPrevented&&s&&(A.preventDefault(),s()))},g),H(()=>{if(f)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Nl=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(f)),h.layers.add(f),Ml(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Nl)}},[f,g,n,h]),H(()=>()=>{f&&(h.layers.delete(f),h.layersWithOutsidePointerEventsDisabled.delete(f),Ml())},[f,h]),H(()=>{const A=()=>_({});return document.addEventListener(ir,A),()=>document.removeEventListener(ir,A)},[]),p(Se.div,{...u,ref:k,style:{pointerEvents:N?C?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,T.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,P.onPointerDownCapture)})});ar.displayName=fb;var _b="DismissableLayerBranch",vb=V((e,t)=>{const n=Ke(Tl),o=D(null),r=Ne(t,o);return H(()=>{const i=o.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),p(Se.div,{...e,ref:r})});vb.displayName=_b;function xb(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e),o=D(!1),r=D(()=>{});return H(()=>{const i=s=>{if(s.target&&!o.current){let u=function(){Al(bb,n,h,{discrete:!0})};const h={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=u,t.addEventListener("click",r.current,{once:!0})):u()}else t.removeEventListener("click",r.current);o.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",i),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function yb(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e),o=D(!1);return H(()=>{const r=i=>{i.target&&!o.current&&Al(gb,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Ml(){const e=new CustomEvent(ir);document.dispatchEvent(e)}function Al(e,t,n,{discrete:o}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?jl(r,i):r.dispatchEvent(i)}var lr="focusScope.autoFocusOnMount",sr="focusScope.autoFocusOnUnmount",Pl={bubbles:!1,cancelable:!0},wb="FocusScope",cr=V((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:i,...l}=e,[s,u]=z(null),h=lt(r),f=lt(i),m=D(null),g=Ne(t,x=>u(x)),_=D({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;H(()=>{if(o){let x=function(N){if(_.paused||!s)return;const C=N.target;s.contains(C)?m.current=C:_t(m.current,{select:!0})},b=function(N){if(_.paused||!s)return;const C=N.relatedTarget;C!==null&&(s.contains(C)||_t(m.current,{select:!0}))},y=function(N){if(document.activeElement===document.body)for(const P of N)P.removedNodes.length>0&&_t(s)};document.addEventListener("focusin",x),document.addEventListener("focusout",b);const S=new MutationObserver(y);return s&&S.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",b),S.disconnect()}}},[o,s,_.paused]),H(()=>{if(s){Rl.add(_);const x=document.activeElement;if(!s.contains(x)){const y=new CustomEvent(lr,Pl);s.addEventListener(lr,h),s.dispatchEvent(y),y.defaultPrevented||(kb(Tb(El(s)),{select:!0}),document.activeElement===x&&_t(s))}return()=>{s.removeEventListener(lr,h),setTimeout(()=>{const y=new CustomEvent(sr,Pl);s.addEventListener(sr,f),s.dispatchEvent(y),y.defaultPrevented||_t(x??document.body,{select:!0}),s.removeEventListener(sr,f),Rl.remove(_)},0)}}},[s,h,f,_]);const k=B(x=>{if(!n&&!o||_.paused)return;const b=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,y=document.activeElement;if(b&&y){const S=x.currentTarget,[N,C]=jb(S);N&&C?!x.shiftKey&&y===C?(x.preventDefault(),n&&_t(N,{select:!0})):x.shiftKey&&y===N&&(x.preventDefault(),n&&_t(C,{select:!0})):y===S&&x.preventDefault()}},[n,o,_.paused]);return p(Se.div,{tabIndex:-1,...l,ref:g,onKeyDown:k})});cr.displayName=wb;function kb(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(_t(o,{select:t}),document.activeElement!==n)return}function jb(e){const t=El(e),n=$l(t,e),o=$l(t.reverse(),e);return[n,o]}function El(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function $l(e,t){for(const n of e)if(!Sb(n,{upTo:t}))return n}function Sb(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Cb(e){return e instanceof HTMLInputElement&&"select"in e}function _t(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Cb(e)&&t&&e.select()}}var Rl=Nb();function Nb(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Ol(e,t),e.unshift(t)},remove(t){var n;e=Ol(e,t),(n=e[0])==null||n.resume()}}}function Ol(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function Tb(e){return e.filter(t=>t.tagName!=="A")}var Mb="Portal",dr=V((e,t)=>{var s;const{container:n,...o}=e,[r,i]=z(!1);gt(()=>i(!0),[]);const l=n||r&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return l?it.createPortal(p(Se.div,{...o,ref:t}),l):null});dr.displayName=Mb;var ur=0;function Ll(){H(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??zl()),document.body.insertAdjacentElement("beforeend",e[1]??zl()),ur++,()=>{ur===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ur--}},[])}function zl(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Xe=function(){return Xe=Object.assign||function(t){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Xe.apply(this,arguments)};function Il(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}function Ab(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,i;o<r;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Fn="right-scroll-bar-position",Hn="width-before-scroll-bar",Pb="with-scroll-bars-hidden",Eb="--removed-body-scroll-bar-size";function hr(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function $b(e,t){var n=z(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(o){var r=n.value;r!==o&&(n.value=o,n.callback(o,r))}}}})[0];return n.callback=t,n.facade}var Rb=typeof window<"u"?$e:H,Dl=new WeakMap;function Ob(e,t){var n=$b(null,function(o){return e.forEach(function(r){return hr(r,o)})});return Rb(function(){var o=Dl.get(n);if(o){var r=new Set(o),i=new Set(e),l=n.current;r.forEach(function(s){i.has(s)||hr(s,null)}),i.forEach(function(s){r.has(s)||hr(s,l)})}Dl.set(n,e)},[e]),n}function Lb(e){return e}function zb(e,t){t===void 0&&(t=Lb);var n=[],o=!1,r={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var l=t(i,o);return n.push(l),function(){n=n.filter(function(s){return s!==l})}},assignSyncMedium:function(i){for(o=!0;n.length;){var l=n;n=[],l.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){o=!0;var l=[];if(n.length){var s=n;n=[],s.forEach(i),l=n}var u=function(){var f=l;l=[],f.forEach(i)},h=function(){return Promise.resolve().then(u)};h(),n={push:function(f){l.push(f),h()},filter:function(f){return l=l.filter(f),n}}}};return r}function Ib(e){e===void 0&&(e={});var t=zb(null);return t.options=Xe({async:!0,ssr:!1},e),t}var Fl=function(e){var t=e.sideCar,n=Il(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return fe(o,Xe({},n))};Fl.isSideCarExport=!0;function Db(e,t){return e.useMedium(t),Fl}var Hl=Ib(),pr=function(){},Bn=V(function(e,t){var n=D(null),o=z({onScrollCapture:pr,onWheelCapture:pr,onTouchMoveCapture:pr}),r=o[0],i=o[1],l=e.forwardProps,s=e.children,u=e.className,h=e.removeScrollBar,f=e.enabled,m=e.shards,g=e.sideCar,_=e.noRelative,k=e.noIsolation,x=e.inert,b=e.allowPinchZoom,y=e.as,S=y===void 0?"div":y,N=e.gapMode,C=Il(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=g,T=Ob([n,t]),A=Xe(Xe({},C),r);return fe(xe,null,f&&fe(P,{sideCar:Hl,removeScrollBar:h,shards:m,noRelative:_,noIsolation:k,inert:x,setCallbacks:i,allowPinchZoom:!!b,lockRef:n,gapMode:N}),l?Bt(ot.only(s),Xe(Xe({},A),{ref:T})):fe(S,Xe({},A,{className:u,ref:T}),s))});Bn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Bn.classNames={fullWidth:Hn,zeroRight:Fn};var Fb=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Hb(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Fb();return t&&e.setAttribute("nonce",t),e}function Bb(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ub(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var qb=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Hb())&&(Bb(t,n),Ub(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Wb=function(){var e=qb();return function(t,n){H(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Bl=function(){var e=Wb(),t=function(n){var o=n.styles,r=n.dynamic;return e(o,r),null};return t},Vb={left:0,top:0,right:0,gap:0},mr=function(e){return parseInt(e||"",10)||0},Gb=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],r=t[e==="padding"?"paddingRight":"marginRight"];return[mr(n),mr(o),mr(r)]},Kb=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Vb;var t=Gb(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},Xb=Bl(),Wt="data-scroll-locked",Yb=function(e,t,n,o){var r=e.left,i=e.top,l=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
1069
|
-
.`.concat(
|
|
1067
|
+
*/var bl;function Mf(){return bl||(bl=1,(function(e,t){(function(o,r){e.exports=r()})(window,function(){return(function(n){var o={};function r(i){if(o[i])return o[i].exports;var l=o[i]={i,l:!1,exports:{}};return n[i].call(l.exports,l,l.exports,r),l.l=!0,l.exports}return r.m=n,r.c=o,r.d=function(i,l,s){r.o(i,l)||Object.defineProperty(i,l,{enumerable:!0,get:s})},r.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,l){if(l&1&&(i=r(i)),l&8||l&4&&typeof i=="object"&&i&&i.__esModule)return i;var s=Object.create(null);if(r.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:i}),l&2&&typeof i!="string")for(var u in i)r.d(s,u,(function(h){return i[h]}).bind(null,u));return s},r.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(l,"a",l),l},r.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},r.p="",r(r.s=2)})([(function(n,o,r){var i=this&&this.__extends||(function(){var x=function(b,y){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,N){S.__proto__=N}||function(S,N){for(var C in N)N.hasOwnProperty(C)&&(S[C]=N[C])},x(b,y)};return function(b,y){x(b,y);function S(){this.constructor=b}b.prototype=y===null?Object.create(y):(S.prototype=y.prototype,new S)}})();Object.defineProperty(o,"__esModule",{value:!0});var l=256,s=(function(){function x(b){b===void 0&&(b="="),this._paddingCharacter=b}return x.prototype.encodedLength=function(b){return this._paddingCharacter?(b+2)/3*4|0:(b*8+5)/6|0},x.prototype.encode=function(b){for(var y="",S=0;S<b.length-2;S+=3){var N=b[S]<<16|b[S+1]<<8|b[S+2];y+=this._encodeByte(N>>>18&63),y+=this._encodeByte(N>>>12&63),y+=this._encodeByte(N>>>6&63),y+=this._encodeByte(N>>>0&63)}var C=b.length-S;if(C>0){var N=b[S]<<16|(C===2?b[S+1]<<8:0);y+=this._encodeByte(N>>>18&63),y+=this._encodeByte(N>>>12&63),C===2?y+=this._encodeByte(N>>>6&63):y+=this._paddingCharacter||"",y+=this._paddingCharacter||""}return y},x.prototype.maxDecodedLength=function(b){return this._paddingCharacter?b/4*3|0:(b*6+7)/8|0},x.prototype.decodedLength=function(b){return this.maxDecodedLength(b.length-this._getPaddingLength(b))},x.prototype.decode=function(b){if(b.length===0)return new Uint8Array(0);for(var y=this._getPaddingLength(b),S=b.length-y,N=new Uint8Array(this.maxDecodedLength(S)),C=0,P=0,T=0,A=0,M=0,E=0,R=0;P<S-4;P+=4)A=this._decodeChar(b.charCodeAt(P+0)),M=this._decodeChar(b.charCodeAt(P+1)),E=this._decodeChar(b.charCodeAt(P+2)),R=this._decodeChar(b.charCodeAt(P+3)),N[C++]=A<<2|M>>>4,N[C++]=M<<4|E>>>2,N[C++]=E<<6|R,T|=A&l,T|=M&l,T|=E&l,T|=R&l;if(P<S-1&&(A=this._decodeChar(b.charCodeAt(P)),M=this._decodeChar(b.charCodeAt(P+1)),N[C++]=A<<2|M>>>4,T|=A&l,T|=M&l),P<S-2&&(E=this._decodeChar(b.charCodeAt(P+2)),N[C++]=M<<4|E>>>2,T|=E&l),P<S-3&&(R=this._decodeChar(b.charCodeAt(P+3)),N[C++]=E<<6|R,T|=R&l),T!==0)throw new Error("Base64Coder: incorrect characters for decoding");return N},x.prototype._encodeByte=function(b){var y=b;return y+=65,y+=25-b>>>8&6,y+=51-b>>>8&-75,y+=61-b>>>8&-15,y+=62-b>>>8&3,String.fromCharCode(y)},x.prototype._decodeChar=function(b){var y=l;return y+=(42-b&b-44)>>>8&-l+b-43+62,y+=(46-b&b-48)>>>8&-l+b-47+63,y+=(47-b&b-58)>>>8&-l+b-48+52,y+=(64-b&b-91)>>>8&-l+b-65+0,y+=(96-b&b-123)>>>8&-l+b-97+26,y},x.prototype._getPaddingLength=function(b){var y=0;if(this._paddingCharacter){for(var S=b.length-1;S>=0&&b[S]===this._paddingCharacter;S--)y++;if(b.length<4||y>2)throw new Error("Base64Coder: incorrect padding")}return y},x})();o.Coder=s;var u=new s;function h(x){return u.encode(x)}o.encode=h;function f(x){return u.decode(x)}o.decode=f;var m=(function(x){i(b,x);function b(){return x!==null&&x.apply(this,arguments)||this}return b.prototype._encodeByte=function(y){var S=y;return S+=65,S+=25-y>>>8&6,S+=51-y>>>8&-75,S+=61-y>>>8&-13,S+=62-y>>>8&49,String.fromCharCode(S)},b.prototype._decodeChar=function(y){var S=l;return S+=(44-y&y-46)>>>8&-l+y-45+62,S+=(94-y&y-96)>>>8&-l+y-95+63,S+=(47-y&y-58)>>>8&-l+y-48+52,S+=(64-y&y-91)>>>8&-l+y-65+0,S+=(96-y&y-123)>>>8&-l+y-97+26,S},b})(s);o.URLSafeCoder=m;var g=new m;function _(x){return g.encode(x)}o.encodeURLSafe=_;function k(x){return g.decode(x)}o.decodeURLSafe=k,o.encodedLength=function(x){return u.encodedLength(x)},o.maxDecodedLength=function(x){return u.maxDecodedLength(x)},o.decodedLength=function(x){return u.decodedLength(x)}}),(function(n,o,r){Object.defineProperty(o,"__esModule",{value:!0});var i="utf8: invalid string",l="utf8: invalid source encoding";function s(f){for(var m=new Uint8Array(u(f)),g=0,_=0;_<f.length;_++){var k=f.charCodeAt(_);k<128?m[g++]=k:k<2048?(m[g++]=192|k>>6,m[g++]=128|k&63):k<55296?(m[g++]=224|k>>12,m[g++]=128|k>>6&63,m[g++]=128|k&63):(_++,k=(k&1023)<<10,k|=f.charCodeAt(_)&1023,k+=65536,m[g++]=240|k>>18,m[g++]=128|k>>12&63,m[g++]=128|k>>6&63,m[g++]=128|k&63)}return m}o.encode=s;function u(f){for(var m=0,g=0;g<f.length;g++){var _=f.charCodeAt(g);if(_<128)m+=1;else if(_<2048)m+=2;else if(_<55296)m+=3;else if(_<=57343){if(g>=f.length-1)throw new Error(i);g++,m+=4}else throw new Error(i)}return m}o.encodedLength=u;function h(f){for(var m=[],g=0;g<f.length;g++){var _=f[g];if(_&128){var k=void 0;if(_<224){if(g>=f.length)throw new Error(l);var x=f[++g];if((x&192)!==128)throw new Error(l);_=(_&31)<<6|x&63,k=128}else if(_<240){if(g>=f.length-1)throw new Error(l);var x=f[++g],b=f[++g];if((x&192)!==128||(b&192)!==128)throw new Error(l);_=(_&15)<<12|(x&63)<<6|b&63,k=2048}else if(_<248){if(g>=f.length-2)throw new Error(l);var x=f[++g],b=f[++g],y=f[++g];if((x&192)!==128||(b&192)!==128||(y&192)!==128)throw new Error(l);_=(_&15)<<18|(x&63)<<12|(b&63)<<6|y&63,k=65536}else throw new Error(l);if(_<k||_>=55296&&_<=57343)throw new Error(l);if(_>=65536){if(_>1114111)throw new Error(l);_-=65536,m.push(String.fromCharCode(55296|_>>10)),_=56320|_&1023}}m.push(String.fromCharCode(_))}return m.join("")}o.decode=h}),(function(n,o,r){n.exports=r(3).default}),(function(n,o,r){r.r(o);class i{constructor(a,c){this.lastId=0,this.prefix=a,this.name=c}create(a){this.lastId++;var c=this.lastId,v=this.prefix+c,w=this.name+"["+c+"]",$=!1,L=function(){$||(a.apply(null,arguments),$=!0)};return this[c]=L,{number:c,id:v,name:w,callback:L}}remove(a){delete this[a.number]}}var l=new i("_pusher_script_","Pusher.ScriptReceivers"),s={VERSION:"8.4.0",PROTOCOL:7,wsPort:80,wssPort:443,wsPath:"",httpHost:"sockjs.pusher.com",httpPort:80,httpsPort:443,httpPath:"/pusher",stats_host:"stats.pusher.com",authEndpoint:"/pusher/auth",authTransport:"ajax",activityTimeout:12e4,pongTimeout:3e4,unavailableTimeout:1e4,userAuthentication:{endpoint:"/pusher/user-auth",transport:"ajax"},channelAuthorization:{endpoint:"/pusher/auth",transport:"ajax"},cdn_http:"http://js.pusher.com",cdn_https:"https://js.pusher.com",dependency_suffix:""},u=s;class h{constructor(a){this.options=a,this.receivers=a.receivers||l,this.loading={}}load(a,c,v){var w=this;if(w.loading[a]&&w.loading[a].length>0)w.loading[a].push(v);else{w.loading[a]=[v];var $=Q.createScriptRequest(w.getPath(a,c)),L=w.receivers.create(function(W){if(w.receivers.remove(L),w.loading[a]){var Z=w.loading[a];delete w.loading[a];for(var se=function(ye){ye||$.cleanup()},ue=0;ue<Z.length;ue++)Z[ue](W,se)}});$.send(L)}}getRoot(a){var c,v=Q.getDocument().location.protocol;return a&&a.useTLS||v==="https:"?c=this.options.cdn_https:c=this.options.cdn_http,c.replace(/\/*$/,"")+"/"+this.options.version}getPath(a,c){return this.getRoot(c)+"/"+a+this.options.suffix+".js"}}var f=new i("_pusher_dependencies","Pusher.DependenciesReceivers"),m=new h({cdn_http:u.cdn_http,cdn_https:u.cdn_https,version:u.VERSION,suffix:u.dependency_suffix,receivers:f});const g={baseUrl:"https://pusher.com",urls:{authenticationEndpoint:{path:"/docs/channels/server_api/authenticating_users"},authorizationEndpoint:{path:"/docs/channels/server_api/authorizing-users/"},javascriptQuickStart:{path:"/docs/javascript_quick_start"},triggeringClientEvents:{path:"/docs/client_api_guide/client_events#trigger-events"},encryptedChannelSupport:{fullUrl:"https://github.com/pusher/pusher-js/tree/cc491015371a4bde5743d1c87a0fbac0feb53195#encrypted-channel-support"}}};var k={buildLogSuffix:function(d){const a="See:",c=g.urls[d];if(!c)return"";let v;return c.fullUrl?v=c.fullUrl:c.path&&(v=g.baseUrl+c.path),v?`${a} ${v}`:""}},x;(function(d){d.UserAuthentication="user-authentication",d.ChannelAuthorization="channel-authorization"})(x||(x={}));class b extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class y extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class S extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class N extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class C extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class P extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class T extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class A extends Error{constructor(a){super(a),Object.setPrototypeOf(this,new.target.prototype)}}class M extends Error{constructor(a,c){super(c),this.status=a,Object.setPrototypeOf(this,new.target.prototype)}}var R=function(d,a,c,v,w){const $=Q.createXHR();$.open("POST",c.endpoint,!0),$.setRequestHeader("Content-Type","application/x-www-form-urlencoded");for(var L in c.headers)$.setRequestHeader(L,c.headers[L]);if(c.headersProvider!=null){let W=c.headersProvider();for(var L in W)$.setRequestHeader(L,W[L])}return $.onreadystatechange=function(){if($.readyState===4)if($.status===200){let W,Z=!1;try{W=JSON.parse($.responseText),Z=!0}catch{w(new M(200,`JSON returned from ${v.toString()} endpoint was invalid, yet status code was 200. Data was: ${$.responseText}`),null)}Z&&w(null,W)}else{let W="";switch(v){case x.UserAuthentication:W=k.buildLogSuffix("authenticationEndpoint");break;case x.ChannelAuthorization:W=`Clients must be authorized to join private or presence channels. ${k.buildLogSuffix("authorizationEndpoint")}`;break}w(new M($.status,`Unable to retrieve auth string from ${v.toString()} endpoint - received status: ${$.status} from ${c.endpoint}. ${W}`),null)}},$.send(a),$};function G(d){return ae(de(d))}var I=String.fromCharCode,ie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=function(d){var a=d.charCodeAt(0);return a<128?d:a<2048?I(192|a>>>6)+I(128|a&63):I(224|a>>>12&15)+I(128|a>>>6&63)+I(128|a&63)},de=function(d){return d.replace(/[^\x00-\x7F]/g,le)},X=function(d){var a=[0,2,1][d.length%3],c=d.charCodeAt(0)<<16|(d.length>1?d.charCodeAt(1):0)<<8|(d.length>2?d.charCodeAt(2):0),v=[ie.charAt(c>>>18),ie.charAt(c>>>12&63),a>=2?"=":ie.charAt(c>>>6&63),a>=1?"=":ie.charAt(c&63)];return v.join("")},ae=window.btoa||function(d){return d.replace(/[\s\S]{1,3}/g,X)};class K{constructor(a,c,v,w){this.clear=c,this.timer=a(()=>{this.timer&&(this.timer=w(this.timer))},v)}isRunning(){return this.timer!==null}ensureAborted(){this.timer&&(this.clear(this.timer),this.timer=null)}}var F=K;function O(d){window.clearTimeout(d)}function ce(d){window.clearInterval(d)}class ge extends F{constructor(a,c){super(setTimeout,O,a,function(v){return c(),null})}}class Fe extends F{constructor(a,c){super(setInterval,ce,a,function(v){return c(),v})}}var ke={now(){return Date.now?Date.now():new Date().valueOf()},defer(d){return new ge(0,d)},method(d,...a){var c=Array.prototype.slice.call(arguments,1);return function(v){return v[d].apply(v,c.concat(arguments))}}},re=ke;function te(d,...a){for(var c=0;c<a.length;c++){var v=a[c];for(var w in v)v[w]&&v[w].constructor&&v[w].constructor===Object?d[w]=te(d[w]||{},v[w]):d[w]=v[w]}return d}function je(){for(var d=["Pusher"],a=0;a<arguments.length;a++)typeof arguments[a]=="string"?d.push(arguments[a]):d.push(mo(arguments[a]));return d.join(" : ")}function ze(d,a){var c=Array.prototype.indexOf;if(d===null)return-1;if(c&&d.indexOf===c)return d.indexOf(a);for(var v=0,w=d.length;v<w;v++)if(d[v]===a)return v;return-1}function Y(d,a){for(var c in d)Object.prototype.hasOwnProperty.call(d,c)&&a(d[c],c,d)}function Ie(d){var a=[];return Y(d,function(c,v){a.push(v)}),a}function Pe(d){var a=[];return Y(d,function(c){a.push(c)}),a}function Te(d,a,c){for(var v=0;v<d.length;v++)a.call(c||window,d[v],v,d)}function Ee(d,a){for(var c=[],v=0;v<d.length;v++)c.push(a(d[v],v,d,c));return c}function He(d,a){var c={};return Y(d,function(v,w){c[w]=a(v)}),c}function Rt(d,a){a=a||function(w){return!!w};for(var c=[],v=0;v<d.length;v++)a(d[v],v,d,c)&&c.push(d[v]);return c}function J(d,a){var c={};return Y(d,function(v,w){(a&&a(v,w,d,c)||v)&&(c[w]=v)}),c}function me(d){var a=[];return Y(d,function(c,v){a.push([v,c])}),a}function dt(d,a){for(var c=0;c<d.length;c++)if(a(d[c],c,d))return!0;return!1}function Be(d,a){for(var c=0;c<d.length;c++)if(!a(d[c],c,d))return!1;return!0}function Ue(d){return He(d,function(a){return typeof a=="object"&&(a=mo(a)),encodeURIComponent(G(a.toString()))})}function Gr(d){var a=J(d,function(v){return v!==void 0}),c=Ee(me(Ue(a)),re.method("join","=")).join("&");return c}function Kv(d){var a=[],c=[];return(function v(w,$){var L,W,Z;switch(typeof w){case"object":if(!w)return null;for(L=0;L<a.length;L+=1)if(a[L]===w)return{$ref:c[L]};if(a.push(w),c.push($),Object.prototype.toString.apply(w)==="[object Array]")for(Z=[],L=0;L<w.length;L+=1)Z[L]=v(w[L],$+"["+L+"]");else{Z={};for(W in w)Object.prototype.hasOwnProperty.call(w,W)&&(Z[W]=v(w[W],$+"["+JSON.stringify(W)+"]"))}return Z;case"number":case"string":case"boolean":return w}})(d,"$")}function mo(d){try{return JSON.stringify(d)}catch{return JSON.stringify(Kv(d))}}class Xv{constructor(){this.globalLog=a=>{window.console&&window.console.log&&window.console.log(a)}}debug(...a){this.log(this.globalLog,a)}warn(...a){this.log(this.globalLogWarn,a)}error(...a){this.log(this.globalLogError,a)}globalLogWarn(a){window.console&&window.console.warn?window.console.warn(a):this.globalLog(a)}globalLogError(a){window.console&&window.console.error?window.console.error(a):this.globalLogWarn(a)}log(a,...c){var v=je.apply(this,arguments);ri.log?ri.log(v):ri.logToConsole&&a.bind(this)(v)}}var _e=new Xv,Yv=function(d,a,c,v,w){(c.headers!==void 0||c.headersProvider!=null)&&_e.warn(`To send headers with the ${v.toString()} request, you must use AJAX, rather than JSONP.`);var $=d.nextAuthCallbackID.toString();d.nextAuthCallbackID++;var L=d.getDocument(),W=L.createElement("script");d.auth_callbacks[$]=function(ue){w(null,ue)};var Z="Pusher.auth_callbacks['"+$+"']";W.src=c.endpoint+"?callback="+encodeURIComponent(Z)+"&"+a;var se=L.getElementsByTagName("head")[0]||L.documentElement;se.insertBefore(W,se.firstChild)},Jv=Yv;class Zv{constructor(a){this.src=a}send(a){var c=this,v="Error loading "+c.src;c.script=document.createElement("script"),c.script.id=a.id,c.script.src=c.src,c.script.type="text/javascript",c.script.charset="UTF-8",c.script.addEventListener?(c.script.onerror=function(){a.callback(v)},c.script.onload=function(){a.callback(null)}):c.script.onreadystatechange=function(){(c.script.readyState==="loaded"||c.script.readyState==="complete")&&a.callback(null)},c.script.async===void 0&&document.attachEvent&&/opera/i.test(navigator.userAgent)?(c.errorScript=document.createElement("script"),c.errorScript.id=a.id+"_error",c.errorScript.text=a.name+"('"+v+"');",c.script.async=c.errorScript.async=!1):c.script.async=!0;var w=document.getElementsByTagName("head")[0];w.insertBefore(c.script,w.firstChild),c.errorScript&&w.insertBefore(c.errorScript,c.script.nextSibling)}cleanup(){this.script&&(this.script.onload=this.script.onerror=null,this.script.onreadystatechange=null),this.script&&this.script.parentNode&&this.script.parentNode.removeChild(this.script),this.errorScript&&this.errorScript.parentNode&&this.errorScript.parentNode.removeChild(this.errorScript),this.script=null,this.errorScript=null}}class Qv{constructor(a,c){this.url=a,this.data=c}send(a){if(!this.request){var c=Gr(this.data),v=this.url+"/"+a.number+"?"+c;this.request=Q.createScriptRequest(v),this.request.send(a)}}cleanup(){this.request&&this.request.cleanup()}}var ex=function(d,a){return function(c,v){var w="http"+(a?"s":"")+"://",$=w+(d.host||d.options.host)+d.options.path,L=Q.createJSONPRequest($,c),W=Q.ScriptReceivers.create(function(Z,se){l.remove(W),L.cleanup(),se&&se.host&&(d.host=se.host),v&&v(Z,se)});L.send(W)}},tx={name:"jsonp",getAgent:ex},nx=tx;function Kr(d,a,c){var v=d+(a.useTLS?"s":""),w=a.useTLS?a.hostTLS:a.hostNonTLS;return v+"://"+w+c}function Xr(d,a){var c="/app/"+d,v="?protocol="+u.PROTOCOL+"&client=js&version="+u.VERSION+(a?"&"+a:"");return c+v}var ox={getInitial:function(d,a){var c=(a.httpPath||"")+Xr(d,"flash=false");return Kr("ws",a,c)}},rx={getInitial:function(d,a){var c=(a.httpPath||"/pusher")+Xr(d);return Kr("http",a,c)}},ix={getInitial:function(d,a){return Kr("http",a,a.httpPath||"/pusher")},getPath:function(d,a){return Xr(d)}};class ax{constructor(){this._callbacks={}}get(a){return this._callbacks[Yr(a)]}add(a,c,v){var w=Yr(a);this._callbacks[w]=this._callbacks[w]||[],this._callbacks[w].push({fn:c,context:v})}remove(a,c,v){if(!a&&!c&&!v){this._callbacks={};return}var w=a?[Yr(a)]:Ie(this._callbacks);c||v?this.removeCallback(w,c,v):this.removeAllCallbacks(w)}removeCallback(a,c,v){Te(a,function(w){this._callbacks[w]=Rt(this._callbacks[w]||[],function($){return c&&c!==$.fn||v&&v!==$.context}),this._callbacks[w].length===0&&delete this._callbacks[w]},this)}removeAllCallbacks(a){Te(a,function(c){delete this._callbacks[c]},this)}}function Yr(d){return"_"+d}class ut{constructor(a){this.callbacks=new ax,this.global_callbacks=[],this.failThrough=a}bind(a,c,v){return this.callbacks.add(a,c,v),this}bind_global(a){return this.global_callbacks.push(a),this}unbind(a,c,v){return this.callbacks.remove(a,c,v),this}unbind_global(a){return a?(this.global_callbacks=Rt(this.global_callbacks||[],c=>c!==a),this):(this.global_callbacks=[],this)}unbind_all(){return this.unbind(),this.unbind_global(),this}emit(a,c,v){for(var w=0;w<this.global_callbacks.length;w++)this.global_callbacks[w](a,c);var $=this.callbacks.get(a),L=[];if(v?L.push(c,v):c&&L.push(c),$&&$.length>0)for(var w=0;w<$.length;w++)$[w].fn.apply($[w].context||window,L);else this.failThrough&&this.failThrough(a,c);return this}}class lx extends ut{constructor(a,c,v,w,$){super(),this.initialize=Q.transportConnectionInitializer,this.hooks=a,this.name=c,this.priority=v,this.key=w,this.options=$,this.state="new",this.timeline=$.timeline,this.activityTimeout=$.activityTimeout,this.id=this.timeline.generateUniqueID()}handlesActivityChecks(){return!!this.hooks.handlesActivityChecks}supportsPing(){return!!this.hooks.supportsPing}connect(){if(this.socket||this.state!=="initialized")return!1;var a=this.hooks.urls.getInitial(this.key,this.options);try{this.socket=this.hooks.getSocket(a,this.options)}catch(c){return re.defer(()=>{this.onError(c),this.changeState("closed")}),!1}return this.bindListeners(),_e.debug("Connecting",{transport:this.name,url:a}),this.changeState("connecting"),!0}close(){return this.socket?(this.socket.close(),!0):!1}send(a){return this.state==="open"?(re.defer(()=>{this.socket&&this.socket.send(a)}),!0):!1}ping(){this.state==="open"&&this.supportsPing()&&this.socket.ping()}onOpen(){this.hooks.beforeOpen&&this.hooks.beforeOpen(this.socket,this.hooks.urls.getPath(this.key,this.options)),this.changeState("open"),this.socket.onopen=void 0}onError(a){this.emit("error",{type:"WebSocketError",error:a}),this.timeline.error(this.buildTimelineMessage({error:a.toString()}))}onClose(a){a?this.changeState("closed",{code:a.code,reason:a.reason,wasClean:a.wasClean}):this.changeState("closed"),this.unbindListeners(),this.socket=void 0}onMessage(a){this.emit("message",a)}onActivity(){this.emit("activity")}bindListeners(){this.socket.onopen=()=>{this.onOpen()},this.socket.onerror=a=>{this.onError(a)},this.socket.onclose=a=>{this.onClose(a)},this.socket.onmessage=a=>{this.onMessage(a)},this.supportsPing()&&(this.socket.onactivity=()=>{this.onActivity()})}unbindListeners(){this.socket&&(this.socket.onopen=void 0,this.socket.onerror=void 0,this.socket.onclose=void 0,this.socket.onmessage=void 0,this.supportsPing()&&(this.socket.onactivity=void 0))}changeState(a,c){this.state=a,this.timeline.info(this.buildTimelineMessage({state:a,params:c})),this.emit(a,c)}buildTimelineMessage(a){return te({cid:this.id},a)}}class tn{constructor(a){this.hooks=a}isSupported(a){return this.hooks.isSupported(a)}createConnection(a,c,v,w){return new lx(this.hooks,a,c,v,w)}}var sx=new tn({urls:ox,handlesActivityChecks:!1,supportsPing:!1,isInitialized:function(){return!!Q.getWebSocketAPI()},isSupported:function(){return!!Q.getWebSocketAPI()},getSocket:function(d){return Q.createWebSocket(d)}}),Uc={urls:rx,handlesActivityChecks:!1,supportsPing:!0,isInitialized:function(){return!0}},qc=te({getSocket:function(d){return Q.HTTPFactory.createStreamingSocket(d)}},Uc),Wc=te({getSocket:function(d){return Q.HTTPFactory.createPollingSocket(d)}},Uc),Vc={isSupported:function(){return Q.isXHRSupported()}},cx=new tn(te({},qc,Vc)),dx=new tn(te({},Wc,Vc)),ux={ws:sx,xhr_streaming:cx,xhr_polling:dx},fo=ux,hx=new tn({file:"sockjs",urls:ix,handlesActivityChecks:!0,supportsPing:!1,isSupported:function(){return!0},isInitialized:function(){return window.SockJS!==void 0},getSocket:function(d,a){return new window.SockJS(d,null,{js_path:m.getPath("sockjs",{useTLS:a.useTLS}),ignore_null_origin:a.ignoreNullOrigin})},beforeOpen:function(d,a){d.send(JSON.stringify({path:a}))}}),Gc={isSupported:function(d){var a=Q.isXDRSupported(d.useTLS);return a}},px=new tn(te({},qc,Gc)),mx=new tn(te({},Wc,Gc));fo.xdr_streaming=px,fo.xdr_polling=mx,fo.sockjs=hx;var fx=fo;class bx extends ut{constructor(){super();var a=this;window.addEventListener!==void 0&&(window.addEventListener("online",function(){a.emit("online")},!1),window.addEventListener("offline",function(){a.emit("offline")},!1))}isOnline(){return window.navigator.onLine===void 0?!0:window.navigator.onLine}}var gx=new bx;class _x{constructor(a,c,v){this.manager=a,this.transport=c,this.minPingDelay=v.minPingDelay,this.maxPingDelay=v.maxPingDelay,this.pingDelay=void 0}createConnection(a,c,v,w){w=te({},w,{activityTimeout:this.pingDelay});var $=this.transport.createConnection(a,c,v,w),L=null,W=function(){$.unbind("open",W),$.bind("closed",Z),L=re.now()},Z=se=>{if($.unbind("closed",Z),se.code===1002||se.code===1003)this.manager.reportDeath();else if(!se.wasClean&&L){var ue=re.now()-L;ue<2*this.maxPingDelay&&(this.manager.reportDeath(),this.pingDelay=Math.max(ue/2,this.minPingDelay))}};return $.bind("open",W),$}isSupported(a){return this.manager.isAlive()&&this.transport.isSupported(a)}}const Kc={decodeMessage:function(d){try{var a=JSON.parse(d.data),c=a.data;if(typeof c=="string")try{c=JSON.parse(a.data)}catch{}var v={event:a.event,channel:a.channel,data:c};return a.user_id&&(v.user_id=a.user_id),v}catch(w){throw{type:"MessageParseError",error:w,data:d.data}}},encodeMessage:function(d){return JSON.stringify(d)},processHandshake:function(d){var a=Kc.decodeMessage(d);if(a.event==="pusher:connection_established"){if(!a.data.activity_timeout)throw"No activity timeout specified in handshake";return{action:"connected",id:a.data.socket_id,activityTimeout:a.data.activity_timeout*1e3}}else{if(a.event==="pusher:error")return{action:this.getCloseAction(a.data),error:this.getCloseError(a.data)};throw"Invalid handshake"}},getCloseAction:function(d){return d.code<4e3?d.code>=1002&&d.code<=1004?"backoff":null:d.code===4e3?"tls_only":d.code<4100?"refused":d.code<4200?"backoff":d.code<4300?"retry":"refused"},getCloseError:function(d){return d.code!==1e3&&d.code!==1001?{type:"PusherError",data:{code:d.code,message:d.reason||d.message}}:null}};var Ot=Kc;class vx extends ut{constructor(a,c){super(),this.id=a,this.transport=c,this.activityTimeout=c.activityTimeout,this.bindListeners()}handlesActivityChecks(){return this.transport.handlesActivityChecks()}send(a){return this.transport.send(a)}send_event(a,c,v){var w={event:a,data:c};return v&&(w.channel=v),_e.debug("Event sent",w),this.send(Ot.encodeMessage(w))}ping(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})}close(){this.transport.close()}bindListeners(){var a={message:v=>{var w;try{w=Ot.decodeMessage(v)}catch($){this.emit("error",{type:"MessageParseError",error:$,data:v.data})}if(w!==void 0){switch(_e.debug("Event recd",w),w.event){case"pusher:error":this.emit("error",{type:"PusherError",data:w.data});break;case"pusher:ping":this.emit("ping");break;case"pusher:pong":this.emit("pong");break}this.emit("message",w)}},activity:()=>{this.emit("activity")},error:v=>{this.emit("error",v)},closed:v=>{c(),v&&v.code&&this.handleCloseEvent(v),this.transport=null,this.emit("closed")}},c=()=>{Y(a,(v,w)=>{this.transport.unbind(w,v)})};Y(a,(v,w)=>{this.transport.bind(w,v)})}handleCloseEvent(a){var c=Ot.getCloseAction(a),v=Ot.getCloseError(a);v&&this.emit("error",v),c&&this.emit(c,{action:c,error:v})}}class xx{constructor(a,c){this.transport=a,this.callback=c,this.bindListeners()}close(){this.unbindListeners(),this.transport.close()}bindListeners(){this.onMessage=a=>{this.unbindListeners();var c;try{c=Ot.processHandshake(a)}catch(v){this.finish("error",{error:v}),this.transport.close();return}c.action==="connected"?this.finish("connected",{connection:new vx(c.id,this.transport),activityTimeout:c.activityTimeout}):(this.finish(c.action,{error:c.error}),this.transport.close())},this.onClosed=a=>{this.unbindListeners();var c=Ot.getCloseAction(a)||"backoff",v=Ot.getCloseError(a);this.finish(c,{error:v})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)}unbindListeners(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)}finish(a,c){this.callback(te({transport:this.transport,action:a},c))}}class yx{constructor(a,c){this.timeline=a,this.options=c||{}}send(a,c){this.timeline.isEmpty()||this.timeline.send(Q.TimelineTransport.getAgent(this,a),c)}}class Jr extends ut{constructor(a,c){super(function(v,w){_e.debug("No callbacks on "+a+" for "+v)}),this.name=a,this.pusher=c,this.subscribed=!1,this.subscriptionPending=!1,this.subscriptionCancelled=!1}authorize(a,c){return c(null,{auth:""})}trigger(a,c){if(a.indexOf("client-")!==0)throw new b("Event '"+a+"' does not start with 'client-'");if(!this.subscribed){var v=k.buildLogSuffix("triggeringClientEvents");_e.warn(`Client event triggered before channel 'subscription_succeeded' event . ${v}`)}return this.pusher.send_event(a,c,this.name)}disconnect(){this.subscribed=!1,this.subscriptionPending=!1}handleEvent(a){var c=a.event,v=a.data;if(c==="pusher_internal:subscription_succeeded")this.handleSubscriptionSucceededEvent(a);else if(c==="pusher_internal:subscription_count")this.handleSubscriptionCountEvent(a);else if(c.indexOf("pusher_internal:")!==0){var w={};this.emit(c,v,w)}}handleSubscriptionSucceededEvent(a){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",a.data)}handleSubscriptionCountEvent(a){a.data.subscription_count&&(this.subscriptionCount=a.data.subscription_count),this.emit("pusher:subscription_count",a.data)}subscribe(){this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,(a,c)=>{a?(this.subscriptionPending=!1,_e.error(a.toString()),this.emit("pusher:subscription_error",Object.assign({},{type:"AuthError",error:a.message},a instanceof M?{status:a.status}:{}))):this.pusher.send_event("pusher:subscribe",{auth:c.auth,channel_data:c.channel_data,channel:this.name})}))}unsubscribe(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})}cancelSubscription(){this.subscriptionCancelled=!0}reinstateSubscription(){this.subscriptionCancelled=!1}}class Zr extends Jr{authorize(a,c){return this.pusher.config.channelAuthorizer({channelName:this.name,socketId:a},c)}}class wx{constructor(){this.reset()}get(a){return Object.prototype.hasOwnProperty.call(this.members,a)?{id:a,info:this.members[a]}:null}each(a){Y(this.members,(c,v)=>{a(this.get(v))})}setMyID(a){this.myID=a}onSubscription(a){this.members=a.presence.hash,this.count=a.presence.count,this.me=this.get(this.myID)}addMember(a){return this.get(a.user_id)===null&&this.count++,this.members[a.user_id]=a.user_info,this.get(a.user_id)}removeMember(a){var c=this.get(a.user_id);return c&&(delete this.members[a.user_id],this.count--),c}reset(){this.members={},this.count=0,this.myID=null,this.me=null}}var kx=function(d,a,c,v){function w($){return $ instanceof c?$:new c(function(L){L($)})}return new(c||(c=Promise))(function($,L){function W(ue){try{se(v.next(ue))}catch(ye){L(ye)}}function Z(ue){try{se(v.throw(ue))}catch(ye){L(ye)}}function se(ue){ue.done?$(ue.value):w(ue.value).then(W,Z)}se((v=v.apply(d,a||[])).next())})};class jx extends Zr{constructor(a,c){super(a,c),this.members=new wx}authorize(a,c){super.authorize(a,(v,w)=>kx(this,void 0,void 0,function*(){if(!v)if(w=w,w.channel_data!=null){var $=JSON.parse(w.channel_data);this.members.setMyID($.user_id)}else if(yield this.pusher.user.signinDonePromise,this.pusher.user.user_data!=null)this.members.setMyID(this.pusher.user.user_data.id);else{let L=k.buildLogSuffix("authorizationEndpoint");_e.error(`Invalid auth response for channel '${this.name}', expected 'channel_data' field. ${L}, or the user should be signed in.`),c("Invalid auth response");return}c(v,w)}))}handleEvent(a){var c=a.event;if(c.indexOf("pusher_internal:")===0)this.handleInternalEvent(a);else{var v=a.data,w={};a.user_id&&(w.user_id=a.user_id),this.emit(c,v,w)}}handleInternalEvent(a){var c=a.event,v=a.data;switch(c){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(a);break;case"pusher_internal:subscription_count":this.handleSubscriptionCountEvent(a);break;case"pusher_internal:member_added":var w=this.members.addMember(v);this.emit("pusher:member_added",w);break;case"pusher_internal:member_removed":var $=this.members.removeMember(v);$&&this.emit("pusher:member_removed",$);break}}handleSubscriptionSucceededEvent(a){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(a.data),this.emit("pusher:subscription_succeeded",this.members))}disconnect(){this.members.reset(),super.disconnect()}}var Sx=r(1),Qr=r(0);class Cx extends Zr{constructor(a,c,v){super(a,c),this.key=null,this.nacl=v}authorize(a,c){super.authorize(a,(v,w)=>{if(v){c(v,w);return}let $=w.shared_secret;if(!$){c(new Error(`No shared_secret key in auth payload for encrypted channel: ${this.name}`),null);return}this.key=Object(Qr.decode)($),delete w.shared_secret,c(null,w)})}trigger(a,c){throw new P("Client events are not currently supported for encrypted channels")}handleEvent(a){var c=a.event,v=a.data;if(c.indexOf("pusher_internal:")===0||c.indexOf("pusher:")===0){super.handleEvent(a);return}this.handleEncryptedEvent(c,v)}handleEncryptedEvent(a,c){if(!this.key){_e.debug("Received encrypted event before key has been retrieved from the authEndpoint");return}if(!c.ciphertext||!c.nonce){_e.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+c);return}let v=Object(Qr.decode)(c.ciphertext);if(v.length<this.nacl.secretbox.overheadLength){_e.error(`Expected encrypted event ciphertext length to be ${this.nacl.secretbox.overheadLength}, got: ${v.length}`);return}let w=Object(Qr.decode)(c.nonce);if(w.length<this.nacl.secretbox.nonceLength){_e.error(`Expected encrypted event nonce length to be ${this.nacl.secretbox.nonceLength}, got: ${w.length}`);return}let $=this.nacl.secretbox.open(v,w,this.key);if($===null){_e.debug("Failed to decrypt an event, probably because it was encrypted with a different key. Fetching a new key from the authEndpoint..."),this.authorize(this.pusher.connection.socket_id,(L,W)=>{if(L){_e.error(`Failed to make a request to the authEndpoint: ${W}. Unable to fetch new key, so dropping encrypted event`);return}if($=this.nacl.secretbox.open(v,w,this.key),$===null){_e.error("Failed to decrypt event with new key. Dropping encrypted event");return}this.emit(a,this.getDataToEmit($))});return}this.emit(a,this.getDataToEmit($))}getDataToEmit(a){let c=Object(Sx.decode)(a);try{return JSON.parse(c)}catch{return c}}}class Nx extends ut{constructor(a,c){super(),this.state="initialized",this.connection=null,this.key=a,this.options=c,this.timeline=this.options.timeline,this.usingTLS=this.options.useTLS,this.errorCallbacks=this.buildErrorCallbacks(),this.connectionCallbacks=this.buildConnectionCallbacks(this.errorCallbacks),this.handshakeCallbacks=this.buildHandshakeCallbacks(this.errorCallbacks);var v=Q.getNetwork();v.bind("online",()=>{this.timeline.info({netinfo:"online"}),(this.state==="connecting"||this.state==="unavailable")&&this.retryIn(0)}),v.bind("offline",()=>{this.timeline.info({netinfo:"offline"}),this.connection&&this.sendActivityCheck()}),this.updateStrategy()}connect(){if(!(this.connection||this.runner)){if(!this.strategy.isSupported()){this.updateState("failed");return}this.updateState("connecting"),this.startConnecting(),this.setUnavailableTimer()}}send(a){return this.connection?this.connection.send(a):!1}send_event(a,c,v){return this.connection?this.connection.send_event(a,c,v):!1}disconnect(){this.disconnectInternally(),this.updateState("disconnected")}isUsingTLS(){return this.usingTLS}startConnecting(){var a=(c,v)=>{c?this.runner=this.strategy.connect(0,a):v.action==="error"?(this.emit("error",{type:"HandshakeError",error:v.error}),this.timeline.error({handshakeError:v.error})):(this.abortConnecting(),this.handshakeCallbacks[v.action](v))};this.runner=this.strategy.connect(0,a)}abortConnecting(){this.runner&&(this.runner.abort(),this.runner=null)}disconnectInternally(){if(this.abortConnecting(),this.clearRetryTimer(),this.clearUnavailableTimer(),this.connection){var a=this.abandonConnection();a.close()}}updateStrategy(){this.strategy=this.options.getStrategy({key:this.key,timeline:this.timeline,useTLS:this.usingTLS})}retryIn(a){this.timeline.info({action:"retry",delay:a}),a>0&&this.emit("connecting_in",Math.round(a/1e3)),this.retryTimer=new ge(a||0,()=>{this.disconnectInternally(),this.connect()})}clearRetryTimer(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)}setUnavailableTimer(){this.unavailableTimer=new ge(this.options.unavailableTimeout,()=>{this.updateState("unavailable")})}clearUnavailableTimer(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()}sendActivityCheck(){this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new ge(this.options.pongTimeout,()=>{this.timeline.error({pong_timed_out:this.options.pongTimeout}),this.retryIn(0)})}resetActivityCheck(){this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new ge(this.activityTimeout,()=>{this.sendActivityCheck()}))}stopActivityCheck(){this.activityTimer&&this.activityTimer.ensureAborted()}buildConnectionCallbacks(a){return te({},a,{message:c=>{this.resetActivityCheck(),this.emit("message",c)},ping:()=>{this.send_event("pusher:pong",{})},activity:()=>{this.resetActivityCheck()},error:c=>{this.emit("error",c)},closed:()=>{this.abandonConnection(),this.shouldRetry()&&this.retryIn(1e3)}})}buildHandshakeCallbacks(a){return te({},a,{connected:c=>{this.activityTimeout=Math.min(this.options.activityTimeout,c.activityTimeout,c.connection.activityTimeout||1/0),this.clearUnavailableTimer(),this.setConnection(c.connection),this.socket_id=this.connection.id,this.updateState("connected",{socket_id:this.socket_id})}})}buildErrorCallbacks(){let a=c=>v=>{v.error&&this.emit("error",{type:"WebSocketError",error:v.error}),c(v)};return{tls_only:a(()=>{this.usingTLS=!0,this.updateStrategy(),this.retryIn(0)}),refused:a(()=>{this.disconnect()}),backoff:a(()=>{this.retryIn(1e3)}),retry:a(()=>{this.retryIn(0)})}}setConnection(a){this.connection=a;for(var c in this.connectionCallbacks)this.connection.bind(c,this.connectionCallbacks[c]);this.resetActivityCheck()}abandonConnection(){if(this.connection){this.stopActivityCheck();for(var a in this.connectionCallbacks)this.connection.unbind(a,this.connectionCallbacks[a]);var c=this.connection;return this.connection=null,c}}updateState(a,c){var v=this.state;if(this.state=a,v!==a){var w=a;w==="connected"&&(w+=" with new socket ID "+c.socket_id),_e.debug("State changed",v+" -> "+w),this.timeline.info({state:a,params:c}),this.emit("state_change",{previous:v,current:a}),this.emit(a,c)}}shouldRetry(){return this.state==="connecting"||this.state==="connected"}}class Tx{constructor(){this.channels={}}add(a,c){return this.channels[a]||(this.channels[a]=Mx(a,c)),this.channels[a]}all(){return Pe(this.channels)}find(a){return this.channels[a]}remove(a){var c=this.channels[a];return delete this.channels[a],c}disconnect(){Y(this.channels,function(a){a.disconnect()})}}function Mx(d,a){if(d.indexOf("private-encrypted-")===0){if(a.config.nacl)return ht.createEncryptedChannel(d,a,a.config.nacl);let c="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",v=k.buildLogSuffix("encryptedChannelSupport");throw new P(`${c}. ${v}`)}else{if(d.indexOf("private-")===0)return ht.createPrivateChannel(d,a);if(d.indexOf("presence-")===0)return ht.createPresenceChannel(d,a);if(d.indexOf("#")===0)throw new y('Cannot create a channel with name "'+d+'".');return ht.createChannel(d,a)}}var Ax={createChannels(){return new Tx},createConnectionManager(d,a){return new Nx(d,a)},createChannel(d,a){return new Jr(d,a)},createPrivateChannel(d,a){return new Zr(d,a)},createPresenceChannel(d,a){return new jx(d,a)},createEncryptedChannel(d,a,c){return new Cx(d,a,c)},createTimelineSender(d,a){return new yx(d,a)},createHandshake(d,a){return new xx(d,a)},createAssistantToTheTransportManager(d,a,c){return new _x(d,a,c)}},ht=Ax;class Xc{constructor(a){this.options=a||{},this.livesLeft=this.options.lives||1/0}getAssistant(a){return ht.createAssistantToTheTransportManager(this,a,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})}isAlive(){return this.livesLeft>0}reportDeath(){this.livesLeft-=1}}class Lt{constructor(a,c){this.strategies=a,this.loop=!!c.loop,this.failFast=!!c.failFast,this.timeout=c.timeout,this.timeoutLimit=c.timeoutLimit}isSupported(){return dt(this.strategies,re.method("isSupported"))}connect(a,c){var v=this.strategies,w=0,$=this.timeout,L=null,W=(Z,se)=>{se?c(null,se):(w=w+1,this.loop&&(w=w%v.length),w<v.length?($&&($=$*2,this.timeoutLimit&&($=Math.min($,this.timeoutLimit))),L=this.tryStrategy(v[w],a,{timeout:$,failFast:this.failFast},W)):c(!0))};return L=this.tryStrategy(v[w],a,{timeout:$,failFast:this.failFast},W),{abort:function(){L.abort()},forceMinPriority:function(Z){a=Z,L&&L.forceMinPriority(Z)}}}tryStrategy(a,c,v,w){var $=null,L=null;return v.timeout>0&&($=new ge(v.timeout,function(){L.abort(),w(!0)})),L=a.connect(c,function(W,Z){W&&$&&$.isRunning()&&!v.failFast||($&&$.ensureAborted(),w(W,Z))}),{abort:function(){$&&$.ensureAborted(),L.abort()},forceMinPriority:function(W){L.forceMinPriority(W)}}}}class ei{constructor(a){this.strategies=a}isSupported(){return dt(this.strategies,re.method("isSupported"))}connect(a,c){return Px(this.strategies,a,function(v,w){return function($,L){if(w[v].error=$,$){Ex(w)&&c(!0);return}Te(w,function(W){W.forceMinPriority(L.transport.priority)}),c(null,L)}})}}function Px(d,a,c){var v=Ee(d,function(w,$,L,W){return w.connect(a,c($,W))});return{abort:function(){Te(v,$x)},forceMinPriority:function(w){Te(v,function($){$.forceMinPriority(w)})}}}function Ex(d){return Be(d,function(a){return!!a.error})}function $x(d){!d.error&&!d.aborted&&(d.abort(),d.aborted=!0)}class Rx{constructor(a,c,v){this.strategy=a,this.transports=c,this.ttl=v.ttl||1800*1e3,this.usingTLS=v.useTLS,this.timeline=v.timeline}isSupported(){return this.strategy.isSupported()}connect(a,c){var v=this.usingTLS,w=Ox(v),$=w&&w.cacheSkipCount?w.cacheSkipCount:0,L=[this.strategy];if(w&&w.timestamp+this.ttl>=re.now()){var W=this.transports[w.transport];W&&(["ws","wss"].includes(w.transport)||$>3?(this.timeline.info({cached:!0,transport:w.transport,latency:w.latency}),L.push(new Lt([W],{timeout:w.latency*2+1e3,failFast:!0}))):$++)}var Z=re.now(),se=L.pop().connect(a,function ue(ye,_o){ye?(Yc(v),L.length>0?(Z=re.now(),se=L.pop().connect(a,ue)):c(ye)):(Lx(v,_o.transport.name,re.now()-Z,$),c(null,_o))});return{abort:function(){se.abort()},forceMinPriority:function(ue){a=ue,se&&se.forceMinPriority(ue)}}}}function ti(d){return"pusherTransport"+(d?"TLS":"NonTLS")}function Ox(d){var a=Q.getLocalStorage();if(a)try{var c=a[ti(d)];if(c)return JSON.parse(c)}catch{Yc(d)}return null}function Lx(d,a,c,v){var w=Q.getLocalStorage();if(w)try{w[ti(d)]=mo({timestamp:re.now(),transport:a,latency:c,cacheSkipCount:v})}catch{}}function Yc(d){var a=Q.getLocalStorage();if(a)try{delete a[ti(d)]}catch{}}class bo{constructor(a,{delay:c}){this.strategy=a,this.options={delay:c}}isSupported(){return this.strategy.isSupported()}connect(a,c){var v=this.strategy,w,$=new ge(this.options.delay,function(){w=v.connect(a,c)});return{abort:function(){$.ensureAborted(),w&&w.abort()},forceMinPriority:function(L){a=L,w&&w.forceMinPriority(L)}}}}class kn{constructor(a,c,v){this.test=a,this.trueBranch=c,this.falseBranch=v}isSupported(){var a=this.test()?this.trueBranch:this.falseBranch;return a.isSupported()}connect(a,c){var v=this.test()?this.trueBranch:this.falseBranch;return v.connect(a,c)}}class zx{constructor(a){this.strategy=a}isSupported(){return this.strategy.isSupported()}connect(a,c){var v=this.strategy.connect(a,function(w,$){$&&v.abort(),c(w,$)});return v}}function jn(d){return function(){return d.isSupported()}}var Ix=function(d,a,c){var v={};function w(ld,zy,Iy,Dy,Fy){var sd=c(d,ld,zy,Iy,Dy,Fy);return v[ld]=sd,sd}var $=Object.assign({},a,{hostNonTLS:d.wsHost+":"+d.wsPort,hostTLS:d.wsHost+":"+d.wssPort,httpPath:d.wsPath}),L=Object.assign({},$,{useTLS:!0}),W=Object.assign({},a,{hostNonTLS:d.httpHost+":"+d.httpPort,hostTLS:d.httpHost+":"+d.httpsPort,httpPath:d.httpPath}),Z={loop:!0,timeout:15e3,timeoutLimit:6e4},se=new Xc({minPingDelay:1e4,maxPingDelay:d.activityTimeout}),ue=new Xc({lives:2,minPingDelay:1e4,maxPingDelay:d.activityTimeout}),ye=w("ws","ws",3,$,se),_o=w("wss","ws",3,L,se),Ey=w("sockjs","sockjs",1,W),td=w("xhr_streaming","xhr_streaming",1,W,ue),$y=w("xdr_streaming","xdr_streaming",1,W,ue),nd=w("xhr_polling","xhr_polling",1,W),Ry=w("xdr_polling","xdr_polling",1,W),od=new Lt([ye],Z),Oy=new Lt([_o],Z),Ly=new Lt([Ey],Z),rd=new Lt([new kn(jn(td),td,$y)],Z),id=new Lt([new kn(jn(nd),nd,Ry)],Z),ad=new Lt([new kn(jn(rd),new ei([rd,new bo(id,{delay:4e3})]),id)],Z),ii=new kn(jn(ad),ad,Ly),ai;return a.useTLS?ai=new ei([od,new bo(ii,{delay:2e3})]):ai=new ei([od,new bo(Oy,{delay:2e3}),new bo(ii,{delay:5e3})]),new Rx(new zx(new kn(jn(ye),ai,ii)),v,{ttl:18e5,timeline:a.timeline,useTLS:a.useTLS})},Dx=Ix,Fx=(function(){var d=this;d.timeline.info(d.buildTimelineMessage({transport:d.name+(d.options.useTLS?"s":"")})),d.hooks.isInitialized()?d.changeState("initialized"):d.hooks.file?(d.changeState("initializing"),m.load(d.hooks.file,{useTLS:d.options.useTLS},function(a,c){d.hooks.isInitialized()?(d.changeState("initialized"),c(!0)):(a&&d.onError(a),d.onClose(),c(!1))})):d.onClose()}),Hx={getRequest:function(d){var a=new window.XDomainRequest;return a.ontimeout=function(){d.emit("error",new S),d.close()},a.onerror=function(c){d.emit("error",c),d.close()},a.onprogress=function(){a.responseText&&a.responseText.length>0&&d.onChunk(200,a.responseText)},a.onload=function(){a.responseText&&a.responseText.length>0&&d.onChunk(200,a.responseText),d.emit("finished",200),d.close()},a},abortRequest:function(d){d.ontimeout=d.onerror=d.onprogress=d.onload=null,d.abort()}},Bx=Hx;const Ux=256*1024;class qx extends ut{constructor(a,c,v){super(),this.hooks=a,this.method=c,this.url=v}start(a){this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=()=>{this.close()},Q.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(a)}close(){this.unloader&&(Q.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)}onChunk(a,c){for(;;){var v=this.advanceBuffer(c);if(v)this.emit("chunk",{status:a,data:v});else break}this.isBufferTooLong(c)&&this.emit("buffer_too_long")}advanceBuffer(a){var c=a.slice(this.position),v=c.indexOf(`
|
|
1068
|
+
`);return v!==-1?(this.position+=v+1,c.slice(0,v)):null}isBufferTooLong(a){return this.position===a.length&&a.length>Ux}}var ni;(function(d){d[d.CONNECTING=0]="CONNECTING",d[d.OPEN=1]="OPEN",d[d.CLOSED=3]="CLOSED"})(ni||(ni={}));var zt=ni,Wx=1;class Vx{constructor(a,c){this.hooks=a,this.session=Zc(1e3)+"/"+Yx(8),this.location=Gx(c),this.readyState=zt.CONNECTING,this.openStream()}send(a){return this.sendRaw(JSON.stringify([a]))}ping(){this.hooks.sendHeartbeat(this)}close(a,c){this.onClose(a,c,!0)}sendRaw(a){if(this.readyState===zt.OPEN)try{return Q.createSocketRequest("POST",Jc(Kx(this.location,this.session))).start(a),!0}catch{return!1}else return!1}reconnect(){this.closeStream(),this.openStream()}onClose(a,c,v){this.closeStream(),this.readyState=zt.CLOSED,this.onclose&&this.onclose({code:a,reason:c,wasClean:v})}onChunk(a){if(a.status===200){this.readyState===zt.OPEN&&this.onActivity();var c,v=a.data.slice(0,1);switch(v){case"o":c=JSON.parse(a.data.slice(1)||"{}"),this.onOpen(c);break;case"a":c=JSON.parse(a.data.slice(1)||"[]");for(var w=0;w<c.length;w++)this.onEvent(c[w]);break;case"m":c=JSON.parse(a.data.slice(1)||"null"),this.onEvent(c);break;case"h":this.hooks.onHeartbeat(this);break;case"c":c=JSON.parse(a.data.slice(1)||"[]"),this.onClose(c[0],c[1],!0);break}}}onOpen(a){this.readyState===zt.CONNECTING?(a&&a.hostname&&(this.location.base=Xx(this.location.base,a.hostname)),this.readyState=zt.OPEN,this.onopen&&this.onopen()):this.onClose(1006,"Server lost session",!0)}onEvent(a){this.readyState===zt.OPEN&&this.onmessage&&this.onmessage({data:a})}onActivity(){this.onactivity&&this.onactivity()}onError(a){this.onerror&&this.onerror(a)}openStream(){this.stream=Q.createSocketRequest("POST",Jc(this.hooks.getReceiveURL(this.location,this.session))),this.stream.bind("chunk",a=>{this.onChunk(a)}),this.stream.bind("finished",a=>{this.hooks.onFinished(this,a)}),this.stream.bind("buffer_too_long",()=>{this.reconnect()});try{this.stream.start()}catch(a){re.defer(()=>{this.onError(a),this.onClose(1006,"Could not start streaming",!1)})}}closeStream(){this.stream&&(this.stream.unbind_all(),this.stream.close(),this.stream=null)}}function Gx(d){var a=/([^\?]*)\/*(\??.*)/.exec(d);return{base:a[1],queryString:a[2]}}function Kx(d,a){return d.base+"/"+a+"/xhr_send"}function Jc(d){var a=d.indexOf("?")===-1?"?":"&";return d+a+"t="+ +new Date+"&n="+Wx++}function Xx(d,a){var c=/(https?:\/\/)([^\/:]+)((\/|:)?.*)/.exec(d);return c[1]+a+c[3]}function Zc(d){return Q.randomInt(d)}function Yx(d){for(var a=[],c=0;c<d;c++)a.push(Zc(32).toString(32));return a.join("")}var Jx=Vx,Zx={getReceiveURL:function(d,a){return d.base+"/"+a+"/xhr_streaming"+d.queryString},onHeartbeat:function(d){d.sendRaw("[]")},sendHeartbeat:function(d){d.sendRaw("[]")},onFinished:function(d,a){d.onClose(1006,"Connection interrupted ("+a+")",!1)}},Qx=Zx,ey={getReceiveURL:function(d,a){return d.base+"/"+a+"/xhr"+d.queryString},onHeartbeat:function(){},sendHeartbeat:function(d){d.sendRaw("[]")},onFinished:function(d,a){a===200?d.reconnect():d.onClose(1006,"Connection interrupted ("+a+")",!1)}},ty=ey,ny={getRequest:function(d){var a=Q.getXHRAPI(),c=new a;return c.onreadystatechange=c.onprogress=function(){switch(c.readyState){case 3:c.responseText&&c.responseText.length>0&&d.onChunk(c.status,c.responseText);break;case 4:c.responseText&&c.responseText.length>0&&d.onChunk(c.status,c.responseText),d.emit("finished",c.status),d.close();break}},c},abortRequest:function(d){d.onreadystatechange=null,d.abort()}},oy=ny,ry={createStreamingSocket(d){return this.createSocket(Qx,d)},createPollingSocket(d){return this.createSocket(ty,d)},createSocket(d,a){return new Jx(d,a)},createXHR(d,a){return this.createRequest(oy,d,a)},createRequest(d,a,c){return new qx(d,a,c)}},Qc=ry;Qc.createXDR=function(d,a){return this.createRequest(Bx,d,a)};var iy=Qc,ay={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:l,DependenciesReceivers:f,getDefaultStrategy:Dx,Transports:fx,transportConnectionInitializer:Fx,HTTPFactory:iy,TimelineTransport:nx,getXHRAPI(){return window.XMLHttpRequest},getWebSocketAPI(){return window.WebSocket||window.MozWebSocket},setup(d){window.Pusher=d;var a=()=>{this.onDocumentBody(d.ready)};window.JSON?a():m.load("json2",{},a)},getDocument(){return document},getProtocol(){return this.getDocument().location.protocol},getAuthorizers(){return{ajax:R,jsonp:Jv}},onDocumentBody(d){document.body?d():setTimeout(()=>{this.onDocumentBody(d)},0)},createJSONPRequest(d,a){return new Qv(d,a)},createScriptRequest(d){return new Zv(d)},getLocalStorage(){try{return window.localStorage}catch{return}},createXHR(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest(){var d=this.getXHRAPI();return new d},createMicrosoftXHR(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork(){return gx},createWebSocket(d){var a=this.getWebSocketAPI();return new a(d)},createSocketRequest(d,a){if(this.isXHRSupported())return this.HTTPFactory.createXHR(d,a);if(this.isXDRSupported(a.indexOf("https:")===0))return this.HTTPFactory.createXDR(d,a);throw"Cross-origin HTTP requests are not supported"},isXHRSupported(){var d=this.getXHRAPI();return!!d&&new d().withCredentials!==void 0},isXDRSupported(d){var a=d?"https:":"http:",c=this.getProtocol();return!!window.XDomainRequest&&c===a},addUnloadListener(d){window.addEventListener!==void 0?window.addEventListener("unload",d,!1):window.attachEvent!==void 0&&window.attachEvent("onunload",d)},removeUnloadListener(d){window.addEventListener!==void 0?window.removeEventListener("unload",d,!1):window.detachEvent!==void 0&&window.detachEvent("onunload",d)},randomInt(d){return Math.floor(function(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]/Math.pow(2,32)}()*d)}},Q=ay,oi;(function(d){d[d.ERROR=3]="ERROR",d[d.INFO=6]="INFO",d[d.DEBUG=7]="DEBUG"})(oi||(oi={}));var go=oi;class ly{constructor(a,c,v){this.key=a,this.session=c,this.events=[],this.options=v||{},this.sent=0,this.uniqueID=0}log(a,c){a<=this.options.level&&(this.events.push(te({},c,{timestamp:re.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())}error(a){this.log(go.ERROR,a)}info(a){this.log(go.INFO,a)}debug(a){this.log(go.DEBUG,a)}isEmpty(){return this.events.length===0}send(a,c){var v=te({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],a(v,(w,$)=>{w||this.sent++,c&&c(w,$)}),!0}generateUniqueID(){return this.uniqueID++,this.uniqueID}}class sy{constructor(a,c,v,w){this.name=a,this.priority=c,this.transport=v,this.options=w||{}}isSupported(){return this.transport.isSupported({useTLS:this.options.useTLS})}connect(a,c){if(this.isSupported()){if(this.priority<a)return ed(new N,c)}else return ed(new A,c);var v=!1,w=this.transport.createConnection(this.name,this.priority,this.options.key,this.options),$=null,L=function(){w.unbind("initialized",L),w.connect()},W=function(){$=ht.createHandshake(w,function(ye){v=!0,ue(),c(null,ye)})},Z=function(ye){ue(),c(ye)},se=function(){ue();var ye;ye=mo(w),c(new C(ye))},ue=function(){w.unbind("initialized",L),w.unbind("open",W),w.unbind("error",Z),w.unbind("closed",se)};return w.bind("initialized",L),w.bind("open",W),w.bind("error",Z),w.bind("closed",se),w.initialize(),{abort:()=>{v||(ue(),$?$.close():w.close())},forceMinPriority:ye=>{v||this.priority<ye&&($?$.close():w.close())}}}}function ed(d,a){return re.defer(function(){a(d)}),{abort:function(){},forceMinPriority:function(){}}}const{Transports:cy}=Q;var dy=function(d,a,c,v,w,$){var L=cy[c];if(!L)throw new T(c);var W=(!d.enabledTransports||ze(d.enabledTransports,a)!==-1)&&(!d.disabledTransports||ze(d.disabledTransports,a)===-1),Z;return W?(w=Object.assign({ignoreNullOrigin:d.ignoreNullOrigin},w),Z=new sy(a,v,$?$.getAssistant(L):L,w)):Z=uy,Z},uy={isSupported:function(){return!1},connect:function(d,a){var c=re.defer(function(){a(new A)});return{abort:function(){c.ensureAborted()},forceMinPriority:function(){}}}};function hy(d){if(d==null)throw"You must pass an options object";if(d.cluster==null)throw"Options object must provide a cluster";"disableStats"in d&&_e.warn("The disableStats option is deprecated in favor of enableStats")}const py=(d,a)=>{var c="socket_id="+encodeURIComponent(d.socketId);for(var v in a.params)c+="&"+encodeURIComponent(v)+"="+encodeURIComponent(a.params[v]);if(a.paramsProvider!=null){let w=a.paramsProvider();for(var v in w)c+="&"+encodeURIComponent(v)+"="+encodeURIComponent(w[v])}return c};var my=d=>{if(typeof Q.getAuthorizers()[d.transport]>"u")throw`'${d.transport}' is not a recognized auth transport`;return(a,c)=>{const v=py(a,d);Q.getAuthorizers()[d.transport](Q,v,d,x.UserAuthentication,c)}};const fy=(d,a)=>{var c="socket_id="+encodeURIComponent(d.socketId);c+="&channel_name="+encodeURIComponent(d.channelName);for(var v in a.params)c+="&"+encodeURIComponent(v)+"="+encodeURIComponent(a.params[v]);if(a.paramsProvider!=null){let w=a.paramsProvider();for(var v in w)c+="&"+encodeURIComponent(v)+"="+encodeURIComponent(w[v])}return c};var by=d=>{if(typeof Q.getAuthorizers()[d.transport]>"u")throw`'${d.transport}' is not a recognized auth transport`;return(a,c)=>{const v=fy(a,d);Q.getAuthorizers()[d.transport](Q,v,d,x.ChannelAuthorization,c)}};const gy=(d,a,c)=>{const v={authTransport:a.transport,authEndpoint:a.endpoint,auth:{params:a.params,headers:a.headers}};return(w,$)=>{const L=d.channel(w.channelName);c(L,v).authorize(w.socketId,$)}};function _y(d,a){let c={activityTimeout:d.activityTimeout||u.activityTimeout,cluster:d.cluster,httpPath:d.httpPath||u.httpPath,httpPort:d.httpPort||u.httpPort,httpsPort:d.httpsPort||u.httpsPort,pongTimeout:d.pongTimeout||u.pongTimeout,statsHost:d.statsHost||u.stats_host,unavailableTimeout:d.unavailableTimeout||u.unavailableTimeout,wsPath:d.wsPath||u.wsPath,wsPort:d.wsPort||u.wsPort,wssPort:d.wssPort||u.wssPort,enableStats:ky(d),httpHost:vy(d),useTLS:wy(d),wsHost:xy(d),userAuthenticator:jy(d),channelAuthorizer:Cy(d,a)};return"disabledTransports"in d&&(c.disabledTransports=d.disabledTransports),"enabledTransports"in d&&(c.enabledTransports=d.enabledTransports),"ignoreNullOrigin"in d&&(c.ignoreNullOrigin=d.ignoreNullOrigin),"timelineParams"in d&&(c.timelineParams=d.timelineParams),"nacl"in d&&(c.nacl=d.nacl),c}function vy(d){return d.httpHost?d.httpHost:d.cluster?`sockjs-${d.cluster}.pusher.com`:u.httpHost}function xy(d){return d.wsHost?d.wsHost:yy(d.cluster)}function yy(d){return`ws-${d}.pusher.com`}function wy(d){return Q.getProtocol()==="https:"?!0:d.forceTLS!==!1}function ky(d){return"enableStats"in d?d.enableStats:"disableStats"in d?!d.disableStats:!1}function jy(d){const a=Object.assign(Object.assign({},u.userAuthentication),d.userAuthentication);return"customHandler"in a&&a.customHandler!=null?a.customHandler:my(a)}function Sy(d,a){let c;return"channelAuthorization"in d?c=Object.assign(Object.assign({},u.channelAuthorization),d.channelAuthorization):(c={transport:d.authTransport||u.authTransport,endpoint:d.authEndpoint||u.authEndpoint},"auth"in d&&("params"in d.auth&&(c.params=d.auth.params),"headers"in d.auth&&(c.headers=d.auth.headers)),"authorizer"in d&&(c.customHandler=gy(a,c,d.authorizer))),c}function Cy(d,a){const c=Sy(d,a);return"customHandler"in c&&c.customHandler!=null?c.customHandler:by(c)}class Ny extends ut{constructor(a){super(function(c,v){_e.debug(`No callbacks on watchlist events for ${c}`)}),this.pusher=a,this.bindWatchlistInternalEvent()}handleEvent(a){a.data.events.forEach(c=>{this.emit(c.name,c)})}bindWatchlistInternalEvent(){this.pusher.connection.bind("message",a=>{var c=a.event;c==="pusher_internal:watchlist_events"&&this.handleEvent(a)})}}function Ty(){let d,a;return{promise:new Promise((v,w)=>{d=v,a=w}),resolve:d,reject:a}}var My=Ty;class Ay extends ut{constructor(a){super(function(c,v){_e.debug("No callbacks on user for "+c)}),this.signin_requested=!1,this.user_data=null,this.serverToUserChannel=null,this.signinDonePromise=null,this._signinDoneResolve=null,this._onAuthorize=(c,v)=>{if(c){_e.warn(`Error during signin: ${c}`),this._cleanup();return}this.pusher.send_event("pusher:signin",{auth:v.auth,user_data:v.user_data})},this.pusher=a,this.pusher.connection.bind("state_change",({previous:c,current:v})=>{c!=="connected"&&v==="connected"&&this._signin(),c==="connected"&&v!=="connected"&&(this._cleanup(),this._newSigninPromiseIfNeeded())}),this.watchlist=new Ny(a),this.pusher.connection.bind("message",c=>{var v=c.event;v==="pusher:signin_success"&&this._onSigninSuccess(c.data),this.serverToUserChannel&&this.serverToUserChannel.name===c.channel&&this.serverToUserChannel.handleEvent(c)})}signin(){this.signin_requested||(this.signin_requested=!0,this._signin())}_signin(){this.signin_requested&&(this._newSigninPromiseIfNeeded(),this.pusher.connection.state==="connected"&&this.pusher.config.userAuthenticator({socketId:this.pusher.connection.socket_id},this._onAuthorize))}_onSigninSuccess(a){try{this.user_data=JSON.parse(a.user_data)}catch{_e.error(`Failed parsing user data after signin: ${a.user_data}`),this._cleanup();return}if(typeof this.user_data.id!="string"||this.user_data.id===""){_e.error(`user_data doesn't contain an id. user_data: ${this.user_data}`),this._cleanup();return}this._signinDoneResolve(),this._subscribeChannels()}_subscribeChannels(){const a=c=>{c.subscriptionPending&&c.subscriptionCancelled?c.reinstateSubscription():!c.subscriptionPending&&this.pusher.connection.state==="connected"&&c.subscribe()};this.serverToUserChannel=new Jr(`#server-to-user-${this.user_data.id}`,this.pusher),this.serverToUserChannel.bind_global((c,v)=>{c.indexOf("pusher_internal:")===0||c.indexOf("pusher:")===0||this.emit(c,v)}),a(this.serverToUserChannel)}_cleanup(){this.user_data=null,this.serverToUserChannel&&(this.serverToUserChannel.unbind_all(),this.serverToUserChannel.disconnect(),this.serverToUserChannel=null),this.signin_requested&&this._signinDoneResolve()}_newSigninPromiseIfNeeded(){if(!this.signin_requested||this.signinDonePromise&&!this.signinDonePromise.done)return;const{promise:a,resolve:c}=My();a.done=!1;const v=()=>{a.done=!0};a.then(v).catch(v),this.signinDonePromise=a,this._signinDoneResolve=c}}class Ce{static ready(){Ce.isReady=!0;for(var a=0,c=Ce.instances.length;a<c;a++)Ce.instances[a].connect()}static getClientFeatures(){return Ie(J({ws:Q.Transports.ws},function(a){return a.isSupported({})}))}constructor(a,c){Py(a),hy(c),this.key=a,this.config=_y(c,this),this.channels=ht.createChannels(),this.global_emitter=new ut,this.sessionID=Q.randomInt(1e9),this.timeline=new ly(this.key,this.sessionID,{cluster:this.config.cluster,features:Ce.getClientFeatures(),params:this.config.timelineParams||{},limit:50,level:go.INFO,version:u.VERSION}),this.config.enableStats&&(this.timelineSender=ht.createTimelineSender(this.timeline,{host:this.config.statsHost,path:"/timeline/v2/"+Q.TimelineTransport.name}));var v=w=>Q.getDefaultStrategy(this.config,w,dy);this.connection=ht.createConnectionManager(this.key,{getStrategy:v,timeline:this.timeline,activityTimeout:this.config.activityTimeout,pongTimeout:this.config.pongTimeout,unavailableTimeout:this.config.unavailableTimeout,useTLS:!!this.config.useTLS}),this.connection.bind("connected",()=>{this.subscribeAll(),this.timelineSender&&this.timelineSender.send(this.connection.isUsingTLS())}),this.connection.bind("message",w=>{var $=w.event,L=$.indexOf("pusher_internal:")===0;if(w.channel){var W=this.channel(w.channel);W&&W.handleEvent(w)}L||this.global_emitter.emit(w.event,w.data)}),this.connection.bind("connecting",()=>{this.channels.disconnect()}),this.connection.bind("disconnected",()=>{this.channels.disconnect()}),this.connection.bind("error",w=>{_e.warn(w)}),Ce.instances.push(this),this.timeline.info({instances:Ce.instances.length}),this.user=new Ay(this),Ce.isReady&&this.connect()}channel(a){return this.channels.find(a)}allChannels(){return this.channels.all()}connect(){if(this.connection.connect(),this.timelineSender&&!this.timelineSenderTimer){var a=this.connection.isUsingTLS(),c=this.timelineSender;this.timelineSenderTimer=new Fe(6e4,function(){c.send(a)})}}disconnect(){this.connection.disconnect(),this.timelineSenderTimer&&(this.timelineSenderTimer.ensureAborted(),this.timelineSenderTimer=null)}bind(a,c,v){return this.global_emitter.bind(a,c,v),this}unbind(a,c,v){return this.global_emitter.unbind(a,c,v),this}bind_global(a){return this.global_emitter.bind_global(a),this}unbind_global(a){return this.global_emitter.unbind_global(a),this}unbind_all(a){return this.global_emitter.unbind_all(),this}subscribeAll(){var a;for(a in this.channels.channels)this.channels.channels.hasOwnProperty(a)&&this.subscribe(a)}subscribe(a){var c=this.channels.add(a,this);return c.subscriptionPending&&c.subscriptionCancelled?c.reinstateSubscription():!c.subscriptionPending&&this.connection.state==="connected"&&c.subscribe(),c}unsubscribe(a){var c=this.channels.find(a);c&&c.subscriptionPending?c.cancelSubscription():(c=this.channels.remove(a),c&&c.subscribed&&c.unsubscribe())}send_event(a,c,v){return this.connection.send_event(a,c,v)}shouldUseTLS(){return this.config.useTLS}signin(){this.user.signin()}}Ce.instances=[],Ce.isReady=!1,Ce.logToConsole=!1,Ce.Runtime=Q,Ce.ScriptReceivers=Q.ScriptReceivers,Ce.DependenciesReceivers=Q.DependenciesReceivers,Ce.auth_callbacks=Q.auth_callbacks;var ri=o.default=Ce;function Py(d){if(d==null)throw"You must pass your app key when you instantiate Pusher."}Q.setup(Ce)})])})})(tr)),tr.exports}var Af=Mf();const gl=Tf(Af);function Pf(e){const t=new gl(e.key,{cluster:e.cluster,forceTLS:!0}),n=t.subscribe(e.channelName);return n.bind_global((o,r)=>{if(o.startsWith("pusher:")){(o==="pusher:subscription_succeeded"||o==="pusher:subscription_error")&&console.log("[widget.sub]",e.channelName,o);return}console.log("[widget.sub]",e.channelName,o,r)}),{channel:n,disconnect:()=>{try{t.unsubscribe(e.channelName),t.disconnect()}catch{}}}}function _l(e){const t=new gl(e.key,{cluster:e.cluster,forceTLS:!0,channelAuthorization:{transport:"ajax",endpoint:`${Tt()}/api/chat/pusher/auth`,customHandler:async({socketId:o,channelName:r},i)=>{try{const{passport:l}=await Ut(e.channelId),s=new URLSearchParams({socket_id:o,channel_name:r}),u=await fetch(`${Tt()}/api/chat/pusher/auth`,{method:"POST",headers:{Authorization:`Bearer ${l}`,"Content-Type":"application/x-www-form-urlencoded"},credentials:"include",body:s.toString()});if(!u.ok){i(new Error(`Pusher auth failed (${u.status})`),null);return}const h=await u.json();i(null,h)}catch(l){i(l instanceof Error?l:new Error(String(l)),null)}}}}),n=t.subscribe(e.channelName);return n.bind_global((o,r)=>{if(o.startsWith("pusher:")){(o==="pusher:subscription_succeeded"||o==="pusher:subscription_error")&&console.log("[widget.sub]",e.channelName,o);return}console.log("[widget.sub]",e.channelName,o,r)}),{channel:n,disconnect:()=>{try{t.unsubscribe(e.channelName),t.disconnect()}catch{}}}}async function Ef(e,t){const{visitorParticipantId:n}=await Ut(e),o=`private-visitor-${n}`,r=_l({key:t.realtime.key,cluster:t.realtime.cluster,channelName:o,channelId:e}),i=new Set,l=new Set;return r.channel.bind("thread-updated",s=>{i.forEach(u=>u(s))}),r.channel.bind("thread-created",s=>{l.forEach(u=>u(s))}),{onThreadUpdated(s){return i.add(s),()=>i.delete(s)},onThreadCreated(s){return l.add(s),()=>l.delete(s)},disconnect:r.disconnect}}const $f="auxx-chat-privacy-dismissed:";function vl(e){return`${$f}${e}`}function Rf(e){try{return window.localStorage.getItem(vl(e))==="1"}catch{return!1}}function Of(e){try{window.localStorage.setItem(vl(e),"1")}catch{}}const Lf=["thread:taken_over","thread:returned_to_ai","thread:archived","thread:reopened","thread:assignee:changed","thread:visitor:identified"],Ln=new Map,un=new Map;function xl(e,t){const[n,o]=z(0),[r,i]=z(()=>{const s=Ln.get(t);return s&&s.expiresAt>Date.now()+6e4?{url:s.url,loading:!1,error:!1}:{url:null,loading:!0,error:!1}}),l=B(()=>{Ln.delete(t),un.delete(t),i({url:null,loading:!0,error:!1}),o(s=>s+1)},[t]);return H(()=>{const s=Ln.get(t);if(s&&s.expiresAt>Date.now()+6e4){r.url!==s.url&&i({url:s.url,loading:!1,error:!1});return}let u=!1,h=un.get(t);return h||(h=Mt(e).getAttachmentUrl(t).then(({url:f,expiresAt:m})=>(Ln.set(t,{url:f,expiresAt:new Date(m).getTime()}),un.delete(t),f)).catch(f=>{throw un.delete(t),f}),un.set(t,h)),h.then(f=>{u||i({url:f,loading:!1,error:!1})}).catch(()=>{u||i({url:null,loading:!1,error:!0})}),()=>{u=!0}},[e,t,n]),{...r,retry:l}}function zf({channelId:e,items:t,isUser:n}){if(t.length===0)return null;const o=t.filter(i=>yl(i.mimeType)),r=t.filter(i=>!yl(i.mimeType));return p("div",{className:"mt-1 flex flex-col gap-1.5",children:[o.length>0?p("div",{className:"flex flex-wrap gap-1.5",children:o.map(i=>p(If,{channelId:e,attachment:i},i.id))}):null,r.length>0?p("div",{className:"flex flex-col gap-1.5",children:r.map(i=>p(Df,{channelId:e,attachment:i,isUser:n},i.id))}):null]})}function If({channelId:e,attachment:t}){const{url:n,loading:o,error:r,retry:i}=xl(e,t.id),l=t.objectUrl??n;return l?p("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"block overflow-hidden rounded-md",children:p("img",{src:l,alt:t.name,className:"max-h-[200px] max-w-[200px] rounded-md object-cover",onError:t.objectUrl?void 0:i})}):r?p("button",{type:"button",onClick:i,className:"rounded-md border border-destructive/40 bg-background/20 px-2 py-1 text-left text-[11px] hover:bg-background/30",children:"Couldn’t load image — click to retry."}):p("div",{className:he("h-[120px] w-[160px] rounded-md bg-muted",o?"animate-pulse":""),"aria-label":`Loading ${t.name}`})}function Df({channelId:e,attachment:t,isUser:n}){const{url:o,loading:r,error:i,retry:l}=xl(e,t.id),s=t.objectUrl??o,u=Ff(t.mimeType),h=p(xe,{children:[p(u,{className:"size-4 shrink-0","aria-hidden":"true"}),p("div",{className:"flex min-w-0 flex-col text-left",children:[p("span",{className:"truncate text-xs font-medium",children:t.name}),p("span",{className:"text-[10px] opacity-70",children:[Hf(t.size),i?" · click to retry":r&&!s?" · loading…":""]})]})]}),f=he("flex max-w-[260px] items-center gap-2 rounded-md px-2 py-1.5 transition-colors",n?"bg-background/15 text-current hover:bg-background/25":"bg-background text-foreground hover:bg-muted");return i?p("button",{type:"button",onClick:l,className:f,children:h}):s?p("a",{href:s,target:"_blank",rel:"noopener noreferrer",download:t.name,className:f,children:h}):p("div",{className:he(f,"cursor-default opacity-80"),"aria-busy":r,children:h})}function yl(e){return e.startsWith("image/")}function Ff(e){return e.startsWith("image/")?Na:e.startsWith("video/")?Ta:e.startsWith("text/")||e==="application/pdf"?jt:Ma}function Hf(e){if(!Number.isFinite(e)||e<=0)return"0 B";const t=["B","KB","MB","GB"];let n=0,o=e;for(;o>=1024&&n<t.length-1;)o/=1024,n+=1;return`${o<10&&n>0?o.toFixed(1):Math.round(o)} ${t[n]}`}function nr({sender:e,avatar:t,typing:n,group:o,children:r,channelId:i}){const l=e??(o==null?void 0:o.sender)??"AGENT",s=l==="USER";return l==="SYSTEM"?p("div",{className:"self-center text-center text-xs italic text-muted-foreground",children:o?o.messages.map(h=>h.content).join(" "):r}):p("div",{className:he("flex items-end gap-2",s?"flex-row-reverse":"flex-row"),children:[s?null:p(Uf,{avatar:t}),p("div",{className:he("flex max-w-[80%] flex-col gap-0.5",s?"items-end":"items-start"),children:[n?p("div",{className:or(s,!0,!0),children:p(Wf,{})}):o?o.messages.map((h,f)=>{const m=h.attachments&&h.attachments.length>0,g=h.content&&h.content.length>0;return p("div",{className:or(s,f===0,f===o.messages.length-1),children:[g?p("div",{children:h.content}):null,m&&i?p(zf,{channelId:i,items:h.attachments,isUser:s}):null]},h.id)}):p("div",{className:or(s,!0,!0),children:r}),!n&&o&&o.messages.length>0?p("time",{className:"px-1 text-[10px] text-muted-foreground",dateTime:o.messages[o.messages.length-1].createdAt,children:Bf(o.messages[o.messages.length-1].createdAt)}):null]})]})}function Bf(e){const t=new Date(e);return Number.isNaN(t.getTime())?"":t.toLocaleTimeString(void 0,{hour:"numeric",minute:"2-digit"})}function or(e,t,n){return he("whitespace-pre-wrap break-words rounded-2xl px-3 py-1.5 text-sm",e?"bg-primary text-primary-foreground":"bg-[color:var(--auxx-chat-surface-loud)] text-[color:var(--auxx-chat-text-loud)]",!t&&(e?"rounded-tr-md":"rounded-tl-md"),!n&&(e?"rounded-br-md":"rounded-bl-md"),n&&(e?"rounded-br-sm":"rounded-bl-sm"))}function Uf({avatar:e}){const t=e?qf(e.name??null):null;return p("div",{className:"flex size-7 shrink-0 items-center justify-center self-end overflow-hidden rounded-full bg-background text-[10px] font-medium uppercase text-muted-foreground",children:e!=null&&e.avatarUrl?p("img",{src:e.avatarUrl,alt:"",className:"size-full object-cover"}):t?p("span",{"aria-hidden":"true",children:t}):p(Wo,{className:"size-3.5","aria-hidden":"true"})})}function qf(e){if(!e)return null;const t=e.trim().split(/\s+/).filter(n=>n.length>0);return t.length===0?null:t.length===1?t[0].slice(0,2).toUpperCase():(t[0][0]+t[t.length-1][0]).toUpperCase()}function Wf(){return p("span",{className:"inline-flex items-center gap-1 py-1",role:"status","aria-label":"Typing",children:[p("span",{className:"size-1.5 animate-bounce rounded-full bg-muted-foreground/60 [animation-delay:-0.2s]"}),p("span",{className:"size-1.5 animate-bounce rounded-full bg-muted-foreground/60 [animation-delay:-0.1s]"}),p("span",{className:"size-1.5 animate-bounce rounded-full bg-muted-foreground/60"})]})}function Vf({channelId:e,inflight:t,onChange:n,disabled:o}){const r=D(null),i=B(async l=>{const s=Array.from(l);if(s.length===0)return;const u=s.map(m=>({localId:`${Date.now()}-${Math.random().toString(36).slice(2)}`,name:m.name,size:m.size,type:m.type,objectUrl:m.type.startsWith("image/")?URL.createObjectURL(m):void 0})),h=[...t,...u];n(h);const f=[...h];await Promise.all(u.map(async(m,g)=>{const _=s[g];try{const{passport:k}=await Ut(e),x=new FormData;x.append("file",_);const b=await fetch(`${Tt()}/api/chat/attachments`,{method:"POST",headers:{Authorization:`Bearer ${k}`},credentials:"include",body:x}),y=await b.json(),S=f.findIndex(N=>N.localId===m.localId);if(S===-1)return;!b.ok||!y.success?f[S]={...f[S],error:y.success===!1?y.error.message:`Upload failed (${b.status})`}:f[S]={...f[S],assetId:y.data.id},n([...f])}catch(k){const x=f.findIndex(b=>b.localId===m.localId);if(x===-1)return;f[x]={...f[x],error:k instanceof Error?k.message:"Upload failed"},n([...f])}}))},[e,t,n]);return p(xe,{children:[p("input",{ref:r,type:"file",multiple:!0,className:"hidden",onChange:l=>{const s=l.currentTarget.files;s&&i(s),r.current&&(r.current.value="")}}),p("button",{type:"button",title:"Attach files",disabled:o,onClick:()=>{var l;return(l=r.current)==null?void 0:l.click()},className:he("flex size-7 items-center justify-center rounded text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:opacity-50"),children:p(za,{className:"size-4","aria-hidden":"true"})})]})}function Gf({inflight:e,onRemove:t}){return e.length===0?null:p("div",{className:"flex flex-wrap gap-1.5 border-b border-border px-3 py-2",children:e.map(n=>p("div",{className:he("flex items-center gap-1.5 rounded-md border border-border bg-muted px-2 py-1 text-xs",n.error?"border-destructive text-destructive":""),children:[p("span",{className:"max-w-[140px] truncate",children:n.name}),!n.assetId&&!n.error?p("span",{className:"size-3 animate-spin rounded-full border-2 border-current border-t-transparent","aria-hidden":"true"}):null,p("button",{type:"button",onClick:()=>t(n.localId),"aria-label":"Remove attachment",className:"text-muted-foreground hover:text-foreground",children:p(St,{className:"size-3","aria-hidden":"true"})})]},n.localId))})}const Kf=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],wl={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"};let Re=null;function kl(e){Object.keys(wl).forEach(t=>{e.style.setProperty(t,wl[t],"important")})}function Xf(e){const t=window.getComputedStyle(e);if(!t)return null;const n=Kf.reduce((i,l)=>(i[l]=t.getPropertyValue(l.replace(/[A-Z]/g,s=>`-${s.toLowerCase()}`)),i),{});if(n.boxSizing==="")return null;const o=parseFloat(n.paddingBottom||"0")+parseFloat(n.paddingTop||"0"),r=parseFloat(n.borderBottomWidth||"0")+parseFloat(n.borderTopWidth||"0");return{sizingStyle:n,paddingSize:o,borderSize:r}}function Yf(e,t){return t.sizingStyle.boxSizing==="border-box"?e.scrollHeight+t.borderSize:e.scrollHeight-t.paddingSize}function Jf(e,t,n,o){Re||(Re=document.createElement("textarea"),Re.setAttribute("tabindex","-1"),Re.setAttribute("aria-hidden","true"),kl(Re)),Re.parentNode||document.body.appendChild(Re),Object.keys(t.sizingStyle).forEach(u=>{Re.style[u]=t.sizingStyle[u]}),kl(Re),Re.value=e;let r=Yf(Re,t);Re.value="x";const i=Re.scrollHeight-t.paddingSize;let l=i*n;t.sizingStyle.boxSizing==="border-box"&&(l=l+t.paddingSize+t.borderSize),r=Math.max(l,r);let s=i*o;return t.sizingStyle.boxSizing==="border-box"&&(s=s+t.paddingSize+t.borderSize),Math.min(s,r)}const Zf=V(function({minRows:t=1,maxRows:n=6,cacheMeasurements:o=!0,value:r,className:i,style:l,onInput:s,...u},h){const f=D(null),m=D(0),g=D(null),_=B(x=>{f.current=x,typeof h=="function"?h(x):h&&(h.current=x)},[h]),k=B(()=>{const x=f.current;if(!x)return;const b=o&&g.current?g.current:Xf(x);if(!b)return;o&&(g.current=b);const y=x.value||x.placeholder||"x",S=Jf(y,b,t,n);m.current!==S&&(m.current=S,x.style.setProperty("height",`${S}px`,"important"))},[o,t,n]);return $e(()=>{k()}),$e(()=>{var b;const x=()=>k();return window.addEventListener("resize",x),(b=document.fonts)!=null&&b.addEventListener&&document.fonts.addEventListener("loadingdone",x),()=>{var y;window.removeEventListener("resize",x),(y=document.fonts)!=null&&y.removeEventListener&&document.fonts.removeEventListener("loadingdone",x)}},[k]),p("textarea",{...u,ref:_,value:r,onInput:s,className:he("block w-full resize-none border-0 bg-transparent px-3 py-2 text-sm outline-none placeholder:text-muted-foreground",i),style:l})});function jl(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function zn(...e){return t=>{let n=!1;const o=e.map(r=>{const i=jl(r,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let r=0;r<o.length;r++){const i=o[r];typeof i=="function"?i():jl(e[r],null)}}}}function Ne(...e){return B(zn(...e),e)}function hn(e){const t=Qf(e),n=V((o,r)=>{const{children:i,...l}=o,s=ot.toArray(i),u=s.find(tb);if(u){const h=u.props.children,f=s.map(m=>m===u?ot.count(h)>1?ot.only(null):rt(h)?h.props.children:null:m);return p(t,{...l,ref:r,children:rt(h)?Bt(h,void 0,f):null})}return p(t,{...l,ref:r,children:i})});return n.displayName=`${e}.Slot`,n}function Qf(e){const t=V((n,o)=>{const{children:r,...i}=n;if(rt(r)){const l=ob(r),s=nb(i,r.props);return r.type!==xe&&(s.ref=o?zn(o,l):l),Bt(r,s)}return ot.count(r)>1?ot.only(null):null});return t.displayName=`${e}.SlotClone`,t}var eb=Symbol("radix.slottable");function tb(e){return rt(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===eb}function nb(e,t){const n={...t};for(const o in t){const r=e[o],i=t[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...s)=>{const u=i(...s);return r(...s),u}:r&&(n[o]=r):o==="style"?n[o]={...r,...i}:o==="className"&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}function ob(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var rb=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Se=rb.reduce((e,t)=>{const n=hn(`Primitive.${t}`),o=V((r,i)=>{const{asChild:l,...s}=r,u=l?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p(u,{...s,ref:i})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Sl(e,t){e&&Pn(()=>e.dispatchEvent(t))}function qt(e,t=[]){let n=[];function o(i,l){const s=tt(l),u=n.length;n=[...n,l];const h=m=>{var y;const{scope:g,children:_,...k}=m,x=((y=g==null?void 0:g[e])==null?void 0:y[u])||s,b=ve(()=>k,Object.values(k));return p(x.Provider,{value:b,children:_})};h.displayName=i+"Provider";function f(m,g){var x;const _=((x=g==null?void 0:g[e])==null?void 0:x[u])||s,k=Ke(_);if(k)return k;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${i}\``)}return[h,f]}const r=()=>{const i=n.map(l=>tt(l));return function(s){const u=(s==null?void 0:s[e])||i;return ve(()=>({[`__scope${e}`]:{...s,[e]:u}}),[s,u])}};return r.scopeName=e,[o,ib(r,...t)]}function ib(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(i){const l=o.reduce((s,{useScope:u,scopeName:h})=>{const m=u(i)[`__scope${h}`];return{...s,...m}},{});return ve(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function Cl(e){const t=e+"CollectionProvider",[n,o]=qt(t),[r,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=x=>{const{scope:b,children:y}=x,S=it.useRef(null),N=it.useRef(new Map).current;return p(r,{scope:b,itemMap:N,collectionRef:S,children:y})};l.displayName=t;const s=e+"CollectionSlot",u=hn(s),h=it.forwardRef((x,b)=>{const{scope:y,children:S}=x,N=i(s,y),C=Ne(b,N.collectionRef);return p(u,{ref:C,children:S})});h.displayName=s;const f=e+"CollectionItemSlot",m="data-radix-collection-item",g=hn(f),_=it.forwardRef((x,b)=>{const{scope:y,children:S,...N}=x,C=it.useRef(null),P=Ne(b,C),T=i(f,y);return it.useEffect(()=>(T.itemMap.set(C,{ref:C,...N}),()=>void T.itemMap.delete(C))),p(g,{[m]:"",ref:P,children:S})});_.displayName=f;function k(x){const b=i(e+"CollectionConsumer",x);return it.useCallback(()=>{const S=b.collectionRef.current;if(!S)return[];const N=Array.from(S.querySelectorAll(`[${m}]`));return Array.from(b.itemMap.values()).sort((T,A)=>N.indexOf(T.ref.current)-N.indexOf(A.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:l,Slot:h,ItemSlot:_},k,o]}function oe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}var gt=globalThis!=null&&globalThis.document?$e:()=>{},ab=fa[" useInsertionEffect ".trim().toString()]||gt;function rr({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){const[r,i,l]=lb({defaultProp:t,onChange:n}),s=e!==void 0,u=s?e:r;{const f=D(e!==void 0);H(()=>{const m=f.current;m!==s&&console.warn(`${o} is changing from ${m?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=s},[s,o])}const h=B(f=>{var m;if(s){const g=sb(f)?f(e):f;g!==e&&((m=l.current)==null||m.call(l,g))}else i(f)},[s,e,i,l]);return[u,h]}function lb({defaultProp:e,onChange:t}){const[n,o]=z(e),r=D(n),i=D(t);return ab(()=>{i.current=t},[t]),H(()=>{var l;r.current!==n&&((l=i.current)==null||l.call(i,n),r.current=n)},[n,r]),[n,o,i]}function sb(e){return typeof e=="function"}function cb(e,t){return an((n,o)=>t[n][o]??n,e)}var At=e=>{const{present:t,children:n}=e,o=db(t),r=typeof n=="function"?n({present:o.isPresent}):ot.only(n),i=Ne(o.ref,ub(r));return typeof n=="function"||o.isPresent?Bt(r,{ref:i}):null};At.displayName="Presence";function db(e){const[t,n]=z(),o=D(null),r=D(e),i=D("none"),l=e?"mounted":"unmounted",[s,u]=cb(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return H(()=>{const h=In(o.current);i.current=s==="mounted"?h:"none"},[s]),gt(()=>{const h=o.current,f=r.current;if(f!==e){const g=i.current,_=In(h);e?u("MOUNT"):_==="none"||(h==null?void 0:h.display)==="none"?u("UNMOUNT"):u(f&&g!==_?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,u]),gt(()=>{if(t){let h;const f=t.ownerDocument.defaultView??window,m=_=>{const x=In(o.current).includes(CSS.escape(_.animationName));if(_.target===t&&x&&(u("ANIMATION_END"),!r.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",h=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},g=_=>{_.target===t&&(i.current=In(o.current))};return t.addEventListener("animationstart",g),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{f.clearTimeout(h),t.removeEventListener("animationstart",g),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:B(h=>{o.current=h?getComputedStyle(h):null,n(h)},[])}}function In(e){return(e==null?void 0:e.animationName)||"none"}function ub(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var hb=fa[" useId ".trim().toString()]||(()=>{}),pb=0;function Dn(e){const[t,n]=z(hb());return gt(()=>{n(o=>o??String(pb++))},[e]),e||(t?`radix-${t}`:"")}var mb=tt(void 0);function Nl(e){const t=Ke(mb);return e||t||"ltr"}function lt(e){const t=D(e);return H(()=>{t.current=e}),ve(()=>(...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)},[])}function fb(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e);H(()=>{const o=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}var bb="DismissableLayer",ir="dismissableLayer.update",gb="dismissableLayer.pointerDownOutside",_b="dismissableLayer.focusOutside",Tl,Ml=tt({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ar=V((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:i,onInteractOutside:l,onDismiss:s,...u}=e,h=Ke(Ml),[f,m]=z(null),g=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,_]=z({}),k=Ne(t,A=>m(A)),x=Array.from(h.layers),[b]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),y=x.indexOf(b),S=f?x.indexOf(f):-1,N=h.layersWithOutsidePointerEventsDisabled.size>0,C=S>=y,P=yb(A=>{const M=A.target,E=[...h.branches].some(R=>R.contains(M));!C||E||(r==null||r(A),l==null||l(A),A.defaultPrevented||s==null||s())},g),T=wb(A=>{const M=A.target;[...h.branches].some(R=>R.contains(M))||(i==null||i(A),l==null||l(A),A.defaultPrevented||s==null||s())},g);return fb(A=>{S===h.layers.size-1&&(o==null||o(A),!A.defaultPrevented&&s&&(A.preventDefault(),s()))},g),H(()=>{if(f)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Tl=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(f)),h.layers.add(f),Al(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Tl)}},[f,g,n,h]),H(()=>()=>{f&&(h.layers.delete(f),h.layersWithOutsidePointerEventsDisabled.delete(f),Al())},[f,h]),H(()=>{const A=()=>_({});return document.addEventListener(ir,A),()=>document.removeEventListener(ir,A)},[]),p(Se.div,{...u,ref:k,style:{pointerEvents:N?C?"auto":"none":void 0,...e.style},onFocusCapture:oe(e.onFocusCapture,T.onFocusCapture),onBlurCapture:oe(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:oe(e.onPointerDownCapture,P.onPointerDownCapture)})});ar.displayName=bb;var vb="DismissableLayerBranch",xb=V((e,t)=>{const n=Ke(Ml),o=D(null),r=Ne(t,o);return H(()=>{const i=o.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),p(Se.div,{...e,ref:r})});xb.displayName=vb;function yb(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e),o=D(!1),r=D(()=>{});return H(()=>{const i=s=>{if(s.target&&!o.current){let u=function(){Pl(gb,n,h,{discrete:!0})};const h={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=u,t.addEventListener("click",r.current,{once:!0})):u()}else t.removeEventListener("click",r.current);o.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",i),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function wb(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e),o=D(!1);return H(()=>{const r=i=>{i.target&&!o.current&&Pl(_b,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function Al(){const e=new CustomEvent(ir);document.dispatchEvent(e)}function Pl(e,t,n,{discrete:o}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?Sl(r,i):r.dispatchEvent(i)}var lr="focusScope.autoFocusOnMount",sr="focusScope.autoFocusOnUnmount",El={bubbles:!1,cancelable:!0},kb="FocusScope",cr=V((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:i,...l}=e,[s,u]=z(null),h=lt(r),f=lt(i),m=D(null),g=Ne(t,x=>u(x)),_=D({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;H(()=>{if(o){let x=function(N){if(_.paused||!s)return;const C=N.target;s.contains(C)?m.current=C:_t(m.current,{select:!0})},b=function(N){if(_.paused||!s)return;const C=N.relatedTarget;C!==null&&(s.contains(C)||_t(m.current,{select:!0}))},y=function(N){if(document.activeElement===document.body)for(const P of N)P.removedNodes.length>0&&_t(s)};document.addEventListener("focusin",x),document.addEventListener("focusout",b);const S=new MutationObserver(y);return s&&S.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",b),S.disconnect()}}},[o,s,_.paused]),H(()=>{if(s){Ol.add(_);const x=document.activeElement;if(!s.contains(x)){const y=new CustomEvent(lr,El);s.addEventListener(lr,h),s.dispatchEvent(y),y.defaultPrevented||(jb(Mb($l(s)),{select:!0}),document.activeElement===x&&_t(s))}return()=>{s.removeEventListener(lr,h),setTimeout(()=>{const y=new CustomEvent(sr,El);s.addEventListener(sr,f),s.dispatchEvent(y),y.defaultPrevented||_t(x??document.body,{select:!0}),s.removeEventListener(sr,f),Ol.remove(_)},0)}}},[s,h,f,_]);const k=B(x=>{if(!n&&!o||_.paused)return;const b=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,y=document.activeElement;if(b&&y){const S=x.currentTarget,[N,C]=Sb(S);N&&C?!x.shiftKey&&y===C?(x.preventDefault(),n&&_t(N,{select:!0})):x.shiftKey&&y===N&&(x.preventDefault(),n&&_t(C,{select:!0})):y===S&&x.preventDefault()}},[n,o,_.paused]);return p(Se.div,{tabIndex:-1,...l,ref:g,onKeyDown:k})});cr.displayName=kb;function jb(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(_t(o,{select:t}),document.activeElement!==n)return}function Sb(e){const t=$l(e),n=Rl(t,e),o=Rl(t.reverse(),e);return[n,o]}function $l(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Rl(e,t){for(const n of e)if(!Cb(n,{upTo:t}))return n}function Cb(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Nb(e){return e instanceof HTMLInputElement&&"select"in e}function _t(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Nb(e)&&t&&e.select()}}var Ol=Tb();function Tb(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Ll(e,t),e.unshift(t)},remove(t){var n;e=Ll(e,t),(n=e[0])==null||n.resume()}}}function Ll(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function Mb(e){return e.filter(t=>t.tagName!=="A")}var Ab="Portal",dr=V((e,t)=>{var s;const{container:n,...o}=e,[r,i]=z(!1);gt(()=>i(!0),[]);const l=n||r&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return l?it.createPortal(p(Se.div,{...o,ref:t}),l):null});dr.displayName=Ab;var ur=0;function zl(){H(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Il()),document.body.insertAdjacentElement("beforeend",e[1]??Il()),ur++,()=>{ur===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ur--}},[])}function Il(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Xe=function(){return Xe=Object.assign||function(t){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Xe.apply(this,arguments)};function Dl(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}function Pb(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,i;o<r;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Fn="right-scroll-bar-position",Hn="width-before-scroll-bar",Eb="with-scroll-bars-hidden",$b="--removed-body-scroll-bar-size";function hr(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Rb(e,t){var n=z(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(o){var r=n.value;r!==o&&(n.value=o,n.callback(o,r))}}}})[0];return n.callback=t,n.facade}var Ob=typeof window<"u"?$e:H,Fl=new WeakMap;function Lb(e,t){var n=Rb(null,function(o){return e.forEach(function(r){return hr(r,o)})});return Ob(function(){var o=Fl.get(n);if(o){var r=new Set(o),i=new Set(e),l=n.current;r.forEach(function(s){i.has(s)||hr(s,null)}),i.forEach(function(s){r.has(s)||hr(s,l)})}Fl.set(n,e)},[e]),n}function zb(e){return e}function Ib(e,t){t===void 0&&(t=zb);var n=[],o=!1,r={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var l=t(i,o);return n.push(l),function(){n=n.filter(function(s){return s!==l})}},assignSyncMedium:function(i){for(o=!0;n.length;){var l=n;n=[],l.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){o=!0;var l=[];if(n.length){var s=n;n=[],s.forEach(i),l=n}var u=function(){var f=l;l=[],f.forEach(i)},h=function(){return Promise.resolve().then(u)};h(),n={push:function(f){l.push(f),h()},filter:function(f){return l=l.filter(f),n}}}};return r}function Db(e){e===void 0&&(e={});var t=Ib(null);return t.options=Xe({async:!0,ssr:!1},e),t}var Hl=function(e){var t=e.sideCar,n=Dl(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return fe(o,Xe({},n))};Hl.isSideCarExport=!0;function Fb(e,t){return e.useMedium(t),Hl}var Bl=Db(),pr=function(){},Bn=V(function(e,t){var n=D(null),o=z({onScrollCapture:pr,onWheelCapture:pr,onTouchMoveCapture:pr}),r=o[0],i=o[1],l=e.forwardProps,s=e.children,u=e.className,h=e.removeScrollBar,f=e.enabled,m=e.shards,g=e.sideCar,_=e.noRelative,k=e.noIsolation,x=e.inert,b=e.allowPinchZoom,y=e.as,S=y===void 0?"div":y,N=e.gapMode,C=Dl(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=g,T=Lb([n,t]),A=Xe(Xe({},C),r);return fe(xe,null,f&&fe(P,{sideCar:Bl,removeScrollBar:h,shards:m,noRelative:_,noIsolation:k,inert:x,setCallbacks:i,allowPinchZoom:!!b,lockRef:n,gapMode:N}),l?Bt(ot.only(s),Xe(Xe({},A),{ref:T})):fe(S,Xe({},A,{className:u,ref:T}),s))});Bn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Bn.classNames={fullWidth:Hn,zeroRight:Fn};var Hb=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Bb(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Hb();return t&&e.setAttribute("nonce",t),e}function Ub(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function qb(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Wb=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Bb())&&(Ub(t,n),qb(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Vb=function(){var e=Wb();return function(t,n){H(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ul=function(){var e=Vb(),t=function(n){var o=n.styles,r=n.dynamic;return e(o,r),null};return t},Gb={left:0,top:0,right:0,gap:0},mr=function(e){return parseInt(e||"",10)||0},Kb=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],r=t[e==="padding"?"paddingRight":"marginRight"];return[mr(n),mr(o),mr(r)]},Xb=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Gb;var t=Kb(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},Yb=Ul(),Wt="data-scroll-locked",Jb=function(e,t,n,o){var r=e.left,i=e.top,l=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
1069
|
+
.`.concat(Eb,` {
|
|
1070
1070
|
overflow: hidden `).concat(o,`;
|
|
1071
1071
|
padding-right: `).concat(s,"px ").concat(o,`;
|
|
1072
1072
|
}
|
|
@@ -1100,9 +1100,9 @@
|
|
|
1100
1100
|
}
|
|
1101
1101
|
|
|
1102
1102
|
body[`).concat(Wt,`] {
|
|
1103
|
-
`).concat(
|
|
1103
|
+
`).concat($b,": ").concat(s,`px;
|
|
1104
1104
|
}
|
|
1105
|
-
`)},
|
|
1105
|
+
`)},ql=function(){var e=parseInt(document.body.getAttribute(Wt)||"0",10);return isFinite(e)?e:0},Zb=function(){H(function(){return document.body.setAttribute(Wt,(ql()+1).toString()),function(){var e=ql()-1;e<=0?document.body.removeAttribute(Wt):document.body.setAttribute(Wt,e.toString())}},[])},Qb=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=o===void 0?"margin":o;Zb();var i=ve(function(){return Xb(r)},[r]);return fe(Yb,{styles:Jb(i,!t,r,n?"":"!important")})},fr=!1;if(typeof window<"u")try{var Un=Object.defineProperty({},"passive",{get:function(){return fr=!0,!0}});window.addEventListener("test",Un,Un),window.removeEventListener("test",Un,Un)}catch{fr=!1}var Vt=fr?{passive:!1}:!1,eg=function(e){return e.tagName==="TEXTAREA"},Wl=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!eg(e)&&n[t]==="visible")},tg=function(e){return Wl(e,"overflowY")},ng=function(e){return Wl(e,"overflowX")},Vl=function(e,t){var n=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var r=Gl(e,o);if(r){var i=Kl(e,o),l=i[1],s=i[2];if(l>s)return!0}o=o.parentNode}while(o&&o!==n.body);return!1},og=function(e){var t=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[t,n,o]},rg=function(e){var t=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[t,n,o]},Gl=function(e,t){return e==="v"?tg(t):ng(t)},Kl=function(e,t){return e==="v"?og(t):rg(t)},ig=function(e,t){return e==="h"&&t==="rtl"?-1:1},ag=function(e,t,n,o,r){var i=ig(e,window.getComputedStyle(t).direction),l=i*o,s=n.target,u=t.contains(s),h=!1,f=l>0,m=0,g=0;do{if(!s)break;var _=Kl(e,s),k=_[0],x=_[1],b=_[2],y=x-b-i*k;(k||y)&&Gl(e,s)&&(m+=y,g+=k);var S=s.parentNode;s=S&&S.nodeType===Node.DOCUMENT_FRAGMENT_NODE?S.host:S}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return(f&&Math.abs(m)<1||!f&&Math.abs(g)<1)&&(h=!0),h},qn=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Xl=function(e){return[e.deltaX,e.deltaY]},Yl=function(e){return e&&"current"in e?e.current:e},lg=function(e,t){return e[0]===t[0]&&e[1]===t[1]},sg=function(e){return`
|
|
1106
1106
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
1107
1107
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
1108
|
-
`)},sg=0,Gt=[];function cg(e){var t=D([]),n=D([0,0]),o=D(),r=z(sg++)[0],i=z(Bl)[0],l=D(e);H(function(){l.current=e},[e]),H(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var x=Ab([e.lockRef.current],(e.shards||[]).map(Xl),!0).filter(Boolean);return x.forEach(function(b){return b.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),x.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var s=B(function(x,b){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!l.current.allowPinchZoom;var y=qn(x),S=n.current,N="deltaX"in x?x.deltaX:S[0]-y[0],C="deltaY"in x?x.deltaY:S[1]-y[1],P,T=x.target,A=Math.abs(N)>Math.abs(C)?"h":"v";if("touches"in x&&A==="h"&&T.type==="range")return!1;var M=window.getSelection(),E=M&&M.anchorNode,R=E?E===T||E.contains(T):!1;if(R)return!1;var G=Wl(A,T);if(!G)return!0;if(G?P=A:(P=A==="v"?"h":"v",G=Wl(A,T)),!G)return!1;if(!o.current&&"changedTouches"in x&&(N||C)&&(o.current=P),!P)return!0;var I=o.current||P;return ig(I,b,x,I==="h"?N:C)},[]),u=B(function(x){var b=x;if(!(!Gt.length||Gt[Gt.length-1]!==i)){var y="deltaY"in b?Kl(b):qn(b),S=t.current.filter(function(P){return P.name===b.type&&(P.target===b.target||b.target===P.shadowParent)&&ag(P.delta,y)})[0];if(S&&S.should){b.cancelable&&b.preventDefault();return}if(!S){var N=(l.current.shards||[]).map(Xl).filter(Boolean).filter(function(P){return P.contains(b.target)}),C=N.length>0?s(b,N[0]):!l.current.noIsolation;C&&b.cancelable&&b.preventDefault()}}},[]),h=B(function(x,b,y,S){var N={name:x,delta:b,target:y,should:S,shadowParent:dg(y)};t.current.push(N),setTimeout(function(){t.current=t.current.filter(function(C){return C!==N})},1)},[]),f=B(function(x){n.current=qn(x),o.current=void 0},[]),m=B(function(x){h(x.type,Kl(x),x.target,s(x,e.lockRef.current))},[]),g=B(function(x){h(x.type,qn(x),x.target,s(x,e.lockRef.current))},[]);H(function(){return Gt.push(i),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:g}),document.addEventListener("wheel",u,Vt),document.addEventListener("touchmove",u,Vt),document.addEventListener("touchstart",f,Vt),function(){Gt=Gt.filter(function(x){return x!==i}),document.removeEventListener("wheel",u,Vt),document.removeEventListener("touchmove",u,Vt),document.removeEventListener("touchstart",f,Vt)}},[]);var _=e.removeScrollBar,k=e.inert;return fe(xe,null,k?fe(i,{styles:lg(r)}):null,_?fe(Zb,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function dg(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const ug=Db(Hl,cg);var br=V(function(e,t){return fe(Bn,Xe({},e,{ref:t,sideCar:ug}))});br.classNames=Bn.classNames;var hg=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Kt=new WeakMap,Wn=new WeakMap,Vn={},gr=0,Yl=function(e){return e&&(e.host||Yl(e.parentNode))},pg=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=Yl(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},mg=function(e,t,n,o){var r=pg(t,Array.isArray(e)?e:[e]);Vn[n]||(Vn[n]=new WeakMap);var i=Vn[n],l=[],s=new Set,u=new Set(r),h=function(m){!m||s.has(m)||(s.add(m),h(m.parentNode))};r.forEach(h);var f=function(m){!m||u.has(m)||Array.prototype.forEach.call(m.children,function(g){if(s.has(g))f(g);else try{var _=g.getAttribute(o),k=_!==null&&_!=="false",x=(Kt.get(g)||0)+1,b=(i.get(g)||0)+1;Kt.set(g,x),i.set(g,b),l.push(g),x===1&&k&&Wn.set(g,!0),b===1&&g.setAttribute(n,"true"),k||g.setAttribute(o,"true")}catch(y){console.error("aria-hidden: cannot operate on ",g,y)}})};return f(t),s.clear(),gr++,function(){l.forEach(function(m){var g=Kt.get(m)-1,_=i.get(m)-1;Kt.set(m,g),i.set(m,_),g||(Wn.has(m)||m.removeAttribute(o),Wn.delete(m)),_||m.removeAttribute(n)}),gr--,gr||(Kt=new WeakMap,Kt=new WeakMap,Wn=new WeakMap,Vn={})}},Jl=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=hg(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),mg(o,r,n,"aria-hidden")):function(){return null}};function fg(e){const[t,n]=z(void 0);return gt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const i=r[0];let l,s;if("borderBoxSize"in i){const u=i.borderBoxSize,h=Array.isArray(u)?u[0]:u;l=h.inlineSize,s=h.blockSize}else l=e.offsetWidth,s=e.offsetHeight;n({width:l,height:s})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}const bg=["top","right","bottom","left"],vt=Math.min,Oe=Math.max,Gn=Math.round,Kn=Math.floor,Ye=e=>({x:e,y:e}),gg={left:"right",right:"left",bottom:"top",top:"bottom"},_g={start:"end",end:"start"};function _r(e,t,n){return Oe(e,vt(t,n))}function st(e,t){return typeof e=="function"?e(t):e}function ct(e){return e.split("-")[0]}function Xt(e){return e.split("-")[1]}function vr(e){return e==="x"?"y":"x"}function xr(e){return e==="y"?"height":"width"}const vg=new Set(["top","bottom"]);function Je(e){return vg.has(ct(e))?"y":"x"}function yr(e){return vr(Je(e))}function xg(e,t,n){n===void 0&&(n=!1);const o=Xt(e),r=yr(e),i=xr(r);let l=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Xn(l)),[l,Xn(l)]}function yg(e){const t=Xn(e);return[wr(e),t,wr(t)]}function wr(e){return e.replace(/start|end/g,t=>_g[t])}const Zl=["left","right"],Ql=["right","left"],wg=["top","bottom"],kg=["bottom","top"];function jg(e,t,n){switch(e){case"top":case"bottom":return n?t?Ql:Zl:t?Zl:Ql;case"left":case"right":return t?wg:kg;default:return[]}}function Sg(e,t,n,o){const r=Xt(e);let i=jg(ct(e),n==="start",o);return r&&(i=i.map(l=>l+"-"+r),t&&(i=i.concat(i.map(wr)))),i}function Xn(e){return e.replace(/left|right|bottom|top/g,t=>gg[t])}function Cg(e){return{top:0,right:0,bottom:0,left:0,...e}}function es(e){return typeof e!="number"?Cg(e):{top:e,right:e,bottom:e,left:e}}function Yn(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function ts(e,t,n){let{reference:o,floating:r}=e;const i=Je(t),l=yr(t),s=xr(l),u=ct(t),h=i==="y",f=o.x+o.width/2-r.width/2,m=o.y+o.height/2-r.height/2,g=o[s]/2-r[s]/2;let _;switch(u){case"top":_={x:f,y:o.y-r.height};break;case"bottom":_={x:f,y:o.y+o.height};break;case"right":_={x:o.x+o.width,y:m};break;case"left":_={x:o.x-r.width,y:m};break;default:_={x:o.x,y:o.y}}switch(Xt(t)){case"start":_[l]-=g*(n&&h?-1:1);break;case"end":_[l]+=g*(n&&h?-1:1);break}return _}async function Ng(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:l,elements:s,strategy:u}=e,{boundary:h="clippingAncestors",rootBoundary:f="viewport",elementContext:m="floating",altBoundary:g=!1,padding:_=0}=st(t,e),k=es(_),b=s[g?m==="floating"?"reference":"floating":m],y=Yn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:h,rootBoundary:f,strategy:u})),S=m==="floating"?{x:o,y:r,width:l.floating.width,height:l.floating.height}:l.reference,N=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),C=await(i.isElement==null?void 0:i.isElement(N))?await(i.getScale==null?void 0:i.getScale(N))||{x:1,y:1}:{x:1,y:1},P=Yn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:S,offsetParent:N,strategy:u}):S);return{top:(y.top-P.top+k.top)/C.y,bottom:(P.bottom-y.bottom+k.bottom)/C.y,left:(y.left-P.left+k.left)/C.x,right:(P.right-y.right+k.right)/C.x}}const Tg=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(t));let h=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:m}=ts(h,o,u),g=o,_={},k=0;for(let b=0;b<s.length;b++){var x;const{name:y,fn:S}=s[b],{x:N,y:C,data:P,reset:T}=await S({x:f,y:m,initialPlacement:o,placement:g,strategy:r,middlewareData:_,rects:h,platform:{...l,detectOverflow:(x=l.detectOverflow)!=null?x:Ng},elements:{reference:e,floating:t}});f=N??f,m=C??m,_={..._,[y]:{..._[y],...P}},T&&k<=50&&(k++,typeof T=="object"&&(T.placement&&(g=T.placement),T.rects&&(h=T.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:r}):T.rects),{x:f,y:m}=ts(h,g,u)),b=-1)}return{x:f,y:m,placement:g,strategy:r,middlewareData:_}},Mg=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:l,elements:s,middlewareData:u}=t,{element:h,padding:f=0}=st(e,t)||{};if(h==null)return{};const m=es(f),g={x:n,y:o},_=yr(r),k=xr(_),x=await l.getDimensions(h),b=_==="y",y=b?"top":"left",S=b?"bottom":"right",N=b?"clientHeight":"clientWidth",C=i.reference[k]+i.reference[_]-g[_]-i.floating[k],P=g[_]-i.reference[_],T=await(l.getOffsetParent==null?void 0:l.getOffsetParent(h));let A=T?T[N]:0;(!A||!await(l.isElement==null?void 0:l.isElement(T)))&&(A=s.floating[N]||i.floating[k]);const M=C/2-P/2,E=A/2-x[k]/2-1,R=vt(m[y],E),G=vt(m[S],E),I=R,ie=A-x[k]-G,le=A/2-x[k]/2+M,de=_r(I,le,ie),X=!u.arrow&&Xt(r)!=null&&le!==de&&i.reference[k]/2-(le<I?R:G)-x[k]/2<0,ae=X?le<I?le-I:le-ie:0;return{[_]:g[_]+ae,data:{[_]:de,centerOffset:le-de-ae,...X&&{alignmentOffset:ae}},reset:X}}}),Ag=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:l,initialPlacement:s,platform:u,elements:h}=t,{mainAxis:f=!0,crossAxis:m=!0,fallbackPlacements:g,fallbackStrategy:_="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:x=!0,...b}=st(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=ct(r),S=Je(s),N=ct(s)===s,C=await(u.isRTL==null?void 0:u.isRTL(h.floating)),P=g||(N||!x?[Xn(s)]:yg(s)),T=k!=="none";!g&&T&&P.push(...Sg(s,x,k,C));const A=[s,...P],M=await u.detectOverflow(t,b),E=[];let R=((o=i.flip)==null?void 0:o.overflows)||[];if(f&&E.push(M[y]),m){const le=xg(r,l,C);E.push(M[le[0]],M[le[1]])}if(R=[...R,{placement:r,overflows:E}],!E.every(le=>le<=0)){var G,I;const le=(((G=i.flip)==null?void 0:G.index)||0)+1,de=A[le];if(de&&(!(m==="alignment"?S!==Je(de):!1)||R.every(K=>Je(K.placement)===S?K.overflows[0]>0:!0)))return{data:{index:le,overflows:R},reset:{placement:de}};let X=(I=R.filter(ae=>ae.overflows[0]<=0).sort((ae,K)=>ae.overflows[1]-K.overflows[1])[0])==null?void 0:I.placement;if(!X)switch(_){case"bestFit":{var ie;const ae=(ie=R.filter(K=>{if(T){const F=Je(K.placement);return F===S||F==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(F=>F>0).reduce((F,O)=>F+O,0)]).sort((K,F)=>K[1]-F[1])[0])==null?void 0:ie[0];ae&&(X=ae);break}case"initialPlacement":X=s;break}if(r!==X)return{reset:{placement:X}}}return{}}}};function ns(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function os(e){return bg.some(t=>e[t]>=0)}const Pg=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:o}=t,{strategy:r="referenceHidden",...i}=st(e,t);switch(r){case"referenceHidden":{const l=await o.detectOverflow(t,{...i,elementContext:"reference"}),s=ns(l,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:os(s)}}}case"escaped":{const l=await o.detectOverflow(t,{...i,altBoundary:!0}),s=ns(l,n.floating);return{data:{escapedOffsets:s,escaped:os(s)}}}default:return{}}}}},rs=new Set(["left","top"]);async function Eg(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),l=ct(n),s=Xt(n),u=Je(n)==="y",h=rs.has(l)?-1:1,f=i&&u?-1:1,m=st(t,e);let{mainAxis:g,crossAxis:_,alignmentAxis:k}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return s&&typeof k=="number"&&(_=s==="end"?k*-1:k),u?{x:_*f,y:g*h}:{x:g*h,y:_*f}}const $g=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:l,middlewareData:s}=t,u=await Eg(t,e);return l===((n=s.offset)==null?void 0:n.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:r+u.x,y:i+u.y,data:{...u,placement:l}}}}},Rg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r,platform:i}=t,{mainAxis:l=!0,crossAxis:s=!1,limiter:u={fn:y=>{let{x:S,y:N}=y;return{x:S,y:N}}},...h}=st(e,t),f={x:n,y:o},m=await i.detectOverflow(t,h),g=Je(ct(r)),_=vr(g);let k=f[_],x=f[g];if(l){const y=_==="y"?"top":"left",S=_==="y"?"bottom":"right",N=k+m[y],C=k-m[S];k=_r(N,k,C)}if(s){const y=g==="y"?"top":"left",S=g==="y"?"bottom":"right",N=x+m[y],C=x-m[S];x=_r(N,x,C)}const b=u.fn({...t,[_]:k,[g]:x});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[_]:l,[g]:s}}}}}},Og=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:i,middlewareData:l}=t,{offset:s=0,mainAxis:u=!0,crossAxis:h=!0}=st(e,t),f={x:n,y:o},m=Je(r),g=vr(m);let _=f[g],k=f[m];const x=st(s,t),b=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(u){const N=g==="y"?"height":"width",C=i.reference[g]-i.floating[N]+b.mainAxis,P=i.reference[g]+i.reference[N]-b.mainAxis;_<C?_=C:_>P&&(_=P)}if(h){var y,S;const N=g==="y"?"width":"height",C=rs.has(ct(r)),P=i.reference[m]-i.floating[N]+(C&&((y=l.offset)==null?void 0:y[m])||0)+(C?0:b.crossAxis),T=i.reference[m]+i.reference[N]+(C?0:((S=l.offset)==null?void 0:S[m])||0)-(C?b.crossAxis:0);k<P?k=P:k>T&&(k=T)}return{[g]:_,[m]:k}}}},Lg=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:i,platform:l,elements:s}=t,{apply:u=()=>{},...h}=st(e,t),f=await l.detectOverflow(t,h),m=ct(r),g=Xt(r),_=Je(r)==="y",{width:k,height:x}=i.floating;let b,y;m==="top"||m==="bottom"?(b=m,y=g===(await(l.isRTL==null?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(y=m,b=g==="end"?"top":"bottom");const S=x-f.top-f.bottom,N=k-f.left-f.right,C=vt(x-f[b],S),P=vt(k-f[y],N),T=!t.middlewareData.shift;let A=C,M=P;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(M=N),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(A=S),T&&!g){const R=Oe(f.left,0),G=Oe(f.right,0),I=Oe(f.top,0),ie=Oe(f.bottom,0);_?M=k-2*(R!==0||G!==0?R+G:Oe(f.left,f.right)):A=x-2*(I!==0||ie!==0?I+ie:Oe(f.top,f.bottom))}await u({...t,availableWidth:M,availableHeight:A});const E=await l.getDimensions(s.floating);return k!==E.width||x!==E.height?{reset:{rects:!0}}:{}}}};function Jn(){return typeof window<"u"}function Yt(e){return is(e)?(e.nodeName||"").toLowerCase():"#document"}function Le(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ze(e){var t;return(t=(is(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function is(e){return Jn()?e instanceof Node||e instanceof Le(e).Node:!1}function We(e){return Jn()?e instanceof Element||e instanceof Le(e).Element:!1}function Qe(e){return Jn()?e instanceof HTMLElement||e instanceof Le(e).HTMLElement:!1}function as(e){return!Jn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Le(e).ShadowRoot}const zg=new Set(["inline","contents"]);function pn(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Ve(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!zg.has(r)}const Ig=new Set(["table","td","th"]);function Dg(e){return Ig.has(Yt(e))}const Fg=[":popover-open",":modal"];function Zn(e){return Fg.some(t=>{try{return e.matches(t)}catch{return!1}})}const Hg=["transform","translate","scale","rotate","perspective"],Bg=["transform","translate","scale","rotate","perspective","filter"],Ug=["paint","layout","strict","content"];function kr(e){const t=jr(),n=We(e)?Ve(e):e;return Hg.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Bg.some(o=>(n.willChange||"").includes(o))||Ug.some(o=>(n.contain||"").includes(o))}function qg(e){let t=xt(e);for(;Qe(t)&&!Jt(t);){if(kr(t))return t;if(Zn(t))return null;t=xt(t)}return null}function jr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Wg=new Set(["html","body","#document"]);function Jt(e){return Wg.has(Yt(e))}function Ve(e){return Le(e).getComputedStyle(e)}function Qn(e){return We(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function xt(e){if(Yt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||as(e)&&e.host||Ze(e);return as(t)?t.host:t}function ls(e){const t=xt(e);return Jt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Qe(t)&&pn(t)?t:ls(t)}function mn(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=ls(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),l=Le(r);if(i){const s=Sr(l);return t.concat(l,l.visualViewport||[],pn(r)?r:[],s&&n?mn(s):[])}return t.concat(r,mn(r,[],n))}function Sr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ss(e){const t=Ve(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Qe(e),i=r?e.offsetWidth:n,l=r?e.offsetHeight:o,s=Gn(n)!==i||Gn(o)!==l;return s&&(n=i,o=l),{width:n,height:o,$:s}}function Cr(e){return We(e)?e:e.contextElement}function Zt(e){const t=Cr(e);if(!Qe(t))return Ye(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=ss(t);let l=(i?Gn(n.width):n.width)/o,s=(i?Gn(n.height):n.height)/r;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const Vg=Ye(0);function cs(e){const t=Le(e);return!jr()||!t.visualViewport?Vg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Gg(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Le(e)?!1:t}function Pt(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=Cr(e);let l=Ye(1);t&&(o?We(o)&&(l=Zt(o)):l=Zt(e));const s=Gg(i,n,o)?cs(i):Ye(0);let u=(r.left+s.x)/l.x,h=(r.top+s.y)/l.y,f=r.width/l.x,m=r.height/l.y;if(i){const g=Le(i),_=o&&We(o)?Le(o):o;let k=g,x=Sr(k);for(;x&&o&&_!==k;){const b=Zt(x),y=x.getBoundingClientRect(),S=Ve(x),N=y.left+(x.clientLeft+parseFloat(S.paddingLeft))*b.x,C=y.top+(x.clientTop+parseFloat(S.paddingTop))*b.y;u*=b.x,h*=b.y,f*=b.x,m*=b.y,u+=N,h+=C,k=Le(x),x=Sr(k)}}return Yn({width:f,height:m,x:u,y:h})}function eo(e,t){const n=Qn(e).scrollLeft;return t?t.left+n:Pt(Ze(e)).left+n}function ds(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-eo(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function Kg(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i=r==="fixed",l=Ze(o),s=t?Zn(t.floating):!1;if(o===l||s&&i)return n;let u={scrollLeft:0,scrollTop:0},h=Ye(1);const f=Ye(0),m=Qe(o);if((m||!m&&!i)&&((Yt(o)!=="body"||pn(l))&&(u=Qn(o)),Qe(o))){const _=Pt(o);h=Zt(o),f.x=_.x+o.clientLeft,f.y=_.y+o.clientTop}const g=l&&!m&&!i?ds(l,u):Ye(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-u.scrollLeft*h.x+f.x+g.x,y:n.y*h.y-u.scrollTop*h.y+f.y+g.y}}function Xg(e){return Array.from(e.getClientRects())}function Yg(e){const t=Ze(e),n=Qn(e),o=e.ownerDocument.body,r=Oe(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=Oe(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+eo(e);const s=-n.scrollTop;return Ve(o).direction==="rtl"&&(l+=Oe(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:s}}const us=25;function Jg(e,t){const n=Le(e),o=Ze(e),r=n.visualViewport;let i=o.clientWidth,l=o.clientHeight,s=0,u=0;if(r){i=r.width,l=r.height;const f=jr();(!f||f&&t==="fixed")&&(s=r.offsetLeft,u=r.offsetTop)}const h=eo(o);if(h<=0){const f=o.ownerDocument,m=f.body,g=getComputedStyle(m),_=f.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,k=Math.abs(o.clientWidth-m.clientWidth-_);k<=us&&(i-=k)}else h<=us&&(i+=h);return{width:i,height:l,x:s,y:u}}const Zg=new Set(["absolute","fixed"]);function Qg(e,t){const n=Pt(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=Qe(e)?Zt(e):Ye(1),l=e.clientWidth*i.x,s=e.clientHeight*i.y,u=r*i.x,h=o*i.y;return{width:l,height:s,x:u,y:h}}function hs(e,t,n){let o;if(t==="viewport")o=Jg(e,n);else if(t==="document")o=Yg(Ze(e));else if(We(t))o=Qg(t,n);else{const r=cs(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Yn(o)}function ps(e,t){const n=xt(e);return n===t||!We(n)||Jt(n)?!1:Ve(n).position==="fixed"||ps(n,t)}function e1(e,t){const n=t.get(e);if(n)return n;let o=mn(e,[],!1).filter(s=>We(s)&&Yt(s)!=="body"),r=null;const i=Ve(e).position==="fixed";let l=i?xt(e):e;for(;We(l)&&!Jt(l);){const s=Ve(l),u=kr(l);!u&&s.position==="fixed"&&(r=null),(i?!u&&!r:!u&&s.position==="static"&&!!r&&Zg.has(r.position)||pn(l)&&!u&&ps(e,l))?o=o.filter(f=>f!==l):r=s,l=xt(l)}return t.set(e,o),o}function t1(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const l=[...n==="clippingAncestors"?Zn(t)?[]:e1(t,this._c):[].concat(n),o],s=l[0],u=l.reduce((h,f)=>{const m=hs(t,f,r);return h.top=Oe(m.top,h.top),h.right=vt(m.right,h.right),h.bottom=vt(m.bottom,h.bottom),h.left=Oe(m.left,h.left),h},hs(t,s,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function n1(e){const{width:t,height:n}=ss(e);return{width:t,height:n}}function o1(e,t,n){const o=Qe(t),r=Ze(t),i=n==="fixed",l=Pt(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const u=Ye(0);function h(){u.x=eo(r)}if(o||!o&&!i)if((Yt(t)!=="body"||pn(r))&&(s=Qn(t)),o){const _=Pt(t,!0,i,t);u.x=_.x+t.clientLeft,u.y=_.y+t.clientTop}else r&&h();i&&!o&&r&&h();const f=r&&!o&&!i?ds(r,s):Ye(0),m=l.left+s.scrollLeft-u.x-f.x,g=l.top+s.scrollTop-u.y-f.y;return{x:m,y:g,width:l.width,height:l.height}}function Nr(e){return Ve(e).position==="static"}function ms(e,t){if(!Qe(e)||Ve(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ze(e)===n&&(n=n.ownerDocument.body),n}function fs(e,t){const n=Le(e);if(Zn(e))return n;if(!Qe(e)){let r=xt(e);for(;r&&!Jt(r);){if(We(r)&&!Nr(r))return r;r=xt(r)}return n}let o=ms(e,t);for(;o&&Dg(o)&&Nr(o);)o=ms(o,t);return o&&Jt(o)&&Nr(o)&&!kr(o)?n:o||qg(e)||n}const r1=async function(e){const t=this.getOffsetParent||fs,n=this.getDimensions,o=await n(e.floating);return{reference:o1(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function i1(e){return Ve(e).direction==="rtl"}const a1={convertOffsetParentRelativeRectToViewportRelativeRect:Kg,getDocumentElement:Ze,getClippingRect:t1,getOffsetParent:fs,getElementRects:r1,getClientRects:Xg,getDimensions:n1,getScale:Zt,isElement:We,isRTL:i1};function bs(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function l1(e,t){let n=null,o;const r=Ze(e);function i(){var s;clearTimeout(o),(s=n)==null||s.disconnect(),n=null}function l(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),i();const h=e.getBoundingClientRect(),{left:f,top:m,width:g,height:_}=h;if(s||t(),!g||!_)return;const k=Kn(m),x=Kn(r.clientWidth-(f+g)),b=Kn(r.clientHeight-(m+_)),y=Kn(f),N={rootMargin:-k+"px "+-x+"px "+-b+"px "+-y+"px",threshold:Oe(0,vt(1,u))||1};let C=!0;function P(T){const A=T[0].intersectionRatio;if(A!==u){if(!C)return l();A?l(!1,A):o=setTimeout(()=>{l(!1,1e-7)},1e3)}A===1&&!bs(h,e.getBoundingClientRect())&&l(),C=!1}try{n=new IntersectionObserver(P,{...N,root:r.ownerDocument})}catch{n=new IntersectionObserver(P,N)}n.observe(e)}return l(!0),i}function s1(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,h=Cr(e),f=r||i?[...h?mn(h):[],...mn(t)]:[];f.forEach(y=>{r&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const m=h&&s?l1(h,n):null;let g=-1,_=null;l&&(_=new ResizeObserver(y=>{let[S]=y;S&&S.target===h&&_&&(_.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var N;(N=_)==null||N.observe(t)})),n()}),h&&!u&&_.observe(h),_.observe(t));let k,x=u?Pt(e):null;u&&b();function b(){const y=Pt(e);x&&!bs(x,y)&&n(),x=y,k=requestAnimationFrame(b)}return n(),()=>{var y;f.forEach(S=>{r&&S.removeEventListener("scroll",n),i&&S.removeEventListener("resize",n)}),m==null||m(),(y=_)==null||y.disconnect(),_=null,u&&cancelAnimationFrame(k)}}const c1=$g,d1=Rg,u1=Ag,h1=Lg,p1=Pg,gs=Mg,m1=Og,f1=(e,t,n)=>{const o=new Map,r={platform:a1,...n},i={...r.platform,_c:o};return Tg(e,t,{...r,platform:i})};var b1=typeof document<"u",g1=function(){},to=b1?$e:g1;function no(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!no(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&e.$$typeof)&&!no(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function _s(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vs(e,t){const n=_s(e);return Math.round(t*n)/n}function Tr(e){const t=D(e);return to(()=>{t.current=e}),t}function _1(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:l}={},transform:s=!0,whileElementsMounted:u,open:h}=e,[f,m]=z({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,_]=z(o);no(g,o)||_(o);const[k,x]=z(null),[b,y]=z(null),S=B(K=>{K!==T.current&&(T.current=K,x(K))},[]),N=B(K=>{K!==A.current&&(A.current=K,y(K))},[]),C=i||k,P=l||b,T=D(null),A=D(null),M=D(f),E=u!=null,R=Tr(u),G=Tr(r),I=Tr(h),ie=B(()=>{if(!T.current||!A.current)return;const K={placement:t,strategy:n,middleware:g};G.current&&(K.platform=G.current),f1(T.current,A.current,K).then(F=>{const O={...F,isPositioned:I.current!==!1};le.current&&!no(M.current,O)&&(M.current=O,Pn(()=>{m(O)}))})},[g,t,n,G,I]);to(()=>{h===!1&&M.current.isPositioned&&(M.current.isPositioned=!1,m(K=>({...K,isPositioned:!1})))},[h]);const le=D(!1);to(()=>(le.current=!0,()=>{le.current=!1}),[]),to(()=>{if(C&&(T.current=C),P&&(A.current=P),C&&P){if(R.current)return R.current(C,P,ie);ie()}},[C,P,ie,R,E]);const de=ve(()=>({reference:T,floating:A,setReference:S,setFloating:N}),[S,N]),X=ve(()=>({reference:C,floating:P}),[C,P]),ae=ve(()=>{const K={position:n,left:0,top:0};if(!X.floating)return K;const F=vs(X.floating,f.x),O=vs(X.floating,f.y);return s?{...K,transform:"translate("+F+"px, "+O+"px)",..._s(X.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:F,top:O}},[n,s,X.floating,f.x,f.y]);return ve(()=>({...f,update:ie,refs:de,elements:X,floatingStyles:ae}),[f,ie,de,X,ae])}const v1=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:r}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?gs({element:o.current,padding:r}).fn(n):{}:o?gs({element:o,padding:r}).fn(n):{}}}},x1=(e,t)=>({...c1(e),options:[e,t]}),y1=(e,t)=>({...d1(e),options:[e,t]}),w1=(e,t)=>({...m1(e),options:[e,t]}),k1=(e,t)=>({...u1(e),options:[e,t]}),j1=(e,t)=>({...h1(e),options:[e,t]}),S1=(e,t)=>({...p1(e),options:[e,t]}),C1=(e,t)=>({...v1(e),options:[e,t]});var N1="Arrow",xs=V((e,t)=>{const{children:n,width:o=10,height:r=5,...i}=e;return p(Se.svg,{...i,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p("polygon",{points:"0,0 30,0 15,10"})})});xs.displayName=N1;var T1=xs,Mr="Popper",[ys,oo]=qt(Mr),[M1,ws]=ys(Mr),ks=e=>{const{__scopePopper:t,children:n}=e,[o,r]=z(null);return p(M1,{scope:t,anchor:o,onAnchorChange:r,children:n})};ks.displayName=Mr;var js="PopperAnchor",Ss=V((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,i=ws(js,n),l=D(null),s=Ne(t,l),u=D(null);return H(()=>{const h=u.current;u.current=(o==null?void 0:o.current)||l.current,h!==u.current&&i.onAnchorChange(u.current)}),o?null:p(Se.div,{...r,ref:s})});Ss.displayName=js;var Ar="PopperContent",[A1,P1]=ys(Ar),Cs=V((e,t)=>{var je,ze,Y,Ie,Pe,Te;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:i="center",alignOffset:l=0,arrowPadding:s=0,avoidCollisions:u=!0,collisionBoundary:h=[],collisionPadding:f=0,sticky:m="partial",hideWhenDetached:g=!1,updatePositionStrategy:_="optimized",onPlaced:k,...x}=e,b=ws(Ar,n),[y,S]=z(null),N=Ne(t,Ee=>S(Ee)),[C,P]=z(null),T=fg(C),A=(T==null?void 0:T.width)??0,M=(T==null?void 0:T.height)??0,E=o+(i!=="center"?"-"+i:""),R=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},G=Array.isArray(h)?h:[h],I=G.length>0,ie={padding:R,boundary:G.filter($1),altBoundary:I},{refs:le,floatingStyles:de,placement:X,isPositioned:ae,middlewareData:K}=_1({strategy:"fixed",placement:E,whileElementsMounted:(...Ee)=>s1(...Ee,{animationFrame:_==="always"}),elements:{reference:b.anchor},middleware:[x1({mainAxis:r+M,alignmentAxis:l}),u&&y1({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?w1():void 0,...ie}),u&&k1({...ie}),j1({...ie,apply:({elements:Ee,rects:He,availableWidth:Rt,availableHeight:J})=>{const{width:me,height:dt}=He.reference,Be=Ee.floating.style;Be.setProperty("--radix-popper-available-width",`${Rt}px`),Be.setProperty("--radix-popper-available-height",`${J}px`),Be.setProperty("--radix-popper-anchor-width",`${me}px`),Be.setProperty("--radix-popper-anchor-height",`${dt}px`)}}),C&&C1({element:C,padding:s}),R1({arrowWidth:A,arrowHeight:M}),g&&S1({strategy:"referenceHidden",...ie})]}),[F,O]=Ms(X),ce=lt(k);gt(()=>{ae&&(ce==null||ce())},[ae,ce]);const ge=(je=K.arrow)==null?void 0:je.x,Fe=(ze=K.arrow)==null?void 0:ze.y,ke=((Y=K.arrow)==null?void 0:Y.centerOffset)!==0,[re,te]=z();return gt(()=>{y&&te(window.getComputedStyle(y).zIndex)},[y]),p("div",{ref:le.setFloating,"data-radix-popper-content-wrapper":"",style:{...de,transform:ae?de.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:re,"--radix-popper-transform-origin":[(Ie=K.transformOrigin)==null?void 0:Ie.x,(Pe=K.transformOrigin)==null?void 0:Pe.y].join(" "),...((Te=K.hide)==null?void 0:Te.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p(A1,{scope:n,placedSide:F,onArrowChange:P,arrowX:ge,arrowY:Fe,shouldHideArrow:ke,children:p(Se.div,{"data-side":F,"data-align":O,...x,ref:N,style:{...x.style,animation:ae?void 0:"none"}})})})});Cs.displayName=Ar;var Ns="PopperArrow",E1={top:"bottom",right:"left",bottom:"top",left:"right"},Ts=V(function(t,n){const{__scopePopper:o,...r}=t,i=P1(Ns,o),l=E1[i.placedSide];return p("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:p(T1,{...r,ref:n,style:{...r.style,display:"block"}})})});Ts.displayName=Ns;function $1(e){return e!==null}var R1=e=>({name:"transformOrigin",options:e,fn(t){var b,y,S;const{placement:n,rects:o,middlewareData:r}=t,l=((b=r.arrow)==null?void 0:b.centerOffset)!==0,s=l?0:e.arrowWidth,u=l?0:e.arrowHeight,[h,f]=Ms(n),m={start:"0%",center:"50%",end:"100%"}[f],g=(((y=r.arrow)==null?void 0:y.x)??0)+s/2,_=(((S=r.arrow)==null?void 0:S.y)??0)+u/2;let k="",x="";return h==="bottom"?(k=l?m:`${g}px`,x=`${-u}px`):h==="top"?(k=l?m:`${g}px`,x=`${o.floating.height+u}px`):h==="right"?(k=`${-u}px`,x=l?m:`${_}px`):h==="left"&&(k=`${o.floating.width+u}px`,x=l?m:`${_}px`),{data:{x:k,y:x}}}});function Ms(e){const[t,n="center"]=e.split("-");return[t,n]}var As=ks,Pr=Ss,Ps=Cs,Es=Ts,Er="rovingFocusGroup.onEntryFocus",O1={bubbles:!1,cancelable:!0},fn="RovingFocusGroup",[$r,$s,L1]=Sl(fn),[z1,Rs]=qt(fn,[L1]),[I1,D1]=z1(fn),Os=V((e,t)=>p($r.Provider,{scope:e.__scopeRovingFocusGroup,children:p($r.Slot,{scope:e.__scopeRovingFocusGroup,children:p(F1,{...e,ref:t})})}));Os.displayName=fn;var F1=V((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:o,loop:r=!1,dir:i,currentTabStopId:l,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:u,onEntryFocus:h,preventScrollOnEntryFocus:f=!1,...m}=e,g=D(null),_=Ne(t,g),k=Cl(i),[x,b]=rr({prop:l,defaultProp:s??null,onChange:u,caller:fn}),[y,S]=z(!1),N=lt(h),C=$s(n),P=D(!1),[T,A]=z(0);return H(()=>{const M=g.current;if(M)return M.addEventListener(Er,N),()=>M.removeEventListener(Er,N)},[N]),p(I1,{scope:n,orientation:o,dir:k,loop:r,currentTabStopId:x,onItemFocus:B(M=>b(M),[b]),onItemShiftTab:B(()=>S(!0),[]),onFocusableItemAdd:B(()=>A(M=>M+1),[]),onFocusableItemRemove:B(()=>A(M=>M-1),[]),children:p(Se.div,{tabIndex:y||T===0?-1:0,"data-orientation":o,...m,ref:_,style:{outline:"none",...e.style},onMouseDown:oe(e.onMouseDown,()=>{P.current=!0}),onFocus:oe(e.onFocus,M=>{const E=!P.current;if(M.target===M.currentTarget&&E&&!y){const R=new CustomEvent(Er,O1);if(M.currentTarget.dispatchEvent(R),!R.defaultPrevented){const G=C().filter(X=>X.focusable),I=G.find(X=>X.active),ie=G.find(X=>X.id===x),de=[I,ie,...G].filter(Boolean).map(X=>X.ref.current);Is(de,f)}}P.current=!1}),onBlur:oe(e.onBlur,()=>S(!1))})})}),Ls="RovingFocusGroupItem",zs=V((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:o=!0,active:r=!1,tabStopId:i,children:l,...s}=e,u=Dn(),h=i||u,f=D1(Ls,n),m=f.currentTabStopId===h,g=$s(n),{onFocusableItemAdd:_,onFocusableItemRemove:k,currentTabStopId:x}=f;return H(()=>{if(o)return _(),()=>k()},[o,_,k]),p($r.ItemSlot,{scope:n,id:h,focusable:o,active:r,children:p(Se.span,{tabIndex:m?0:-1,"data-orientation":f.orientation,...s,ref:t,onMouseDown:oe(e.onMouseDown,b=>{o?f.onItemFocus(h):b.preventDefault()}),onFocus:oe(e.onFocus,()=>f.onItemFocus(h)),onKeyDown:oe(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){f.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const y=U1(b,f.orientation,f.dir);if(y!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let N=g().filter(C=>C.focusable).map(C=>C.ref.current);if(y==="last")N.reverse();else if(y==="prev"||y==="next"){y==="prev"&&N.reverse();const C=N.indexOf(b.currentTarget);N=f.loop?q1(N,C+1):N.slice(C+1)}setTimeout(()=>Is(N))}}),children:typeof l=="function"?l({isCurrentTabStop:m,hasTabStop:x!=null}):l})})});zs.displayName=Ls;var H1={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function B1(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function U1(e,t,n){const o=B1(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return H1[o]}function Is(e,t=!1){const n=document.activeElement;for(const o of e)if(o===n||(o.focus({preventScroll:t}),document.activeElement!==n))return}function q1(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var W1=Os,V1=zs,Rr=["Enter"," "],G1=["ArrowDown","PageUp","Home"],Ds=["ArrowUp","PageDown","End"],K1=[...G1,...Ds],X1={ltr:[...Rr,"ArrowRight"],rtl:[...Rr,"ArrowLeft"]},Y1={ltr:["ArrowLeft"],rtl:["ArrowRight"]},bn="Menu",[gn,J1,Z1]=Sl(bn),[Et,Fs]=qt(bn,[Z1,oo,Rs]),ro=oo(),Hs=Rs(),[Q1,$t]=Et(bn),[e0,_n]=Et(bn),Bs=e=>{const{__scopeMenu:t,open:n=!1,children:o,dir:r,onOpenChange:i,modal:l=!0}=e,s=ro(t),[u,h]=z(null),f=D(!1),m=lt(i),g=Cl(r);return H(()=>{const _=()=>{f.current=!0,document.addEventListener("pointerdown",k,{capture:!0,once:!0}),document.addEventListener("pointermove",k,{capture:!0,once:!0})},k=()=>f.current=!1;return document.addEventListener("keydown",_,{capture:!0}),()=>{document.removeEventListener("keydown",_,{capture:!0}),document.removeEventListener("pointerdown",k,{capture:!0}),document.removeEventListener("pointermove",k,{capture:!0})}},[]),p(As,{...s,children:p(Q1,{scope:t,open:n,onOpenChange:m,content:u,onContentChange:h,children:p(e0,{scope:t,onClose:B(()=>m(!1),[m]),isUsingKeyboardRef:f,dir:g,modal:l,children:o})})})};Bs.displayName=bn;var t0="MenuAnchor",Or=V((e,t)=>{const{__scopeMenu:n,...o}=e,r=ro(n);return p(Pr,{...r,...o,ref:t})});Or.displayName=t0;var Lr="MenuPortal",[n0,Us]=Et(Lr,{forceMount:void 0}),qs=e=>{const{__scopeMenu:t,forceMount:n,children:o,container:r}=e,i=$t(Lr,t);return p(n0,{scope:t,forceMount:n,children:p(At,{present:n||i.open,children:p(dr,{asChild:!0,container:r,children:o})})})};qs.displayName=Lr;var De="MenuContent",[o0,zr]=Et(De),Ws=V((e,t)=>{const n=Us(De,e.__scopeMenu),{forceMount:o=n.forceMount,...r}=e,i=$t(De,e.__scopeMenu),l=_n(De,e.__scopeMenu);return p(gn.Provider,{scope:e.__scopeMenu,children:p(At,{present:o||i.open,children:p(gn.Slot,{scope:e.__scopeMenu,children:l.modal?p(r0,{...r,ref:t}):p(i0,{...r,ref:t})})})})}),r0=V((e,t)=>{const n=$t(De,e.__scopeMenu),o=D(null),r=Ne(t,o);return H(()=>{const i=o.current;if(i)return Jl(i)},[]),p(Ir,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:oe(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),i0=V((e,t)=>{const n=$t(De,e.__scopeMenu);return p(Ir,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),a0=hn("MenuContent.ScrollLock"),Ir=V((e,t)=>{const{__scopeMenu:n,loop:o=!1,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:s,onEntryFocus:u,onEscapeKeyDown:h,onPointerDownOutside:f,onFocusOutside:m,onInteractOutside:g,onDismiss:_,disableOutsideScroll:k,...x}=e,b=$t(De,n),y=_n(De,n),S=ro(n),N=Hs(n),C=J1(n),[P,T]=z(null),A=D(null),M=Ne(t,A,b.onContentChange),E=D(0),R=D(""),G=D(0),I=D(null),ie=D("right"),le=D(0),de=k?br:xe,X=k?{as:a0,allowPinchZoom:!0}:void 0,ae=F=>{var je,ze;const O=R.current+F,ce=C().filter(Y=>!Y.disabled),ge=document.activeElement,Fe=(je=ce.find(Y=>Y.ref.current===ge))==null?void 0:je.textValue,ke=ce.map(Y=>Y.textValue),re=_0(ke,O,Fe),te=(ze=ce.find(Y=>Y.textValue===re))==null?void 0:ze.ref.current;(function Y(Ie){R.current=Ie,window.clearTimeout(E.current),Ie!==""&&(E.current=window.setTimeout(()=>Y(""),1e3))})(O),te&&setTimeout(()=>te.focus())};H(()=>()=>window.clearTimeout(E.current),[]),Ll();const K=B(F=>{var ce,ge;return ie.current===((ce=I.current)==null?void 0:ce.side)&&x0(F,(ge=I.current)==null?void 0:ge.area)},[]);return p(o0,{scope:n,searchRef:R,onItemEnter:B(F=>{K(F)&&F.preventDefault()},[K]),onItemLeave:B(F=>{var O;K(F)||((O=A.current)==null||O.focus(),T(null))},[K]),onTriggerLeave:B(F=>{K(F)&&F.preventDefault()},[K]),pointerGraceTimerRef:G,onPointerGraceIntentChange:B(F=>{I.current=F},[]),children:p(de,{...X,children:p(cr,{asChild:!0,trapped:r,onMountAutoFocus:oe(i,F=>{var O;F.preventDefault(),(O=A.current)==null||O.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:p(ar,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:h,onPointerDownOutside:f,onFocusOutside:m,onInteractOutside:g,onDismiss:_,children:p(W1,{asChild:!0,...N,dir:y.dir,orientation:"vertical",loop:o,currentTabStopId:P,onCurrentTabStopIdChange:T,onEntryFocus:oe(u,F=>{y.isUsingKeyboardRef.current||F.preventDefault()}),preventScrollOnEntryFocus:!0,children:p(Ps,{role:"menu","aria-orientation":"vertical","data-state":sc(b.open),"data-radix-menu-content":"",dir:y.dir,...S,...x,ref:M,style:{outline:"none",...x.style},onKeyDown:oe(x.onKeyDown,F=>{const ce=F.target.closest("[data-radix-menu-content]")===F.currentTarget,ge=F.ctrlKey||F.altKey||F.metaKey,Fe=F.key.length===1;ce&&(F.key==="Tab"&&F.preventDefault(),!ge&&Fe&&ae(F.key));const ke=A.current;if(F.target!==ke||!K1.includes(F.key))return;F.preventDefault();const te=C().filter(je=>!je.disabled).map(je=>je.ref.current);Ds.includes(F.key)&&te.reverse(),b0(te)}),onBlur:oe(e.onBlur,F=>{F.currentTarget.contains(F.target)||(window.clearTimeout(E.current),R.current="")}),onPointerMove:oe(e.onPointerMove,xn(F=>{const O=F.target,ce=le.current!==F.clientX;if(F.currentTarget.contains(O)&&ce){const ge=F.clientX>le.current?"right":"left";ie.current=ge,le.current=F.clientX}}))})})})})})})});Ws.displayName=De;var l0="MenuGroup",Dr=V((e,t)=>{const{__scopeMenu:n,...o}=e;return p(Se.div,{role:"group",...o,ref:t})});Dr.displayName=l0;var s0="MenuLabel",Vs=V((e,t)=>{const{__scopeMenu:n,...o}=e;return p(Se.div,{...o,ref:t})});Vs.displayName=s0;var io="MenuItem",Gs="menu.itemSelect",ao=V((e,t)=>{const{disabled:n=!1,onSelect:o,...r}=e,i=D(null),l=_n(io,e.__scopeMenu),s=zr(io,e.__scopeMenu),u=Ne(t,i),h=D(!1),f=()=>{const m=i.current;if(!n&&m){const g=new CustomEvent(Gs,{bubbles:!0,cancelable:!0});m.addEventListener(Gs,_=>o==null?void 0:o(_),{once:!0}),jl(m,g),g.defaultPrevented?h.current=!1:l.onClose()}};return p(Ks,{...r,ref:u,disabled:n,onClick:oe(e.onClick,f),onPointerDown:m=>{var g;(g=e.onPointerDown)==null||g.call(e,m),h.current=!0},onPointerUp:oe(e.onPointerUp,m=>{var g;h.current||(g=m.currentTarget)==null||g.click()}),onKeyDown:oe(e.onKeyDown,m=>{const g=s.searchRef.current!=="";n||g&&m.key===" "||Rr.includes(m.key)&&(m.currentTarget.click(),m.preventDefault())})})});ao.displayName=io;var Ks=V((e,t)=>{const{__scopeMenu:n,disabled:o=!1,textValue:r,...i}=e,l=zr(io,n),s=Hs(n),u=D(null),h=Ne(t,u),[f,m]=z(!1),[g,_]=z("");return H(()=>{const k=u.current;k&&_((k.textContent??"").trim())},[i.children]),p(gn.ItemSlot,{scope:n,disabled:o,textValue:r??g,children:p(V1,{asChild:!0,...s,focusable:!o,children:p(Se.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...i,ref:h,onPointerMove:oe(e.onPointerMove,xn(k=>{o?l.onItemLeave(k):(l.onItemEnter(k),k.defaultPrevented||k.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:oe(e.onPointerLeave,xn(k=>l.onItemLeave(k))),onFocus:oe(e.onFocus,()=>m(!0)),onBlur:oe(e.onBlur,()=>m(!1))})})})}),c0="MenuCheckboxItem",Xs=V((e,t)=>{const{checked:n=!1,onCheckedChange:o,...r}=e;return p(ec,{scope:e.__scopeMenu,checked:n,children:p(ao,{role:"menuitemcheckbox","aria-checked":lo(n)?"mixed":n,...r,ref:t,"data-state":Hr(n),onSelect:oe(r.onSelect,()=>o==null?void 0:o(lo(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Xs.displayName=c0;var Ys="MenuRadioGroup",[d0,u0]=Et(Ys,{value:void 0,onValueChange:()=>{}}),Js=V((e,t)=>{const{value:n,onValueChange:o,...r}=e,i=lt(o);return p(d0,{scope:e.__scopeMenu,value:n,onValueChange:i,children:p(Dr,{...r,ref:t})})});Js.displayName=Ys;var Zs="MenuRadioItem",Qs=V((e,t)=>{const{value:n,...o}=e,r=u0(Zs,e.__scopeMenu),i=n===r.value;return p(ec,{scope:e.__scopeMenu,checked:i,children:p(ao,{role:"menuitemradio","aria-checked":i,...o,ref:t,"data-state":Hr(i),onSelect:oe(o.onSelect,()=>{var l;return(l=r.onValueChange)==null?void 0:l.call(r,n)},{checkForDefaultPrevented:!1})})})});Qs.displayName=Zs;var Fr="MenuItemIndicator",[ec,h0]=Et(Fr,{checked:!1}),tc=V((e,t)=>{const{__scopeMenu:n,forceMount:o,...r}=e,i=h0(Fr,n);return p(At,{present:o||lo(i.checked)||i.checked===!0,children:p(Se.span,{...r,ref:t,"data-state":Hr(i.checked)})})});tc.displayName=Fr;var p0="MenuSeparator",nc=V((e,t)=>{const{__scopeMenu:n,...o}=e;return p(Se.div,{role:"separator","aria-orientation":"horizontal",...o,ref:t})});nc.displayName=p0;var m0="MenuArrow",oc=V((e,t)=>{const{__scopeMenu:n,...o}=e,r=ro(n);return p(Es,{...r,...o,ref:t})});oc.displayName=m0;var f0="MenuSub",[Mj,rc]=Et(f0),vn="MenuSubTrigger",ic=V((e,t)=>{const n=$t(vn,e.__scopeMenu),o=_n(vn,e.__scopeMenu),r=rc(vn,e.__scopeMenu),i=zr(vn,e.__scopeMenu),l=D(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:u}=i,h={__scopeMenu:e.__scopeMenu},f=B(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return H(()=>f,[f]),H(()=>{const m=s.current;return()=>{window.clearTimeout(m),u(null)}},[s,u]),p(Or,{asChild:!0,...h,children:p(Ks,{id:r.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":r.contentId,"data-state":sc(n.open),...e,ref:zn(t,r.onTriggerChange),onClick:m=>{var g;(g=e.onClick)==null||g.call(e,m),!(e.disabled||m.defaultPrevented)&&(m.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:oe(e.onPointerMove,xn(m=>{i.onItemEnter(m),!m.defaultPrevented&&!e.disabled&&!n.open&&!l.current&&(i.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:oe(e.onPointerLeave,xn(m=>{var _,k;f();const g=(_=n.content)==null?void 0:_.getBoundingClientRect();if(g){const x=(k=n.content)==null?void 0:k.dataset.side,b=x==="right",y=b?-5:5,S=g[b?"left":"right"],N=g[b?"right":"left"];i.onPointerGraceIntentChange({area:[{x:m.clientX+y,y:m.clientY},{x:S,y:g.top},{x:N,y:g.top},{x:N,y:g.bottom},{x:S,y:g.bottom}],side:x}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(m),m.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:oe(e.onKeyDown,m=>{var _;const g=i.searchRef.current!=="";e.disabled||g&&m.key===" "||X1[o.dir].includes(m.key)&&(n.onOpenChange(!0),(_=n.content)==null||_.focus(),m.preventDefault())})})})});ic.displayName=vn;var ac="MenuSubContent",lc=V((e,t)=>{const n=Us(De,e.__scopeMenu),{forceMount:o=n.forceMount,...r}=e,i=$t(De,e.__scopeMenu),l=_n(De,e.__scopeMenu),s=rc(ac,e.__scopeMenu),u=D(null),h=Ne(t,u);return p(gn.Provider,{scope:e.__scopeMenu,children:p(At,{present:o||i.open,children:p(gn.Slot,{scope:e.__scopeMenu,children:p(Ir,{id:s.contentId,"aria-labelledby":s.triggerId,...r,ref:h,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var m;l.isUsingKeyboardRef.current&&((m=u.current)==null||m.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:oe(e.onFocusOutside,f=>{f.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:oe(e.onEscapeKeyDown,f=>{l.onClose(),f.preventDefault()}),onKeyDown:oe(e.onKeyDown,f=>{var _;const m=f.currentTarget.contains(f.target),g=Y1[l.dir].includes(f.key);m&&g&&(i.onOpenChange(!1),(_=s.trigger)==null||_.focus(),f.preventDefault())})})})})})});lc.displayName=ac;function sc(e){return e?"open":"closed"}function lo(e){return e==="indeterminate"}function Hr(e){return lo(e)?"indeterminate":e?"checked":"unchecked"}function b0(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function g0(e,t){return e.map((n,o)=>e[(t+o)%e.length])}function _0(e,t,n){const r=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let l=g0(e,Math.max(i,0));r.length===1&&(l=l.filter(h=>h!==n));const u=l.find(h=>h.toLowerCase().startsWith(r.toLowerCase()));return u!==n?u:void 0}function v0(e,t){const{x:n,y:o}=e;let r=!1;for(let i=0,l=t.length-1;i<t.length;l=i++){const s=t[i],u=t[l],h=s.x,f=s.y,m=u.x,g=u.y;f>o!=g>o&&n<(m-h)*(o-f)/(g-f)+h&&(r=!r)}return r}function x0(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return v0(n,t)}function xn(e){return t=>t.pointerType==="mouse"?e(t):void 0}var y0=Bs,w0=Or,k0=qs,j0=Ws,S0=Dr,C0=Vs,N0=ao,T0=Xs,M0=Js,A0=Qs,P0=tc,E0=nc,$0=oc,R0=ic,O0=lc,so="DropdownMenu",[L0]=qt(so,[Fs]),Ae=Fs(),[z0,cc]=L0(so),dc=e=>{const{__scopeDropdownMenu:t,children:n,dir:o,open:r,defaultOpen:i,onOpenChange:l,modal:s=!0}=e,u=Ae(t),h=D(null),[f,m]=rr({prop:r,defaultProp:i??!1,onChange:l,caller:so});return p(z0,{scope:t,triggerId:Dn(),triggerRef:h,contentId:Dn(),open:f,onOpenChange:m,onOpenToggle:B(()=>m(g=>!g),[m]),modal:s,children:p(y0,{...u,open:f,onOpenChange:m,dir:o,modal:s,children:n})})};dc.displayName=so;var uc="DropdownMenuTrigger",hc=V((e,t)=>{const{__scopeDropdownMenu:n,disabled:o=!1,...r}=e,i=cc(uc,n),l=Ae(n);return p(w0,{asChild:!0,...l,children:p(Se.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...r,ref:zn(t,i.triggerRef),onPointerDown:oe(e.onPointerDown,s=>{!o&&s.button===0&&s.ctrlKey===!1&&(i.onOpenToggle(),i.open||s.preventDefault())}),onKeyDown:oe(e.onKeyDown,s=>{o||(["Enter"," "].includes(s.key)&&i.onOpenToggle(),s.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});hc.displayName=uc;var I0="DropdownMenuPortal",pc=e=>{const{__scopeDropdownMenu:t,...n}=e,o=Ae(t);return p(k0,{...o,...n})};pc.displayName=I0;var mc="DropdownMenuContent",fc=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=cc(mc,n),i=Ae(n),l=D(!1);return p(j0,{id:r.contentId,"aria-labelledby":r.triggerId,...i,...o,ref:t,onCloseAutoFocus:oe(e.onCloseAutoFocus,s=>{var u;l.current||(u=r.triggerRef.current)==null||u.focus(),l.current=!1,s.preventDefault()}),onInteractOutside:oe(e.onInteractOutside,s=>{const u=s.detail.originalEvent,h=u.button===0&&u.ctrlKey===!0,f=u.button===2||h;(!r.modal||f)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});fc.displayName=mc;var D0="DropdownMenuGroup",F0=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(S0,{...r,...o,ref:t})});F0.displayName=D0;var H0="DropdownMenuLabel",B0=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(C0,{...r,...o,ref:t})});B0.displayName=H0;var U0="DropdownMenuItem",bc=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(N0,{...r,...o,ref:t})});bc.displayName=U0;var q0="DropdownMenuCheckboxItem",W0=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(T0,{...r,...o,ref:t})});W0.displayName=q0;var V0="DropdownMenuRadioGroup",G0=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(M0,{...r,...o,ref:t})});G0.displayName=V0;var K0="DropdownMenuRadioItem",X0=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(A0,{...r,...o,ref:t})});X0.displayName=K0;var Y0="DropdownMenuItemIndicator",J0=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(P0,{...r,...o,ref:t})});J0.displayName=Y0;var Z0="DropdownMenuSeparator",Q0=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(E0,{...r,...o,ref:t})});Q0.displayName=Z0;var e_="DropdownMenuArrow",t_=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p($0,{...r,...o,ref:t})});t_.displayName=e_;var n_="DropdownMenuSubTrigger",o_=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(R0,{...r,...o,ref:t})});o_.displayName=n_;var r_="DropdownMenuSubContent",i_=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(O0,{...r,...o,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});i_.displayName=r_;var a_=dc,l_=hc,s_=pc,c_=fc,d_=bc,co="Popover",[gc]=qt(co,[oo]),yn=oo(),[u_,yt]=gc(co),_c=e=>{const{__scopePopover:t,children:n,open:o,defaultOpen:r,onOpenChange:i,modal:l=!1}=e,s=yn(t),u=D(null),[h,f]=z(!1),[m,g]=rr({prop:o,defaultProp:r??!1,onChange:i,caller:co});return p(As,{...s,children:p(u_,{scope:t,contentId:Dn(),triggerRef:u,open:m,onOpenChange:g,onOpenToggle:B(()=>g(_=>!_),[g]),hasCustomAnchor:h,onCustomAnchorAdd:B(()=>f(!0),[]),onCustomAnchorRemove:B(()=>f(!1),[]),modal:l,children:n})})};_c.displayName=co;var vc="PopoverAnchor",h_=V((e,t)=>{const{__scopePopover:n,...o}=e,r=yt(vc,n),i=yn(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:s}=r;return H(()=>(l(),()=>s()),[l,s]),p(Pr,{...i,...o,ref:t})});h_.displayName=vc;var xc="PopoverTrigger",yc=V((e,t)=>{const{__scopePopover:n,...o}=e,r=yt(xc,n),i=yn(n),l=Ne(t,r.triggerRef),s=p(Se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":Cc(r.open),...o,ref:l,onClick:oe(e.onClick,r.onOpenToggle)});return r.hasCustomAnchor?s:p(Pr,{asChild:!0,...i,children:s})});yc.displayName=xc;var Br="PopoverPortal",[p_,m_]=gc(Br,{forceMount:void 0}),wc=e=>{const{__scopePopover:t,forceMount:n,children:o,container:r}=e,i=yt(Br,t);return p(p_,{scope:t,forceMount:n,children:p(At,{present:n||i.open,children:p(dr,{asChild:!0,container:r,children:o})})})};wc.displayName=Br;var Qt="PopoverContent",kc=V((e,t)=>{const n=m_(Qt,e.__scopePopover),{forceMount:o=n.forceMount,...r}=e,i=yt(Qt,e.__scopePopover);return p(At,{present:o||i.open,children:i.modal?p(b_,{...r,ref:t}):p(g_,{...r,ref:t})})});kc.displayName=Qt;var f_=hn("PopoverContent.RemoveScroll"),b_=V((e,t)=>{const n=yt(Qt,e.__scopePopover),o=D(null),r=Ne(t,o),i=D(!1);return H(()=>{const l=o.current;if(l)return Jl(l)},[]),p(br,{as:f_,allowPinchZoom:!0,children:p(jc,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:oe(e.onCloseAutoFocus,l=>{var s;l.preventDefault(),i.current||(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:oe(e.onPointerDownOutside,l=>{const s=l.detail.originalEvent,u=s.button===0&&s.ctrlKey===!0,h=s.button===2||u;i.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:oe(e.onFocusOutside,l=>l.preventDefault(),{checkForDefaultPrevented:!1})})})}),g_=V((e,t)=>{const n=yt(Qt,e.__scopePopover),o=D(!1),r=D(!1);return p(jc,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var l,s;(l=e.onCloseAutoFocus)==null||l.call(e,i),i.defaultPrevented||(o.current||(s=n.triggerRef.current)==null||s.focus(),i.preventDefault()),o.current=!1,r.current=!1},onInteractOutside:i=>{var u,h;(u=e.onInteractOutside)==null||u.call(e,i),i.defaultPrevented||(o.current=!0,i.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const l=i.target;((h=n.triggerRef.current)==null?void 0:h.contains(l))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&r.current&&i.preventDefault()}})}),jc=V((e,t)=>{const{__scopePopover:n,trapFocus:o,onOpenAutoFocus:r,onCloseAutoFocus:i,disableOutsidePointerEvents:l,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:h,onInteractOutside:f,...m}=e,g=yt(Qt,n),_=yn(n);return Ll(),p(cr,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:r,onUnmountAutoFocus:i,children:p(ar,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:h,onDismiss:()=>g.onOpenChange(!1),children:p(Ps,{"data-state":Cc(g.open),role:"dialog",id:g.contentId,..._,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Sc="PopoverClose",__=V((e,t)=>{const{__scopePopover:n,...o}=e,r=yt(Sc,n);return p(Se.button,{type:"button",...o,ref:t,onClick:oe(e.onClick,()=>r.onOpenChange(!1))})});__.displayName=Sc;var v_="PopoverArrow",x_=V((e,t)=>{const{__scopePopover:n,...o}=e,r=yn(n);return p(Es,{...r,...o,ref:t})});x_.displayName=v_;function Cc(e){return e?"open":"closed"}var y_=_c,w_=yc,k_=wc,j_=kc;const S_=y_,C_=w_;function N_({className:e,align:t="center",sideOffset:n=4,...o}){const r=Ii();return p(k_,{container:r??void 0,children:p(j_,{align:t,sideOffset:n,className:he("rounded-md border border-border bg-[color:var(--auxx-chat-surface-loud)] p-3 text-sm shadow-md outline-none backdrop-blur-xl",e),style:{zIndex:2147483001},...o})})}const Ur=["","🏻","🏼","🏽","🏾","🏿"],Nc={"":"bg-yellow-400","🏻":"bg-[#FFDBB4]","🏼":"bg-[#EDB98A]","🏽":"bg-[#C68642]","🏾":"bg-[#8D5524]","🏿":"bg-[#5C3317]"},T_="",M_="️";function A_(e,t){if(!t)return e;const n=e.indexOf(T_),o=e.indexOf(M_);let r=-1;return n!==-1&&o!==-1?r=Math.min(n,o):n!==-1?r=n:o!==-1&&(r=o),r!==-1?e.slice(0,r)+t+e.slice(r):e+t}const Tc=[{id:"smileys",label:"Smileys and People",icon:Da},{id:"animals",label:"Animals and Nature",icon:Fp},{id:"food",label:"Food and Drink",icon:zu},{id:"activity",label:"Activity",icon:ah},{id:"travel",label:"Travel and Places",icon:$a},{id:"objects",label:"Objects",icon:La},{id:"symbols",label:"Symbols",icon:Pa},{id:"flags",label:"Flags",icon:Aa}],Mc={smileys:[{id:":grinning_face:",label:"Grinning face",emoji:"😀"},{id:":grinning_face_with_big_eyes:",label:"Grinning face with big eyes",emoji:"😃"},{id:":grinning_face_with_smiling_eyes:",label:"Grinning face with smiling eyes",emoji:"😄"},{id:":beaming_face_with_smiling_eyes:",label:"Beaming face with smiling eyes",emoji:"😁"},{id:":grinning_squinting_face:",label:"Grinning squinting face",emoji:"😆"},{id:":grinning_face_with_sweat:",label:"Grinning face with sweat",emoji:"😅"},{id:":rolling_on_the_floor_laughing:",label:"Rolling on the floor laughing",emoji:"🤣"},{id:":face_with_tears_of_joy:",label:"Face with tears of joy",emoji:"😂"},{id:":slightly_smiling_face:",label:"Slightly smiling face",emoji:"🙂"},{id:":upside_down_face:",label:"Upside down face",emoji:"🙃"},{id:":winking_face:",label:"Winking face",emoji:"😉"},{id:":smiling_face_with_smiling_eyes:",label:"Smiling face with smiling eyes",emoji:"😊"},{id:":smiling_face_with_halo:",label:"Smiling face with halo",emoji:"😇"},{id:":smiling_face_with_hearts:",label:"Smiling face with hearts",emoji:"🥰"},{id:":smiling_face_with_heart-eyes:",label:"Smiling face with heart-eyes",emoji:"😍"},{id:":star-struck:",label:"Star-struck",emoji:"🤩"},{id:":face_blowing_a_kiss:",label:"Face blowing a kiss",emoji:"😘"},{id:":kissing_face:",label:"Kissing face",emoji:"😗"},{id:":smiling_face:",label:"Smiling face",emoji:"☺️"},{id:":kissing_face_with_closed_eyes:",label:"Kissing face with closed eyes",emoji:"😚"},{id:":kissing_face_with_smiling_eyes:",label:"Kissing face with smiling eyes",emoji:"😙"},{id:":face_savoring_food:",label:"Face savoring food",emoji:"😋"},{id:":face_with_tongue:",label:"Face with tongue",emoji:"😛"},{id:":winking_face_with_tongue:",label:"Winking face with tongue",emoji:"😜"},{id:":zany_face:",label:"Zany face",emoji:"🤪"},{id:":squinting_face_with_tongue:",label:"Squinting face with tongue",emoji:"😝"},{id:":money-mouth_face:",label:"Money-mouth face",emoji:"🤑"},{id:":smiling_face_with_open_hands:",label:"Smiling face with open hands",emoji:"🤗"},{id:":face_with_hand_over_mouth:",label:"Face with hand over mouth",emoji:"🤭"},{id:":shushing_face:",label:"Shushing face",emoji:"🤫"},{id:":thinking_face:",label:"Thinking face",emoji:"🤔"},{id:":zipper-mouth_face:",label:"Zipper-mouth face",emoji:"🤐"},{id:":face_with_raised_eyebrow:",label:"Face with raised eyebrow",emoji:"🤨"},{id:":neutral_face:",label:"Neutral face",emoji:"😐"},{id:":expressionless_face:",label:"Expressionless face",emoji:"😑"},{id:":face_without_mouth:",label:"Face without mouth",emoji:"😶"},{id:":smirking_face:",label:"Smirking face",emoji:"😏"},{id:":unamused_face:",label:"Unamused face",emoji:"😒"},{id:":face_with_rolling_eyes:",label:"Face with rolling eyes",emoji:"🙄"},{id:":grimacing_face:",label:"Grimacing face",emoji:"😬"},{id:":lying_face:",label:"Lying face",emoji:"🤥"},{id:":pensive_face:",label:"Pensive face",emoji:"😔"},{id:":sleepy_face:",label:"Sleepy face",emoji:"😪"},{id:":drooling_face:",label:"Drooling face",emoji:"🤤"},{id:":sleeping_face:",label:"Sleeping face",emoji:"😴"},{id:":face_with_medical_mask:",label:"Face with medical mask",emoji:"😷"},{id:":face_with_thermometer:",label:"Face with thermometer",emoji:"🤒"},{id:":face_with_head-bandage:",label:"Face with head-bandage",emoji:"🤕"},{id:":nauseated_face:",label:"Nauseated face",emoji:"🤢"},{id:":face_vomiting:",label:"Face vomiting",emoji:"🤮"},{id:":sneezing_face:",label:"Sneezing face",emoji:"🤧"},{id:":hot_face:",label:"Hot face",emoji:"🥵"},{id:":cold_face:",label:"Cold face",emoji:"🥶"},{id:":woozy_face:",label:"Woozy face",emoji:"🥴"},{id:":face_with_crossed-out_eyes:",label:"Face with crossed-out eyes",emoji:"😵"},{id:":exploding_head:",label:"Exploding head",emoji:"🤯"},{id:":cowboy_hat_face:",label:"Cowboy hat face",emoji:"🤠"},{id:":partying_face:",label:"Partying face",emoji:"🥳"},{id:":smiling_face_with_sunglasses:",label:"Smiling face with sunglasses",emoji:"😎"},{id:":nerd_face:",label:"Nerd face",emoji:"🤓"},{id:":face_with_monocle:",label:"Face with monocle",emoji:"🧐"},{id:":confused_face:",label:"Confused face",emoji:"😕"},{id:":worried_face:",label:"Worried face",emoji:"😟"},{id:":slightly_frowning_face:",label:"Slightly frowning face",emoji:"🙁"},{id:":frowning_face:",label:"Frowning face",emoji:"☹️"},{id:":face_with_open_mouth:",label:"Face with open mouth",emoji:"😮"},{id:":hushed_face:",label:"Hushed face",emoji:"😯"},{id:":astonished_face:",label:"Astonished face",emoji:"😲"},{id:":flushed_face:",label:"Flushed face",emoji:"😳"},{id:":pleading_face:",label:"Pleading face",emoji:"🥺"},{id:":smiling_face_with_tear:",label:"Smiling face with tear",emoji:"🥲"},{id:":face_holding_back_tears:",label:"Face holding back tears",emoji:"🥹"},{id:":frowning_face_with_open_mouth:",label:"Frowning face with open mouth",emoji:"😦"},{id:":anguished_face:",label:"Anguished face",emoji:"😧"},{id:":fearful_face:",label:"Fearful face",emoji:"😨"},{id:":anxious_face_with_sweat:",label:"Anxious face with sweat",emoji:"😰"},{id:":sad_but_relieved_face:",label:"Sad but relieved face",emoji:"😥"},{id:":crying_face:",label:"Crying face",emoji:"😢"},{id:":loudly_crying_face:",label:"Loudly crying face",emoji:"😭"},{id:":face_screaming_in_fear:",label:"Face screaming in fear",emoji:"😱"},{id:":confounded_face:",label:"Confounded face",emoji:"😖"},{id:":persevering_face:",label:"Persevering face",emoji:"😣"},{id:":disappointed_face:",label:"Disappointed face",emoji:"😞"},{id:":downcast_face_with_sweat:",label:"Downcast face with sweat",emoji:"😓"},{id:":weary_face:",label:"Weary face",emoji:"😩"},{id:":tired_face:",label:"Tired face",emoji:"😫"},{id:":yawning_face:",label:"Yawning face",emoji:"🥱"},{id:":face_with_steam_from_nose:",label:"Face with steam from nose",emoji:"😤"},{id:":pouting_face:",label:"Pouting face",emoji:"😡"},{id:":angry_face:",label:"Angry face",emoji:"😠"},{id:":face_with_symbols_on_mouth:",label:"Face with symbols on mouth",emoji:"🤬"},{id:":smiling_face_with_horns:",label:"Smiling face with horns",emoji:"😈"},{id:":angry_face_with_horns:",label:"Angry face with horns",emoji:"👿"},{id:":melting_face:",label:"Melting face",emoji:"🫠"},{id:":face_with_open_eyes_and_hand_over_mouth:",label:"Face with open eyes and hand over mouth",emoji:"🫢"},{id:":face_with_peeking_eye:",label:"Face with peeking eye",emoji:"🫣"},{id:":saluting_face:",label:"Saluting face",emoji:"🫡"},{id:":face_with_diagonal_mouth:",label:"Face with diagonal mouth",emoji:"🫤"},{id:":dotted_line_face:",label:"Dotted line face",emoji:"🫥"},{id:":face_in_clouds:",label:"Face in clouds",emoji:"😶🌫️"},{id:":face_exhaling:",label:"Face exhaling",emoji:"😮💨"},{id:":face_with_spiral_eyes:",label:"Face with spiral eyes",emoji:"😵💫"},{id:":shaking_face:",label:"Shaking face",emoji:"🫨"},{id:":skull:",label:"Skull",emoji:"💀"},{id:":skull_and_crossbones:",label:"Skull and crossbones",emoji:"☠️"},{id:":pile_of_poo:",label:"Pile of poo",emoji:"💩"},{id:":clown_face:",label:"Clown face",emoji:"🤡"},{id:":ogre:",label:"Ogre",emoji:"👹"},{id:":goblin:",label:"Goblin",emoji:"👺"},{id:":ghost:",label:"Ghost",emoji:"👻"},{id:":alien:",label:"Alien",emoji:"👽"},{id:":alien_monster:",label:"Alien monster",emoji:"👾"},{id:":robot:",label:"Robot",emoji:"🤖"},{id:":jack-o-lantern:",label:"Jack-o-lantern",emoji:"🎃"},{id:":grinning_cat:",label:"Grinning cat",emoji:"😺"},{id:":grinning_cat_with_smiling_eyes:",label:"Grinning cat with smiling eyes",emoji:"😸"},{id:":cat_with_tears_of_joy:",label:"Cat with tears of joy",emoji:"😹"},{id:":smiling_cat_with_heart-eyes:",label:"Smiling cat with heart-eyes",emoji:"😻"},{id:":cat_with_wry_smile:",label:"Cat with wry smile",emoji:"😼"},{id:":kissing_cat:",label:"Kissing cat",emoji:"😽"},{id:":weary_cat:",label:"Weary cat",emoji:"🙀"},{id:":crying_cat:",label:"Crying cat",emoji:"😿"},{id:":pouting_cat:",label:"Pouting cat",emoji:"😾"},{id:":kiss_mark:",label:"Kiss mark",emoji:"💋"},{id:":mouth:",label:"Mouth",emoji:"👄"},{id:":biting_lip:",label:"Biting lip",emoji:"🫦"},{id:":tongue:",label:"Tongue",emoji:"👅"},{id:":eye:",label:"Eye",emoji:"👁️"},{id:":eyes:",label:"Eyes",emoji:"👀"},{id:":nose:",label:"Nose",emoji:"👃",supportsSkinTone:!0},{id:":ear:",label:"Ear",emoji:"👂",supportsSkinTone:!0},{id:":ear_with_hearing_aid:",label:"Ear with hearing aid",emoji:"🦻",supportsSkinTone:!0},{id:":brain:",label:"Brain",emoji:"🧠"},{id:":anatomical_heart:",label:"Anatomical heart",emoji:"🫀"},{id:":lungs:",label:"Lungs",emoji:"🫁"},{id:":tooth:",label:"Tooth",emoji:"🦷"},{id:":bone:",label:"Bone",emoji:"🦴"},{id:":waving_hand:",label:"Waving hand",emoji:"👋",supportsSkinTone:!0},{id:":raised_back_of_hand:",label:"Raised back of hand",emoji:"🤚",supportsSkinTone:!0},{id:":hand_with_fingers_splayed:",label:"Hand with fingers splayed",emoji:"🖐️",supportsSkinTone:!0},{id:":raised_hand:",label:"Raised hand",emoji:"✋",supportsSkinTone:!0},{id:":vulcan_salute:",label:"Vulcan salute",emoji:"🖖",supportsSkinTone:!0},{id:":ok_hand:",label:"OK hand",emoji:"👌",supportsSkinTone:!0},{id:":pinched_fingers:",label:"Pinched fingers",emoji:"🤌",supportsSkinTone:!0},{id:":pinching_hand:",label:"Pinching hand",emoji:"🤏",supportsSkinTone:!0},{id:":victory_hand:",label:"Victory hand",emoji:"✌️",supportsSkinTone:!0},{id:":crossed_fingers:",label:"Crossed fingers",emoji:"🤞",supportsSkinTone:!0},{id:":love-you_gesture:",label:"Love-you gesture",emoji:"🤟",supportsSkinTone:!0},{id:":sign_of_the_horns:",label:"Sign of the horns",emoji:"🤘",supportsSkinTone:!0},{id:":call_me_hand:",label:"Call me hand",emoji:"🤙",supportsSkinTone:!0},{id:":backhand_index_pointing_left:",label:"Backhand index pointing left",emoji:"👈",supportsSkinTone:!0},{id:":backhand_index_pointing_right:",label:"Backhand index pointing right",emoji:"👉",supportsSkinTone:!0},{id:":backhand_index_pointing_up:",label:"Backhand index pointing up",emoji:"👆",supportsSkinTone:!0},{id:":backhand_index_pointing_down:",label:"Backhand index pointing down",emoji:"👇",supportsSkinTone:!0},{id:":index_pointing_up:",label:"Index pointing up",emoji:"☝️",supportsSkinTone:!0},{id:":thumbs_up:",label:"Thumbs up",emoji:"👍",supportsSkinTone:!0},{id:":thumbs_down:",label:"Thumbs down",emoji:"👎",supportsSkinTone:!0},{id:":raised_fist:",label:"Raised fist",emoji:"✊",supportsSkinTone:!0},{id:":oncoming_fist:",label:"Oncoming fist",emoji:"👊",supportsSkinTone:!0},{id:":left-facing_fist:",label:"Left-facing fist",emoji:"🤛",supportsSkinTone:!0},{id:":right-facing_fist:",label:"Right-facing fist",emoji:"🤜",supportsSkinTone:!0},{id:":clapping_hands:",label:"Clapping hands",emoji:"👏",supportsSkinTone:!0},{id:":raising_hands:",label:"Raising hands",emoji:"🙌",supportsSkinTone:!0},{id:":open_hands:",label:"Open hands",emoji:"👐",supportsSkinTone:!0},{id:":palms_up_together:",label:"Palms up together",emoji:"🤲",supportsSkinTone:!0},{id:":handshake:",label:"Handshake",emoji:"🤝",supportsSkinTone:!0},{id:":folded_hands:",label:"Folded hands",emoji:"🙏",supportsSkinTone:!0},{id:":writing_hand:",label:"Writing hand",emoji:"✍️",supportsSkinTone:!0},{id:":nail_polish:",label:"Nail polish",emoji:"💅",supportsSkinTone:!0},{id:":selfie:",label:"Selfie",emoji:"🤳",supportsSkinTone:!0},{id:":flexed_biceps:",label:"Flexed biceps",emoji:"💪",supportsSkinTone:!0},{id:":mechanical_arm:",label:"Mechanical arm",emoji:"🦾"},{id:":mechanical_leg:",label:"Mechanical leg",emoji:"🦿"},{id:":leg:",label:"Leg",emoji:"🦵",supportsSkinTone:!0},{id:":foot:",label:"Foot",emoji:"🦶",supportsSkinTone:!0},{id:":rightwards_hand:",label:"Rightwards hand",emoji:"🫱",supportsSkinTone:!0},{id:":leftwards_hand:",label:"Leftwards hand",emoji:"🫲",supportsSkinTone:!0},{id:":palm_down_hand:",label:"Palm down hand",emoji:"🫳",supportsSkinTone:!0},{id:":palm_up_hand:",label:"Palm up hand",emoji:"🫴",supportsSkinTone:!0},{id:":index_pointing_at_the_viewer:",label:"Index pointing at the viewer",emoji:"🫵",supportsSkinTone:!0},{id:":heart_hands:",label:"Heart hands",emoji:"🫶",supportsSkinTone:!0},{id:":hand_with_index_finger_and_thumb_crossed:",label:"Hand with index finger and thumb crossed",emoji:"🫰",supportsSkinTone:!0},{id:":leftwards_pushing_hand:",label:"Leftwards pushing hand",emoji:"🫷",supportsSkinTone:!0},{id:":rightwards_pushing_hand:",label:"Rightwards pushing hand",emoji:"🫸",supportsSkinTone:!0},{id:":baby:",label:"Baby",emoji:"👶",supportsSkinTone:!0},{id:":child:",label:"Child",emoji:"🧒",supportsSkinTone:!0},{id:":boy:",label:"Boy",emoji:"👦",supportsSkinTone:!0},{id:":girl:",label:"Girl",emoji:"👧",supportsSkinTone:!0},{id:":person:",label:"Person",emoji:"🧑",supportsSkinTone:!0},{id:":man:",label:"Man",emoji:"👨",supportsSkinTone:!0},{id:":woman:",label:"Woman",emoji:"👩",supportsSkinTone:!0},{id:":older_person:",label:"Older person",emoji:"🧓",supportsSkinTone:!0},{id:":old_man:",label:"Old man",emoji:"👴",supportsSkinTone:!0},{id:":old_woman:",label:"Old woman",emoji:"👵",supportsSkinTone:!0},{id:":person_blond_hair:",label:"Person: blond hair",emoji:"👱",supportsSkinTone:!0},{id:":man_blond_hair:",label:"Man: blond hair",emoji:"👱♂️",supportsSkinTone:!0},{id:":woman_blond_hair:",label:"Woman: blond hair",emoji:"👱♀️",supportsSkinTone:!0},{id:":person_red_hair:",label:"Person: red hair",emoji:"🧑🦰",supportsSkinTone:!0},{id:":man_red_hair:",label:"Man: red hair",emoji:"👨🦰",supportsSkinTone:!0},{id:":woman_red_hair:",label:"Woman: red hair",emoji:"👩🦰",supportsSkinTone:!0},{id:":person_curly_hair:",label:"Person: curly hair",emoji:"🧑🦱",supportsSkinTone:!0},{id:":man_curly_hair:",label:"Man: curly hair",emoji:"👨🦱",supportsSkinTone:!0},{id:":woman_curly_hair:",label:"Woman: curly hair",emoji:"👩🦱",supportsSkinTone:!0},{id:":person_white_hair:",label:"Person: white hair",emoji:"🧑🦳",supportsSkinTone:!0},{id:":man_white_hair:",label:"Man: white hair",emoji:"👨🦳",supportsSkinTone:!0},{id:":woman_white_hair:",label:"Woman: white hair",emoji:"👩🦳",supportsSkinTone:!0},{id:":person_bald:",label:"Person: bald",emoji:"🧑🦲",supportsSkinTone:!0},{id:":man_bald:",label:"Man: bald",emoji:"👨🦲",supportsSkinTone:!0},{id:":woman_bald:",label:"Woman: bald",emoji:"👩🦲",supportsSkinTone:!0},{id:":person_beard:",label:"Person: beard",emoji:"🧔",supportsSkinTone:!0},{id:":man_beard:",label:"Man: beard",emoji:"🧔♂️",supportsSkinTone:!0},{id:":woman_beard:",label:"Woman: beard",emoji:"🧔♀️",supportsSkinTone:!0},{id:":health_worker:",label:"Health worker",emoji:"🧑⚕️",supportsSkinTone:!0},{id:":man_health_worker:",label:"Man health worker",emoji:"👨⚕️",supportsSkinTone:!0},{id:":woman_health_worker:",label:"Woman health worker",emoji:"👩⚕️",supportsSkinTone:!0},{id:":student:",label:"Student",emoji:"🧑🎓",supportsSkinTone:!0},{id:":man_student:",label:"Man student",emoji:"👨🎓",supportsSkinTone:!0},{id:":woman_student:",label:"Woman student",emoji:"👩🎓",supportsSkinTone:!0},{id:":teacher:",label:"Teacher",emoji:"🧑🏫",supportsSkinTone:!0},{id:":man_teacher:",label:"Man teacher",emoji:"👨🏫",supportsSkinTone:!0},{id:":woman_teacher:",label:"Woman teacher",emoji:"👩🏫",supportsSkinTone:!0},{id:":judge:",label:"Judge",emoji:"🧑⚖️",supportsSkinTone:!0},{id:":man_judge:",label:"Man judge",emoji:"👨⚖️",supportsSkinTone:!0},{id:":woman_judge:",label:"Woman judge",emoji:"👩⚖️",supportsSkinTone:!0},{id:":farmer:",label:"Farmer",emoji:"🧑🌾",supportsSkinTone:!0},{id:":man_farmer:",label:"Man farmer",emoji:"👨🌾",supportsSkinTone:!0},{id:":woman_farmer:",label:"Woman farmer",emoji:"👩🌾",supportsSkinTone:!0},{id:":cook:",label:"Cook",emoji:"🧑🍳",supportsSkinTone:!0},{id:":man_cook:",label:"Man cook",emoji:"👨🍳",supportsSkinTone:!0},{id:":woman_cook:",label:"Woman cook",emoji:"👩🍳",supportsSkinTone:!0},{id:":mechanic:",label:"Mechanic",emoji:"🧑🔧",supportsSkinTone:!0},{id:":man_mechanic:",label:"Man mechanic",emoji:"👨🔧",supportsSkinTone:!0},{id:":woman_mechanic:",label:"Woman mechanic",emoji:"👩🔧",supportsSkinTone:!0},{id:":factory_worker:",label:"Factory worker",emoji:"🧑🏭",supportsSkinTone:!0},{id:":man_factory_worker:",label:"Man factory worker",emoji:"👨🏭",supportsSkinTone:!0},{id:":woman_factory_worker:",label:"Woman factory worker",emoji:"👩🏭",supportsSkinTone:!0},{id:":office_worker:",label:"Office worker",emoji:"🧑💼",supportsSkinTone:!0},{id:":man_office_worker:",label:"Man office worker",emoji:"👨💼",supportsSkinTone:!0},{id:":woman_office_worker:",label:"Woman office worker",emoji:"👩💼",supportsSkinTone:!0},{id:":scientist:",label:"Scientist",emoji:"🧑🔬",supportsSkinTone:!0},{id:":man_scientist:",label:"Man scientist",emoji:"👨🔬",supportsSkinTone:!0},{id:":woman_scientist:",label:"Woman scientist",emoji:"👩🔬",supportsSkinTone:!0},{id:":technologist:",label:"Technologist",emoji:"🧑💻",supportsSkinTone:!0},{id:":man_technologist:",label:"Man technologist",emoji:"👨💻",supportsSkinTone:!0},{id:":woman_technologist:",label:"Woman technologist",emoji:"👩💻",supportsSkinTone:!0},{id:":singer:",label:"Singer",emoji:"🧑🎤",supportsSkinTone:!0},{id:":man_singer:",label:"Man singer",emoji:"👨🎤",supportsSkinTone:!0},{id:":woman_singer:",label:"Woman singer",emoji:"👩🎤",supportsSkinTone:!0},{id:":artist:",label:"Artist",emoji:"🧑🎨",supportsSkinTone:!0},{id:":man_artist:",label:"Man artist",emoji:"👨🎨",supportsSkinTone:!0},{id:":woman_artist:",label:"Woman artist",emoji:"👩🎨",supportsSkinTone:!0},{id:":pilot:",label:"Pilot",emoji:"🧑✈️",supportsSkinTone:!0},{id:":man_pilot:",label:"Man pilot",emoji:"👨✈️",supportsSkinTone:!0},{id:":woman_pilot:",label:"Woman pilot",emoji:"👩✈️",supportsSkinTone:!0},{id:":astronaut:",label:"Astronaut",emoji:"🧑🚀",supportsSkinTone:!0},{id:":man_astronaut:",label:"Man astronaut",emoji:"👨🚀",supportsSkinTone:!0},{id:":woman_astronaut:",label:"Woman astronaut",emoji:"👩🚀",supportsSkinTone:!0},{id:":firefighter:",label:"Firefighter",emoji:"🧑🚒",supportsSkinTone:!0},{id:":man_firefighter:",label:"Man firefighter",emoji:"👨🚒",supportsSkinTone:!0},{id:":woman_firefighter:",label:"Woman firefighter",emoji:"👩🚒",supportsSkinTone:!0},{id:":police_officer:",label:"Police officer",emoji:"👮",supportsSkinTone:!0},{id:":man_police_officer:",label:"Man police officer",emoji:"👮♂️",supportsSkinTone:!0},{id:":woman_police_officer:",label:"Woman police officer",emoji:"👮♀️",supportsSkinTone:!0},{id:":ninja:",label:"Ninja",emoji:"🥷",supportsSkinTone:!0},{id:":construction_worker:",label:"Construction worker",emoji:"👷",supportsSkinTone:!0},{id:":man_construction_worker:",label:"Man construction worker",emoji:"👷♂️",supportsSkinTone:!0},{id:":woman_construction_worker:",label:"Woman construction worker",emoji:"👷♀️",supportsSkinTone:!0},{id:":prince:",label:"Prince",emoji:"🤴",supportsSkinTone:!0},{id:":princess:",label:"Princess",emoji:"👸",supportsSkinTone:!0},{id:":person_wearing_turban:",label:"Person wearing turban",emoji:"👳",supportsSkinTone:!0},{id:":man_wearing_turban:",label:"Man wearing turban",emoji:"👳♂️",supportsSkinTone:!0},{id:":woman_wearing_turban:",label:"Woman wearing turban",emoji:"👳♀️",supportsSkinTone:!0},{id:":person_with_skullcap:",label:"Person with skullcap",emoji:"👲",supportsSkinTone:!0},{id:":woman_with_headscarf:",label:"Woman with headscarf",emoji:"🧕",supportsSkinTone:!0},{id:":person_in_tuxedo:",label:"Person in tuxedo",emoji:"🤵",supportsSkinTone:!0},{id:":man_in_tuxedo:",label:"Man in tuxedo",emoji:"🤵♂️",supportsSkinTone:!0},{id:":woman_in_tuxedo:",label:"Woman in tuxedo",emoji:"🤵♀️",supportsSkinTone:!0},{id:":person_with_veil:",label:"Person with veil",emoji:"👰",supportsSkinTone:!0},{id:":man_with_veil:",label:"Man with veil",emoji:"👰♂️",supportsSkinTone:!0},{id:":woman_with_veil:",label:"Woman with veil",emoji:"👰♀️",supportsSkinTone:!0},{id:":pregnant_woman:",label:"Pregnant woman",emoji:"🤰",supportsSkinTone:!0},{id:":pregnant_man:",label:"Pregnant man",emoji:"🫃",supportsSkinTone:!0},{id:":pregnant_person:",label:"Pregnant person",emoji:"🫄",supportsSkinTone:!0},{id:":breast-feeding:",label:"Breast-feeding",emoji:"🤱",supportsSkinTone:!0},{id:":person_feeding_baby:",label:"Person feeding baby",emoji:"🧑🍼",supportsSkinTone:!0},{id:":man_feeding_baby:",label:"Man feeding baby",emoji:"👨🍼",supportsSkinTone:!0},{id:":woman_feeding_baby:",label:"Woman feeding baby",emoji:"👩🍼",supportsSkinTone:!0},{id:":baby_angel:",label:"Baby angel",emoji:"👼",supportsSkinTone:!0},{id:":santa_claus:",label:"Santa Claus",emoji:"🎅",supportsSkinTone:!0},{id:":mrs_claus:",label:"Mrs. Claus",emoji:"🤶",supportsSkinTone:!0},{id:":mx_claus:",label:"Mx Claus",emoji:"🧑🎄",supportsSkinTone:!0},{id:":superhero:",label:"Superhero",emoji:"🦸",supportsSkinTone:!0},{id:":man_superhero:",label:"Man superhero",emoji:"🦸♂️",supportsSkinTone:!0},{id:":woman_superhero:",label:"Woman superhero",emoji:"🦸♀️",supportsSkinTone:!0},{id:":supervillain:",label:"Supervillain",emoji:"🦹",supportsSkinTone:!0},{id:":man_supervillain:",label:"Man supervillain",emoji:"🦹♂️",supportsSkinTone:!0},{id:":woman_supervillain:",label:"Woman supervillain",emoji:"🦹♀️",supportsSkinTone:!0},{id:":mage:",label:"Mage",emoji:"🧙",supportsSkinTone:!0},{id:":man_mage:",label:"Man mage",emoji:"🧙♂️",supportsSkinTone:!0},{id:":woman_mage:",label:"Woman mage",emoji:"🧙♀️",supportsSkinTone:!0},{id:":fairy:",label:"Fairy",emoji:"🧚",supportsSkinTone:!0},{id:":man_fairy:",label:"Man fairy",emoji:"🧚♂️",supportsSkinTone:!0},{id:":woman_fairy:",label:"Woman fairy",emoji:"🧚♀️",supportsSkinTone:!0},{id:":vampire:",label:"Vampire",emoji:"🧛",supportsSkinTone:!0},{id:":man_vampire:",label:"Man vampire",emoji:"🧛♂️",supportsSkinTone:!0},{id:":woman_vampire:",label:"Woman vampire",emoji:"🧛♀️",supportsSkinTone:!0},{id:":merperson:",label:"Merperson",emoji:"🧜",supportsSkinTone:!0},{id:":merman:",label:"Merman",emoji:"🧜♂️",supportsSkinTone:!0},{id:":mermaid:",label:"Mermaid",emoji:"🧜♀️",supportsSkinTone:!0},{id:":elf:",label:"Elf",emoji:"🧝",supportsSkinTone:!0},{id:":man_elf:",label:"Man elf",emoji:"🧝♂️",supportsSkinTone:!0},{id:":woman_elf:",label:"Woman elf",emoji:"🧝♀️",supportsSkinTone:!0},{id:":genie:",label:"Genie",emoji:"🧞"},{id:":man_genie:",label:"Man genie",emoji:"🧞♂️"},{id:":woman_genie:",label:"Woman genie",emoji:"🧞♀️"},{id:":zombie:",label:"Zombie",emoji:"🧟"},{id:":man_zombie:",label:"Man zombie",emoji:"🧟♂️"},{id:":woman_zombie:",label:"Woman zombie",emoji:"🧟♀️"},{id:":troll:",label:"Troll",emoji:"🧌"},{id:":person_frowning:",label:"Person frowning",emoji:"🙍",supportsSkinTone:!0},{id:":man_frowning:",label:"Man frowning",emoji:"🙍♂️",supportsSkinTone:!0},{id:":woman_frowning:",label:"Woman frowning",emoji:"🙍♀️",supportsSkinTone:!0},{id:":person_pouting:",label:"Person pouting",emoji:"🙎",supportsSkinTone:!0},{id:":man_pouting:",label:"Man pouting",emoji:"🙎♂️",supportsSkinTone:!0},{id:":woman_pouting:",label:"Woman pouting",emoji:"🙎♀️",supportsSkinTone:!0},{id:":person_gesturing_no:",label:"Person gesturing no",emoji:"🙅",supportsSkinTone:!0},{id:":man_gesturing_no:",label:"Man gesturing no",emoji:"🙅♂️",supportsSkinTone:!0},{id:":woman_gesturing_no:",label:"Woman gesturing no",emoji:"🙅♀️",supportsSkinTone:!0},{id:":person_gesturing_ok:",label:"Person gesturing OK",emoji:"🙆",supportsSkinTone:!0},{id:":man_gesturing_ok:",label:"Man gesturing OK",emoji:"🙆♂️",supportsSkinTone:!0},{id:":woman_gesturing_ok:",label:"Woman gesturing OK",emoji:"🙆♀️",supportsSkinTone:!0},{id:":person_tipping_hand:",label:"Person tipping hand",emoji:"💁",supportsSkinTone:!0},{id:":man_tipping_hand:",label:"Man tipping hand",emoji:"💁♂️",supportsSkinTone:!0},{id:":woman_tipping_hand:",label:"Woman tipping hand",emoji:"💁♀️",supportsSkinTone:!0},{id:":person_raising_hand:",label:"Person raising hand",emoji:"🙋",supportsSkinTone:!0},{id:":man_raising_hand:",label:"Man raising hand",emoji:"🙋♂️",supportsSkinTone:!0},{id:":woman_raising_hand:",label:"Woman raising hand",emoji:"🙋♀️",supportsSkinTone:!0},{id:":deaf_person:",label:"Deaf person",emoji:"🧏",supportsSkinTone:!0},{id:":deaf_man:",label:"Deaf man",emoji:"🧏♂️",supportsSkinTone:!0},{id:":deaf_woman:",label:"Deaf woman",emoji:"🧏♀️",supportsSkinTone:!0},{id:":person_bowing:",label:"Person bowing",emoji:"🙇",supportsSkinTone:!0},{id:":man_bowing:",label:"Man bowing",emoji:"🙇♂️",supportsSkinTone:!0},{id:":woman_bowing:",label:"Woman bowing",emoji:"🙇♀️",supportsSkinTone:!0},{id:":person_facepalming:",label:"Person facepalming",emoji:"🤦",supportsSkinTone:!0},{id:":man_facepalming:",label:"Man facepalming",emoji:"🤦♂️",supportsSkinTone:!0},{id:":woman_facepalming:",label:"Woman facepalming",emoji:"🤦♀️",supportsSkinTone:!0},{id:":person_shrugging:",label:"Person shrugging",emoji:"🤷",supportsSkinTone:!0},{id:":man_shrugging:",label:"Man shrugging",emoji:"🤷♂️",supportsSkinTone:!0},{id:":woman_shrugging:",label:"Woman shrugging",emoji:"🤷♀️",supportsSkinTone:!0},{id:":person_getting_massage:",label:"Person getting massage",emoji:"💆",supportsSkinTone:!0},{id:":man_getting_massage:",label:"Man getting massage",emoji:"💆♂️",supportsSkinTone:!0},{id:":woman_getting_massage:",label:"Woman getting massage",emoji:"💆♀️",supportsSkinTone:!0},{id:":person_getting_haircut:",label:"Person getting haircut",emoji:"💇",supportsSkinTone:!0},{id:":man_getting_haircut:",label:"Man getting haircut",emoji:"💇♂️",supportsSkinTone:!0},{id:":woman_getting_haircut:",label:"Woman getting haircut",emoji:"💇♀️",supportsSkinTone:!0},{id:":person_walking:",label:"Person walking",emoji:"🚶",supportsSkinTone:!0},{id:":man_walking:",label:"Man walking",emoji:"🚶♂️",supportsSkinTone:!0},{id:":woman_walking:",label:"Woman walking",emoji:"🚶♀️",supportsSkinTone:!0},{id:":person_standing:",label:"Person standing",emoji:"🧍",supportsSkinTone:!0},{id:":man_standing:",label:"Man standing",emoji:"🧍♂️",supportsSkinTone:!0},{id:":woman_standing:",label:"Woman standing",emoji:"🧍♀️",supportsSkinTone:!0},{id:":person_kneeling:",label:"Person kneeling",emoji:"🧎",supportsSkinTone:!0},{id:":man_kneeling:",label:"Man kneeling",emoji:"🧎♂️",supportsSkinTone:!0},{id:":woman_kneeling:",label:"Woman kneeling",emoji:"🧎♀️",supportsSkinTone:!0},{id:":person_with_probing_cane:",label:"Person with probing cane",emoji:"🧑🦯",supportsSkinTone:!0},{id:":man_with_probing_cane:",label:"Man with probing cane",emoji:"👨🦯",supportsSkinTone:!0},{id:":woman_with_probing_cane:",label:"Woman with probing cane",emoji:"👩🦯",supportsSkinTone:!0},{id:":person_in_motorized_wheelchair:",label:"Person in motorized wheelchair",emoji:"🧑🦼",supportsSkinTone:!0},{id:":man_in_motorized_wheelchair:",label:"Man in motorized wheelchair",emoji:"👨🦼",supportsSkinTone:!0},{id:":woman_in_motorized_wheelchair:",label:"Woman in motorized wheelchair",emoji:"👩🦼",supportsSkinTone:!0},{id:":person_in_manual_wheelchair:",label:"Person in manual wheelchair",emoji:"🧑🦽",supportsSkinTone:!0},{id:":man_in_manual_wheelchair:",label:"Man in manual wheelchair",emoji:"👨🦽",supportsSkinTone:!0},{id:":woman_in_manual_wheelchair:",label:"Woman in manual wheelchair",emoji:"👩🦽",supportsSkinTone:!0},{id:":person_running:",label:"Person running",emoji:"🏃",supportsSkinTone:!0},{id:":man_running:",label:"Man running",emoji:"🏃♂️",supportsSkinTone:!0},{id:":woman_running:",label:"Woman running",emoji:"🏃♀️",supportsSkinTone:!0},{id:":woman_dancing:",label:"Woman dancing",emoji:"💃",supportsSkinTone:!0},{id:":man_dancing:",label:"Man dancing",emoji:"🕺",supportsSkinTone:!0},{id:":people_with_bunny_ears:",label:"People with bunny ears",emoji:"👯"},{id:":men_with_bunny_ears:",label:"Men with bunny ears",emoji:"👯♂️"},{id:":women_with_bunny_ears:",label:"Women with bunny ears",emoji:"👯♀️"},{id:":women_holding_hands:",label:"Women holding hands",emoji:"👭",supportsSkinTone:!0},{id:":woman_and_man_holding_hands:",label:"Woman and man holding hands",emoji:"👫",supportsSkinTone:!0},{id:":men_holding_hands:",label:"Men holding hands",emoji:"👬",supportsSkinTone:!0},{id:":kiss:",label:"Kiss",emoji:"💏",supportsSkinTone:!0},{id:":couple_with_heart:",label:"Couple with heart",emoji:"💑",supportsSkinTone:!0},{id:":family:",label:"Family",emoji:"👪"},{id:":family_man_woman_boy:",label:"Family: man, woman, boy",emoji:"👨👩👦"},{id:":family_man_woman_girl:",label:"Family: man, woman, girl",emoji:"👨👩👧"},{id:":family_man_woman_girl_boy:",label:"Family: man, woman, girl, boy",emoji:"👨👩👧👦"},{id:":family_man_woman_boy_boy:",label:"Family: man, woman, boy, boy",emoji:"👨👩👦👦"},{id:":family_man_woman_girl_girl:",label:"Family: man, woman, girl, girl",emoji:"👨👩👧👧"},{id:":family_man_man_boy:",label:"Family: man, man, boy",emoji:"👨👨👦"},{id:":family_man_man_girl:",label:"Family: man, man, girl",emoji:"👨👨👧"},{id:":family_woman_woman_boy:",label:"Family: woman, woman, boy",emoji:"👩👩👦"},{id:":family_woman_woman_girl:",label:"Family: woman, woman, girl",emoji:"👩👩👧"},{id:":family_man_boy:",label:"Family: man, boy",emoji:"👨👦"},{id:":family_man_girl:",label:"Family: man, girl",emoji:"👨👧"},{id:":family_woman_boy:",label:"Family: woman, boy",emoji:"👩👦"},{id:":family_woman_girl:",label:"Family: woman, girl",emoji:"👩👧"},{id:":speaking_head:",label:"Speaking head",emoji:"🗣️"},{id:":bust_in_silhouette:",label:"Bust in silhouette",emoji:"👤"},{id:":busts_in_silhouette:",label:"Busts in silhouette",emoji:"👥"},{id:":footprints:",label:"Footprints",emoji:"👣"}],animals:[{id:":dog_face:",label:"Dog face",emoji:"🐶"},{id:":cat_face:",label:"Cat face",emoji:"🐱"},{id:":mouse_face:",label:"Mouse face",emoji:"🐭"},{id:":hamster:",label:"Hamster",emoji:"🐹"},{id:":rabbit_face:",label:"Rabbit face",emoji:"🐰"},{id:":fox:",label:"Fox",emoji:"🦊"},{id:":bear:",label:"Bear",emoji:"🐻"},{id:":panda:",label:"Panda",emoji:"🐼"},{id:":koala:",label:"Koala",emoji:"🐨"},{id:":tiger_face:",label:"Tiger face",emoji:"🐯"},{id:":lion:",label:"Lion",emoji:"🦁"},{id:":cow_face:",label:"Cow face",emoji:"🐮"},{id:":pig_face:",label:"Pig face",emoji:"🐷"},{id:":frog:",label:"Frog",emoji:"🐸"},{id:":monkey_face:",label:"Monkey face",emoji:"🐵"},{id:":see-no-evil_monkey:",label:"See-no-evil monkey",emoji:"🙈"},{id:":hear-no-evil_monkey:",label:"Hear-no-evil monkey",emoji:"🙉"},{id:":speak-no-evil_monkey:",label:"Speak-no-evil monkey",emoji:"🙊"},{id:":monkey:",label:"Monkey",emoji:"🐒"},{id:":chicken:",label:"Chicken",emoji:"🐔"},{id:":penguin:",label:"Penguin",emoji:"🐧"},{id:":bird:",label:"Bird",emoji:"🐦"},{id:":baby_chick:",label:"Baby chick",emoji:"🐤"},{id:":hatching_chick:",label:"Hatching chick",emoji:"🐣"},{id:":front-facing_baby_chick:",label:"Front-facing baby chick",emoji:"🐥"},{id:":duck:",label:"Duck",emoji:"🦆"},{id:":eagle:",label:"Eagle",emoji:"🦅"},{id:":owl:",label:"Owl",emoji:"🦉"},{id:":bat:",label:"Bat",emoji:"🦇"},{id:":wolf:",label:"Wolf",emoji:"🐺"},{id:":boar:",label:"Boar",emoji:"🐗"},{id:":horse_face:",label:"Horse face",emoji:"🐴"},{id:":unicorn:",label:"Unicorn",emoji:"🦄"},{id:":honeybee:",label:"Honeybee",emoji:"🐝"},{id:":bug:",label:"Bug",emoji:"🐛"},{id:":butterfly:",label:"Butterfly",emoji:"🦋"},{id:":snail:",label:"Snail",emoji:"🐌"},{id:":lady_beetle:",label:"Lady beetle",emoji:"🐞"},{id:":ant:",label:"Ant",emoji:"🐜"},{id:":spider:",label:"Spider",emoji:"🕷️"},{id:":spider_web:",label:"Spider web",emoji:"🕸️"},{id:":scorpion:",label:"Scorpion",emoji:"🦂"},{id:":turtle:",label:"Turtle",emoji:"🐢"},{id:":snake:",label:"Snake",emoji:"🐍"},{id:":lizard:",label:"Lizard",emoji:"🦎"},{id:":t-rex:",label:"T-Rex",emoji:"🦖"},{id:":sauropod:",label:"Sauropod",emoji:"🦕"},{id:":octopus:",label:"Octopus",emoji:"🐙"},{id:":squid:",label:"Squid",emoji:"🦑"},{id:":shrimp:",label:"Shrimp",emoji:"🦐"},{id:":lobster:",label:"Lobster",emoji:"🦞"},{id:":crab:",label:"Crab",emoji:"🦀"},{id:":blowfish:",label:"Blowfish",emoji:"🐡"},{id:":tropical_fish:",label:"Tropical fish",emoji:"🐠"},{id:":fish:",label:"Fish",emoji:"🐟"},{id:":dolphin:",label:"Dolphin",emoji:"🐬"},{id:":spouting_whale:",label:"Spouting whale",emoji:"🐳"},{id:":whale:",label:"Whale",emoji:"🐋"},{id:":shark:",label:"Shark",emoji:"🦈"},{id:":crocodile:",label:"Crocodile",emoji:"🐊"},{id:":tiger:",label:"Tiger",emoji:"🐅"},{id:":leopard:",label:"Leopard",emoji:"🐆"},{id:":zebra:",label:"Zebra",emoji:"🦓"},{id:":gorilla:",label:"Gorilla",emoji:"🦍"},{id:":orangutan:",label:"Orangutan",emoji:"🦧"},{id:":elephant:",label:"Elephant",emoji:"🐘"},{id:":rhinoceros:",label:"Rhinoceros",emoji:"🦏"},{id:":hippopotamus:",label:"Hippopotamus",emoji:"🦛"},{id:":camel:",label:"Camel",emoji:"🐪"},{id:":two-hump_camel:",label:"Two-hump camel",emoji:"🐫"},{id:":giraffe:",label:"Giraffe",emoji:"🦒"},{id:":kangaroo:",label:"Kangaroo",emoji:"🦘"},{id:":water_buffalo:",label:"Water buffalo",emoji:"🐃"},{id:":ox:",label:"Ox",emoji:"🐂"},{id:":cow:",label:"Cow",emoji:"🐄"},{id:":horse:",label:"Horse",emoji:"🐎"},{id:":pig:",label:"Pig",emoji:"🐖"},{id:":ram:",label:"Ram",emoji:"🐏"},{id:":ewe:",label:"Ewe",emoji:"🐑"},{id:":llama:",label:"Llama",emoji:"🦙"},{id:":goat:",label:"Goat",emoji:"🐐"},{id:":deer:",label:"Deer",emoji:"🦌"},{id:":dog:",label:"Dog",emoji:"🐕"},{id:":poodle:",label:"Poodle",emoji:"🐩"},{id:":cat:",label:"Cat",emoji:"🐈"},{id:":paw_prints:",label:"Paw prints",emoji:"🐾"},{id:":raccoon:",label:"Raccoon",emoji:"🦝"},{id:":badger:",label:"Badger",emoji:"🦡"},{id:":hedgehog:",label:"Hedgehog",emoji:"🦔"},{id:":otter:",label:"Otter",emoji:"🦦"},{id:":skunk:",label:"Skunk",emoji:"🦨"},{id:":beaver:",label:"Beaver",emoji:"🦫"},{id:":bison:",label:"Bison",emoji:"🦬"},{id:":mammoth:",label:"Mammoth",emoji:"🦣"},{id:":sloth:",label:"Sloth",emoji:"🦥"},{id:":polar_bear:",label:"Polar bear",emoji:"🐻❄️"},{id:":black_cat:",label:"Black cat",emoji:"🐈⬛"},{id:":guide_dog:",label:"Guide dog",emoji:"🦮"},{id:":service_dog:",label:"Service dog",emoji:"🐕🦺"},{id:":rooster:",label:"Rooster",emoji:"🐓"},{id:":turkey:",label:"Turkey",emoji:"🦃"},{id:":dodo:",label:"Dodo",emoji:"🦤"},{id:":feather:",label:"Feather",emoji:"🪶"},{id:":flamingo:",label:"Flamingo",emoji:"🦩"},{id:":peacock:",label:"Peacock",emoji:"🦚"},{id:":parrot:",label:"Parrot",emoji:"🦜"},{id:":swan:",label:"Swan",emoji:"🦢"},{id:":goose:",label:"Goose",emoji:"🪿"},{id:":seal:",label:"Seal",emoji:"🦭"},{id:":jellyfish:",label:"Jellyfish",emoji:"🪼"},{id:":coral:",label:"Coral",emoji:"🪸"},{id:":fly:",label:"Fly",emoji:"🪰"},{id:":mosquito:",label:"Mosquito",emoji:"🦟"},{id:":cockroach:",label:"Cockroach",emoji:"🪳"},{id:":beetle:",label:"Beetle",emoji:"🪲"},{id:":cricket:",label:"Cricket",emoji:"🦗"},{id:":worm:",label:"Worm",emoji:"🪱"},{id:":microbe:",label:"Microbe",emoji:"🦠"},{id:":nest_with_eggs:",label:"Nest with eggs",emoji:"🪺"},{id:":empty_nest:",label:"Empty nest",emoji:"🪹"},{id:":wing:",label:"Wing",emoji:"🪽"},{id:":seedling:",label:"Seedling",emoji:"🌱"},{id:":herb:",label:"Herb",emoji:"🌿"},{id:":shamrock:",label:"Shamrock",emoji:"☘️"},{id:":four_leaf_clover:",label:"Four leaf clover",emoji:"🍀"},{id:":evergreen_tree:",label:"Evergreen tree",emoji:"🌲"},{id:":deciduous_tree:",label:"Deciduous tree",emoji:"🌳"},{id:":palm_tree:",label:"Palm tree",emoji:"🌴"},{id:":cactus:",label:"Cactus",emoji:"🌵"},{id:":tulip:",label:"Tulip",emoji:"🌷"},{id:":cherry_blossom:",label:"Cherry blossom",emoji:"🌸"},{id:":rose:",label:"Rose",emoji:"🌹"},{id:":hibiscus:",label:"Hibiscus",emoji:"🌺"},{id:":sunflower:",label:"Sunflower",emoji:"🌻"},{id:":blossom:",label:"Blossom",emoji:"🌼"},{id:":bouquet:",label:"Bouquet",emoji:"💐"},{id:":mushroom:",label:"Mushroom",emoji:"🍄"},{id:":maple_leaf:",label:"Maple leaf",emoji:"🍁"},{id:":fallen_leaves:",label:"Fallen leaves",emoji:"🍂"},{id:":leaf_fluttering_in_wind:",label:"Leaf fluttering in wind",emoji:"🍃"}],food:[{id:":grapes:",label:"Grapes",emoji:"🍇"},{id:":melon:",label:"Melon",emoji:"🍈"},{id:":watermelon:",label:"Watermelon",emoji:"🍉"},{id:":tangerine:",label:"Tangerine",emoji:"🍊"},{id:":lemon:",label:"Lemon",emoji:"🍋"},{id:":banana:",label:"Banana",emoji:"🍌"},{id:":pineapple:",label:"Pineapple",emoji:"🍍"},{id:":mango:",label:"Mango",emoji:"🥭"},{id:":red_apple:",label:"Red apple",emoji:"🍎"},{id:":green_apple:",label:"Green apple",emoji:"🍏"},{id:":pear:",label:"Pear",emoji:"🍐"},{id:":peach:",label:"Peach",emoji:"🍑"},{id:":cherries:",label:"Cherries",emoji:"🍒"},{id:":strawberry:",label:"Strawberry",emoji:"🍓"},{id:":blueberries:",label:"Blueberries",emoji:"🫐"},{id:":kiwi_fruit:",label:"Kiwi fruit",emoji:"🥝"},{id:":coconut:",label:"Coconut",emoji:"🥥"},{id:":tomato:",label:"Tomato",emoji:"🍅"},{id:":avocado:",label:"Avocado",emoji:"🥑"},{id:":eggplant:",label:"Eggplant",emoji:"🍆"},{id:":potato:",label:"Potato",emoji:"🥔"},{id:":carrot:",label:"Carrot",emoji:"🥕"},{id:":corn:",label:"Corn",emoji:"🌽"},{id:":hot_pepper:",label:"Hot pepper",emoji:"🌶️"},{id:":cucumber:",label:"Cucumber",emoji:"🥒"},{id:":leafy_greens:",label:"Leafy greens",emoji:"🥬"},{id:":broccoli:",label:"Broccoli",emoji:"🥦"},{id:":garlic:",label:"Garlic",emoji:"🧄"},{id:":onion:",label:"Onion",emoji:"🧅"},{id:":bell_pepper:",label:"Bell pepper",emoji:"🫑"},{id:":olive:",label:"Olive",emoji:"🫒"},{id:":ginger_root:",label:"Ginger root",emoji:"🫚"},{id:":pea_pod:",label:"Pea pod",emoji:"🫛"},{id:":beans:",label:"Beans",emoji:"🫘"},{id:":peanuts:",label:"Peanuts",emoji:"🥜"},{id:":chestnut:",label:"Chestnut",emoji:"🌰"},{id:":bread:",label:"Bread",emoji:"🍞"},{id:":croissant:",label:"Croissant",emoji:"🥐"},{id:":baguette_bread:",label:"Baguette bread",emoji:"🥖"},{id:":pretzel:",label:"Pretzel",emoji:"🥨"},{id:":bagel:",label:"Bagel",emoji:"🥯"},{id:":flatbread:",label:"Flatbread",emoji:"🫓"},{id:":pancakes:",label:"Pancakes",emoji:"🥞"},{id:":waffle:",label:"Waffle",emoji:"🧇"},{id:":cheese_wedge:",label:"Cheese wedge",emoji:"🧀"},{id:":meat_on_bone:",label:"Meat on bone",emoji:"🍖"},{id:":poultry_leg:",label:"Poultry leg",emoji:"🍗"},{id:":cut_of_meat:",label:"Cut of meat",emoji:"🥩"},{id:":bacon:",label:"Bacon",emoji:"🥓"},{id:":hamburger:",label:"Hamburger",emoji:"🍔"},{id:":french_fries:",label:"French fries",emoji:"🍟"},{id:":pizza:",label:"Pizza",emoji:"🍕"},{id:":hot_dog:",label:"Hot dog",emoji:"🌭"},{id:":sandwich:",label:"Sandwich",emoji:"🥪"},{id:":taco:",label:"Taco",emoji:"🌮"},{id:":burrito:",label:"Burrito",emoji:"🌯"},{id:":tamale:",label:"Tamale",emoji:"🫔"},{id:":stuffed_flatbread:",label:"Stuffed flatbread",emoji:"🥙"},{id:":falafel:",label:"Falafel",emoji:"🧆"},{id:":egg:",label:"Egg",emoji:"🥚"},{id:":cooking:",label:"Cooking",emoji:"🍳"},{id:":shallow_pan_of_food:",label:"Shallow pan of food",emoji:"🥘"},{id:":pot_of_food:",label:"Pot of food",emoji:"🍲"},{id:":fondue:",label:"Fondue",emoji:"🫕"},{id:":bowl_with_spoon:",label:"Bowl with spoon",emoji:"🥣"},{id:":green_salad:",label:"Green salad",emoji:"🥗"},{id:":popcorn:",label:"Popcorn",emoji:"🍿"},{id:":butter:",label:"Butter",emoji:"🧈"},{id:":salt:",label:"Salt",emoji:"🧂"},{id:":canned_food:",label:"Canned food",emoji:"🥫"},{id:":bento_box:",label:"Bento box",emoji:"🍱"},{id:":rice_cracker:",label:"Rice cracker",emoji:"🍘"},{id:":rice_ball:",label:"Rice ball",emoji:"🍙"},{id:":cooked_rice:",label:"Cooked rice",emoji:"🍚"},{id:":curry_rice:",label:"Curry rice",emoji:"🍛"},{id:":steaming_bowl:",label:"Steaming bowl",emoji:"🍜"},{id:":spaghetti:",label:"Spaghetti",emoji:"🍝"},{id:":roasted_sweet_potato:",label:"Roasted sweet potato",emoji:"🍠"},{id:":oden:",label:"Oden",emoji:"🍢"},{id:":sushi:",label:"Sushi",emoji:"🍣"},{id:":fried_shrimp:",label:"Fried shrimp",emoji:"🍤"},{id:":fish_cake_with_swirl:",label:"Fish cake with swirl",emoji:"🍥"},{id:":dumpling:",label:"Dumpling",emoji:"🥟"},{id:":fortune_cookie:",label:"Fortune cookie",emoji:"🥠"},{id:":takeout_box:",label:"Takeout box",emoji:"🥡"},{id:":soft_ice_cream:",label:"Soft ice cream",emoji:"🍦"},{id:":shaved_ice:",label:"Shaved ice",emoji:"🍧"},{id:":ice_cream:",label:"Ice cream",emoji:"🍨"},{id:":doughnut:",label:"Doughnut",emoji:"🍩"},{id:":cookie:",label:"Cookie",emoji:"🍪"},{id:":birthday_cake:",label:"Birthday cake",emoji:"🎂"},{id:":shortcake:",label:"Shortcake",emoji:"🍰"},{id:":cupcake:",label:"Cupcake",emoji:"🧁"},{id:":pie:",label:"Pie",emoji:"🥧"},{id:":chocolate_bar:",label:"Chocolate bar",emoji:"🍫"},{id:":candy:",label:"Candy",emoji:"🍬"},{id:":lollipop:",label:"Lollipop",emoji:"🍭"},{id:":custard:",label:"Custard",emoji:"🍮"},{id:":honey_pot:",label:"Honey pot",emoji:"🍯"},{id:":baby_bottle:",label:"Baby bottle",emoji:"🍼"},{id:":glass_of_milk:",label:"Glass of milk",emoji:"🥛"},{id:":hot_beverage:",label:"Hot beverage",emoji:"☕"},{id:":teacup_without_handle:",label:"Teacup without handle",emoji:"🍵"},{id:":sake:",label:"Sake",emoji:"🍶"},{id:":bottle_with_popping_cork:",label:"Bottle with popping cork",emoji:"🍾"},{id:":wine_glass:",label:"Wine glass",emoji:"🍷"},{id:":cocktail_glass:",label:"Cocktail glass",emoji:"🍸"},{id:":tropical_drink:",label:"Tropical drink",emoji:"🍹"},{id:":beer_mug:",label:"Beer mug",emoji:"🍺"},{id:":clinking_beer_mugs:",label:"Clinking beer mugs",emoji:"🍻"},{id:":clinking_glasses:",label:"Clinking glasses",emoji:"🥂"},{id:":tumbler_glass:",label:"Tumbler glass",emoji:"🥃"},{id:":cup_with_straw:",label:"Cup with straw",emoji:"🥤"},{id:":bubble_tea:",label:"Bubble tea",emoji:"🧋"},{id:":beverage_box:",label:"Beverage box",emoji:"🧃"},{id:":mate:",label:"Mate",emoji:"🧉"},{id:":ice:",label:"Ice",emoji:"🧊"}],activity:[{id:":soccer_ball:",label:"Soccer ball",emoji:"⚽"},{id:":basketball:",label:"Basketball",emoji:"🏀"},{id:":american_football:",label:"American football",emoji:"🏈"},{id:":baseball:",label:"Baseball",emoji:"⚾"},{id:":softball:",label:"Softball",emoji:"🥎"},{id:":tennis:",label:"Tennis",emoji:"🎾"},{id:":volleyball:",label:"Volleyball",emoji:"🏐"},{id:":rugby_football:",label:"Rugby football",emoji:"🏉"},{id:":flying_disc:",label:"Flying disc",emoji:"🥏"},{id:":8_ball:",label:"8 ball",emoji:"🎱"},{id:":ping_pong:",label:"Ping pong",emoji:"🏓"},{id:":badminton:",label:"Badminton",emoji:"🏸"},{id:":ice_hockey:",label:"Ice hockey",emoji:"🏒"},{id:":field_hockey:",label:"Field hockey",emoji:"🏑"},{id:":lacrosse:",label:"Lacrosse",emoji:"🥍"},{id:":cricket_game:",label:"Cricket game",emoji:"🏏"},{id:":goal_net:",label:"Goal net",emoji:"🥅"},{id:":flag_in_hole:",label:"Flag in hole",emoji:"⛳"},{id:":bow_and_arrow:",label:"Bow and arrow",emoji:"🏹"},{id:":fishing_pole:",label:"Fishing pole",emoji:"🎣"},{id:":diving_mask:",label:"Diving mask",emoji:"🤿"},{id:":boxing_glove:",label:"Boxing glove",emoji:"🥊"},{id:":martial_arts_uniform:",label:"Martial arts uniform",emoji:"🥋"},{id:":running_shirt:",label:"Running shirt",emoji:"🎽"},{id:":skateboard:",label:"Skateboard",emoji:"🛹"},{id:":sled:",label:"Sled",emoji:"🛷"},{id:":ice_skate:",label:"Ice skate",emoji:"⛸️"},{id:":curling_stone:",label:"Curling stone",emoji:"🥌"},{id:":skis:",label:"Skis",emoji:"🎿"},{id:":skier:",label:"Skier",emoji:"⛷️"},{id:":snowboarder:",label:"Snowboarder",emoji:"🏂"},{id:":person_lifting_weights:",label:"Person lifting weights",emoji:"🏋️"},{id:":people_wrestling:",label:"People wrestling",emoji:"🤼"},{id:":person_cartwheeling:",label:"Person cartwheeling",emoji:"🤸"},{id:":person_bouncing_ball:",label:"Person bouncing ball",emoji:"⛹️"},{id:":person_fencing:",label:"Person fencing",emoji:"🤺"},{id:":person_playing_handball:",label:"Person playing handball",emoji:"🤾"},{id:":person_golfing:",label:"Person golfing",emoji:"🏌️"},{id:":horse_racing:",label:"Horse racing",emoji:"🏇"},{id:":person_in_lotus_position:",label:"Person in lotus position",emoji:"🧘"},{id:":person_surfing:",label:"Person surfing",emoji:"🏄"},{id:":person_swimming:",label:"Person swimming",emoji:"🏊"},{id:":person_playing_water_polo:",label:"Person playing water polo",emoji:"🤽"},{id:":person_rowing_boat:",label:"Person rowing boat",emoji:"🚣"},{id:":person_climbing:",label:"Person climbing",emoji:"🧗"},{id:":person_mountain_biking:",label:"Person mountain biking",emoji:"🚵"},{id:":person_biking:",label:"Person biking",emoji:"🚴"},{id:":trophy:",label:"Trophy",emoji:"🏆"},{id:":1st_place_medal:",label:"1st place medal",emoji:"🥇"},{id:":2nd_place_medal:",label:"2nd place medal",emoji:"🥈"},{id:":3rd_place_medal:",label:"3rd place medal",emoji:"🥉"},{id:":sports_medal:",label:"Sports medal",emoji:"🏅"},{id:":military_medal:",label:"Military medal",emoji:"🎖️"},{id:":rosette:",label:"Rosette",emoji:"🏵️"},{id:":reminder_ribbon:",label:"Reminder ribbon",emoji:"🎗️"},{id:":ticket:",label:"Ticket",emoji:"🎫"},{id:":admission_tickets:",label:"Admission tickets",emoji:"🎟️"},{id:":circus_tent:",label:"Circus tent",emoji:"🎪"},{id:":person_juggling:",label:"Person juggling",emoji:"🤹"},{id:":performing_arts:",label:"Performing arts",emoji:"🎭"},{id:":artist_palette:",label:"Artist palette",emoji:"🎨"},{id:":clapper_board:",label:"Clapper board",emoji:"🎬"},{id:":microphone:",label:"Microphone",emoji:"🎤"},{id:":headphone:",label:"Headphone",emoji:"🎧"},{id:":musical_score:",label:"Musical score",emoji:"🎼"},{id:":musical_note:",label:"Musical note",emoji:"🎵"},{id:":musical_notes:",label:"Musical notes",emoji:"🎶"},{id:":drum:",label:"Drum",emoji:"🥁"},{id:":musical_keyboard:",label:"Musical keyboard",emoji:"🎹"},{id:":saxophone:",label:"Saxophone",emoji:"🎷"},{id:":trumpet:",label:"Trumpet",emoji:"🎺"},{id:":guitar:",label:"Guitar",emoji:"🎸"},{id:":violin:",label:"Violin",emoji:"🎻"},{id:":game_die:",label:"Game die",emoji:"🎲"},{id:":direct_hit:",label:"Direct hit",emoji:"🎯"},{id:":bowling:",label:"Bowling",emoji:"🎳"},{id:":video_game:",label:"Video game",emoji:"🎮"},{id:":joystick:",label:"Joystick",emoji:"🕹️"},{id:":slot_machine:",label:"Slot machine",emoji:"🎰"},{id:":flower_playing_cards:",label:"Flower playing cards",emoji:"🎴"},{id:":joker:",label:"Joker",emoji:"🃏"},{id:":mahjong_red_dragon:",label:"Mahjong red dragon",emoji:"🀄"}],travel:[{id:":globe_showing_europe-africa:",label:"Globe showing Europe-Africa",emoji:"🌍"},{id:":globe_showing_americas:",label:"Globe showing Americas",emoji:"🌎"},{id:":globe_showing_asia-australia:",label:"Globe showing Asia-Australia",emoji:"🌏"},{id:":globe_with_meridians:",label:"Globe with meridians",emoji:"🌐"},{id:":world_map:",label:"World map",emoji:"🗺️"},{id:":compass:",label:"Compass",emoji:"🧭"},{id:":snow-capped_mountain:",label:"Snow-capped mountain",emoji:"🏔️"},{id:":mountain:",label:"Mountain",emoji:"⛰️"},{id:":volcano:",label:"Volcano",emoji:"🌋"},{id:":mount_fuji:",label:"Mount Fuji",emoji:"🗻"},{id:":camping:",label:"Camping",emoji:"🏕️"},{id:":beach_with_umbrella:",label:"Beach with umbrella",emoji:"🏖️"},{id:":desert:",label:"Desert",emoji:"🏜️"},{id:":desert_island:",label:"Desert island",emoji:"🏝️"},{id:":national_park:",label:"National park",emoji:"🏞️"},{id:":stadium:",label:"Stadium",emoji:"🏟️"},{id:":classical_building:",label:"Classical building",emoji:"🏛️"},{id:":building_construction:",label:"Building construction",emoji:"🏗️"},{id:":houses:",label:"Houses",emoji:"🏘️"},{id:":derelict_house:",label:"Derelict house",emoji:"🏚️"},{id:":house:",label:"House",emoji:"🏠"},{id:":house_with_garden:",label:"House with garden",emoji:"🏡"},{id:":office_building:",label:"Office building",emoji:"🏢"},{id:":japanese_post_office:",label:"Japanese post office",emoji:"🏣"},{id:":post_office:",label:"Post office",emoji:"🏤"},{id:":hospital:",label:"Hospital",emoji:"🏥"},{id:":bank:",label:"Bank",emoji:"🏦"},{id:":hotel:",label:"Hotel",emoji:"🏨"},{id:":love_hotel:",label:"Love hotel",emoji:"🏩"},{id:":convenience_store:",label:"Convenience store",emoji:"🏪"},{id:":school:",label:"School",emoji:"🏫"},{id:":department_store:",label:"Department store",emoji:"🏬"},{id:":factory:",label:"Factory",emoji:"🏭"},{id:":japanese_castle:",label:"Japanese castle",emoji:"🏯"},{id:":castle:",label:"Castle",emoji:"🏰"},{id:":wedding:",label:"Wedding",emoji:"💒"},{id:":tokyo_tower:",label:"Tokyo tower",emoji:"🗼"},{id:":statue_of_liberty:",label:"Statue of Liberty",emoji:"🗽"},{id:":church:",label:"Church",emoji:"⛪"},{id:":mosque:",label:"Mosque",emoji:"🕌"},{id:":hindu_temple:",label:"Hindu temple",emoji:"🛕"},{id:":synagogue:",label:"Synagogue",emoji:"🕍"},{id:":shinto_shrine:",label:"Shinto shrine",emoji:"⛩️"},{id:":kaaba:",label:"Kaaba",emoji:"🕋"},{id:":fountain:",label:"Fountain",emoji:"⛲"},{id:":tent:",label:"Tent",emoji:"⛺"},{id:":foggy:",label:"Foggy",emoji:"🌁"},{id:":night_with_stars:",label:"Night with stars",emoji:"🌃"},{id:":cityscape:",label:"Cityscape",emoji:"🏙️"},{id:":sunrise_over_mountains:",label:"Sunrise over mountains",emoji:"🌄"},{id:":sunrise:",label:"Sunrise",emoji:"🌅"},{id:":cityscape_at_dusk:",label:"Cityscape at dusk",emoji:"🌆"},{id:":sunset:",label:"Sunset",emoji:"🌇"},{id:":bridge_at_night:",label:"Bridge at night",emoji:"🌉"},{id:":hot_springs:",label:"Hot springs",emoji:"♨️"},{id:":carousel_horse:",label:"Carousel horse",emoji:"🎠"},{id:":ferris_wheel:",label:"Ferris wheel",emoji:"🎡"},{id:":roller_coaster:",label:"Roller coaster",emoji:"🎢"},{id:":barber_pole:",label:"Barber pole",emoji:"💈"},{id:":circus_tent_travel:",label:"Circus tent",emoji:"🎪"},{id:":locomotive:",label:"Locomotive",emoji:"🚂"},{id:":railway_car:",label:"Railway car",emoji:"🚃"},{id:":high-speed_train:",label:"High-speed train",emoji:"🚄"},{id:":bullet_train:",label:"Bullet train",emoji:"🚅"},{id:":train:",label:"Train",emoji:"🚆"},{id:":metro:",label:"Metro",emoji:"🚇"},{id:":light_rail:",label:"Light rail",emoji:"🚈"},{id:":station:",label:"Station",emoji:"🚉"},{id:":tram:",label:"Tram",emoji:"🚊"},{id:":monorail:",label:"Monorail",emoji:"🚝"},{id:":mountain_railway:",label:"Mountain railway",emoji:"🚞"},{id:":tram_car:",label:"Tram car",emoji:"🚋"},{id:":bus:",label:"Bus",emoji:"🚌"},{id:":oncoming_bus:",label:"Oncoming bus",emoji:"🚍"},{id:":trolleybus:",label:"Trolleybus",emoji:"🚎"},{id:":minibus:",label:"Minibus",emoji:"🚐"},{id:":ambulance:",label:"Ambulance",emoji:"🚑"},{id:":fire_engine:",label:"Fire engine",emoji:"🚒"},{id:":police_car:",label:"Police car",emoji:"🚓"},{id:":oncoming_police_car:",label:"Oncoming police car",emoji:"🚔"},{id:":taxi:",label:"Taxi",emoji:"🚕"},{id:":oncoming_taxi:",label:"Oncoming taxi",emoji:"🚖"},{id:":automobile:",label:"Automobile",emoji:"🚗"},{id:":oncoming_automobile:",label:"Oncoming automobile",emoji:"🚘"},{id:":sport_utility_vehicle:",label:"Sport utility vehicle",emoji:"🚙"},{id:":delivery_truck:",label:"Delivery truck",emoji:"🚚"},{id:":articulated_lorry:",label:"Articulated lorry",emoji:"🚛"},{id:":tractor:",label:"Tractor",emoji:"🚜"},{id:":racing_car:",label:"Racing car",emoji:"🏎️"},{id:":motorcycle:",label:"Motorcycle",emoji:"🏍️"},{id:":kick_scooter:",label:"Kick scooter",emoji:"🛴"},{id:":bicycle:",label:"Bicycle",emoji:"🚲"},{id:":auto_rickshaw:",label:"Auto rickshaw",emoji:"🛺"},{id:":helicopter:",label:"Helicopter",emoji:"🚁"},{id:":satellite:",label:"Satellite",emoji:"🛰️"},{id:":rocket:",label:"Rocket",emoji:"🚀"},{id:":flying_saucer:",label:"Flying saucer",emoji:"🛸"},{id:":canoe:",label:"Canoe",emoji:"🛶"},{id:":sailboat:",label:"Sailboat",emoji:"⛵"},{id:":speedboat:",label:"Speedboat",emoji:"🚤"},{id:":ship:",label:"Ship",emoji:"🚢"},{id:":airplane:",label:"Airplane",emoji:"✈️"},{id:":small_airplane:",label:"Small airplane",emoji:"🛩️"},{id:":airplane_departure:",label:"Airplane departure",emoji:"🛫"},{id:":airplane_arrival:",label:"Airplane arrival",emoji:"🛬"},{id:":seat:",label:"Seat",emoji:"💺"},{id:":police_car_light:",label:"Police car light",emoji:"🚨"},{id:":horizontal_traffic_light:",label:"Horizontal traffic light",emoji:"🚥"},{id:":vertical_traffic_light:",label:"Vertical traffic light",emoji:"🚦"},{id:":stop_sign:",label:"Stop sign",emoji:"🛑"},{id:":construction:",label:"Construction",emoji:"🚧"}],objects:[{id:":watch:",label:"Watch",emoji:"⌚"},{id:":mobile_phone:",label:"Mobile phone",emoji:"📱"},{id:":mobile_phone_with_arrow:",label:"Mobile phone with arrow",emoji:"📲"},{id:":laptop:",label:"Laptop",emoji:"💻"},{id:":keyboard:",label:"Keyboard",emoji:"⌨️"},{id:":desktop_computer:",label:"Desktop computer",emoji:"🖥️"},{id:":printer:",label:"Printer",emoji:"🖨️"},{id:":computer_mouse:",label:"Computer mouse",emoji:"🖱️"},{id:":trackball:",label:"Trackball",emoji:"🖲️"},{id:":joystick_obj:",label:"Joystick",emoji:"🕹️"},{id:":computer_disk:",label:"Computer disk",emoji:"💽"},{id:":floppy_disk:",label:"Floppy disk",emoji:"💾"},{id:":optical_disk:",label:"Optical disk",emoji:"💿"},{id:":dvd:",label:"DVD",emoji:"📀"},{id:":videocassette:",label:"Videocassette",emoji:"📼"},{id:":camera:",label:"Camera",emoji:"📷"},{id:":camera_with_flash:",label:"Camera with flash",emoji:"📸"},{id:":video_camera:",label:"Video camera",emoji:"📹"},{id:":movie_camera:",label:"Movie camera",emoji:"🎥"},{id:":film_projector:",label:"Film projector",emoji:"📽️"},{id:":film_strip:",label:"Film strip",emoji:"🎞️"},{id:":telephone_receiver:",label:"Telephone receiver",emoji:"📞"},{id:":telephone:",label:"Telephone",emoji:"☎️"},{id:":pager:",label:"Pager",emoji:"📟"},{id:":fax_machine:",label:"Fax machine",emoji:"📠"},{id:":television:",label:"Television",emoji:"📺"},{id:":radio:",label:"Radio",emoji:"📻"},{id:":studio_microphone:",label:"Studio microphone",emoji:"🎙️"},{id:":level_slider:",label:"Level slider",emoji:"🎚️"},{id:":control_knobs:",label:"Control knobs",emoji:"🎛️"},{id:":stopwatch:",label:"Stopwatch",emoji:"⏱️"},{id:":timer_clock:",label:"Timer clock",emoji:"⏲️"},{id:":alarm_clock:",label:"Alarm clock",emoji:"⏰"},{id:":mantelpiece_clock:",label:"Mantelpiece clock",emoji:"🕰️"},{id:":hourglass_done:",label:"Hourglass done",emoji:"⌛"},{id:":hourglass_not_done:",label:"Hourglass not done",emoji:"⏳"},{id:":satellite_antenna:",label:"Satellite antenna",emoji:"📡"},{id:":battery:",label:"Battery",emoji:"🔋"},{id:":electric_plug:",label:"Electric plug",emoji:"🔌"},{id:":light_bulb:",label:"Light bulb",emoji:"💡"},{id:":flashlight:",label:"Flashlight",emoji:"🔦"},{id:":candle:",label:"Candle",emoji:"🕯️"},{id:":fire_extinguisher:",label:"Fire extinguisher",emoji:"🧯"},{id:":oil_drum:",label:"Oil drum",emoji:"🛢️"},{id:":money_with_wings:",label:"Money with wings",emoji:"💸"},{id:":dollar_banknote:",label:"Dollar banknote",emoji:"💵"},{id:":yen_banknote:",label:"Yen banknote",emoji:"💴"},{id:":euro_banknote:",label:"Euro banknote",emoji:"💶"},{id:":pound_banknote:",label:"Pound banknote",emoji:"💷"},{id:":money_bag:",label:"Money bag",emoji:"💰"},{id:":credit_card:",label:"Credit card",emoji:"💳"},{id:":gem_stone:",label:"Gem stone",emoji:"💎"},{id:":balance_scale:",label:"Balance scale",emoji:"⚖️"},{id:":toolbox:",label:"Toolbox",emoji:"🧰"},{id:":wrench:",label:"Wrench",emoji:"🔧"},{id:":hammer:",label:"Hammer",emoji:"🔨"},{id:":hammer_and_pick:",label:"Hammer and pick",emoji:"⚒️"},{id:":hammer_and_wrench:",label:"Hammer and wrench",emoji:"🛠️"},{id:":pick:",label:"Pick",emoji:"⛏️"},{id:":nut_and_bolt:",label:"Nut and bolt",emoji:"🔩"},{id:":gear:",label:"Gear",emoji:"⚙️"},{id:":brick:",label:"Brick",emoji:"🧱"},{id:":chains:",label:"Chains",emoji:"⛓️"},{id:":magnet:",label:"Magnet",emoji:"🧲"},{id:":water_pistol:",label:"Water pistol",emoji:"🔫"},{id:":bomb:",label:"Bomb",emoji:"💣"},{id:":firecracker:",label:"Firecracker",emoji:"🧨"},{id:":kitchen_knife:",label:"Kitchen knife",emoji:"🔪"},{id:":dagger:",label:"Dagger",emoji:"🗡️"},{id:":crossed_swords:",label:"Crossed swords",emoji:"⚔️"},{id:":shield:",label:"Shield",emoji:"🛡️"},{id:":cigarette:",label:"Cigarette",emoji:"🚬"},{id:":coffin:",label:"Coffin",emoji:"⚰️"},{id:":funeral_urn:",label:"Funeral urn",emoji:"⚱️"},{id:":amphora:",label:"Amphora",emoji:"🏺"},{id:":crystal_ball:",label:"Crystal ball",emoji:"🔮"},{id:":prayer_beads:",label:"Prayer beads",emoji:"📿"},{id:":nazar_amulet:",label:"Nazar amulet",emoji:"🧿"},{id:":barber_pole_obj:",label:"Barber pole",emoji:"💈"},{id:":alembic:",label:"Alembic",emoji:"⚗️"},{id:":telescope:",label:"Telescope",emoji:"🔭"},{id:":microscope:",label:"Microscope",emoji:"🔬"},{id:":hole:",label:"Hole",emoji:"🕳️"},{id:":pill:",label:"Pill",emoji:"💊"},{id:":syringe:",label:"Syringe",emoji:"💉"},{id:":thermometer:",label:"Thermometer",emoji:"🌡️"},{id:":broom:",label:"Broom",emoji:"🧹"},{id:":basket:",label:"Basket",emoji:"🧺"},{id:":roll_of_paper:",label:"Roll of paper",emoji:"🧻"},{id:":toilet:",label:"Toilet",emoji:"🚽"},{id:":shower:",label:"Shower",emoji:"🚿"},{id:":bathtub:",label:"Bathtub",emoji:"🛁"},{id:":lotion_bottle:",label:"Lotion bottle",emoji:"🧴"},{id:":safety_pin:",label:"Safety pin",emoji:"🧷"},{id:":teddy_bear:",label:"Teddy bear",emoji:"🧸"},{id:":framed_picture:",label:"Framed picture",emoji:"🖼️"},{id:":bed:",label:"Bed",emoji:"🛏️"},{id:":couch_and_lamp:",label:"Couch and lamp",emoji:"🛋️"},{id:":door:",label:"Door",emoji:"🚪"},{id:":luggage:",label:"Luggage",emoji:"🧳"},{id:":umbrella_on_ground:",label:"Umbrella on ground",emoji:"⛱️"},{id:":backpack:",label:"Backpack",emoji:"🎒"},{id:":clutch_bag:",label:"Clutch bag",emoji:"👝"},{id:":purse:",label:"Purse",emoji:"👛"},{id:":handbag:",label:"Handbag",emoji:"👜"},{id:":briefcase:",label:"Briefcase",emoji:"💼"},{id:":coat:",label:"Coat",emoji:"🧥"},{id:":necktie:",label:"Necktie",emoji:"👔"},{id:":t-shirt:",label:"T-shirt",emoji:"👕"},{id:":jeans:",label:"Jeans",emoji:"👖"},{id:":scarf:",label:"Scarf",emoji:"🧣"},{id:":gloves:",label:"Gloves",emoji:"🧤"},{id:":socks:",label:"Socks",emoji:"🧦"},{id:":dress:",label:"Dress",emoji:"👗"},{id:":kimono:",label:"Kimono",emoji:"👘"},{id:":bikini:",label:"Bikini",emoji:"👙"},{id:":womans_clothes:",label:"Womans clothes",emoji:"👚"},{id:":mans_shoe:",label:"Mans shoe",emoji:"👞"},{id:":running_shoe:",label:"Running shoe",emoji:"👟"},{id:":high-heeled_shoe:",label:"High-heeled shoe",emoji:"👠"},{id:":sandal:",label:"Sandal",emoji:"👡"},{id:":boot:",label:"Boot",emoji:"👢"},{id:":crown:",label:"Crown",emoji:"👑"},{id:":hat:",label:"Hat",emoji:"👒"},{id:":top_hat:",label:"Top hat",emoji:"🎩"},{id:":graduation_cap:",label:"Graduation cap",emoji:"🎓"},{id:":baseball_cap:",label:"Baseball cap",emoji:"🧢"},{id:":rescue_workers_helmet:",label:"Rescue workers helmet",emoji:"⛑️"},{id:":lipstick:",label:"Lipstick",emoji:"💄"},{id:":ring:",label:"Ring",emoji:"💍"},{id:":pencil:",label:"Pencil",emoji:"✏️"},{id:":black_nib:",label:"Black nib",emoji:"✒️"},{id:":fountain_pen:",label:"Fountain pen",emoji:"🖋️"},{id:":pen:",label:"Pen",emoji:"🖊️"},{id:":paintbrush:",label:"Paintbrush",emoji:"🖌️"},{id:":crayon:",label:"Crayon",emoji:"🖍️"},{id:":memo:",label:"Memo",emoji:"📝"},{id:":file_folder:",label:"File folder",emoji:"📁"},{id:":open_file_folder:",label:"Open file folder",emoji:"📂"},{id:":card_index_dividers:",label:"Card index dividers",emoji:"🗂️"},{id:":calendar:",label:"Calendar",emoji:"📅"},{id:":tear-off_calendar:",label:"Tear-off calendar",emoji:"📆"},{id:":spiral_notepad:",label:"Spiral notepad",emoji:"🗒️"},{id:":spiral_calendar:",label:"Spiral calendar",emoji:"🗓️"},{id:":card_index:",label:"Card index",emoji:"📇"},{id:":chart_increasing:",label:"Chart increasing",emoji:"📈"},{id:":chart_decreasing:",label:"Chart decreasing",emoji:"📉"},{id:":bar_chart:",label:"Bar chart",emoji:"📊"},{id:":clipboard:",label:"Clipboard",emoji:"📋"},{id:":pushpin:",label:"Pushpin",emoji:"📌"},{id:":round_pushpin:",label:"Round pushpin",emoji:"📍"},{id:":paperclip:",label:"Paperclip",emoji:"📎"},{id:":linked_paperclips:",label:"Linked paperclips",emoji:"🖇️"},{id:":straight_ruler:",label:"Straight ruler",emoji:"📏"},{id:":triangular_ruler:",label:"Triangular ruler",emoji:"📐"},{id:":scissors:",label:"Scissors",emoji:"✂️"},{id:":card_file_box:",label:"Card file box",emoji:"🗃️"},{id:":file_cabinet:",label:"File cabinet",emoji:"🗄️"},{id:":wastebasket:",label:"Wastebasket",emoji:"🗑️"},{id:":closed_book:",label:"Closed book",emoji:"📕"},{id:":open_book:",label:"Open book",emoji:"📖"},{id:":green_book:",label:"Green book",emoji:"📗"},{id:":blue_book:",label:"Blue book",emoji:"📘"},{id:":orange_book:",label:"Orange book",emoji:"📙"},{id:":books:",label:"Books",emoji:"📚"},{id:":notebook:",label:"Notebook",emoji:"📓"},{id:":ledger:",label:"Ledger",emoji:"📒"},{id:":notebook_with_decorative_cover:",label:"Notebook with decorative cover",emoji:"📔"},{id:":page_with_curl:",label:"Page with curl",emoji:"📃"},{id:":scroll:",label:"Scroll",emoji:"📜"},{id:":page_facing_up:",label:"Page facing up",emoji:"📄"},{id:":newspaper:",label:"Newspaper",emoji:"📰"},{id:":rolled-up_newspaper:",label:"Rolled-up newspaper",emoji:"🗞️"},{id:":bookmark_tabs:",label:"Bookmark tabs",emoji:"📑"},{id:":bookmark:",label:"Bookmark",emoji:"🔖"},{id:":label:",label:"Label",emoji:"🏷️"},{id:":envelope:",label:"Envelope",emoji:"✉️"},{id:":e-mail:",label:"E-mail",emoji:"📧"},{id:":incoming_envelope:",label:"Incoming envelope",emoji:"📨"},{id:":envelope_with_arrow:",label:"Envelope with arrow",emoji:"📩"},{id:":outbox_tray:",label:"Outbox tray",emoji:"📤"},{id:":inbox_tray:",label:"Inbox tray",emoji:"📥"},{id:":package:",label:"Package",emoji:"📦"},{id:":mailbox_closed:",label:"Closed mailbox with raised flag",emoji:"📫"},{id:":mailbox:",label:"Closed mailbox with lowered flag",emoji:"📪"},{id:":mailbox_with_mail:",label:"Open mailbox with raised flag",emoji:"📬"},{id:":mailbox_with_no_mail:",label:"Open mailbox with lowered flag",emoji:"📭"},{id:":postbox:",label:"Postbox",emoji:"📮"},{id:":ballot_box_with_ballot:",label:"Ballot box with ballot",emoji:"🗳️"},{id:":locked:",label:"Locked",emoji:"🔒"},{id:":unlocked:",label:"Unlocked",emoji:"🔓"},{id:":locked_with_pen:",label:"Locked with pen",emoji:"🔏"},{id:":locked_with_key:",label:"Locked with key",emoji:"🔐"},{id:":key:",label:"Key",emoji:"🔑"},{id:":old_key:",label:"Old key",emoji:"🗝️"},{id:":magnifying_glass_tilted_left:",label:"Magnifying glass tilted left",emoji:"🔍"},{id:":magnifying_glass_tilted_right:",label:"Magnifying glass tilted right",emoji:"🔎"},{id:":link:",label:"Link",emoji:"🔗"}],symbols:[{id:":sun:",label:"Sun",emoji:"☀️"},{id:":sun_with_face:",label:"Sun with face",emoji:"🌞"},{id:":full_moon:",label:"Full moon",emoji:"🌕"},{id:":waning_gibbous_moon:",label:"Waning gibbous moon",emoji:"🌖"},{id:":last_quarter_moon:",label:"Last quarter moon",emoji:"🌗"},{id:":waning_crescent_moon:",label:"Waning crescent moon",emoji:"🌘"},{id:":new_moon:",label:"New moon",emoji:"🌑"},{id:":waxing_crescent_moon:",label:"Waxing crescent moon",emoji:"🌒"},{id:":first_quarter_moon:",label:"First quarter moon",emoji:"🌓"},{id:":waxing_gibbous_moon:",label:"Waxing gibbous moon",emoji:"🌔"},{id:":crescent_moon:",label:"Crescent moon",emoji:"🌙"},{id:":new_moon_face:",label:"New moon face",emoji:"🌚"},{id:":first_quarter_moon_face:",label:"First quarter moon face",emoji:"🌛"},{id:":last_quarter_moon_face:",label:"Last quarter moon face",emoji:"🌜"},{id:":full_moon_face:",label:"Full moon face",emoji:"🌝"},{id:":ringed_planet:",label:"Ringed planet",emoji:"🪐"},{id:":fire:",label:"Fire",emoji:"🔥"},{id:":droplet:",label:"Droplet",emoji:"💧"},{id:":water_wave:",label:"Water wave",emoji:"🌊"},{id:":sparkles:",label:"Sparkles",emoji:"✨"},{id:":rainbow:",label:"Rainbow",emoji:"🌈"},{id:":high_voltage:",label:"High voltage",emoji:"⚡"},{id:":snowflake:",label:"Snowflake",emoji:"❄️"},{id:":snowman:",label:"Snowman",emoji:"☃️"},{id:":snowman_without_snow:",label:"Snowman without snow",emoji:"⛄"},{id:":cloud:",label:"Cloud",emoji:"☁️"},{id:":sun_behind_cloud:",label:"Sun behind cloud",emoji:"⛅"},{id:":sun_behind_small_cloud:",label:"Sun behind small cloud",emoji:"🌤️"},{id:":sun_behind_large_cloud:",label:"Sun behind large cloud",emoji:"🌥️"},{id:":sun_behind_rain_cloud:",label:"Sun behind rain cloud",emoji:"🌦️"},{id:":cloud_with_rain:",label:"Cloud with rain",emoji:"🌧️"},{id:":cloud_with_snow:",label:"Cloud with snow",emoji:"🌨️"},{id:":cloud_with_lightning:",label:"Cloud with lightning",emoji:"🌩️"},{id:":cloud_with_lightning_and_rain:",label:"Cloud with lightning and rain",emoji:"⛈️"},{id:":tornado:",label:"Tornado",emoji:"🌪️"},{id:":fog:",label:"Fog",emoji:"🌫️"},{id:":wind_face:",label:"Wind face",emoji:"🌬️"},{id:":cyclone:",label:"Cyclone",emoji:"🌀"},{id:":umbrella:",label:"Umbrella",emoji:"☂️"},{id:":umbrella_with_rain_drops:",label:"Umbrella with rain drops",emoji:"☔"},{id:":closed_umbrella:",label:"Closed umbrella",emoji:"🌂"},{id:":red_heart:",label:"Red heart",emoji:"❤️"},{id:":orange_heart:",label:"Orange heart",emoji:"🧡"},{id:":yellow_heart:",label:"Yellow heart",emoji:"💛"},{id:":green_heart:",label:"Green heart",emoji:"💚"},{id:":blue_heart:",label:"Blue heart",emoji:"💙"},{id:":purple_heart:",label:"Purple heart",emoji:"💜"},{id:":black_heart:",label:"Black heart",emoji:"🖤"},{id:":white_heart:",label:"White heart",emoji:"🤍"},{id:":brown_heart:",label:"Brown heart",emoji:"🤎"},{id:":pink_heart:",label:"Pink heart",emoji:"🩷"},{id:":light_blue_heart:",label:"Light blue heart",emoji:"🩵"},{id:":grey_heart:",label:"Grey heart",emoji:"🩶"},{id:":heart_on_fire:",label:"Heart on fire",emoji:"❤️🔥"},{id:":mending_heart:",label:"Mending heart",emoji:"❤️🩹"},{id:":broken_heart:",label:"Broken heart",emoji:"💔"},{id:":heart_exclamation:",label:"Heart exclamation",emoji:"❣️"},{id:":two_hearts:",label:"Two hearts",emoji:"💕"},{id:":revolving_hearts:",label:"Revolving hearts",emoji:"💞"},{id:":beating_heart:",label:"Beating heart",emoji:"💓"},{id:":growing_heart:",label:"Growing heart",emoji:"💗"},{id:":sparkling_heart:",label:"Sparkling heart",emoji:"💖"},{id:":heart_with_arrow:",label:"Heart with arrow",emoji:"💘"},{id:":heart_with_ribbon:",label:"Heart with ribbon",emoji:"💝"},{id:":heart_decoration:",label:"Heart decoration",emoji:"💟"},{id:":peace_symbol:",label:"Peace symbol",emoji:"☮️"},{id:":latin_cross:",label:"Latin cross",emoji:"✝️"},{id:":star_and_crescent:",label:"Star and crescent",emoji:"☪️"},{id:":om:",label:"Om",emoji:"🕉️"},{id:":wheel_of_dharma:",label:"Wheel of dharma",emoji:"☸️"},{id:":star_of_david:",label:"Star of David",emoji:"✡️"},{id:":dotted_six-pointed_star:",label:"Dotted six-pointed star",emoji:"🔯"},{id:":menorah:",label:"Menorah",emoji:"🕎"},{id:":yin_yang:",label:"Yin yang",emoji:"☯️"},{id:":orthodox_cross:",label:"Orthodox cross",emoji:"☦️"},{id:":place_of_worship:",label:"Place of worship",emoji:"🛐"},{id:":atom_symbol:",label:"Atom symbol",emoji:"⚛️"},{id:":hundred_points:",label:"Hundred points",emoji:"💯"},{id:":red_circle:",label:"Red circle",emoji:"🔴"},{id:":orange_circle:",label:"Orange circle",emoji:"🟠"},{id:":yellow_circle:",label:"Yellow circle",emoji:"🟡"},{id:":green_circle:",label:"Green circle",emoji:"🟢"},{id:":blue_circle:",label:"Blue circle",emoji:"🔵"},{id:":purple_circle:",label:"Purple circle",emoji:"🟣"},{id:":black_circle:",label:"Black circle",emoji:"⚫"},{id:":white_circle:",label:"White circle",emoji:"⚪"},{id:":brown_circle:",label:"Brown circle",emoji:"🟤"},{id:":red_triangle_pointed_up:",label:"Red triangle pointed up",emoji:"🔺"},{id:":red_triangle_pointed_down:",label:"Red triangle pointed down",emoji:"🔻"},{id:":small_orange_diamond:",label:"Small orange diamond",emoji:"🔸"},{id:":small_blue_diamond:",label:"Small blue diamond",emoji:"🔹"},{id:":large_orange_diamond:",label:"Large orange diamond",emoji:"🔶"},{id:":large_blue_diamond:",label:"Large blue diamond",emoji:"🔷"},{id:":white_square_button:",label:"White square button",emoji:"🔳"},{id:":black_square_button:",label:"Black square button",emoji:"🔲"},{id:":black_small_square:",label:"Black small square",emoji:"▪️"},{id:":white_small_square:",label:"White small square",emoji:"▫️"},{id:":black_medium-small_square:",label:"Black medium-small square",emoji:"◾"},{id:":white_medium-small_square:",label:"White medium-small square",emoji:"◽"},{id:":black_medium_square:",label:"Black medium square",emoji:"◼️"},{id:":white_medium_square:",label:"White medium square",emoji:"◻️"},{id:":black_large_square:",label:"Black large square",emoji:"⬛"},{id:":white_large_square:",label:"White large square",emoji:"⬜"},{id:":red_square:",label:"Red square",emoji:"🟥"},{id:":orange_square:",label:"Orange square",emoji:"🟧"},{id:":yellow_square:",label:"Yellow square",emoji:"🟨"},{id:":green_square:",label:"Green square",emoji:"🟩"},{id:":blue_square:",label:"Blue square",emoji:"🟦"},{id:":purple_square:",label:"Purple square",emoji:"🟪"},{id:":brown_square:",label:"Brown square",emoji:"🟫"},{id:":star:",label:"Star",emoji:"⭐"},{id:":glowing_star:",label:"Glowing star",emoji:"🌟"},{id:":dizzy:",label:"Dizzy",emoji:"💫"},{id:":shooting_star:",label:"Shooting star",emoji:"🌠"},{id:":milky_way:",label:"Milky Way",emoji:"🌌"},{id:":comet:",label:"Comet",emoji:"☄️"},{id:":collision:",label:"Collision",emoji:"💥"},{id:":anger_symbol:",label:"Anger symbol",emoji:"💢"},{id:":sweat_droplets:",label:"Sweat droplets",emoji:"💦"},{id:":dashing_away:",label:"Dashing away",emoji:"💨"},{id:":speech_balloon:",label:"Speech balloon",emoji:"💬"},{id:":left_speech_bubble:",label:"Left speech bubble",emoji:"🗨️"},{id:":right_anger_bubble:",label:"Right anger bubble",emoji:"🗯️"},{id:":thought_balloon:",label:"Thought balloon",emoji:"💭"},{id:":zzz:",label:"Zzz",emoji:"💤"},{id:":up_arrow:",label:"Up arrow",emoji:"⬆️"},{id:":up-right_arrow:",label:"Up-right arrow",emoji:"↗️"},{id:":right_arrow:",label:"Right arrow",emoji:"➡️"},{id:":down-right_arrow:",label:"Down-right arrow",emoji:"↘️"},{id:":down_arrow:",label:"Down arrow",emoji:"⬇️"},{id:":down-left_arrow:",label:"Down-left arrow",emoji:"↙️"},{id:":left_arrow:",label:"Left arrow",emoji:"⬅️"},{id:":up-left_arrow:",label:"Up-left arrow",emoji:"↖️"},{id:":up-down_arrow:",label:"Up-down arrow",emoji:"↕️"},{id:":left-right_arrow:",label:"Left-right arrow",emoji:"↔️"},{id:":right_arrow_curving_left:",label:"Right arrow curving left",emoji:"↩️"},{id:":left_arrow_curving_right:",label:"Left arrow curving right",emoji:"↪️"},{id:":right_arrow_curving_up:",label:"Right arrow curving up",emoji:"⤴️"},{id:":right_arrow_curving_down:",label:"Right arrow curving down",emoji:"⤵️"},{id:":clockwise_vertical_arrows:",label:"Clockwise vertical arrows",emoji:"🔃"},{id:":counterclockwise_arrows_button:",label:"Counterclockwise arrows button",emoji:"🔄"},{id:":back_arrow:",label:"Back arrow",emoji:"🔙"},{id:":end_arrow:",label:"End arrow",emoji:"🔚"},{id:":on!_arrow:",label:"On! arrow",emoji:"🔛"},{id:":soon_arrow:",label:"Soon arrow",emoji:"🔜"},{id:":top_arrow:",label:"Top arrow",emoji:"🔝"},{id:":medical_symbol:",label:"Medical symbol",emoji:"⚕️"},{id:":recycling_symbol:",label:"Recycling symbol",emoji:"♻️"},{id:":fleur-de-lis:",label:"Fleur-de-lis",emoji:"⚜️"},{id:":trident_emblem:",label:"Trident emblem",emoji:"🔱"},{id:":name_badge:",label:"Name badge",emoji:"📛"},{id:":japanese_symbol_for_beginner:",label:"Japanese symbol for beginner",emoji:"🔰"},{id:":heavy_large_circle:",label:"Heavy large circle",emoji:"⭕"},{id:":check_mark_button:",label:"Check mark button",emoji:"✅"},{id:":check_box_with_check:",label:"Check box with check",emoji:"☑️"},{id:":check_mark:",label:"Check mark",emoji:"✔️"},{id:":cross_mark:",label:"Cross mark",emoji:"❌"},{id:":cross_mark_button:",label:"Cross mark button",emoji:"❎"},{id:":plus:",label:"Plus",emoji:"➕"},{id:":minus:",label:"Minus",emoji:"➖"},{id:":divide:",label:"Divide",emoji:"➗"},{id:":curly_loop:",label:"Curly loop",emoji:"➰"},{id:":double_curly_loop:",label:"Double curly loop",emoji:"➿"},{id:":part_alternation_mark:",label:"Part alternation mark",emoji:"〽️"},{id:":eight-spoked_asterisk:",label:"Eight-spoked asterisk",emoji:"✳️"},{id:":eight-pointed_star:",label:"Eight-pointed star",emoji:"✴️"},{id:":sparkle:",label:"Sparkle",emoji:"❇️"},{id:":double_exclamation_mark:",label:"Double exclamation mark",emoji:"‼️"},{id:":exclamation_question_mark:",label:"Exclamation question mark",emoji:"⁉️"},{id:":question_mark:",label:"Question mark",emoji:"❓"},{id:":white_question_mark:",label:"White question mark",emoji:"❔"},{id:":white_exclamation_mark:",label:"White exclamation mark",emoji:"❕"},{id:":exclamation_mark:",label:"Exclamation mark",emoji:"❗"},{id:":wavy_dash:",label:"Wavy dash",emoji:"〰️"},{id:":copyright:",label:"Copyright",emoji:"©️"},{id:":registered:",label:"Registered",emoji:"®️"},{id:":trade_mark:",label:"Trade mark",emoji:"™️"},{id:":keycap_hash:",label:"Keycap: #",emoji:"#️⃣"},{id:":keycap_asterisk:",label:"Keycap: *",emoji:"*️⃣"},{id:":keycap_0:",label:"Keycap: 0",emoji:"0️⃣"},{id:":keycap_1:",label:"Keycap: 1",emoji:"1️⃣"},{id:":keycap_2:",label:"Keycap: 2",emoji:"2️⃣"},{id:":keycap_3:",label:"Keycap: 3",emoji:"3️⃣"},{id:":keycap_4:",label:"Keycap: 4",emoji:"4️⃣"},{id:":keycap_5:",label:"Keycap: 5",emoji:"5️⃣"},{id:":keycap_6:",label:"Keycap: 6",emoji:"6️⃣"},{id:":keycap_7:",label:"Keycap: 7",emoji:"7️⃣"},{id:":keycap_8:",label:"Keycap: 8",emoji:"8️⃣"},{id:":keycap_9:",label:"Keycap: 9",emoji:"9️⃣"},{id:":keycap_10:",label:"Keycap: 10",emoji:"🔟"}],flags:[{id:":chequered_flag:",label:"Chequered flag",emoji:"🏁"},{id:":triangular_flag:",label:"Triangular flag",emoji:"🚩"},{id:":crossed_flags:",label:"Crossed flags",emoji:"🎌"},{id:":black_flag:",label:"Black flag",emoji:"🏴"},{id:":white_flag:",label:"White flag",emoji:"🏳️"},{id:":rainbow_flag:",label:"Rainbow flag",emoji:"🏳️🌈"},{id:":transgender_flag:",label:"Transgender flag",emoji:"🏳️⚧️"},{id:":pirate_flag:",label:"Pirate flag",emoji:"🏴☠️"},{id:":united_states:",label:"United States",emoji:"🇺🇸"},{id:":canada:",label:"Canada",emoji:"🇨🇦"},{id:":mexico:",label:"Mexico",emoji:"🇲🇽"},{id:":brazil:",label:"Brazil",emoji:"🇧🇷"},{id:":argentina:",label:"Argentina",emoji:"🇦🇷"},{id:":chile:",label:"Chile",emoji:"🇨🇱"},{id:":france:",label:"France",emoji:"🇫🇷"},{id:":germany:",label:"Germany",emoji:"🇩🇪"},{id:":italy:",label:"Italy",emoji:"🇮🇹"},{id:":spain:",label:"Spain",emoji:"🇪🇸"},{id:":portugal:",label:"Portugal",emoji:"🇵🇹"},{id:":netherlands:",label:"Netherlands",emoji:"🇳🇱"},{id:":belgium:",label:"Belgium",emoji:"🇧🇪"},{id:":switzerland:",label:"Switzerland",emoji:"🇨🇭"},{id:":austria:",label:"Austria",emoji:"🇦🇹"},{id:":sweden:",label:"Sweden",emoji:"🇸🇪"},{id:":norway:",label:"Norway",emoji:"🇳🇴"},{id:":denmark:",label:"Denmark",emoji:"🇩🇰"},{id:":finland:",label:"Finland",emoji:"🇫🇮"},{id:":iceland:",label:"Iceland",emoji:"🇮🇸"},{id:":ireland:",label:"Ireland",emoji:"🇮🇪"},{id:":united_kingdom:",label:"United Kingdom",emoji:"🇬🇧"},{id:":russia:",label:"Russia",emoji:"🇷🇺"},{id:":ukraine:",label:"Ukraine",emoji:"🇺🇦"},{id:":poland:",label:"Poland",emoji:"🇵🇱"},{id:":japan:",label:"Japan",emoji:"🇯🇵"},{id:":south_korea:",label:"South Korea",emoji:"🇰🇷"},{id:":china:",label:"China",emoji:"🇨🇳"},{id:":india:",label:"India",emoji:"🇮🇳"},{id:":australia:",label:"Australia",emoji:"🇦🇺"},{id:":new_zealand:",label:"New Zealand",emoji:"🇳🇿"},{id:":south_africa:",label:"South Africa",emoji:"🇿🇦"},{id:":egypt:",label:"Egypt",emoji:"🇪🇬"},{id:":saudi_arabia:",label:"Saudi Arabia",emoji:"🇸🇦"},{id:":united_arab_emirates:",label:"United Arab Emirates",emoji:"🇦🇪"},{id:":kenya:",label:"Kenya",emoji:"🇰🇪"},{id:":nigeria:",label:"Nigeria",emoji:"🇳🇬"},{id:":ghana:",label:"Ghana",emoji:"🇬🇭"},{id:":thailand:",label:"Thailand",emoji:"🇹🇭"},{id:":vietnam:",label:"Vietnam",emoji:"🇻🇳"},{id:":singapore:",label:"Singapore",emoji:"🇸🇬"},{id:":malaysia:",label:"Malaysia",emoji:"🇲🇾"},{id:":indonesia:",label:"Indonesia",emoji:"🇮🇩"},{id:":philippines:",label:"Philippines",emoji:"🇵🇭"}]},Ac="auxx-chat-emoji-skin-tone";function P_(){if(typeof window>"u")return"";try{const e=window.localStorage.getItem(Ac);if(e&&Ur.includes(e))return e}catch{}return""}function E_(e){try{window.localStorage.setItem(Ac,e)}catch{}}function $_({onSelect:e,onClose:t}){const[n,o]=z(""),[r,i]=z(P_),[l,s]=z(!1),u=D(null),{activeSection:h,registerSection:f,scrollToSection:m}=z_(u),g=B(b=>{i(b),E_(b),s(!1)},[]),_=B(b=>{e(b),o(""),t()},[e,t]),k=B(b=>{o(""),m(b)},[m]),x=ve(()=>{if(!n.trim())return null;const b=n.toLowerCase(),y=[];return Object.values(Mc).forEach(S=>y.push(...S)),y.filter(S=>S.label.toLowerCase().includes(b)||S.emoji.includes(b)||S.id.toLowerCase().includes(b))},[n]);return p("div",{className:"w-80",children:[p("div",{className:"flex items-center border-b border-border px-3 py-0.5",children:[p(qo,{className:"mr-2 size-4 shrink-0 opacity-50","aria-hidden":"true"}),p("input",{type:"text",placeholder:"Search emojis…",value:n,onInput:b=>o(b.currentTarget.value),className:"h-7 w-full border-0 bg-transparent p-0 text-sm outline-none"}),n?p("button",{type:"button",onClick:()=>o(""),className:"flex size-5 shrink-0 items-center justify-center rounded-full bg-muted hover:bg-border",children:p(St,{className:"size-3","aria-hidden":"true"})}):null]}),p("div",{className:"flex items-center gap-0.5 border-b border-border p-1",children:[p(L_,{currentTone:r,showingSelector:l,onClick:()=>s(b=>!b)}),p("div",{className:"mx-1 h-5 w-px bg-border"}),l?p("div",{className:"flex gap-0.5",children:Ur.map(b=>p("button",{type:"button",title:b===""?"Default":`Skin tone ${Ur.indexOf(b)}`,onClick:()=>g(b),className:he("flex size-7 items-center justify-center rounded hover:bg-muted",r===b&&"bg-muted"),children:p("span",{className:he("size-4 rounded-full",Nc[b])})},b||"default"))}):p("div",{className:"flex gap-0.5 overflow-x-auto",children:Tc.map(b=>p(O_,{group:b,isActive:h===b.id,onClick:()=>k(b.id)},b.id))})]}),p("div",{ref:u,className:"h-64 overflow-y-auto",onWheel:b=>b.stopPropagation(),children:x?p("div",{className:"px-2",children:x.length>0?p(xe,{children:[p("div",{className:"sticky top-0 z-10 bg-background py-2",children:p("h3",{className:"text-sm font-medium text-muted-foreground",children:"Search results"})}),p("div",{className:"grid grid-cols-10 gap-0.5",children:x.map(b=>p(Pc,{item:b,skinTone:r,onSelect:_},b.id))})]}):p("div",{className:"flex h-32 items-center justify-center text-sm text-muted-foreground",children:"No emojis found"})}):Tc.map(b=>p(R_,{group:b,items:Mc[b.id]||[],skinTone:r,onSelect:_,registerSection:f},b.id))})]})}const Pc=Ft(function({item:t,skinTone:n,onSelect:o}){const r=t.supportsSkinTone?A_(t.emoji,n):t.emoji;return p("button",{type:"button",onClick:()=>o(r),title:t.label,className:"flex size-8 cursor-pointer items-center justify-center rounded-md text-lg hover:bg-muted",children:r})}),R_=Ft(function({group:t,items:n,skinTone:o,onSelect:r,registerSection:i}){const l=B(s=>i(s,t.id),[t.id,i]);return p("div",{ref:l,"data-section":t.id,className:"mb-0 min-h-[260px] px-2 scroll-mt-8",children:[p("div",{className:"sticky top-0 z-10 py-2",children:p("h3",{className:"inline-flex rounded-full border border-border bg-background px-2 text-sm font-medium text-muted-foreground",children:t.label})}),p("div",{className:"grid grid-cols-10 gap-0.5",children:n.map(s=>p(Pc,{item:s,skinTone:o,onSelect:r},s.id))})]})}),O_=Ft(function({group:t,isActive:n,onClick:o}){const r=t.icon;return p("button",{type:"button",title:t.label,onClick:o,className:he("flex size-7 items-center justify-center rounded text-muted-foreground hover:bg-muted hover:text-foreground",n&&"bg-muted text-primary"),children:p(r,{className:"size-4"})})}),L_=Ft(function({currentTone:t,showingSelector:n,onClick:o}){return p("button",{type:"button",title:"Skin tone",onClick:o,className:"flex size-7 items-center justify-center rounded hover:bg-muted",children:n?p(ka,{className:"size-4"}):p("span",{className:he("size-4 rounded-full",Nc[t])})})});function z_(e){const[t,n]=z("smileys"),o=D(new Map),r=B((l,s)=>{if(!l){o.current.delete(s);return}o.current.set(s,l)},[]),i=B(l=>{const s=e.current,u=o.current.get(l);!s||!u||(n(l),s.scrollTo({top:u.offsetTop-40,behavior:"smooth"}))},[e]);return H(()=>{const l=e.current;if(!l)return;const s=()=>{const u=l.scrollTop;let h="",f=-1;o.current.forEach((m,g)=>{const _=m.offsetTop;_<=u+40&&_>f&&(f=_,h=g)}),h&&n(h)};return l.addEventListener("scroll",s,{passive:!0}),()=>l.removeEventListener("scroll",s)},[e]),{activeSection:t,registerSection:r,scrollToSection:i}}function I_({onSelect:e}){const[t,n]=z(!1);return p(S_,{open:t,onOpenChange:n,children:[p(C_,{asChild:!0,children:p("button",{type:"button",title:"Emoji",onPointerDown:o=>o.stopPropagation(),className:"flex size-7 items-center justify-center rounded text-muted-foreground hover:bg-muted hover:text-foreground",children:p(Da,{className:"size-4","aria-hidden":"true"})})}),p(N_,{className:"w-auto p-0",align:"start",sideOffset:6,onOpenAutoFocus:o=>o.preventDefault(),onCloseAutoFocus:o=>o.preventDefault(),children:p($_,{onSelect:e,onClose:()=>n(!1)})})]})}function D_({onClick:e,disabled:t,loading:n}){return p("button",{type:"button",onClick:e,disabled:t||n,title:"Send",className:he("flex size-8 items-center justify-center rounded-full bg-primary text-primary-foreground transition-opacity disabled:opacity-40"),children:n?p("span",{className:"size-3 animate-spin rounded-full border-2 border-current border-t-transparent","aria-hidden":"true"}):p(mp,{className:"size-4","aria-hidden":"true"})})}function F_({channelId:e,onSend:t,disabled:n,placeholder:o}){const[r,i]=z(""),[l,s]=z(!1),[u,h]=z([]),[f,m]=z(!1),g=D(null),_=u.filter(T=>T.assetId&&!T.error),k=_.map(T=>T.assetId),x=u.some(T=>!T.assetId&&!T.error),b=!l&&!x&&(r.trim().length>0||k.length>0),y=B(async()=>{if(b){s(!0);try{await t({content:r.trim(),attachmentIds:k,inflight:_}),i(""),h([])}finally{s(!1)}}},[b,t,k,_,r]),S=B(T=>{if(T.key==="Enter"){if(T.shiftKey)return;T.preventDefault(),y()}},[y]),N=B(T=>{const A=g.current;if(!A){i(G=>G+T);return}const M=A.selectionStart??r.length,E=A.selectionEnd??r.length,R=r.slice(0,M)+T+r.slice(E);i(R),requestAnimationFrame(()=>{if(!A)return;const G=M+T.length;A.focus(),A.setSelectionRange(G,G)})},[r]),C=B(T=>{h(A=>{const M=A.find(E=>E.localId===T);if(M!=null&&M.objectUrl)try{URL.revokeObjectURL(M.objectUrl)}catch{}return A.filter(E=>E.localId!==T)})},[]),P=B(T=>{var M;T.preventDefault(),m(!1);const A=(M=T.dataTransfer)==null?void 0:M.files;!A||A.length===0||H_(e,A,u,h)},[u,e]);return p("div",{onDragOver:T=>{T.preventDefault(),m(!0)},onDragLeave:()=>m(!1),onDrop:P,className:he("auxx-chat-composer-card mx-1 mb-1",f&&"is-drag-over"),children:[p(Vf,{inflight:u,onRemove:C}),p(Jf,{ref:g,value:r,onInput:T=>i(T.currentTarget.value),onKeyDown:S,placeholder:o??"Type a message…",minRows:3,maxRows:6,disabled:n,className:"pb-10"}),p("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 flex items-center justify-between gap-1 px-1 pb-1",children:[p("div",{className:"pointer-events-auto flex items-center gap-1",children:[p(I_,{onSelect:N}),p(Wf,{channelId:e,inflight:u,onChange:h,disabled:n||l})]}),p("div",{className:"pointer-events-auto",children:p(D_,{onClick:y,disabled:!b,loading:l})})]})]})}async function H_(e,t,n,o){const r=Array.from(t),i=r.map(h=>({localId:`${Date.now()}-${Math.random().toString(36).slice(2)}`,name:h.name,size:h.size,type:h.type,objectUrl:h.type.startsWith("image/")?URL.createObjectURL(h):void 0})),l=[...n,...i];o(l);const s=[...l],{getChatPassport:u}=await Promise.resolve().then(()=>Sf);await Promise.all(i.map(async(h,f)=>{const m=r[f];try{const{passport:g}=await u(e),_=new FormData;_.append("file",m);const k=await fetch(`${Tt()}/api/chat/attachments`,{method:"POST",headers:{Authorization:`Bearer ${g}`},credentials:"include",body:_}),x=await k.json(),b=s.findIndex(y=>y.localId===h.localId);if(b===-1)return;!k.ok||!x.success?s[b]={...s[b],error:x.success===!1?x.error.message:`Upload failed (${k.status})`}:s[b]={...s[b],assetId:x.data.id},o([...s])}catch(g){const _=s.findIndex(k=>k.localId===h.localId);if(_===-1)return;s[_]={...s[_],error:g instanceof Error?g.message:"Upload failed"},o([...s])}}))}function B_({url:e,onDismiss:t}){return p("div",{className:"mx-3 mb-2 flex items-start gap-2 text-[11px] leading-snug text-muted-foreground",children:[p("p",{className:"flex-1",children:["By chatting with us, you agree to our"," ",p("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 hover:text-foreground",children:"Privacy Policy"}),". Your personal data may be processed per this policy and/or our data processing agreement with the customer entity you are contacting us from."]}),p("button",{type:"button","aria-label":"Dismiss privacy notice",onClick:t,className:"shrink-0 rounded p-0.5 text-muted-foreground hover:bg-muted hover:text-foreground",children:p(St,{className:"size-3"})})]})}function U_({replies:e,onSelect:t,disabled:n=!1}){return e.length===0?null:p("div",{className:"flex flex-wrap justify-end gap-2 px-3 pb-2",children:e.map((o,r)=>p("button",{type:"button",disabled:n,"aria-label":o,onClick:()=>t(o),className:he("rounded-full border border-border bg-background px-3 py-1.5 text-sm text-foreground shadow-sm transition","hover:bg-muted active:scale-[0.98]","disabled:pointer-events-none disabled:opacity-50"),children:o},`${r}-${o}`))})}function q_({event:e}){const t=W_(e);if(!t)return null;const n=new Date(e.createdAt).toLocaleString();return p("div",{className:"self-center px-3 text-center text-xs italic text-muted-foreground",title:n,children:t})}function W_(e){switch(e.type){case"thread:taken_over":return"An agent joined the chat";case"thread:returned_to_ai":return"AI is responding again";case"thread:archived":return"Chat ended";case"thread:reopened":return"Chat reopened";case"thread:assignee:changed":return null;case"thread:visitor:identified":return null;default:return null}}function V_({doc:e,identify:t}){return e?p("h2",{className:"text-xl font-semibold leading-tight",children:uo(e.content??[],t,!0)}):p("h2",{className:"text-xl font-semibold leading-tight",children:"Hi! How can we help?"})}function G_(e,t,n={}){return e?uo(e.content??[],t,n.collapseBlocks??!0):null}function uo(e,t,n){return e.map((o,r)=>K_(o,t,n,r))}function K_(e,t,n,o){var r,i;if(e.type==="text"){const l=e.text??"";return X_(l,e.marks??[],o)}if(e.type==="placeholder"){const l=String(((r=e.attrs)==null?void 0:r.id)??""),s=Y_(l,t);if(s!==null&&s!=="")return p("span",{children:s},o);const u=J_((i=e.attrs)==null?void 0:i.fallback);return p("span",{children:u??""},o)}if(e.type==="paragraph"){const l=uo(e.content??[],t,!1);return n?p("span",{children:l},o):p("span",{className:"block",children:l},o)}return e.type==="hardBreak"?p("br",{},o):e.content?p("span",{children:uo(e.content,t,!1)},o):null}function X_(e,t,n){let o=e;for(const r of t)r.type==="bold"||r.type==="strong"?o=p("strong",{children:o}):r.type==="italic"||r.type==="em"?o=p("em",{children:o}):r.type==="underline"?o=p("u",{children:o}):r.type==="code"&&(o=p("code",{children:o}));return p("span",{children:o},n)}function Y_(e,t){if(!e.startsWith("visitor:"))return null;const n=e.slice(8);return t?n==="name"?t.name??null:n==="email"?t.email??null:n==="externalId"?t.externalId??null:null:null}function J_(e){if(!e)return null;if(typeof e=="string")try{e=JSON.parse(e)}catch{return e}if(typeof e!="object"||e===null)return null;const t=e;if(t.v!==1)return null;switch(t.t){case"TEXT":case"URL":case"EMAIL":case"PHONE_INTL":case"DATE":case"DATETIME":case"TIME":return typeof t.d=="string"?t.d:null;case"NUMBER":case"CURRENCY":return typeof t.d=="number"?String(t.d):null;case"CHECKBOX":return t.d?"Yes":"No";case"NAME":{const n=t.d;return n&&[n.firstName,n.lastName].filter(Boolean).join(" ")||null}default:return null}}function Z_({agent:e,template:t,identify:n,typingDelayMs:o=900,initialTyping:r=!0}){const[i,l]=z(!r);H(()=>{if(!r)return;const u=window.setTimeout(()=>l(!0),o);return()=>window.clearTimeout(u)},[o,r]);const s=e?{name:e.name,avatarUrl:e.avatarUrl}:void 0;return i?p(nr,{sender:"AGENT",avatar:s,children:p(Q_,{agent:e,template:t,identify:n})}):p(nr,{sender:"AGENT",avatar:s,typing:!0})}function Q_({agent:e,template:t,identify:n}){if(t)return p(xe,{children:G_(t,n)});const o=(e==null?void 0:e.name)??"Support";return p(xe,{children:["Hi there, you're speaking with ",o,"'s AI Agent. How can I help you today?"]})}function ev({channelId:e,threadId:t,config:n}){const o=ve(()=>Mt(e),[e]),[r,i]=z([]),[l,s]=z([]),[u,h]=z(null),[f,m]=z(null),[g,_]=z(()=>$f(e)),[k,x]=z(()=>ji(e)),b=D(null),y=D(new Set);H(()=>Si(x),[]),H(()=>()=>{for(const C of y.current)try{URL.revokeObjectURL(C)}catch{}y.current.clear()},[]),H(()=>{let C=!1;return o.initialize({url:typeof window<"u"?window.location.href:void 0,referrer:typeof document<"u"&&document.referrer||void 0,userAgent:typeof navigator<"u"?navigator.userAgent:void 0,threadId:t}).then(P=>{C||(h({sessionId:P.sessionId,pusherChannel:P.pusherChannel,threadPusherChannel:P.threadPusherChannel}),P.threadId===t?(i(P.messages),s(P.threadEvents??[])):o.getHistory(t,P.sessionId).then(T=>{C||(i(T.messages),s(T.threadEvents??[]))}).catch(T=>{C||m(T instanceof Error?T.message:"Failed to load conversation")}))}).catch(P=>{C||m(P instanceof Error?P.message:"Failed to load conversation")}),()=>{C=!0}},[o,t]),H(()=>{if(!u)return;const C=Af({key:n.realtime.key,cluster:n.realtime.cluster,channelName:u.pusherChannel}),P=T=>{T.threadId===t&&i(A=>{var E;const M=A.findIndex(R=>R.id===T.id||T.clientMessageId&&R.id===T.clientMessageId);if(M>=0){const R=A[M],G=nv(R.attachments,T.attachments);ov(R.attachments,y.current);const I=A.slice();return I[M]={...R,id:T.id,content:T.content||R.content,createdAt:T.createdAt||R.createdAt,status:"delivered",...G?{attachments:G}:{}},I}return[...A,{id:T.id,content:T.content,sender:T.sender??"AGENT",createdAt:T.createdAt,...(E=T.attachments)!=null&&E.length?{attachments:T.attachments}:{}}]})};return C.channel.bind("new-message",P),()=>{try{C.channel.unbind("new-message",P)}catch{}C.disconnect()}},[u,t,n.realtime.key,n.realtime.cluster]),H(()=>{if(!u)return;const C=u.threadPusherChannel,P=`private-thread-${t}`;if(C!==P)return;const T=gl({key:n.realtime.key,cluster:n.realtime.cluster,channelName:C,channelId:e}),A=Of.map(M=>{const E=R=>{R.threadId===t&&s(G=>{const I=R.id??`${M}:${t}:${R.createdAt??new Date().toISOString()}`;return G.some(ie=>ie.id===I)?G:[...G,{id:I,type:M,createdAt:R.createdAt??new Date().toISOString(),data:R}]})};return T.channel.bind(M,E),{type:M,handler:E}});return()=>{for(const{type:M,handler:E}of A)try{T.channel.unbind(M,E)}catch{}T.disconnect()}},[u,t,e,n.realtime.key,n.realtime.cluster]),H(()=>{r.length!==0&&df(e,t)},[e,t,r.length]),H(()=>{const C=b.current;C&&(C.scrollTop=C.scrollHeight)},[r.length,l.length]);const S=B(async({content:C,attachmentIds:P,inflight:T})=>{if(!u)return;const A=`c-${Date.now()}-${Math.random().toString(36).slice(2)}`,M=T&&T.length>0?T.filter(R=>R.assetId).map(R=>(R.objectUrl&&y.current.add(R.objectUrl),{id:R.assetId,name:R.name,mimeType:R.type,size:R.size,...R.objectUrl?{objectUrl:R.objectUrl}:{}})):void 0,E={id:A,content:C,sender:"USER",createdAt:new Date().toISOString(),status:"sending",...M!=null&&M.length?{attachments:M}:{}};i(R=>[...R,E]);try{await o.sendMessage({sessionId:u.sessionId,threadId:t,content:C,clientMessageId:A,...P.length>0?{attachmentIds:P}:{}})}catch(R){i(G=>G.map(I=>I.id===A?{...I,status:"error"}:I)),m(R instanceof Error?R.message:"Failed to send message")}},[o,u,t]),N=ve(()=>rv(r,l),[r,l]);return p("div",{className:"auxx-chat-frame flex min-h-0 flex-1 flex-col",children:[p("div",{ref:b,className:"auxx-chat-body-mask flex min-h-0 flex-1 flex-col gap-3 overflow-y-auto p-3",children:[f?p("div",{className:"rounded bg-background p-2 text-center text-xs text-destructive",children:f}):null,u?p(Z_,{agent:n.agent,template:n.welcomeMessageTemplate,identify:k,initialTyping:r.length===0}):null,N.map(C=>{var P;return C.kind==="event"?p(q_,{event:C.event},`e-${C.event.id}`):p(nr,{group:C.group,channelId:e},`g-${((P=C.group.messages[0])==null?void 0:P.id)??C.createdAt}`)})]}),p("div",{className:"auxx-chat-composer-plinth",children:n.isOffline?p(tv,{message:n.appearance.offlineMessage}):p(xe,{children:[u&&r.length===0?p(U_,{replies:n.suggestedReplies??[],onSelect:C=>S({content:C,attachmentIds:[],inflight:[]})}):null,p(F_,{channelId:e,onSend:S}),n.privacyPolicyUrl&&!g?p(B_,{url:n.privacyPolicyUrl,onDismiss:()=>{Rf(e),_(!0)}}):null]})}),n.branding.footerEnabled?p("div",{className:"border-t border-[color:var(--auxx-chat-hairline)] bg-transparent py-2 text-center text-[10px] uppercase tracking-wide text-muted-foreground",children:"Powered by Auxx"}):null]})}function tv({message:e}){const t=(e==null?void 0:e.trim())||"No one is available right now. Leave a message and we’ll reply by email.";return p("div",{className:"mx-1 mb-1 rounded-md border border-[color:var(--auxx-chat-hairline)] bg-background/60 px-3 py-3 text-center text-xs text-muted-foreground",children:t})}function nv(e,t){if(!t||t.length===0)return e&&e.length>0?e:void 0;if(!e||e.length===0)return t;if(e.length===t.length)return t.map((o,r)=>{const i=e[r];return i!=null&&i.objectUrl?{...o,objectUrl:i.objectUrl}:o});const n=new Map(e.map(o=>[o.id,o]));return t.map(o=>{const r=n.get(o.id);return r!=null&&r.objectUrl?{...o,objectUrl:r.objectUrl}:o})}function ov(e,t){if(e){for(const n of e)if(n.objectUrl&&t.has(n.objectUrl)){try{URL.revokeObjectURL(n.objectUrl)}catch{}t.delete(n.objectUrl)}}}function rv(e,t){const n=[...e.map(r=>({kind:"message",createdAt:new Date(r.createdAt).getTime(),message:r})),...t.map(r=>({kind:"event",createdAt:new Date(r.createdAt).getTime(),event:r}))];n.sort((r,i)=>r.createdAt-i.createdAt);const o=[];for(const r of n){if(r.kind==="event"){o.push({kind:"event",event:r.event,createdAt:r.createdAt});continue}const i=o[o.length-1];i&&i.kind==="group"&&i.group.sender===r.message.sender?i.group.messages.push(r.message):o.push({kind:"group",group:{sender:r.message.sender,messages:[r.message]},createdAt:r.createdAt})}return o}const iv=a_,av=l_;function lv({className:e,sideOffset:t=4,...n}){const o=Ii();return p(s_,{container:o??void 0,children:p(c_,{sideOffset:t,className:he("min-w-[10rem] overflow-hidden rounded-xl border border-border bg-[color:var(--auxx-chat-surface-loud)] p-1 text-sm shadow-md backdrop-blur-xl",e),style:{zIndex:2147483001},...n})})}function Ec({className:e,...t}){return p(d_,{className:he("relative flex cursor-pointer select-none items-center gap-2 rounded px-2 py-1.5 outline-none focus:bg-[color:var(--auxx-chat-surface-dark-default)] focus:text-[color:var(--auxx-chat-text-loud)] data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...t})}function sv({channelId:e,threadId:t,expanded:n,onToggleExpanded:o,allowDownloadTranscript:r,floating:i=!1}){const l=Mt(e);return p(iv,{children:[p(av,{asChild:!0,children:p("button",{type:"button","aria-label":"More",onPointerDown:u=>u.stopPropagation(),className:"flex size-7 items-center justify-center rounded text-muted-foreground hover:bg-muted hover:text-foreground",children:p(Ca,{className:"size-4","aria-hidden":"true"})})}),p(lv,{align:"end",children:[i?null:p(Ec,{onSelect:o,children:[n?p(Bh,{className:"size-4","aria-hidden":"true"}):p(Ih,{className:"size-4","aria-hidden":"true"}),n?"Shrink window":"Expand window"]}),r?p(Ec,{onSelect:async()=>{try{const{html:u,filename:h}=await l.getTranscript(t),f=new Blob([u],{type:"text/html"}),m=URL.createObjectURL(f),g=document.createElement("a");g.href=m,g.download=h,document.body.appendChild(g),g.click(),document.body.removeChild(g),URL.revokeObjectURL(m)}catch{}},children:[p(Sa,{className:"size-4","aria-hidden":"true"}),"Download transcript"]}):null]})]})}const cv=[{id:"history",label:"History",icon:_h},{id:"home",label:"Home",icon:Ea},{id:"settings",label:"Settings",icon:gp},{id:"search",label:"Search",icon:qo},{id:"menu",label:"Menu",icon:Fh},{id:"x",label:"Close",icon:St},{id:"plus",label:"Plus",icon:Ia},{id:"minus",label:"Minus",icon:Uh},{id:"equal",label:"Equal",icon:Gu},{id:"check",label:"Check",icon:ku},{id:"chevron-down",label:"Chevron Down",icon:ju},{id:"chevron-up",label:"Chevron Up",icon:Su},{id:"chevron-left",label:"Chevron Left",icon:ka},{id:"chevron-right",label:"Chevron Right",icon:En},{id:"chevrons-up-down",label:"Chevrons Up Down",icon:Cu},{id:"arrow-left",label:"Arrow Left",icon:va},{id:"arrow-right",label:"Arrow Right",icon:Qd},{id:"arrow-up",label:"Arrow Up",icon:tu},{id:"arrow-down",label:"Arrow Down",icon:Jd},{id:"arrow-left-right",label:"Arrow Left Right",icon:Zd},{id:"mail",label:"Mail",icon:Oh},{id:"message-square",label:"Message Square",icon:Oa},{id:"message-circle",label:"Message Circle",icon:Ra},{id:"phone",label:"Phone",icon:Zh},{id:"bell",label:"Bell",icon:lu},{id:"bell-ring",label:"Bell Ring",icon:au},{id:"send",label:"Send",icon:fp},{id:"inbox",label:"Inbox",icon:xh},{id:"mails",label:"Mails",icon:Lh},{id:"at-sign",label:"At Sign",icon:nu},{id:"user",label:"User",icon:Wo},{id:"users",label:"Users",icon:Qp},{id:"user-plus",label:"User Plus",icon:Jp},{id:"user-minus",label:"User Minus",icon:Yp},{id:"user-check",label:"User Check",icon:Xp},{id:"user-x",label:"User X",icon:Zp},{id:"circle-user",label:"Circle User",icon:Mu},{id:"file",label:"File",icon:Ma},{id:"file-text",label:"File Text",icon:jt},{id:"file-image",label:"File Image",icon:Na},{id:"file-video",label:"File Video",icon:Ta},{id:"file-audio",label:"File Audio",icon:Qu},{id:"file-type",label:"File Type",icon:th},{id:"file-spreadsheet",label:"File Spreadsheet",icon:eh},{id:"file-code",label:"File Code",icon:Zu},{id:"file-json",label:"File JSON",icon:Ju},{id:"folder-kanban",label:"Folder Kanban",icon:oh},{id:"archive",label:"Archive",icon:Yd},{id:"folder",label:"Folder",icon:Uo},{id:"folder-open",label:"Folder Open",icon:rh},{id:"upload",label:"Upload",icon:Kp},{id:"download",label:"Download",icon:Sa},{id:"paperclip",label:"Paperclip",icon:za},{id:"link",label:"Link",icon:Nh},{id:"edit",label:"Edit",icon:Sp},{id:"trash",label:"Trash",icon:Dp},{id:"copy",label:"Copy",icon:Fu},{id:"clipboard",label:"Clipboard",icon:$u},{id:"clipboard-check",label:"Clipboard Check",icon:Eu},{id:"share-2",label:"Share 2",icon:_p},{id:"save",label:"Save",icon:up},{id:"share",label:"Share",icon:vp},{id:"external-link",label:"External Link",icon:Ku},{id:"more-horizontal",label:"More Horizontal",icon:Ca},{id:"more-vertical",label:"More Vertical",icon:Vu},{id:"image",label:"Image",icon:vh},{id:"video",label:"Video",icon:tm},{id:"music",label:"Music",icon:Wh},{id:"camera",label:"Camera",icon:vu},{id:"play",label:"Play",icon:Qh},{id:"pause",label:"Pause",icon:Xh},{id:"volume",label:"Volume",icon:nm},{id:"volume-x",label:"Volume Off",icon:om},{id:"briefcase",label:"Briefcase",icon:pu},{id:"building",label:"Building",icon:fu},{id:"building-2",label:"Building 2",icon:mu},{id:"calendar",label:"Calendar",icon:_u},{id:"clock",label:"Clock",icon:Ru},{id:"credit-card",label:"Credit Card",icon:Hu},{id:"dollar-sign",label:"Dollar Sign",icon:Wu},{id:"shopping-cart",label:"Shopping Cart",icon:wp},{id:"package",label:"Package",icon:La},{id:"truck",label:"Truck",icon:Wp},{id:"megaphone",label:"Megaphone",icon:Dh},{id:"warehouse",label:"Warehouse",icon:rm},{id:"receipt",label:"Receipt",icon:ip},{id:"handshake",label:"Handshake",icon:hh},{id:"percent",label:"Percent",icon:Jh},{id:"crown",label:"Crown",icon:Uu},{id:"bar-chart",label:"Bar Chart",icon:yu},{id:"line-chart",label:"Line Chart",icon:xu},{id:"pie-chart",label:"Pie Chart",icon:wu},{id:"trending-up",label:"Trending Up",icon:Bp},{id:"trending-down",label:"Trending Down",icon:Hp},{id:"activity",label:"Activity",icon:Xd},{id:"alert-circle",label:"Alert Circle",icon:Nu},{id:"alert-triangle",label:"Alert Triangle",icon:Up},{id:"info",label:"Info",icon:yh},{id:"help-circle",label:"Help Circle",icon:ja},{id:"check-circle",label:"Check Circle",icon:Tu},{id:"x-circle",label:"X Circle",icon:Au},{id:"ban",label:"Ban",icon:ru},{id:"wrench",label:"Wrench",icon:lm},{id:"hammer",label:"Hammer",icon:uh},{id:"key",label:"Key",icon:wh},{id:"lock",label:"Lock",icon:Rh},{id:"unlock",label:"Unlock",icon:$h},{id:"shield",label:"Shield",icon:yp},{id:"shield-check",label:"Shield Check",icon:xp},{id:"zap",label:"Zap",icon:sm},{id:"plug",label:"Plug",icon:ep},{id:"lightbulb",label:"Lightbulb",icon:Sh},{id:"compass",label:"Compass",icon:Du},{id:"map",label:"Map",icon:zh},{id:"map-pin",label:"Map Pin",icon:$a},{id:"globe",label:"Globe",icon:ch},{id:"navigation",label:"Navigation",icon:Vh},{id:"star",label:"Star",icon:Np},{id:"heart",label:"Heart",icon:bh},{id:"bookmark",label:"Bookmark",icon:su},{id:"tag",label:"Tag",icon:Pp},{id:"tags",label:"Tags",icon:Ep},{id:"flag",label:"Flag",icon:Aa},{id:"award",label:"Award",icon:ou},{id:"gift",label:"Gift",icon:lh},{id:"sparkles",label:"Sparkles",icon:kp},{id:"eye",label:"Eye",icon:Yu},{id:"eye-off",label:"Eye Off",icon:Xu},{id:"filter",label:"Filter",icon:ih},{id:"refresh",label:"Refresh",icon:ap},{id:"rotate",label:"Rotate",icon:dp},{id:"layers",label:"Layers",icon:kh},{id:"grid",label:"Grid",icon:dh},{id:"list",label:"List",icon:Ph},{id:"table",label:"Table",icon:Ap},{id:"columns",label:"Columns",icon:Iu},{id:"layout",label:"Layout",icon:Kh},{id:"layout-dashboard",label:"Layout Dashboard",icon:jh},{id:"book-open",label:"Book Open",icon:ya},{id:"code",label:"Code",icon:Lu},{id:"terminal",label:"Terminal",icon:Rp},{id:"database",label:"Database",icon:qu},{id:"server",label:"Server",icon:bp},{id:"cloud",label:"Cloud",icon:Ou},{id:"wifi",label:"Wifi",icon:am},{id:"battery",label:"Battery",icon:iu},{id:"power",label:"Power",icon:tp},{id:"sun",label:"Sun",icon:Mp},{id:"moon",label:"Moon",icon:qh},{id:"circle",label:"Circle",icon:Pu},{id:"square",label:"Square",icon:Cp},{id:"triangle",label:"Triangle",icon:qp},{id:"hexagon",label:"Hexagon",icon:gh},{id:"target",label:"Target",icon:$p},{id:"crosshair",label:"Crosshair",icon:Bu},{id:"fingerprint",label:"Fingerprint",icon:nh},{id:"qr-code",label:"QR Code",icon:op},{id:"printer",label:"Printer",icon:np},{id:"scan",label:"Scan",icon:hp},{id:"heading-1",label:"Heading 1",icon:ph},{id:"heading-2",label:"Heading 2",icon:mh},{id:"heading-3",label:"Heading 3",icon:fh},{id:"list-ordered",label:"Numbered List",icon:Ah},{id:"quote",label:"Quote",icon:rp},{id:"git-branch",label:"Git Branch",icon:sh},{id:"sticky-note",label:"Sticky Note",icon:Tp},{id:"variable",label:"Variable",icon:em},{id:"brain",label:"Brain",icon:hu},{id:"octagon",label:"Octagon",icon:Gh},{id:"repeat",label:"Repeat",icon:sp},{id:"undo-2",label:"Undo",icon:Gp},{id:"arrows-up-down",label:"Arrows Up Down",icon:eu},{id:"webhook",label:"Webhook",icon:im},{id:"ticket",label:"Ticket",icon:zp},{id:"box",label:"Box",icon:cu},{id:"boxes",label:"Boxes",icon:du},{id:"type",label:"Type",icon:Vp},{id:"hash",label:"Hash",icon:Pa},{id:"toggle-left",label:"Toggle Left",icon:Ip},{id:"braces",label:"Braces",icon:uu},{id:"pen-tool",label:"Pen Tool",icon:Yh},{id:"scissors",label:"Scissors",icon:pp},{id:"text",label:"Text",icon:wa},{id:"text-cursor-input",label:"Text Cursor Input",icon:Lp},{id:"list-filter",label:"List Filter",icon:Mh},{id:"calendar-clock",label:"Calendar Clock",icon:gu},{id:"list-checks",label:"List Checks",icon:Th},{id:"check-square",label:"Check Square",icon:jp},{id:"link-2",label:"Link 2",icon:Ch},{id:"calculator",label:"Calculator",icon:bu},{id:"case-sensitive",label:"Case Sensitive",icon:wa},{id:"align-center",label:"Align Center",icon:Op},{id:"replace",label:"Replace",icon:cp},{id:"regex",label:"Regex",icon:lp}],wn=e=>cv.find(t=>t.id===e);function dv({iconId:e,className:t}){const n=t??"size-4 shrink-0 text-muted-foreground",o=e?wn(e):null,r=(o==null?void 0:o.icon)??jt;return p(r,{className:n,"aria-hidden":"true"})}function ho({onClick:e,disabled:t,children:n,className:o,showChevron:r=!0}){return p("button",{type:"button",onClick:e,disabled:t,className:he("group flex w-full items-center gap-3 rounded-lg border border-[color:var(--auxx-chat-hairline)] bg-card px-3 py-3 text-left transition-colors hover:bg-[color:var(--auxx-chat-surface-loud)] disabled:cursor-not-allowed disabled:opacity-60",o),children:[p("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:n}),r?p(En,{className:"size-4 shrink-0 text-muted-foreground transition-transform group-hover:translate-x-0.5","aria-hidden":"true"}):null]})}function uv({title:e,description:t,emoji:n,onClick:o}){return p(ho,{onClick:o,children:[p("div",{className:"flex items-center gap-2",children:[p(dv,{iconId:n}),p("span",{className:"truncate text-sm font-medium text-foreground",children:e})]}),t?p("span",{className:"line-clamp-2 text-xs text-muted-foreground",children:t}):null]})}function hv({siteName:e,onClick:t}){return p(ho,{onClick:t,children:[p("div",{className:"flex items-center gap-2",children:[p(ya,{className:"size-4 shrink-0 text-primary","aria-hidden":"true"}),p("span",{className:"text-sm font-medium text-foreground",children:"Browse all articles"})]}),p("span",{className:"truncate text-xs text-muted-foreground",children:e})]})}function pv({subject:e,preview:t,isInbound:n,timestamp:o,onOpen:r}){const i=mv(o);return p(ho,{onClick:r,children:[p("div",{className:"flex items-center justify-between gap-2",children:[p("span",{className:"truncate text-sm font-medium text-foreground",children:e||"Recent conversation"}),p("span",{className:"shrink-0 text-xs text-muted-foreground",children:i})]}),p("span",{className:"truncate text-xs text-muted-foreground",children:[n?"You: ":"",t]})]})}function mv(e){const t=Date.parse(e);if(Number.isNaN(t))return"";const n=Date.now()-t,o=6e4,r=60*o,i=24*r;return n<o?"just now":n<r?`${Math.floor(n/o)}m`:n<i?`${Math.floor(n/r)}h`:n<7*i?`${Math.floor(n/i)}d`:new Date(t).toLocaleDateString()}function fv({onClick:e,isPending:t}){return p(ho,{onClick:e,disabled:t,children:[p("div",{className:"flex items-center gap-2",children:[p(Hh,{className:"size-4 shrink-0 text-primary","aria-hidden":"true"}),p("span",{className:"text-sm font-medium text-foreground",children:t?"Starting…":"Send us a message"})]}),p("span",{className:"text-xs text-muted-foreground",children:"We usually reply within a few minutes."})]})}function bv(e){const t=/^#?([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(e);if(!t)return"#ffffff";let n=t[1];n.length===3&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]);const o=parseInt(n.slice(0,2),16)/255,r=parseInt(n.slice(2,4),16)/255,i=parseInt(n.slice(4,6),16)/255,l=u=>u<=.03928?u/12.92:((u+.055)/1.055)**2.4;return .2126*l(o)+.7152*l(r)+.0722*l(i)>.5?"#000000":"#ffffff"}function gv({channelId:e,config:t,resolvedTheme:n,onClose:o,floating:r=!1,onToggleFloating:i,headerRef:l}){const s=cn(),[u,h]=z(()=>ji(e)),[f,m]=z(null),[g,_]=z(!1);H(()=>Si(E=>h(E)),[]);const k=Mt(e),{home:x}=t;H(()=>{if(!x.showRecentMessage){m(null);return}let E=!1;return k.getRecentThread().then(R=>{E||m(R.thread)}).catch(()=>{E||m(null)}),()=>{E=!0}},[x.showRecentMessage]);const b=B((E,R)=>{s.push({id:E,label:R,view:"thread",params:{threadId:E}})},[s]),y=B(async()=>{var E;_(!0);try{const R=f??((E=await k.getRecentThread().catch(()=>null))==null?void 0:E.thread)??null;if(R&&!R.lastMessage){b(R.id,R.subject||"Conversation");return}const{threadId:G}=await k.createThread({url:typeof window<"u"?window.location.href:void 0,referrer:typeof document<"u"&&document.referrer||void 0,userAgent:typeof navigator<"u"?navigator.userAgent:void 0});b(G,"New conversation")}catch{}finally{_(!1)}},[k,b,f]),S=[x.showRecentMessage&&f&&f.lastMessage?p(pv,{subject:f.subject,preview:f.lastMessage.preview,isInbound:f.lastMessage.isInbound,timestamp:f.lastMessage.timestamp,onOpen:()=>b(f.id,f.subject||"Conversation")},"recent"):null,x.showSendMessageCta?p(fv,{onClick:y,isPending:g},"send"):null,...x.featuredArticles.map(E=>p(uv,{title:E.title,description:E.description,emoji:E.emoji,onClick:()=>s.push({id:E.id,label:E.title,view:"kb-article",params:{articleId:E.id}})},E.id)),x.knowledgeBase?p(hv,{siteName:x.knowledgeBase.siteName,onClick:()=>s.push({id:"kb-root",label:x.knowledgeBase.siteName,view:"kb-section",params:{sectionId:null}})},"browse"):null].filter(Boolean),N=n==="dark",C=N&&t.appearance.headerColorDark?t.appearance.headerColorDark:t.appearance.headerColor,P=C??"var(--auxx-chat-primary-band)",T=C?bv(C):N?"#FFFFFF":"#000000",A=T==="#000000",M=N?t.appearance.logoDark??t.appearance.logoLight:t.appearance.logoLight;return p("div",{className:"auxx-chat-frame relative flex min-h-0 flex-1 flex-col",children:[p("div",{"aria-hidden":"true",className:"auxx-chat-clip-top pointer-events-none absolute inset-x-0 top-0 z-0",style:{height:"200px",background:`linear-gradient(to bottom, ${P} 45%, transparent 100%)`}}),p("div",{ref:l,className:"relative z-10 flex shrink-0 flex-col gap-8 ps-5 pe-3 pt-5 pb-6",style:{color:T},children:[p("div",{className:"flex items-start justify-between",children:[M?p("img",{src:M,alt:"",className:"h-8 w-auto"}):p("span",{className:"h-8"}),p("div",{className:"flex items-center gap-1",children:[i?p("button",{type:"button",onClick:i,onPointerDown:E=>E.stopPropagation(),"data-no-drag":!0,"aria-label":r?"Dock chat":"Pop out chat","aria-pressed":r,className:A?"hidden size-7 items-center justify-center rounded text-black/70 transition-colors hover:bg-black/5 hover:text-black sm:flex":"hidden size-7 items-center justify-center rounded text-white/90 transition-colors hover:bg-white/10 hover:text-white sm:flex",children:r?p(_a,{className:"size-4","aria-hidden":"true"}):p(xa,{className:"size-4","aria-hidden":"true"})}):null,o?p("button",{type:"button",onClick:o,onPointerDown:E=>E.stopPropagation(),"data-no-drag":!0,"aria-label":"Close chat",className:A?"flex size-7 items-center justify-center rounded text-black/70 transition-colors hover:bg-black/5 hover:text-black":"flex size-7 items-center justify-center rounded text-white/90 transition-colors hover:bg-white/10 hover:text-white",children:p(St,{className:"size-4","aria-hidden":"true"})}):null]})]}),p(V_,{doc:x.greetingTemplate??null,identify:u})]}),p("div",{className:"auxx-chat-body-mask relative z-10 flex min-h-0 flex-1 flex-col gap-2 overflow-y-auto pt-3 px-3 pb-3",children:S.length===0?p("p",{className:"py-6 text-center text-xs text-muted-foreground",children:"No conversations yet"}):S}),t.branding.footerEnabled?p("div",{className:"relative z-10 border-t border-[color:var(--auxx-chat-hairline)] bg-transparent py-2 text-center text-[10px] uppercase tracking-wide text-muted-foreground",children:"Powered by Auxx"}):null]})}function qr(e){return{getTree:()=>Me(e,"/api/kb/tree"),getArticle:t=>Me(e,`/api/kb/articles/${encodeURIComponent(t)}`),search:(t,n)=>Me(e,`/api/kb/search?q=${encodeURIComponent(t)}`,n?{signal:n}:void 0)}}function _v({channelId:e,articleId:t}){const n=cn(),o=D(null),[r,i]=z(null),[l,s]=z(null),u=D(n);u.current=n,H(()=>{let f=!1;return s(null),i(null),qr(e).getArticle(t).then(m=>{f||(i(m),u.current.replace({id:m.id,label:m.title,view:"kb-article",params:{articleId:m.id}}))}).catch(m=>{f||s(m instanceof Error?m.message:"Failed to load article")}),()=>{f=!0}},[e,t]),H(()=>{const f=o.current;if(!f||!r)return;const m=vv(f),g=xv(f),_=yv(f);return()=>{g(),_();for(const k of m)pt(null,k)}},[r]);const h=B(f=>{const m=f.target,g=m==null?void 0:m.closest("[data-auxx-article-link]");if(!g)return;f.preventDefault();const _=g.getAttribute("data-auxx-article-link");_&&n.push({id:_,label:"Loading…",view:"kb-article",params:{articleId:_}})},[n]);return l?p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-sm text-muted-foreground",children:l}):r?p("div",{className:"flex min-h-0 flex-1 flex-col overflow-y-auto bg-[color:var(--auxx-chat-surface-loud)]",children:p("div",{ref:o,className:"auxx-kb-article px-5 py-4",onClick:h,dangerouslySetInnerHTML:{__html:r.html}})}):p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-xs text-muted-foreground",children:"Loading…"})}function vv(e){const t=e.querySelectorAll("[data-auxx-icon]"),n=[];return t.forEach(o=>{const r=o.getAttribute("data-auxx-icon");if(!r)return;const i=wn(r);i&&(pt(fe(i.icon,{"aria-hidden":!0}),o),n.push(o))}),n}function xv(e){const t=Array.from(e.querySelectorAll('[data-auxx-block="tabs"]')),n=[];for(const o of t){const r=l=>{const s=l.target,u=s==null?void 0:s.closest("[data-auxx-tab]");if(!u||!o.contains(u))return;const h=u.getAttribute("data-target");h&&$c(o,h)},i=l=>{if(l.key!=="ArrowLeft"&&l.key!=="ArrowRight"&&l.key!=="Home"&&l.key!=="End")return;const s=o.querySelector("[data-auxx-tabs-list]");if(!s||!(l.target instanceof Element)||!s.contains(l.target))return;const u=Array.from(s.querySelectorAll("[data-auxx-tab]"));if(u.length===0)return;const h=u.findIndex(_=>_.getAttribute("data-active")==="true");let f=h;l.key==="ArrowRight"?f=(h+1)%u.length:l.key==="ArrowLeft"?f=(h-1+u.length)%u.length:l.key==="Home"?f=0:l.key==="End"&&(f=u.length-1);const m=u[f],g=m==null?void 0:m.getAttribute("data-target");g&&(l.preventDefault(),$c(o,g),m.focus())};o.addEventListener("click",r),o.addEventListener("keydown",i),n.push({el:o,onClick:r,onKey:i})}return()=>{for(const{el:o,onClick:r,onKey:i}of n)o.removeEventListener("click",r),o.removeEventListener("keydown",i)}}function $c(e,t){e.querySelectorAll("[data-auxx-tab]").forEach(r=>{const i=r.getAttribute("data-target")===t;r.setAttribute("data-active",String(i)),r.setAttribute("aria-selected",String(i)),r.setAttribute("tabindex",i?"0":"-1")}),e.querySelectorAll("[data-auxx-tab-panel]").forEach(r=>{const i=r.getAttribute("data-id")===t;r.setAttribute("data-active",String(i)),i?r.removeAttribute("hidden"):r.setAttribute("hidden","")})}function yv(e){const t=Array.from(e.querySelectorAll('[data-auxx-block="accordion"][data-allow-multiple="false"]')),n=[];for(const o of t){const r=i=>{const l=i.target;if(!l||l.tagName!=="DETAILS"||!l.open)return;o.querySelectorAll("[data-auxx-accordion-item]").forEach(u=>{u!==l&&u.open&&(u.open=!1)})};o.addEventListener("toggle",r,!0),n.push({el:o,onToggle:r})}return()=>{for(const{el:o,onToggle:r}of n)o.removeEventListener("toggle",r,!0)}}function wv({value:e,onChange:t,placeholder:n="Search…",autoFocus:o,className:r}){const i=B(u=>{t(u.currentTarget.value)},[t]),l=B(u=>{u.key==="Escape"&&e&&(u.preventDefault(),t(""))},[e,t]),s=B(()=>t(""),[t]);return p("div",{className:he("flex shrink-0 items-center gap-2 border-b border-[color:var(--auxx-chat-hairline)] px-3 py-2",r),children:p("div",{className:"relative flex flex-1 items-center",children:[p(qo,{className:"pointer-events-none absolute left-2.5 size-4 text-muted-foreground","aria-hidden":"true"}),p("input",{type:"text",value:e,onInput:i,onKeyDown:l,placeholder:n,autoFocus:o,autoComplete:"off",autoCorrect:"off",spellcheck:!1,className:"h-9 w-full rounded-md border border-[color:var(--auxx-chat-hairline)] bg-[color:var(--auxx-chat-surface-loud)] pl-8 pr-8 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-primary/30"}),e?p("button",{type:"button",onClick:s,"aria-label":"Clear search",className:"absolute right-2 flex size-5 items-center justify-center rounded text-muted-foreground transition-colors hover:bg-[color:var(--auxx-chat-surface-loud)] hover:text-foreground",children:p(St,{className:"size-3.5","aria-hidden":"true"})}):null]})})}const Wr=new Map;function kv(e){const t=Wr.get(e);if(t)return t;const n=qr(e).getTree().catch(o=>{throw Wr.delete(e),o});return Wr.set(e,n),n}const jv=150,Rc=2;function Oc({channelId:e,sectionId:t}){const n=cn(),[o,r]=z(null),[i,l]=z(null),[s,u]=z(""),[h,f]=z("");H(()=>{let x=!1;return l(null),kv(e).then(b=>{x||r(b)}).catch(b=>{x||l(b instanceof Error?b.message:"Failed to load articles")}),()=>{x=!0}},[e]),H(()=>{const x=s.trim();if(x.length<Rc){f("");return}const b=window.setTimeout(()=>f(x),jv);return()=>window.clearTimeout(b)},[s]);const m=ve(()=>Nv((o==null?void 0:o.nodes)??[]),[o]),g=ve(()=>Tv(t,m),[t,m]),_=t===null,k=_&&h.length>=Rc;return i?p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-sm text-muted-foreground",children:i}):o?p("div",{className:"flex min-h-0 flex-1 flex-col",children:[_?p(wv,{value:s,onChange:u,placeholder:"Search articles…"}):null,k?p(Cv,{channelId:e,query:h}):p(Sv,{rows:g,onPush:n.push})]}):p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-xs text-muted-foreground",children:"Loading…"})}function Sv({rows:e,onPush:t}){return e.length===0?p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-sm text-muted-foreground",children:"Nothing here yet"}):p("div",{className:"flex min-h-0 flex-1 flex-col gap-1 overflow-y-auto p-3",children:e.map(n=>{var r,i;if(n.kind==="header"){const l=n.node.emoji?((r=wn(n.node.emoji))==null?void 0:r.icon)??null:null;return p("div",{className:"flex items-center gap-1.5 px-3 pb-1 pt-3 text-[11px] font-semibold uppercase tracking-wide text-muted-foreground",children:[l?p(l,{className:"size-3.5","aria-hidden":"true"}):null,p("span",{children:n.node.title})]},n.node.id)}const o=n.node.emoji?((i=wn(n.node.emoji))==null?void 0:i.icon)??(n.hasChildren?Uo:jt):n.hasChildren?Uo:jt;return p("button",{type:"button",onClick:()=>{n.hasChildren?t({id:n.node.id,label:n.node.title,view:"kb-section",params:{sectionId:n.node.id}}):t({id:n.node.id,label:n.node.title,view:"kb-article",params:{articleId:n.node.id}})},className:he("group flex w-full items-center gap-3 rounded-lg border border-[color:var(--auxx-chat-hairline)] bg-card px-3 py-2.5 text-left transition-colors hover:bg-[color:var(--auxx-chat-surface-loud)]"),children:[p("span",{className:"flex size-5 shrink-0 items-center justify-center",children:p(o,{className:"size-4 text-muted-foreground","aria-hidden":"true"})}),p("span",{className:"min-w-0 flex-1 truncate text-sm text-foreground",children:n.node.title}),p(En,{className:"size-4 shrink-0 text-muted-foreground transition-transform group-hover:translate-x-0.5","aria-hidden":"true"})]},n.node.id)})})}function Cv({channelId:e,query:t}){const n=cn(),[o,r]=z(null),[i,l]=z(!1),[s,u]=z(null);return H(()=>{const h=new AbortController;return l(!0),u(null),qr(e).search(t,h.signal).then(f=>{h.signal.aborted||(r(f.results),l(!1))}).catch(f=>{h.signal.aborted||f instanceof DOMException&&f.name==="AbortError"||(u(f instanceof Error?f.message:"Search failed"),l(!1))}),()=>h.abort()},[e,t]),i&&!o?p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-sm text-muted-foreground",children:p(Eh,{className:"size-4 animate-spin","aria-hidden":"true"})}):s?p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-sm text-muted-foreground",children:s}):!o||o.length===0?p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-sm text-muted-foreground",children:["No results for “",t,"”"]}):p("div",{className:"flex min-h-0 flex-1 flex-col gap-1 overflow-y-auto p-3",children:o.map(h=>{var m;const f=h.emoji?((m=wn(h.emoji))==null?void 0:m.icon)??jt:jt;return p("button",{type:"button",onClick:()=>n.push({id:h.id,label:h.title,view:"kb-article",params:{articleId:h.id}}),className:he("group flex w-full items-center gap-3 rounded-lg border border-[color:var(--auxx-chat-hairline)] bg-card px-3 py-2.5 text-left transition-colors hover:bg-[color:var(--auxx-chat-surface-loud)]"),children:[p("span",{className:"flex size-5 shrink-0 items-center justify-center",children:p(f,{className:"size-4 text-muted-foreground","aria-hidden":"true"})}),p("span",{className:"min-w-0 flex-1 truncate text-sm text-foreground",children:h.title}),p(En,{className:"size-4 shrink-0 text-muted-foreground transition-transform group-hover:translate-x-0.5","aria-hidden":"true"})]},h.id)})})}function Nv(e){const t=new Map;for(const n of e){const o=n.parentId??null,r=t.get(o);r?r.push(n):t.set(o,[n])}return t}function Tv(e,t){const n=t.get(e)??[],o=[];for(const r of n){if(r.articleKind==="tab"){const i=t.get(r.id)??[];for(const l of i)o.push(Lc(l,t));continue}if(r.articleKind==="header"){o.push({kind:"header",node:r});continue}o.push(Lc(r,t))}return o}function Lc(e,t){return e.articleKind==="header"?{kind:"header",node:e}:{kind:"page",node:e,hasChildren:(t.get(e.id)??[]).length>0}}function Mv({channelId:e,config:t,subscribe:n}){var C,P;const o=cn(),r=Mt(e),[i,l]=z([]),[s,u]=z(null),[h,f]=z(!1),[m,g]=z(null),[_,k]=z(!1),x=D(null);H(()=>{let T=!1;return f(!0),r.listThreads(null).then(A=>{T||(l(A.items),u(A.nextCursor),g(null))}).catch(A=>{T||g(A instanceof Error?A.message:"Failed to load conversations")}).finally(()=>{T||f(!1)}),()=>{T=!0}},[e]),H(()=>{if(!s)return;const T=x.current;if(!T)return;const A=new IntersectionObserver(M=>{M.some(E=>E.isIntersecting)&&!h&&(f(!0),r.listThreads(s).then(E=>{l(R=>[...R,...E.items]),u(E.nextCursor)}).catch(()=>{}).finally(()=>f(!1)))},{rootMargin:"120px"});return A.observe(T),()=>A.disconnect()},[s,h,e]),H(()=>{if(!n)return;const T=n.onThreadUpdated(M=>{l(E=>{const R=E.find(I=>I.id===M.threadId);return R?[{...R,lastMessage:{snippet:M.lastMessage.snippet,sentAt:M.lastMessage.sentAt,isInbound:M.lastMessage.sender==="USER"},updatedAt:M.lastMessage.sentAt},...E.filter(I=>I.id!==M.threadId)]:(r.listThreads(null).then(I=>{l(I.items),u(I.nextCursor)}).catch(()=>{}),E)})}),A=n.onThreadCreated(M=>{l(E=>E.some(G=>G.id===M.threadId)?E:[{id:M.threadId,agent:null,lastMessage:{snippet:"",sentAt:M.createdAt,isInbound:!1},updatedAt:M.createdAt},...E])});return()=>{T(),A()}},[n,e]);const b=B((T,A)=>{o.push({id:T,label:A,view:"thread",params:{threadId:T}})},[o]),y=((C=t.agent)==null?void 0:C.name)??"Support",S=((P=t.agent)==null?void 0:P.avatarUrl)??null,N=B(async()=>{var T;if(!_){k(!0);try{const A=((T=await r.getRecentThread().catch(()=>null))==null?void 0:T.thread)??null;if(A&&!A.lastMessage){b(A.id,A.subject||y);return}const{threadId:M}=await r.createThread({url:typeof window<"u"?window.location.href:void 0,referrer:typeof document<"u"&&document.referrer||void 0,userAgent:typeof navigator<"u"?navigator.userAgent:void 0});b(M,y)}finally{k(!1)}}},[r,_,b,y]);return h&&i.length===0?p(po,{children:p("div",{className:"flex flex-1 items-center justify-center text-xs text-muted-foreground",children:"Loading…"})}):m&&i.length===0?p(po,{children:p("div",{className:"flex flex-1 items-center justify-center px-6 text-center text-sm text-muted-foreground",children:m})}):i.length===0?p(po,{children:[p("div",{className:"flex flex-1 flex-col items-center justify-center gap-3 px-6 text-center",children:[p("div",{className:"flex size-12 items-center justify-center rounded-full bg-muted",children:p(Ra,{className:"size-6 text-muted-foreground","aria-hidden":"true"})}),p("div",{className:"flex flex-col gap-1",children:[p("p",{className:"text-sm font-medium text-foreground",children:"No conversations yet"}),p("p",{className:"text-xs text-muted-foreground",children:"Start one and we'll get back to you soon."})]})]}),p(zc,{onClick:N,disabled:_})]}):p(po,{children:[p("div",{className:"flex min-h-0 flex-1 flex-col gap-1 overflow-y-auto p-2",children:[i.map(T=>{const A=hl(e,T.id),M=!T.lastMessage.isInbound&&(!A||new Date(T.lastMessage.sentAt)>new Date(A));return p(Av,{thread:T,isUnread:M,fallbackName:y,fallbackAvatarUrl:S,onOpen:()=>{var E;return b(T.id,((E=T.agent)==null?void 0:E.name)??y)}},T.id)}),s?p("div",{ref:x,className:"h-6"}):null]}),p(zc,{onClick:N,disabled:_})]})}function po({children:e}){return p("div",{className:"auxx-chat-frame relative flex min-h-0 flex-1 flex-col",children:e})}function Av({thread:e,isUnread:t,fallbackName:n,fallbackAvatarUrl:o,onOpen:r}){var u,h;const i=Ev(e.lastMessage.sentAt),l=((u=e.agent)==null?void 0:u.name)??n,s=((h=e.agent)==null?void 0:h.avatarUrl)??o;return p("button",{type:"button",onClick:r,className:he("flex w-full items-start gap-3 rounded-lg border border-border px-3 py-2.5 text-left transition-colors hover:bg-[color:var(--auxx-chat-surface-dark-faint)]"),children:[p(Pv,{avatarUrl:s}),p("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[p("div",{className:"flex items-center justify-between gap-2",children:[p("span",{className:"truncate text-sm font-medium text-foreground",children:l}),p("span",{className:"shrink-0 text-[11px] text-muted-foreground",children:i})]}),p("div",{className:"flex items-center gap-2",children:[p("span",{className:he("min-w-0 flex-1 truncate text-xs",t?"font-medium text-foreground":"text-muted-foreground"),children:[e.lastMessage.isInbound?"You: ":"",e.lastMessage.snippet||"No messages yet"]}),t?p("span",{className:"size-2 shrink-0 rounded-full bg-primary","aria-label":"Unread"}):null]})]})]})}function Pv({avatarUrl:e}){return e?p("img",{src:e,alt:"",className:"size-9 shrink-0 rounded-full object-cover"}):p("div",{className:"flex size-9 shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground",children:p(Wo,{className:"size-4","aria-hidden":"true"})})}function zc({onClick:e,disabled:t}){return p("div",{className:"pointer-events-none absolute inset-x-0 bottom-3 flex justify-center",children:p("button",{type:"button",onClick:e,disabled:t,className:"pointer-events-auto inline-flex items-center gap-2 rounded-full bg-primary px-4 py-2 text-sm font-medium text-primary-foreground shadow-md transition-opacity hover:brightness-110 disabled:opacity-50",children:[p(Ia,{className:"size-4","aria-hidden":"true"}),"Send us a message"]})})}function Ev(e){const t=Date.parse(e);if(Number.isNaN(t))return"";const n=Date.now()-t,o=6e4,r=60*o,i=24*r;return n<o?"now":n<r?`${Math.floor(n/o)}m`:n<i?`${Math.floor(n/r)}h`:n<7*i?`${Math.floor(n/i)}d`:new Date(t).toLocaleDateString()}const en=8;function Vr(e,t,n){const o=Math.max(en,window.innerWidth-t-en),r=Math.max(en,window.innerHeight-n-en);return{x:Math.min(Math.max(en,e.x),o),y:Math.min(Math.max(en,e.y),r)}}function $v(e,t){let n=e instanceof Node?e:null;for(;n&&n!==t;){if(n instanceof HTMLElement){if(n.dataset.noDrag!==void 0)return!0;const o=n.tagName;if(o==="BUTTON"||o==="A"||o==="INPUT"||o==="TEXTAREA"||o==="SELECT"||o==="LABEL"||n.getAttribute("role")==="button")return!0}n=n.parentNode}return!1}function Rv({enabled:e,shellEl:t,headerEl:n,position:o,onPositionChange:r}){const i=D(o),l=D(r);H(()=>{i.current=o},[o]),H(()=>{l.current=r},[r]),H(()=>{if(!e||!n||!t)return;let s=!1,u=-1,h=0,f=0,m=0,g=0,_=0,k=0;const x=N=>{if(N.pointerType==="mouse"&&N.button!==0||$v(N.target,n))return;const C=i.current;if(!C)return;const P=t.getBoundingClientRect();_=P.width,k=P.height,h=N.clientX,f=N.clientY,m=C.x,g=C.y,u=N.pointerId,s=!0,n.classList.add("is-dragging");try{n.setPointerCapture(u)}catch{}N.preventDefault()},b=N=>{if(!s||N.pointerId!==u)return;const C=Vr({x:m+(N.clientX-h),y:g+(N.clientY-f)},_,k);l.current(C)},y=N=>{if(!(!s||N.pointerId!==u)){s=!1,n.classList.remove("is-dragging");try{n.releasePointerCapture(u)}catch{}}},S=()=>{const N=i.current;if(!N)return;const C=t.getBoundingClientRect();l.current(Vr(N,C.width,C.height))};return n.classList.add("auxx-chat-drag-handle"),n.addEventListener("pointerdown",x),n.addEventListener("pointermove",b),n.addEventListener("pointerup",y),n.addEventListener("pointercancel",y),window.addEventListener("resize",S),()=>{n.removeEventListener("pointerdown",x),n.removeEventListener("pointermove",b),n.removeEventListener("pointerup",y),n.removeEventListener("pointercancel",y),window.removeEventListener("resize",S),n.classList.remove("is-dragging"),n.classList.remove("auxx-chat-drag-handle")}},[e,t,n])}const Ic="auxx-chat-expanded:",Dc=["home","messages","help"];function Ov(e){const t=D(e);let n="from-right";const o=t.current;if(o.activeTab!==e.activeTab){const r=Dc.indexOf(o.activeTab);n=Dc.indexOf(e.activeTab)>r?"from-right":"from-left"}else e.stackLength<o.stackLength&&(n="from-left");return $e(()=>{t.current=e}),n}function Lv(e){try{return window.localStorage.getItem(`${Ic}${e}`)==="1"}catch{return!1}}function zv(e,t){try{window.localStorage.setItem(`${Ic}${e}`,t?"1":"0")}catch{}}function Iv({channelId:e,cacheBust:t=null,scriptTheme:n}){var Te,Ee,He,Rt;const[o,r]=z(null),[i,l]=z(!1),[s,u]=z(null),[h,f]=z(0),[m,g]=z(!1),[_,k]=z(null),[x,b]=z(null),[y,S]=z(null),N=B(J=>{b(J)},[]),C=B(J=>{S(J||(me=>me&&me.isConnected?me:null))},[]),P=Nd(),T=gf({scriptTheme:n,adminTheme:(o==null?void 0:o.appearance.theme)??"light"}),A=o?ff(o.appearance.primaryColorDark??o.appearance.primaryColor):null,M=(o==null?void 0:o.appearance.primaryColor)??null,E=(o==null?void 0:o.appearance.primaryColorDark)??null,R=(o==null?void 0:o.appearance.headerColor)??null,G=(o==null?void 0:o.appearance.headerColorDark)??null;H(()=>{const J=P==null?void 0:P.querySelector(".auxx-root");J&&(J.setAttribute("data-theme",T),mf()&&J.setAttribute("data-preview-rounded","true"),M&&J.style.setProperty("--auxx-chat-primary",M),A!==null&&J.style.setProperty("--auxx-chat-tint-h",String(A)),E?J.style.setProperty("--auxx-chat-primary-dark",E):J.style.removeProperty("--auxx-chat-primary-dark"),R?J.style.setProperty("--auxx-chat-header",R):J.style.removeProperty("--auxx-chat-header"),G?J.style.setProperty("--auxx-chat-header-dark",G):J.style.removeProperty("--auxx-chat-header-dark"))},[P,T,M,A,E,R,G]);const I=lf(e),ie=D(null);H(()=>{Cf(e,t).then(J=>{r(J),(J.appearance.autoOpen||pf())&&l(!0)}).catch(J=>u(J instanceof Error?J.message:"Failed to load chat"))},[e,t]),H(()=>{o&&o.home.knowledgeBase===null&&I.activeTab==="help"&&I.setActiveTab("home")},[o,I.activeTab,I.setActiveTab]),H(()=>{if(!o)return;let J=!1,me=null,dt=null;const Be=async()=>{try{const Ue=await Mt(e).listThreads(null);if(J)return;dt=Ue,f(Fc(e,Ue.items))}catch{}};return(async()=>{try{if(me=await Pf(e,o),J){me==null||me.disconnect();return}ie.current={onThreadUpdated:me.onThreadUpdated,onThreadCreated:me.onThreadCreated},me.onThreadUpdated(()=>Be()),me.onThreadCreated(()=>Be()),Be()}catch(Ue){J||console.warn("[auxx-chat-widget] visitor channel failed",Ue)}})(),()=>{J=!0,me==null||me.disconnect(),ie.current=null}},[e,o]),H(()=>{if(!i)return;Mt(e).listThreads(null).then(me=>f(Fc(e,me.items))).catch(()=>{})},[e,i,I.activeTab,(Te=I.currentStack.current)==null?void 0:Te.id]);const le=B(()=>{g(J=>{const me=!J;return zv(e,me),me})},[e]),de=((Ee=I.currentStack.current)==null?void 0:Ee.view)??I.activeTab;H(()=>{_||g(de==="thread"?Lv(e):!1)},[de,e,_]);const[X,ae]=z(!1),[K,F]=z(!1),O=D(null),ce=D(null);H(()=>()=>{O.current!==null&&window.clearTimeout(O.current),ce.current!==null&&window.clearTimeout(ce.current)},[]);const ge=B(()=>{if(K)return;if(_){if(!x){k(null);return}const dt=x.getBoundingClientRect(),Be=(o==null?void 0:o.appearance.position.toLowerCase().includes("left"))??!1,Ue=20,Gr={x:Be?Ue:Math.max(Ue,window.innerWidth-dt.width-Ue),y:Math.max(Ue,window.innerHeight-dt.height-Ue)};F(!0),k(Gr),O.current!==null&&window.clearTimeout(O.current),O.current=window.setTimeout(()=>{k(null),F(!1),O.current=null},340);return}const J=x==null?void 0:x.getBoundingClientRect(),me=J?Vr({x:J.left,y:J.top},J.width,J.height):{x:20,y:20};g(!1),k(me),ae(!0),ce.current!==null&&window.clearTimeout(ce.current),ce.current=window.setTimeout(()=>{ae(!1),ce.current=null},1600*2)},[K,_,x,o==null?void 0:o.appearance.position]),Fe=B(()=>{l(!1),k(null),ae(!1),F(!1),O.current!==null&&(window.clearTimeout(O.current),O.current=null),ce.current!==null&&(window.clearTimeout(ce.current),ce.current=null)},[]),ke=i&&_!==null;Rv({enabled:ke&&!K,shellEl:x,headerEl:y,position:_,onPositionChange:k});const re=Ov({activeTab:I.activeTab,stackLength:I.currentStack.stack.length,currentId:((He=I.currentStack.current)==null?void 0:He.id)??null});if(!o)return null;const te=ke?"auxx-chat-shell--floating":o.appearance.position.toLowerCase().includes("left")?"auxx-chat-shell--bottom-left":"auxx-chat-shell--bottom-right",je=i?"auxx-chat-shell--open":"auxx-chat-shell--closed",ze=i&&m&&!ke?"auxx-chat-shell--expanded":"",Y=X&&ke?"auxx-chat-shell--bobbing":"",Ie=K?"auxx-chat-shell--docking":"",Pe={};return ke&&_&&(Pe.left=`${_.x}px`,Pe.top=`${_.y}px`,Pe.right="auto",Pe.bottom="auto"),p("div",{className:"auxx-chat-root","data-theme":T,children:p("div",{ref:N,className:`auxx-chat-shell ${je} ${te} ${ze} ${Y} ${Ie}`,style:Pe,children:[p("button",{type:"button",className:"auxx-chat-shell__trigger",onClick:()=>l(J=>!J),"aria-label":i?"Close chat":"Open chat","aria-expanded":i,tabIndex:i?-1:0}),p("span",{className:"auxx-chat-shell__icon","aria-hidden":"true",children:p("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:p("path",{d:"M20 2H4a2 2 0 0 0-2 2v18l4-4h14a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2z"})})}),!i&&h>0?p("span",{className:"auxx-chat-shell__badge","aria-label":`${h} unread`,children:h>9?"9+":h}):null,p("div",{className:"auxx-chat-shell__panel",role:"dialog","aria-modal":"false","aria-label":o.appearance.title,"aria-hidden":!i,children:p(tf,{value:I.currentStack,children:[p(Qm,{viewKey:`${I.activeTab}|${((Rt=I.currentStack.current)==null?void 0:Rt.id)??"root"}`,direction:re,children:p(Dv,{channelId:e,config:o,resolvedTheme:T,activeTab:I.activeTab,currentFrame:I.currentStack.current,isAtRoot:I.currentStack.isAtRoot,onBack:I.currentStack.pop,onClose:Fe,error:s,subscribe:ie.current??void 0,expanded:m,onToggleExpanded:le,floating:ke,onToggleFloating:ge,headerRef:C})}),I.currentStack.isAtRoot?p(ef,{activeTab:I.activeTab,onChange:I.setActiveTab,showHelp:o.home.knowledgeBase!==null}):null]})})]})})}function Dv({channelId:e,config:t,resolvedTheme:n,activeTab:o,currentFrame:r,isAtRoot:i,onBack:l,onClose:s,error:u,subscribe:h,expanded:f,onToggleExpanded:m,floating:g,onToggleFloating:_,headerRef:k}){var N;const x=(r==null?void 0:r.view)??o,b=Fv(x,i),y=x==="thread"&&typeof((N=r==null?void 0:r.params)==null?void 0:N.threadId)=="string"?r.params.threadId:null;return p("div",{className:"auxx-chat-frame flex h-full flex-col",children:[x==="home"&&i?null:p(Zm,{variant:b,title:Hv(x,r,t),subtitle:x==="thread"?t.appearance.subtitle??void 0:void 0,logoLight:t.appearance.logoLight,logoDark:t.appearance.logoDark,resolvedTheme:n,onBack:i?void 0:l,onClose:s,floating:g,onToggleFloating:_,headerRef:k,actions:y?p(sv,{channelId:e,threadId:y,expanded:f,onToggleExpanded:m,allowDownloadTranscript:t.allowDownloadTranscript,floating:g}):void 0}),u?p("div",{className:"px-2.5 py-1.5 text-center text-xs text-destructive",role:"alert",children:u}):null,p("div",{className:"auxx-chat-frame flex min-h-0 flex-1 flex-col",children:Bv(x,r,e,t,n,h,s,g,_,k)})]})}function Fv(e,t){return t?e==="home"?"dark-hero":"plain":"contextual"}function Hv(e,t,n){var o;return t?t.label:e==="home"?n.appearance.title:e==="messages"?"Messages":e==="help"?((o=n.home.knowledgeBase)==null?void 0:o.siteName)??"Help":""}function Bv(e,t,n,o,r,i,l,s,u,h){var f,m,g;switch(e){case"home":return p(gv,{channelId:n,config:o,resolvedTheme:r,onClose:l,floating:s,onToggleFloating:u,headerRef:h});case"messages":return p(Mv,{channelId:n,subscribe:i,config:o});case"help":return p(Oc,{channelId:n,sectionId:null});case"thread":{const _=(f=t==null?void 0:t.params)==null?void 0:f.threadId;return typeof _!="string"?null:p(ev,{channelId:n,threadId:_,config:o})}case"kb-section":{const _=(m=t==null?void 0:t.params)==null?void 0:m.sectionId;return p(Oc,{channelId:n,sectionId:typeof _=="string"?_:null})}case"kb-article":{const _=(g=t==null?void 0:t.params)==null?void 0:g.articleId;return typeof _!="string"?null:p(_v,{channelId:n,articleId:_})}}}function Fc(e,t){let n=0;for(const o of t){if(o.lastMessage.isInbound)continue;const r=hl(e,o.id);(!r||new Date(o.lastMessage.sentAt)>new Date(r))&&(n+=1)}return n}function Uv(){const e=document.currentScript;if(e&&e.dataset.channelId)return e;const t=document.querySelectorAll("script[data-channel-id]");return t[t.length-1]??null}const qv=["light","dark","system"];function Wv(e){if(e&&qv.includes(e))return e}function Hc(e,t,n){gd(e),Md(p(Iv,{channelId:e,cacheBust:t,scriptTheme:n}))}function Vv(){const e=Uv(),t=e==null?void 0:e.dataset.channelId;if(!t){console.error("[auxx-chat-widget] missing data-channel-id on script tag");return}const n=(e==null?void 0:e.dataset.v)??null,o=Wv(e==null?void 0:e.dataset.theme);document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>Hc(t,n,o),{once:!0}):Hc(t,n,o)}Vv()})();
|
|
1108
|
+
`)},cg=0,Gt=[];function dg(e){var t=D([]),n=D([0,0]),o=D(),r=z(cg++)[0],i=z(Ul)[0],l=D(e);H(function(){l.current=e},[e]),H(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var x=Pb([e.lockRef.current],(e.shards||[]).map(Yl),!0).filter(Boolean);return x.forEach(function(b){return b.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),x.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var s=B(function(x,b){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!l.current.allowPinchZoom;var y=qn(x),S=n.current,N="deltaX"in x?x.deltaX:S[0]-y[0],C="deltaY"in x?x.deltaY:S[1]-y[1],P,T=x.target,A=Math.abs(N)>Math.abs(C)?"h":"v";if("touches"in x&&A==="h"&&T.type==="range")return!1;var M=window.getSelection(),E=M&&M.anchorNode,R=E?E===T||E.contains(T):!1;if(R)return!1;var G=Vl(A,T);if(!G)return!0;if(G?P=A:(P=A==="v"?"h":"v",G=Vl(A,T)),!G)return!1;if(!o.current&&"changedTouches"in x&&(N||C)&&(o.current=P),!P)return!0;var I=o.current||P;return ag(I,b,x,I==="h"?N:C)},[]),u=B(function(x){var b=x;if(!(!Gt.length||Gt[Gt.length-1]!==i)){var y="deltaY"in b?Xl(b):qn(b),S=t.current.filter(function(P){return P.name===b.type&&(P.target===b.target||b.target===P.shadowParent)&&lg(P.delta,y)})[0];if(S&&S.should){b.cancelable&&b.preventDefault();return}if(!S){var N=(l.current.shards||[]).map(Yl).filter(Boolean).filter(function(P){return P.contains(b.target)}),C=N.length>0?s(b,N[0]):!l.current.noIsolation;C&&b.cancelable&&b.preventDefault()}}},[]),h=B(function(x,b,y,S){var N={name:x,delta:b,target:y,should:S,shadowParent:ug(y)};t.current.push(N),setTimeout(function(){t.current=t.current.filter(function(C){return C!==N})},1)},[]),f=B(function(x){n.current=qn(x),o.current=void 0},[]),m=B(function(x){h(x.type,Xl(x),x.target,s(x,e.lockRef.current))},[]),g=B(function(x){h(x.type,qn(x),x.target,s(x,e.lockRef.current))},[]);H(function(){return Gt.push(i),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:g}),document.addEventListener("wheel",u,Vt),document.addEventListener("touchmove",u,Vt),document.addEventListener("touchstart",f,Vt),function(){Gt=Gt.filter(function(x){return x!==i}),document.removeEventListener("wheel",u,Vt),document.removeEventListener("touchmove",u,Vt),document.removeEventListener("touchstart",f,Vt)}},[]);var _=e.removeScrollBar,k=e.inert;return fe(xe,null,k?fe(i,{styles:sg(r)}):null,_?fe(Qb,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function ug(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const hg=Fb(Bl,dg);var br=V(function(e,t){return fe(Bn,Xe({},e,{ref:t,sideCar:hg}))});br.classNames=Bn.classNames;var pg=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Kt=new WeakMap,Wn=new WeakMap,Vn={},gr=0,Jl=function(e){return e&&(e.host||Jl(e.parentNode))},mg=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=Jl(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},fg=function(e,t,n,o){var r=mg(t,Array.isArray(e)?e:[e]);Vn[n]||(Vn[n]=new WeakMap);var i=Vn[n],l=[],s=new Set,u=new Set(r),h=function(m){!m||s.has(m)||(s.add(m),h(m.parentNode))};r.forEach(h);var f=function(m){!m||u.has(m)||Array.prototype.forEach.call(m.children,function(g){if(s.has(g))f(g);else try{var _=g.getAttribute(o),k=_!==null&&_!=="false",x=(Kt.get(g)||0)+1,b=(i.get(g)||0)+1;Kt.set(g,x),i.set(g,b),l.push(g),x===1&&k&&Wn.set(g,!0),b===1&&g.setAttribute(n,"true"),k||g.setAttribute(o,"true")}catch(y){console.error("aria-hidden: cannot operate on ",g,y)}})};return f(t),s.clear(),gr++,function(){l.forEach(function(m){var g=Kt.get(m)-1,_=i.get(m)-1;Kt.set(m,g),i.set(m,_),g||(Wn.has(m)||m.removeAttribute(o),Wn.delete(m)),_||m.removeAttribute(n)}),gr--,gr||(Kt=new WeakMap,Kt=new WeakMap,Wn=new WeakMap,Vn={})}},Zl=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=pg(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),fg(o,r,n,"aria-hidden")):function(){return null}};function bg(e){const[t,n]=z(void 0);return gt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const i=r[0];let l,s;if("borderBoxSize"in i){const u=i.borderBoxSize,h=Array.isArray(u)?u[0]:u;l=h.inlineSize,s=h.blockSize}else l=e.offsetWidth,s=e.offsetHeight;n({width:l,height:s})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}const gg=["top","right","bottom","left"],vt=Math.min,Oe=Math.max,Gn=Math.round,Kn=Math.floor,Ye=e=>({x:e,y:e}),_g={left:"right",right:"left",bottom:"top",top:"bottom"},vg={start:"end",end:"start"};function _r(e,t,n){return Oe(e,vt(t,n))}function st(e,t){return typeof e=="function"?e(t):e}function ct(e){return e.split("-")[0]}function Xt(e){return e.split("-")[1]}function vr(e){return e==="x"?"y":"x"}function xr(e){return e==="y"?"height":"width"}const xg=new Set(["top","bottom"]);function Je(e){return xg.has(ct(e))?"y":"x"}function yr(e){return vr(Je(e))}function yg(e,t,n){n===void 0&&(n=!1);const o=Xt(e),r=yr(e),i=xr(r);let l=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Xn(l)),[l,Xn(l)]}function wg(e){const t=Xn(e);return[wr(e),t,wr(t)]}function wr(e){return e.replace(/start|end/g,t=>vg[t])}const Ql=["left","right"],es=["right","left"],kg=["top","bottom"],jg=["bottom","top"];function Sg(e,t,n){switch(e){case"top":case"bottom":return n?t?es:Ql:t?Ql:es;case"left":case"right":return t?kg:jg;default:return[]}}function Cg(e,t,n,o){const r=Xt(e);let i=Sg(ct(e),n==="start",o);return r&&(i=i.map(l=>l+"-"+r),t&&(i=i.concat(i.map(wr)))),i}function Xn(e){return e.replace(/left|right|bottom|top/g,t=>_g[t])}function Ng(e){return{top:0,right:0,bottom:0,left:0,...e}}function ts(e){return typeof e!="number"?Ng(e):{top:e,right:e,bottom:e,left:e}}function Yn(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function ns(e,t,n){let{reference:o,floating:r}=e;const i=Je(t),l=yr(t),s=xr(l),u=ct(t),h=i==="y",f=o.x+o.width/2-r.width/2,m=o.y+o.height/2-r.height/2,g=o[s]/2-r[s]/2;let _;switch(u){case"top":_={x:f,y:o.y-r.height};break;case"bottom":_={x:f,y:o.y+o.height};break;case"right":_={x:o.x+o.width,y:m};break;case"left":_={x:o.x-r.width,y:m};break;default:_={x:o.x,y:o.y}}switch(Xt(t)){case"start":_[l]-=g*(n&&h?-1:1);break;case"end":_[l]+=g*(n&&h?-1:1);break}return _}async function Tg(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:l,elements:s,strategy:u}=e,{boundary:h="clippingAncestors",rootBoundary:f="viewport",elementContext:m="floating",altBoundary:g=!1,padding:_=0}=st(t,e),k=ts(_),b=s[g?m==="floating"?"reference":"floating":m],y=Yn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:h,rootBoundary:f,strategy:u})),S=m==="floating"?{x:o,y:r,width:l.floating.width,height:l.floating.height}:l.reference,N=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),C=await(i.isElement==null?void 0:i.isElement(N))?await(i.getScale==null?void 0:i.getScale(N))||{x:1,y:1}:{x:1,y:1},P=Yn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:S,offsetParent:N,strategy:u}):S);return{top:(y.top-P.top+k.top)/C.y,bottom:(P.bottom-y.bottom+k.bottom)/C.y,left:(y.left-P.left+k.left)/C.x,right:(P.right-y.right+k.right)/C.x}}const Mg=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(t));let h=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:m}=ns(h,o,u),g=o,_={},k=0;for(let b=0;b<s.length;b++){var x;const{name:y,fn:S}=s[b],{x:N,y:C,data:P,reset:T}=await S({x:f,y:m,initialPlacement:o,placement:g,strategy:r,middlewareData:_,rects:h,platform:{...l,detectOverflow:(x=l.detectOverflow)!=null?x:Tg},elements:{reference:e,floating:t}});f=N??f,m=C??m,_={..._,[y]:{..._[y],...P}},T&&k<=50&&(k++,typeof T=="object"&&(T.placement&&(g=T.placement),T.rects&&(h=T.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:r}):T.rects),{x:f,y:m}=ns(h,g,u)),b=-1)}return{x:f,y:m,placement:g,strategy:r,middlewareData:_}},Ag=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:l,elements:s,middlewareData:u}=t,{element:h,padding:f=0}=st(e,t)||{};if(h==null)return{};const m=ts(f),g={x:n,y:o},_=yr(r),k=xr(_),x=await l.getDimensions(h),b=_==="y",y=b?"top":"left",S=b?"bottom":"right",N=b?"clientHeight":"clientWidth",C=i.reference[k]+i.reference[_]-g[_]-i.floating[k],P=g[_]-i.reference[_],T=await(l.getOffsetParent==null?void 0:l.getOffsetParent(h));let A=T?T[N]:0;(!A||!await(l.isElement==null?void 0:l.isElement(T)))&&(A=s.floating[N]||i.floating[k]);const M=C/2-P/2,E=A/2-x[k]/2-1,R=vt(m[y],E),G=vt(m[S],E),I=R,ie=A-x[k]-G,le=A/2-x[k]/2+M,de=_r(I,le,ie),X=!u.arrow&&Xt(r)!=null&&le!==de&&i.reference[k]/2-(le<I?R:G)-x[k]/2<0,ae=X?le<I?le-I:le-ie:0;return{[_]:g[_]+ae,data:{[_]:de,centerOffset:le-de-ae,...X&&{alignmentOffset:ae}},reset:X}}}),Pg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:l,initialPlacement:s,platform:u,elements:h}=t,{mainAxis:f=!0,crossAxis:m=!0,fallbackPlacements:g,fallbackStrategy:_="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:x=!0,...b}=st(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=ct(r),S=Je(s),N=ct(s)===s,C=await(u.isRTL==null?void 0:u.isRTL(h.floating)),P=g||(N||!x?[Xn(s)]:wg(s)),T=k!=="none";!g&&T&&P.push(...Cg(s,x,k,C));const A=[s,...P],M=await u.detectOverflow(t,b),E=[];let R=((o=i.flip)==null?void 0:o.overflows)||[];if(f&&E.push(M[y]),m){const le=yg(r,l,C);E.push(M[le[0]],M[le[1]])}if(R=[...R,{placement:r,overflows:E}],!E.every(le=>le<=0)){var G,I;const le=(((G=i.flip)==null?void 0:G.index)||0)+1,de=A[le];if(de&&(!(m==="alignment"?S!==Je(de):!1)||R.every(K=>Je(K.placement)===S?K.overflows[0]>0:!0)))return{data:{index:le,overflows:R},reset:{placement:de}};let X=(I=R.filter(ae=>ae.overflows[0]<=0).sort((ae,K)=>ae.overflows[1]-K.overflows[1])[0])==null?void 0:I.placement;if(!X)switch(_){case"bestFit":{var ie;const ae=(ie=R.filter(K=>{if(T){const F=Je(K.placement);return F===S||F==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(F=>F>0).reduce((F,O)=>F+O,0)]).sort((K,F)=>K[1]-F[1])[0])==null?void 0:ie[0];ae&&(X=ae);break}case"initialPlacement":X=s;break}if(r!==X)return{reset:{placement:X}}}return{}}}};function os(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function rs(e){return gg.some(t=>e[t]>=0)}const Eg=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:o}=t,{strategy:r="referenceHidden",...i}=st(e,t);switch(r){case"referenceHidden":{const l=await o.detectOverflow(t,{...i,elementContext:"reference"}),s=os(l,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:rs(s)}}}case"escaped":{const l=await o.detectOverflow(t,{...i,altBoundary:!0}),s=os(l,n.floating);return{data:{escapedOffsets:s,escaped:rs(s)}}}default:return{}}}}},is=new Set(["left","top"]);async function $g(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),l=ct(n),s=Xt(n),u=Je(n)==="y",h=is.has(l)?-1:1,f=i&&u?-1:1,m=st(t,e);let{mainAxis:g,crossAxis:_,alignmentAxis:k}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return s&&typeof k=="number"&&(_=s==="end"?k*-1:k),u?{x:_*f,y:g*h}:{x:g*h,y:_*f}}const Rg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:l,middlewareData:s}=t,u=await $g(t,e);return l===((n=s.offset)==null?void 0:n.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:r+u.x,y:i+u.y,data:{...u,placement:l}}}}},Og=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r,platform:i}=t,{mainAxis:l=!0,crossAxis:s=!1,limiter:u={fn:y=>{let{x:S,y:N}=y;return{x:S,y:N}}},...h}=st(e,t),f={x:n,y:o},m=await i.detectOverflow(t,h),g=Je(ct(r)),_=vr(g);let k=f[_],x=f[g];if(l){const y=_==="y"?"top":"left",S=_==="y"?"bottom":"right",N=k+m[y],C=k-m[S];k=_r(N,k,C)}if(s){const y=g==="y"?"top":"left",S=g==="y"?"bottom":"right",N=x+m[y],C=x-m[S];x=_r(N,x,C)}const b=u.fn({...t,[_]:k,[g]:x});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[_]:l,[g]:s}}}}}},Lg=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:i,middlewareData:l}=t,{offset:s=0,mainAxis:u=!0,crossAxis:h=!0}=st(e,t),f={x:n,y:o},m=Je(r),g=vr(m);let _=f[g],k=f[m];const x=st(s,t),b=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(u){const N=g==="y"?"height":"width",C=i.reference[g]-i.floating[N]+b.mainAxis,P=i.reference[g]+i.reference[N]-b.mainAxis;_<C?_=C:_>P&&(_=P)}if(h){var y,S;const N=g==="y"?"width":"height",C=is.has(ct(r)),P=i.reference[m]-i.floating[N]+(C&&((y=l.offset)==null?void 0:y[m])||0)+(C?0:b.crossAxis),T=i.reference[m]+i.reference[N]+(C?0:((S=l.offset)==null?void 0:S[m])||0)-(C?b.crossAxis:0);k<P?k=P:k>T&&(k=T)}return{[g]:_,[m]:k}}}},zg=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:i,platform:l,elements:s}=t,{apply:u=()=>{},...h}=st(e,t),f=await l.detectOverflow(t,h),m=ct(r),g=Xt(r),_=Je(r)==="y",{width:k,height:x}=i.floating;let b,y;m==="top"||m==="bottom"?(b=m,y=g===(await(l.isRTL==null?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(y=m,b=g==="end"?"top":"bottom");const S=x-f.top-f.bottom,N=k-f.left-f.right,C=vt(x-f[b],S),P=vt(k-f[y],N),T=!t.middlewareData.shift;let A=C,M=P;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(M=N),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(A=S),T&&!g){const R=Oe(f.left,0),G=Oe(f.right,0),I=Oe(f.top,0),ie=Oe(f.bottom,0);_?M=k-2*(R!==0||G!==0?R+G:Oe(f.left,f.right)):A=x-2*(I!==0||ie!==0?I+ie:Oe(f.top,f.bottom))}await u({...t,availableWidth:M,availableHeight:A});const E=await l.getDimensions(s.floating);return k!==E.width||x!==E.height?{reset:{rects:!0}}:{}}}};function Jn(){return typeof window<"u"}function Yt(e){return as(e)?(e.nodeName||"").toLowerCase():"#document"}function Le(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ze(e){var t;return(t=(as(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function as(e){return Jn()?e instanceof Node||e instanceof Le(e).Node:!1}function We(e){return Jn()?e instanceof Element||e instanceof Le(e).Element:!1}function Qe(e){return Jn()?e instanceof HTMLElement||e instanceof Le(e).HTMLElement:!1}function ls(e){return!Jn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Le(e).ShadowRoot}const Ig=new Set(["inline","contents"]);function pn(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Ve(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!Ig.has(r)}const Dg=new Set(["table","td","th"]);function Fg(e){return Dg.has(Yt(e))}const Hg=[":popover-open",":modal"];function Zn(e){return Hg.some(t=>{try{return e.matches(t)}catch{return!1}})}const Bg=["transform","translate","scale","rotate","perspective"],Ug=["transform","translate","scale","rotate","perspective","filter"],qg=["paint","layout","strict","content"];function kr(e){const t=jr(),n=We(e)?Ve(e):e;return Bg.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Ug.some(o=>(n.willChange||"").includes(o))||qg.some(o=>(n.contain||"").includes(o))}function Wg(e){let t=xt(e);for(;Qe(t)&&!Jt(t);){if(kr(t))return t;if(Zn(t))return null;t=xt(t)}return null}function jr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Vg=new Set(["html","body","#document"]);function Jt(e){return Vg.has(Yt(e))}function Ve(e){return Le(e).getComputedStyle(e)}function Qn(e){return We(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function xt(e){if(Yt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ls(e)&&e.host||Ze(e);return ls(t)?t.host:t}function ss(e){const t=xt(e);return Jt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Qe(t)&&pn(t)?t:ss(t)}function mn(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=ss(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),l=Le(r);if(i){const s=Sr(l);return t.concat(l,l.visualViewport||[],pn(r)?r:[],s&&n?mn(s):[])}return t.concat(r,mn(r,[],n))}function Sr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function cs(e){const t=Ve(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Qe(e),i=r?e.offsetWidth:n,l=r?e.offsetHeight:o,s=Gn(n)!==i||Gn(o)!==l;return s&&(n=i,o=l),{width:n,height:o,$:s}}function Cr(e){return We(e)?e:e.contextElement}function Zt(e){const t=Cr(e);if(!Qe(t))return Ye(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=cs(t);let l=(i?Gn(n.width):n.width)/o,s=(i?Gn(n.height):n.height)/r;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const Gg=Ye(0);function ds(e){const t=Le(e);return!jr()||!t.visualViewport?Gg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Kg(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Le(e)?!1:t}function Pt(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=Cr(e);let l=Ye(1);t&&(o?We(o)&&(l=Zt(o)):l=Zt(e));const s=Kg(i,n,o)?ds(i):Ye(0);let u=(r.left+s.x)/l.x,h=(r.top+s.y)/l.y,f=r.width/l.x,m=r.height/l.y;if(i){const g=Le(i),_=o&&We(o)?Le(o):o;let k=g,x=Sr(k);for(;x&&o&&_!==k;){const b=Zt(x),y=x.getBoundingClientRect(),S=Ve(x),N=y.left+(x.clientLeft+parseFloat(S.paddingLeft))*b.x,C=y.top+(x.clientTop+parseFloat(S.paddingTop))*b.y;u*=b.x,h*=b.y,f*=b.x,m*=b.y,u+=N,h+=C,k=Le(x),x=Sr(k)}}return Yn({width:f,height:m,x:u,y:h})}function eo(e,t){const n=Qn(e).scrollLeft;return t?t.left+n:Pt(Ze(e)).left+n}function us(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-eo(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function Xg(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i=r==="fixed",l=Ze(o),s=t?Zn(t.floating):!1;if(o===l||s&&i)return n;let u={scrollLeft:0,scrollTop:0},h=Ye(1);const f=Ye(0),m=Qe(o);if((m||!m&&!i)&&((Yt(o)!=="body"||pn(l))&&(u=Qn(o)),Qe(o))){const _=Pt(o);h=Zt(o),f.x=_.x+o.clientLeft,f.y=_.y+o.clientTop}const g=l&&!m&&!i?us(l,u):Ye(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-u.scrollLeft*h.x+f.x+g.x,y:n.y*h.y-u.scrollTop*h.y+f.y+g.y}}function Yg(e){return Array.from(e.getClientRects())}function Jg(e){const t=Ze(e),n=Qn(e),o=e.ownerDocument.body,r=Oe(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=Oe(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+eo(e);const s=-n.scrollTop;return Ve(o).direction==="rtl"&&(l+=Oe(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:s}}const hs=25;function Zg(e,t){const n=Le(e),o=Ze(e),r=n.visualViewport;let i=o.clientWidth,l=o.clientHeight,s=0,u=0;if(r){i=r.width,l=r.height;const f=jr();(!f||f&&t==="fixed")&&(s=r.offsetLeft,u=r.offsetTop)}const h=eo(o);if(h<=0){const f=o.ownerDocument,m=f.body,g=getComputedStyle(m),_=f.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,k=Math.abs(o.clientWidth-m.clientWidth-_);k<=hs&&(i-=k)}else h<=hs&&(i+=h);return{width:i,height:l,x:s,y:u}}const Qg=new Set(["absolute","fixed"]);function e1(e,t){const n=Pt(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=Qe(e)?Zt(e):Ye(1),l=e.clientWidth*i.x,s=e.clientHeight*i.y,u=r*i.x,h=o*i.y;return{width:l,height:s,x:u,y:h}}function ps(e,t,n){let o;if(t==="viewport")o=Zg(e,n);else if(t==="document")o=Jg(Ze(e));else if(We(t))o=e1(t,n);else{const r=ds(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Yn(o)}function ms(e,t){const n=xt(e);return n===t||!We(n)||Jt(n)?!1:Ve(n).position==="fixed"||ms(n,t)}function t1(e,t){const n=t.get(e);if(n)return n;let o=mn(e,[],!1).filter(s=>We(s)&&Yt(s)!=="body"),r=null;const i=Ve(e).position==="fixed";let l=i?xt(e):e;for(;We(l)&&!Jt(l);){const s=Ve(l),u=kr(l);!u&&s.position==="fixed"&&(r=null),(i?!u&&!r:!u&&s.position==="static"&&!!r&&Qg.has(r.position)||pn(l)&&!u&&ms(e,l))?o=o.filter(f=>f!==l):r=s,l=xt(l)}return t.set(e,o),o}function n1(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const l=[...n==="clippingAncestors"?Zn(t)?[]:t1(t,this._c):[].concat(n),o],s=l[0],u=l.reduce((h,f)=>{const m=ps(t,f,r);return h.top=Oe(m.top,h.top),h.right=vt(m.right,h.right),h.bottom=vt(m.bottom,h.bottom),h.left=Oe(m.left,h.left),h},ps(t,s,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function o1(e){const{width:t,height:n}=cs(e);return{width:t,height:n}}function r1(e,t,n){const o=Qe(t),r=Ze(t),i=n==="fixed",l=Pt(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const u=Ye(0);function h(){u.x=eo(r)}if(o||!o&&!i)if((Yt(t)!=="body"||pn(r))&&(s=Qn(t)),o){const _=Pt(t,!0,i,t);u.x=_.x+t.clientLeft,u.y=_.y+t.clientTop}else r&&h();i&&!o&&r&&h();const f=r&&!o&&!i?us(r,s):Ye(0),m=l.left+s.scrollLeft-u.x-f.x,g=l.top+s.scrollTop-u.y-f.y;return{x:m,y:g,width:l.width,height:l.height}}function Nr(e){return Ve(e).position==="static"}function fs(e,t){if(!Qe(e)||Ve(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ze(e)===n&&(n=n.ownerDocument.body),n}function bs(e,t){const n=Le(e);if(Zn(e))return n;if(!Qe(e)){let r=xt(e);for(;r&&!Jt(r);){if(We(r)&&!Nr(r))return r;r=xt(r)}return n}let o=fs(e,t);for(;o&&Fg(o)&&Nr(o);)o=fs(o,t);return o&&Jt(o)&&Nr(o)&&!kr(o)?n:o||Wg(e)||n}const i1=async function(e){const t=this.getOffsetParent||bs,n=this.getDimensions,o=await n(e.floating);return{reference:r1(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function a1(e){return Ve(e).direction==="rtl"}const l1={convertOffsetParentRelativeRectToViewportRelativeRect:Xg,getDocumentElement:Ze,getClippingRect:n1,getOffsetParent:bs,getElementRects:i1,getClientRects:Yg,getDimensions:o1,getScale:Zt,isElement:We,isRTL:a1};function gs(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function s1(e,t){let n=null,o;const r=Ze(e);function i(){var s;clearTimeout(o),(s=n)==null||s.disconnect(),n=null}function l(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),i();const h=e.getBoundingClientRect(),{left:f,top:m,width:g,height:_}=h;if(s||t(),!g||!_)return;const k=Kn(m),x=Kn(r.clientWidth-(f+g)),b=Kn(r.clientHeight-(m+_)),y=Kn(f),N={rootMargin:-k+"px "+-x+"px "+-b+"px "+-y+"px",threshold:Oe(0,vt(1,u))||1};let C=!0;function P(T){const A=T[0].intersectionRatio;if(A!==u){if(!C)return l();A?l(!1,A):o=setTimeout(()=>{l(!1,1e-7)},1e3)}A===1&&!gs(h,e.getBoundingClientRect())&&l(),C=!1}try{n=new IntersectionObserver(P,{...N,root:r.ownerDocument})}catch{n=new IntersectionObserver(P,N)}n.observe(e)}return l(!0),i}function c1(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,h=Cr(e),f=r||i?[...h?mn(h):[],...mn(t)]:[];f.forEach(y=>{r&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const m=h&&s?s1(h,n):null;let g=-1,_=null;l&&(_=new ResizeObserver(y=>{let[S]=y;S&&S.target===h&&_&&(_.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var N;(N=_)==null||N.observe(t)})),n()}),h&&!u&&_.observe(h),_.observe(t));let k,x=u?Pt(e):null;u&&b();function b(){const y=Pt(e);x&&!gs(x,y)&&n(),x=y,k=requestAnimationFrame(b)}return n(),()=>{var y;f.forEach(S=>{r&&S.removeEventListener("scroll",n),i&&S.removeEventListener("resize",n)}),m==null||m(),(y=_)==null||y.disconnect(),_=null,u&&cancelAnimationFrame(k)}}const d1=Rg,u1=Og,h1=Pg,p1=zg,m1=Eg,_s=Ag,f1=Lg,b1=(e,t,n)=>{const o=new Map,r={platform:l1,...n},i={...r.platform,_c:o};return Mg(e,t,{...r,platform:i})};var g1=typeof document<"u",_1=function(){},to=g1?$e:_1;function no(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!no(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&e.$$typeof)&&!no(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function vs(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function xs(e,t){const n=vs(e);return Math.round(t*n)/n}function Tr(e){const t=D(e);return to(()=>{t.current=e}),t}function v1(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:l}={},transform:s=!0,whileElementsMounted:u,open:h}=e,[f,m]=z({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,_]=z(o);no(g,o)||_(o);const[k,x]=z(null),[b,y]=z(null),S=B(K=>{K!==T.current&&(T.current=K,x(K))},[]),N=B(K=>{K!==A.current&&(A.current=K,y(K))},[]),C=i||k,P=l||b,T=D(null),A=D(null),M=D(f),E=u!=null,R=Tr(u),G=Tr(r),I=Tr(h),ie=B(()=>{if(!T.current||!A.current)return;const K={placement:t,strategy:n,middleware:g};G.current&&(K.platform=G.current),b1(T.current,A.current,K).then(F=>{const O={...F,isPositioned:I.current!==!1};le.current&&!no(M.current,O)&&(M.current=O,Pn(()=>{m(O)}))})},[g,t,n,G,I]);to(()=>{h===!1&&M.current.isPositioned&&(M.current.isPositioned=!1,m(K=>({...K,isPositioned:!1})))},[h]);const le=D(!1);to(()=>(le.current=!0,()=>{le.current=!1}),[]),to(()=>{if(C&&(T.current=C),P&&(A.current=P),C&&P){if(R.current)return R.current(C,P,ie);ie()}},[C,P,ie,R,E]);const de=ve(()=>({reference:T,floating:A,setReference:S,setFloating:N}),[S,N]),X=ve(()=>({reference:C,floating:P}),[C,P]),ae=ve(()=>{const K={position:n,left:0,top:0};if(!X.floating)return K;const F=xs(X.floating,f.x),O=xs(X.floating,f.y);return s?{...K,transform:"translate("+F+"px, "+O+"px)",...vs(X.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:F,top:O}},[n,s,X.floating,f.x,f.y]);return ve(()=>({...f,update:ie,refs:de,elements:X,floatingStyles:ae}),[f,ie,de,X,ae])}const x1=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:r}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?_s({element:o.current,padding:r}).fn(n):{}:o?_s({element:o,padding:r}).fn(n):{}}}},y1=(e,t)=>({...d1(e),options:[e,t]}),w1=(e,t)=>({...u1(e),options:[e,t]}),k1=(e,t)=>({...f1(e),options:[e,t]}),j1=(e,t)=>({...h1(e),options:[e,t]}),S1=(e,t)=>({...p1(e),options:[e,t]}),C1=(e,t)=>({...m1(e),options:[e,t]}),N1=(e,t)=>({...x1(e),options:[e,t]});var T1="Arrow",ys=V((e,t)=>{const{children:n,width:o=10,height:r=5,...i}=e;return p(Se.svg,{...i,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p("polygon",{points:"0,0 30,0 15,10"})})});ys.displayName=T1;var M1=ys,Mr="Popper",[ws,oo]=qt(Mr),[A1,ks]=ws(Mr),js=e=>{const{__scopePopper:t,children:n}=e,[o,r]=z(null);return p(A1,{scope:t,anchor:o,onAnchorChange:r,children:n})};js.displayName=Mr;var Ss="PopperAnchor",Cs=V((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,i=ks(Ss,n),l=D(null),s=Ne(t,l),u=D(null);return H(()=>{const h=u.current;u.current=(o==null?void 0:o.current)||l.current,h!==u.current&&i.onAnchorChange(u.current)}),o?null:p(Se.div,{...r,ref:s})});Cs.displayName=Ss;var Ar="PopperContent",[P1,E1]=ws(Ar),Ns=V((e,t)=>{var je,ze,Y,Ie,Pe,Te;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:i="center",alignOffset:l=0,arrowPadding:s=0,avoidCollisions:u=!0,collisionBoundary:h=[],collisionPadding:f=0,sticky:m="partial",hideWhenDetached:g=!1,updatePositionStrategy:_="optimized",onPlaced:k,...x}=e,b=ks(Ar,n),[y,S]=z(null),N=Ne(t,Ee=>S(Ee)),[C,P]=z(null),T=bg(C),A=(T==null?void 0:T.width)??0,M=(T==null?void 0:T.height)??0,E=o+(i!=="center"?"-"+i:""),R=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},G=Array.isArray(h)?h:[h],I=G.length>0,ie={padding:R,boundary:G.filter(R1),altBoundary:I},{refs:le,floatingStyles:de,placement:X,isPositioned:ae,middlewareData:K}=v1({strategy:"fixed",placement:E,whileElementsMounted:(...Ee)=>c1(...Ee,{animationFrame:_==="always"}),elements:{reference:b.anchor},middleware:[y1({mainAxis:r+M,alignmentAxis:l}),u&&w1({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?k1():void 0,...ie}),u&&j1({...ie}),S1({...ie,apply:({elements:Ee,rects:He,availableWidth:Rt,availableHeight:J})=>{const{width:me,height:dt}=He.reference,Be=Ee.floating.style;Be.setProperty("--radix-popper-available-width",`${Rt}px`),Be.setProperty("--radix-popper-available-height",`${J}px`),Be.setProperty("--radix-popper-anchor-width",`${me}px`),Be.setProperty("--radix-popper-anchor-height",`${dt}px`)}}),C&&N1({element:C,padding:s}),O1({arrowWidth:A,arrowHeight:M}),g&&C1({strategy:"referenceHidden",...ie})]}),[F,O]=As(X),ce=lt(k);gt(()=>{ae&&(ce==null||ce())},[ae,ce]);const ge=(je=K.arrow)==null?void 0:je.x,Fe=(ze=K.arrow)==null?void 0:ze.y,ke=((Y=K.arrow)==null?void 0:Y.centerOffset)!==0,[re,te]=z();return gt(()=>{y&&te(window.getComputedStyle(y).zIndex)},[y]),p("div",{ref:le.setFloating,"data-radix-popper-content-wrapper":"",style:{...de,transform:ae?de.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:re,"--radix-popper-transform-origin":[(Ie=K.transformOrigin)==null?void 0:Ie.x,(Pe=K.transformOrigin)==null?void 0:Pe.y].join(" "),...((Te=K.hide)==null?void 0:Te.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p(P1,{scope:n,placedSide:F,onArrowChange:P,arrowX:ge,arrowY:Fe,shouldHideArrow:ke,children:p(Se.div,{"data-side":F,"data-align":O,...x,ref:N,style:{...x.style,animation:ae?void 0:"none"}})})})});Ns.displayName=Ar;var Ts="PopperArrow",$1={top:"bottom",right:"left",bottom:"top",left:"right"},Ms=V(function(t,n){const{__scopePopper:o,...r}=t,i=E1(Ts,o),l=$1[i.placedSide];return p("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:p(M1,{...r,ref:n,style:{...r.style,display:"block"}})})});Ms.displayName=Ts;function R1(e){return e!==null}var O1=e=>({name:"transformOrigin",options:e,fn(t){var b,y,S;const{placement:n,rects:o,middlewareData:r}=t,l=((b=r.arrow)==null?void 0:b.centerOffset)!==0,s=l?0:e.arrowWidth,u=l?0:e.arrowHeight,[h,f]=As(n),m={start:"0%",center:"50%",end:"100%"}[f],g=(((y=r.arrow)==null?void 0:y.x)??0)+s/2,_=(((S=r.arrow)==null?void 0:S.y)??0)+u/2;let k="",x="";return h==="bottom"?(k=l?m:`${g}px`,x=`${-u}px`):h==="top"?(k=l?m:`${g}px`,x=`${o.floating.height+u}px`):h==="right"?(k=`${-u}px`,x=l?m:`${_}px`):h==="left"&&(k=`${o.floating.width+u}px`,x=l?m:`${_}px`),{data:{x:k,y:x}}}});function As(e){const[t,n="center"]=e.split("-");return[t,n]}var Ps=js,Pr=Cs,Es=Ns,$s=Ms,Er="rovingFocusGroup.onEntryFocus",L1={bubbles:!1,cancelable:!0},fn="RovingFocusGroup",[$r,Rs,z1]=Cl(fn),[I1,Os]=qt(fn,[z1]),[D1,F1]=I1(fn),Ls=V((e,t)=>p($r.Provider,{scope:e.__scopeRovingFocusGroup,children:p($r.Slot,{scope:e.__scopeRovingFocusGroup,children:p(H1,{...e,ref:t})})}));Ls.displayName=fn;var H1=V((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:o,loop:r=!1,dir:i,currentTabStopId:l,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:u,onEntryFocus:h,preventScrollOnEntryFocus:f=!1,...m}=e,g=D(null),_=Ne(t,g),k=Nl(i),[x,b]=rr({prop:l,defaultProp:s??null,onChange:u,caller:fn}),[y,S]=z(!1),N=lt(h),C=Rs(n),P=D(!1),[T,A]=z(0);return H(()=>{const M=g.current;if(M)return M.addEventListener(Er,N),()=>M.removeEventListener(Er,N)},[N]),p(D1,{scope:n,orientation:o,dir:k,loop:r,currentTabStopId:x,onItemFocus:B(M=>b(M),[b]),onItemShiftTab:B(()=>S(!0),[]),onFocusableItemAdd:B(()=>A(M=>M+1),[]),onFocusableItemRemove:B(()=>A(M=>M-1),[]),children:p(Se.div,{tabIndex:y||T===0?-1:0,"data-orientation":o,...m,ref:_,style:{outline:"none",...e.style},onMouseDown:oe(e.onMouseDown,()=>{P.current=!0}),onFocus:oe(e.onFocus,M=>{const E=!P.current;if(M.target===M.currentTarget&&E&&!y){const R=new CustomEvent(Er,L1);if(M.currentTarget.dispatchEvent(R),!R.defaultPrevented){const G=C().filter(X=>X.focusable),I=G.find(X=>X.active),ie=G.find(X=>X.id===x),de=[I,ie,...G].filter(Boolean).map(X=>X.ref.current);Ds(de,f)}}P.current=!1}),onBlur:oe(e.onBlur,()=>S(!1))})})}),zs="RovingFocusGroupItem",Is=V((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:o=!0,active:r=!1,tabStopId:i,children:l,...s}=e,u=Dn(),h=i||u,f=F1(zs,n),m=f.currentTabStopId===h,g=Rs(n),{onFocusableItemAdd:_,onFocusableItemRemove:k,currentTabStopId:x}=f;return H(()=>{if(o)return _(),()=>k()},[o,_,k]),p($r.ItemSlot,{scope:n,id:h,focusable:o,active:r,children:p(Se.span,{tabIndex:m?0:-1,"data-orientation":f.orientation,...s,ref:t,onMouseDown:oe(e.onMouseDown,b=>{o?f.onItemFocus(h):b.preventDefault()}),onFocus:oe(e.onFocus,()=>f.onItemFocus(h)),onKeyDown:oe(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){f.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const y=q1(b,f.orientation,f.dir);if(y!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let N=g().filter(C=>C.focusable).map(C=>C.ref.current);if(y==="last")N.reverse();else if(y==="prev"||y==="next"){y==="prev"&&N.reverse();const C=N.indexOf(b.currentTarget);N=f.loop?W1(N,C+1):N.slice(C+1)}setTimeout(()=>Ds(N))}}),children:typeof l=="function"?l({isCurrentTabStop:m,hasTabStop:x!=null}):l})})});Is.displayName=zs;var B1={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function U1(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function q1(e,t,n){const o=U1(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return B1[o]}function Ds(e,t=!1){const n=document.activeElement;for(const o of e)if(o===n||(o.focus({preventScroll:t}),document.activeElement!==n))return}function W1(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var V1=Ls,G1=Is,Rr=["Enter"," "],K1=["ArrowDown","PageUp","Home"],Fs=["ArrowUp","PageDown","End"],X1=[...K1,...Fs],Y1={ltr:[...Rr,"ArrowRight"],rtl:[...Rr,"ArrowLeft"]},J1={ltr:["ArrowLeft"],rtl:["ArrowRight"]},bn="Menu",[gn,Z1,Q1]=Cl(bn),[Et,Hs]=qt(bn,[Q1,oo,Os]),ro=oo(),Bs=Os(),[e0,$t]=Et(bn),[t0,_n]=Et(bn),Us=e=>{const{__scopeMenu:t,open:n=!1,children:o,dir:r,onOpenChange:i,modal:l=!0}=e,s=ro(t),[u,h]=z(null),f=D(!1),m=lt(i),g=Nl(r);return H(()=>{const _=()=>{f.current=!0,document.addEventListener("pointerdown",k,{capture:!0,once:!0}),document.addEventListener("pointermove",k,{capture:!0,once:!0})},k=()=>f.current=!1;return document.addEventListener("keydown",_,{capture:!0}),()=>{document.removeEventListener("keydown",_,{capture:!0}),document.removeEventListener("pointerdown",k,{capture:!0}),document.removeEventListener("pointermove",k,{capture:!0})}},[]),p(Ps,{...s,children:p(e0,{scope:t,open:n,onOpenChange:m,content:u,onContentChange:h,children:p(t0,{scope:t,onClose:B(()=>m(!1),[m]),isUsingKeyboardRef:f,dir:g,modal:l,children:o})})})};Us.displayName=bn;var n0="MenuAnchor",Or=V((e,t)=>{const{__scopeMenu:n,...o}=e,r=ro(n);return p(Pr,{...r,...o,ref:t})});Or.displayName=n0;var Lr="MenuPortal",[o0,qs]=Et(Lr,{forceMount:void 0}),Ws=e=>{const{__scopeMenu:t,forceMount:n,children:o,container:r}=e,i=$t(Lr,t);return p(o0,{scope:t,forceMount:n,children:p(At,{present:n||i.open,children:p(dr,{asChild:!0,container:r,children:o})})})};Ws.displayName=Lr;var De="MenuContent",[r0,zr]=Et(De),Vs=V((e,t)=>{const n=qs(De,e.__scopeMenu),{forceMount:o=n.forceMount,...r}=e,i=$t(De,e.__scopeMenu),l=_n(De,e.__scopeMenu);return p(gn.Provider,{scope:e.__scopeMenu,children:p(At,{present:o||i.open,children:p(gn.Slot,{scope:e.__scopeMenu,children:l.modal?p(i0,{...r,ref:t}):p(a0,{...r,ref:t})})})})}),i0=V((e,t)=>{const n=$t(De,e.__scopeMenu),o=D(null),r=Ne(t,o);return H(()=>{const i=o.current;if(i)return Zl(i)},[]),p(Ir,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:oe(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),a0=V((e,t)=>{const n=$t(De,e.__scopeMenu);return p(Ir,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),l0=hn("MenuContent.ScrollLock"),Ir=V((e,t)=>{const{__scopeMenu:n,loop:o=!1,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:s,onEntryFocus:u,onEscapeKeyDown:h,onPointerDownOutside:f,onFocusOutside:m,onInteractOutside:g,onDismiss:_,disableOutsideScroll:k,...x}=e,b=$t(De,n),y=_n(De,n),S=ro(n),N=Bs(n),C=Z1(n),[P,T]=z(null),A=D(null),M=Ne(t,A,b.onContentChange),E=D(0),R=D(""),G=D(0),I=D(null),ie=D("right"),le=D(0),de=k?br:xe,X=k?{as:l0,allowPinchZoom:!0}:void 0,ae=F=>{var je,ze;const O=R.current+F,ce=C().filter(Y=>!Y.disabled),ge=document.activeElement,Fe=(je=ce.find(Y=>Y.ref.current===ge))==null?void 0:je.textValue,ke=ce.map(Y=>Y.textValue),re=v0(ke,O,Fe),te=(ze=ce.find(Y=>Y.textValue===re))==null?void 0:ze.ref.current;(function Y(Ie){R.current=Ie,window.clearTimeout(E.current),Ie!==""&&(E.current=window.setTimeout(()=>Y(""),1e3))})(O),te&&setTimeout(()=>te.focus())};H(()=>()=>window.clearTimeout(E.current),[]),zl();const K=B(F=>{var ce,ge;return ie.current===((ce=I.current)==null?void 0:ce.side)&&y0(F,(ge=I.current)==null?void 0:ge.area)},[]);return p(r0,{scope:n,searchRef:R,onItemEnter:B(F=>{K(F)&&F.preventDefault()},[K]),onItemLeave:B(F=>{var O;K(F)||((O=A.current)==null||O.focus(),T(null))},[K]),onTriggerLeave:B(F=>{K(F)&&F.preventDefault()},[K]),pointerGraceTimerRef:G,onPointerGraceIntentChange:B(F=>{I.current=F},[]),children:p(de,{...X,children:p(cr,{asChild:!0,trapped:r,onMountAutoFocus:oe(i,F=>{var O;F.preventDefault(),(O=A.current)==null||O.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:p(ar,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:h,onPointerDownOutside:f,onFocusOutside:m,onInteractOutside:g,onDismiss:_,children:p(V1,{asChild:!0,...N,dir:y.dir,orientation:"vertical",loop:o,currentTabStopId:P,onCurrentTabStopIdChange:T,onEntryFocus:oe(u,F=>{y.isUsingKeyboardRef.current||F.preventDefault()}),preventScrollOnEntryFocus:!0,children:p(Es,{role:"menu","aria-orientation":"vertical","data-state":cc(b.open),"data-radix-menu-content":"",dir:y.dir,...S,...x,ref:M,style:{outline:"none",...x.style},onKeyDown:oe(x.onKeyDown,F=>{const ce=F.target.closest("[data-radix-menu-content]")===F.currentTarget,ge=F.ctrlKey||F.altKey||F.metaKey,Fe=F.key.length===1;ce&&(F.key==="Tab"&&F.preventDefault(),!ge&&Fe&&ae(F.key));const ke=A.current;if(F.target!==ke||!X1.includes(F.key))return;F.preventDefault();const te=C().filter(je=>!je.disabled).map(je=>je.ref.current);Fs.includes(F.key)&&te.reverse(),g0(te)}),onBlur:oe(e.onBlur,F=>{F.currentTarget.contains(F.target)||(window.clearTimeout(E.current),R.current="")}),onPointerMove:oe(e.onPointerMove,xn(F=>{const O=F.target,ce=le.current!==F.clientX;if(F.currentTarget.contains(O)&&ce){const ge=F.clientX>le.current?"right":"left";ie.current=ge,le.current=F.clientX}}))})})})})})})});Vs.displayName=De;var s0="MenuGroup",Dr=V((e,t)=>{const{__scopeMenu:n,...o}=e;return p(Se.div,{role:"group",...o,ref:t})});Dr.displayName=s0;var c0="MenuLabel",Gs=V((e,t)=>{const{__scopeMenu:n,...o}=e;return p(Se.div,{...o,ref:t})});Gs.displayName=c0;var io="MenuItem",Ks="menu.itemSelect",ao=V((e,t)=>{const{disabled:n=!1,onSelect:o,...r}=e,i=D(null),l=_n(io,e.__scopeMenu),s=zr(io,e.__scopeMenu),u=Ne(t,i),h=D(!1),f=()=>{const m=i.current;if(!n&&m){const g=new CustomEvent(Ks,{bubbles:!0,cancelable:!0});m.addEventListener(Ks,_=>o==null?void 0:o(_),{once:!0}),Sl(m,g),g.defaultPrevented?h.current=!1:l.onClose()}};return p(Xs,{...r,ref:u,disabled:n,onClick:oe(e.onClick,f),onPointerDown:m=>{var g;(g=e.onPointerDown)==null||g.call(e,m),h.current=!0},onPointerUp:oe(e.onPointerUp,m=>{var g;h.current||(g=m.currentTarget)==null||g.click()}),onKeyDown:oe(e.onKeyDown,m=>{const g=s.searchRef.current!=="";n||g&&m.key===" "||Rr.includes(m.key)&&(m.currentTarget.click(),m.preventDefault())})})});ao.displayName=io;var Xs=V((e,t)=>{const{__scopeMenu:n,disabled:o=!1,textValue:r,...i}=e,l=zr(io,n),s=Bs(n),u=D(null),h=Ne(t,u),[f,m]=z(!1),[g,_]=z("");return H(()=>{const k=u.current;k&&_((k.textContent??"").trim())},[i.children]),p(gn.ItemSlot,{scope:n,disabled:o,textValue:r??g,children:p(G1,{asChild:!0,...s,focusable:!o,children:p(Se.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...i,ref:h,onPointerMove:oe(e.onPointerMove,xn(k=>{o?l.onItemLeave(k):(l.onItemEnter(k),k.defaultPrevented||k.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:oe(e.onPointerLeave,xn(k=>l.onItemLeave(k))),onFocus:oe(e.onFocus,()=>m(!0)),onBlur:oe(e.onBlur,()=>m(!1))})})})}),d0="MenuCheckboxItem",Ys=V((e,t)=>{const{checked:n=!1,onCheckedChange:o,...r}=e;return p(tc,{scope:e.__scopeMenu,checked:n,children:p(ao,{role:"menuitemcheckbox","aria-checked":lo(n)?"mixed":n,...r,ref:t,"data-state":Hr(n),onSelect:oe(r.onSelect,()=>o==null?void 0:o(lo(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Ys.displayName=d0;var Js="MenuRadioGroup",[u0,h0]=Et(Js,{value:void 0,onValueChange:()=>{}}),Zs=V((e,t)=>{const{value:n,onValueChange:o,...r}=e,i=lt(o);return p(u0,{scope:e.__scopeMenu,value:n,onValueChange:i,children:p(Dr,{...r,ref:t})})});Zs.displayName=Js;var Qs="MenuRadioItem",ec=V((e,t)=>{const{value:n,...o}=e,r=h0(Qs,e.__scopeMenu),i=n===r.value;return p(tc,{scope:e.__scopeMenu,checked:i,children:p(ao,{role:"menuitemradio","aria-checked":i,...o,ref:t,"data-state":Hr(i),onSelect:oe(o.onSelect,()=>{var l;return(l=r.onValueChange)==null?void 0:l.call(r,n)},{checkForDefaultPrevented:!1})})})});ec.displayName=Qs;var Fr="MenuItemIndicator",[tc,p0]=Et(Fr,{checked:!1}),nc=V((e,t)=>{const{__scopeMenu:n,forceMount:o,...r}=e,i=p0(Fr,n);return p(At,{present:o||lo(i.checked)||i.checked===!0,children:p(Se.span,{...r,ref:t,"data-state":Hr(i.checked)})})});nc.displayName=Fr;var m0="MenuSeparator",oc=V((e,t)=>{const{__scopeMenu:n,...o}=e;return p(Se.div,{role:"separator","aria-orientation":"horizontal",...o,ref:t})});oc.displayName=m0;var f0="MenuArrow",rc=V((e,t)=>{const{__scopeMenu:n,...o}=e,r=ro(n);return p($s,{...r,...o,ref:t})});rc.displayName=f0;var b0="MenuSub",[Aj,ic]=Et(b0),vn="MenuSubTrigger",ac=V((e,t)=>{const n=$t(vn,e.__scopeMenu),o=_n(vn,e.__scopeMenu),r=ic(vn,e.__scopeMenu),i=zr(vn,e.__scopeMenu),l=D(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:u}=i,h={__scopeMenu:e.__scopeMenu},f=B(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return H(()=>f,[f]),H(()=>{const m=s.current;return()=>{window.clearTimeout(m),u(null)}},[s,u]),p(Or,{asChild:!0,...h,children:p(Xs,{id:r.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":r.contentId,"data-state":cc(n.open),...e,ref:zn(t,r.onTriggerChange),onClick:m=>{var g;(g=e.onClick)==null||g.call(e,m),!(e.disabled||m.defaultPrevented)&&(m.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:oe(e.onPointerMove,xn(m=>{i.onItemEnter(m),!m.defaultPrevented&&!e.disabled&&!n.open&&!l.current&&(i.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:oe(e.onPointerLeave,xn(m=>{var _,k;f();const g=(_=n.content)==null?void 0:_.getBoundingClientRect();if(g){const x=(k=n.content)==null?void 0:k.dataset.side,b=x==="right",y=b?-5:5,S=g[b?"left":"right"],N=g[b?"right":"left"];i.onPointerGraceIntentChange({area:[{x:m.clientX+y,y:m.clientY},{x:S,y:g.top},{x:N,y:g.top},{x:N,y:g.bottom},{x:S,y:g.bottom}],side:x}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(m),m.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:oe(e.onKeyDown,m=>{var _;const g=i.searchRef.current!=="";e.disabled||g&&m.key===" "||Y1[o.dir].includes(m.key)&&(n.onOpenChange(!0),(_=n.content)==null||_.focus(),m.preventDefault())})})})});ac.displayName=vn;var lc="MenuSubContent",sc=V((e,t)=>{const n=qs(De,e.__scopeMenu),{forceMount:o=n.forceMount,...r}=e,i=$t(De,e.__scopeMenu),l=_n(De,e.__scopeMenu),s=ic(lc,e.__scopeMenu),u=D(null),h=Ne(t,u);return p(gn.Provider,{scope:e.__scopeMenu,children:p(At,{present:o||i.open,children:p(gn.Slot,{scope:e.__scopeMenu,children:p(Ir,{id:s.contentId,"aria-labelledby":s.triggerId,...r,ref:h,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var m;l.isUsingKeyboardRef.current&&((m=u.current)==null||m.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:oe(e.onFocusOutside,f=>{f.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:oe(e.onEscapeKeyDown,f=>{l.onClose(),f.preventDefault()}),onKeyDown:oe(e.onKeyDown,f=>{var _;const m=f.currentTarget.contains(f.target),g=J1[l.dir].includes(f.key);m&&g&&(i.onOpenChange(!1),(_=s.trigger)==null||_.focus(),f.preventDefault())})})})})})});sc.displayName=lc;function cc(e){return e?"open":"closed"}function lo(e){return e==="indeterminate"}function Hr(e){return lo(e)?"indeterminate":e?"checked":"unchecked"}function g0(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function _0(e,t){return e.map((n,o)=>e[(t+o)%e.length])}function v0(e,t,n){const r=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let l=_0(e,Math.max(i,0));r.length===1&&(l=l.filter(h=>h!==n));const u=l.find(h=>h.toLowerCase().startsWith(r.toLowerCase()));return u!==n?u:void 0}function x0(e,t){const{x:n,y:o}=e;let r=!1;for(let i=0,l=t.length-1;i<t.length;l=i++){const s=t[i],u=t[l],h=s.x,f=s.y,m=u.x,g=u.y;f>o!=g>o&&n<(m-h)*(o-f)/(g-f)+h&&(r=!r)}return r}function y0(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return x0(n,t)}function xn(e){return t=>t.pointerType==="mouse"?e(t):void 0}var w0=Us,k0=Or,j0=Ws,S0=Vs,C0=Dr,N0=Gs,T0=ao,M0=Ys,A0=Zs,P0=ec,E0=nc,$0=oc,R0=rc,O0=ac,L0=sc,so="DropdownMenu",[z0]=qt(so,[Hs]),Ae=Hs(),[I0,dc]=z0(so),uc=e=>{const{__scopeDropdownMenu:t,children:n,dir:o,open:r,defaultOpen:i,onOpenChange:l,modal:s=!0}=e,u=Ae(t),h=D(null),[f,m]=rr({prop:r,defaultProp:i??!1,onChange:l,caller:so});return p(I0,{scope:t,triggerId:Dn(),triggerRef:h,contentId:Dn(),open:f,onOpenChange:m,onOpenToggle:B(()=>m(g=>!g),[m]),modal:s,children:p(w0,{...u,open:f,onOpenChange:m,dir:o,modal:s,children:n})})};uc.displayName=so;var hc="DropdownMenuTrigger",pc=V((e,t)=>{const{__scopeDropdownMenu:n,disabled:o=!1,...r}=e,i=dc(hc,n),l=Ae(n);return p(k0,{asChild:!0,...l,children:p(Se.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...r,ref:zn(t,i.triggerRef),onPointerDown:oe(e.onPointerDown,s=>{!o&&s.button===0&&s.ctrlKey===!1&&(i.onOpenToggle(),i.open||s.preventDefault())}),onKeyDown:oe(e.onKeyDown,s=>{o||(["Enter"," "].includes(s.key)&&i.onOpenToggle(),s.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});pc.displayName=hc;var D0="DropdownMenuPortal",mc=e=>{const{__scopeDropdownMenu:t,...n}=e,o=Ae(t);return p(j0,{...o,...n})};mc.displayName=D0;var fc="DropdownMenuContent",bc=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=dc(fc,n),i=Ae(n),l=D(!1);return p(S0,{id:r.contentId,"aria-labelledby":r.triggerId,...i,...o,ref:t,onCloseAutoFocus:oe(e.onCloseAutoFocus,s=>{var u;l.current||(u=r.triggerRef.current)==null||u.focus(),l.current=!1,s.preventDefault()}),onInteractOutside:oe(e.onInteractOutside,s=>{const u=s.detail.originalEvent,h=u.button===0&&u.ctrlKey===!0,f=u.button===2||h;(!r.modal||f)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});bc.displayName=fc;var F0="DropdownMenuGroup",H0=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(C0,{...r,...o,ref:t})});H0.displayName=F0;var B0="DropdownMenuLabel",U0=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(N0,{...r,...o,ref:t})});U0.displayName=B0;var q0="DropdownMenuItem",gc=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(T0,{...r,...o,ref:t})});gc.displayName=q0;var W0="DropdownMenuCheckboxItem",V0=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(M0,{...r,...o,ref:t})});V0.displayName=W0;var G0="DropdownMenuRadioGroup",K0=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(A0,{...r,...o,ref:t})});K0.displayName=G0;var X0="DropdownMenuRadioItem",Y0=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(P0,{...r,...o,ref:t})});Y0.displayName=X0;var J0="DropdownMenuItemIndicator",Z0=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(E0,{...r,...o,ref:t})});Z0.displayName=J0;var Q0="DropdownMenuSeparator",e_=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p($0,{...r,...o,ref:t})});e_.displayName=Q0;var t_="DropdownMenuArrow",n_=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(R0,{...r,...o,ref:t})});n_.displayName=t_;var o_="DropdownMenuSubTrigger",r_=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(O0,{...r,...o,ref:t})});r_.displayName=o_;var i_="DropdownMenuSubContent",a_=V((e,t)=>{const{__scopeDropdownMenu:n,...o}=e,r=Ae(n);return p(L0,{...r,...o,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});a_.displayName=i_;var l_=uc,s_=pc,c_=mc,d_=bc,u_=gc,co="Popover",[_c]=qt(co,[oo]),yn=oo(),[h_,yt]=_c(co),vc=e=>{const{__scopePopover:t,children:n,open:o,defaultOpen:r,onOpenChange:i,modal:l=!1}=e,s=yn(t),u=D(null),[h,f]=z(!1),[m,g]=rr({prop:o,defaultProp:r??!1,onChange:i,caller:co});return p(Ps,{...s,children:p(h_,{scope:t,contentId:Dn(),triggerRef:u,open:m,onOpenChange:g,onOpenToggle:B(()=>g(_=>!_),[g]),hasCustomAnchor:h,onCustomAnchorAdd:B(()=>f(!0),[]),onCustomAnchorRemove:B(()=>f(!1),[]),modal:l,children:n})})};vc.displayName=co;var xc="PopoverAnchor",p_=V((e,t)=>{const{__scopePopover:n,...o}=e,r=yt(xc,n),i=yn(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:s}=r;return H(()=>(l(),()=>s()),[l,s]),p(Pr,{...i,...o,ref:t})});p_.displayName=xc;var yc="PopoverTrigger",wc=V((e,t)=>{const{__scopePopover:n,...o}=e,r=yt(yc,n),i=yn(n),l=Ne(t,r.triggerRef),s=p(Se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":Nc(r.open),...o,ref:l,onClick:oe(e.onClick,r.onOpenToggle)});return r.hasCustomAnchor?s:p(Pr,{asChild:!0,...i,children:s})});wc.displayName=yc;var Br="PopoverPortal",[m_,f_]=_c(Br,{forceMount:void 0}),kc=e=>{const{__scopePopover:t,forceMount:n,children:o,container:r}=e,i=yt(Br,t);return p(m_,{scope:t,forceMount:n,children:p(At,{present:n||i.open,children:p(dr,{asChild:!0,container:r,children:o})})})};kc.displayName=Br;var Qt="PopoverContent",jc=V((e,t)=>{const n=f_(Qt,e.__scopePopover),{forceMount:o=n.forceMount,...r}=e,i=yt(Qt,e.__scopePopover);return p(At,{present:o||i.open,children:i.modal?p(g_,{...r,ref:t}):p(__,{...r,ref:t})})});jc.displayName=Qt;var b_=hn("PopoverContent.RemoveScroll"),g_=V((e,t)=>{const n=yt(Qt,e.__scopePopover),o=D(null),r=Ne(t,o),i=D(!1);return H(()=>{const l=o.current;if(l)return Zl(l)},[]),p(br,{as:b_,allowPinchZoom:!0,children:p(Sc,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:oe(e.onCloseAutoFocus,l=>{var s;l.preventDefault(),i.current||(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:oe(e.onPointerDownOutside,l=>{const s=l.detail.originalEvent,u=s.button===0&&s.ctrlKey===!0,h=s.button===2||u;i.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:oe(e.onFocusOutside,l=>l.preventDefault(),{checkForDefaultPrevented:!1})})})}),__=V((e,t)=>{const n=yt(Qt,e.__scopePopover),o=D(!1),r=D(!1);return p(Sc,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var l,s;(l=e.onCloseAutoFocus)==null||l.call(e,i),i.defaultPrevented||(o.current||(s=n.triggerRef.current)==null||s.focus(),i.preventDefault()),o.current=!1,r.current=!1},onInteractOutside:i=>{var u,h;(u=e.onInteractOutside)==null||u.call(e,i),i.defaultPrevented||(o.current=!0,i.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const l=i.target;((h=n.triggerRef.current)==null?void 0:h.contains(l))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&r.current&&i.preventDefault()}})}),Sc=V((e,t)=>{const{__scopePopover:n,trapFocus:o,onOpenAutoFocus:r,onCloseAutoFocus:i,disableOutsidePointerEvents:l,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:h,onInteractOutside:f,...m}=e,g=yt(Qt,n),_=yn(n);return zl(),p(cr,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:r,onUnmountAutoFocus:i,children:p(ar,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:h,onDismiss:()=>g.onOpenChange(!1),children:p(Es,{"data-state":Nc(g.open),role:"dialog",id:g.contentId,..._,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Cc="PopoverClose",v_=V((e,t)=>{const{__scopePopover:n,...o}=e,r=yt(Cc,n);return p(Se.button,{type:"button",...o,ref:t,onClick:oe(e.onClick,()=>r.onOpenChange(!1))})});v_.displayName=Cc;var x_="PopoverArrow",y_=V((e,t)=>{const{__scopePopover:n,...o}=e,r=yn(n);return p($s,{...r,...o,ref:t})});y_.displayName=x_;function Nc(e){return e?"open":"closed"}var w_=vc,k_=wc,j_=kc,S_=jc;const C_=w_,N_=k_;function T_({className:e,align:t="center",sideOffset:n=4,...o}){const r=Ii();return p(j_,{container:r??void 0,children:p(S_,{align:t,sideOffset:n,className:he("rounded-md border border-border bg-[color:var(--auxx-chat-surface-loud)] p-3 text-sm shadow-md outline-none backdrop-blur-xl",e),style:{zIndex:2147483001},...o})})}const Ur=["","🏻","🏼","🏽","🏾","🏿"],Tc={"":"bg-yellow-400","🏻":"bg-[#FFDBB4]","🏼":"bg-[#EDB98A]","🏽":"bg-[#C68642]","🏾":"bg-[#8D5524]","🏿":"bg-[#5C3317]"},M_="",A_="️";function P_(e,t){if(!t)return e;const n=e.indexOf(M_),o=e.indexOf(A_);let r=-1;return n!==-1&&o!==-1?r=Math.min(n,o):n!==-1?r=n:o!==-1&&(r=o),r!==-1?e.slice(0,r)+t+e.slice(r):e+t}const Mc=[{id:"smileys",label:"Smileys and People",icon:Da},{id:"animals",label:"Animals and Nature",icon:Hp},{id:"food",label:"Food and Drink",icon:Iu},{id:"activity",label:"Activity",icon:lh},{id:"travel",label:"Travel and Places",icon:$a},{id:"objects",label:"Objects",icon:La},{id:"symbols",label:"Symbols",icon:Pa},{id:"flags",label:"Flags",icon:Aa}],Ac={smileys:[{id:":grinning_face:",label:"Grinning face",emoji:"😀"},{id:":grinning_face_with_big_eyes:",label:"Grinning face with big eyes",emoji:"😃"},{id:":grinning_face_with_smiling_eyes:",label:"Grinning face with smiling eyes",emoji:"😄"},{id:":beaming_face_with_smiling_eyes:",label:"Beaming face with smiling eyes",emoji:"😁"},{id:":grinning_squinting_face:",label:"Grinning squinting face",emoji:"😆"},{id:":grinning_face_with_sweat:",label:"Grinning face with sweat",emoji:"😅"},{id:":rolling_on_the_floor_laughing:",label:"Rolling on the floor laughing",emoji:"🤣"},{id:":face_with_tears_of_joy:",label:"Face with tears of joy",emoji:"😂"},{id:":slightly_smiling_face:",label:"Slightly smiling face",emoji:"🙂"},{id:":upside_down_face:",label:"Upside down face",emoji:"🙃"},{id:":winking_face:",label:"Winking face",emoji:"😉"},{id:":smiling_face_with_smiling_eyes:",label:"Smiling face with smiling eyes",emoji:"😊"},{id:":smiling_face_with_halo:",label:"Smiling face with halo",emoji:"😇"},{id:":smiling_face_with_hearts:",label:"Smiling face with hearts",emoji:"🥰"},{id:":smiling_face_with_heart-eyes:",label:"Smiling face with heart-eyes",emoji:"😍"},{id:":star-struck:",label:"Star-struck",emoji:"🤩"},{id:":face_blowing_a_kiss:",label:"Face blowing a kiss",emoji:"😘"},{id:":kissing_face:",label:"Kissing face",emoji:"😗"},{id:":smiling_face:",label:"Smiling face",emoji:"☺️"},{id:":kissing_face_with_closed_eyes:",label:"Kissing face with closed eyes",emoji:"😚"},{id:":kissing_face_with_smiling_eyes:",label:"Kissing face with smiling eyes",emoji:"😙"},{id:":face_savoring_food:",label:"Face savoring food",emoji:"😋"},{id:":face_with_tongue:",label:"Face with tongue",emoji:"😛"},{id:":winking_face_with_tongue:",label:"Winking face with tongue",emoji:"😜"},{id:":zany_face:",label:"Zany face",emoji:"🤪"},{id:":squinting_face_with_tongue:",label:"Squinting face with tongue",emoji:"😝"},{id:":money-mouth_face:",label:"Money-mouth face",emoji:"🤑"},{id:":smiling_face_with_open_hands:",label:"Smiling face with open hands",emoji:"🤗"},{id:":face_with_hand_over_mouth:",label:"Face with hand over mouth",emoji:"🤭"},{id:":shushing_face:",label:"Shushing face",emoji:"🤫"},{id:":thinking_face:",label:"Thinking face",emoji:"🤔"},{id:":zipper-mouth_face:",label:"Zipper-mouth face",emoji:"🤐"},{id:":face_with_raised_eyebrow:",label:"Face with raised eyebrow",emoji:"🤨"},{id:":neutral_face:",label:"Neutral face",emoji:"😐"},{id:":expressionless_face:",label:"Expressionless face",emoji:"😑"},{id:":face_without_mouth:",label:"Face without mouth",emoji:"😶"},{id:":smirking_face:",label:"Smirking face",emoji:"😏"},{id:":unamused_face:",label:"Unamused face",emoji:"😒"},{id:":face_with_rolling_eyes:",label:"Face with rolling eyes",emoji:"🙄"},{id:":grimacing_face:",label:"Grimacing face",emoji:"😬"},{id:":lying_face:",label:"Lying face",emoji:"🤥"},{id:":pensive_face:",label:"Pensive face",emoji:"😔"},{id:":sleepy_face:",label:"Sleepy face",emoji:"😪"},{id:":drooling_face:",label:"Drooling face",emoji:"🤤"},{id:":sleeping_face:",label:"Sleeping face",emoji:"😴"},{id:":face_with_medical_mask:",label:"Face with medical mask",emoji:"😷"},{id:":face_with_thermometer:",label:"Face with thermometer",emoji:"🤒"},{id:":face_with_head-bandage:",label:"Face with head-bandage",emoji:"🤕"},{id:":nauseated_face:",label:"Nauseated face",emoji:"🤢"},{id:":face_vomiting:",label:"Face vomiting",emoji:"🤮"},{id:":sneezing_face:",label:"Sneezing face",emoji:"🤧"},{id:":hot_face:",label:"Hot face",emoji:"🥵"},{id:":cold_face:",label:"Cold face",emoji:"🥶"},{id:":woozy_face:",label:"Woozy face",emoji:"🥴"},{id:":face_with_crossed-out_eyes:",label:"Face with crossed-out eyes",emoji:"😵"},{id:":exploding_head:",label:"Exploding head",emoji:"🤯"},{id:":cowboy_hat_face:",label:"Cowboy hat face",emoji:"🤠"},{id:":partying_face:",label:"Partying face",emoji:"🥳"},{id:":smiling_face_with_sunglasses:",label:"Smiling face with sunglasses",emoji:"😎"},{id:":nerd_face:",label:"Nerd face",emoji:"🤓"},{id:":face_with_monocle:",label:"Face with monocle",emoji:"🧐"},{id:":confused_face:",label:"Confused face",emoji:"😕"},{id:":worried_face:",label:"Worried face",emoji:"😟"},{id:":slightly_frowning_face:",label:"Slightly frowning face",emoji:"🙁"},{id:":frowning_face:",label:"Frowning face",emoji:"☹️"},{id:":face_with_open_mouth:",label:"Face with open mouth",emoji:"😮"},{id:":hushed_face:",label:"Hushed face",emoji:"😯"},{id:":astonished_face:",label:"Astonished face",emoji:"😲"},{id:":flushed_face:",label:"Flushed face",emoji:"😳"},{id:":pleading_face:",label:"Pleading face",emoji:"🥺"},{id:":smiling_face_with_tear:",label:"Smiling face with tear",emoji:"🥲"},{id:":face_holding_back_tears:",label:"Face holding back tears",emoji:"🥹"},{id:":frowning_face_with_open_mouth:",label:"Frowning face with open mouth",emoji:"😦"},{id:":anguished_face:",label:"Anguished face",emoji:"😧"},{id:":fearful_face:",label:"Fearful face",emoji:"😨"},{id:":anxious_face_with_sweat:",label:"Anxious face with sweat",emoji:"😰"},{id:":sad_but_relieved_face:",label:"Sad but relieved face",emoji:"😥"},{id:":crying_face:",label:"Crying face",emoji:"😢"},{id:":loudly_crying_face:",label:"Loudly crying face",emoji:"😭"},{id:":face_screaming_in_fear:",label:"Face screaming in fear",emoji:"😱"},{id:":confounded_face:",label:"Confounded face",emoji:"😖"},{id:":persevering_face:",label:"Persevering face",emoji:"😣"},{id:":disappointed_face:",label:"Disappointed face",emoji:"😞"},{id:":downcast_face_with_sweat:",label:"Downcast face with sweat",emoji:"😓"},{id:":weary_face:",label:"Weary face",emoji:"😩"},{id:":tired_face:",label:"Tired face",emoji:"😫"},{id:":yawning_face:",label:"Yawning face",emoji:"🥱"},{id:":face_with_steam_from_nose:",label:"Face with steam from nose",emoji:"😤"},{id:":pouting_face:",label:"Pouting face",emoji:"😡"},{id:":angry_face:",label:"Angry face",emoji:"😠"},{id:":face_with_symbols_on_mouth:",label:"Face with symbols on mouth",emoji:"🤬"},{id:":smiling_face_with_horns:",label:"Smiling face with horns",emoji:"😈"},{id:":angry_face_with_horns:",label:"Angry face with horns",emoji:"👿"},{id:":melting_face:",label:"Melting face",emoji:"🫠"},{id:":face_with_open_eyes_and_hand_over_mouth:",label:"Face with open eyes and hand over mouth",emoji:"🫢"},{id:":face_with_peeking_eye:",label:"Face with peeking eye",emoji:"🫣"},{id:":saluting_face:",label:"Saluting face",emoji:"🫡"},{id:":face_with_diagonal_mouth:",label:"Face with diagonal mouth",emoji:"🫤"},{id:":dotted_line_face:",label:"Dotted line face",emoji:"🫥"},{id:":face_in_clouds:",label:"Face in clouds",emoji:"😶🌫️"},{id:":face_exhaling:",label:"Face exhaling",emoji:"😮💨"},{id:":face_with_spiral_eyes:",label:"Face with spiral eyes",emoji:"😵💫"},{id:":shaking_face:",label:"Shaking face",emoji:"🫨"},{id:":skull:",label:"Skull",emoji:"💀"},{id:":skull_and_crossbones:",label:"Skull and crossbones",emoji:"☠️"},{id:":pile_of_poo:",label:"Pile of poo",emoji:"💩"},{id:":clown_face:",label:"Clown face",emoji:"🤡"},{id:":ogre:",label:"Ogre",emoji:"👹"},{id:":goblin:",label:"Goblin",emoji:"👺"},{id:":ghost:",label:"Ghost",emoji:"👻"},{id:":alien:",label:"Alien",emoji:"👽"},{id:":alien_monster:",label:"Alien monster",emoji:"👾"},{id:":robot:",label:"Robot",emoji:"🤖"},{id:":jack-o-lantern:",label:"Jack-o-lantern",emoji:"🎃"},{id:":grinning_cat:",label:"Grinning cat",emoji:"😺"},{id:":grinning_cat_with_smiling_eyes:",label:"Grinning cat with smiling eyes",emoji:"😸"},{id:":cat_with_tears_of_joy:",label:"Cat with tears of joy",emoji:"😹"},{id:":smiling_cat_with_heart-eyes:",label:"Smiling cat with heart-eyes",emoji:"😻"},{id:":cat_with_wry_smile:",label:"Cat with wry smile",emoji:"😼"},{id:":kissing_cat:",label:"Kissing cat",emoji:"😽"},{id:":weary_cat:",label:"Weary cat",emoji:"🙀"},{id:":crying_cat:",label:"Crying cat",emoji:"😿"},{id:":pouting_cat:",label:"Pouting cat",emoji:"😾"},{id:":kiss_mark:",label:"Kiss mark",emoji:"💋"},{id:":mouth:",label:"Mouth",emoji:"👄"},{id:":biting_lip:",label:"Biting lip",emoji:"🫦"},{id:":tongue:",label:"Tongue",emoji:"👅"},{id:":eye:",label:"Eye",emoji:"👁️"},{id:":eyes:",label:"Eyes",emoji:"👀"},{id:":nose:",label:"Nose",emoji:"👃",supportsSkinTone:!0},{id:":ear:",label:"Ear",emoji:"👂",supportsSkinTone:!0},{id:":ear_with_hearing_aid:",label:"Ear with hearing aid",emoji:"🦻",supportsSkinTone:!0},{id:":brain:",label:"Brain",emoji:"🧠"},{id:":anatomical_heart:",label:"Anatomical heart",emoji:"🫀"},{id:":lungs:",label:"Lungs",emoji:"🫁"},{id:":tooth:",label:"Tooth",emoji:"🦷"},{id:":bone:",label:"Bone",emoji:"🦴"},{id:":waving_hand:",label:"Waving hand",emoji:"👋",supportsSkinTone:!0},{id:":raised_back_of_hand:",label:"Raised back of hand",emoji:"🤚",supportsSkinTone:!0},{id:":hand_with_fingers_splayed:",label:"Hand with fingers splayed",emoji:"🖐️",supportsSkinTone:!0},{id:":raised_hand:",label:"Raised hand",emoji:"✋",supportsSkinTone:!0},{id:":vulcan_salute:",label:"Vulcan salute",emoji:"🖖",supportsSkinTone:!0},{id:":ok_hand:",label:"OK hand",emoji:"👌",supportsSkinTone:!0},{id:":pinched_fingers:",label:"Pinched fingers",emoji:"🤌",supportsSkinTone:!0},{id:":pinching_hand:",label:"Pinching hand",emoji:"🤏",supportsSkinTone:!0},{id:":victory_hand:",label:"Victory hand",emoji:"✌️",supportsSkinTone:!0},{id:":crossed_fingers:",label:"Crossed fingers",emoji:"🤞",supportsSkinTone:!0},{id:":love-you_gesture:",label:"Love-you gesture",emoji:"🤟",supportsSkinTone:!0},{id:":sign_of_the_horns:",label:"Sign of the horns",emoji:"🤘",supportsSkinTone:!0},{id:":call_me_hand:",label:"Call me hand",emoji:"🤙",supportsSkinTone:!0},{id:":backhand_index_pointing_left:",label:"Backhand index pointing left",emoji:"👈",supportsSkinTone:!0},{id:":backhand_index_pointing_right:",label:"Backhand index pointing right",emoji:"👉",supportsSkinTone:!0},{id:":backhand_index_pointing_up:",label:"Backhand index pointing up",emoji:"👆",supportsSkinTone:!0},{id:":backhand_index_pointing_down:",label:"Backhand index pointing down",emoji:"👇",supportsSkinTone:!0},{id:":index_pointing_up:",label:"Index pointing up",emoji:"☝️",supportsSkinTone:!0},{id:":thumbs_up:",label:"Thumbs up",emoji:"👍",supportsSkinTone:!0},{id:":thumbs_down:",label:"Thumbs down",emoji:"👎",supportsSkinTone:!0},{id:":raised_fist:",label:"Raised fist",emoji:"✊",supportsSkinTone:!0},{id:":oncoming_fist:",label:"Oncoming fist",emoji:"👊",supportsSkinTone:!0},{id:":left-facing_fist:",label:"Left-facing fist",emoji:"🤛",supportsSkinTone:!0},{id:":right-facing_fist:",label:"Right-facing fist",emoji:"🤜",supportsSkinTone:!0},{id:":clapping_hands:",label:"Clapping hands",emoji:"👏",supportsSkinTone:!0},{id:":raising_hands:",label:"Raising hands",emoji:"🙌",supportsSkinTone:!0},{id:":open_hands:",label:"Open hands",emoji:"👐",supportsSkinTone:!0},{id:":palms_up_together:",label:"Palms up together",emoji:"🤲",supportsSkinTone:!0},{id:":handshake:",label:"Handshake",emoji:"🤝",supportsSkinTone:!0},{id:":folded_hands:",label:"Folded hands",emoji:"🙏",supportsSkinTone:!0},{id:":writing_hand:",label:"Writing hand",emoji:"✍️",supportsSkinTone:!0},{id:":nail_polish:",label:"Nail polish",emoji:"💅",supportsSkinTone:!0},{id:":selfie:",label:"Selfie",emoji:"🤳",supportsSkinTone:!0},{id:":flexed_biceps:",label:"Flexed biceps",emoji:"💪",supportsSkinTone:!0},{id:":mechanical_arm:",label:"Mechanical arm",emoji:"🦾"},{id:":mechanical_leg:",label:"Mechanical leg",emoji:"🦿"},{id:":leg:",label:"Leg",emoji:"🦵",supportsSkinTone:!0},{id:":foot:",label:"Foot",emoji:"🦶",supportsSkinTone:!0},{id:":rightwards_hand:",label:"Rightwards hand",emoji:"🫱",supportsSkinTone:!0},{id:":leftwards_hand:",label:"Leftwards hand",emoji:"🫲",supportsSkinTone:!0},{id:":palm_down_hand:",label:"Palm down hand",emoji:"🫳",supportsSkinTone:!0},{id:":palm_up_hand:",label:"Palm up hand",emoji:"🫴",supportsSkinTone:!0},{id:":index_pointing_at_the_viewer:",label:"Index pointing at the viewer",emoji:"🫵",supportsSkinTone:!0},{id:":heart_hands:",label:"Heart hands",emoji:"🫶",supportsSkinTone:!0},{id:":hand_with_index_finger_and_thumb_crossed:",label:"Hand with index finger and thumb crossed",emoji:"🫰",supportsSkinTone:!0},{id:":leftwards_pushing_hand:",label:"Leftwards pushing hand",emoji:"🫷",supportsSkinTone:!0},{id:":rightwards_pushing_hand:",label:"Rightwards pushing hand",emoji:"🫸",supportsSkinTone:!0},{id:":baby:",label:"Baby",emoji:"👶",supportsSkinTone:!0},{id:":child:",label:"Child",emoji:"🧒",supportsSkinTone:!0},{id:":boy:",label:"Boy",emoji:"👦",supportsSkinTone:!0},{id:":girl:",label:"Girl",emoji:"👧",supportsSkinTone:!0},{id:":person:",label:"Person",emoji:"🧑",supportsSkinTone:!0},{id:":man:",label:"Man",emoji:"👨",supportsSkinTone:!0},{id:":woman:",label:"Woman",emoji:"👩",supportsSkinTone:!0},{id:":older_person:",label:"Older person",emoji:"🧓",supportsSkinTone:!0},{id:":old_man:",label:"Old man",emoji:"👴",supportsSkinTone:!0},{id:":old_woman:",label:"Old woman",emoji:"👵",supportsSkinTone:!0},{id:":person_blond_hair:",label:"Person: blond hair",emoji:"👱",supportsSkinTone:!0},{id:":man_blond_hair:",label:"Man: blond hair",emoji:"👱♂️",supportsSkinTone:!0},{id:":woman_blond_hair:",label:"Woman: blond hair",emoji:"👱♀️",supportsSkinTone:!0},{id:":person_red_hair:",label:"Person: red hair",emoji:"🧑🦰",supportsSkinTone:!0},{id:":man_red_hair:",label:"Man: red hair",emoji:"👨🦰",supportsSkinTone:!0},{id:":woman_red_hair:",label:"Woman: red hair",emoji:"👩🦰",supportsSkinTone:!0},{id:":person_curly_hair:",label:"Person: curly hair",emoji:"🧑🦱",supportsSkinTone:!0},{id:":man_curly_hair:",label:"Man: curly hair",emoji:"👨🦱",supportsSkinTone:!0},{id:":woman_curly_hair:",label:"Woman: curly hair",emoji:"👩🦱",supportsSkinTone:!0},{id:":person_white_hair:",label:"Person: white hair",emoji:"🧑🦳",supportsSkinTone:!0},{id:":man_white_hair:",label:"Man: white hair",emoji:"👨🦳",supportsSkinTone:!0},{id:":woman_white_hair:",label:"Woman: white hair",emoji:"👩🦳",supportsSkinTone:!0},{id:":person_bald:",label:"Person: bald",emoji:"🧑🦲",supportsSkinTone:!0},{id:":man_bald:",label:"Man: bald",emoji:"👨🦲",supportsSkinTone:!0},{id:":woman_bald:",label:"Woman: bald",emoji:"👩🦲",supportsSkinTone:!0},{id:":person_beard:",label:"Person: beard",emoji:"🧔",supportsSkinTone:!0},{id:":man_beard:",label:"Man: beard",emoji:"🧔♂️",supportsSkinTone:!0},{id:":woman_beard:",label:"Woman: beard",emoji:"🧔♀️",supportsSkinTone:!0},{id:":health_worker:",label:"Health worker",emoji:"🧑⚕️",supportsSkinTone:!0},{id:":man_health_worker:",label:"Man health worker",emoji:"👨⚕️",supportsSkinTone:!0},{id:":woman_health_worker:",label:"Woman health worker",emoji:"👩⚕️",supportsSkinTone:!0},{id:":student:",label:"Student",emoji:"🧑🎓",supportsSkinTone:!0},{id:":man_student:",label:"Man student",emoji:"👨🎓",supportsSkinTone:!0},{id:":woman_student:",label:"Woman student",emoji:"👩🎓",supportsSkinTone:!0},{id:":teacher:",label:"Teacher",emoji:"🧑🏫",supportsSkinTone:!0},{id:":man_teacher:",label:"Man teacher",emoji:"👨🏫",supportsSkinTone:!0},{id:":woman_teacher:",label:"Woman teacher",emoji:"👩🏫",supportsSkinTone:!0},{id:":judge:",label:"Judge",emoji:"🧑⚖️",supportsSkinTone:!0},{id:":man_judge:",label:"Man judge",emoji:"👨⚖️",supportsSkinTone:!0},{id:":woman_judge:",label:"Woman judge",emoji:"👩⚖️",supportsSkinTone:!0},{id:":farmer:",label:"Farmer",emoji:"🧑🌾",supportsSkinTone:!0},{id:":man_farmer:",label:"Man farmer",emoji:"👨🌾",supportsSkinTone:!0},{id:":woman_farmer:",label:"Woman farmer",emoji:"👩🌾",supportsSkinTone:!0},{id:":cook:",label:"Cook",emoji:"🧑🍳",supportsSkinTone:!0},{id:":man_cook:",label:"Man cook",emoji:"👨🍳",supportsSkinTone:!0},{id:":woman_cook:",label:"Woman cook",emoji:"👩🍳",supportsSkinTone:!0},{id:":mechanic:",label:"Mechanic",emoji:"🧑🔧",supportsSkinTone:!0},{id:":man_mechanic:",label:"Man mechanic",emoji:"👨🔧",supportsSkinTone:!0},{id:":woman_mechanic:",label:"Woman mechanic",emoji:"👩🔧",supportsSkinTone:!0},{id:":factory_worker:",label:"Factory worker",emoji:"🧑🏭",supportsSkinTone:!0},{id:":man_factory_worker:",label:"Man factory worker",emoji:"👨🏭",supportsSkinTone:!0},{id:":woman_factory_worker:",label:"Woman factory worker",emoji:"👩🏭",supportsSkinTone:!0},{id:":office_worker:",label:"Office worker",emoji:"🧑💼",supportsSkinTone:!0},{id:":man_office_worker:",label:"Man office worker",emoji:"👨💼",supportsSkinTone:!0},{id:":woman_office_worker:",label:"Woman office worker",emoji:"👩💼",supportsSkinTone:!0},{id:":scientist:",label:"Scientist",emoji:"🧑🔬",supportsSkinTone:!0},{id:":man_scientist:",label:"Man scientist",emoji:"👨🔬",supportsSkinTone:!0},{id:":woman_scientist:",label:"Woman scientist",emoji:"👩🔬",supportsSkinTone:!0},{id:":technologist:",label:"Technologist",emoji:"🧑💻",supportsSkinTone:!0},{id:":man_technologist:",label:"Man technologist",emoji:"👨💻",supportsSkinTone:!0},{id:":woman_technologist:",label:"Woman technologist",emoji:"👩💻",supportsSkinTone:!0},{id:":singer:",label:"Singer",emoji:"🧑🎤",supportsSkinTone:!0},{id:":man_singer:",label:"Man singer",emoji:"👨🎤",supportsSkinTone:!0},{id:":woman_singer:",label:"Woman singer",emoji:"👩🎤",supportsSkinTone:!0},{id:":artist:",label:"Artist",emoji:"🧑🎨",supportsSkinTone:!0},{id:":man_artist:",label:"Man artist",emoji:"👨🎨",supportsSkinTone:!0},{id:":woman_artist:",label:"Woman artist",emoji:"👩🎨",supportsSkinTone:!0},{id:":pilot:",label:"Pilot",emoji:"🧑✈️",supportsSkinTone:!0},{id:":man_pilot:",label:"Man pilot",emoji:"👨✈️",supportsSkinTone:!0},{id:":woman_pilot:",label:"Woman pilot",emoji:"👩✈️",supportsSkinTone:!0},{id:":astronaut:",label:"Astronaut",emoji:"🧑🚀",supportsSkinTone:!0},{id:":man_astronaut:",label:"Man astronaut",emoji:"👨🚀",supportsSkinTone:!0},{id:":woman_astronaut:",label:"Woman astronaut",emoji:"👩🚀",supportsSkinTone:!0},{id:":firefighter:",label:"Firefighter",emoji:"🧑🚒",supportsSkinTone:!0},{id:":man_firefighter:",label:"Man firefighter",emoji:"👨🚒",supportsSkinTone:!0},{id:":woman_firefighter:",label:"Woman firefighter",emoji:"👩🚒",supportsSkinTone:!0},{id:":police_officer:",label:"Police officer",emoji:"👮",supportsSkinTone:!0},{id:":man_police_officer:",label:"Man police officer",emoji:"👮♂️",supportsSkinTone:!0},{id:":woman_police_officer:",label:"Woman police officer",emoji:"👮♀️",supportsSkinTone:!0},{id:":ninja:",label:"Ninja",emoji:"🥷",supportsSkinTone:!0},{id:":construction_worker:",label:"Construction worker",emoji:"👷",supportsSkinTone:!0},{id:":man_construction_worker:",label:"Man construction worker",emoji:"👷♂️",supportsSkinTone:!0},{id:":woman_construction_worker:",label:"Woman construction worker",emoji:"👷♀️",supportsSkinTone:!0},{id:":prince:",label:"Prince",emoji:"🤴",supportsSkinTone:!0},{id:":princess:",label:"Princess",emoji:"👸",supportsSkinTone:!0},{id:":person_wearing_turban:",label:"Person wearing turban",emoji:"👳",supportsSkinTone:!0},{id:":man_wearing_turban:",label:"Man wearing turban",emoji:"👳♂️",supportsSkinTone:!0},{id:":woman_wearing_turban:",label:"Woman wearing turban",emoji:"👳♀️",supportsSkinTone:!0},{id:":person_with_skullcap:",label:"Person with skullcap",emoji:"👲",supportsSkinTone:!0},{id:":woman_with_headscarf:",label:"Woman with headscarf",emoji:"🧕",supportsSkinTone:!0},{id:":person_in_tuxedo:",label:"Person in tuxedo",emoji:"🤵",supportsSkinTone:!0},{id:":man_in_tuxedo:",label:"Man in tuxedo",emoji:"🤵♂️",supportsSkinTone:!0},{id:":woman_in_tuxedo:",label:"Woman in tuxedo",emoji:"🤵♀️",supportsSkinTone:!0},{id:":person_with_veil:",label:"Person with veil",emoji:"👰",supportsSkinTone:!0},{id:":man_with_veil:",label:"Man with veil",emoji:"👰♂️",supportsSkinTone:!0},{id:":woman_with_veil:",label:"Woman with veil",emoji:"👰♀️",supportsSkinTone:!0},{id:":pregnant_woman:",label:"Pregnant woman",emoji:"🤰",supportsSkinTone:!0},{id:":pregnant_man:",label:"Pregnant man",emoji:"🫃",supportsSkinTone:!0},{id:":pregnant_person:",label:"Pregnant person",emoji:"🫄",supportsSkinTone:!0},{id:":breast-feeding:",label:"Breast-feeding",emoji:"🤱",supportsSkinTone:!0},{id:":person_feeding_baby:",label:"Person feeding baby",emoji:"🧑🍼",supportsSkinTone:!0},{id:":man_feeding_baby:",label:"Man feeding baby",emoji:"👨🍼",supportsSkinTone:!0},{id:":woman_feeding_baby:",label:"Woman feeding baby",emoji:"👩🍼",supportsSkinTone:!0},{id:":baby_angel:",label:"Baby angel",emoji:"👼",supportsSkinTone:!0},{id:":santa_claus:",label:"Santa Claus",emoji:"🎅",supportsSkinTone:!0},{id:":mrs_claus:",label:"Mrs. Claus",emoji:"🤶",supportsSkinTone:!0},{id:":mx_claus:",label:"Mx Claus",emoji:"🧑🎄",supportsSkinTone:!0},{id:":superhero:",label:"Superhero",emoji:"🦸",supportsSkinTone:!0},{id:":man_superhero:",label:"Man superhero",emoji:"🦸♂️",supportsSkinTone:!0},{id:":woman_superhero:",label:"Woman superhero",emoji:"🦸♀️",supportsSkinTone:!0},{id:":supervillain:",label:"Supervillain",emoji:"🦹",supportsSkinTone:!0},{id:":man_supervillain:",label:"Man supervillain",emoji:"🦹♂️",supportsSkinTone:!0},{id:":woman_supervillain:",label:"Woman supervillain",emoji:"🦹♀️",supportsSkinTone:!0},{id:":mage:",label:"Mage",emoji:"🧙",supportsSkinTone:!0},{id:":man_mage:",label:"Man mage",emoji:"🧙♂️",supportsSkinTone:!0},{id:":woman_mage:",label:"Woman mage",emoji:"🧙♀️",supportsSkinTone:!0},{id:":fairy:",label:"Fairy",emoji:"🧚",supportsSkinTone:!0},{id:":man_fairy:",label:"Man fairy",emoji:"🧚♂️",supportsSkinTone:!0},{id:":woman_fairy:",label:"Woman fairy",emoji:"🧚♀️",supportsSkinTone:!0},{id:":vampire:",label:"Vampire",emoji:"🧛",supportsSkinTone:!0},{id:":man_vampire:",label:"Man vampire",emoji:"🧛♂️",supportsSkinTone:!0},{id:":woman_vampire:",label:"Woman vampire",emoji:"🧛♀️",supportsSkinTone:!0},{id:":merperson:",label:"Merperson",emoji:"🧜",supportsSkinTone:!0},{id:":merman:",label:"Merman",emoji:"🧜♂️",supportsSkinTone:!0},{id:":mermaid:",label:"Mermaid",emoji:"🧜♀️",supportsSkinTone:!0},{id:":elf:",label:"Elf",emoji:"🧝",supportsSkinTone:!0},{id:":man_elf:",label:"Man elf",emoji:"🧝♂️",supportsSkinTone:!0},{id:":woman_elf:",label:"Woman elf",emoji:"🧝♀️",supportsSkinTone:!0},{id:":genie:",label:"Genie",emoji:"🧞"},{id:":man_genie:",label:"Man genie",emoji:"🧞♂️"},{id:":woman_genie:",label:"Woman genie",emoji:"🧞♀️"},{id:":zombie:",label:"Zombie",emoji:"🧟"},{id:":man_zombie:",label:"Man zombie",emoji:"🧟♂️"},{id:":woman_zombie:",label:"Woman zombie",emoji:"🧟♀️"},{id:":troll:",label:"Troll",emoji:"🧌"},{id:":person_frowning:",label:"Person frowning",emoji:"🙍",supportsSkinTone:!0},{id:":man_frowning:",label:"Man frowning",emoji:"🙍♂️",supportsSkinTone:!0},{id:":woman_frowning:",label:"Woman frowning",emoji:"🙍♀️",supportsSkinTone:!0},{id:":person_pouting:",label:"Person pouting",emoji:"🙎",supportsSkinTone:!0},{id:":man_pouting:",label:"Man pouting",emoji:"🙎♂️",supportsSkinTone:!0},{id:":woman_pouting:",label:"Woman pouting",emoji:"🙎♀️",supportsSkinTone:!0},{id:":person_gesturing_no:",label:"Person gesturing no",emoji:"🙅",supportsSkinTone:!0},{id:":man_gesturing_no:",label:"Man gesturing no",emoji:"🙅♂️",supportsSkinTone:!0},{id:":woman_gesturing_no:",label:"Woman gesturing no",emoji:"🙅♀️",supportsSkinTone:!0},{id:":person_gesturing_ok:",label:"Person gesturing OK",emoji:"🙆",supportsSkinTone:!0},{id:":man_gesturing_ok:",label:"Man gesturing OK",emoji:"🙆♂️",supportsSkinTone:!0},{id:":woman_gesturing_ok:",label:"Woman gesturing OK",emoji:"🙆♀️",supportsSkinTone:!0},{id:":person_tipping_hand:",label:"Person tipping hand",emoji:"💁",supportsSkinTone:!0},{id:":man_tipping_hand:",label:"Man tipping hand",emoji:"💁♂️",supportsSkinTone:!0},{id:":woman_tipping_hand:",label:"Woman tipping hand",emoji:"💁♀️",supportsSkinTone:!0},{id:":person_raising_hand:",label:"Person raising hand",emoji:"🙋",supportsSkinTone:!0},{id:":man_raising_hand:",label:"Man raising hand",emoji:"🙋♂️",supportsSkinTone:!0},{id:":woman_raising_hand:",label:"Woman raising hand",emoji:"🙋♀️",supportsSkinTone:!0},{id:":deaf_person:",label:"Deaf person",emoji:"🧏",supportsSkinTone:!0},{id:":deaf_man:",label:"Deaf man",emoji:"🧏♂️",supportsSkinTone:!0},{id:":deaf_woman:",label:"Deaf woman",emoji:"🧏♀️",supportsSkinTone:!0},{id:":person_bowing:",label:"Person bowing",emoji:"🙇",supportsSkinTone:!0},{id:":man_bowing:",label:"Man bowing",emoji:"🙇♂️",supportsSkinTone:!0},{id:":woman_bowing:",label:"Woman bowing",emoji:"🙇♀️",supportsSkinTone:!0},{id:":person_facepalming:",label:"Person facepalming",emoji:"🤦",supportsSkinTone:!0},{id:":man_facepalming:",label:"Man facepalming",emoji:"🤦♂️",supportsSkinTone:!0},{id:":woman_facepalming:",label:"Woman facepalming",emoji:"🤦♀️",supportsSkinTone:!0},{id:":person_shrugging:",label:"Person shrugging",emoji:"🤷",supportsSkinTone:!0},{id:":man_shrugging:",label:"Man shrugging",emoji:"🤷♂️",supportsSkinTone:!0},{id:":woman_shrugging:",label:"Woman shrugging",emoji:"🤷♀️",supportsSkinTone:!0},{id:":person_getting_massage:",label:"Person getting massage",emoji:"💆",supportsSkinTone:!0},{id:":man_getting_massage:",label:"Man getting massage",emoji:"💆♂️",supportsSkinTone:!0},{id:":woman_getting_massage:",label:"Woman getting massage",emoji:"💆♀️",supportsSkinTone:!0},{id:":person_getting_haircut:",label:"Person getting haircut",emoji:"💇",supportsSkinTone:!0},{id:":man_getting_haircut:",label:"Man getting haircut",emoji:"💇♂️",supportsSkinTone:!0},{id:":woman_getting_haircut:",label:"Woman getting haircut",emoji:"💇♀️",supportsSkinTone:!0},{id:":person_walking:",label:"Person walking",emoji:"🚶",supportsSkinTone:!0},{id:":man_walking:",label:"Man walking",emoji:"🚶♂️",supportsSkinTone:!0},{id:":woman_walking:",label:"Woman walking",emoji:"🚶♀️",supportsSkinTone:!0},{id:":person_standing:",label:"Person standing",emoji:"🧍",supportsSkinTone:!0},{id:":man_standing:",label:"Man standing",emoji:"🧍♂️",supportsSkinTone:!0},{id:":woman_standing:",label:"Woman standing",emoji:"🧍♀️",supportsSkinTone:!0},{id:":person_kneeling:",label:"Person kneeling",emoji:"🧎",supportsSkinTone:!0},{id:":man_kneeling:",label:"Man kneeling",emoji:"🧎♂️",supportsSkinTone:!0},{id:":woman_kneeling:",label:"Woman kneeling",emoji:"🧎♀️",supportsSkinTone:!0},{id:":person_with_probing_cane:",label:"Person with probing cane",emoji:"🧑🦯",supportsSkinTone:!0},{id:":man_with_probing_cane:",label:"Man with probing cane",emoji:"👨🦯",supportsSkinTone:!0},{id:":woman_with_probing_cane:",label:"Woman with probing cane",emoji:"👩🦯",supportsSkinTone:!0},{id:":person_in_motorized_wheelchair:",label:"Person in motorized wheelchair",emoji:"🧑🦼",supportsSkinTone:!0},{id:":man_in_motorized_wheelchair:",label:"Man in motorized wheelchair",emoji:"👨🦼",supportsSkinTone:!0},{id:":woman_in_motorized_wheelchair:",label:"Woman in motorized wheelchair",emoji:"👩🦼",supportsSkinTone:!0},{id:":person_in_manual_wheelchair:",label:"Person in manual wheelchair",emoji:"🧑🦽",supportsSkinTone:!0},{id:":man_in_manual_wheelchair:",label:"Man in manual wheelchair",emoji:"👨🦽",supportsSkinTone:!0},{id:":woman_in_manual_wheelchair:",label:"Woman in manual wheelchair",emoji:"👩🦽",supportsSkinTone:!0},{id:":person_running:",label:"Person running",emoji:"🏃",supportsSkinTone:!0},{id:":man_running:",label:"Man running",emoji:"🏃♂️",supportsSkinTone:!0},{id:":woman_running:",label:"Woman running",emoji:"🏃♀️",supportsSkinTone:!0},{id:":woman_dancing:",label:"Woman dancing",emoji:"💃",supportsSkinTone:!0},{id:":man_dancing:",label:"Man dancing",emoji:"🕺",supportsSkinTone:!0},{id:":people_with_bunny_ears:",label:"People with bunny ears",emoji:"👯"},{id:":men_with_bunny_ears:",label:"Men with bunny ears",emoji:"👯♂️"},{id:":women_with_bunny_ears:",label:"Women with bunny ears",emoji:"👯♀️"},{id:":women_holding_hands:",label:"Women holding hands",emoji:"👭",supportsSkinTone:!0},{id:":woman_and_man_holding_hands:",label:"Woman and man holding hands",emoji:"👫",supportsSkinTone:!0},{id:":men_holding_hands:",label:"Men holding hands",emoji:"👬",supportsSkinTone:!0},{id:":kiss:",label:"Kiss",emoji:"💏",supportsSkinTone:!0},{id:":couple_with_heart:",label:"Couple with heart",emoji:"💑",supportsSkinTone:!0},{id:":family:",label:"Family",emoji:"👪"},{id:":family_man_woman_boy:",label:"Family: man, woman, boy",emoji:"👨👩👦"},{id:":family_man_woman_girl:",label:"Family: man, woman, girl",emoji:"👨👩👧"},{id:":family_man_woman_girl_boy:",label:"Family: man, woman, girl, boy",emoji:"👨👩👧👦"},{id:":family_man_woman_boy_boy:",label:"Family: man, woman, boy, boy",emoji:"👨👩👦👦"},{id:":family_man_woman_girl_girl:",label:"Family: man, woman, girl, girl",emoji:"👨👩👧👧"},{id:":family_man_man_boy:",label:"Family: man, man, boy",emoji:"👨👨👦"},{id:":family_man_man_girl:",label:"Family: man, man, girl",emoji:"👨👨👧"},{id:":family_woman_woman_boy:",label:"Family: woman, woman, boy",emoji:"👩👩👦"},{id:":family_woman_woman_girl:",label:"Family: woman, woman, girl",emoji:"👩👩👧"},{id:":family_man_boy:",label:"Family: man, boy",emoji:"👨👦"},{id:":family_man_girl:",label:"Family: man, girl",emoji:"👨👧"},{id:":family_woman_boy:",label:"Family: woman, boy",emoji:"👩👦"},{id:":family_woman_girl:",label:"Family: woman, girl",emoji:"👩👧"},{id:":speaking_head:",label:"Speaking head",emoji:"🗣️"},{id:":bust_in_silhouette:",label:"Bust in silhouette",emoji:"👤"},{id:":busts_in_silhouette:",label:"Busts in silhouette",emoji:"👥"},{id:":footprints:",label:"Footprints",emoji:"👣"}],animals:[{id:":dog_face:",label:"Dog face",emoji:"🐶"},{id:":cat_face:",label:"Cat face",emoji:"🐱"},{id:":mouse_face:",label:"Mouse face",emoji:"🐭"},{id:":hamster:",label:"Hamster",emoji:"🐹"},{id:":rabbit_face:",label:"Rabbit face",emoji:"🐰"},{id:":fox:",label:"Fox",emoji:"🦊"},{id:":bear:",label:"Bear",emoji:"🐻"},{id:":panda:",label:"Panda",emoji:"🐼"},{id:":koala:",label:"Koala",emoji:"🐨"},{id:":tiger_face:",label:"Tiger face",emoji:"🐯"},{id:":lion:",label:"Lion",emoji:"🦁"},{id:":cow_face:",label:"Cow face",emoji:"🐮"},{id:":pig_face:",label:"Pig face",emoji:"🐷"},{id:":frog:",label:"Frog",emoji:"🐸"},{id:":monkey_face:",label:"Monkey face",emoji:"🐵"},{id:":see-no-evil_monkey:",label:"See-no-evil monkey",emoji:"🙈"},{id:":hear-no-evil_monkey:",label:"Hear-no-evil monkey",emoji:"🙉"},{id:":speak-no-evil_monkey:",label:"Speak-no-evil monkey",emoji:"🙊"},{id:":monkey:",label:"Monkey",emoji:"🐒"},{id:":chicken:",label:"Chicken",emoji:"🐔"},{id:":penguin:",label:"Penguin",emoji:"🐧"},{id:":bird:",label:"Bird",emoji:"🐦"},{id:":baby_chick:",label:"Baby chick",emoji:"🐤"},{id:":hatching_chick:",label:"Hatching chick",emoji:"🐣"},{id:":front-facing_baby_chick:",label:"Front-facing baby chick",emoji:"🐥"},{id:":duck:",label:"Duck",emoji:"🦆"},{id:":eagle:",label:"Eagle",emoji:"🦅"},{id:":owl:",label:"Owl",emoji:"🦉"},{id:":bat:",label:"Bat",emoji:"🦇"},{id:":wolf:",label:"Wolf",emoji:"🐺"},{id:":boar:",label:"Boar",emoji:"🐗"},{id:":horse_face:",label:"Horse face",emoji:"🐴"},{id:":unicorn:",label:"Unicorn",emoji:"🦄"},{id:":honeybee:",label:"Honeybee",emoji:"🐝"},{id:":bug:",label:"Bug",emoji:"🐛"},{id:":butterfly:",label:"Butterfly",emoji:"🦋"},{id:":snail:",label:"Snail",emoji:"🐌"},{id:":lady_beetle:",label:"Lady beetle",emoji:"🐞"},{id:":ant:",label:"Ant",emoji:"🐜"},{id:":spider:",label:"Spider",emoji:"🕷️"},{id:":spider_web:",label:"Spider web",emoji:"🕸️"},{id:":scorpion:",label:"Scorpion",emoji:"🦂"},{id:":turtle:",label:"Turtle",emoji:"🐢"},{id:":snake:",label:"Snake",emoji:"🐍"},{id:":lizard:",label:"Lizard",emoji:"🦎"},{id:":t-rex:",label:"T-Rex",emoji:"🦖"},{id:":sauropod:",label:"Sauropod",emoji:"🦕"},{id:":octopus:",label:"Octopus",emoji:"🐙"},{id:":squid:",label:"Squid",emoji:"🦑"},{id:":shrimp:",label:"Shrimp",emoji:"🦐"},{id:":lobster:",label:"Lobster",emoji:"🦞"},{id:":crab:",label:"Crab",emoji:"🦀"},{id:":blowfish:",label:"Blowfish",emoji:"🐡"},{id:":tropical_fish:",label:"Tropical fish",emoji:"🐠"},{id:":fish:",label:"Fish",emoji:"🐟"},{id:":dolphin:",label:"Dolphin",emoji:"🐬"},{id:":spouting_whale:",label:"Spouting whale",emoji:"🐳"},{id:":whale:",label:"Whale",emoji:"🐋"},{id:":shark:",label:"Shark",emoji:"🦈"},{id:":crocodile:",label:"Crocodile",emoji:"🐊"},{id:":tiger:",label:"Tiger",emoji:"🐅"},{id:":leopard:",label:"Leopard",emoji:"🐆"},{id:":zebra:",label:"Zebra",emoji:"🦓"},{id:":gorilla:",label:"Gorilla",emoji:"🦍"},{id:":orangutan:",label:"Orangutan",emoji:"🦧"},{id:":elephant:",label:"Elephant",emoji:"🐘"},{id:":rhinoceros:",label:"Rhinoceros",emoji:"🦏"},{id:":hippopotamus:",label:"Hippopotamus",emoji:"🦛"},{id:":camel:",label:"Camel",emoji:"🐪"},{id:":two-hump_camel:",label:"Two-hump camel",emoji:"🐫"},{id:":giraffe:",label:"Giraffe",emoji:"🦒"},{id:":kangaroo:",label:"Kangaroo",emoji:"🦘"},{id:":water_buffalo:",label:"Water buffalo",emoji:"🐃"},{id:":ox:",label:"Ox",emoji:"🐂"},{id:":cow:",label:"Cow",emoji:"🐄"},{id:":horse:",label:"Horse",emoji:"🐎"},{id:":pig:",label:"Pig",emoji:"🐖"},{id:":ram:",label:"Ram",emoji:"🐏"},{id:":ewe:",label:"Ewe",emoji:"🐑"},{id:":llama:",label:"Llama",emoji:"🦙"},{id:":goat:",label:"Goat",emoji:"🐐"},{id:":deer:",label:"Deer",emoji:"🦌"},{id:":dog:",label:"Dog",emoji:"🐕"},{id:":poodle:",label:"Poodle",emoji:"🐩"},{id:":cat:",label:"Cat",emoji:"🐈"},{id:":paw_prints:",label:"Paw prints",emoji:"🐾"},{id:":raccoon:",label:"Raccoon",emoji:"🦝"},{id:":badger:",label:"Badger",emoji:"🦡"},{id:":hedgehog:",label:"Hedgehog",emoji:"🦔"},{id:":otter:",label:"Otter",emoji:"🦦"},{id:":skunk:",label:"Skunk",emoji:"🦨"},{id:":beaver:",label:"Beaver",emoji:"🦫"},{id:":bison:",label:"Bison",emoji:"🦬"},{id:":mammoth:",label:"Mammoth",emoji:"🦣"},{id:":sloth:",label:"Sloth",emoji:"🦥"},{id:":polar_bear:",label:"Polar bear",emoji:"🐻❄️"},{id:":black_cat:",label:"Black cat",emoji:"🐈⬛"},{id:":guide_dog:",label:"Guide dog",emoji:"🦮"},{id:":service_dog:",label:"Service dog",emoji:"🐕🦺"},{id:":rooster:",label:"Rooster",emoji:"🐓"},{id:":turkey:",label:"Turkey",emoji:"🦃"},{id:":dodo:",label:"Dodo",emoji:"🦤"},{id:":feather:",label:"Feather",emoji:"🪶"},{id:":flamingo:",label:"Flamingo",emoji:"🦩"},{id:":peacock:",label:"Peacock",emoji:"🦚"},{id:":parrot:",label:"Parrot",emoji:"🦜"},{id:":swan:",label:"Swan",emoji:"🦢"},{id:":goose:",label:"Goose",emoji:"🪿"},{id:":seal:",label:"Seal",emoji:"🦭"},{id:":jellyfish:",label:"Jellyfish",emoji:"🪼"},{id:":coral:",label:"Coral",emoji:"🪸"},{id:":fly:",label:"Fly",emoji:"🪰"},{id:":mosquito:",label:"Mosquito",emoji:"🦟"},{id:":cockroach:",label:"Cockroach",emoji:"🪳"},{id:":beetle:",label:"Beetle",emoji:"🪲"},{id:":cricket:",label:"Cricket",emoji:"🦗"},{id:":worm:",label:"Worm",emoji:"🪱"},{id:":microbe:",label:"Microbe",emoji:"🦠"},{id:":nest_with_eggs:",label:"Nest with eggs",emoji:"🪺"},{id:":empty_nest:",label:"Empty nest",emoji:"🪹"},{id:":wing:",label:"Wing",emoji:"🪽"},{id:":seedling:",label:"Seedling",emoji:"🌱"},{id:":herb:",label:"Herb",emoji:"🌿"},{id:":shamrock:",label:"Shamrock",emoji:"☘️"},{id:":four_leaf_clover:",label:"Four leaf clover",emoji:"🍀"},{id:":evergreen_tree:",label:"Evergreen tree",emoji:"🌲"},{id:":deciduous_tree:",label:"Deciduous tree",emoji:"🌳"},{id:":palm_tree:",label:"Palm tree",emoji:"🌴"},{id:":cactus:",label:"Cactus",emoji:"🌵"},{id:":tulip:",label:"Tulip",emoji:"🌷"},{id:":cherry_blossom:",label:"Cherry blossom",emoji:"🌸"},{id:":rose:",label:"Rose",emoji:"🌹"},{id:":hibiscus:",label:"Hibiscus",emoji:"🌺"},{id:":sunflower:",label:"Sunflower",emoji:"🌻"},{id:":blossom:",label:"Blossom",emoji:"🌼"},{id:":bouquet:",label:"Bouquet",emoji:"💐"},{id:":mushroom:",label:"Mushroom",emoji:"🍄"},{id:":maple_leaf:",label:"Maple leaf",emoji:"🍁"},{id:":fallen_leaves:",label:"Fallen leaves",emoji:"🍂"},{id:":leaf_fluttering_in_wind:",label:"Leaf fluttering in wind",emoji:"🍃"}],food:[{id:":grapes:",label:"Grapes",emoji:"🍇"},{id:":melon:",label:"Melon",emoji:"🍈"},{id:":watermelon:",label:"Watermelon",emoji:"🍉"},{id:":tangerine:",label:"Tangerine",emoji:"🍊"},{id:":lemon:",label:"Lemon",emoji:"🍋"},{id:":banana:",label:"Banana",emoji:"🍌"},{id:":pineapple:",label:"Pineapple",emoji:"🍍"},{id:":mango:",label:"Mango",emoji:"🥭"},{id:":red_apple:",label:"Red apple",emoji:"🍎"},{id:":green_apple:",label:"Green apple",emoji:"🍏"},{id:":pear:",label:"Pear",emoji:"🍐"},{id:":peach:",label:"Peach",emoji:"🍑"},{id:":cherries:",label:"Cherries",emoji:"🍒"},{id:":strawberry:",label:"Strawberry",emoji:"🍓"},{id:":blueberries:",label:"Blueberries",emoji:"🫐"},{id:":kiwi_fruit:",label:"Kiwi fruit",emoji:"🥝"},{id:":coconut:",label:"Coconut",emoji:"🥥"},{id:":tomato:",label:"Tomato",emoji:"🍅"},{id:":avocado:",label:"Avocado",emoji:"🥑"},{id:":eggplant:",label:"Eggplant",emoji:"🍆"},{id:":potato:",label:"Potato",emoji:"🥔"},{id:":carrot:",label:"Carrot",emoji:"🥕"},{id:":corn:",label:"Corn",emoji:"🌽"},{id:":hot_pepper:",label:"Hot pepper",emoji:"🌶️"},{id:":cucumber:",label:"Cucumber",emoji:"🥒"},{id:":leafy_greens:",label:"Leafy greens",emoji:"🥬"},{id:":broccoli:",label:"Broccoli",emoji:"🥦"},{id:":garlic:",label:"Garlic",emoji:"🧄"},{id:":onion:",label:"Onion",emoji:"🧅"},{id:":bell_pepper:",label:"Bell pepper",emoji:"🫑"},{id:":olive:",label:"Olive",emoji:"🫒"},{id:":ginger_root:",label:"Ginger root",emoji:"🫚"},{id:":pea_pod:",label:"Pea pod",emoji:"🫛"},{id:":beans:",label:"Beans",emoji:"🫘"},{id:":peanuts:",label:"Peanuts",emoji:"🥜"},{id:":chestnut:",label:"Chestnut",emoji:"🌰"},{id:":bread:",label:"Bread",emoji:"🍞"},{id:":croissant:",label:"Croissant",emoji:"🥐"},{id:":baguette_bread:",label:"Baguette bread",emoji:"🥖"},{id:":pretzel:",label:"Pretzel",emoji:"🥨"},{id:":bagel:",label:"Bagel",emoji:"🥯"},{id:":flatbread:",label:"Flatbread",emoji:"🫓"},{id:":pancakes:",label:"Pancakes",emoji:"🥞"},{id:":waffle:",label:"Waffle",emoji:"🧇"},{id:":cheese_wedge:",label:"Cheese wedge",emoji:"🧀"},{id:":meat_on_bone:",label:"Meat on bone",emoji:"🍖"},{id:":poultry_leg:",label:"Poultry leg",emoji:"🍗"},{id:":cut_of_meat:",label:"Cut of meat",emoji:"🥩"},{id:":bacon:",label:"Bacon",emoji:"🥓"},{id:":hamburger:",label:"Hamburger",emoji:"🍔"},{id:":french_fries:",label:"French fries",emoji:"🍟"},{id:":pizza:",label:"Pizza",emoji:"🍕"},{id:":hot_dog:",label:"Hot dog",emoji:"🌭"},{id:":sandwich:",label:"Sandwich",emoji:"🥪"},{id:":taco:",label:"Taco",emoji:"🌮"},{id:":burrito:",label:"Burrito",emoji:"🌯"},{id:":tamale:",label:"Tamale",emoji:"🫔"},{id:":stuffed_flatbread:",label:"Stuffed flatbread",emoji:"🥙"},{id:":falafel:",label:"Falafel",emoji:"🧆"},{id:":egg:",label:"Egg",emoji:"🥚"},{id:":cooking:",label:"Cooking",emoji:"🍳"},{id:":shallow_pan_of_food:",label:"Shallow pan of food",emoji:"🥘"},{id:":pot_of_food:",label:"Pot of food",emoji:"🍲"},{id:":fondue:",label:"Fondue",emoji:"🫕"},{id:":bowl_with_spoon:",label:"Bowl with spoon",emoji:"🥣"},{id:":green_salad:",label:"Green salad",emoji:"🥗"},{id:":popcorn:",label:"Popcorn",emoji:"🍿"},{id:":butter:",label:"Butter",emoji:"🧈"},{id:":salt:",label:"Salt",emoji:"🧂"},{id:":canned_food:",label:"Canned food",emoji:"🥫"},{id:":bento_box:",label:"Bento box",emoji:"🍱"},{id:":rice_cracker:",label:"Rice cracker",emoji:"🍘"},{id:":rice_ball:",label:"Rice ball",emoji:"🍙"},{id:":cooked_rice:",label:"Cooked rice",emoji:"🍚"},{id:":curry_rice:",label:"Curry rice",emoji:"🍛"},{id:":steaming_bowl:",label:"Steaming bowl",emoji:"🍜"},{id:":spaghetti:",label:"Spaghetti",emoji:"🍝"},{id:":roasted_sweet_potato:",label:"Roasted sweet potato",emoji:"🍠"},{id:":oden:",label:"Oden",emoji:"🍢"},{id:":sushi:",label:"Sushi",emoji:"🍣"},{id:":fried_shrimp:",label:"Fried shrimp",emoji:"🍤"},{id:":fish_cake_with_swirl:",label:"Fish cake with swirl",emoji:"🍥"},{id:":dumpling:",label:"Dumpling",emoji:"🥟"},{id:":fortune_cookie:",label:"Fortune cookie",emoji:"🥠"},{id:":takeout_box:",label:"Takeout box",emoji:"🥡"},{id:":soft_ice_cream:",label:"Soft ice cream",emoji:"🍦"},{id:":shaved_ice:",label:"Shaved ice",emoji:"🍧"},{id:":ice_cream:",label:"Ice cream",emoji:"🍨"},{id:":doughnut:",label:"Doughnut",emoji:"🍩"},{id:":cookie:",label:"Cookie",emoji:"🍪"},{id:":birthday_cake:",label:"Birthday cake",emoji:"🎂"},{id:":shortcake:",label:"Shortcake",emoji:"🍰"},{id:":cupcake:",label:"Cupcake",emoji:"🧁"},{id:":pie:",label:"Pie",emoji:"🥧"},{id:":chocolate_bar:",label:"Chocolate bar",emoji:"🍫"},{id:":candy:",label:"Candy",emoji:"🍬"},{id:":lollipop:",label:"Lollipop",emoji:"🍭"},{id:":custard:",label:"Custard",emoji:"🍮"},{id:":honey_pot:",label:"Honey pot",emoji:"🍯"},{id:":baby_bottle:",label:"Baby bottle",emoji:"🍼"},{id:":glass_of_milk:",label:"Glass of milk",emoji:"🥛"},{id:":hot_beverage:",label:"Hot beverage",emoji:"☕"},{id:":teacup_without_handle:",label:"Teacup without handle",emoji:"🍵"},{id:":sake:",label:"Sake",emoji:"🍶"},{id:":bottle_with_popping_cork:",label:"Bottle with popping cork",emoji:"🍾"},{id:":wine_glass:",label:"Wine glass",emoji:"🍷"},{id:":cocktail_glass:",label:"Cocktail glass",emoji:"🍸"},{id:":tropical_drink:",label:"Tropical drink",emoji:"🍹"},{id:":beer_mug:",label:"Beer mug",emoji:"🍺"},{id:":clinking_beer_mugs:",label:"Clinking beer mugs",emoji:"🍻"},{id:":clinking_glasses:",label:"Clinking glasses",emoji:"🥂"},{id:":tumbler_glass:",label:"Tumbler glass",emoji:"🥃"},{id:":cup_with_straw:",label:"Cup with straw",emoji:"🥤"},{id:":bubble_tea:",label:"Bubble tea",emoji:"🧋"},{id:":beverage_box:",label:"Beverage box",emoji:"🧃"},{id:":mate:",label:"Mate",emoji:"🧉"},{id:":ice:",label:"Ice",emoji:"🧊"}],activity:[{id:":soccer_ball:",label:"Soccer ball",emoji:"⚽"},{id:":basketball:",label:"Basketball",emoji:"🏀"},{id:":american_football:",label:"American football",emoji:"🏈"},{id:":baseball:",label:"Baseball",emoji:"⚾"},{id:":softball:",label:"Softball",emoji:"🥎"},{id:":tennis:",label:"Tennis",emoji:"🎾"},{id:":volleyball:",label:"Volleyball",emoji:"🏐"},{id:":rugby_football:",label:"Rugby football",emoji:"🏉"},{id:":flying_disc:",label:"Flying disc",emoji:"🥏"},{id:":8_ball:",label:"8 ball",emoji:"🎱"},{id:":ping_pong:",label:"Ping pong",emoji:"🏓"},{id:":badminton:",label:"Badminton",emoji:"🏸"},{id:":ice_hockey:",label:"Ice hockey",emoji:"🏒"},{id:":field_hockey:",label:"Field hockey",emoji:"🏑"},{id:":lacrosse:",label:"Lacrosse",emoji:"🥍"},{id:":cricket_game:",label:"Cricket game",emoji:"🏏"},{id:":goal_net:",label:"Goal net",emoji:"🥅"},{id:":flag_in_hole:",label:"Flag in hole",emoji:"⛳"},{id:":bow_and_arrow:",label:"Bow and arrow",emoji:"🏹"},{id:":fishing_pole:",label:"Fishing pole",emoji:"🎣"},{id:":diving_mask:",label:"Diving mask",emoji:"🤿"},{id:":boxing_glove:",label:"Boxing glove",emoji:"🥊"},{id:":martial_arts_uniform:",label:"Martial arts uniform",emoji:"🥋"},{id:":running_shirt:",label:"Running shirt",emoji:"🎽"},{id:":skateboard:",label:"Skateboard",emoji:"🛹"},{id:":sled:",label:"Sled",emoji:"🛷"},{id:":ice_skate:",label:"Ice skate",emoji:"⛸️"},{id:":curling_stone:",label:"Curling stone",emoji:"🥌"},{id:":skis:",label:"Skis",emoji:"🎿"},{id:":skier:",label:"Skier",emoji:"⛷️"},{id:":snowboarder:",label:"Snowboarder",emoji:"🏂"},{id:":person_lifting_weights:",label:"Person lifting weights",emoji:"🏋️"},{id:":people_wrestling:",label:"People wrestling",emoji:"🤼"},{id:":person_cartwheeling:",label:"Person cartwheeling",emoji:"🤸"},{id:":person_bouncing_ball:",label:"Person bouncing ball",emoji:"⛹️"},{id:":person_fencing:",label:"Person fencing",emoji:"🤺"},{id:":person_playing_handball:",label:"Person playing handball",emoji:"🤾"},{id:":person_golfing:",label:"Person golfing",emoji:"🏌️"},{id:":horse_racing:",label:"Horse racing",emoji:"🏇"},{id:":person_in_lotus_position:",label:"Person in lotus position",emoji:"🧘"},{id:":person_surfing:",label:"Person surfing",emoji:"🏄"},{id:":person_swimming:",label:"Person swimming",emoji:"🏊"},{id:":person_playing_water_polo:",label:"Person playing water polo",emoji:"🤽"},{id:":person_rowing_boat:",label:"Person rowing boat",emoji:"🚣"},{id:":person_climbing:",label:"Person climbing",emoji:"🧗"},{id:":person_mountain_biking:",label:"Person mountain biking",emoji:"🚵"},{id:":person_biking:",label:"Person biking",emoji:"🚴"},{id:":trophy:",label:"Trophy",emoji:"🏆"},{id:":1st_place_medal:",label:"1st place medal",emoji:"🥇"},{id:":2nd_place_medal:",label:"2nd place medal",emoji:"🥈"},{id:":3rd_place_medal:",label:"3rd place medal",emoji:"🥉"},{id:":sports_medal:",label:"Sports medal",emoji:"🏅"},{id:":military_medal:",label:"Military medal",emoji:"🎖️"},{id:":rosette:",label:"Rosette",emoji:"🏵️"},{id:":reminder_ribbon:",label:"Reminder ribbon",emoji:"🎗️"},{id:":ticket:",label:"Ticket",emoji:"🎫"},{id:":admission_tickets:",label:"Admission tickets",emoji:"🎟️"},{id:":circus_tent:",label:"Circus tent",emoji:"🎪"},{id:":person_juggling:",label:"Person juggling",emoji:"🤹"},{id:":performing_arts:",label:"Performing arts",emoji:"🎭"},{id:":artist_palette:",label:"Artist palette",emoji:"🎨"},{id:":clapper_board:",label:"Clapper board",emoji:"🎬"},{id:":microphone:",label:"Microphone",emoji:"🎤"},{id:":headphone:",label:"Headphone",emoji:"🎧"},{id:":musical_score:",label:"Musical score",emoji:"🎼"},{id:":musical_note:",label:"Musical note",emoji:"🎵"},{id:":musical_notes:",label:"Musical notes",emoji:"🎶"},{id:":drum:",label:"Drum",emoji:"🥁"},{id:":musical_keyboard:",label:"Musical keyboard",emoji:"🎹"},{id:":saxophone:",label:"Saxophone",emoji:"🎷"},{id:":trumpet:",label:"Trumpet",emoji:"🎺"},{id:":guitar:",label:"Guitar",emoji:"🎸"},{id:":violin:",label:"Violin",emoji:"🎻"},{id:":game_die:",label:"Game die",emoji:"🎲"},{id:":direct_hit:",label:"Direct hit",emoji:"🎯"},{id:":bowling:",label:"Bowling",emoji:"🎳"},{id:":video_game:",label:"Video game",emoji:"🎮"},{id:":joystick:",label:"Joystick",emoji:"🕹️"},{id:":slot_machine:",label:"Slot machine",emoji:"🎰"},{id:":flower_playing_cards:",label:"Flower playing cards",emoji:"🎴"},{id:":joker:",label:"Joker",emoji:"🃏"},{id:":mahjong_red_dragon:",label:"Mahjong red dragon",emoji:"🀄"}],travel:[{id:":globe_showing_europe-africa:",label:"Globe showing Europe-Africa",emoji:"🌍"},{id:":globe_showing_americas:",label:"Globe showing Americas",emoji:"🌎"},{id:":globe_showing_asia-australia:",label:"Globe showing Asia-Australia",emoji:"🌏"},{id:":globe_with_meridians:",label:"Globe with meridians",emoji:"🌐"},{id:":world_map:",label:"World map",emoji:"🗺️"},{id:":compass:",label:"Compass",emoji:"🧭"},{id:":snow-capped_mountain:",label:"Snow-capped mountain",emoji:"🏔️"},{id:":mountain:",label:"Mountain",emoji:"⛰️"},{id:":volcano:",label:"Volcano",emoji:"🌋"},{id:":mount_fuji:",label:"Mount Fuji",emoji:"🗻"},{id:":camping:",label:"Camping",emoji:"🏕️"},{id:":beach_with_umbrella:",label:"Beach with umbrella",emoji:"🏖️"},{id:":desert:",label:"Desert",emoji:"🏜️"},{id:":desert_island:",label:"Desert island",emoji:"🏝️"},{id:":national_park:",label:"National park",emoji:"🏞️"},{id:":stadium:",label:"Stadium",emoji:"🏟️"},{id:":classical_building:",label:"Classical building",emoji:"🏛️"},{id:":building_construction:",label:"Building construction",emoji:"🏗️"},{id:":houses:",label:"Houses",emoji:"🏘️"},{id:":derelict_house:",label:"Derelict house",emoji:"🏚️"},{id:":house:",label:"House",emoji:"🏠"},{id:":house_with_garden:",label:"House with garden",emoji:"🏡"},{id:":office_building:",label:"Office building",emoji:"🏢"},{id:":japanese_post_office:",label:"Japanese post office",emoji:"🏣"},{id:":post_office:",label:"Post office",emoji:"🏤"},{id:":hospital:",label:"Hospital",emoji:"🏥"},{id:":bank:",label:"Bank",emoji:"🏦"},{id:":hotel:",label:"Hotel",emoji:"🏨"},{id:":love_hotel:",label:"Love hotel",emoji:"🏩"},{id:":convenience_store:",label:"Convenience store",emoji:"🏪"},{id:":school:",label:"School",emoji:"🏫"},{id:":department_store:",label:"Department store",emoji:"🏬"},{id:":factory:",label:"Factory",emoji:"🏭"},{id:":japanese_castle:",label:"Japanese castle",emoji:"🏯"},{id:":castle:",label:"Castle",emoji:"🏰"},{id:":wedding:",label:"Wedding",emoji:"💒"},{id:":tokyo_tower:",label:"Tokyo tower",emoji:"🗼"},{id:":statue_of_liberty:",label:"Statue of Liberty",emoji:"🗽"},{id:":church:",label:"Church",emoji:"⛪"},{id:":mosque:",label:"Mosque",emoji:"🕌"},{id:":hindu_temple:",label:"Hindu temple",emoji:"🛕"},{id:":synagogue:",label:"Synagogue",emoji:"🕍"},{id:":shinto_shrine:",label:"Shinto shrine",emoji:"⛩️"},{id:":kaaba:",label:"Kaaba",emoji:"🕋"},{id:":fountain:",label:"Fountain",emoji:"⛲"},{id:":tent:",label:"Tent",emoji:"⛺"},{id:":foggy:",label:"Foggy",emoji:"🌁"},{id:":night_with_stars:",label:"Night with stars",emoji:"🌃"},{id:":cityscape:",label:"Cityscape",emoji:"🏙️"},{id:":sunrise_over_mountains:",label:"Sunrise over mountains",emoji:"🌄"},{id:":sunrise:",label:"Sunrise",emoji:"🌅"},{id:":cityscape_at_dusk:",label:"Cityscape at dusk",emoji:"🌆"},{id:":sunset:",label:"Sunset",emoji:"🌇"},{id:":bridge_at_night:",label:"Bridge at night",emoji:"🌉"},{id:":hot_springs:",label:"Hot springs",emoji:"♨️"},{id:":carousel_horse:",label:"Carousel horse",emoji:"🎠"},{id:":ferris_wheel:",label:"Ferris wheel",emoji:"🎡"},{id:":roller_coaster:",label:"Roller coaster",emoji:"🎢"},{id:":barber_pole:",label:"Barber pole",emoji:"💈"},{id:":circus_tent_travel:",label:"Circus tent",emoji:"🎪"},{id:":locomotive:",label:"Locomotive",emoji:"🚂"},{id:":railway_car:",label:"Railway car",emoji:"🚃"},{id:":high-speed_train:",label:"High-speed train",emoji:"🚄"},{id:":bullet_train:",label:"Bullet train",emoji:"🚅"},{id:":train:",label:"Train",emoji:"🚆"},{id:":metro:",label:"Metro",emoji:"🚇"},{id:":light_rail:",label:"Light rail",emoji:"🚈"},{id:":station:",label:"Station",emoji:"🚉"},{id:":tram:",label:"Tram",emoji:"🚊"},{id:":monorail:",label:"Monorail",emoji:"🚝"},{id:":mountain_railway:",label:"Mountain railway",emoji:"🚞"},{id:":tram_car:",label:"Tram car",emoji:"🚋"},{id:":bus:",label:"Bus",emoji:"🚌"},{id:":oncoming_bus:",label:"Oncoming bus",emoji:"🚍"},{id:":trolleybus:",label:"Trolleybus",emoji:"🚎"},{id:":minibus:",label:"Minibus",emoji:"🚐"},{id:":ambulance:",label:"Ambulance",emoji:"🚑"},{id:":fire_engine:",label:"Fire engine",emoji:"🚒"},{id:":police_car:",label:"Police car",emoji:"🚓"},{id:":oncoming_police_car:",label:"Oncoming police car",emoji:"🚔"},{id:":taxi:",label:"Taxi",emoji:"🚕"},{id:":oncoming_taxi:",label:"Oncoming taxi",emoji:"🚖"},{id:":automobile:",label:"Automobile",emoji:"🚗"},{id:":oncoming_automobile:",label:"Oncoming automobile",emoji:"🚘"},{id:":sport_utility_vehicle:",label:"Sport utility vehicle",emoji:"🚙"},{id:":delivery_truck:",label:"Delivery truck",emoji:"🚚"},{id:":articulated_lorry:",label:"Articulated lorry",emoji:"🚛"},{id:":tractor:",label:"Tractor",emoji:"🚜"},{id:":racing_car:",label:"Racing car",emoji:"🏎️"},{id:":motorcycle:",label:"Motorcycle",emoji:"🏍️"},{id:":kick_scooter:",label:"Kick scooter",emoji:"🛴"},{id:":bicycle:",label:"Bicycle",emoji:"🚲"},{id:":auto_rickshaw:",label:"Auto rickshaw",emoji:"🛺"},{id:":helicopter:",label:"Helicopter",emoji:"🚁"},{id:":satellite:",label:"Satellite",emoji:"🛰️"},{id:":rocket:",label:"Rocket",emoji:"🚀"},{id:":flying_saucer:",label:"Flying saucer",emoji:"🛸"},{id:":canoe:",label:"Canoe",emoji:"🛶"},{id:":sailboat:",label:"Sailboat",emoji:"⛵"},{id:":speedboat:",label:"Speedboat",emoji:"🚤"},{id:":ship:",label:"Ship",emoji:"🚢"},{id:":airplane:",label:"Airplane",emoji:"✈️"},{id:":small_airplane:",label:"Small airplane",emoji:"🛩️"},{id:":airplane_departure:",label:"Airplane departure",emoji:"🛫"},{id:":airplane_arrival:",label:"Airplane arrival",emoji:"🛬"},{id:":seat:",label:"Seat",emoji:"💺"},{id:":police_car_light:",label:"Police car light",emoji:"🚨"},{id:":horizontal_traffic_light:",label:"Horizontal traffic light",emoji:"🚥"},{id:":vertical_traffic_light:",label:"Vertical traffic light",emoji:"🚦"},{id:":stop_sign:",label:"Stop sign",emoji:"🛑"},{id:":construction:",label:"Construction",emoji:"🚧"}],objects:[{id:":watch:",label:"Watch",emoji:"⌚"},{id:":mobile_phone:",label:"Mobile phone",emoji:"📱"},{id:":mobile_phone_with_arrow:",label:"Mobile phone with arrow",emoji:"📲"},{id:":laptop:",label:"Laptop",emoji:"💻"},{id:":keyboard:",label:"Keyboard",emoji:"⌨️"},{id:":desktop_computer:",label:"Desktop computer",emoji:"🖥️"},{id:":printer:",label:"Printer",emoji:"🖨️"},{id:":computer_mouse:",label:"Computer mouse",emoji:"🖱️"},{id:":trackball:",label:"Trackball",emoji:"🖲️"},{id:":joystick_obj:",label:"Joystick",emoji:"🕹️"},{id:":computer_disk:",label:"Computer disk",emoji:"💽"},{id:":floppy_disk:",label:"Floppy disk",emoji:"💾"},{id:":optical_disk:",label:"Optical disk",emoji:"💿"},{id:":dvd:",label:"DVD",emoji:"📀"},{id:":videocassette:",label:"Videocassette",emoji:"📼"},{id:":camera:",label:"Camera",emoji:"📷"},{id:":camera_with_flash:",label:"Camera with flash",emoji:"📸"},{id:":video_camera:",label:"Video camera",emoji:"📹"},{id:":movie_camera:",label:"Movie camera",emoji:"🎥"},{id:":film_projector:",label:"Film projector",emoji:"📽️"},{id:":film_strip:",label:"Film strip",emoji:"🎞️"},{id:":telephone_receiver:",label:"Telephone receiver",emoji:"📞"},{id:":telephone:",label:"Telephone",emoji:"☎️"},{id:":pager:",label:"Pager",emoji:"📟"},{id:":fax_machine:",label:"Fax machine",emoji:"📠"},{id:":television:",label:"Television",emoji:"📺"},{id:":radio:",label:"Radio",emoji:"📻"},{id:":studio_microphone:",label:"Studio microphone",emoji:"🎙️"},{id:":level_slider:",label:"Level slider",emoji:"🎚️"},{id:":control_knobs:",label:"Control knobs",emoji:"🎛️"},{id:":stopwatch:",label:"Stopwatch",emoji:"⏱️"},{id:":timer_clock:",label:"Timer clock",emoji:"⏲️"},{id:":alarm_clock:",label:"Alarm clock",emoji:"⏰"},{id:":mantelpiece_clock:",label:"Mantelpiece clock",emoji:"🕰️"},{id:":hourglass_done:",label:"Hourglass done",emoji:"⌛"},{id:":hourglass_not_done:",label:"Hourglass not done",emoji:"⏳"},{id:":satellite_antenna:",label:"Satellite antenna",emoji:"📡"},{id:":battery:",label:"Battery",emoji:"🔋"},{id:":electric_plug:",label:"Electric plug",emoji:"🔌"},{id:":light_bulb:",label:"Light bulb",emoji:"💡"},{id:":flashlight:",label:"Flashlight",emoji:"🔦"},{id:":candle:",label:"Candle",emoji:"🕯️"},{id:":fire_extinguisher:",label:"Fire extinguisher",emoji:"🧯"},{id:":oil_drum:",label:"Oil drum",emoji:"🛢️"},{id:":money_with_wings:",label:"Money with wings",emoji:"💸"},{id:":dollar_banknote:",label:"Dollar banknote",emoji:"💵"},{id:":yen_banknote:",label:"Yen banknote",emoji:"💴"},{id:":euro_banknote:",label:"Euro banknote",emoji:"💶"},{id:":pound_banknote:",label:"Pound banknote",emoji:"💷"},{id:":money_bag:",label:"Money bag",emoji:"💰"},{id:":credit_card:",label:"Credit card",emoji:"💳"},{id:":gem_stone:",label:"Gem stone",emoji:"💎"},{id:":balance_scale:",label:"Balance scale",emoji:"⚖️"},{id:":toolbox:",label:"Toolbox",emoji:"🧰"},{id:":wrench:",label:"Wrench",emoji:"🔧"},{id:":hammer:",label:"Hammer",emoji:"🔨"},{id:":hammer_and_pick:",label:"Hammer and pick",emoji:"⚒️"},{id:":hammer_and_wrench:",label:"Hammer and wrench",emoji:"🛠️"},{id:":pick:",label:"Pick",emoji:"⛏️"},{id:":nut_and_bolt:",label:"Nut and bolt",emoji:"🔩"},{id:":gear:",label:"Gear",emoji:"⚙️"},{id:":brick:",label:"Brick",emoji:"🧱"},{id:":chains:",label:"Chains",emoji:"⛓️"},{id:":magnet:",label:"Magnet",emoji:"🧲"},{id:":water_pistol:",label:"Water pistol",emoji:"🔫"},{id:":bomb:",label:"Bomb",emoji:"💣"},{id:":firecracker:",label:"Firecracker",emoji:"🧨"},{id:":kitchen_knife:",label:"Kitchen knife",emoji:"🔪"},{id:":dagger:",label:"Dagger",emoji:"🗡️"},{id:":crossed_swords:",label:"Crossed swords",emoji:"⚔️"},{id:":shield:",label:"Shield",emoji:"🛡️"},{id:":cigarette:",label:"Cigarette",emoji:"🚬"},{id:":coffin:",label:"Coffin",emoji:"⚰️"},{id:":funeral_urn:",label:"Funeral urn",emoji:"⚱️"},{id:":amphora:",label:"Amphora",emoji:"🏺"},{id:":crystal_ball:",label:"Crystal ball",emoji:"🔮"},{id:":prayer_beads:",label:"Prayer beads",emoji:"📿"},{id:":nazar_amulet:",label:"Nazar amulet",emoji:"🧿"},{id:":barber_pole_obj:",label:"Barber pole",emoji:"💈"},{id:":alembic:",label:"Alembic",emoji:"⚗️"},{id:":telescope:",label:"Telescope",emoji:"🔭"},{id:":microscope:",label:"Microscope",emoji:"🔬"},{id:":hole:",label:"Hole",emoji:"🕳️"},{id:":pill:",label:"Pill",emoji:"💊"},{id:":syringe:",label:"Syringe",emoji:"💉"},{id:":thermometer:",label:"Thermometer",emoji:"🌡️"},{id:":broom:",label:"Broom",emoji:"🧹"},{id:":basket:",label:"Basket",emoji:"🧺"},{id:":roll_of_paper:",label:"Roll of paper",emoji:"🧻"},{id:":toilet:",label:"Toilet",emoji:"🚽"},{id:":shower:",label:"Shower",emoji:"🚿"},{id:":bathtub:",label:"Bathtub",emoji:"🛁"},{id:":lotion_bottle:",label:"Lotion bottle",emoji:"🧴"},{id:":safety_pin:",label:"Safety pin",emoji:"🧷"},{id:":teddy_bear:",label:"Teddy bear",emoji:"🧸"},{id:":framed_picture:",label:"Framed picture",emoji:"🖼️"},{id:":bed:",label:"Bed",emoji:"🛏️"},{id:":couch_and_lamp:",label:"Couch and lamp",emoji:"🛋️"},{id:":door:",label:"Door",emoji:"🚪"},{id:":luggage:",label:"Luggage",emoji:"🧳"},{id:":umbrella_on_ground:",label:"Umbrella on ground",emoji:"⛱️"},{id:":backpack:",label:"Backpack",emoji:"🎒"},{id:":clutch_bag:",label:"Clutch bag",emoji:"👝"},{id:":purse:",label:"Purse",emoji:"👛"},{id:":handbag:",label:"Handbag",emoji:"👜"},{id:":briefcase:",label:"Briefcase",emoji:"💼"},{id:":coat:",label:"Coat",emoji:"🧥"},{id:":necktie:",label:"Necktie",emoji:"👔"},{id:":t-shirt:",label:"T-shirt",emoji:"👕"},{id:":jeans:",label:"Jeans",emoji:"👖"},{id:":scarf:",label:"Scarf",emoji:"🧣"},{id:":gloves:",label:"Gloves",emoji:"🧤"},{id:":socks:",label:"Socks",emoji:"🧦"},{id:":dress:",label:"Dress",emoji:"👗"},{id:":kimono:",label:"Kimono",emoji:"👘"},{id:":bikini:",label:"Bikini",emoji:"👙"},{id:":womans_clothes:",label:"Womans clothes",emoji:"👚"},{id:":mans_shoe:",label:"Mans shoe",emoji:"👞"},{id:":running_shoe:",label:"Running shoe",emoji:"👟"},{id:":high-heeled_shoe:",label:"High-heeled shoe",emoji:"👠"},{id:":sandal:",label:"Sandal",emoji:"👡"},{id:":boot:",label:"Boot",emoji:"👢"},{id:":crown:",label:"Crown",emoji:"👑"},{id:":hat:",label:"Hat",emoji:"👒"},{id:":top_hat:",label:"Top hat",emoji:"🎩"},{id:":graduation_cap:",label:"Graduation cap",emoji:"🎓"},{id:":baseball_cap:",label:"Baseball cap",emoji:"🧢"},{id:":rescue_workers_helmet:",label:"Rescue workers helmet",emoji:"⛑️"},{id:":lipstick:",label:"Lipstick",emoji:"💄"},{id:":ring:",label:"Ring",emoji:"💍"},{id:":pencil:",label:"Pencil",emoji:"✏️"},{id:":black_nib:",label:"Black nib",emoji:"✒️"},{id:":fountain_pen:",label:"Fountain pen",emoji:"🖋️"},{id:":pen:",label:"Pen",emoji:"🖊️"},{id:":paintbrush:",label:"Paintbrush",emoji:"🖌️"},{id:":crayon:",label:"Crayon",emoji:"🖍️"},{id:":memo:",label:"Memo",emoji:"📝"},{id:":file_folder:",label:"File folder",emoji:"📁"},{id:":open_file_folder:",label:"Open file folder",emoji:"📂"},{id:":card_index_dividers:",label:"Card index dividers",emoji:"🗂️"},{id:":calendar:",label:"Calendar",emoji:"📅"},{id:":tear-off_calendar:",label:"Tear-off calendar",emoji:"📆"},{id:":spiral_notepad:",label:"Spiral notepad",emoji:"🗒️"},{id:":spiral_calendar:",label:"Spiral calendar",emoji:"🗓️"},{id:":card_index:",label:"Card index",emoji:"📇"},{id:":chart_increasing:",label:"Chart increasing",emoji:"📈"},{id:":chart_decreasing:",label:"Chart decreasing",emoji:"📉"},{id:":bar_chart:",label:"Bar chart",emoji:"📊"},{id:":clipboard:",label:"Clipboard",emoji:"📋"},{id:":pushpin:",label:"Pushpin",emoji:"📌"},{id:":round_pushpin:",label:"Round pushpin",emoji:"📍"},{id:":paperclip:",label:"Paperclip",emoji:"📎"},{id:":linked_paperclips:",label:"Linked paperclips",emoji:"🖇️"},{id:":straight_ruler:",label:"Straight ruler",emoji:"📏"},{id:":triangular_ruler:",label:"Triangular ruler",emoji:"📐"},{id:":scissors:",label:"Scissors",emoji:"✂️"},{id:":card_file_box:",label:"Card file box",emoji:"🗃️"},{id:":file_cabinet:",label:"File cabinet",emoji:"🗄️"},{id:":wastebasket:",label:"Wastebasket",emoji:"🗑️"},{id:":closed_book:",label:"Closed book",emoji:"📕"},{id:":open_book:",label:"Open book",emoji:"📖"},{id:":green_book:",label:"Green book",emoji:"📗"},{id:":blue_book:",label:"Blue book",emoji:"📘"},{id:":orange_book:",label:"Orange book",emoji:"📙"},{id:":books:",label:"Books",emoji:"📚"},{id:":notebook:",label:"Notebook",emoji:"📓"},{id:":ledger:",label:"Ledger",emoji:"📒"},{id:":notebook_with_decorative_cover:",label:"Notebook with decorative cover",emoji:"📔"},{id:":page_with_curl:",label:"Page with curl",emoji:"📃"},{id:":scroll:",label:"Scroll",emoji:"📜"},{id:":page_facing_up:",label:"Page facing up",emoji:"📄"},{id:":newspaper:",label:"Newspaper",emoji:"📰"},{id:":rolled-up_newspaper:",label:"Rolled-up newspaper",emoji:"🗞️"},{id:":bookmark_tabs:",label:"Bookmark tabs",emoji:"📑"},{id:":bookmark:",label:"Bookmark",emoji:"🔖"},{id:":label:",label:"Label",emoji:"🏷️"},{id:":envelope:",label:"Envelope",emoji:"✉️"},{id:":e-mail:",label:"E-mail",emoji:"📧"},{id:":incoming_envelope:",label:"Incoming envelope",emoji:"📨"},{id:":envelope_with_arrow:",label:"Envelope with arrow",emoji:"📩"},{id:":outbox_tray:",label:"Outbox tray",emoji:"📤"},{id:":inbox_tray:",label:"Inbox tray",emoji:"📥"},{id:":package:",label:"Package",emoji:"📦"},{id:":mailbox_closed:",label:"Closed mailbox with raised flag",emoji:"📫"},{id:":mailbox:",label:"Closed mailbox with lowered flag",emoji:"📪"},{id:":mailbox_with_mail:",label:"Open mailbox with raised flag",emoji:"📬"},{id:":mailbox_with_no_mail:",label:"Open mailbox with lowered flag",emoji:"📭"},{id:":postbox:",label:"Postbox",emoji:"📮"},{id:":ballot_box_with_ballot:",label:"Ballot box with ballot",emoji:"🗳️"},{id:":locked:",label:"Locked",emoji:"🔒"},{id:":unlocked:",label:"Unlocked",emoji:"🔓"},{id:":locked_with_pen:",label:"Locked with pen",emoji:"🔏"},{id:":locked_with_key:",label:"Locked with key",emoji:"🔐"},{id:":key:",label:"Key",emoji:"🔑"},{id:":old_key:",label:"Old key",emoji:"🗝️"},{id:":magnifying_glass_tilted_left:",label:"Magnifying glass tilted left",emoji:"🔍"},{id:":magnifying_glass_tilted_right:",label:"Magnifying glass tilted right",emoji:"🔎"},{id:":link:",label:"Link",emoji:"🔗"}],symbols:[{id:":sun:",label:"Sun",emoji:"☀️"},{id:":sun_with_face:",label:"Sun with face",emoji:"🌞"},{id:":full_moon:",label:"Full moon",emoji:"🌕"},{id:":waning_gibbous_moon:",label:"Waning gibbous moon",emoji:"🌖"},{id:":last_quarter_moon:",label:"Last quarter moon",emoji:"🌗"},{id:":waning_crescent_moon:",label:"Waning crescent moon",emoji:"🌘"},{id:":new_moon:",label:"New moon",emoji:"🌑"},{id:":waxing_crescent_moon:",label:"Waxing crescent moon",emoji:"🌒"},{id:":first_quarter_moon:",label:"First quarter moon",emoji:"🌓"},{id:":waxing_gibbous_moon:",label:"Waxing gibbous moon",emoji:"🌔"},{id:":crescent_moon:",label:"Crescent moon",emoji:"🌙"},{id:":new_moon_face:",label:"New moon face",emoji:"🌚"},{id:":first_quarter_moon_face:",label:"First quarter moon face",emoji:"🌛"},{id:":last_quarter_moon_face:",label:"Last quarter moon face",emoji:"🌜"},{id:":full_moon_face:",label:"Full moon face",emoji:"🌝"},{id:":ringed_planet:",label:"Ringed planet",emoji:"🪐"},{id:":fire:",label:"Fire",emoji:"🔥"},{id:":droplet:",label:"Droplet",emoji:"💧"},{id:":water_wave:",label:"Water wave",emoji:"🌊"},{id:":sparkles:",label:"Sparkles",emoji:"✨"},{id:":rainbow:",label:"Rainbow",emoji:"🌈"},{id:":high_voltage:",label:"High voltage",emoji:"⚡"},{id:":snowflake:",label:"Snowflake",emoji:"❄️"},{id:":snowman:",label:"Snowman",emoji:"☃️"},{id:":snowman_without_snow:",label:"Snowman without snow",emoji:"⛄"},{id:":cloud:",label:"Cloud",emoji:"☁️"},{id:":sun_behind_cloud:",label:"Sun behind cloud",emoji:"⛅"},{id:":sun_behind_small_cloud:",label:"Sun behind small cloud",emoji:"🌤️"},{id:":sun_behind_large_cloud:",label:"Sun behind large cloud",emoji:"🌥️"},{id:":sun_behind_rain_cloud:",label:"Sun behind rain cloud",emoji:"🌦️"},{id:":cloud_with_rain:",label:"Cloud with rain",emoji:"🌧️"},{id:":cloud_with_snow:",label:"Cloud with snow",emoji:"🌨️"},{id:":cloud_with_lightning:",label:"Cloud with lightning",emoji:"🌩️"},{id:":cloud_with_lightning_and_rain:",label:"Cloud with lightning and rain",emoji:"⛈️"},{id:":tornado:",label:"Tornado",emoji:"🌪️"},{id:":fog:",label:"Fog",emoji:"🌫️"},{id:":wind_face:",label:"Wind face",emoji:"🌬️"},{id:":cyclone:",label:"Cyclone",emoji:"🌀"},{id:":umbrella:",label:"Umbrella",emoji:"☂️"},{id:":umbrella_with_rain_drops:",label:"Umbrella with rain drops",emoji:"☔"},{id:":closed_umbrella:",label:"Closed umbrella",emoji:"🌂"},{id:":red_heart:",label:"Red heart",emoji:"❤️"},{id:":orange_heart:",label:"Orange heart",emoji:"🧡"},{id:":yellow_heart:",label:"Yellow heart",emoji:"💛"},{id:":green_heart:",label:"Green heart",emoji:"💚"},{id:":blue_heart:",label:"Blue heart",emoji:"💙"},{id:":purple_heart:",label:"Purple heart",emoji:"💜"},{id:":black_heart:",label:"Black heart",emoji:"🖤"},{id:":white_heart:",label:"White heart",emoji:"🤍"},{id:":brown_heart:",label:"Brown heart",emoji:"🤎"},{id:":pink_heart:",label:"Pink heart",emoji:"🩷"},{id:":light_blue_heart:",label:"Light blue heart",emoji:"🩵"},{id:":grey_heart:",label:"Grey heart",emoji:"🩶"},{id:":heart_on_fire:",label:"Heart on fire",emoji:"❤️🔥"},{id:":mending_heart:",label:"Mending heart",emoji:"❤️🩹"},{id:":broken_heart:",label:"Broken heart",emoji:"💔"},{id:":heart_exclamation:",label:"Heart exclamation",emoji:"❣️"},{id:":two_hearts:",label:"Two hearts",emoji:"💕"},{id:":revolving_hearts:",label:"Revolving hearts",emoji:"💞"},{id:":beating_heart:",label:"Beating heart",emoji:"💓"},{id:":growing_heart:",label:"Growing heart",emoji:"💗"},{id:":sparkling_heart:",label:"Sparkling heart",emoji:"💖"},{id:":heart_with_arrow:",label:"Heart with arrow",emoji:"💘"},{id:":heart_with_ribbon:",label:"Heart with ribbon",emoji:"💝"},{id:":heart_decoration:",label:"Heart decoration",emoji:"💟"},{id:":peace_symbol:",label:"Peace symbol",emoji:"☮️"},{id:":latin_cross:",label:"Latin cross",emoji:"✝️"},{id:":star_and_crescent:",label:"Star and crescent",emoji:"☪️"},{id:":om:",label:"Om",emoji:"🕉️"},{id:":wheel_of_dharma:",label:"Wheel of dharma",emoji:"☸️"},{id:":star_of_david:",label:"Star of David",emoji:"✡️"},{id:":dotted_six-pointed_star:",label:"Dotted six-pointed star",emoji:"🔯"},{id:":menorah:",label:"Menorah",emoji:"🕎"},{id:":yin_yang:",label:"Yin yang",emoji:"☯️"},{id:":orthodox_cross:",label:"Orthodox cross",emoji:"☦️"},{id:":place_of_worship:",label:"Place of worship",emoji:"🛐"},{id:":atom_symbol:",label:"Atom symbol",emoji:"⚛️"},{id:":hundred_points:",label:"Hundred points",emoji:"💯"},{id:":red_circle:",label:"Red circle",emoji:"🔴"},{id:":orange_circle:",label:"Orange circle",emoji:"🟠"},{id:":yellow_circle:",label:"Yellow circle",emoji:"🟡"},{id:":green_circle:",label:"Green circle",emoji:"🟢"},{id:":blue_circle:",label:"Blue circle",emoji:"🔵"},{id:":purple_circle:",label:"Purple circle",emoji:"🟣"},{id:":black_circle:",label:"Black circle",emoji:"⚫"},{id:":white_circle:",label:"White circle",emoji:"⚪"},{id:":brown_circle:",label:"Brown circle",emoji:"🟤"},{id:":red_triangle_pointed_up:",label:"Red triangle pointed up",emoji:"🔺"},{id:":red_triangle_pointed_down:",label:"Red triangle pointed down",emoji:"🔻"},{id:":small_orange_diamond:",label:"Small orange diamond",emoji:"🔸"},{id:":small_blue_diamond:",label:"Small blue diamond",emoji:"🔹"},{id:":large_orange_diamond:",label:"Large orange diamond",emoji:"🔶"},{id:":large_blue_diamond:",label:"Large blue diamond",emoji:"🔷"},{id:":white_square_button:",label:"White square button",emoji:"🔳"},{id:":black_square_button:",label:"Black square button",emoji:"🔲"},{id:":black_small_square:",label:"Black small square",emoji:"▪️"},{id:":white_small_square:",label:"White small square",emoji:"▫️"},{id:":black_medium-small_square:",label:"Black medium-small square",emoji:"◾"},{id:":white_medium-small_square:",label:"White medium-small square",emoji:"◽"},{id:":black_medium_square:",label:"Black medium square",emoji:"◼️"},{id:":white_medium_square:",label:"White medium square",emoji:"◻️"},{id:":black_large_square:",label:"Black large square",emoji:"⬛"},{id:":white_large_square:",label:"White large square",emoji:"⬜"},{id:":red_square:",label:"Red square",emoji:"🟥"},{id:":orange_square:",label:"Orange square",emoji:"🟧"},{id:":yellow_square:",label:"Yellow square",emoji:"🟨"},{id:":green_square:",label:"Green square",emoji:"🟩"},{id:":blue_square:",label:"Blue square",emoji:"🟦"},{id:":purple_square:",label:"Purple square",emoji:"🟪"},{id:":brown_square:",label:"Brown square",emoji:"🟫"},{id:":star:",label:"Star",emoji:"⭐"},{id:":glowing_star:",label:"Glowing star",emoji:"🌟"},{id:":dizzy:",label:"Dizzy",emoji:"💫"},{id:":shooting_star:",label:"Shooting star",emoji:"🌠"},{id:":milky_way:",label:"Milky Way",emoji:"🌌"},{id:":comet:",label:"Comet",emoji:"☄️"},{id:":collision:",label:"Collision",emoji:"💥"},{id:":anger_symbol:",label:"Anger symbol",emoji:"💢"},{id:":sweat_droplets:",label:"Sweat droplets",emoji:"💦"},{id:":dashing_away:",label:"Dashing away",emoji:"💨"},{id:":speech_balloon:",label:"Speech balloon",emoji:"💬"},{id:":left_speech_bubble:",label:"Left speech bubble",emoji:"🗨️"},{id:":right_anger_bubble:",label:"Right anger bubble",emoji:"🗯️"},{id:":thought_balloon:",label:"Thought balloon",emoji:"💭"},{id:":zzz:",label:"Zzz",emoji:"💤"},{id:":up_arrow:",label:"Up arrow",emoji:"⬆️"},{id:":up-right_arrow:",label:"Up-right arrow",emoji:"↗️"},{id:":right_arrow:",label:"Right arrow",emoji:"➡️"},{id:":down-right_arrow:",label:"Down-right arrow",emoji:"↘️"},{id:":down_arrow:",label:"Down arrow",emoji:"⬇️"},{id:":down-left_arrow:",label:"Down-left arrow",emoji:"↙️"},{id:":left_arrow:",label:"Left arrow",emoji:"⬅️"},{id:":up-left_arrow:",label:"Up-left arrow",emoji:"↖️"},{id:":up-down_arrow:",label:"Up-down arrow",emoji:"↕️"},{id:":left-right_arrow:",label:"Left-right arrow",emoji:"↔️"},{id:":right_arrow_curving_left:",label:"Right arrow curving left",emoji:"↩️"},{id:":left_arrow_curving_right:",label:"Left arrow curving right",emoji:"↪️"},{id:":right_arrow_curving_up:",label:"Right arrow curving up",emoji:"⤴️"},{id:":right_arrow_curving_down:",label:"Right arrow curving down",emoji:"⤵️"},{id:":clockwise_vertical_arrows:",label:"Clockwise vertical arrows",emoji:"🔃"},{id:":counterclockwise_arrows_button:",label:"Counterclockwise arrows button",emoji:"🔄"},{id:":back_arrow:",label:"Back arrow",emoji:"🔙"},{id:":end_arrow:",label:"End arrow",emoji:"🔚"},{id:":on!_arrow:",label:"On! arrow",emoji:"🔛"},{id:":soon_arrow:",label:"Soon arrow",emoji:"🔜"},{id:":top_arrow:",label:"Top arrow",emoji:"🔝"},{id:":medical_symbol:",label:"Medical symbol",emoji:"⚕️"},{id:":recycling_symbol:",label:"Recycling symbol",emoji:"♻️"},{id:":fleur-de-lis:",label:"Fleur-de-lis",emoji:"⚜️"},{id:":trident_emblem:",label:"Trident emblem",emoji:"🔱"},{id:":name_badge:",label:"Name badge",emoji:"📛"},{id:":japanese_symbol_for_beginner:",label:"Japanese symbol for beginner",emoji:"🔰"},{id:":heavy_large_circle:",label:"Heavy large circle",emoji:"⭕"},{id:":check_mark_button:",label:"Check mark button",emoji:"✅"},{id:":check_box_with_check:",label:"Check box with check",emoji:"☑️"},{id:":check_mark:",label:"Check mark",emoji:"✔️"},{id:":cross_mark:",label:"Cross mark",emoji:"❌"},{id:":cross_mark_button:",label:"Cross mark button",emoji:"❎"},{id:":plus:",label:"Plus",emoji:"➕"},{id:":minus:",label:"Minus",emoji:"➖"},{id:":divide:",label:"Divide",emoji:"➗"},{id:":curly_loop:",label:"Curly loop",emoji:"➰"},{id:":double_curly_loop:",label:"Double curly loop",emoji:"➿"},{id:":part_alternation_mark:",label:"Part alternation mark",emoji:"〽️"},{id:":eight-spoked_asterisk:",label:"Eight-spoked asterisk",emoji:"✳️"},{id:":eight-pointed_star:",label:"Eight-pointed star",emoji:"✴️"},{id:":sparkle:",label:"Sparkle",emoji:"❇️"},{id:":double_exclamation_mark:",label:"Double exclamation mark",emoji:"‼️"},{id:":exclamation_question_mark:",label:"Exclamation question mark",emoji:"⁉️"},{id:":question_mark:",label:"Question mark",emoji:"❓"},{id:":white_question_mark:",label:"White question mark",emoji:"❔"},{id:":white_exclamation_mark:",label:"White exclamation mark",emoji:"❕"},{id:":exclamation_mark:",label:"Exclamation mark",emoji:"❗"},{id:":wavy_dash:",label:"Wavy dash",emoji:"〰️"},{id:":copyright:",label:"Copyright",emoji:"©️"},{id:":registered:",label:"Registered",emoji:"®️"},{id:":trade_mark:",label:"Trade mark",emoji:"™️"},{id:":keycap_hash:",label:"Keycap: #",emoji:"#️⃣"},{id:":keycap_asterisk:",label:"Keycap: *",emoji:"*️⃣"},{id:":keycap_0:",label:"Keycap: 0",emoji:"0️⃣"},{id:":keycap_1:",label:"Keycap: 1",emoji:"1️⃣"},{id:":keycap_2:",label:"Keycap: 2",emoji:"2️⃣"},{id:":keycap_3:",label:"Keycap: 3",emoji:"3️⃣"},{id:":keycap_4:",label:"Keycap: 4",emoji:"4️⃣"},{id:":keycap_5:",label:"Keycap: 5",emoji:"5️⃣"},{id:":keycap_6:",label:"Keycap: 6",emoji:"6️⃣"},{id:":keycap_7:",label:"Keycap: 7",emoji:"7️⃣"},{id:":keycap_8:",label:"Keycap: 8",emoji:"8️⃣"},{id:":keycap_9:",label:"Keycap: 9",emoji:"9️⃣"},{id:":keycap_10:",label:"Keycap: 10",emoji:"🔟"}],flags:[{id:":chequered_flag:",label:"Chequered flag",emoji:"🏁"},{id:":triangular_flag:",label:"Triangular flag",emoji:"🚩"},{id:":crossed_flags:",label:"Crossed flags",emoji:"🎌"},{id:":black_flag:",label:"Black flag",emoji:"🏴"},{id:":white_flag:",label:"White flag",emoji:"🏳️"},{id:":rainbow_flag:",label:"Rainbow flag",emoji:"🏳️🌈"},{id:":transgender_flag:",label:"Transgender flag",emoji:"🏳️⚧️"},{id:":pirate_flag:",label:"Pirate flag",emoji:"🏴☠️"},{id:":united_states:",label:"United States",emoji:"🇺🇸"},{id:":canada:",label:"Canada",emoji:"🇨🇦"},{id:":mexico:",label:"Mexico",emoji:"🇲🇽"},{id:":brazil:",label:"Brazil",emoji:"🇧🇷"},{id:":argentina:",label:"Argentina",emoji:"🇦🇷"},{id:":chile:",label:"Chile",emoji:"🇨🇱"},{id:":france:",label:"France",emoji:"🇫🇷"},{id:":germany:",label:"Germany",emoji:"🇩🇪"},{id:":italy:",label:"Italy",emoji:"🇮🇹"},{id:":spain:",label:"Spain",emoji:"🇪🇸"},{id:":portugal:",label:"Portugal",emoji:"🇵🇹"},{id:":netherlands:",label:"Netherlands",emoji:"🇳🇱"},{id:":belgium:",label:"Belgium",emoji:"🇧🇪"},{id:":switzerland:",label:"Switzerland",emoji:"🇨🇭"},{id:":austria:",label:"Austria",emoji:"🇦🇹"},{id:":sweden:",label:"Sweden",emoji:"🇸🇪"},{id:":norway:",label:"Norway",emoji:"🇳🇴"},{id:":denmark:",label:"Denmark",emoji:"🇩🇰"},{id:":finland:",label:"Finland",emoji:"🇫🇮"},{id:":iceland:",label:"Iceland",emoji:"🇮🇸"},{id:":ireland:",label:"Ireland",emoji:"🇮🇪"},{id:":united_kingdom:",label:"United Kingdom",emoji:"🇬🇧"},{id:":russia:",label:"Russia",emoji:"🇷🇺"},{id:":ukraine:",label:"Ukraine",emoji:"🇺🇦"},{id:":poland:",label:"Poland",emoji:"🇵🇱"},{id:":japan:",label:"Japan",emoji:"🇯🇵"},{id:":south_korea:",label:"South Korea",emoji:"🇰🇷"},{id:":china:",label:"China",emoji:"🇨🇳"},{id:":india:",label:"India",emoji:"🇮🇳"},{id:":australia:",label:"Australia",emoji:"🇦🇺"},{id:":new_zealand:",label:"New Zealand",emoji:"🇳🇿"},{id:":south_africa:",label:"South Africa",emoji:"🇿🇦"},{id:":egypt:",label:"Egypt",emoji:"🇪🇬"},{id:":saudi_arabia:",label:"Saudi Arabia",emoji:"🇸🇦"},{id:":united_arab_emirates:",label:"United Arab Emirates",emoji:"🇦🇪"},{id:":kenya:",label:"Kenya",emoji:"🇰🇪"},{id:":nigeria:",label:"Nigeria",emoji:"🇳🇬"},{id:":ghana:",label:"Ghana",emoji:"🇬🇭"},{id:":thailand:",label:"Thailand",emoji:"🇹🇭"},{id:":vietnam:",label:"Vietnam",emoji:"🇻🇳"},{id:":singapore:",label:"Singapore",emoji:"🇸🇬"},{id:":malaysia:",label:"Malaysia",emoji:"🇲🇾"},{id:":indonesia:",label:"Indonesia",emoji:"🇮🇩"},{id:":philippines:",label:"Philippines",emoji:"🇵🇭"}]},Pc="auxx-chat-emoji-skin-tone";function E_(){if(typeof window>"u")return"";try{const e=window.localStorage.getItem(Pc);if(e&&Ur.includes(e))return e}catch{}return""}function $_(e){try{window.localStorage.setItem(Pc,e)}catch{}}function R_({onSelect:e,onClose:t}){const[n,o]=z(""),[r,i]=z(E_),[l,s]=z(!1),u=D(null),{activeSection:h,registerSection:f,scrollToSection:m}=I_(u),g=B(b=>{i(b),$_(b),s(!1)},[]),_=B(b=>{e(b),o(""),t()},[e,t]),k=B(b=>{o(""),m(b)},[m]),x=ve(()=>{if(!n.trim())return null;const b=n.toLowerCase(),y=[];return Object.values(Ac).forEach(S=>y.push(...S)),y.filter(S=>S.label.toLowerCase().includes(b)||S.emoji.includes(b)||S.id.toLowerCase().includes(b))},[n]);return p("div",{className:"w-80",children:[p("div",{className:"flex items-center border-b border-border px-3 py-0.5",children:[p(qo,{className:"mr-2 size-4 shrink-0 opacity-50","aria-hidden":"true"}),p("input",{type:"text",placeholder:"Search emojis…",value:n,onInput:b=>o(b.currentTarget.value),className:"h-7 w-full border-0 bg-transparent p-0 text-sm outline-none"}),n?p("button",{type:"button",onClick:()=>o(""),className:"flex size-5 shrink-0 items-center justify-center rounded-full bg-muted hover:bg-border",children:p(St,{className:"size-3","aria-hidden":"true"})}):null]}),p("div",{className:"flex items-center gap-0.5 border-b border-border p-1",children:[p(z_,{currentTone:r,showingSelector:l,onClick:()=>s(b=>!b)}),p("div",{className:"mx-1 h-5 w-px bg-border"}),l?p("div",{className:"flex gap-0.5",children:Ur.map(b=>p("button",{type:"button",title:b===""?"Default":`Skin tone ${Ur.indexOf(b)}`,onClick:()=>g(b),className:he("flex size-7 items-center justify-center rounded hover:bg-muted",r===b&&"bg-muted"),children:p("span",{className:he("size-4 rounded-full",Tc[b])})},b||"default"))}):p("div",{className:"flex gap-0.5 overflow-x-auto",children:Mc.map(b=>p(L_,{group:b,isActive:h===b.id,onClick:()=>k(b.id)},b.id))})]}),p("div",{ref:u,className:"h-64 overflow-y-auto",onWheel:b=>b.stopPropagation(),children:x?p("div",{className:"px-2",children:x.length>0?p(xe,{children:[p("div",{className:"sticky top-0 z-10 bg-background py-2",children:p("h3",{className:"text-sm font-medium text-muted-foreground",children:"Search results"})}),p("div",{className:"grid grid-cols-10 gap-0.5",children:x.map(b=>p(Ec,{item:b,skinTone:r,onSelect:_},b.id))})]}):p("div",{className:"flex h-32 items-center justify-center text-sm text-muted-foreground",children:"No emojis found"})}):Mc.map(b=>p(O_,{group:b,items:Ac[b.id]||[],skinTone:r,onSelect:_,registerSection:f},b.id))})]})}const Ec=Ft(function({item:t,skinTone:n,onSelect:o}){const r=t.supportsSkinTone?P_(t.emoji,n):t.emoji;return p("button",{type:"button",onClick:()=>o(r),title:t.label,className:"flex size-8 cursor-pointer items-center justify-center rounded-md text-lg hover:bg-muted",children:r})}),O_=Ft(function({group:t,items:n,skinTone:o,onSelect:r,registerSection:i}){const l=B(s=>i(s,t.id),[t.id,i]);return p("div",{ref:l,"data-section":t.id,className:"mb-0 min-h-[260px] px-2 scroll-mt-8",children:[p("div",{className:"sticky top-0 z-10 py-2",children:p("h3",{className:"inline-flex rounded-full border border-border bg-background px-2 text-sm font-medium text-muted-foreground",children:t.label})}),p("div",{className:"grid grid-cols-10 gap-0.5",children:n.map(s=>p(Ec,{item:s,skinTone:o,onSelect:r},s.id))})]})}),L_=Ft(function({group:t,isActive:n,onClick:o}){const r=t.icon;return p("button",{type:"button",title:t.label,onClick:o,className:he("flex size-7 items-center justify-center rounded text-muted-foreground hover:bg-muted hover:text-foreground",n&&"bg-muted text-primary"),children:p(r,{className:"size-4"})})}),z_=Ft(function({currentTone:t,showingSelector:n,onClick:o}){return p("button",{type:"button",title:"Skin tone",onClick:o,className:"flex size-7 items-center justify-center rounded hover:bg-muted",children:n?p(ka,{className:"size-4"}):p("span",{className:he("size-4 rounded-full",Tc[t])})})});function I_(e){const[t,n]=z("smileys"),o=D(new Map),r=B((l,s)=>{if(!l){o.current.delete(s);return}o.current.set(s,l)},[]),i=B(l=>{const s=e.current,u=o.current.get(l);!s||!u||(n(l),s.scrollTo({top:u.offsetTop-40,behavior:"smooth"}))},[e]);return H(()=>{const l=e.current;if(!l)return;const s=()=>{const u=l.scrollTop;let h="",f=-1;o.current.forEach((m,g)=>{const _=m.offsetTop;_<=u+40&&_>f&&(f=_,h=g)}),h&&n(h)};return l.addEventListener("scroll",s,{passive:!0}),()=>l.removeEventListener("scroll",s)},[e]),{activeSection:t,registerSection:r,scrollToSection:i}}function D_({onSelect:e}){const[t,n]=z(!1);return p(C_,{open:t,onOpenChange:n,children:[p(N_,{asChild:!0,children:p("button",{type:"button",title:"Emoji",onPointerDown:o=>o.stopPropagation(),className:"flex size-7 items-center justify-center rounded text-muted-foreground hover:bg-muted hover:text-foreground",children:p(Da,{className:"size-4","aria-hidden":"true"})})}),p(T_,{className:"w-auto p-0",align:"start",sideOffset:6,onOpenAutoFocus:o=>o.preventDefault(),onCloseAutoFocus:o=>o.preventDefault(),children:p(R_,{onSelect:e,onClose:()=>n(!1)})})]})}function F_({onClick:e,disabled:t,loading:n}){return p("button",{type:"button",onClick:e,disabled:t||n,title:"Send",className:he("flex size-8 items-center justify-center rounded-full bg-primary text-primary-foreground transition-opacity disabled:opacity-40"),children:n?p("span",{className:"size-3 animate-spin rounded-full border-2 border-current border-t-transparent","aria-hidden":"true"}):p(fp,{className:"size-4","aria-hidden":"true"})})}function H_({channelId:e,onSend:t,disabled:n,placeholder:o}){const[r,i]=z(""),[l,s]=z(!1),[u,h]=z([]),[f,m]=z(!1),g=D(null),_=u.filter(T=>T.assetId&&!T.error),k=_.map(T=>T.assetId),x=u.some(T=>!T.assetId&&!T.error),b=!l&&!x&&(r.trim().length>0||k.length>0),y=B(async()=>{if(b){s(!0);try{await t({content:r.trim(),attachmentIds:k,inflight:_}),i(""),h([])}finally{s(!1)}}},[b,t,k,_,r]),S=B(T=>{if(T.key==="Enter"){if(T.shiftKey)return;T.preventDefault(),y()}},[y]),N=B(T=>{const A=g.current;if(!A){i(G=>G+T);return}const M=A.selectionStart??r.length,E=A.selectionEnd??r.length,R=r.slice(0,M)+T+r.slice(E);i(R),requestAnimationFrame(()=>{if(!A)return;const G=M+T.length;A.focus(),A.setSelectionRange(G,G)})},[r]),C=B(T=>{h(A=>{const M=A.find(E=>E.localId===T);if(M!=null&&M.objectUrl)try{URL.revokeObjectURL(M.objectUrl)}catch{}return A.filter(E=>E.localId!==T)})},[]),P=B(T=>{var M;T.preventDefault(),m(!1);const A=(M=T.dataTransfer)==null?void 0:M.files;!A||A.length===0||B_(e,A,u,h)},[u,e]);return p("div",{onDragOver:T=>{T.preventDefault(),m(!0)},onDragLeave:()=>m(!1),onDrop:P,className:he("auxx-chat-composer-card mx-1 mb-1",f&&"is-drag-over"),children:[p(Gf,{inflight:u,onRemove:C}),p(Zf,{ref:g,value:r,onInput:T=>i(T.currentTarget.value),onKeyDown:S,placeholder:o??"Type a message…",minRows:3,maxRows:6,disabled:n,className:"pb-10"}),p("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 flex items-center justify-between gap-1 px-1 pb-1",children:[p("div",{className:"pointer-events-auto flex items-center gap-1",children:[p(D_,{onSelect:N}),p(Vf,{channelId:e,inflight:u,onChange:h,disabled:n||l})]}),p("div",{className:"pointer-events-auto",children:p(F_,{onClick:y,disabled:!b,loading:l})})]})]})}async function B_(e,t,n,o){const r=Array.from(t),i=r.map(h=>({localId:`${Date.now()}-${Math.random().toString(36).slice(2)}`,name:h.name,size:h.size,type:h.type,objectUrl:h.type.startsWith("image/")?URL.createObjectURL(h):void 0})),l=[...n,...i];o(l);const s=[...l],{getChatPassport:u}=await Promise.resolve().then(()=>Cf);await Promise.all(i.map(async(h,f)=>{const m=r[f];try{const{passport:g}=await u(e),_=new FormData;_.append("file",m);const k=await fetch(`${Tt()}/api/chat/attachments`,{method:"POST",headers:{Authorization:`Bearer ${g}`},credentials:"include",body:_}),x=await k.json(),b=s.findIndex(y=>y.localId===h.localId);if(b===-1)return;!k.ok||!x.success?s[b]={...s[b],error:x.success===!1?x.error.message:`Upload failed (${k.status})`}:s[b]={...s[b],assetId:x.data.id},o([...s])}catch(g){const _=s.findIndex(k=>k.localId===h.localId);if(_===-1)return;s[_]={...s[_],error:g instanceof Error?g.message:"Upload failed"},o([...s])}}))}function U_({url:e,onDismiss:t}){return p("div",{className:"mx-3 mb-2 flex items-start gap-2 text-[11px] leading-snug text-muted-foreground",children:[p("p",{className:"flex-1",children:["By chatting with us, you agree to our"," ",p("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 hover:text-foreground",children:"Privacy Policy"}),". Your personal data may be processed per this policy and/or our data processing agreement with the customer entity you are contacting us from."]}),p("button",{type:"button","aria-label":"Dismiss privacy notice",onClick:t,className:"shrink-0 rounded p-0.5 text-muted-foreground hover:bg-muted hover:text-foreground",children:p(St,{className:"size-3"})})]})}function q_({replies:e,onSelect:t,disabled:n=!1}){return e.length===0?null:p("div",{className:"flex flex-wrap justify-end gap-2 px-3 pb-2",children:e.map((o,r)=>p("button",{type:"button",disabled:n,"aria-label":o,onClick:()=>t(o),className:he("rounded-full border border-border bg-background px-3 py-1.5 text-sm text-foreground shadow-sm transition","hover:bg-muted active:scale-[0.98]","disabled:pointer-events-none disabled:opacity-50"),children:o},`${r}-${o}`))})}function W_({event:e}){const t=V_(e);if(!t)return null;const n=new Date(e.createdAt).toLocaleString();return p("div",{className:"self-center px-3 text-center text-xs italic text-muted-foreground",title:n,children:t})}function V_(e){switch(e.type){case"thread:taken_over":return"An agent joined the chat";case"thread:returned_to_ai":return"AI is responding again";case"thread:archived":return"Chat ended";case"thread:reopened":return"Chat reopened";case"thread:assignee:changed":return null;case"thread:visitor:identified":return null;default:return null}}function G_({doc:e,identify:t}){return e?p("h2",{className:"text-xl font-semibold leading-tight",children:uo(e.content??[],t,!0)}):p("h2",{className:"text-xl font-semibold leading-tight",children:"Hi! How can we help?"})}function K_(e,t,n={}){return e?uo(e.content??[],t,n.collapseBlocks??!0):null}function uo(e,t,n){return e.map((o,r)=>X_(o,t,n,r))}function X_(e,t,n,o){var r,i;if(e.type==="text"){const l=e.text??"";return Y_(l,e.marks??[],o)}if(e.type==="placeholder"){const l=String(((r=e.attrs)==null?void 0:r.id)??""),s=J_(l,t);if(s!==null&&s!=="")return p("span",{children:s},o);const u=Z_((i=e.attrs)==null?void 0:i.fallback);return p("span",{children:u??""},o)}if(e.type==="paragraph"){const l=uo(e.content??[],t,!1);return n?p("span",{children:l},o):p("span",{className:"block",children:l},o)}return e.type==="hardBreak"?p("br",{},o):e.content?p("span",{children:uo(e.content,t,!1)},o):null}function Y_(e,t,n){let o=e;for(const r of t)r.type==="bold"||r.type==="strong"?o=p("strong",{children:o}):r.type==="italic"||r.type==="em"?o=p("em",{children:o}):r.type==="underline"?o=p("u",{children:o}):r.type==="code"&&(o=p("code",{children:o}));return p("span",{children:o},n)}function J_(e,t){if(!e.startsWith("visitor:"))return null;const n=e.slice(8);return t?n==="name"?t.name??null:n==="email"?t.email??null:n==="externalId"?t.externalId??null:null:null}function Z_(e){if(!e)return null;if(typeof e=="string")try{e=JSON.parse(e)}catch{return e}if(typeof e!="object"||e===null)return null;const t=e;if(t.v!==1)return null;switch(t.t){case"TEXT":case"URL":case"EMAIL":case"PHONE_INTL":case"DATE":case"DATETIME":case"TIME":return typeof t.d=="string"?t.d:null;case"NUMBER":case"CURRENCY":return typeof t.d=="number"?String(t.d):null;case"CHECKBOX":return t.d?"Yes":"No";case"NAME":{const n=t.d;return n&&[n.firstName,n.lastName].filter(Boolean).join(" ")||null}default:return null}}function Q_({agent:e,template:t,identify:n,typingDelayMs:o=900,initialTyping:r=!0}){const[i,l]=z(!r);H(()=>{if(!r)return;const u=window.setTimeout(()=>l(!0),o);return()=>window.clearTimeout(u)},[o,r]);const s=e?{name:e.name,avatarUrl:e.avatarUrl}:void 0;return i?p(nr,{sender:"AGENT",avatar:s,children:p(ev,{agent:e,template:t,identify:n})}):p(nr,{sender:"AGENT",avatar:s,typing:!0})}function ev({agent:e,template:t,identify:n}){if(t)return p(xe,{children:K_(t,n)});const o=(e==null?void 0:e.name)??"Support";return p(xe,{children:["Hi there, you're speaking with ",o,"'s AI Agent. How can I help you today?"]})}function tv({channelId:e,threadId:t,config:n}){const o=ve(()=>Mt(e),[e]),[r,i]=z([]),[l,s]=z([]),[u,h]=z(null),[f,m]=z(null),[g,_]=z(()=>Rf(e)),[k,x]=z(()=>ji(e)),b=D(null),y=D(new Set);H(()=>Si(x),[]),H(()=>()=>{for(const C of y.current)try{URL.revokeObjectURL(C)}catch{}y.current.clear()},[]),H(()=>{let C=!1;return o.initialize({url:typeof window<"u"?window.location.href:void 0,referrer:typeof document<"u"&&document.referrer||void 0,userAgent:typeof navigator<"u"?navigator.userAgent:void 0,threadId:t}).then(P=>{C||(h({sessionId:P.sessionId,pusherChannel:P.pusherChannel,threadPusherChannel:P.threadPusherChannel}),P.threadId===t?(i(P.messages),s(P.threadEvents??[])):o.getHistory(t,P.sessionId).then(T=>{C||(i(T.messages),s(T.threadEvents??[]))}).catch(T=>{C||m(T instanceof Error?T.message:"Failed to load conversation")}))}).catch(P=>{C||m(P instanceof Error?P.message:"Failed to load conversation")}),()=>{C=!0}},[o,t]),H(()=>{if(!u)return;const C=Pf({key:n.realtime.key,cluster:n.realtime.cluster,channelName:u.pusherChannel}),P=T=>{T.threadId===t&&i(A=>{var E;const M=A.findIndex(R=>R.id===T.id||T.clientMessageId&&R.id===T.clientMessageId);if(M>=0){const R=A[M],G=ov(R.attachments,T.attachments);rv(R.attachments,y.current);const I=A.slice();return I[M]={...R,id:T.id,content:T.content||R.content,createdAt:T.createdAt||R.createdAt,status:"delivered",...G?{attachments:G}:{}},I}return[...A,{id:T.id,content:T.content,sender:T.sender??"AGENT",createdAt:T.createdAt,...(E=T.attachments)!=null&&E.length?{attachments:T.attachments}:{}}]})};return C.channel.bind("new-message",P),()=>{try{C.channel.unbind("new-message",P)}catch{}C.disconnect()}},[u,t,n.realtime.key,n.realtime.cluster]),H(()=>{if(!u)return;const C=u.threadPusherChannel,P=`private-thread-${t}`;if(C!==P)return;const T=_l({key:n.realtime.key,cluster:n.realtime.cluster,channelName:C,channelId:e}),A=Lf.map(M=>{const E=R=>{R.threadId===t&&s(G=>{const I=R.id??`${M}:${t}:${R.createdAt??new Date().toISOString()}`;return G.some(ie=>ie.id===I)?G:[...G,{id:I,type:M,createdAt:R.createdAt??new Date().toISOString(),data:R}]})};return T.channel.bind(M,E),{type:M,handler:E}});return()=>{for(const{type:M,handler:E}of A)try{T.channel.unbind(M,E)}catch{}T.disconnect()}},[u,t,e,n.realtime.key,n.realtime.cluster]),H(()=>{r.length!==0&&uf(e,t)},[e,t,r.length]),H(()=>{const C=b.current;C&&(C.scrollTop=C.scrollHeight)},[r.length,l.length]);const S=B(async({content:C,attachmentIds:P,inflight:T})=>{if(!u)return;const A=`c-${Date.now()}-${Math.random().toString(36).slice(2)}`,M=T&&T.length>0?T.filter(R=>R.assetId).map(R=>(R.objectUrl&&y.current.add(R.objectUrl),{id:R.assetId,name:R.name,mimeType:R.type,size:R.size,...R.objectUrl?{objectUrl:R.objectUrl}:{}})):void 0,E={id:A,content:C,sender:"USER",createdAt:new Date().toISOString(),status:"sending",...M!=null&&M.length?{attachments:M}:{}};i(R=>[...R,E]);try{await o.sendMessage({sessionId:u.sessionId,threadId:t,content:C,clientMessageId:A,...P.length>0?{attachmentIds:P}:{}})}catch(R){i(G=>G.map(I=>I.id===A?{...I,status:"error"}:I)),m(R instanceof Error?R.message:"Failed to send message")}},[o,u,t]),N=ve(()=>iv(r,l),[r,l]);return p("div",{className:"auxx-chat-frame flex min-h-0 flex-1 flex-col",children:[p("div",{ref:b,className:"auxx-chat-body-mask flex min-h-0 flex-1 flex-col gap-3 overflow-y-auto p-3",children:[f?p("div",{className:"rounded bg-background p-2 text-center text-xs text-destructive",children:f}):null,u?p(Q_,{agent:n.agent,template:n.welcomeMessageTemplate,identify:k,initialTyping:r.length===0}):null,N.map(C=>{var P;return C.kind==="event"?p(W_,{event:C.event},`e-${C.event.id}`):p(nr,{group:C.group,channelId:e},`g-${((P=C.group.messages[0])==null?void 0:P.id)??C.createdAt}`)})]}),p("div",{className:"auxx-chat-composer-plinth",children:n.isOffline?p(nv,{message:n.appearance.offlineMessage}):p(xe,{children:[u&&r.length===0?p(q_,{replies:n.suggestedReplies??[],onSelect:C=>S({content:C,attachmentIds:[],inflight:[]})}):null,p(H_,{channelId:e,onSend:S}),n.privacyPolicyUrl&&!g?p(U_,{url:n.privacyPolicyUrl,onDismiss:()=>{Of(e),_(!0)}}):null]})}),n.branding.footerEnabled?p("div",{className:"border-t border-[color:var(--auxx-chat-hairline)] bg-transparent py-2 text-center text-[10px] uppercase tracking-wide text-muted-foreground",children:"Powered by Auxx"}):null]})}function nv({message:e}){const t=(e==null?void 0:e.trim())||"No one is available right now. Leave a message and we’ll reply by email.";return p("div",{className:"mx-1 mb-1 rounded-md border border-[color:var(--auxx-chat-hairline)] bg-background/60 px-3 py-3 text-center text-xs text-muted-foreground",children:t})}function ov(e,t){if(!t||t.length===0)return e&&e.length>0?e:void 0;if(!e||e.length===0)return t;if(e.length===t.length)return t.map((o,r)=>{const i=e[r];return i!=null&&i.objectUrl?{...o,objectUrl:i.objectUrl}:o});const n=new Map(e.map(o=>[o.id,o]));return t.map(o=>{const r=n.get(o.id);return r!=null&&r.objectUrl?{...o,objectUrl:r.objectUrl}:o})}function rv(e,t){if(e){for(const n of e)if(n.objectUrl&&t.has(n.objectUrl)){try{URL.revokeObjectURL(n.objectUrl)}catch{}t.delete(n.objectUrl)}}}function iv(e,t){const n=[...e.map(r=>({kind:"message",createdAt:new Date(r.createdAt).getTime(),message:r})),...t.map(r=>({kind:"event",createdAt:new Date(r.createdAt).getTime(),event:r}))];n.sort((r,i)=>r.createdAt-i.createdAt);const o=[];for(const r of n){if(r.kind==="event"){o.push({kind:"event",event:r.event,createdAt:r.createdAt});continue}const i=o[o.length-1];i&&i.kind==="group"&&i.group.sender===r.message.sender?i.group.messages.push(r.message):o.push({kind:"group",group:{sender:r.message.sender,messages:[r.message]},createdAt:r.createdAt})}return o}const av=l_,lv=s_;function sv({className:e,sideOffset:t=4,...n}){const o=Ii();return p(c_,{container:o??void 0,children:p(d_,{sideOffset:t,className:he("min-w-[10rem] overflow-hidden rounded-xl border border-border bg-[color:var(--auxx-chat-surface-loud)] p-1 text-sm shadow-md backdrop-blur-xl",e),style:{zIndex:2147483001},...n})})}function $c({className:e,...t}){return p(u_,{className:he("relative flex cursor-pointer select-none items-center gap-2 rounded px-2 py-1.5 outline-none focus:bg-[color:var(--auxx-chat-surface-dark-default)] focus:text-[color:var(--auxx-chat-text-loud)] data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...t})}function cv({channelId:e,threadId:t,expanded:n,onToggleExpanded:o,allowDownloadTranscript:r,floating:i=!1}){const l=Mt(e);return p(av,{children:[p(lv,{asChild:!0,children:p("button",{type:"button","aria-label":"More",onPointerDown:u=>u.stopPropagation(),className:"flex size-7 items-center justify-center rounded text-muted-foreground hover:bg-muted hover:text-foreground",children:p(Ca,{className:"size-4","aria-hidden":"true"})})}),p(sv,{align:"end",children:[i?null:p($c,{onSelect:o,children:[n?p(Uh,{className:"size-4","aria-hidden":"true"}):p(Dh,{className:"size-4","aria-hidden":"true"}),n?"Shrink window":"Expand window"]}),r?p($c,{onSelect:async()=>{try{const{html:u,filename:h}=await l.getTranscript(t),f=new Blob([u],{type:"text/html"}),m=URL.createObjectURL(f),g=document.createElement("a");g.href=m,g.download=h,document.body.appendChild(g),g.click(),document.body.removeChild(g),URL.revokeObjectURL(m)}catch{}},children:[p(Sa,{className:"size-4","aria-hidden":"true"}),"Download transcript"]}):null]})]})}const dv=[{id:"history",label:"History",icon:vh},{id:"home",label:"Home",icon:Ea},{id:"settings",label:"Settings",icon:_p},{id:"search",label:"Search",icon:qo},{id:"menu",label:"Menu",icon:Hh},{id:"x",label:"Close",icon:St},{id:"plus",label:"Plus",icon:Ia},{id:"minus",label:"Minus",icon:qh},{id:"equal",label:"Equal",icon:Ku},{id:"check",label:"Check",icon:ju},{id:"chevron-down",label:"Chevron Down",icon:Su},{id:"chevron-up",label:"Chevron Up",icon:Cu},{id:"chevron-left",label:"Chevron Left",icon:ka},{id:"chevron-right",label:"Chevron Right",icon:En},{id:"chevrons-up-down",label:"Chevrons Up Down",icon:Nu},{id:"arrow-left",label:"Arrow Left",icon:va},{id:"arrow-right",label:"Arrow Right",icon:eu},{id:"arrow-up",label:"Arrow Up",icon:nu},{id:"arrow-down",label:"Arrow Down",icon:Zd},{id:"arrow-left-right",label:"Arrow Left Right",icon:Qd},{id:"mail",label:"Mail",icon:Lh},{id:"message-square",label:"Message Square",icon:Oa},{id:"message-circle",label:"Message Circle",icon:Ra},{id:"phone",label:"Phone",icon:Qh},{id:"bell",label:"Bell",icon:su},{id:"bell-ring",label:"Bell Ring",icon:lu},{id:"send",label:"Send",icon:bp},{id:"inbox",label:"Inbox",icon:yh},{id:"mails",label:"Mails",icon:zh},{id:"at-sign",label:"At Sign",icon:ou},{id:"user",label:"User",icon:Wo},{id:"users",label:"Users",icon:em},{id:"user-plus",label:"User Plus",icon:Zp},{id:"user-minus",label:"User Minus",icon:Jp},{id:"user-check",label:"User Check",icon:Yp},{id:"user-x",label:"User X",icon:Qp},{id:"circle-user",label:"Circle User",icon:Au},{id:"file",label:"File",icon:Ma},{id:"file-text",label:"File Text",icon:jt},{id:"file-image",label:"File Image",icon:Na},{id:"file-video",label:"File Video",icon:Ta},{id:"file-audio",label:"File Audio",icon:eh},{id:"file-type",label:"File Type",icon:nh},{id:"file-spreadsheet",label:"File Spreadsheet",icon:th},{id:"file-code",label:"File Code",icon:Qu},{id:"file-json",label:"File JSON",icon:Zu},{id:"folder-kanban",label:"Folder Kanban",icon:rh},{id:"archive",label:"Archive",icon:Jd},{id:"folder",label:"Folder",icon:Uo},{id:"folder-open",label:"Folder Open",icon:ih},{id:"upload",label:"Upload",icon:Xp},{id:"download",label:"Download",icon:Sa},{id:"paperclip",label:"Paperclip",icon:za},{id:"link",label:"Link",icon:Th},{id:"edit",label:"Edit",icon:Cp},{id:"trash",label:"Trash",icon:Fp},{id:"copy",label:"Copy",icon:Hu},{id:"clipboard",label:"Clipboard",icon:Ru},{id:"clipboard-check",label:"Clipboard Check",icon:$u},{id:"share-2",label:"Share 2",icon:vp},{id:"save",label:"Save",icon:hp},{id:"share",label:"Share",icon:xp},{id:"external-link",label:"External Link",icon:Xu},{id:"more-horizontal",label:"More Horizontal",icon:Ca},{id:"more-vertical",label:"More Vertical",icon:Gu},{id:"image",label:"Image",icon:xh},{id:"video",label:"Video",icon:nm},{id:"music",label:"Music",icon:Vh},{id:"camera",label:"Camera",icon:xu},{id:"play",label:"Play",icon:ep},{id:"pause",label:"Pause",icon:Yh},{id:"volume",label:"Volume",icon:om},{id:"volume-x",label:"Volume Off",icon:rm},{id:"briefcase",label:"Briefcase",icon:mu},{id:"building",label:"Building",icon:bu},{id:"building-2",label:"Building 2",icon:fu},{id:"calendar",label:"Calendar",icon:vu},{id:"clock",label:"Clock",icon:Ou},{id:"credit-card",label:"Credit Card",icon:Bu},{id:"dollar-sign",label:"Dollar Sign",icon:Vu},{id:"shopping-cart",label:"Shopping Cart",icon:kp},{id:"package",label:"Package",icon:La},{id:"truck",label:"Truck",icon:Vp},{id:"megaphone",label:"Megaphone",icon:Fh},{id:"warehouse",label:"Warehouse",icon:im},{id:"receipt",label:"Receipt",icon:ap},{id:"handshake",label:"Handshake",icon:ph},{id:"percent",label:"Percent",icon:Zh},{id:"crown",label:"Crown",icon:qu},{id:"bar-chart",label:"Bar Chart",icon:wu},{id:"line-chart",label:"Line Chart",icon:yu},{id:"pie-chart",label:"Pie Chart",icon:ku},{id:"trending-up",label:"Trending Up",icon:Up},{id:"trending-down",label:"Trending Down",icon:Bp},{id:"activity",label:"Activity",icon:Yd},{id:"alert-circle",label:"Alert Circle",icon:Tu},{id:"alert-triangle",label:"Alert Triangle",icon:qp},{id:"info",label:"Info",icon:wh},{id:"help-circle",label:"Help Circle",icon:ja},{id:"check-circle",label:"Check Circle",icon:Mu},{id:"x-circle",label:"X Circle",icon:Pu},{id:"ban",label:"Ban",icon:iu},{id:"wrench",label:"Wrench",icon:sm},{id:"hammer",label:"Hammer",icon:hh},{id:"key",label:"Key",icon:kh},{id:"lock",label:"Lock",icon:Oh},{id:"unlock",label:"Unlock",icon:Rh},{id:"shield",label:"Shield",icon:wp},{id:"shield-check",label:"Shield Check",icon:yp},{id:"zap",label:"Zap",icon:cm},{id:"plug",label:"Plug",icon:tp},{id:"lightbulb",label:"Lightbulb",icon:Ch},{id:"compass",label:"Compass",icon:Fu},{id:"map",label:"Map",icon:Ih},{id:"map-pin",label:"Map Pin",icon:$a},{id:"globe",label:"Globe",icon:dh},{id:"navigation",label:"Navigation",icon:Gh},{id:"star",label:"Star",icon:Tp},{id:"heart",label:"Heart",icon:gh},{id:"bookmark",label:"Bookmark",icon:cu},{id:"tag",label:"Tag",icon:Ep},{id:"tags",label:"Tags",icon:$p},{id:"flag",label:"Flag",icon:Aa},{id:"award",label:"Award",icon:ru},{id:"gift",label:"Gift",icon:sh},{id:"sparkles",label:"Sparkles",icon:jp},{id:"eye",label:"Eye",icon:Ju},{id:"eye-off",label:"Eye Off",icon:Yu},{id:"filter",label:"Filter",icon:ah},{id:"refresh",label:"Refresh",icon:lp},{id:"rotate",label:"Rotate",icon:up},{id:"layers",label:"Layers",icon:jh},{id:"grid",label:"Grid",icon:uh},{id:"list",label:"List",icon:Eh},{id:"table",label:"Table",icon:Pp},{id:"columns",label:"Columns",icon:Du},{id:"layout",label:"Layout",icon:Xh},{id:"layout-dashboard",label:"Layout Dashboard",icon:Sh},{id:"book-open",label:"Book Open",icon:ya},{id:"code",label:"Code",icon:zu},{id:"terminal",label:"Terminal",icon:Op},{id:"database",label:"Database",icon:Wu},{id:"server",label:"Server",icon:gp},{id:"cloud",label:"Cloud",icon:Lu},{id:"wifi",label:"Wifi",icon:lm},{id:"battery",label:"Battery",icon:au},{id:"power",label:"Power",icon:np},{id:"sun",label:"Sun",icon:Ap},{id:"moon",label:"Moon",icon:Wh},{id:"circle",label:"Circle",icon:Eu},{id:"square",label:"Square",icon:Np},{id:"triangle",label:"Triangle",icon:Wp},{id:"hexagon",label:"Hexagon",icon:_h},{id:"target",label:"Target",icon:Rp},{id:"crosshair",label:"Crosshair",icon:Uu},{id:"fingerprint",label:"Fingerprint",icon:oh},{id:"qr-code",label:"QR Code",icon:rp},{id:"printer",label:"Printer",icon:op},{id:"scan",label:"Scan",icon:pp},{id:"heading-1",label:"Heading 1",icon:mh},{id:"heading-2",label:"Heading 2",icon:fh},{id:"heading-3",label:"Heading 3",icon:bh},{id:"list-ordered",label:"Numbered List",icon:Ph},{id:"quote",label:"Quote",icon:ip},{id:"git-branch",label:"Git Branch",icon:ch},{id:"sticky-note",label:"Sticky Note",icon:Mp},{id:"variable",label:"Variable",icon:tm},{id:"brain",label:"Brain",icon:pu},{id:"octagon",label:"Octagon",icon:Kh},{id:"repeat",label:"Repeat",icon:cp},{id:"undo-2",label:"Undo",icon:Kp},{id:"arrows-up-down",label:"Arrows Up Down",icon:tu},{id:"webhook",label:"Webhook",icon:am},{id:"ticket",label:"Ticket",icon:Ip},{id:"box",label:"Box",icon:du},{id:"boxes",label:"Boxes",icon:uu},{id:"type",label:"Type",icon:Gp},{id:"hash",label:"Hash",icon:Pa},{id:"toggle-left",label:"Toggle Left",icon:Dp},{id:"braces",label:"Braces",icon:hu},{id:"pen-tool",label:"Pen Tool",icon:Jh},{id:"scissors",label:"Scissors",icon:mp},{id:"text",label:"Text",icon:wa},{id:"text-cursor-input",label:"Text Cursor Input",icon:zp},{id:"list-filter",label:"List Filter",icon:Ah},{id:"calendar-clock",label:"Calendar Clock",icon:_u},{id:"list-checks",label:"List Checks",icon:Mh},{id:"check-square",label:"Check Square",icon:Sp},{id:"link-2",label:"Link 2",icon:Nh},{id:"calculator",label:"Calculator",icon:gu},{id:"case-sensitive",label:"Case Sensitive",icon:wa},{id:"align-center",label:"Align Center",icon:Lp},{id:"replace",label:"Replace",icon:dp},{id:"regex",label:"Regex",icon:sp}],wn=e=>dv.find(t=>t.id===e);function uv({iconId:e,className:t}){const n=t??"size-4 shrink-0 text-muted-foreground",o=e?wn(e):null,r=(o==null?void 0:o.icon)??jt;return p(r,{className:n,"aria-hidden":"true"})}function ho({onClick:e,disabled:t,children:n,className:o,showChevron:r=!0}){return p("button",{type:"button",onClick:e,disabled:t,className:he("group flex w-full items-center gap-3 rounded-lg border border-[color:var(--auxx-chat-hairline)] bg-card px-3 py-3 text-left transition-colors hover:bg-[color:var(--auxx-chat-surface-loud)] disabled:cursor-not-allowed disabled:opacity-60",o),children:[p("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:n}),r?p(En,{className:"size-4 shrink-0 text-muted-foreground transition-transform group-hover:translate-x-0.5","aria-hidden":"true"}):null]})}function hv({title:e,description:t,emoji:n,onClick:o}){return p(ho,{onClick:o,children:[p("div",{className:"flex items-center gap-2",children:[p(uv,{iconId:n}),p("span",{className:"truncate text-sm font-medium text-foreground",children:e})]}),t?p("span",{className:"line-clamp-2 text-xs text-muted-foreground",children:t}):null]})}function pv({siteName:e,onClick:t}){return p(ho,{onClick:t,children:[p("div",{className:"flex items-center gap-2",children:[p(ya,{className:"size-4 shrink-0 text-primary","aria-hidden":"true"}),p("span",{className:"text-sm font-medium text-foreground",children:"Browse all articles"})]}),p("span",{className:"truncate text-xs text-muted-foreground",children:e})]})}function mv({subject:e,preview:t,isInbound:n,timestamp:o,onOpen:r}){const i=fv(o);return p(ho,{onClick:r,children:[p("div",{className:"flex items-center justify-between gap-2",children:[p("span",{className:"truncate text-sm font-medium text-foreground",children:e||"Recent conversation"}),p("span",{className:"shrink-0 text-xs text-muted-foreground",children:i})]}),p("span",{className:"truncate text-xs text-muted-foreground",children:[n?"You: ":"",t]})]})}function fv(e){const t=Date.parse(e);if(Number.isNaN(t))return"";const n=Date.now()-t,o=6e4,r=60*o,i=24*r;return n<o?"just now":n<r?`${Math.floor(n/o)}m`:n<i?`${Math.floor(n/r)}h`:n<7*i?`${Math.floor(n/i)}d`:new Date(t).toLocaleDateString()}function bv({onClick:e,isPending:t}){return p(ho,{onClick:e,disabled:t,children:[p("div",{className:"flex items-center gap-2",children:[p(Bh,{className:"size-4 shrink-0 text-primary","aria-hidden":"true"}),p("span",{className:"text-sm font-medium text-foreground",children:t?"Starting…":"Send us a message"})]}),p("span",{className:"text-xs text-muted-foreground",children:"We usually reply within a few minutes."})]})}function gv(e){const t=/^#?([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(e);if(!t)return"#ffffff";let n=t[1];n.length===3&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]);const o=parseInt(n.slice(0,2),16)/255,r=parseInt(n.slice(2,4),16)/255,i=parseInt(n.slice(4,6),16)/255,l=u=>u<=.03928?u/12.92:((u+.055)/1.055)**2.4;return .2126*l(o)+.7152*l(r)+.0722*l(i)>.5?"#000000":"#ffffff"}function _v({channelId:e,config:t,resolvedTheme:n,onClose:o,floating:r=!1,onToggleFloating:i,headerRef:l}){const s=cn(),[u,h]=z(()=>ji(e)),[f,m]=z(null),[g,_]=z(!1);H(()=>Si(E=>h(E)),[]);const k=Mt(e),{home:x}=t;H(()=>{if(!x.showRecentMessage){m(null);return}let E=!1;return k.getRecentThread().then(R=>{E||m(R.thread)}).catch(()=>{E||m(null)}),()=>{E=!0}},[x.showRecentMessage]);const b=B((E,R)=>{s.push({id:E,label:R,view:"thread",params:{threadId:E}})},[s]),y=B(async()=>{var E;_(!0);try{const R=f??((E=await k.getRecentThread().catch(()=>null))==null?void 0:E.thread)??null;if(R&&!R.lastMessage){b(R.id,R.subject||"Conversation");return}const{threadId:G}=await k.createThread({url:typeof window<"u"?window.location.href:void 0,referrer:typeof document<"u"&&document.referrer||void 0,userAgent:typeof navigator<"u"?navigator.userAgent:void 0});b(G,"New conversation")}catch{}finally{_(!1)}},[k,b,f]),S=[x.showRecentMessage&&f&&f.lastMessage?p(mv,{subject:f.subject,preview:f.lastMessage.preview,isInbound:f.lastMessage.isInbound,timestamp:f.lastMessage.timestamp,onOpen:()=>b(f.id,f.subject||"Conversation")},"recent"):null,x.showSendMessageCta?p(bv,{onClick:y,isPending:g},"send"):null,...x.featuredArticles.map(E=>p(hv,{title:E.title,description:E.description,emoji:E.emoji,onClick:()=>s.push({id:E.id,label:E.title,view:"kb-article",params:{articleId:E.id}})},E.id)),x.knowledgeBase?p(pv,{siteName:x.knowledgeBase.siteName,onClick:()=>s.push({id:"kb-root",label:x.knowledgeBase.siteName,view:"kb-section",params:{sectionId:null}})},"browse"):null].filter(Boolean),N=n==="dark",C=N&&t.appearance.headerColorDark?t.appearance.headerColorDark:t.appearance.headerColor,P=C??"var(--auxx-chat-primary-band)",T=C?gv(C):N?"#FFFFFF":"#000000",A=T==="#000000",M=N?t.appearance.logoDark??t.appearance.logoLight:t.appearance.logoLight;return p("div",{className:"auxx-chat-frame relative flex min-h-0 flex-1 flex-col",children:[p("div",{"aria-hidden":"true",className:"auxx-chat-clip-top pointer-events-none absolute inset-x-0 top-0 z-0",style:{height:"200px",background:`linear-gradient(to bottom, ${P} 45%, transparent 100%)`}}),p("div",{ref:l,className:"relative z-10 flex shrink-0 flex-col gap-8 ps-5 pe-3 pt-5 pb-6",style:{color:T},children:[p("div",{className:"flex items-start justify-between",children:[M?p("img",{src:M,alt:"",className:"h-8 w-auto"}):p("span",{className:"h-8"}),p("div",{className:"flex items-center gap-1",children:[i?p("button",{type:"button",onClick:i,onPointerDown:E=>E.stopPropagation(),"data-no-drag":!0,"aria-label":r?"Dock chat":"Pop out chat","aria-pressed":r,className:A?"hidden size-7 items-center justify-center rounded text-black/70 transition-colors hover:bg-black/5 hover:text-black sm:flex":"hidden size-7 items-center justify-center rounded text-white/90 transition-colors hover:bg-white/10 hover:text-white sm:flex",children:r?p(_a,{className:"size-4","aria-hidden":"true"}):p(xa,{className:"size-4","aria-hidden":"true"})}):null,o?p("button",{type:"button",onClick:o,onPointerDown:E=>E.stopPropagation(),"data-no-drag":!0,"aria-label":"Close chat",className:A?"flex size-7 items-center justify-center rounded text-black/70 transition-colors hover:bg-black/5 hover:text-black":"flex size-7 items-center justify-center rounded text-white/90 transition-colors hover:bg-white/10 hover:text-white",children:p(St,{className:"size-4","aria-hidden":"true"})}):null]})]}),p(G_,{doc:x.greetingTemplate??null,identify:u})]}),p("div",{className:"auxx-chat-body-mask relative z-10 flex min-h-0 flex-1 flex-col gap-2 overflow-y-auto pt-3 px-3 pb-3",children:S.length===0?p("p",{className:"py-6 text-center text-xs text-muted-foreground",children:"No conversations yet"}):S}),t.branding.footerEnabled?p("div",{className:"relative z-10 border-t border-[color:var(--auxx-chat-hairline)] bg-transparent py-2 text-center text-[10px] uppercase tracking-wide text-muted-foreground",children:"Powered by Auxx"}):null]})}function qr(e){return{getTree:()=>Me(e,"/api/kb/tree"),getArticle:t=>Me(e,`/api/kb/articles/${encodeURIComponent(t)}`),search:(t,n)=>Me(e,`/api/kb/search?q=${encodeURIComponent(t)}`,n?{signal:n}:void 0)}}function vv({channelId:e,articleId:t}){const n=cn(),o=D(null),[r,i]=z(null),[l,s]=z(null),u=D(n);u.current=n,H(()=>{let f=!1;return s(null),i(null),qr(e).getArticle(t).then(m=>{f||(i(m),u.current.replace({id:m.id,label:m.title,view:"kb-article",params:{articleId:m.id}}))}).catch(m=>{f||s(m instanceof Error?m.message:"Failed to load article")}),()=>{f=!0}},[e,t]),H(()=>{const f=o.current;if(!f||!r)return;const m=xv(f),g=yv(f),_=wv(f);return()=>{g(),_();for(const k of m)pt(null,k)}},[r]);const h=B(f=>{const m=f.target,g=m==null?void 0:m.closest("[data-auxx-article-link]");if(!g)return;f.preventDefault();const _=g.getAttribute("data-auxx-article-link");_&&n.push({id:_,label:"Loading…",view:"kb-article",params:{articleId:_}})},[n]);return l?p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-sm text-muted-foreground",children:l}):r?p("div",{className:"flex min-h-0 flex-1 flex-col overflow-y-auto bg-[color:var(--auxx-chat-surface-loud)]",children:p("div",{ref:o,className:"auxx-kb-article px-5 py-4",onClick:h,dangerouslySetInnerHTML:{__html:r.html}})}):p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-xs text-muted-foreground",children:"Loading…"})}function xv(e){const t=e.querySelectorAll("[data-auxx-icon]"),n=[];return t.forEach(o=>{const r=o.getAttribute("data-auxx-icon");if(!r)return;const i=wn(r);i&&(pt(fe(i.icon,{"aria-hidden":!0}),o),n.push(o))}),n}function yv(e){const t=Array.from(e.querySelectorAll('[data-auxx-block="tabs"]')),n=[];for(const o of t){const r=l=>{const s=l.target,u=s==null?void 0:s.closest("[data-auxx-tab]");if(!u||!o.contains(u))return;const h=u.getAttribute("data-target");h&&Rc(o,h)},i=l=>{if(l.key!=="ArrowLeft"&&l.key!=="ArrowRight"&&l.key!=="Home"&&l.key!=="End")return;const s=o.querySelector("[data-auxx-tabs-list]");if(!s||!(l.target instanceof Element)||!s.contains(l.target))return;const u=Array.from(s.querySelectorAll("[data-auxx-tab]"));if(u.length===0)return;const h=u.findIndex(_=>_.getAttribute("data-active")==="true");let f=h;l.key==="ArrowRight"?f=(h+1)%u.length:l.key==="ArrowLeft"?f=(h-1+u.length)%u.length:l.key==="Home"?f=0:l.key==="End"&&(f=u.length-1);const m=u[f],g=m==null?void 0:m.getAttribute("data-target");g&&(l.preventDefault(),Rc(o,g),m.focus())};o.addEventListener("click",r),o.addEventListener("keydown",i),n.push({el:o,onClick:r,onKey:i})}return()=>{for(const{el:o,onClick:r,onKey:i}of n)o.removeEventListener("click",r),o.removeEventListener("keydown",i)}}function Rc(e,t){e.querySelectorAll("[data-auxx-tab]").forEach(r=>{const i=r.getAttribute("data-target")===t;r.setAttribute("data-active",String(i)),r.setAttribute("aria-selected",String(i)),r.setAttribute("tabindex",i?"0":"-1")}),e.querySelectorAll("[data-auxx-tab-panel]").forEach(r=>{const i=r.getAttribute("data-id")===t;r.setAttribute("data-active",String(i)),i?r.removeAttribute("hidden"):r.setAttribute("hidden","")})}function wv(e){const t=Array.from(e.querySelectorAll('[data-auxx-block="accordion"][data-allow-multiple="false"]')),n=[];for(const o of t){const r=i=>{const l=i.target;if(!l||l.tagName!=="DETAILS"||!l.open)return;o.querySelectorAll("[data-auxx-accordion-item]").forEach(u=>{u!==l&&u.open&&(u.open=!1)})};o.addEventListener("toggle",r,!0),n.push({el:o,onToggle:r})}return()=>{for(const{el:o,onToggle:r}of n)o.removeEventListener("toggle",r,!0)}}function kv({value:e,onChange:t,placeholder:n="Search…",autoFocus:o,className:r}){const i=B(u=>{t(u.currentTarget.value)},[t]),l=B(u=>{u.key==="Escape"&&e&&(u.preventDefault(),t(""))},[e,t]),s=B(()=>t(""),[t]);return p("div",{className:he("flex shrink-0 items-center gap-2 border-b border-[color:var(--auxx-chat-hairline)] px-3 py-2",r),children:p("div",{className:"relative flex flex-1 items-center",children:[p(qo,{className:"pointer-events-none absolute left-2.5 size-4 text-muted-foreground","aria-hidden":"true"}),p("input",{type:"text",value:e,onInput:i,onKeyDown:l,placeholder:n,autoFocus:o,autoComplete:"off",autoCorrect:"off",spellcheck:!1,className:"h-9 w-full rounded-md border border-[color:var(--auxx-chat-hairline)] bg-[color:var(--auxx-chat-surface-loud)] pl-8 pr-8 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-primary/30"}),e?p("button",{type:"button",onClick:s,"aria-label":"Clear search",className:"absolute right-2 flex size-5 items-center justify-center rounded text-muted-foreground transition-colors hover:bg-[color:var(--auxx-chat-surface-loud)] hover:text-foreground",children:p(St,{className:"size-3.5","aria-hidden":"true"})}):null]})})}const Wr=new Map;function jv(e){const t=Wr.get(e);if(t)return t;const n=qr(e).getTree().catch(o=>{throw Wr.delete(e),o});return Wr.set(e,n),n}const Sv=150,Oc=2;function Lc({channelId:e,sectionId:t}){const n=cn(),[o,r]=z(null),[i,l]=z(null),[s,u]=z(""),[h,f]=z("");H(()=>{let x=!1;return l(null),jv(e).then(b=>{x||r(b)}).catch(b=>{x||l(b instanceof Error?b.message:"Failed to load articles")}),()=>{x=!0}},[e]),H(()=>{const x=s.trim();if(x.length<Oc){f("");return}const b=window.setTimeout(()=>f(x),Sv);return()=>window.clearTimeout(b)},[s]);const m=ve(()=>Tv((o==null?void 0:o.nodes)??[]),[o]),g=ve(()=>Mv(t,m),[t,m]),_=t===null,k=_&&h.length>=Oc;return i?p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-sm text-muted-foreground",children:i}):o?p("div",{className:"flex min-h-0 flex-1 flex-col",children:[_?p(kv,{value:s,onChange:u,placeholder:"Search articles…"}):null,k?p(Nv,{channelId:e,query:h}):p(Cv,{rows:g,onPush:n.push})]}):p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-xs text-muted-foreground",children:"Loading…"})}function Cv({rows:e,onPush:t}){return e.length===0?p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-sm text-muted-foreground",children:"Nothing here yet"}):p("div",{className:"flex min-h-0 flex-1 flex-col gap-1 overflow-y-auto p-3",children:e.map(n=>{var r,i;if(n.kind==="header"){const l=n.node.emoji?((r=wn(n.node.emoji))==null?void 0:r.icon)??null:null;return p("div",{className:"flex items-center gap-1.5 px-3 pb-1 pt-3 text-[11px] font-semibold uppercase tracking-wide text-muted-foreground",children:[l?p(l,{className:"size-3.5","aria-hidden":"true"}):null,p("span",{children:n.node.title})]},n.node.id)}const o=n.node.emoji?((i=wn(n.node.emoji))==null?void 0:i.icon)??(n.hasChildren?Uo:jt):n.hasChildren?Uo:jt;return p("button",{type:"button",onClick:()=>{n.hasChildren?t({id:n.node.id,label:n.node.title,view:"kb-section",params:{sectionId:n.node.id}}):t({id:n.node.id,label:n.node.title,view:"kb-article",params:{articleId:n.node.id}})},className:he("group flex w-full items-center gap-3 rounded-lg border border-[color:var(--auxx-chat-hairline)] bg-card px-3 py-2.5 text-left transition-colors hover:bg-[color:var(--auxx-chat-surface-loud)]"),children:[p("span",{className:"flex size-5 shrink-0 items-center justify-center",children:p(o,{className:"size-4 text-muted-foreground","aria-hidden":"true"})}),p("span",{className:"min-w-0 flex-1 truncate text-sm text-foreground",children:n.node.title}),p(En,{className:"size-4 shrink-0 text-muted-foreground transition-transform group-hover:translate-x-0.5","aria-hidden":"true"})]},n.node.id)})})}function Nv({channelId:e,query:t}){const n=cn(),[o,r]=z(null),[i,l]=z(!1),[s,u]=z(null);return H(()=>{const h=new AbortController;return l(!0),u(null),qr(e).search(t,h.signal).then(f=>{h.signal.aborted||(r(f.results),l(!1))}).catch(f=>{h.signal.aborted||f instanceof DOMException&&f.name==="AbortError"||(u(f instanceof Error?f.message:"Search failed"),l(!1))}),()=>h.abort()},[e,t]),i&&!o?p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-sm text-muted-foreground",children:p($h,{className:"size-4 animate-spin","aria-hidden":"true"})}):s?p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-sm text-muted-foreground",children:s}):!o||o.length===0?p("div",{className:"flex flex-1 items-center justify-center p-6 text-center text-sm text-muted-foreground",children:["No results for “",t,"”"]}):p("div",{className:"flex min-h-0 flex-1 flex-col gap-1 overflow-y-auto p-3",children:o.map(h=>{var m;const f=h.emoji?((m=wn(h.emoji))==null?void 0:m.icon)??jt:jt;return p("button",{type:"button",onClick:()=>n.push({id:h.id,label:h.title,view:"kb-article",params:{articleId:h.id}}),className:he("group flex w-full items-center gap-3 rounded-lg border border-[color:var(--auxx-chat-hairline)] bg-card px-3 py-2.5 text-left transition-colors hover:bg-[color:var(--auxx-chat-surface-loud)]"),children:[p("span",{className:"flex size-5 shrink-0 items-center justify-center",children:p(f,{className:"size-4 text-muted-foreground","aria-hidden":"true"})}),p("span",{className:"min-w-0 flex-1 truncate text-sm text-foreground",children:h.title}),p(En,{className:"size-4 shrink-0 text-muted-foreground transition-transform group-hover:translate-x-0.5","aria-hidden":"true"})]},h.id)})})}function Tv(e){const t=new Map;for(const n of e){const o=n.parentId??null,r=t.get(o);r?r.push(n):t.set(o,[n])}return t}function Mv(e,t){const n=t.get(e)??[],o=[];for(const r of n){if(r.articleKind==="tab"){const i=t.get(r.id)??[];for(const l of i)o.push(zc(l,t));continue}if(r.articleKind==="header"){o.push({kind:"header",node:r});continue}o.push(zc(r,t))}return o}function zc(e,t){return e.articleKind==="header"?{kind:"header",node:e}:{kind:"page",node:e,hasChildren:(t.get(e.id)??[]).length>0}}function Av({channelId:e,config:t,subscribe:n}){var C,P;const o=cn(),r=Mt(e),[i,l]=z([]),[s,u]=z(null),[h,f]=z(!1),[m,g]=z(null),[_,k]=z(!1),x=D(null);H(()=>{let T=!1;return f(!0),r.listThreads(null).then(A=>{T||(l(A.items),u(A.nextCursor),g(null))}).catch(A=>{T||g(A instanceof Error?A.message:"Failed to load conversations")}).finally(()=>{T||f(!1)}),()=>{T=!0}},[e]),H(()=>{if(!s)return;const T=x.current;if(!T)return;const A=new IntersectionObserver(M=>{M.some(E=>E.isIntersecting)&&!h&&(f(!0),r.listThreads(s).then(E=>{l(R=>[...R,...E.items]),u(E.nextCursor)}).catch(()=>{}).finally(()=>f(!1)))},{rootMargin:"120px"});return A.observe(T),()=>A.disconnect()},[s,h,e]),H(()=>{if(!n)return;const T=n.onThreadUpdated(M=>{l(E=>{const R=E.find(I=>I.id===M.threadId);return R?[{...R,lastMessage:{snippet:M.lastMessage.snippet,sentAt:M.lastMessage.sentAt,isInbound:M.lastMessage.sender==="USER"},updatedAt:M.lastMessage.sentAt},...E.filter(I=>I.id!==M.threadId)]:(r.listThreads(null).then(I=>{l(I.items),u(I.nextCursor)}).catch(()=>{}),E)})}),A=n.onThreadCreated(M=>{l(E=>E.some(G=>G.id===M.threadId)?E:[{id:M.threadId,agent:null,lastMessage:{snippet:"",sentAt:M.createdAt,isInbound:!1},updatedAt:M.createdAt},...E])});return()=>{T(),A()}},[n,e]);const b=B((T,A)=>{o.push({id:T,label:A,view:"thread",params:{threadId:T}})},[o]),y=((C=t.agent)==null?void 0:C.name)??"Support",S=((P=t.agent)==null?void 0:P.avatarUrl)??null,N=B(async()=>{var T;if(!_){k(!0);try{const A=((T=await r.getRecentThread().catch(()=>null))==null?void 0:T.thread)??null;if(A&&!A.lastMessage){b(A.id,A.subject||y);return}const{threadId:M}=await r.createThread({url:typeof window<"u"?window.location.href:void 0,referrer:typeof document<"u"&&document.referrer||void 0,userAgent:typeof navigator<"u"?navigator.userAgent:void 0});b(M,y)}finally{k(!1)}}},[r,_,b,y]);return h&&i.length===0?p(po,{children:p("div",{className:"flex flex-1 items-center justify-center text-xs text-muted-foreground",children:"Loading…"})}):m&&i.length===0?p(po,{children:p("div",{className:"flex flex-1 items-center justify-center px-6 text-center text-sm text-muted-foreground",children:m})}):i.length===0?p(po,{children:[p("div",{className:"flex flex-1 flex-col items-center justify-center gap-3 px-6 text-center",children:[p("div",{className:"flex size-12 items-center justify-center rounded-full bg-muted",children:p(Ra,{className:"size-6 text-muted-foreground","aria-hidden":"true"})}),p("div",{className:"flex flex-col gap-1",children:[p("p",{className:"text-sm font-medium text-foreground",children:"No conversations yet"}),p("p",{className:"text-xs text-muted-foreground",children:"Start one and we'll get back to you soon."})]})]}),p(Ic,{onClick:N,disabled:_})]}):p(po,{children:[p("div",{className:"flex min-h-0 flex-1 flex-col gap-1 overflow-y-auto p-2",children:[i.map(T=>{const A=hl(e,T.id),M=!T.lastMessage.isInbound&&(!A||new Date(T.lastMessage.sentAt)>new Date(A));return p(Pv,{thread:T,isUnread:M,fallbackName:y,fallbackAvatarUrl:S,onOpen:()=>{var E;return b(T.id,((E=T.agent)==null?void 0:E.name)??y)}},T.id)}),s?p("div",{ref:x,className:"h-6"}):null]}),p(Ic,{onClick:N,disabled:_})]})}function po({children:e}){return p("div",{className:"auxx-chat-frame relative flex min-h-0 flex-1 flex-col",children:e})}function Pv({thread:e,isUnread:t,fallbackName:n,fallbackAvatarUrl:o,onOpen:r}){var u,h;const i=$v(e.lastMessage.sentAt),l=((u=e.agent)==null?void 0:u.name)??n,s=((h=e.agent)==null?void 0:h.avatarUrl)??o;return p("button",{type:"button",onClick:r,className:he("flex w-full items-start gap-3 rounded-lg border border-border px-3 py-2.5 text-left transition-colors hover:bg-[color:var(--auxx-chat-surface-dark-faint)]"),children:[p(Ev,{avatarUrl:s}),p("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[p("div",{className:"flex items-center justify-between gap-2",children:[p("span",{className:"truncate text-sm font-medium text-foreground",children:l}),p("span",{className:"shrink-0 text-[11px] text-muted-foreground",children:i})]}),p("div",{className:"flex items-center gap-2",children:[p("span",{className:he("min-w-0 flex-1 truncate text-xs",t?"font-medium text-foreground":"text-muted-foreground"),children:[e.lastMessage.isInbound?"You: ":"",e.lastMessage.snippet||"No messages yet"]}),t?p("span",{className:"size-2 shrink-0 rounded-full bg-primary","aria-label":"Unread"}):null]})]})]})}function Ev({avatarUrl:e}){return e?p("img",{src:e,alt:"",className:"size-9 shrink-0 rounded-full object-cover"}):p("div",{className:"flex size-9 shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground",children:p(Wo,{className:"size-4","aria-hidden":"true"})})}function Ic({onClick:e,disabled:t}){return p("div",{className:"pointer-events-none absolute inset-x-0 bottom-3 flex justify-center",children:p("button",{type:"button",onClick:e,disabled:t,className:"pointer-events-auto inline-flex items-center gap-2 rounded-full bg-primary px-4 py-2 text-sm font-medium text-primary-foreground shadow-md transition-opacity hover:brightness-110 disabled:opacity-50",children:[p(Ia,{className:"size-4","aria-hidden":"true"}),"Send us a message"]})})}function $v(e){const t=Date.parse(e);if(Number.isNaN(t))return"";const n=Date.now()-t,o=6e4,r=60*o,i=24*r;return n<o?"now":n<r?`${Math.floor(n/o)}m`:n<i?`${Math.floor(n/r)}h`:n<7*i?`${Math.floor(n/i)}d`:new Date(t).toLocaleDateString()}const en=8;function Vr(e,t,n){const o=Math.max(en,window.innerWidth-t-en),r=Math.max(en,window.innerHeight-n-en);return{x:Math.min(Math.max(en,e.x),o),y:Math.min(Math.max(en,e.y),r)}}function Rv(e,t){let n=e instanceof Node?e:null;for(;n&&n!==t;){if(n instanceof HTMLElement){if(n.dataset.noDrag!==void 0)return!0;const o=n.tagName;if(o==="BUTTON"||o==="A"||o==="INPUT"||o==="TEXTAREA"||o==="SELECT"||o==="LABEL"||n.getAttribute("role")==="button")return!0}n=n.parentNode}return!1}function Ov({enabled:e,shellEl:t,headerEl:n,position:o,onPositionChange:r}){const i=D(o),l=D(r);H(()=>{i.current=o},[o]),H(()=>{l.current=r},[r]),H(()=>{if(!e||!n||!t)return;let s=!1,u=-1,h=0,f=0,m=0,g=0,_=0,k=0;const x=N=>{if(N.pointerType==="mouse"&&N.button!==0||Rv(N.target,n))return;const C=i.current;if(!C)return;const P=t.getBoundingClientRect();_=P.width,k=P.height,h=N.clientX,f=N.clientY,m=C.x,g=C.y,u=N.pointerId,s=!0,n.classList.add("is-dragging");try{n.setPointerCapture(u)}catch{}N.preventDefault()},b=N=>{if(!s||N.pointerId!==u)return;const C=Vr({x:m+(N.clientX-h),y:g+(N.clientY-f)},_,k);l.current(C)},y=N=>{if(!(!s||N.pointerId!==u)){s=!1,n.classList.remove("is-dragging");try{n.releasePointerCapture(u)}catch{}}},S=()=>{const N=i.current;if(!N)return;const C=t.getBoundingClientRect();l.current(Vr(N,C.width,C.height))};return n.classList.add("auxx-chat-drag-handle"),n.addEventListener("pointerdown",x),n.addEventListener("pointermove",b),n.addEventListener("pointerup",y),n.addEventListener("pointercancel",y),window.addEventListener("resize",S),()=>{n.removeEventListener("pointerdown",x),n.removeEventListener("pointermove",b),n.removeEventListener("pointerup",y),n.removeEventListener("pointercancel",y),window.removeEventListener("resize",S),n.classList.remove("is-dragging"),n.classList.remove("auxx-chat-drag-handle")}},[e,t,n])}const Dc="auxx-chat-expanded:",Fc=["home","messages","help"];function Lv(e){const t=D(e);let n="from-right";const o=t.current;if(o.activeTab!==e.activeTab){const r=Fc.indexOf(o.activeTab);n=Fc.indexOf(e.activeTab)>r?"from-right":"from-left"}else e.stackLength<o.stackLength&&(n="from-left");return $e(()=>{t.current=e}),n}function zv(e){try{return window.localStorage.getItem(`${Dc}${e}`)==="1"}catch{return!1}}function Iv(e,t){try{window.localStorage.setItem(`${Dc}${e}`,t?"1":"0")}catch{}}function Dv({channelId:e,cacheBust:t=null,scriptTheme:n}){var Te,Ee,He,Rt;const[o,r]=z(null),[i,l]=z(!1),[s,u]=z(null),[h,f]=z(0),[m,g]=z(!1),[_,k]=z(null),[x,b]=z(null),[y,S]=z(null),N=B(J=>{b(J)},[]),C=B(J=>{S(J||(me=>me&&me.isConnected?me:null))},[]),P=Td(),T=_f({scriptTheme:n,adminTheme:(o==null?void 0:o.appearance.theme)??"light"}),A=o?bf(o.appearance.primaryColorDark??o.appearance.primaryColor):null,M=(o==null?void 0:o.appearance.primaryColor)??null,E=(o==null?void 0:o.appearance.primaryColorDark)??null,R=(o==null?void 0:o.appearance.headerColor)??null,G=(o==null?void 0:o.appearance.headerColorDark)??null;H(()=>{const J=P==null?void 0:P.querySelector(".auxx-root");J&&(J.setAttribute("data-theme",T),mf()&&J.setAttribute("data-preview-rounded","true"),M&&J.style.setProperty("--auxx-chat-primary",M),A!==null&&J.style.setProperty("--auxx-chat-tint-h",String(A)),E?J.style.setProperty("--auxx-chat-primary-dark",E):J.style.removeProperty("--auxx-chat-primary-dark"),R?J.style.setProperty("--auxx-chat-header",R):J.style.removeProperty("--auxx-chat-header"),G?J.style.setProperty("--auxx-chat-header-dark",G):J.style.removeProperty("--auxx-chat-header-dark"))},[P,T,M,A,E,R,G]);const I=sf(e),ie=D(null);H(()=>{Nf(e,t).then(J=>{r(J),(J.appearance.autoOpen||pf())&&l(!0)}).catch(J=>u(J instanceof Error?J.message:"Failed to load chat"))},[e,t]),H(()=>{o&&o.home.knowledgeBase===null&&I.activeTab==="help"&&I.setActiveTab("home")},[o,I.activeTab,I.setActiveTab]),H(()=>{if(!o)return;let J=!1,me=null,dt=null;const Be=async()=>{try{const Ue=await Mt(e).listThreads(null);if(J)return;dt=Ue,f(Hc(e,Ue.items))}catch{}};return(async()=>{try{if(me=await Ef(e,o),J){me==null||me.disconnect();return}ie.current={onThreadUpdated:me.onThreadUpdated,onThreadCreated:me.onThreadCreated},me.onThreadUpdated(()=>Be()),me.onThreadCreated(()=>Be()),Be()}catch(Ue){J||console.warn("[auxx-chat-widget] visitor channel failed",Ue)}})(),()=>{J=!0,me==null||me.disconnect(),ie.current=null}},[e,o]),H(()=>{if(!i)return;Mt(e).listThreads(null).then(me=>f(Hc(e,me.items))).catch(()=>{})},[e,i,I.activeTab,(Te=I.currentStack.current)==null?void 0:Te.id]);const le=B(()=>{g(J=>{const me=!J;return Iv(e,me),me})},[e]),de=((Ee=I.currentStack.current)==null?void 0:Ee.view)??I.activeTab;H(()=>{_||g(de==="thread"?zv(e):!1)},[de,e,_]);const[X,ae]=z(!1),[K,F]=z(!1),O=D(null),ce=D(null);H(()=>()=>{O.current!==null&&window.clearTimeout(O.current),ce.current!==null&&window.clearTimeout(ce.current)},[]);const ge=B(()=>{if(K)return;if(_){if(!x){k(null);return}const dt=x.getBoundingClientRect(),Be=(o==null?void 0:o.appearance.position.toLowerCase().includes("left"))??!1,Ue=20,Gr={x:Be?Ue:Math.max(Ue,window.innerWidth-dt.width-Ue),y:Math.max(Ue,window.innerHeight-dt.height-Ue)};F(!0),k(Gr),O.current!==null&&window.clearTimeout(O.current),O.current=window.setTimeout(()=>{k(null),F(!1),O.current=null},340);return}const J=x==null?void 0:x.getBoundingClientRect(),me=J?Vr({x:J.left,y:J.top},J.width,J.height):{x:20,y:20};g(!1),k(me),ae(!0),ce.current!==null&&window.clearTimeout(ce.current),ce.current=window.setTimeout(()=>{ae(!1),ce.current=null},1600*2)},[K,_,x,o==null?void 0:o.appearance.position]),Fe=B(()=>{l(!1),k(null),ae(!1),F(!1),O.current!==null&&(window.clearTimeout(O.current),O.current=null),ce.current!==null&&(window.clearTimeout(ce.current),ce.current=null)},[]),ke=i&&_!==null;Ov({enabled:ke&&!K,shellEl:x,headerEl:y,position:_,onPositionChange:k});const re=Lv({activeTab:I.activeTab,stackLength:I.currentStack.stack.length,currentId:((He=I.currentStack.current)==null?void 0:He.id)??null});if(!o||o.chatAudience==="users"&&!pl()&&!ff())return null;const te=ke?"auxx-chat-shell--floating":o.appearance.position.toLowerCase().includes("left")?"auxx-chat-shell--bottom-left":"auxx-chat-shell--bottom-right",je=i?"auxx-chat-shell--open":"auxx-chat-shell--closed",ze=i&&m&&!ke?"auxx-chat-shell--expanded":"",Y=X&&ke?"auxx-chat-shell--bobbing":"",Ie=K?"auxx-chat-shell--docking":"",Pe={};return ke&&_&&(Pe.left=`${_.x}px`,Pe.top=`${_.y}px`,Pe.right="auto",Pe.bottom="auto"),p("div",{className:"auxx-chat-root","data-theme":T,children:p("div",{ref:N,className:`auxx-chat-shell ${je} ${te} ${ze} ${Y} ${Ie}`,style:Pe,children:[p("button",{type:"button",className:"auxx-chat-shell__trigger",onClick:()=>l(J=>!J),"aria-label":i?"Close chat":"Open chat","aria-expanded":i,tabIndex:i?-1:0}),p("span",{className:"auxx-chat-shell__icon","aria-hidden":"true",children:p("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:p("path",{d:"M20 2H4a2 2 0 0 0-2 2v18l4-4h14a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2z"})})}),!i&&h>0?p("span",{className:"auxx-chat-shell__badge","aria-label":`${h} unread`,children:h>9?"9+":h}):null,p("div",{className:"auxx-chat-shell__panel",role:"dialog","aria-modal":"false","aria-label":o.appearance.title,"aria-hidden":!i,children:p(nf,{value:I.currentStack,children:[p(ef,{viewKey:`${I.activeTab}|${((Rt=I.currentStack.current)==null?void 0:Rt.id)??"root"}`,direction:re,children:p(Fv,{channelId:e,config:o,resolvedTheme:T,activeTab:I.activeTab,currentFrame:I.currentStack.current,isAtRoot:I.currentStack.isAtRoot,onBack:I.currentStack.pop,onClose:Fe,error:s,subscribe:ie.current??void 0,expanded:m,onToggleExpanded:le,floating:ke,onToggleFloating:ge,headerRef:C})}),I.currentStack.isAtRoot?p(tf,{activeTab:I.activeTab,onChange:I.setActiveTab,showHelp:o.home.knowledgeBase!==null}):null]})})]})})}function Fv({channelId:e,config:t,resolvedTheme:n,activeTab:o,currentFrame:r,isAtRoot:i,onBack:l,onClose:s,error:u,subscribe:h,expanded:f,onToggleExpanded:m,floating:g,onToggleFloating:_,headerRef:k}){var N;const x=(r==null?void 0:r.view)??o,b=Hv(x,i),y=x==="thread"&&typeof((N=r==null?void 0:r.params)==null?void 0:N.threadId)=="string"?r.params.threadId:null;return p("div",{className:"auxx-chat-frame flex h-full flex-col",children:[x==="home"&&i?null:p(Qm,{variant:b,title:Bv(x,r,t),subtitle:x==="thread"?t.appearance.subtitle??void 0:void 0,logoLight:t.appearance.logoLight,logoDark:t.appearance.logoDark,resolvedTheme:n,onBack:i?void 0:l,onClose:s,floating:g,onToggleFloating:_,headerRef:k,actions:y?p(cv,{channelId:e,threadId:y,expanded:f,onToggleExpanded:m,allowDownloadTranscript:t.allowDownloadTranscript,floating:g}):void 0}),u?p("div",{className:"px-2.5 py-1.5 text-center text-xs text-destructive",role:"alert",children:u}):null,p("div",{className:"auxx-chat-frame flex min-h-0 flex-1 flex-col",children:Uv(x,r,e,t,n,h,s,g,_,k)})]})}function Hv(e,t){return t?e==="home"?"dark-hero":"plain":"contextual"}function Bv(e,t,n){var o;return t?t.label:e==="home"?n.appearance.title:e==="messages"?"Messages":e==="help"?((o=n.home.knowledgeBase)==null?void 0:o.siteName)??"Help":""}function Uv(e,t,n,o,r,i,l,s,u,h){var f,m,g;switch(e){case"home":return p(_v,{channelId:n,config:o,resolvedTheme:r,onClose:l,floating:s,onToggleFloating:u,headerRef:h});case"messages":return p(Av,{channelId:n,subscribe:i,config:o});case"help":return p(Lc,{channelId:n,sectionId:null});case"thread":{const _=(f=t==null?void 0:t.params)==null?void 0:f.threadId;return typeof _!="string"?null:p(tv,{channelId:n,threadId:_,config:o})}case"kb-section":{const _=(m=t==null?void 0:t.params)==null?void 0:m.sectionId;return p(Lc,{channelId:n,sectionId:typeof _=="string"?_:null})}case"kb-article":{const _=(g=t==null?void 0:t.params)==null?void 0:g.articleId;return typeof _!="string"?null:p(vv,{channelId:n,articleId:_})}}}function Hc(e,t){let n=0;for(const o of t){if(o.lastMessage.isInbound)continue;const r=hl(e,o.id);(!r||new Date(o.lastMessage.sentAt)>new Date(r))&&(n+=1)}return n}function qv(){const e=document.currentScript;if(e&&e.dataset.channelId)return e;const t=document.querySelectorAll("script[data-channel-id]");return t[t.length-1]??null}const Wv=["light","dark","system"];function Vv(e){if(e&&Wv.includes(e))return e}function Bc(e,t,n){_d(e),Ad(p(Dv,{channelId:e,cacheBust:t,scriptTheme:n}))}function Gv(){const e=qv(),t=e==null?void 0:e.dataset.channelId;if(!t){console.error("[auxx-chat-widget] missing data-channel-id on script tag");return}const n=(e==null?void 0:e.dataset.v)??null,o=Vv(e==null?void 0:e.dataset.theme);document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>Bc(t,n,o),{once:!0}):Bc(t,n,o)}Gv()})();
|