@qratilabs/qrati-connect 2.6.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/element/B8jogRzT.js +4 -0
  3. package/element/{wHbQZdly.js → BiQECCnr.js} +1 -1
  4. package/element/{B4-Qw59P.js → BjbDXTeP.js} +3 -3
  5. package/element/{DPOkh0eJ.js → COUnPxHl.js} +1 -1
  6. package/element/{DODG2TX4.js → CkfXzc1_.js} +1 -1
  7. package/element/{B28y50Bi.js → DGeYAYfl.js} +1 -1
  8. package/element/{CUOOhGTj.js → DXPR6JWg.js} +1 -1
  9. package/element/{D4xTzxjA.js → DqOnDVHH.js} +1 -1
  10. package/element/ThtSVXLE.js +32 -0
  11. package/element/{CH2f_afH.js → gajcOMzQ.js} +1 -1
  12. package/element/{Cf1QDu0i.js → ojjN3KY4.js} +1 -1
  13. package/element/web.es.js +192 -183
  14. package/element/xqhGemdL.js +16 -0
  15. package/package.json +1 -1
  16. package/react/{C4TTO8j2.js → B0pbGxj0.js} +1 -1
  17. package/react/B57jvRJw.js +1 -0
  18. package/react/{B8FlrdhF.js → B74JcfT2.js} +1 -1
  19. package/react/{Cs3wia2w.js → BBaYBpSS.js} +1 -1
  20. package/react/{pIx9IeV5.js → BUm8-ZtV.js} +1 -1
  21. package/react/Bran9aUe.js +32 -0
  22. package/react/{BaT1o9UO.js → CDAGXOJa.js} +1 -1
  23. package/react/{aragUG-J.js → CMUYyO6F.js} +1 -1
  24. package/react/CPs8NoX7.js +1 -0
  25. package/react/{DOw70z3P.js → CdZcv5CJ.js} +1 -1
  26. package/react/Ce4GGag_.js +1 -0
  27. package/react/CnRdB6_J.js +16 -0
  28. package/react/{e8YBtYhk.js → CzNVO0Zz.js} +1 -1
  29. package/react/{D7c4q3kj.js → D6h9tRAZ.js} +1 -1
  30. package/react/{DLf4fPpy.js → DCjmEjZr.js} +1 -1
  31. package/react/{BXiO9Rt2.js → DJ-3Sziz.js} +1 -1
  32. package/react/{DB3DJWUI.js → DKvJBrWM.js} +3 -3
  33. package/react/DSAOtDOg.js +4 -0
  34. package/react/{DEIcfk-y.js → DaQR1Bft.js} +1 -1
  35. package/react/{CT_Cvh8-.js → Dbq_PyC6.js} +1 -1
  36. package/react/{sxfIEK17.js → DdmNkEML.js} +1 -1
  37. package/react/{CNAEfadS.js → buiUjKpV.js} +1 -1
  38. package/react/{Czrz88CD.js → dLaHt9rf.js} +1 -1
  39. package/react/index.cjs +1 -1
  40. package/react/index.mjs +419 -410
  41. package/react/{Dljj3ToS.js → zrUJi_8F.js} +1 -1
  42. package/umd/web.umd.js +1 -1
  43. package/element/BKzoEuEi.js +0 -4
  44. package/element/B_TauT26.js +0 -1
  45. package/element/CudAoK3L.js +0 -32
  46. package/element/DHTkVJH6.js +0 -1
  47. package/element/Dc7DVn3n.js +0 -16
  48. package/react/BD2gDjZu.js +0 -1
  49. package/react/BUcttdEL.js +0 -1
  50. package/react/BXe4I1MJ.js +0 -32
  51. package/react/B_TauT26.js +0 -1
  52. package/react/BhU5cdLs.js +0 -1
  53. package/react/C1A9nC-v.js +0 -16
  54. package/react/DDbNaN3e.js +0 -4
  55. package/react/DHTkVJH6.js +0 -1
  56. package/react/DV6DJ1Br.js +0 -1
  57. package/react/QPXxc9eb.js +0 -1
  58. /package/element/{DMDEuqn7.js → BppxGns9.js} +0 -0
  59. /package/element/{Ccwm5LwS.js → C2ydm0ZD.js} +0 -0
  60. /package/element/{DSjmSa7l.js → CjmNvKgB.js} +0 -0
  61. /package/element/{ZShDCNL_.js → CziefUVo.js} +0 -0
  62. /package/element/{DD-DUfz5.js → DUlbZyIi.js} +0 -0
  63. /package/react/{CCCbXwws.js → BT55gXKs.js} +0 -0
  64. /package/react/{CEEUMvOM.js → Bxitmzur.js} +0 -0
  65. /package/react/{Bqe_56Ho.js → CO70kETi.js} +0 -0
  66. /package/react/{CssqM9iA.js → CR2MwRBM.js} +0 -0
  67. /package/react/{DV8H8PH6.js → CtCRzhKd.js} +0 -0
  68. /package/react/{BxS4S1Bm.js → CvLw8owR.js} +0 -0
  69. /package/react/{bYucjLbl.js → D5puLxf7.js} +0 -0
  70. /package/react/{BqRDSbh4.js → DtvJNH06.js} +0 -0
  71. /package/react/{DvZVbBR7.js → LDusNFdQ.js} +0 -0
  72. /package/react/{DYyT8DeU.js → zyOknCLQ.js} +0 -0
@@ -1 +1 @@
1
- import{n as e}from"./2R3GoXB1.js";var t,n,r,o,s,i,a,l,c,u,d,f,_={},p=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,m=Array.isArray;function b(e,t){for(var n in t)e[n]=t[n];return e}function v(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function g(e,n,r){var o,s,i,a={};for(i in n)"key"==i?o=n[i]:"ref"==i?s=n[i]:a[i]=n[i];if(arguments.length>2&&(a.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return y(e,a,o,s,null)}function y(e,t,o,s,i){var a={type:e,props:t,key:o,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==i?++r:i,__i:-1,__u:0};return null==i&&null!=n.vnode&&n.vnode(a),a}function w(){return{current:null}}function k(e){return e.children}function E(e,t){this.props=e,this.context=t}function x(e,t){if(null==t)return e.__?x(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?x(e):null}function S(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,o=[],s=[],i=b({},t);i.__v=t.__v+1,n.vnode&&n.vnode(i),U(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,o,null==r?x(t):r,!!(32&t.__u),s),i.__v=t.__v,i.__.__k[i.__i]=i,$(o,i,s),t.__e=t.__=null,i.__e!=r&&T(i)}}function T(e){if(null!=(e=e.__)&&null!=e.__c)return e.__e=e.__c.base=null,e.__k.some(function(t){if(null!=t&&null!=t.__e)return e.__e=e.__c.base=t.__e}),T(e)}function C(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!O.__r++||s!=n.debounceRendering)&&((s=n.debounceRendering)||i)(O)}function O(){try{for(var e,t=1;o.length;)o.length>t&&o.sort(a),e=o.shift(),t=o.length,S(e)}finally{o.length=O.__r=0}}function N(e,t,n,r,o,s,i,a,l,c,u){var d,f,h,b,v,g,w,E=r&&r.__k||p,S=t.length;for(l=function(e,t,n,r,o){var s,i,a,l,c,u=n.length,d=u,f=0;for(e.__k=new Array(o),s=0;s<o;s++)null!=(i=t[s])&&"boolean"!=typeof i&&"function"!=typeof i?("string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?i=e.__k[s]=y(null,i,null,null,null):m(i)?i=e.__k[s]=y(k,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?i=e.__k[s]=y(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):e.__k[s]=i,l=s+f,i.__=e,i.__b=e.__b+1,a=null,-1!=(c=i.__i=A(i,n,l,d))&&(d--,(a=n[c])&&(a.__u|=2)),null==a||null==a.__v?(-1==c&&(o>u?f--:o<u&&f++),"function"!=typeof i.type&&(i.__u|=4)):c!=l&&(c==l-1?f--:c==l+1?f++:(c>l?f--:f++,i.__u|=4))):e.__k[s]=null;if(d)for(s=0;s<u;s++)null!=(a=n[s])&&!(2&a.__u)&&(a.__e==r&&(r=x(a)),j(a,a));return r}(n,t,E,l,S),d=0;d<S;d++)null!=(h=n.__k[d])&&(f=-1!=h.__i&&E[h.__i]||_,h.__i=d,g=U(e,h,f,o,s,i,a,l,c,u),b=h.__e,h.ref&&f.ref!=h.ref&&(f.ref&&G(f.ref,null,h),u.push(h.ref,h.__c||b,h)),null==v&&null!=b&&(v=b),(w=!!(4&h.__u))||f.__k===h.__k?l=I(h,l,e,w):"function"==typeof h.type&&void 0!==g?l=g:b&&(l=b.nextSibling),h.__u&=-7);return n.__e=v,l}function I(e,t,n,r){var o,s;if("function"==typeof e.type){for(o=e.__k,s=0;o&&s<o.length;s++)o[s]&&(o[s].__=e,t=I(o[s],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=x(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function R(e,t){return t=t||[],null==e||"boolean"==typeof e||(m(e)?e.some(function(e){R(e,t)}):t.push(e)),t}function A(e,t,n,r){var o,s,i,a=e.key,l=e.type,c=t[n],u=null!=c&&!(2&c.__u);if(null===c&&null==a||u&&a==c.key&&l==c.type)return n;if(r>(u?1:0))for(o=n-1,s=n+1;o>=0||s<t.length;)if(null!=(c=t[i=o>=0?o--:s++])&&!(2&c.__u)&&a==c.key&&l==c.type)return i;return-1}function P(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||h.test(t)?n:n+"px"}function D(e,t,n,r,o){var s,i;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||P(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||P(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])s=t!=(t=t.replace(l,"$1")),i=t.toLowerCase(),t=i in e||"onFocusOut"==t||"onFocusIn"==t?i.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=n,n?r?n.u=r.u:(n.u=c,e.addEventListener(t,s?d:u,s)):e.removeEventListener(t,s?d:u,s);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function L(e){return function(t){if(this.l){var r=this.l[t.type+e];if(null==t.t)t.t=c++;else if(t.t<r.u)return;return r(n.event?n.event(t):t)}}}function U(e,t,r,o,s,i,a,l,c,u){var d,f,_,h,g,y,w,x,S,T,C,O,I,R,A,P=t.type;if(void 0!==t.constructor)return null;128&r.__u&&(c=!!(32&r.__u),i=[l=t.__e=r.__e]),(d=n.__b)&&d(t);e:if("function"==typeof P)try{if(x=t.props,S=P.prototype&&P.prototype.render,T=(d=P.contextType)&&o[d.__c],C=d?T?T.props.value:d.__:o,r.__c?w=(f=t.__c=r.__c).__=f.__E:(S?t.__c=f=new P(x,C):(t.__c=f=new E(x,C),f.constructor=P,f.render=H),T&&T.sub(f),f.state||(f.state={}),f.__n=o,_=f.__d=!0,f.__h=[],f._sb=[]),S&&null==f.__s&&(f.__s=f.state),S&&null!=P.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=b({},f.__s)),b(f.__s,P.getDerivedStateFromProps(x,f.__s))),h=f.props,g=f.state,f.__v=t,_)S&&null==P.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),S&&null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(S&&null==P.getDerivedStateFromProps&&x!==h&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(x,C),t.__v==r.__v||!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(x,f.__s,C)){t.__v!=r.__v&&(f.props=x,f.state=f.__s,f.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(e){e&&(e.__=t)}),p.push.apply(f.__h,f._sb),f._sb=[],f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(x,f.__s,C),S&&null!=f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(h,g,y)})}if(f.context=C,f.props=x,f.__P=e,f.__e=!1,O=n.__r,I=0,S)f.state=f.__s,f.__d=!1,O&&O(t),d=f.render(f.props,f.state,f.context),p.push.apply(f.__h,f._sb),f._sb=[];else do{f.__d=!1,O&&O(t),d=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++I<25);f.state=f.__s,null!=f.getChildContext&&(o=b(b({},o),f.getChildContext())),S&&!_&&null!=f.getSnapshotBeforeUpdate&&(y=f.getSnapshotBeforeUpdate(h,g)),R=null!=d&&d.type===k&&null==d.key?M(d.props.children):d,l=N(e,m(R)?R:[R],t,r,o,s,i,a,l,c,u),f.base=t.__e,t.__u&=-161,f.__h.length&&a.push(f),w&&(f.__E=f.__=null)}catch(e){if(t.__v=null,c||null!=i)if(e.then){for(t.__u|=c?160:128;l&&8==l.nodeType&&l.nextSibling;)l=l.nextSibling;i[i.indexOf(l)]=null,t.__e=l}else{for(A=i.length;A--;)v(i[A]);F(t)}else t.__e=r.__e,t.__k=r.__k,e.then||F(t);n.__e(e,t,r)}else null==i&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):l=t.__e=z(r.__e,t,r,o,s,i,a,c,u);return(d=n.diffed)&&d(t),128&t.__u?void 0:l}function F(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(F))}function $(e,t,r){for(var o=0;o<r.length;o++)G(r[o],r[++o],r[++o]);n.__c&&n.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){n.__e(e,t.__v)}})}function M(e){return"object"!=typeof e||null==e||e.__b>0?e:m(e)?e.map(M):b({},e)}function z(e,r,o,s,i,a,l,c,u){var d,f,p,h,b,g,y,w=o.props||_,k=r.props,E=r.type;if("svg"==E?i="http://www.w3.org/2000/svg":"math"==E?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=a)for(d=0;d<a.length;d++)if((b=a[d])&&"setAttribute"in b==!!E&&(E?b.localName==E:3==b.nodeType)){e=b,a[d]=null;break}if(null==e){if(null==E)return document.createTextNode(k);e=document.createElementNS(i,E,k.is&&k),c&&(n.__m&&n.__m(r,a),c=!1),a=null}if(null==E)w===k||c&&e.data==k||(e.data=k);else{if(a=a&&t.call(e.childNodes),!c&&null!=a)for(w={},d=0;d<e.attributes.length;d++)w[(b=e.attributes[d]).name]=b.value;for(d in w)b=w[d],"dangerouslySetInnerHTML"==d?p=b:"children"==d||d in k||"value"==d&&"defaultValue"in k||"checked"==d&&"defaultChecked"in k||D(e,d,null,b,i);for(d in k)b=k[d],"children"==d?h=b:"dangerouslySetInnerHTML"==d?f=b:"value"==d?g=b:"checked"==d?y=b:c&&"function"!=typeof b||w[d]===b||D(e,d,b,w[d],i);if(f)c||p&&(f.__html==p.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),r.__k=[];else if(p&&(e.innerHTML=""),N("template"==r.type?e.content:e,m(h)?h:[h],r,o,s,"foreignObject"==E?"http://www.w3.org/1999/xhtml":i,a,l,a?a[0]:o.__k&&x(o,0),c,u),null!=a)for(d=a.length;d--;)v(a[d]);c||(d="value","progress"==E&&null==g?e.removeAttribute("value"):null!=g&&(g!==e[d]||"progress"==E&&!g||"option"==E&&g!=w[d])&&D(e,d,g,w[d],i),d="checked",null!=y&&y!=e[d]&&D(e,d,y,w[d],i))}return e}function G(e,t,r){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==t||(e.__u=e(t))}else e.current=t}catch(e){n.__e(e,r)}}function j(e,t,r){var o,s;if(n.unmount&&n.unmount(e),(o=e.ref)&&(o.current&&o.current!=e.__e||G(o,null,t)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){n.__e(e,t)}o.base=o.__P=null}if(o=e.__k)for(s=0;s<o.length;s++)o[s]&&j(o[s],t,r||"function"!=typeof e.type);r||v(e.__e),e.__c=e.__=e.__e=void 0}function H(e,t,n){return this.constructor(e,n)}function W(e,r,o){var s,i,a,l;r==document&&(r=document.documentElement),n.__&&n.__(e,r),i=(s="function"==typeof o)?null:o&&o.__k||r.__k,a=[],l=[],U(r,e=(!s&&o||r).__k=g(k,null,[e]),i||_,_,r.namespaceURI,!s&&o?[o]:i?null:r.firstChild?t.call(r.childNodes):null,a,!s&&o?o:i?i.__e:r.firstChild,s,l),$(a,e,l)}function V(e,t){W(e,t,V)}function q(e,n,r){var o,s,i,a,l=b({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),n)"key"==i?o=n[i]:"ref"==i?s=n[i]:l[i]=void 0===n[i]&&null!=a?a[i]:n[i];return arguments.length>2&&(l.children=arguments.length>3?t.call(arguments,2):r),y(e.type,l,o||e.key,s||e.ref,null)}function B(e){function t(e){var n,r;return this.getChildContext||(n=/* @__PURE__ */new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,C(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+f++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}t=p.slice,n={__e:function(e,t,n,r){for(var o,s,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((s=o.constructor)&&null!=s.getDerivedStateFromError&&(o.setState(s.getDerivedStateFromError(e)),i=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),i=o.__d),i)return o.__E=o}catch(t){e=t}throw e}},r=0,E.prototype.setState=function(e,t){var n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=b({},this.state);"function"==typeof e&&(e=e(b({},n),this.props)),e&&b(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),C(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),C(this))},E.prototype.render=k,o=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,a=function(e,t){return e.__v.__b-t.__v.__b},O.__r=0,l=/(PointerCapture)$|Capture$/i,c=0,u=L(!1),d=L(!0),f=0;var K,Y,Q,Z,J=0,X=[],ee=n,te=ee.__b,ne=ee.__r,re=ee.diffed,oe=ee.__c,se=ee.unmount,ie=ee.__;function ae(e,t){ee.__h&&ee.__h(Y,e,J||t),J=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function le(e){return J=1,ce(Te,e)}function ce(e,t,n){var r=ae(K++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Te(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=Y,!Y.__f)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter(function(e){return e.__c});if(o.every(function(e){return!e.__N}))return!s||s.call(this,e,t,n);var i=r.__c.props!==e;return o.some(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),s&&s.call(this,e,t,n)||i};Y.__f=!0;var s=Y.shouldComponentUpdate,i=Y.componentWillUpdate;Y.componentWillUpdate=function(e,t,n){if(this.__e){var r=s;s=void 0,o(e,t,n),s=r}i&&i.call(this,e,t,n)},Y.shouldComponentUpdate=o}return r.__N||r.__}function ue(e,t){var n=ae(K++,3);!ee.__s&&Se(n.__H,t)&&(n.__=e,n.u=t,Y.__H.__h.push(n))}function de(e,t){var n=ae(K++,4);!ee.__s&&Se(n.__H,t)&&(n.__=e,n.u=t,Y.__h.push(n))}function fe(e){return J=5,pe(function(){return{current:e}},[])}function _e(e,t,n){J=6,de(function(){if("function"==typeof e){var n=e(t());return function(){e(null),n&&"function"==typeof n&&n()}}if(e)return e.current=t(),function(){return e.current=null}},null==n?n:n.concat(e))}function pe(e,t){var n=ae(K++,7);return Se(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function he(e,t){return J=8,pe(function(){return e},t)}function me(e){var t=Y.context[e.__c],n=ae(K++,9);return n.c=e,t?(n.__??(n.__=!0,t.sub(Y)),t.props.value):e.__}function be(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function ve(e){var t=ae(K++,10),n=le();return t.__=e,Y.componentDidCatch||(Y.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function ge(){var e=ae(K++,11);if(!e.__){for(var t=Y.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function ye(){for(var e;e=X.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(Ee),t.__h.some(xe),t.__h=[]}catch(er){t.__h=[],ee.__e(er,e.__v)}}}ee.__b=function(e){Y=null,te&&te(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ie&&ie(e,t)},ee.__r=function(e){ne&&ne(e),K=0;var t=(Y=e.__c).__H;t&&(Q===Y?(t.__h=[],Y.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(Ee),t.__h.some(xe),t.__h=[],K=0)),Q=Y},ee.diffed=function(e){re&&re(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==X.push(t)&&Z===ee.requestAnimationFrame||((Z=ee.requestAnimationFrame)||ke)(ye)),t.__H.__.some(function(e){e.u&&(e.__H=e.u),e.u=void 0})),Q=Y=null},ee.__c=function(e,t){t.some(function(e){try{e.__h.some(Ee),e.__h=e.__h.filter(function(e){return!e.__||xe(e)})}catch(er){t.some(function(e){e.__h&&(e.__h=[])}),t=[],ee.__e(er,e.__v)}}),oe&&oe(e,t)},ee.unmount=function(e){se&&se(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{Ee(e)}catch(e){t=e}}),n.__H=void 0,t&&ee.__e(t,n.__v))};var we="function"==typeof requestAnimationFrame;function ke(e){var t,n=function(){clearTimeout(r),we&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);we&&(t=requestAnimationFrame(n))}function Ee(e){var t=Y,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Y=t}function xe(e){var t=Y;e.__c=e.__(),Y=t}function Se(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function Te(e,t){return"function"==typeof t?t(e):t}var Ce=class{constructor(){this.listeners=/* @__PURE__ */new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Oe=new class extends Ce{#e;#t;#n;constructor(){super(),this.#n=e=>{if("undefined"!=typeof window&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}},Ne={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Ie=new class{#r=Ne;#o=!1;setTimeoutProvider(e){this.#r=e}setTimeout(e,t){return this.#r.setTimeout(e,t)}clearTimeout(e){this.#r.clearTimeout(e)}setInterval(e,t){return this.#r.setInterval(e,t)}clearInterval(e){this.#r.clearInterval(e)}},Re="undefined"==typeof window||"Deno"in globalThis;function Ae(){}function Pe(e,t){return"function"==typeof e?e(t):e}function De(e){return"number"==typeof e&&e>=0&&e!==1/0}function Le(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ue(e,t){return"function"==typeof e?e(t):e}function Fe(e,t){return"function"==typeof e?e(t):e}function $e(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:a}=e;if(i)if(r){if(t.queryHash!==ze(i,t.options))return!1}else if(!je(t.queryKey,i))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return!("boolean"==typeof a&&t.isStale()!==a||o&&o!==t.state.fetchStatus||s&&!s(t))}function Me(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Ge(t.options.mutationKey)!==Ge(s))return!1}else if(!je(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function ze(e,t){return(t?.queryKeyHashFn||Ge)(e)}function Ge(e){return JSON.stringify(e,(e,t)=>Be(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function je(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(n=>je(e[n],t[n]))}var He=Object.prototype.hasOwnProperty;function We(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=qe(e)&&qe(t);if(!(r||Be(e)&&Be(t)))return t;const o=(r?e:Object.keys(e)).length,s=r?t:Object.keys(t),i=s.length,a=r?new Array(i):{};let l=0;for(let c=0;c<i;c++){const i=r?c:s[c],u=e[i],d=t[i];if(u===d){a[i]=u,(r?c<o:He.call(e,i))&&l++;continue}if(null===u||null===d||"object"!=typeof u||"object"!=typeof d){a[i]=d;continue}const f=We(u,d,n+1);a[i]=f,f===u&&l++}return o===i&&l===o?e:a}function Ve(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function qe(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Be(e){if(!Ke(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Ke(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function Ke(e){return"[object Object]"===Object.prototype.toString.call(e)}function Ye(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?We(e,t):t}function Qe(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Ze(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Je=/* @__PURE__ */Symbol();function Xe(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==Je?e.queryFn:()=>Promise.reject(/* @__PURE__ */new Error(`Missing queryFn: '${e.queryHash}'`))}function et(e,t){return"function"==typeof e?e(...t):!!e}function tt(e,t,n){let r,o=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??=t(),o||(o=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),e}var nt=/* @__PURE__ */(()=>{let e=()=>Re;return{isServer:()=>e(),setIsServer(t){e=t}}})();function rt(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}var ot=function(e){setTimeout(e,0)},st=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},o=ot;const s=r=>{t?e.push(r):o(()=>{n(r)})};return{batch:s=>{let i;t++;try{i=s()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o(()=>{r(()=>{t.forEach(e=>{n(e)})})})})()}return i},batchCalls:e=>(...t)=>{s(()=>{e(...t)})},schedule:s,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{o=e}}}(),it=new class extends Ce{#s=!0;#t;#n;constructor(){super(),this.#n=e=>{if("undefined"!=typeof window&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#s!==e&&(this.#s=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#s}};function at(e){return Math.min(1e3*2**e,3e4)}function lt(e){return"online"!==(e??"online")||it.isOnline()}var ct=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function ut(e){let t,n=!1,r=0;const o=rt(),s=()=>"pending"!==o.status,i=()=>Oe.isFocused()&&("always"===e.networkMode||it.isOnline())&&e.canRun(),a=()=>lt(e.networkMode)&&e.canRun(),l=e=>{s()||(t?.(),o.resolve(e))},c=e=>{s()||(t?.(),o.reject(e))},u=()=>new Promise(n=>{t=e=>{(s()||i())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,s()||e.onContinue?.()}),d=()=>{if(s())return;let t;const o=0===r?e.initialPromise:void 0;try{t=o??e.fn()}catch(a){t=Promise.reject(a)}Promise.resolve(t).then(l).catch(t=>{if(s())return;const o=e.retry??(nt.isServer()?0:3),a=e.retryDelay??at,l="function"==typeof a?a(r,t):a,f=!0===o||"number"==typeof o&&r<o||"function"==typeof o&&o(r,t);var _;!n&&f?(r++,e.onFail?.(r,t),(_=l,new Promise(e=>{Ie.setTimeout(e,_)})).then(()=>i()?void 0:u()).then(()=>{n?c(t):d()})):c(t)})};return{promise:o,status:()=>o.status,cancel:t=>{if(!s()){const n=new ct(t);c(n),e.onCancel?.(n)}},continue:()=>(t?.(),o),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:a,start:()=>(a()?d():u().then(d),o)}}var dt=class{#i;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),De(this.gcTime)&&(this.#i=Ie.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(nt.isServer()?1/0:3e5))}clearGcTimeout(){this.#i&&(Ie.clearTimeout(this.#i),this.#i=void 0)}},ft=class extends dt{#a;#l;#c;#u;#d;#f;#_;constructor(e){super(),this.#_=!1,this.#f=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#u=e.client,this.#c=this.#u.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#a=ht(this.options),this.state=e.state??this.#a,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#d?.promise}setOptions(e){if(this.options={...this.#f,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const e=ht(this.options);void 0!==e.data&&(this.setState(pt(e.data,e.dataUpdatedAt)),this.#a=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#c.remove(this)}setData(e,t){const n=Ye(this.state.data,e,this.options);return this.#p({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#p({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#d?.promise;return this.#d?.cancel(e),t?t.then(Ae).catch(Ae):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#a}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==Fe(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Je||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===Ue(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!Le(this.state.dataUpdatedAt,e))}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#d?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#d?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#c.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#d&&(this.#_||this.#h()?this.#d.cancel({revert:!0}):this.#d.cancelRetry()),this.scheduleGc()),this.#c.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#h(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#p({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&"rejected"!==this.#d?.status())if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#d)return this.#d.continueRetry(),this.#d.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#_=!0,n.signal)})},o=()=>{const e=Xe(this.options,t),n=(()=>{const e={client:this.#u,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#_=!1,this.options.persister?this.options.persister(e,n,this):e(n)},s=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#u,state:this.state,fetchFn:o};return r(e),e})();this.options.behavior?.onFetch(s,this),this.#l=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===s.fetchOptions?.meta||this.#p({type:"fetch",meta:s.fetchOptions?.meta}),this.#d=ut({initialPromise:t?.initialPromise,fn:s.fetchFn,onCancel:e=>{e instanceof ct&&e.revert&&this.setState({...this.#l,fetchStatus:"idle"}),n.abort()},onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:()=>{this.#p({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0});try{const e=await this.#d.start();if(void 0===e)throw new Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#c.config.onSuccess?.(e,this),this.#c.config.onSettled?.(e,this.state.error,this),e}catch(i){if(i instanceof ct){if(i.silent)return this.#d.promise;if(i.revert){if(void 0===this.state.data)throw i;return this.state.data}}throw this.#p({type:"error",error:i}),this.#c.config.onError?.(i,this),this.#c.config.onSettled?.(this.state.data,i,this),i}finally{this.scheduleGc()}}#p(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,..._t(t.data,this.options),fetchMeta:e.meta??null};case"success":const n={...t,...pt(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=e.manual?n:void 0,n;case"error":const r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),st.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#c.notify({query:this,type:"updated",action:e})})}};function _t(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:lt(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function pt(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function ht(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var mt=/* @__PURE__ */e({Children:()=>Rt,Component:()=>E,Fragment:()=>k,PureComponent:()=>St,StrictMode:()=>k,Suspense:()=>Ut,SuspenseList:()=>Mt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>on,cloneElement:()=>dn,createContext:()=>B,createElement:()=>g,createFactory:()=>an,createPortal:()=>Ht,createRef:()=>w,default:()=>bn,findDOMNode:()=>_n,flushSync:()=>hn,forwardRef:()=>Nt,hydrate:()=>Zt,isElement:()=>mn,isFragment:()=>cn,isMemo:()=>un,isValidElement:()=>ln,lazy:()=>$t,memo:()=>Tt,render:()=>Qt,startTransition:()=>wt,unmountComponentAtNode:()=>fn,unstable_batchedUpdates:()=>pn,useCallback:()=>he,useContext:()=>me,useDebugValue:()=>be,useDeferredValue:()=>kt,useEffect:()=>ue,useErrorBoundary:()=>ve,useId:()=>ge,useImperativeHandle:()=>_e,useInsertionEffect:()=>xt,useLayoutEffect:()=>de,useMemo:()=>pe,useReducer:()=>ce,useRef:()=>fe,useState:()=>le,useSyncExternalStore:()=>gt,useTransition:()=>Et,version:()=>sn});function bt(e,t){for(var n in t)e[n]=t[n];return e}function vt(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function gt(e,t){var n=t(),r=le({t:{__:n,u:t}}),o=r[0].t,s=r[1];return de(function(){o.__=n,o.u=t,yt(o)&&s({t:o})},[e,n,t]),ue(function(){return yt(o)&&s({t:o}),e(function(){yt(o)&&s({t:o})})},[e]),n}function yt(e){try{return!((t=e.__)===(n=e.u())&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}var t,n}function wt(e){e()}function kt(e){return e}function Et(){return[!1,wt]}var xt=de;function St(e,t){this.props=e,this.context=t}function Tt(e,t){function n(e){var n=this.props.ref;return n!=e.ref&&n&&("function"==typeof n?n(null):n.current=null),t?!t(this.props,e)||n!=e.ref:vt(this.props,e)}function r(t){return this.shouldComponentUpdate=n,g(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.__f=r.prototype.isReactComponent=!0,r.type=e,r}(St.prototype=new E).isPureReactComponent=!0,St.prototype.shouldComponentUpdate=function(e,t){return vt(this.props,e)||vt(this.state,t)};var Ct=n.__b;n.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ct&&Ct(e)};var Ot="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Nt(e){function t(t){var n=bt({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ot,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var It=function(e,t){return null==e?null:R(R(e).map(t))},Rt={map:It,forEach:It,count:function(e){return e?R(e).length:0},only:function(e){var t=R(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:R},At=n.__e;n.__e=function(e,t,n,r){if(e.then)for(var o,s=t;s=s.__;)if((o=s.__c)&&o.__c)return t.__e??(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);At(e,t,n,r)};var Pt=n.unmount;function Dt(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),e.__c.__H=null),null!=(e=bt({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return Dt(e,t,n)})),e}function Lt(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return Lt(e,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Ut(){this.__u=0,this.o=null,this.__b=null}function Ft(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function $t(e){var t,n,r,o=null;function s(s){if(t||(t=e()).then(function(e){e&&(o=e.default||e),r=!0},function(e){n=e,r=!0}),n)throw n;if(!r)throw t;return o?g(o,s):null}return s.displayName="Lazy",s.__f=!0,s}function Mt(){this.i=null,this.l=null}n.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Pt&&Pt(e)},(Ut.prototype=new E).__c=function(e,t){var n=t.__c,r=this;r.o??=[],r.o.push(n);var o=Ft(r.__v),s=!1,i=function(){s||r.__z||(s=!0,n.__R=null,o?o(l):l())};n.__R=i;var a=n.__P;n.__P=null;var l=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Lt(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.__P=a,t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},Ut.prototype.componentWillUnmount=function(){this.o=[]},Ut.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Dt(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&g(k,null,e.fallback);return o&&(o.__u&=-33),[g(k,null,t.__a?null:e.children),o]};var zt=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!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 Gt(e){return this.getChildContext=function(){return e.context},e.children}function jt(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){W(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;null!==r&&!r.__m&&null!==r.__;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}W(g(Gt,{context:t.context},e.__v),t.v)}function Ht(e,t){var n=g(jt,{__v:e,h:t});return n.containerInfo=t,n}(Mt.prototype=new E).__a=function(e){var t=this,n=Ft(t.__v),r=t.l.get(e);return r[0]++,function(o){var s=function(){t.props.revealOrder?(r.push(o),zt(t,e,r)):o()};n?n(s):s()}},Mt.prototype.render=function(e){this.i=null,this.l=/* @__PURE__ */new Map;var t=R(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Mt.prototype.componentDidUpdate=Mt.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){zt(e,n,t)})};var Wt="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Vt=/^(?: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]/,qt=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Bt=/[A-Z0-9]/g,Kt="undefined"!=typeof document,Yt=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Qt(e,t,n){return t.__k??(t.textContent=""),W(e,t),"function"==typeof n&&n(),e?e.__c:null}function Zt(e,t,n){return V(e,t),"function"==typeof n&&n(),e?e.__c:null}E.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(E.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Jt=n.event;n.event=function(e){return Jt&&(e=Jt(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var Xt,en={configurable:!0,get:function(){return this.class}},tn=n.vnode;n.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},o=-1==n.indexOf("-");for(var s in t){var i=t[s];if(!("value"===s&&"defaultValue"in t&&null==i||Kt&&"children"===s&&"noscript"===n||"class"===s||"className"===s)){var a=s.toLowerCase();"defaultValue"===s&&"value"in t&&null==t.value?s="value":"download"===s&&!0===i?i="":"translate"===a&&"no"===i?i=!1:"o"===a[0]&&"n"===a[1]?"ondoubleclick"===a?s="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||Yt(t.type)?"onfocus"===a?s="onfocusin":"onblur"===a?s="onfocusout":qt.test(s)&&(s=a):a=s="oninput":o&&Vt.test(s)?s=s.replace(Bt,"-$&").toLowerCase():null===i&&(i=void 0),"oninput"===a&&r[s=a]&&(s="oninputCapture"),r[s]=i}}"select"==n&&(r.multiple&&Array.isArray(r.value)&&(r.value=R(t.children).forEach(function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)})),null!=r.defaultValue&&(r.value=R(t.children).forEach(function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",en)):t.className&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Wt,tn&&tn(e)};var nn=n.__r;n.__r=function(e){nn&&nn(e),Xt=e.__c};var rn=n.diffed;n.diffed=function(e){rn&&rn(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),Xt=null};var on={ReactCurrentDispatcher:{current:{readContext:function(e){return Xt.__n[e.__c].props.value},useCallback:he,useContext:me,useDebugValue:be,useDeferredValue:kt,useEffect:ue,useId:ge,useImperativeHandle:_e,useInsertionEffect:xt,useLayoutEffect:de,useMemo:pe,useReducer:ce,useRef:fe,useState:le,useSyncExternalStore:gt,useTransition:Et}}},sn="18.3.1";function an(e){return g.bind(null,e)}function ln(e){return!!e&&e.$$typeof===Wt}function cn(e){return ln(e)&&e.type===k}function un(e){return!!e&&"string"==typeof e.displayName&&0==e.displayName.indexOf("Memo(")}function dn(e){return ln(e)?q.apply(null,arguments):e}function fn(e){return!!e.__k&&(W(null,e),!0)}function _n(e){return e&&(e.base||1===e.nodeType&&e)||null}var pn=function(e,t){return e(t)},hn=function(e,t){var r=n.debounceRendering;n.debounceRendering=function(e){return e()};var o=e(t);return n.debounceRendering=r,o},mn=ln,bn={useState:le,useId:ge,useReducer:ce,useEffect:ue,useLayoutEffect:de,useInsertionEffect:xt,useTransition:Et,useDeferredValue:kt,useSyncExternalStore:gt,startTransition:wt,useRef:fe,useImperativeHandle:_e,useMemo:pe,useCallback:he,useContext:me,useDebugValue:be,version:"18.3.1",Children:Rt,render:Qt,hydrate:Zt,unmountComponentAtNode:fn,createPortal:Ht,createElement:g,createContext:B,createFactory:an,cloneElement:dn,createRef:w,Fragment:k,isValidElement:ln,isElement:mn,isFragment:cn,isMemo:un,findDOMNode:_n,Component:E,PureComponent:St,memo:Tt,forwardRef:Nt,flushSync:hn,unstable_batchedUpdates:pn,StrictMode:k,Suspense:Ut,SuspenseList:Mt,lazy:$t,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:on},vn=0;function gn(e,t,r,o,s,i){t||(t={});var a,l,c=t;if("ref"in c)for(l in c={},t)"ref"==l?a=t[l]:c[l]=t[l];var u={type:e,props:c,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--vn,__i:-1,__u:0,__source:s,__self:i};if("function"==typeof e&&(a=e.defaultProps))for(l in a)void 0===c[l]&&(c[l]=a[l]);return n.vnode&&n.vnode(u),u}Array.isArray;var yn=B(void 0),wn=e=>{const t=me(yn);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},kn=({client:e,children:t})=>(ue(()=>(e.mount(),()=>{e.unmount()}),[e]),/* @__PURE__ */gn(yn.Provider,{value:e,children:t})),En={PUBLIC_EVENTS:"/",FOLDER_EVENTS:e=>`/${e}`,LOGIN:"/auth/login",REGISTER:"/auth/register",FORGOT_PASSWORD:"/auth/forgot-password",RESET_PASSWORD:"/auth/reset-password",VERIFY_EMAIL:"/auth/verify-email",GALLERY:e=>`/event/${e}`,UPLOAD:e=>`/event/${e}/upload`,CURATE:e=>`/event/${e}/curate`,LEADERBOARD:e=>`/event/${e}/leaderboard`},xn={ORGANIZATION_SETTINGS:e=>`https://qrati.com/org/${e}/settings`,ORGANIZATION_SETTINGS_INTEGRATION:e=>`https://qrati.com/org/${e}/settings/integration`,ORGANIZATION_DASHBOARD:e=>`https://qrati.com/org/${e}/dashboard`,ORGANIZATION_ADMINS:e=>`https://qrati.com/org/${e}/admins`,EVENT_SETTINGS_BASIC_DETAILS:e=>`https://qrati.com/event/${e}/settings`,EVENT_REVIEW_CONTENTS:e=>`https://qrati.com/event/${e}/review-contents`,EVENT_DEEP_SEARCH:e=>`https://qrati.com/event/${e}/deep-search`,EVENT_GENERATE_ARTICLE:e=>`https://qrati.com/event/${e}/generate-article`,EVENT_ACCESS_REQUESTS:e=>`https://qrati.com/event/${e}/access-requests`,EVENT_SHOT_INSPECTOR:e=>`https://qrati.com/event/${e}/shot-inspector`,EVENT_CURATION_DETAILS:e=>`https://qrati.com/event/${e}/curation-details`},Sn={PUBLIC:"PUBLIC",PRIVATE:"PRIVATE",SECRET:"SECRET"},Tn="https://qrati.com/api/connect",Cn={INITIALIZE_SESSION:`${Tn}/session/initialize`,REGISTER:`${Tn}/auth/register`,LOGIN:`${Tn}/auth/login`,LOGOUT:`${Tn}/auth/logout`,UPDATE_SESSION:`${Tn}/session/update`,EXTERNAL_LOGIN:`${Tn}/auth/external-login`,PUBLIC_EVENTS:`${Tn}/event/public-events`,SEARCH_EVENTS:`${Tn}/event/search`,FOLDER_DETAILS:`${Tn}/folder/details`,NESTED_FOLDERS:`${Tn}/folder/nested-folders`,GET_EVENT_POINTS:`${Tn}/event/points`,ELIGIBLE_TO_CURATE:`${Tn}/content/curation-eligibility`,CONTENT_FOR_CURATION:`${Tn}/content/for-curation`,CURATE_CONTENT:`${Tn}/content/curate`,GET_LEADERBOARD:`${Tn}/event/leaderboard`,GET_UPLOAD_COUNT:`${Tn}/event/upload-count`,SINGLE_UPLOAD:`${Tn}/content/single-upload`,UPDATE_REACTION:`${Tn}/content/update-reaction`,EVENT_DATA:`${Tn}/event/details-with-ads-parameters`,UPDATE_EVENT_LAYOUT:`${Tn}/event/update-layout`,GET_EVENT_STATISTICS:`${Tn}/event/statistics`,GET_CONTENTS:`${Tn}/content/for-gallery`,SEARCH_CONTENTS:`${Tn}/content/search`,GET_CONTENTS_COUNT:`${Tn}/content/count`,UPDATE_AD_ANALYTICS:`${Tn}/event/update-ad-analytics`,INCREMENT_EVENT_VIEW:`${Tn}/event/increment-view`,SEND_PASSWORD_RESET_CODE:`${Tn}/auth/send-password-reset-code`,VERIFY_PASSWORD_RESET_CODE:`${Tn}/auth/verify-password-reset-code`,RESET_PASSWORD:`${Tn}/auth/reset-password`,REPORT_ERROR:`${Tn}/session/report-error`},On={OWNER:"owner",ADMIN:"admin",MODERATOR:"moderator"},Nn={IMAGE:"IMAGE",VIDEO:"VIDEO",AD:"AD"},In={ROW:"ROW",COLUMN:"COLUMN",MASONRY:"MASONRY"},Rn={IN_REVIEW:"IN_REVIEW",APPROVED:"APPROVED",REJECTED:"REJECTED"},An={WAITING:"Waiting",UPLOADING:"Uploading",RETRYING:"Retrying",DONE:"Done",FAILED:"Failed",ERROR:"Error"},Pn=1048576,Dn={CLOSED:"CLOSED",OPEN:"OPEN",UPCOMING:"UPCOMING"},Ln={WAITING:"Waiting",PROCESSING:"Processing",DONE:"Done"},Un={TEXT:"text",IMAGE:"image",LOTTIE:"lottie"},Fn={CONTEST:"CONTEST",REACTION:"REACTION"},$n={GRID:"grid",SINGLE:"single"},Mn={POPULAR:"popular",UPLOAD_TIME:"upload",CAPTURE_TIME:"capture"},zn={[Mn.POPULAR]:{label:"Popular",sortField:"score"},[Mn.UPLOAD_TIME]:{label:"Uploaded",sortField:"createdAt"},[Mn.CAPTURE_TIME]:{label:"Captured",sortField:"capturedAt"}},Gn=Mn.UPLOAD_TIME,jn={ASC:"asc",DESC:"desc"},Hn={[jn.ASC]:{label:"Ascending",sortOrder:""},[jn.DESC]:{label:"Descending",sortOrder:"-"}},Wn=jn.DESC,Vn={OWN:"own",CURATED:"curated",ELIGIBLE:"eligible"},qn={NONE:null,LINK:"LINK",EMAIL:"EMAIL",PHONE:"PHONE",SMS:"SMS",WHATSAPP:"WHATSAPP",MESSENGER:"MESSENGER"},Bn={[qn.LINK]:"material-symbols:open-in-new-rounded",[qn.EMAIL]:"material-symbols:alternate-email-rounded",[qn.PHONE]:"material-symbols:call-outline",[qn.SMS]:"material-symbols:sms-outline-rounded",[qn.WHATSAPP]:"logos:whatsapp-icon",[qn.MESSENGER]:"logos:messenger"},Kn={AD_IMPRESSION:"impression",AD_ENGAGEMENT:"engagement",AD_CLICK:"click"},Yn={EVENT_IN_REVIEW_COUNT:e=>`in-review-count-${e}`,CONTENTS_BY_EVENT:e=>`contents-by-event-${e}`},Qn='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',Zn=e=>e.trim().replace(/\s+/g," "),Jn=e=>{if(!e)return Qn;const t=Zn("string"==typeof e?e:e.fontFamily||""),n="string"==typeof e?void 0:e.customFontName;return t&&"system"!==t?"custom"===t?`"${n||"QratiCustomFont"}", ${Qn}`:`"${t}", ${Qn}`:Qn},Xn=(e,t)=>{if(!e?.fontFamily||"system"===e.fontFamily)return"";const n=Zn(e.fontFamily);if("custom"===n&&t){const n=e.customFontName||"QratiCustomFont",o=/\.woff2(\?|$)/i.test(t)?"woff2":/\.ttf(\?|$)/i.test(t)?"truetype":"woff";return`@font-face{font-family:"${r=n,r.replace(/"/g,'\\"')}";src:url("${t}") format("${o}");font-weight:400 700;font-style:normal;font-display:swap;}`}var r;const o=(e=>{if(!e)return null;const t=Zn(e);return t&&"system"!==t.toLowerCase()&&"custom"!==t.toLowerCase()?`https://fonts.googleapis.com/css2?family=${t.replace(/\s+/g,"+")}:wght@400;500;600;700&display=swap`:null})(n);return o?`@import url("${o}");`:""};function er(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=er(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function tr(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=er(e))&&(r&&(r+=" "),r+=t);return r}var nr=(e=/* @__PURE__ */new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),rr="-",or=[],sr=e=>{const t=lr(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return ar(e);const n=e.split(rr);return ir(n,""===n[0]&&n.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=r[e],o=n[e];return t?o?((e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n})(o,t):t:o||or}return n[e]||or}}},ir=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],o=n.nextPart.get(r);if(o){const n=ir(e,t+1,o);if(n)return n}const s=n.validators;if(null===s)return;const i=0===t?e.join(rr):e.slice(t).join(rr),a=s.length;for(let l=0;l<a;l++){const e=s[l];if(e.validator(i))return e.classGroupId}},ar=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?"arbitrary.."+r:void 0})(),lr=e=>{const{theme:t,classGroups:n}=e;return cr(n,t)},cr=(e,t)=>{const n=nr();for(const r in e){const o=e[r];ur(o,n,r,t)}return n},ur=(e,t,n,r)=>{const o=e.length;for(let s=0;s<o;s++){const o=e[s];dr(o,t,n,r)}},dr=(e,t,n,r)=>{"string"!=typeof e?"function"!=typeof e?pr(e,t,n,r):_r(e,t,n,r):fr(e,t,n)},fr=(e,t,n)=>{(""===e?t:hr(t,e)).classGroupId=n},_r=(e,t,n,r)=>{mr(e)?ur(e(r),t,n,r):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(n,e)))},pr=(e,t,n,r)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[e,s]=o[i];ur(s,hr(t,e),n,r)}},hr=(e,t)=>{let n=e;const r=t.split(rr),o=r.length;for(let s=0;s<o;s++){const e=r[s];let t=n.nextPart.get(e);t||(t=nr(),n.nextPart.set(e,t)),n=t}return n},mr=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,br=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(o,s)=>{n[o]=s,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(o(e,t),t):void 0},set(e,t){e in n?n[e]=t:o(e,t)}}},vr=[],gr=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),yr=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,s=0;const i=e.length;for(let u=0;u<i;u++){const i=e[u];if(0===r&&0===o){if(":"===i){t.push(e.slice(s,u)),s=u+1;continue}if("/"===i){n=u;continue}}"["===i?r++:"]"===i?r--:"("===i?o++:")"===i&&o--}const a=0===t.length?e:e.slice(s);let l=a,c=!1;return a.endsWith("!")?(l=a.slice(0,-1),c=!0):a.startsWith("!")&&(l=a.slice(1),c=!0),gr(t,c,l,n&&n>s?n-s:void 0)};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):gr(vr,!1,t,void 0,!0)}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},wr=e=>{const t=/* @__PURE__ */new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{const n=[];let r=[];for(let o=0;o<e.length;o++){const s=e[o],i="["===s[0],a=t.has(s);i||a?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(s)):r.push(s)}return r.length>0&&(r.sort(),n.push(...r)),n}},kr=/\s+/,Er=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Er(e[r]))&&(n&&(n+=" "),n+=t);return n},xr=[],Sr=e=>{const t=t=>t[e]||xr;return t.isThemeGetter=!0,t},Tr=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Cr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Or=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Nr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ir=/\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$/,Rr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ar=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Pr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Dr=e=>Or.test(e),Lr=e=>!!e&&!Number.isNaN(Number(e)),Ur=e=>!!e&&Number.isInteger(Number(e)),Fr=e=>e.endsWith("%")&&Lr(e.slice(0,-1)),$r=e=>Nr.test(e),Mr=()=>!0,zr=e=>Ir.test(e)&&!Rr.test(e),Gr=()=>!1,jr=e=>Ar.test(e),Hr=e=>Pr.test(e),Wr=e=>!qr(e)&&!eo(e),Vr=e=>lo(e,_o,Gr),qr=e=>Tr.test(e),Br=e=>lo(e,po,zr),Kr=e=>lo(e,ho,Lr),Yr=e=>lo(e,bo,Mr),Qr=e=>lo(e,mo,Gr),Zr=e=>lo(e,uo,Gr),Jr=e=>lo(e,fo,Hr),Xr=e=>lo(e,vo,jr),eo=e=>Cr.test(e),to=e=>co(e,po),no=e=>co(e,mo),ro=e=>co(e,uo),oo=e=>co(e,_o),so=e=>co(e,fo),io=e=>co(e,vo,!0),ao=e=>co(e,bo,!0),lo=(e,t,n)=>{const r=Tr.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},co=(e,t,n=!1)=>{const r=Cr.exec(e);return!!r&&(r[1]?t(r[1]):n)},uo=e=>"position"===e||"percentage"===e,fo=e=>"image"===e||"url"===e,_o=e=>"length"===e||"size"===e||"bg-size"===e,po=e=>"length"===e,ho=e=>"number"===e,mo=e=>"family-name"===e,bo=e=>"number"===e||"weight"===e,vo=e=>"shadow"===e,go=/* @__PURE__ */((e,...t)=>{let n,r,o,s;const i=e=>{const t=r(e);if(t)return t;const s=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(kr);let l="";for(let c=a.length-1;c>=0;c-=1){const e=a[c],{isExternal:t,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:_}=n(e);if(t){l=e+(l.length>0?" "+l:l);continue}let p=!!_,h=r(p?f.substring(0,_):f);if(!h){if(!p){l=e+(l.length>0?" "+l:l);continue}if(h=r(f),!h){l=e+(l.length>0?" "+l:l);continue}p=!1}const m=0===u.length?"":1===u.length?u[0]:s(u).join(":"),b=d?m+"!":m,v=b+h;if(i.indexOf(v)>-1)continue;i.push(v);const g=o(h,p);for(let n=0;n<g.length;++n){const e=g[n];i.push(b+e)}l=e+(l.length>0?" "+l:l)}return l})(e,n);return o(e,s),s};return s=a=>{var l;return l=t.reduce((e,t)=>t(e),e()),n={cache:br(l.cacheSize),parseClassName:yr(l),sortModifiers:wr(l),...sr(l)},r=n.cache.get,o=n.cache.set,s=i,i(a)},(...e)=>s(((...e)=>{let t,n,r=0,o="";for(;r<e.length;)(t=e[r++])&&(n=Er(t))&&(o&&(o+=" "),o+=n);return o})(...e))})(()=>{const e=Sr("color"),t=Sr("font"),n=Sr("text"),r=Sr("font-weight"),o=Sr("tracking"),s=Sr("leading"),i=Sr("breakpoint"),a=Sr("container"),l=Sr("spacing"),c=Sr("radius"),u=Sr("shadow"),d=Sr("inset-shadow"),f=Sr("text-shadow"),_=Sr("drop-shadow"),p=Sr("blur"),h=Sr("perspective"),m=Sr("aspect"),b=Sr("ease"),v=Sr("animate"),g=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",eo,qr],y=()=>[eo,qr,l],w=()=>[Dr,"full","auto",...y()],k=()=>[Ur,"none","subgrid",eo,qr],E=()=>["auto",{span:["full",Ur,eo,qr]},Ur,eo,qr],x=()=>[Ur,"auto",eo,qr],S=()=>["auto","min","max","fr",eo,qr],T=()=>["auto",...y()],C=()=>[Dr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],O=()=>[Dr,"screen","full","dvw","lvw","svw","min","max","fit",...y()],N=()=>[Dr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...y()],I=()=>[e,eo,qr],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ro,Zr,{position:[eo,qr]}],A=()=>["auto","cover","contain",oo,Vr,{size:[eo,qr]}],P=()=>[Fr,to,Br],D=()=>["","none","full",c,eo,qr],L=()=>["",Lr,to,Br],U=()=>[Lr,Fr,ro,Zr],F=()=>["","none",p,eo,qr],$=()=>["none",Lr,eo,qr],M=()=>["none",Lr,eo,qr],z=()=>[Lr,eo,qr],G=()=>[Dr,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$r],breakpoint:[$r],color:[Mr],container:[$r],"drop-shadow":[$r],ease:["in","out","in-out"],font:[Wr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$r],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$r],shadow:[$r],spacing:["px",Lr],text:[$r],"text-shadow":[$r],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Dr,qr,eo,m]}],container:["container"],columns:[{columns:[Lr,qr,eo,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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:g()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{"inset-s":w(),start:w()}],end:[{"inset-e":w(),end:w()}],"inset-bs":[{"inset-bs":w()}],"inset-be":[{"inset-be":w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[Ur,"auto",eo,qr]}],basis:[{basis:[Dr,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Lr,Dr,"auto","initial","none",qr]}],grow:[{grow:["",Lr,eo,qr]}],shrink:[{shrink:["",Lr,eo,qr]}],order:[{order:[Ur,"first","last","none",eo,qr]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":S()}],"auto-rows":[{"auto-rows":S()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pbs:[{pbs:y()}],pbe:[{pbe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:C()}],"inline-size":[{inline:["auto",...O()]}],"min-inline-size":[{"min-inline":["auto",...O()]}],"max-inline-size":[{"max-inline":["none",...O()]}],"block-size":[{block:["auto",...N()]}],"min-block-size":[{"min-block":["auto",...N()]}],"max-block-size":[{"max-block":["none",...N()]}],w:[{w:[a,"screen",...C()]}],"min-w":[{"min-w":[a,"screen","none",...C()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...C()]}],h:[{h:["screen","lh",...C()]}],"min-h":[{"min-h":["screen","lh","none",...C()]}],"max-h":[{"max-h":["screen","lh",...C()]}],"font-size":[{text:["base",n,to,Br]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ao,Yr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Fr,qr]}],"font-family":[{font:[no,Qr,t]}],"font-features":[{"font-features":[qr]}],"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:[o,eo,qr]}],"line-clamp":[{"line-clamp":[Lr,"none",eo,Kr]}],leading:[{leading:[s,...y()]}],"list-image":[{"list-image":["none",eo,qr]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",eo,qr]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:I()}],"text-color":[{text:I()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[Lr,"from-font","auto",eo,Br]}],"text-decoration-color":[{decoration:I()}],"underline-offset":[{"underline-offset":[Lr,"auto",eo,qr]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",eo,qr]}],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",eo,qr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ur,eo,qr],radial:["",eo,qr],conic:[Ur,eo,qr]},so,Jr]}],"bg-color":[{bg:I()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:I()}],"gradient-via":[{via:I()}],"gradient-to":[{to:I()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-bs":[{"border-bs":L()}],"border-w-be":[{"border-be":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":L()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:I()}],"border-color-x":[{"border-x":I()}],"border-color-y":[{"border-y":I()}],"border-color-s":[{"border-s":I()}],"border-color-e":[{"border-e":I()}],"border-color-bs":[{"border-bs":I()}],"border-color-be":[{"border-be":I()}],"border-color-t":[{"border-t":I()}],"border-color-r":[{"border-r":I()}],"border-color-b":[{"border-b":I()}],"border-color-l":[{"border-l":I()}],"divide-color":[{divide:I()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[Lr,eo,qr]}],"outline-w":[{outline:["",Lr,to,Br]}],"outline-color":[{outline:I()}],shadow:[{shadow:["","none",u,io,Xr]}],"shadow-color":[{shadow:I()}],"inset-shadow":[{"inset-shadow":["none",d,io,Xr]}],"inset-shadow-color":[{"inset-shadow":I()}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:I()}],"ring-offset-w":[{"ring-offset":[Lr,Br]}],"ring-offset-color":[{"ring-offset":I()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":I()}],"text-shadow":[{"text-shadow":["none",f,io,Xr]}],"text-shadow-color":[{"text-shadow":I()}],opacity:[{opacity:[Lr,eo,qr]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"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":[Lr]}],"mask-image-linear-from-pos":[{"mask-linear-from":U()}],"mask-image-linear-to-pos":[{"mask-linear-to":U()}],"mask-image-linear-from-color":[{"mask-linear-from":I()}],"mask-image-linear-to-color":[{"mask-linear-to":I()}],"mask-image-t-from-pos":[{"mask-t-from":U()}],"mask-image-t-to-pos":[{"mask-t-to":U()}],"mask-image-t-from-color":[{"mask-t-from":I()}],"mask-image-t-to-color":[{"mask-t-to":I()}],"mask-image-r-from-pos":[{"mask-r-from":U()}],"mask-image-r-to-pos":[{"mask-r-to":U()}],"mask-image-r-from-color":[{"mask-r-from":I()}],"mask-image-r-to-color":[{"mask-r-to":I()}],"mask-image-b-from-pos":[{"mask-b-from":U()}],"mask-image-b-to-pos":[{"mask-b-to":U()}],"mask-image-b-from-color":[{"mask-b-from":I()}],"mask-image-b-to-color":[{"mask-b-to":I()}],"mask-image-l-from-pos":[{"mask-l-from":U()}],"mask-image-l-to-pos":[{"mask-l-to":U()}],"mask-image-l-from-color":[{"mask-l-from":I()}],"mask-image-l-to-color":[{"mask-l-to":I()}],"mask-image-x-from-pos":[{"mask-x-from":U()}],"mask-image-x-to-pos":[{"mask-x-to":U()}],"mask-image-x-from-color":[{"mask-x-from":I()}],"mask-image-x-to-color":[{"mask-x-to":I()}],"mask-image-y-from-pos":[{"mask-y-from":U()}],"mask-image-y-to-pos":[{"mask-y-to":U()}],"mask-image-y-from-color":[{"mask-y-from":I()}],"mask-image-y-to-color":[{"mask-y-to":I()}],"mask-image-radial":[{"mask-radial":[eo,qr]}],"mask-image-radial-from-pos":[{"mask-radial-from":U()}],"mask-image-radial-to-pos":[{"mask-radial-to":U()}],"mask-image-radial-from-color":[{"mask-radial-from":I()}],"mask-image-radial-to-color":[{"mask-radial-to":I()}],"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":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[Lr]}],"mask-image-conic-from-pos":[{"mask-conic-from":U()}],"mask-image-conic-to-pos":[{"mask-conic-to":U()}],"mask-image-conic-from-color":[{"mask-conic-from":I()}],"mask-image-conic-to-color":[{"mask-conic-to":I()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",eo,qr]}],filter:[{filter:["","none",eo,qr]}],blur:[{blur:F()}],brightness:[{brightness:[Lr,eo,qr]}],contrast:[{contrast:[Lr,eo,qr]}],"drop-shadow":[{"drop-shadow":["","none",_,io,Xr]}],"drop-shadow-color":[{"drop-shadow":I()}],grayscale:[{grayscale:["",Lr,eo,qr]}],"hue-rotate":[{"hue-rotate":[Lr,eo,qr]}],invert:[{invert:["",Lr,eo,qr]}],saturate:[{saturate:[Lr,eo,qr]}],sepia:[{sepia:["",Lr,eo,qr]}],"backdrop-filter":[{"backdrop-filter":["","none",eo,qr]}],"backdrop-blur":[{"backdrop-blur":F()}],"backdrop-brightness":[{"backdrop-brightness":[Lr,eo,qr]}],"backdrop-contrast":[{"backdrop-contrast":[Lr,eo,qr]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Lr,eo,qr]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Lr,eo,qr]}],"backdrop-invert":[{"backdrop-invert":["",Lr,eo,qr]}],"backdrop-opacity":[{"backdrop-opacity":[Lr,eo,qr]}],"backdrop-saturate":[{"backdrop-saturate":[Lr,eo,qr]}],"backdrop-sepia":[{"backdrop-sepia":["",Lr,eo,qr]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",eo,qr]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Lr,"initial",eo,qr]}],ease:[{ease:["linear","initial",b,eo,qr]}],delay:[{delay:[Lr,eo,qr]}],animate:[{animate:["none",v,eo,qr]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,eo,qr]}],"perspective-origin":[{"perspective-origin":g()}],rotate:[{rotate:$()}],"rotate-x":[{"rotate-x":$()}],"rotate-y":[{"rotate-y":$()}],"rotate-z":[{"rotate-z":$()}],scale:[{scale:M()}],"scale-x":[{"scale-x":M()}],"scale-y":[{"scale-y":M()}],"scale-z":[{"scale-z":M()}],"scale-3d":["scale-3d"],skew:[{skew:z()}],"skew-x":[{"skew-x":z()}],"skew-y":[{"skew-y":z()}],transform:[{transform:[eo,qr,"","none","gpu","cpu"]}],"transform-origin":[{origin:g()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:G()}],"translate-x":[{"translate-x":G()}],"translate-y":[{"translate-y":G()}],"translate-z":[{"translate-z":G()}],"translate-none":["translate-none"],accent:[{accent:I()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:I()}],"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",eo,qr]}],"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":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mbs":[{"scroll-mbs":y()}],"scroll-mbe":[{"scroll-mbe":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pbs":[{"scroll-pbs":y()}],"scroll-pbe":[{"scroll-pbe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",eo,qr]}],fill:[{fill:["none",...I()]}],"stroke-w":[{stroke:[Lr,to,Br,Kr]}],stroke:[{stroke:["none",...I()]}],"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"]}}),yo=(...e)=>tr(go(...e.filter(Boolean))),wo=e=>{const t=e.replace(/#/g,"");return(299*parseInt(t.slice(0,2),16)+587*parseInt(t.slice(2,4),16)+114*parseInt(t.slice(4,6),16))/1e3>=128?"#000000":"#FFFFFF"},ko="px",Eo=(e,t="light")=>{const n=e?.themeSettings?.colors??{},r=e?.themeSettings?.border,o=e?.themeSettings?.shadow,s=e?.integrationSettings,i="dark"===t,a=(e,t,r,o)=>{const s=i?o:r;return n[i?t:e]||s},l=a("primaryLight","primaryDark","#ff4800","#ff4800");return{"--background":a("backgroundLight","backgroundDark","#fafafa","#0a0a0a"),"--foreground":a("foregroundLight","foregroundDark","#252629","#f5f5f5"),"--muted":a("mutedLight","mutedDark","#e5e5e5","#171717"),"--muted-foreground":a("mutedForegroundLight","mutedForegroundDark","#484848","#b5b8bb"),"--border":a("borderLight","borderDark","#dddddd","#353538"),"--input":a("inputLight","inputDark","#f5f5f5","#171717"),"--primary":l,"--primary-foreground":wo(l),"--popover":a("popoverLight","popoverDark","#f5f5f5","#171717"),"--popover-foreground":a("popoverForegroundLight","popoverForegroundDark","#252629","#fafafa"),"--info":a("infoLight","infoDark","#2563eb","#5b8def"),"--warning":a("warningLight","warningDark","#f59e0b","#fbbf24"),"--success":a("successLight","successDark","#10b981","#34d399"),"--destructive":a("destructiveLight","destructiveDark","#ef4444","#f87171"),"--border-width":`${r?.width||"1"}${r?.unit||"px"}`,"--radius":`${r?.radius||"10"}${r?.unit||"px"}`,"--shadow-outer-horizontal-offset":`${o?.outerHorizontalOffset||"0"}${o?.unit||ko}`,"--shadow-outer-vertical-offset":`${o?.outerVerticalOffset||"0"}${o?.unit||ko}`,"--shadow-outer-blur":`${o?.outerBlur||"0"}${o?.unit||ko}`,"--shadow-outer-spread":`${o?.outerSpread||"0"}${o?.unit||ko}`,"--font-family":Jn(s)}};export{st as $,Hn as A,he as At,Ut as B,Pn as C,Ce as Ct,Vn as D,le as Dt,Yn as E,de as Et,gt as F,B as Ft,dn as G,mt as H,Nt as I,g as It,ft as J,wt as K,Rt as L,w as Lt,wn as M,ue as Mt,gn as N,W as Nt,Un as O,ge as Ot,Ht as P,q as Pt,it as Q,St as R,k as Rt,xn as S,Oe as St,En as T,pe as Tt,bn as U,hn as V,ln as W,dt as X,_t as Y,ut as Z,Gn as _,Ve as _t,On as a,Xe as at,Dn as b,Le as bt,Bn as c,ze as ct,Mn as d,$e as dt,rt as et,zn as f,Ae as ft,$n as g,Ue as gt,An as h,Fe as ht,Xn as i,Ze as it,kn as j,me as jt,jn as k,ce as kt,Cn as l,De as lt,Nn as m,Ye as mt,Eo as n,tt as nt,Kn as o,Pe as ot,Rn as p,je as pt,$t as q,tr as r,Qe as rt,qn as s,Ge as st,yo as t,nt as tt,Ln as u,Me as ut,Wn as v,et as vt,In as w,fe as wt,Sn as x,Ie as xt,Fn as y,Je as yt,Tt as z,E as zt};
1
+ import{n as e}from"./2R3GoXB1.js";var t,n,r,o,s,i,a,l,c,u,d,f,_={},p=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,m=Array.isArray;function b(e,t){for(var n in t)e[n]=t[n];return e}function v(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function g(e,n,r){var o,s,i,a={};for(i in n)"key"==i?o=n[i]:"ref"==i?s=n[i]:a[i]=n[i];if(arguments.length>2&&(a.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return y(e,a,o,s,null)}function y(e,t,o,s,i){var a={type:e,props:t,key:o,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==i?++r:i,__i:-1,__u:0};return null==i&&null!=n.vnode&&n.vnode(a),a}function w(){return{current:null}}function k(e){return e.children}function E(e,t){this.props=e,this.context=t}function x(e,t){if(null==t)return e.__?x(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?x(e):null}function S(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,o=[],s=[],i=b({},t);i.__v=t.__v+1,n.vnode&&n.vnode(i),U(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,o,null==r?x(t):r,!!(32&t.__u),s),i.__v=t.__v,i.__.__k[i.__i]=i,$(o,i,s),t.__e=t.__=null,i.__e!=r&&T(i)}}function T(e){if(null!=(e=e.__)&&null!=e.__c)return e.__e=e.__c.base=null,e.__k.some(function(t){if(null!=t&&null!=t.__e)return e.__e=e.__c.base=t.__e}),T(e)}function C(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!O.__r++||s!=n.debounceRendering)&&((s=n.debounceRendering)||i)(O)}function O(){try{for(var e,t=1;o.length;)o.length>t&&o.sort(a),e=o.shift(),t=o.length,S(e)}finally{o.length=O.__r=0}}function N(e,t,n,r,o,s,i,a,l,c,u){var d,f,h,b,v,g,w,E=r&&r.__k||p,S=t.length;for(l=function(e,t,n,r,o){var s,i,a,l,c,u=n.length,d=u,f=0;for(e.__k=new Array(o),s=0;s<o;s++)null!=(i=t[s])&&"boolean"!=typeof i&&"function"!=typeof i?("string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?i=e.__k[s]=y(null,i,null,null,null):m(i)?i=e.__k[s]=y(k,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?i=e.__k[s]=y(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):e.__k[s]=i,l=s+f,i.__=e,i.__b=e.__b+1,a=null,-1!=(c=i.__i=A(i,n,l,d))&&(d--,(a=n[c])&&(a.__u|=2)),null==a||null==a.__v?(-1==c&&(o>u?f--:o<u&&f++),"function"!=typeof i.type&&(i.__u|=4)):c!=l&&(c==l-1?f--:c==l+1?f++:(c>l?f--:f++,i.__u|=4))):e.__k[s]=null;if(d)for(s=0;s<u;s++)null!=(a=n[s])&&!(2&a.__u)&&(a.__e==r&&(r=x(a)),j(a,a));return r}(n,t,E,l,S),d=0;d<S;d++)null!=(h=n.__k[d])&&(f=-1!=h.__i&&E[h.__i]||_,h.__i=d,g=U(e,h,f,o,s,i,a,l,c,u),b=h.__e,h.ref&&f.ref!=h.ref&&(f.ref&&G(f.ref,null,h),u.push(h.ref,h.__c||b,h)),null==v&&null!=b&&(v=b),(w=!!(4&h.__u))||f.__k===h.__k?l=I(h,l,e,w):"function"==typeof h.type&&void 0!==g?l=g:b&&(l=b.nextSibling),h.__u&=-7);return n.__e=v,l}function I(e,t,n,r){var o,s;if("function"==typeof e.type){for(o=e.__k,s=0;o&&s<o.length;s++)o[s]&&(o[s].__=e,t=I(o[s],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=x(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function R(e,t){return t=t||[],null==e||"boolean"==typeof e||(m(e)?e.some(function(e){R(e,t)}):t.push(e)),t}function A(e,t,n,r){var o,s,i,a=e.key,l=e.type,c=t[n],u=null!=c&&!(2&c.__u);if(null===c&&null==a||u&&a==c.key&&l==c.type)return n;if(r>(u?1:0))for(o=n-1,s=n+1;o>=0||s<t.length;)if(null!=(c=t[i=o>=0?o--:s++])&&!(2&c.__u)&&a==c.key&&l==c.type)return i;return-1}function P(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||h.test(t)?n:n+"px"}function D(e,t,n,r,o){var s,i;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||P(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||P(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])s=t!=(t=t.replace(l,"$1")),i=t.toLowerCase(),t=i in e||"onFocusOut"==t||"onFocusIn"==t?i.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=n,n?r?n.u=r.u:(n.u=c,e.addEventListener(t,s?d:u,s)):e.removeEventListener(t,s?d:u,s);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function L(e){return function(t){if(this.l){var r=this.l[t.type+e];if(null==t.t)t.t=c++;else if(t.t<r.u)return;return r(n.event?n.event(t):t)}}}function U(e,t,r,o,s,i,a,l,c,u){var d,f,_,h,g,y,w,x,S,T,C,O,I,R,A,P=t.type;if(void 0!==t.constructor)return null;128&r.__u&&(c=!!(32&r.__u),i=[l=t.__e=r.__e]),(d=n.__b)&&d(t);e:if("function"==typeof P)try{if(x=t.props,S=P.prototype&&P.prototype.render,T=(d=P.contextType)&&o[d.__c],C=d?T?T.props.value:d.__:o,r.__c?w=(f=t.__c=r.__c).__=f.__E:(S?t.__c=f=new P(x,C):(t.__c=f=new E(x,C),f.constructor=P,f.render=H),T&&T.sub(f),f.state||(f.state={}),f.__n=o,_=f.__d=!0,f.__h=[],f._sb=[]),S&&null==f.__s&&(f.__s=f.state),S&&null!=P.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=b({},f.__s)),b(f.__s,P.getDerivedStateFromProps(x,f.__s))),h=f.props,g=f.state,f.__v=t,_)S&&null==P.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),S&&null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(S&&null==P.getDerivedStateFromProps&&x!==h&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(x,C),t.__v==r.__v||!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(x,f.__s,C)){t.__v!=r.__v&&(f.props=x,f.state=f.__s,f.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(e){e&&(e.__=t)}),p.push.apply(f.__h,f._sb),f._sb=[],f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(x,f.__s,C),S&&null!=f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(h,g,y)})}if(f.context=C,f.props=x,f.__P=e,f.__e=!1,O=n.__r,I=0,S)f.state=f.__s,f.__d=!1,O&&O(t),d=f.render(f.props,f.state,f.context),p.push.apply(f.__h,f._sb),f._sb=[];else do{f.__d=!1,O&&O(t),d=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++I<25);f.state=f.__s,null!=f.getChildContext&&(o=b(b({},o),f.getChildContext())),S&&!_&&null!=f.getSnapshotBeforeUpdate&&(y=f.getSnapshotBeforeUpdate(h,g)),R=null!=d&&d.type===k&&null==d.key?M(d.props.children):d,l=N(e,m(R)?R:[R],t,r,o,s,i,a,l,c,u),f.base=t.__e,t.__u&=-161,f.__h.length&&a.push(f),w&&(f.__E=f.__=null)}catch(e){if(t.__v=null,c||null!=i)if(e.then){for(t.__u|=c?160:128;l&&8==l.nodeType&&l.nextSibling;)l=l.nextSibling;i[i.indexOf(l)]=null,t.__e=l}else{for(A=i.length;A--;)v(i[A]);F(t)}else t.__e=r.__e,t.__k=r.__k,e.then||F(t);n.__e(e,t,r)}else null==i&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):l=t.__e=z(r.__e,t,r,o,s,i,a,c,u);return(d=n.diffed)&&d(t),128&t.__u?void 0:l}function F(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(F))}function $(e,t,r){for(var o=0;o<r.length;o++)G(r[o],r[++o],r[++o]);n.__c&&n.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){n.__e(e,t.__v)}})}function M(e){return"object"!=typeof e||null==e||e.__b>0?e:m(e)?e.map(M):b({},e)}function z(e,r,o,s,i,a,l,c,u){var d,f,p,h,b,g,y,w=o.props||_,k=r.props,E=r.type;if("svg"==E?i="http://www.w3.org/2000/svg":"math"==E?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=a)for(d=0;d<a.length;d++)if((b=a[d])&&"setAttribute"in b==!!E&&(E?b.localName==E:3==b.nodeType)){e=b,a[d]=null;break}if(null==e){if(null==E)return document.createTextNode(k);e=document.createElementNS(i,E,k.is&&k),c&&(n.__m&&n.__m(r,a),c=!1),a=null}if(null==E)w===k||c&&e.data==k||(e.data=k);else{if(a=a&&t.call(e.childNodes),!c&&null!=a)for(w={},d=0;d<e.attributes.length;d++)w[(b=e.attributes[d]).name]=b.value;for(d in w)b=w[d],"dangerouslySetInnerHTML"==d?p=b:"children"==d||d in k||"value"==d&&"defaultValue"in k||"checked"==d&&"defaultChecked"in k||D(e,d,null,b,i);for(d in k)b=k[d],"children"==d?h=b:"dangerouslySetInnerHTML"==d?f=b:"value"==d?g=b:"checked"==d?y=b:c&&"function"!=typeof b||w[d]===b||D(e,d,b,w[d],i);if(f)c||p&&(f.__html==p.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),r.__k=[];else if(p&&(e.innerHTML=""),N("template"==r.type?e.content:e,m(h)?h:[h],r,o,s,"foreignObject"==E?"http://www.w3.org/1999/xhtml":i,a,l,a?a[0]:o.__k&&x(o,0),c,u),null!=a)for(d=a.length;d--;)v(a[d]);c||(d="value","progress"==E&&null==g?e.removeAttribute("value"):null!=g&&(g!==e[d]||"progress"==E&&!g||"option"==E&&g!=w[d])&&D(e,d,g,w[d],i),d="checked",null!=y&&y!=e[d]&&D(e,d,y,w[d],i))}return e}function G(e,t,r){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==t||(e.__u=e(t))}else e.current=t}catch(e){n.__e(e,r)}}function j(e,t,r){var o,s;if(n.unmount&&n.unmount(e),(o=e.ref)&&(o.current&&o.current!=e.__e||G(o,null,t)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){n.__e(e,t)}o.base=o.__P=null}if(o=e.__k)for(s=0;s<o.length;s++)o[s]&&j(o[s],t,r||"function"!=typeof e.type);r||v(e.__e),e.__c=e.__=e.__e=void 0}function H(e,t,n){return this.constructor(e,n)}function W(e,r,o){var s,i,a,l;r==document&&(r=document.documentElement),n.__&&n.__(e,r),i=(s="function"==typeof o)?null:o&&o.__k||r.__k,a=[],l=[],U(r,e=(!s&&o||r).__k=g(k,null,[e]),i||_,_,r.namespaceURI,!s&&o?[o]:i?null:r.firstChild?t.call(r.childNodes):null,a,!s&&o?o:i?i.__e:r.firstChild,s,l),$(a,e,l)}function V(e,t){W(e,t,V)}function q(e,n,r){var o,s,i,a,l=b({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),n)"key"==i?o=n[i]:"ref"==i?s=n[i]:l[i]=void 0===n[i]&&null!=a?a[i]:n[i];return arguments.length>2&&(l.children=arguments.length>3?t.call(arguments,2):r),y(e.type,l,o||e.key,s||e.ref,null)}function B(e){function t(e){var n,r;return this.getChildContext||(n=/* @__PURE__ */new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,C(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+f++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}t=p.slice,n={__e:function(e,t,n,r){for(var o,s,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((s=o.constructor)&&null!=s.getDerivedStateFromError&&(o.setState(s.getDerivedStateFromError(e)),i=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),i=o.__d),i)return o.__E=o}catch(t){e=t}throw e}},r=0,E.prototype.setState=function(e,t){var n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=b({},this.state);"function"==typeof e&&(e=e(b({},n),this.props)),e&&b(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),C(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),C(this))},E.prototype.render=k,o=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,a=function(e,t){return e.__v.__b-t.__v.__b},O.__r=0,l=/(PointerCapture)$|Capture$/i,c=0,u=L(!1),d=L(!0),f=0;var K,Y,Q,Z,J=0,X=[],ee=n,te=ee.__b,ne=ee.__r,re=ee.diffed,oe=ee.__c,se=ee.unmount,ie=ee.__;function ae(e,t){ee.__h&&ee.__h(Y,e,J||t),J=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function le(e){return J=1,ce(Te,e)}function ce(e,t,n){var r=ae(K++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Te(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=Y,!Y.__f)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter(function(e){return e.__c});if(o.every(function(e){return!e.__N}))return!s||s.call(this,e,t,n);var i=r.__c.props!==e;return o.some(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),s&&s.call(this,e,t,n)||i};Y.__f=!0;var s=Y.shouldComponentUpdate,i=Y.componentWillUpdate;Y.componentWillUpdate=function(e,t,n){if(this.__e){var r=s;s=void 0,o(e,t,n),s=r}i&&i.call(this,e,t,n)},Y.shouldComponentUpdate=o}return r.__N||r.__}function ue(e,t){var n=ae(K++,3);!ee.__s&&Se(n.__H,t)&&(n.__=e,n.u=t,Y.__H.__h.push(n))}function de(e,t){var n=ae(K++,4);!ee.__s&&Se(n.__H,t)&&(n.__=e,n.u=t,Y.__h.push(n))}function fe(e){return J=5,pe(function(){return{current:e}},[])}function _e(e,t,n){J=6,de(function(){if("function"==typeof e){var n=e(t());return function(){e(null),n&&"function"==typeof n&&n()}}if(e)return e.current=t(),function(){return e.current=null}},null==n?n:n.concat(e))}function pe(e,t){var n=ae(K++,7);return Se(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function he(e,t){return J=8,pe(function(){return e},t)}function me(e){var t=Y.context[e.__c],n=ae(K++,9);return n.c=e,t?(n.__??(n.__=!0,t.sub(Y)),t.props.value):e.__}function be(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function ve(e){var t=ae(K++,10),n=le();return t.__=e,Y.componentDidCatch||(Y.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function ge(){var e=ae(K++,11);if(!e.__){for(var t=Y.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function ye(){for(var e;e=X.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(Ee),t.__h.some(xe),t.__h=[]}catch(er){t.__h=[],ee.__e(er,e.__v)}}}ee.__b=function(e){Y=null,te&&te(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ie&&ie(e,t)},ee.__r=function(e){ne&&ne(e),K=0;var t=(Y=e.__c).__H;t&&(Q===Y?(t.__h=[],Y.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(Ee),t.__h.some(xe),t.__h=[],K=0)),Q=Y},ee.diffed=function(e){re&&re(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==X.push(t)&&Z===ee.requestAnimationFrame||((Z=ee.requestAnimationFrame)||ke)(ye)),t.__H.__.some(function(e){e.u&&(e.__H=e.u),e.u=void 0})),Q=Y=null},ee.__c=function(e,t){t.some(function(e){try{e.__h.some(Ee),e.__h=e.__h.filter(function(e){return!e.__||xe(e)})}catch(er){t.some(function(e){e.__h&&(e.__h=[])}),t=[],ee.__e(er,e.__v)}}),oe&&oe(e,t)},ee.unmount=function(e){se&&se(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{Ee(e)}catch(e){t=e}}),n.__H=void 0,t&&ee.__e(t,n.__v))};var we="function"==typeof requestAnimationFrame;function ke(e){var t,n=function(){clearTimeout(r),we&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);we&&(t=requestAnimationFrame(n))}function Ee(e){var t=Y,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Y=t}function xe(e){var t=Y;e.__c=e.__(),Y=t}function Se(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function Te(e,t){return"function"==typeof t?t(e):t}var Ce=class{constructor(){this.listeners=/* @__PURE__ */new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Oe=new class extends Ce{#e;#t;#n;constructor(){super(),this.#n=e=>{if("undefined"!=typeof window&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}},Ne={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Ie=new class{#r=Ne;#o=!1;setTimeoutProvider(e){this.#r=e}setTimeout(e,t){return this.#r.setTimeout(e,t)}clearTimeout(e){this.#r.clearTimeout(e)}setInterval(e,t){return this.#r.setInterval(e,t)}clearInterval(e){this.#r.clearInterval(e)}},Re="undefined"==typeof window||"Deno"in globalThis;function Ae(){}function Pe(e,t){return"function"==typeof e?e(t):e}function De(e){return"number"==typeof e&&e>=0&&e!==1/0}function Le(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ue(e,t){return"function"==typeof e?e(t):e}function Fe(e,t){return"function"==typeof e?e(t):e}function $e(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:a}=e;if(i)if(r){if(t.queryHash!==ze(i,t.options))return!1}else if(!je(t.queryKey,i))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return!("boolean"==typeof a&&t.isStale()!==a||o&&o!==t.state.fetchStatus||s&&!s(t))}function Me(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Ge(t.options.mutationKey)!==Ge(s))return!1}else if(!je(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function ze(e,t){return(t?.queryKeyHashFn||Ge)(e)}function Ge(e){return JSON.stringify(e,(e,t)=>Be(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function je(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(n=>je(e[n],t[n]))}var He=Object.prototype.hasOwnProperty;function We(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=qe(e)&&qe(t);if(!(r||Be(e)&&Be(t)))return t;const o=(r?e:Object.keys(e)).length,s=r?t:Object.keys(t),i=s.length,a=r?new Array(i):{};let l=0;for(let c=0;c<i;c++){const i=r?c:s[c],u=e[i],d=t[i];if(u===d){a[i]=u,(r?c<o:He.call(e,i))&&l++;continue}if(null===u||null===d||"object"!=typeof u||"object"!=typeof d){a[i]=d;continue}const f=We(u,d,n+1);a[i]=f,f===u&&l++}return o===i&&l===o?e:a}function Ve(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function qe(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Be(e){if(!Ke(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Ke(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function Ke(e){return"[object Object]"===Object.prototype.toString.call(e)}function Ye(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?We(e,t):t}function Qe(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Ze(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Je=/* @__PURE__ */Symbol();function Xe(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==Je?e.queryFn:()=>Promise.reject(/* @__PURE__ */new Error(`Missing queryFn: '${e.queryHash}'`))}function et(e,t){return"function"==typeof e?e(...t):!!e}function tt(e,t,n){let r,o=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??=t(),o||(o=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),e}var nt=/* @__PURE__ */(()=>{let e=()=>Re;return{isServer:()=>e(),setIsServer(t){e=t}}})();function rt(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}var ot=function(e){setTimeout(e,0)},st=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},o=ot;const s=r=>{t?e.push(r):o(()=>{n(r)})};return{batch:s=>{let i;t++;try{i=s()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o(()=>{r(()=>{t.forEach(e=>{n(e)})})})})()}return i},batchCalls:e=>(...t)=>{s(()=>{e(...t)})},schedule:s,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{o=e}}}(),it=new class extends Ce{#s=!0;#t;#n;constructor(){super(),this.#n=e=>{if("undefined"!=typeof window&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#s!==e&&(this.#s=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#s}};function at(e){return Math.min(1e3*2**e,3e4)}function lt(e){return"online"!==(e??"online")||it.isOnline()}var ct=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function ut(e){let t,n=!1,r=0;const o=rt(),s=()=>"pending"!==o.status,i=()=>Oe.isFocused()&&("always"===e.networkMode||it.isOnline())&&e.canRun(),a=()=>lt(e.networkMode)&&e.canRun(),l=e=>{s()||(t?.(),o.resolve(e))},c=e=>{s()||(t?.(),o.reject(e))},u=()=>new Promise(n=>{t=e=>{(s()||i())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,s()||e.onContinue?.()}),d=()=>{if(s())return;let t;const o=0===r?e.initialPromise:void 0;try{t=o??e.fn()}catch(a){t=Promise.reject(a)}Promise.resolve(t).then(l).catch(t=>{if(s())return;const o=e.retry??(nt.isServer()?0:3),a=e.retryDelay??at,l="function"==typeof a?a(r,t):a,f=!0===o||"number"==typeof o&&r<o||"function"==typeof o&&o(r,t);var _;!n&&f?(r++,e.onFail?.(r,t),(_=l,new Promise(e=>{Ie.setTimeout(e,_)})).then(()=>i()?void 0:u()).then(()=>{n?c(t):d()})):c(t)})};return{promise:o,status:()=>o.status,cancel:t=>{if(!s()){const n=new ct(t);c(n),e.onCancel?.(n)}},continue:()=>(t?.(),o),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:a,start:()=>(a()?d():u().then(d),o)}}var dt=class{#i;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),De(this.gcTime)&&(this.#i=Ie.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(nt.isServer()?1/0:3e5))}clearGcTimeout(){this.#i&&(Ie.clearTimeout(this.#i),this.#i=void 0)}},ft=class extends dt{#a;#l;#c;#u;#d;#f;#_;constructor(e){super(),this.#_=!1,this.#f=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#u=e.client,this.#c=this.#u.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#a=ht(this.options),this.state=e.state??this.#a,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#d?.promise}setOptions(e){if(this.options={...this.#f,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const e=ht(this.options);void 0!==e.data&&(this.setState(pt(e.data,e.dataUpdatedAt)),this.#a=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#c.remove(this)}setData(e,t){const n=Ye(this.state.data,e,this.options);return this.#p({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#p({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#d?.promise;return this.#d?.cancel(e),t?t.then(Ae).catch(Ae):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#a}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==Fe(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Je||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===Ue(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!Le(this.state.dataUpdatedAt,e))}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#d?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#d?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#c.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#d&&(this.#_||this.#h()?this.#d.cancel({revert:!0}):this.#d.cancelRetry()),this.scheduleGc()),this.#c.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#h(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#p({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&"rejected"!==this.#d?.status())if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#d)return this.#d.continueRetry(),this.#d.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#_=!0,n.signal)})},o=()=>{const e=Xe(this.options,t),n=(()=>{const e={client:this.#u,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#_=!1,this.options.persister?this.options.persister(e,n,this):e(n)},s=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#u,state:this.state,fetchFn:o};return r(e),e})();this.options.behavior?.onFetch(s,this),this.#l=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===s.fetchOptions?.meta||this.#p({type:"fetch",meta:s.fetchOptions?.meta}),this.#d=ut({initialPromise:t?.initialPromise,fn:s.fetchFn,onCancel:e=>{e instanceof ct&&e.revert&&this.setState({...this.#l,fetchStatus:"idle"}),n.abort()},onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:()=>{this.#p({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0});try{const e=await this.#d.start();if(void 0===e)throw new Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#c.config.onSuccess?.(e,this),this.#c.config.onSettled?.(e,this.state.error,this),e}catch(i){if(i instanceof ct){if(i.silent)return this.#d.promise;if(i.revert){if(void 0===this.state.data)throw i;return this.state.data}}throw this.#p({type:"error",error:i}),this.#c.config.onError?.(i,this),this.#c.config.onSettled?.(this.state.data,i,this),i}finally{this.scheduleGc()}}#p(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,..._t(t.data,this.options),fetchMeta:e.meta??null};case"success":const n={...t,...pt(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=e.manual?n:void 0,n;case"error":const r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),st.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#c.notify({query:this,type:"updated",action:e})})}};function _t(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:lt(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function pt(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function ht(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var mt=/* @__PURE__ */e({Children:()=>Rt,Component:()=>E,Fragment:()=>k,PureComponent:()=>St,StrictMode:()=>k,Suspense:()=>Ut,SuspenseList:()=>Mt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>on,cloneElement:()=>dn,createContext:()=>B,createElement:()=>g,createFactory:()=>an,createPortal:()=>Ht,createRef:()=>w,default:()=>bn,findDOMNode:()=>_n,flushSync:()=>hn,forwardRef:()=>Nt,hydrate:()=>Zt,isElement:()=>mn,isFragment:()=>cn,isMemo:()=>un,isValidElement:()=>ln,lazy:()=>$t,memo:()=>Tt,render:()=>Qt,startTransition:()=>wt,unmountComponentAtNode:()=>fn,unstable_batchedUpdates:()=>pn,useCallback:()=>he,useContext:()=>me,useDebugValue:()=>be,useDeferredValue:()=>kt,useEffect:()=>ue,useErrorBoundary:()=>ve,useId:()=>ge,useImperativeHandle:()=>_e,useInsertionEffect:()=>xt,useLayoutEffect:()=>de,useMemo:()=>pe,useReducer:()=>ce,useRef:()=>fe,useState:()=>le,useSyncExternalStore:()=>gt,useTransition:()=>Et,version:()=>sn});function bt(e,t){for(var n in t)e[n]=t[n];return e}function vt(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function gt(e,t){var n=t(),r=le({t:{__:n,u:t}}),o=r[0].t,s=r[1];return de(function(){o.__=n,o.u=t,yt(o)&&s({t:o})},[e,n,t]),ue(function(){return yt(o)&&s({t:o}),e(function(){yt(o)&&s({t:o})})},[e]),n}function yt(e){try{return!((t=e.__)===(n=e.u())&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}var t,n}function wt(e){e()}function kt(e){return e}function Et(){return[!1,wt]}var xt=de;function St(e,t){this.props=e,this.context=t}function Tt(e,t){function n(e){var n=this.props.ref;return n!=e.ref&&n&&("function"==typeof n?n(null):n.current=null),t?!t(this.props,e)||n!=e.ref:vt(this.props,e)}function r(t){return this.shouldComponentUpdate=n,g(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.__f=r.prototype.isReactComponent=!0,r.type=e,r}(St.prototype=new E).isPureReactComponent=!0,St.prototype.shouldComponentUpdate=function(e,t){return vt(this.props,e)||vt(this.state,t)};var Ct=n.__b;n.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ct&&Ct(e)};var Ot="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Nt(e){function t(t){var n=bt({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ot,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var It=function(e,t){return null==e?null:R(R(e).map(t))},Rt={map:It,forEach:It,count:function(e){return e?R(e).length:0},only:function(e){var t=R(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:R},At=n.__e;n.__e=function(e,t,n,r){if(e.then)for(var o,s=t;s=s.__;)if((o=s.__c)&&o.__c)return t.__e??(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);At(e,t,n,r)};var Pt=n.unmount;function Dt(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),e.__c.__H=null),null!=(e=bt({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return Dt(e,t,n)})),e}function Lt(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return Lt(e,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Ut(){this.__u=0,this.o=null,this.__b=null}function Ft(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function $t(e){var t,n,r,o=null;function s(s){if(t||(t=e()).then(function(e){e&&(o=e.default||e),r=!0},function(e){n=e,r=!0}),n)throw n;if(!r)throw t;return o?g(o,s):null}return s.displayName="Lazy",s.__f=!0,s}function Mt(){this.i=null,this.l=null}n.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Pt&&Pt(e)},(Ut.prototype=new E).__c=function(e,t){var n=t.__c,r=this;r.o??=[],r.o.push(n);var o=Ft(r.__v),s=!1,i=function(){s||r.__z||(s=!0,n.__R=null,o?o(l):l())};n.__R=i;var a=n.__P;n.__P=null;var l=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Lt(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.__P=a,t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},Ut.prototype.componentWillUnmount=function(){this.o=[]},Ut.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Dt(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&g(k,null,e.fallback);return o&&(o.__u&=-33),[g(k,null,t.__a?null:e.children),o]};var zt=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!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 Gt(e){return this.getChildContext=function(){return e.context},e.children}function jt(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){W(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;null!==r&&!r.__m&&null!==r.__;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}W(g(Gt,{context:t.context},e.__v),t.v)}function Ht(e,t){var n=g(jt,{__v:e,h:t});return n.containerInfo=t,n}(Mt.prototype=new E).__a=function(e){var t=this,n=Ft(t.__v),r=t.l.get(e);return r[0]++,function(o){var s=function(){t.props.revealOrder?(r.push(o),zt(t,e,r)):o()};n?n(s):s()}},Mt.prototype.render=function(e){this.i=null,this.l=/* @__PURE__ */new Map;var t=R(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Mt.prototype.componentDidUpdate=Mt.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){zt(e,n,t)})};var Wt="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Vt=/^(?: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]/,qt=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Bt=/[A-Z0-9]/g,Kt="undefined"!=typeof document,Yt=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Qt(e,t,n){return t.__k??(t.textContent=""),W(e,t),"function"==typeof n&&n(),e?e.__c:null}function Zt(e,t,n){return V(e,t),"function"==typeof n&&n(),e?e.__c:null}E.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(E.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Jt=n.event;n.event=function(e){return Jt&&(e=Jt(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var Xt,en={configurable:!0,get:function(){return this.class}},tn=n.vnode;n.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},o=-1==n.indexOf("-");for(var s in t){var i=t[s];if(!("value"===s&&"defaultValue"in t&&null==i||Kt&&"children"===s&&"noscript"===n||"class"===s||"className"===s)){var a=s.toLowerCase();"defaultValue"===s&&"value"in t&&null==t.value?s="value":"download"===s&&!0===i?i="":"translate"===a&&"no"===i?i=!1:"o"===a[0]&&"n"===a[1]?"ondoubleclick"===a?s="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||Yt(t.type)?"onfocus"===a?s="onfocusin":"onblur"===a?s="onfocusout":qt.test(s)&&(s=a):a=s="oninput":o&&Vt.test(s)?s=s.replace(Bt,"-$&").toLowerCase():null===i&&(i=void 0),"oninput"===a&&r[s=a]&&(s="oninputCapture"),r[s]=i}}"select"==n&&(r.multiple&&Array.isArray(r.value)&&(r.value=R(t.children).forEach(function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)})),null!=r.defaultValue&&(r.value=R(t.children).forEach(function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",en)):t.className&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Wt,tn&&tn(e)};var nn=n.__r;n.__r=function(e){nn&&nn(e),Xt=e.__c};var rn=n.diffed;n.diffed=function(e){rn&&rn(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),Xt=null};var on={ReactCurrentDispatcher:{current:{readContext:function(e){return Xt.__n[e.__c].props.value},useCallback:he,useContext:me,useDebugValue:be,useDeferredValue:kt,useEffect:ue,useId:ge,useImperativeHandle:_e,useInsertionEffect:xt,useLayoutEffect:de,useMemo:pe,useReducer:ce,useRef:fe,useState:le,useSyncExternalStore:gt,useTransition:Et}}},sn="18.3.1";function an(e){return g.bind(null,e)}function ln(e){return!!e&&e.$$typeof===Wt}function cn(e){return ln(e)&&e.type===k}function un(e){return!!e&&"string"==typeof e.displayName&&0==e.displayName.indexOf("Memo(")}function dn(e){return ln(e)?q.apply(null,arguments):e}function fn(e){return!!e.__k&&(W(null,e),!0)}function _n(e){return e&&(e.base||1===e.nodeType&&e)||null}var pn=function(e,t){return e(t)},hn=function(e,t){var r=n.debounceRendering;n.debounceRendering=function(e){return e()};var o=e(t);return n.debounceRendering=r,o},mn=ln,bn={useState:le,useId:ge,useReducer:ce,useEffect:ue,useLayoutEffect:de,useInsertionEffect:xt,useTransition:Et,useDeferredValue:kt,useSyncExternalStore:gt,startTransition:wt,useRef:fe,useImperativeHandle:_e,useMemo:pe,useCallback:he,useContext:me,useDebugValue:be,version:"18.3.1",Children:Rt,render:Qt,hydrate:Zt,unmountComponentAtNode:fn,createPortal:Ht,createElement:g,createContext:B,createFactory:an,cloneElement:dn,createRef:w,Fragment:k,isValidElement:ln,isElement:mn,isFragment:cn,isMemo:un,findDOMNode:_n,Component:E,PureComponent:St,memo:Tt,forwardRef:Nt,flushSync:hn,unstable_batchedUpdates:pn,StrictMode:k,Suspense:Ut,SuspenseList:Mt,lazy:$t,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:on},vn=0;function gn(e,t,r,o,s,i){t||(t={});var a,l,c=t;if("ref"in c)for(l in c={},t)"ref"==l?a=t[l]:c[l]=t[l];var u={type:e,props:c,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--vn,__i:-1,__u:0,__source:s,__self:i};if("function"==typeof e&&(a=e.defaultProps))for(l in a)void 0===c[l]&&(c[l]=a[l]);return n.vnode&&n.vnode(u),u}Array.isArray;var yn=B(void 0),wn=e=>{const t=me(yn);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},kn=({client:e,children:t})=>(ue(()=>(e.mount(),()=>{e.unmount()}),[e]),/* @__PURE__ */gn(yn.Provider,{value:e,children:t})),En={PUBLIC_EVENTS:"/",FOLDER_EVENTS:e=>`/${e}`,LOGIN:"/auth/login",REGISTER:"/auth/register",FORGOT_PASSWORD:"/auth/forgot-password",RESET_PASSWORD:"/auth/reset-password",VERIFY_EMAIL:"/auth/verify-email",GALLERY:e=>`/event/${e}`,UPLOAD:e=>`/event/${e}/upload`,CURATE:e=>`/event/${e}/curate`,LEADERBOARD:e=>`/event/${e}/leaderboard`},xn={ORGANIZATION_SETTINGS:e=>`https://qrati.com/org/${e}/settings`,ORGANIZATION_SETTINGS_INTEGRATION:e=>`https://qrati.com/org/${e}/settings/integration`,ORGANIZATION_DASHBOARD:e=>`https://qrati.com/org/${e}/dashboard`,ORGANIZATION_ADMINS:e=>`https://qrati.com/org/${e}/admins`,EVENT_SETTINGS_BASIC_DETAILS:e=>`https://qrati.com/event/${e}/settings`,EVENT_REVIEW_CONTENTS:e=>`https://qrati.com/event/${e}/review-contents`,EVENT_DEEP_SEARCH:e=>`https://qrati.com/event/${e}/deep-search`,EVENT_GENERATE_ARTICLE:e=>`https://qrati.com/event/${e}/generate-article`,EVENT_ACCESS_REQUESTS:e=>`https://qrati.com/event/${e}/access-requests`,EVENT_SHOT_INSPECTOR:e=>`https://qrati.com/event/${e}/shot-inspector`,EVENT_CURATION_DETAILS:e=>`https://qrati.com/event/${e}/curation-details`},Sn={PUBLIC:"PUBLIC",PRIVATE:"PRIVATE",SECRET:"SECRET"},Tn="https://qrati.com/api/connect",Cn={INITIALIZE_SESSION:`${Tn}/session/initialize`,REGISTER:`${Tn}/auth/register`,LOGIN:`${Tn}/auth/login`,LOGOUT:`${Tn}/auth/logout`,UPDATE_SESSION:`${Tn}/session/update`,ACCEPT_TERMS:`${Tn}/auth/accept-terms`,EXTERNAL_LOGIN:`${Tn}/auth/external-login`,PUBLIC_EVENTS:`${Tn}/event/public-events`,SEARCH_EVENTS:`${Tn}/event/search`,FOLDER_DETAILS:`${Tn}/folder/details`,NESTED_FOLDERS:`${Tn}/folder/nested-folders`,GET_EVENT_POINTS:`${Tn}/event/points`,ELIGIBLE_TO_CURATE:`${Tn}/content/curation-eligibility`,CONTENT_FOR_CURATION:`${Tn}/content/for-curation`,CURATE_CONTENT:`${Tn}/content/curate`,GET_LEADERBOARD:`${Tn}/event/leaderboard`,GET_UPLOAD_COUNT:`${Tn}/event/upload-count`,SINGLE_UPLOAD:`${Tn}/content/single-upload`,UPDATE_REACTION:`${Tn}/content/update-reaction`,EVENT_DATA:`${Tn}/event/details-with-ads-parameters`,UPDATE_EVENT_LAYOUT:`${Tn}/event/update-layout`,GET_EVENT_STATISTICS:`${Tn}/event/statistics`,GET_CONTENTS:`${Tn}/content/for-gallery`,SEARCH_CONTENTS:`${Tn}/content/search`,GET_CONTENTS_COUNT:`${Tn}/content/count`,UPDATE_AD_ANALYTICS:`${Tn}/event/update-ad-analytics`,INCREMENT_EVENT_VIEW:`${Tn}/event/increment-view`,SEND_PASSWORD_RESET_CODE:`${Tn}/auth/send-password-reset-code`,VERIFY_PASSWORD_RESET_CODE:`${Tn}/auth/verify-password-reset-code`,RESET_PASSWORD:`${Tn}/auth/reset-password`,REPORT_ERROR:`${Tn}/session/report-error`},On={OWNER:"owner",ADMIN:"admin",MODERATOR:"moderator"},Nn={IMAGE:"IMAGE",VIDEO:"VIDEO",AD:"AD"},In={ROW:"ROW",COLUMN:"COLUMN",MASONRY:"MASONRY"},Rn={IN_REVIEW:"IN_REVIEW",APPROVED:"APPROVED",REJECTED:"REJECTED"},An={WAITING:"Waiting",UPLOADING:"Uploading",RETRYING:"Retrying",DONE:"Done",FAILED:"Failed",ERROR:"Error"},Pn=1048576,Dn={CLOSED:"CLOSED",OPEN:"OPEN",UPCOMING:"UPCOMING"},Ln={WAITING:"Waiting",PROCESSING:"Processing",DONE:"Done"},Un={TEXT:"text",IMAGE:"image",LOTTIE:"lottie"},Fn={CONTEST:"CONTEST",REACTION:"REACTION"},$n={GRID:"grid",SINGLE:"single"},Mn={POPULAR:"popular",UPLOAD_TIME:"upload",CAPTURE_TIME:"capture"},zn={[Mn.POPULAR]:{label:"Popular",sortField:"score"},[Mn.UPLOAD_TIME]:{label:"Uploaded",sortField:"createdAt"},[Mn.CAPTURE_TIME]:{label:"Captured",sortField:"capturedAt"}},Gn=Mn.UPLOAD_TIME,jn={ASC:"asc",DESC:"desc"},Hn={[jn.ASC]:{label:"Ascending",sortOrder:""},[jn.DESC]:{label:"Descending",sortOrder:"-"}},Wn=jn.DESC,Vn={OWN:"own",CURATED:"curated",ELIGIBLE:"eligible"},qn={NONE:null,LINK:"LINK",EMAIL:"EMAIL",PHONE:"PHONE",SMS:"SMS",WHATSAPP:"WHATSAPP",MESSENGER:"MESSENGER"},Bn={[qn.LINK]:"material-symbols:open-in-new-rounded",[qn.EMAIL]:"material-symbols:alternate-email-rounded",[qn.PHONE]:"material-symbols:call-outline",[qn.SMS]:"material-symbols:sms-outline-rounded",[qn.WHATSAPP]:"logos:whatsapp-icon",[qn.MESSENGER]:"logos:messenger"},Kn={AD_IMPRESSION:"impression",AD_ENGAGEMENT:"engagement",AD_CLICK:"click"},Yn={QRATI_CONNECT_SESSION:"qrati-connect-session",EVENT_IN_REVIEW_COUNT:e=>`in-review-count-${e}`,CONTENTS_BY_EVENT:e=>`contents-by-event-${e}`},Qn='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',Zn=e=>e.trim().replace(/\s+/g," "),Jn=e=>{if(!e)return Qn;const t=Zn("string"==typeof e?e:e.fontFamily||""),n="string"==typeof e?void 0:e.customFontName;return t&&"system"!==t?"custom"===t?`"${n||"QratiCustomFont"}", ${Qn}`:`"${t}", ${Qn}`:Qn},Xn=(e,t)=>{if(!e?.fontFamily||"system"===e.fontFamily)return"";const n=Zn(e.fontFamily);if("custom"===n&&t){const n=e.customFontName||"QratiCustomFont",o=/\.woff2(\?|$)/i.test(t)?"woff2":/\.ttf(\?|$)/i.test(t)?"truetype":"woff";return`@font-face{font-family:"${r=n,r.replace(/"/g,'\\"')}";src:url("${t}") format("${o}");font-weight:400 700;font-style:normal;font-display:swap;}`}var r;const o=(e=>{if(!e)return null;const t=Zn(e);return t&&"system"!==t.toLowerCase()&&"custom"!==t.toLowerCase()?`https://fonts.googleapis.com/css2?family=${t.replace(/\s+/g,"+")}:wght@400;500;600;700&display=swap`:null})(n);return o?`@import url("${o}");`:""};function er(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=er(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function tr(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=er(e))&&(r&&(r+=" "),r+=t);return r}var nr=(e=/* @__PURE__ */new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),rr="-",or=[],sr=e=>{const t=lr(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return ar(e);const n=e.split(rr);return ir(n,""===n[0]&&n.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=r[e],o=n[e];return t?o?((e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n})(o,t):t:o||or}return n[e]||or}}},ir=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],o=n.nextPart.get(r);if(o){const n=ir(e,t+1,o);if(n)return n}const s=n.validators;if(null===s)return;const i=0===t?e.join(rr):e.slice(t).join(rr),a=s.length;for(let l=0;l<a;l++){const e=s[l];if(e.validator(i))return e.classGroupId}},ar=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?"arbitrary.."+r:void 0})(),lr=e=>{const{theme:t,classGroups:n}=e;return cr(n,t)},cr=(e,t)=>{const n=nr();for(const r in e){const o=e[r];ur(o,n,r,t)}return n},ur=(e,t,n,r)=>{const o=e.length;for(let s=0;s<o;s++){const o=e[s];dr(o,t,n,r)}},dr=(e,t,n,r)=>{"string"!=typeof e?"function"!=typeof e?pr(e,t,n,r):_r(e,t,n,r):fr(e,t,n)},fr=(e,t,n)=>{(""===e?t:hr(t,e)).classGroupId=n},_r=(e,t,n,r)=>{mr(e)?ur(e(r),t,n,r):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(n,e)))},pr=(e,t,n,r)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[e,s]=o[i];ur(s,hr(t,e),n,r)}},hr=(e,t)=>{let n=e;const r=t.split(rr),o=r.length;for(let s=0;s<o;s++){const e=r[s];let t=n.nextPart.get(e);t||(t=nr(),n.nextPart.set(e,t)),n=t}return n},mr=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,br=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(o,s)=>{n[o]=s,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(o(e,t),t):void 0},set(e,t){e in n?n[e]=t:o(e,t)}}},vr=[],gr=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),yr=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,s=0;const i=e.length;for(let u=0;u<i;u++){const i=e[u];if(0===r&&0===o){if(":"===i){t.push(e.slice(s,u)),s=u+1;continue}if("/"===i){n=u;continue}}"["===i?r++:"]"===i?r--:"("===i?o++:")"===i&&o--}const a=0===t.length?e:e.slice(s);let l=a,c=!1;return a.endsWith("!")?(l=a.slice(0,-1),c=!0):a.startsWith("!")&&(l=a.slice(1),c=!0),gr(t,c,l,n&&n>s?n-s:void 0)};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):gr(vr,!1,t,void 0,!0)}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},wr=e=>{const t=/* @__PURE__ */new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{const n=[];let r=[];for(let o=0;o<e.length;o++){const s=e[o],i="["===s[0],a=t.has(s);i||a?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(s)):r.push(s)}return r.length>0&&(r.sort(),n.push(...r)),n}},kr=/\s+/,Er=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Er(e[r]))&&(n&&(n+=" "),n+=t);return n},xr=[],Sr=e=>{const t=t=>t[e]||xr;return t.isThemeGetter=!0,t},Tr=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Cr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Or=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Nr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ir=/\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$/,Rr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ar=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Pr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Dr=e=>Or.test(e),Lr=e=>!!e&&!Number.isNaN(Number(e)),Ur=e=>!!e&&Number.isInteger(Number(e)),Fr=e=>e.endsWith("%")&&Lr(e.slice(0,-1)),$r=e=>Nr.test(e),Mr=()=>!0,zr=e=>Ir.test(e)&&!Rr.test(e),Gr=()=>!1,jr=e=>Ar.test(e),Hr=e=>Pr.test(e),Wr=e=>!qr(e)&&!eo(e),Vr=e=>lo(e,_o,Gr),qr=e=>Tr.test(e),Br=e=>lo(e,po,zr),Kr=e=>lo(e,ho,Lr),Yr=e=>lo(e,bo,Mr),Qr=e=>lo(e,mo,Gr),Zr=e=>lo(e,uo,Gr),Jr=e=>lo(e,fo,Hr),Xr=e=>lo(e,vo,jr),eo=e=>Cr.test(e),to=e=>co(e,po),no=e=>co(e,mo),ro=e=>co(e,uo),oo=e=>co(e,_o),so=e=>co(e,fo),io=e=>co(e,vo,!0),ao=e=>co(e,bo,!0),lo=(e,t,n)=>{const r=Tr.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},co=(e,t,n=!1)=>{const r=Cr.exec(e);return!!r&&(r[1]?t(r[1]):n)},uo=e=>"position"===e||"percentage"===e,fo=e=>"image"===e||"url"===e,_o=e=>"length"===e||"size"===e||"bg-size"===e,po=e=>"length"===e,ho=e=>"number"===e,mo=e=>"family-name"===e,bo=e=>"number"===e||"weight"===e,vo=e=>"shadow"===e,go=/* @__PURE__ */((e,...t)=>{let n,r,o,s;const i=e=>{const t=r(e);if(t)return t;const s=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(kr);let l="";for(let c=a.length-1;c>=0;c-=1){const e=a[c],{isExternal:t,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:_}=n(e);if(t){l=e+(l.length>0?" "+l:l);continue}let p=!!_,h=r(p?f.substring(0,_):f);if(!h){if(!p){l=e+(l.length>0?" "+l:l);continue}if(h=r(f),!h){l=e+(l.length>0?" "+l:l);continue}p=!1}const m=0===u.length?"":1===u.length?u[0]:s(u).join(":"),b=d?m+"!":m,v=b+h;if(i.indexOf(v)>-1)continue;i.push(v);const g=o(h,p);for(let n=0;n<g.length;++n){const e=g[n];i.push(b+e)}l=e+(l.length>0?" "+l:l)}return l})(e,n);return o(e,s),s};return s=a=>{var l;return l=t.reduce((e,t)=>t(e),e()),n={cache:br(l.cacheSize),parseClassName:yr(l),sortModifiers:wr(l),...sr(l)},r=n.cache.get,o=n.cache.set,s=i,i(a)},(...e)=>s(((...e)=>{let t,n,r=0,o="";for(;r<e.length;)(t=e[r++])&&(n=Er(t))&&(o&&(o+=" "),o+=n);return o})(...e))})(()=>{const e=Sr("color"),t=Sr("font"),n=Sr("text"),r=Sr("font-weight"),o=Sr("tracking"),s=Sr("leading"),i=Sr("breakpoint"),a=Sr("container"),l=Sr("spacing"),c=Sr("radius"),u=Sr("shadow"),d=Sr("inset-shadow"),f=Sr("text-shadow"),_=Sr("drop-shadow"),p=Sr("blur"),h=Sr("perspective"),m=Sr("aspect"),b=Sr("ease"),v=Sr("animate"),g=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",eo,qr],y=()=>[eo,qr,l],w=()=>[Dr,"full","auto",...y()],k=()=>[Ur,"none","subgrid",eo,qr],E=()=>["auto",{span:["full",Ur,eo,qr]},Ur,eo,qr],x=()=>[Ur,"auto",eo,qr],S=()=>["auto","min","max","fr",eo,qr],T=()=>["auto",...y()],C=()=>[Dr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],O=()=>[Dr,"screen","full","dvw","lvw","svw","min","max","fit",...y()],N=()=>[Dr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...y()],I=()=>[e,eo,qr],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ro,Zr,{position:[eo,qr]}],A=()=>["auto","cover","contain",oo,Vr,{size:[eo,qr]}],P=()=>[Fr,to,Br],D=()=>["","none","full",c,eo,qr],L=()=>["",Lr,to,Br],U=()=>[Lr,Fr,ro,Zr],F=()=>["","none",p,eo,qr],$=()=>["none",Lr,eo,qr],M=()=>["none",Lr,eo,qr],z=()=>[Lr,eo,qr],G=()=>[Dr,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$r],breakpoint:[$r],color:[Mr],container:[$r],"drop-shadow":[$r],ease:["in","out","in-out"],font:[Wr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$r],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$r],shadow:[$r],spacing:["px",Lr],text:[$r],"text-shadow":[$r],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Dr,qr,eo,m]}],container:["container"],columns:[{columns:[Lr,qr,eo,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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:g()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{"inset-s":w(),start:w()}],end:[{"inset-e":w(),end:w()}],"inset-bs":[{"inset-bs":w()}],"inset-be":[{"inset-be":w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[Ur,"auto",eo,qr]}],basis:[{basis:[Dr,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Lr,Dr,"auto","initial","none",qr]}],grow:[{grow:["",Lr,eo,qr]}],shrink:[{shrink:["",Lr,eo,qr]}],order:[{order:[Ur,"first","last","none",eo,qr]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":S()}],"auto-rows":[{"auto-rows":S()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pbs:[{pbs:y()}],pbe:[{pbe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:C()}],"inline-size":[{inline:["auto",...O()]}],"min-inline-size":[{"min-inline":["auto",...O()]}],"max-inline-size":[{"max-inline":["none",...O()]}],"block-size":[{block:["auto",...N()]}],"min-block-size":[{"min-block":["auto",...N()]}],"max-block-size":[{"max-block":["none",...N()]}],w:[{w:[a,"screen",...C()]}],"min-w":[{"min-w":[a,"screen","none",...C()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...C()]}],h:[{h:["screen","lh",...C()]}],"min-h":[{"min-h":["screen","lh","none",...C()]}],"max-h":[{"max-h":["screen","lh",...C()]}],"font-size":[{text:["base",n,to,Br]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ao,Yr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Fr,qr]}],"font-family":[{font:[no,Qr,t]}],"font-features":[{"font-features":[qr]}],"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:[o,eo,qr]}],"line-clamp":[{"line-clamp":[Lr,"none",eo,Kr]}],leading:[{leading:[s,...y()]}],"list-image":[{"list-image":["none",eo,qr]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",eo,qr]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:I()}],"text-color":[{text:I()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[Lr,"from-font","auto",eo,Br]}],"text-decoration-color":[{decoration:I()}],"underline-offset":[{"underline-offset":[Lr,"auto",eo,qr]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",eo,qr]}],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",eo,qr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ur,eo,qr],radial:["",eo,qr],conic:[Ur,eo,qr]},so,Jr]}],"bg-color":[{bg:I()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:I()}],"gradient-via":[{via:I()}],"gradient-to":[{to:I()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-bs":[{"border-bs":L()}],"border-w-be":[{"border-be":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":L()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:I()}],"border-color-x":[{"border-x":I()}],"border-color-y":[{"border-y":I()}],"border-color-s":[{"border-s":I()}],"border-color-e":[{"border-e":I()}],"border-color-bs":[{"border-bs":I()}],"border-color-be":[{"border-be":I()}],"border-color-t":[{"border-t":I()}],"border-color-r":[{"border-r":I()}],"border-color-b":[{"border-b":I()}],"border-color-l":[{"border-l":I()}],"divide-color":[{divide:I()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[Lr,eo,qr]}],"outline-w":[{outline:["",Lr,to,Br]}],"outline-color":[{outline:I()}],shadow:[{shadow:["","none",u,io,Xr]}],"shadow-color":[{shadow:I()}],"inset-shadow":[{"inset-shadow":["none",d,io,Xr]}],"inset-shadow-color":[{"inset-shadow":I()}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:I()}],"ring-offset-w":[{"ring-offset":[Lr,Br]}],"ring-offset-color":[{"ring-offset":I()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":I()}],"text-shadow":[{"text-shadow":["none",f,io,Xr]}],"text-shadow-color":[{"text-shadow":I()}],opacity:[{opacity:[Lr,eo,qr]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"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":[Lr]}],"mask-image-linear-from-pos":[{"mask-linear-from":U()}],"mask-image-linear-to-pos":[{"mask-linear-to":U()}],"mask-image-linear-from-color":[{"mask-linear-from":I()}],"mask-image-linear-to-color":[{"mask-linear-to":I()}],"mask-image-t-from-pos":[{"mask-t-from":U()}],"mask-image-t-to-pos":[{"mask-t-to":U()}],"mask-image-t-from-color":[{"mask-t-from":I()}],"mask-image-t-to-color":[{"mask-t-to":I()}],"mask-image-r-from-pos":[{"mask-r-from":U()}],"mask-image-r-to-pos":[{"mask-r-to":U()}],"mask-image-r-from-color":[{"mask-r-from":I()}],"mask-image-r-to-color":[{"mask-r-to":I()}],"mask-image-b-from-pos":[{"mask-b-from":U()}],"mask-image-b-to-pos":[{"mask-b-to":U()}],"mask-image-b-from-color":[{"mask-b-from":I()}],"mask-image-b-to-color":[{"mask-b-to":I()}],"mask-image-l-from-pos":[{"mask-l-from":U()}],"mask-image-l-to-pos":[{"mask-l-to":U()}],"mask-image-l-from-color":[{"mask-l-from":I()}],"mask-image-l-to-color":[{"mask-l-to":I()}],"mask-image-x-from-pos":[{"mask-x-from":U()}],"mask-image-x-to-pos":[{"mask-x-to":U()}],"mask-image-x-from-color":[{"mask-x-from":I()}],"mask-image-x-to-color":[{"mask-x-to":I()}],"mask-image-y-from-pos":[{"mask-y-from":U()}],"mask-image-y-to-pos":[{"mask-y-to":U()}],"mask-image-y-from-color":[{"mask-y-from":I()}],"mask-image-y-to-color":[{"mask-y-to":I()}],"mask-image-radial":[{"mask-radial":[eo,qr]}],"mask-image-radial-from-pos":[{"mask-radial-from":U()}],"mask-image-radial-to-pos":[{"mask-radial-to":U()}],"mask-image-radial-from-color":[{"mask-radial-from":I()}],"mask-image-radial-to-color":[{"mask-radial-to":I()}],"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":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[Lr]}],"mask-image-conic-from-pos":[{"mask-conic-from":U()}],"mask-image-conic-to-pos":[{"mask-conic-to":U()}],"mask-image-conic-from-color":[{"mask-conic-from":I()}],"mask-image-conic-to-color":[{"mask-conic-to":I()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",eo,qr]}],filter:[{filter:["","none",eo,qr]}],blur:[{blur:F()}],brightness:[{brightness:[Lr,eo,qr]}],contrast:[{contrast:[Lr,eo,qr]}],"drop-shadow":[{"drop-shadow":["","none",_,io,Xr]}],"drop-shadow-color":[{"drop-shadow":I()}],grayscale:[{grayscale:["",Lr,eo,qr]}],"hue-rotate":[{"hue-rotate":[Lr,eo,qr]}],invert:[{invert:["",Lr,eo,qr]}],saturate:[{saturate:[Lr,eo,qr]}],sepia:[{sepia:["",Lr,eo,qr]}],"backdrop-filter":[{"backdrop-filter":["","none",eo,qr]}],"backdrop-blur":[{"backdrop-blur":F()}],"backdrop-brightness":[{"backdrop-brightness":[Lr,eo,qr]}],"backdrop-contrast":[{"backdrop-contrast":[Lr,eo,qr]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Lr,eo,qr]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Lr,eo,qr]}],"backdrop-invert":[{"backdrop-invert":["",Lr,eo,qr]}],"backdrop-opacity":[{"backdrop-opacity":[Lr,eo,qr]}],"backdrop-saturate":[{"backdrop-saturate":[Lr,eo,qr]}],"backdrop-sepia":[{"backdrop-sepia":["",Lr,eo,qr]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",eo,qr]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Lr,"initial",eo,qr]}],ease:[{ease:["linear","initial",b,eo,qr]}],delay:[{delay:[Lr,eo,qr]}],animate:[{animate:["none",v,eo,qr]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,eo,qr]}],"perspective-origin":[{"perspective-origin":g()}],rotate:[{rotate:$()}],"rotate-x":[{"rotate-x":$()}],"rotate-y":[{"rotate-y":$()}],"rotate-z":[{"rotate-z":$()}],scale:[{scale:M()}],"scale-x":[{"scale-x":M()}],"scale-y":[{"scale-y":M()}],"scale-z":[{"scale-z":M()}],"scale-3d":["scale-3d"],skew:[{skew:z()}],"skew-x":[{"skew-x":z()}],"skew-y":[{"skew-y":z()}],transform:[{transform:[eo,qr,"","none","gpu","cpu"]}],"transform-origin":[{origin:g()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:G()}],"translate-x":[{"translate-x":G()}],"translate-y":[{"translate-y":G()}],"translate-z":[{"translate-z":G()}],"translate-none":["translate-none"],accent:[{accent:I()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:I()}],"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",eo,qr]}],"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":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mbs":[{"scroll-mbs":y()}],"scroll-mbe":[{"scroll-mbe":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pbs":[{"scroll-pbs":y()}],"scroll-pbe":[{"scroll-pbe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",eo,qr]}],fill:[{fill:["none",...I()]}],"stroke-w":[{stroke:[Lr,to,Br,Kr]}],stroke:[{stroke:["none",...I()]}],"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"]}}),yo=(...e)=>tr(go(...e.filter(Boolean))),wo=e=>{const t=e.replace(/#/g,"");return(299*parseInt(t.slice(0,2),16)+587*parseInt(t.slice(2,4),16)+114*parseInt(t.slice(4,6),16))/1e3>=128?"#000000":"#FFFFFF"},ko="px",Eo=(e,t="light")=>{const n=e?.themeSettings?.colors??{},r=e?.themeSettings?.border,o=e?.themeSettings?.shadow,s=e?.integrationSettings,i="dark"===t,a=(e,t,r,o)=>{const s=i?o:r;return n[i?t:e]||s},l=a("primaryLight","primaryDark","#ff4800","#ff4800");return{"--background":a("backgroundLight","backgroundDark","#fafafa","#0a0a0a"),"--foreground":a("foregroundLight","foregroundDark","#252629","#f5f5f5"),"--muted":a("mutedLight","mutedDark","#e5e5e5","#171717"),"--muted-foreground":a("mutedForegroundLight","mutedForegroundDark","#484848","#b5b8bb"),"--border":a("borderLight","borderDark","#dddddd","#353538"),"--input":a("inputLight","inputDark","#f5f5f5","#171717"),"--primary":l,"--primary-foreground":wo(l),"--popover":a("popoverLight","popoverDark","#f5f5f5","#171717"),"--popover-foreground":a("popoverForegroundLight","popoverForegroundDark","#252629","#fafafa"),"--info":a("infoLight","infoDark","#2563eb","#5b8def"),"--warning":a("warningLight","warningDark","#f59e0b","#fbbf24"),"--success":a("successLight","successDark","#10b981","#34d399"),"--destructive":a("destructiveLight","destructiveDark","#ef4444","#f87171"),"--border-width":`${r?.width||"1"}${r?.unit||"px"}`,"--radius":`${r?.radius||"10"}${r?.unit||"px"}`,"--shadow-outer-horizontal-offset":`${o?.outerHorizontalOffset||"0"}${o?.unit||ko}`,"--shadow-outer-vertical-offset":`${o?.outerVerticalOffset||"0"}${o?.unit||ko}`,"--shadow-outer-blur":`${o?.outerBlur||"0"}${o?.unit||ko}`,"--shadow-outer-spread":`${o?.outerSpread||"0"}${o?.unit||ko}`,"--font-family":Jn(s)}};export{st as $,Hn as A,he as At,Ut as B,Pn as C,Ce as Ct,Vn as D,le as Dt,Yn as E,de as Et,gt as F,B as Ft,dn as G,mt as H,Nt as I,g as It,ft as J,wt as K,Rt as L,w as Lt,wn as M,ue as Mt,gn as N,W as Nt,Un as O,ge as Ot,Ht as P,q as Pt,it as Q,St as R,k as Rt,xn as S,Oe as St,En as T,pe as Tt,bn as U,hn as V,ln as W,dt as X,_t as Y,ut as Z,Gn as _,Ve as _t,On as a,Xe as at,Dn as b,Le as bt,Bn as c,ze as ct,Mn as d,$e as dt,rt as et,zn as f,Ae as ft,$n as g,Ue as gt,An as h,Fe as ht,Xn as i,Ze as it,kn as j,me as jt,jn as k,ce as kt,Cn as l,De as lt,Nn as m,Ye as mt,Eo as n,tt as nt,Kn as o,Pe as ot,Rn as p,je as pt,$t as q,tr as r,Qe as rt,qn as s,Ge as st,yo as t,nt as tt,Ln as u,Me as ut,Wn as v,et as vt,In as w,fe as wt,Sn as x,Ie as xt,Fn as y,Je as yt,Tt as z,E as zt};
@@ -1,8 +1,8 @@
1
- import{B as e,N as t,q as r}from"./wHbQZdly.js";import{n as s}from"./CudAoK3L.js";var i=r(()=>import("./Cf1QDu0i.js")),n=r(()=>import("./DODG2TX4.js")),o=r(()=>import("./CH2f_afH.js")),a=r(()=>import("./D4xTzxjA.js")),l=({events:r,isLoading:l=!1})=>{const{organization:c}=s(),d=c?.integrationSettings??{},p=d.mapProvider??"openstreetmap",m=d.mapTilerApiKey??"",u=d.googleMapsApiKey??"",f=d.mapboxApiKey??"",x=r.filter(e=>"number"==typeof e.location?.x&&"number"==typeof e.location?.y);/* @__PURE__ */
1
+ import{B as e,N as t,q as r}from"./BiQECCnr.js";import{n as s}from"./ThtSVXLE.js";var i=r(()=>import("./ojjN3KY4.js")),n=r(()=>import("./CkfXzc1_.js")),o=r(()=>import("./gajcOMzQ.js")),a=r(()=>import("./DqOnDVHH.js")),l=({events:r,isLoading:l=!1})=>{const{organization:c}=s(),d=c?.integrationSettings??{},p=d.mapProvider??"openstreetmap",m=d.mapTilerApiKey??"",u=d.googleMapsApiKey??"",f=d.mapboxApiKey??"",h=r.filter(e=>"number"==typeof e.location?.x&&"number"==typeof e.location?.y);/* @__PURE__ */
2
2
  return t("div",{class:"w relative mt-3 h-screen sm:mt-6",children:l?/* @__PURE__ */t("div",{class:"flex h-full items-center justify-center",children:/* @__PURE__ */t("div",{class:"border-primary bt-transparent size-8 animate-spin rounded-full"})}):"openstreetmap"===p&&!m||"google"===p&&!u||"mapbox"===p&&!f?/* @__PURE__ */t("div",{class:"flex h-full items-center justify-center",children:/* @__PURE__ */t("div",{class:"text-center",children:[
3
3
  /* @__PURE__ */t("svg",{xmlns:"http://www.w3.org/2000/svg",class:"text-muted-foreground mx-auto mb-3 size-10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5",children:[/* @__PURE__ */t("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z"}),/* @__PURE__ */t("circle",{cx:"12",cy:"9",r:"2.5"})]}),
4
4
  /* @__PURE__ */t("p",{class:"text-foreground",children:"Map API Key Required"}),
5
- /* @__PURE__ */t("p",{class:"text-muted-foreground mt-1 text-xs",children:"Configure your map provider API key in the integration settings."})]})}):0===x.length?/* @__PURE__ */t("div",{class:"flex h-full items-center justify-center",children:/* @__PURE__ */t("div",{class:"text-center",children:[
5
+ /* @__PURE__ */t("p",{class:"text-muted-foreground mt-1 text-xs",children:"Configure your map provider API key in the integration settings."})]})}):0===h.length?/* @__PURE__ */t("div",{class:"flex h-full items-center justify-center",children:/* @__PURE__ */t("div",{class:"text-center",children:[
6
6
  /* @__PURE__ */t("svg",{xmlns:"http://www.w3.org/2000/svg",class:"text-muted-foreground mx-auto mb-3 size-10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5",children:[/* @__PURE__ */t("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z"}),/* @__PURE__ */t("circle",{cx:"12",cy:"9",r:"2.5"})]}),
7
7
  /* @__PURE__ */t("p",{class:"text-foreground tex",children:"No events with location data"}),
8
- /* @__PURE__ */t("p",{class:"text-muted-foreground mt-1 text-xs",children:"Events need a location to appear on the map."})]})}):/* @__PURE__ */t(e,{fallback:/* @__PURE__ */t("div",{class:"flex h-full items-center justify-center",children:/* @__PURE__ */t("div",{class:"border-primary rounde size-8 animate-spin border-t-transparent"})}),children:["openstreetmap"===p&&/* @__PURE__ */t(i,{events:x,apiKey:m,is3D:!0}),"openstreetmap_free"===p&&/* @__PURE__ */t(n,{events:x}),"google"===p&&/* @__PURE__ */t(o,{events:x,apiKey:u}),"mapbox"===p&&/* @__PURE__ */t(a,{events:x,apiKey:f,is3D:!1})]})})};export{l as default};
8
+ /* @__PURE__ */t("p",{class:"text-muted-foreground mt-1 text-xs",children:"Events need a location to appear on the map."})]})}):/* @__PURE__ */t(e,{fallback:/* @__PURE__ */t("div",{class:"flex h-full items-center justify-center",children:/* @__PURE__ */t("div",{class:"border-primary rounde size-8 animate-spin border-t-transparent"})}),children:["openstreetmap"===p&&/* @__PURE__ */t(i,{events:h,apiKey:m,is3D:!0}),"openstreetmap_free"===p&&/* @__PURE__ */t(n,{events:h}),"google"===p&&/* @__PURE__ */t(o,{events:h,apiKey:u}),"mapbox"===p&&/* @__PURE__ */t(a,{events:h,apiKey:f,is3D:!1})]})})};export{l as default};