skypilot-nightly 1.0.0.dev20250523__py3-none-any.whl → 1.0.0.dev20250526__py3-none-any.whl

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 (95) hide show
  1. sky/__init__.py +2 -2
  2. sky/backends/backend_utils.py +62 -45
  3. sky/backends/cloud_vm_ray_backend.py +3 -1
  4. sky/check.py +335 -170
  5. sky/cli.py +56 -13
  6. sky/client/cli.py +56 -13
  7. sky/client/sdk.py +54 -10
  8. sky/clouds/gcp.py +19 -3
  9. sky/core.py +5 -2
  10. sky/dashboard/out/404.html +1 -1
  11. sky/dashboard/out/_next/static/7GEgRyZKRaSnYZCV1Jwol/_buildManifest.js +1 -0
  12. sky/dashboard/out/_next/static/chunks/25-062253ea41fb8eec.js +6 -0
  13. sky/dashboard/out/_next/static/chunks/480-5a0de8b6570ea105.js +1 -0
  14. sky/dashboard/out/_next/static/chunks/488-50d843fdb5396d32.js +15 -0
  15. sky/dashboard/out/_next/static/chunks/498-d7722313e5e5b4e6.js +21 -0
  16. sky/dashboard/out/_next/static/chunks/573-f17bd89d9f9118b3.js +66 -0
  17. sky/dashboard/out/_next/static/chunks/578-d351125af46c293f.js +6 -0
  18. sky/dashboard/out/_next/static/chunks/734-a6e01d7f98904741.js +1 -0
  19. sky/dashboard/out/_next/static/chunks/937.f97f83652028e944.js +1 -0
  20. sky/dashboard/out/_next/static/chunks/938-59956af3950b02ed.js +1 -0
  21. sky/dashboard/out/_next/static/chunks/9f96d65d-5a3e4af68c26849e.js +1 -0
  22. sky/dashboard/out/_next/static/chunks/pages/_app-96a715a6fb01e228.js +1 -0
  23. sky/dashboard/out/_next/static/chunks/pages/clusters/[cluster]/[job]-3b5aad09a25f64b7.js +1 -0
  24. sky/dashboard/out/_next/static/chunks/pages/clusters/[cluster]-9529d9e882a0e75c.js +16 -0
  25. sky/dashboard/out/_next/static/chunks/pages/clusters-9e6d1ec6e1ac5b29.js +1 -0
  26. sky/dashboard/out/_next/static/chunks/pages/infra-abb7d744ecf15109.js +1 -0
  27. sky/dashboard/out/_next/static/chunks/pages/jobs/[job]-48dc8d67d4b60be1.js +1 -0
  28. sky/dashboard/out/_next/static/chunks/pages/jobs-73d5e0c369d00346.js +16 -0
  29. sky/dashboard/out/_next/static/chunks/pages/users-b8acf6e6735323a2.js +1 -0
  30. sky/dashboard/out/_next/static/chunks/pages/workspace/new-bbf436f41381e169.js +1 -0
  31. sky/dashboard/out/_next/static/chunks/pages/workspaces/[name]-7733c960685b4385.js +1 -0
  32. sky/dashboard/out/_next/static/chunks/pages/workspaces-5ed48b3201b998c8.js +1 -0
  33. sky/dashboard/out/_next/static/chunks/webpack-deda68c926e8d0bc.js +1 -0
  34. sky/dashboard/out/_next/static/css/28558d57108b05ae.css +3 -0
  35. sky/dashboard/out/clusters/[cluster]/[job].html +1 -1
  36. sky/dashboard/out/clusters/[cluster].html +1 -1
  37. sky/dashboard/out/clusters.html +1 -1
  38. sky/dashboard/out/index.html +1 -1
  39. sky/dashboard/out/infra.html +1 -1
  40. sky/dashboard/out/jobs/[job].html +1 -1
  41. sky/dashboard/out/jobs.html +1 -1
  42. sky/dashboard/out/users.html +1 -0
  43. sky/dashboard/out/workspace/new.html +1 -0
  44. sky/dashboard/out/workspaces/[name].html +1 -0
  45. sky/dashboard/out/workspaces.html +1 -0
  46. sky/data/storage.py +1 -1
  47. sky/global_user_state.py +606 -543
  48. sky/jobs/constants.py +1 -1
  49. sky/jobs/server/core.py +72 -56
  50. sky/jobs/state.py +26 -5
  51. sky/jobs/utils.py +65 -13
  52. sky/optimizer.py +6 -3
  53. sky/provision/fluidstack/instance.py +1 -0
  54. sky/serve/server/core.py +9 -6
  55. sky/server/html/token_page.html +6 -1
  56. sky/server/requests/executor.py +1 -0
  57. sky/server/requests/payloads.py +28 -0
  58. sky/server/server.py +59 -5
  59. sky/setup_files/dependencies.py +1 -0
  60. sky/skylet/constants.py +4 -1
  61. sky/skypilot_config.py +107 -11
  62. sky/utils/cli_utils/status_utils.py +18 -8
  63. sky/utils/db_utils.py +53 -0
  64. sky/utils/kubernetes/config_map_utils.py +133 -0
  65. sky/utils/kubernetes/deploy_remote_cluster.py +166 -147
  66. sky/utils/kubernetes/kubernetes_deploy_utils.py +49 -5
  67. sky/utils/kubernetes/ssh-tunnel.sh +20 -28
  68. sky/utils/log_utils.py +4 -0
  69. sky/utils/schemas.py +54 -0
  70. sky/workspaces/__init__.py +0 -0
  71. sky/workspaces/core.py +295 -0
  72. sky/workspaces/server.py +62 -0
  73. {skypilot_nightly-1.0.0.dev20250523.dist-info → skypilot_nightly-1.0.0.dev20250526.dist-info}/METADATA +2 -1
  74. {skypilot_nightly-1.0.0.dev20250523.dist-info → skypilot_nightly-1.0.0.dev20250526.dist-info}/RECORD +79 -63
  75. sky/dashboard/out/_next/static/ECKwDNS9v9y3_IKFZ2lpp/_buildManifest.js +0 -1
  76. sky/dashboard/out/_next/static/chunks/236-1a3a9440417720eb.js +0 -6
  77. sky/dashboard/out/_next/static/chunks/312-c3c8845990db8ffc.js +0 -15
  78. sky/dashboard/out/_next/static/chunks/37-d584022b0da4ac3b.js +0 -6
  79. sky/dashboard/out/_next/static/chunks/393-e1eaa440481337ec.js +0 -1
  80. sky/dashboard/out/_next/static/chunks/480-f28cd152a98997de.js +0 -1
  81. sky/dashboard/out/_next/static/chunks/582-683f4f27b81996dc.js +0 -59
  82. sky/dashboard/out/_next/static/chunks/pages/_app-8cfab319f9fb3ae8.js +0 -1
  83. sky/dashboard/out/_next/static/chunks/pages/clusters/[cluster]/[job]-33bc2bec322249b1.js +0 -1
  84. sky/dashboard/out/_next/static/chunks/pages/clusters/[cluster]-e2fc2dd1955e6c36.js +0 -1
  85. sky/dashboard/out/_next/static/chunks/pages/clusters-3a748bd76e5c2984.js +0 -1
  86. sky/dashboard/out/_next/static/chunks/pages/infra-abf08c4384190a39.js +0 -1
  87. sky/dashboard/out/_next/static/chunks/pages/jobs/[job]-70756c2dad850a7e.js +0 -1
  88. sky/dashboard/out/_next/static/chunks/pages/jobs-ecd804b9272f4a7c.js +0 -1
  89. sky/dashboard/out/_next/static/chunks/webpack-830f59b8404e96b8.js +0 -1
  90. sky/dashboard/out/_next/static/css/7e7ce4ff31d3977b.css +0 -3
  91. /sky/dashboard/out/_next/static/{ECKwDNS9v9y3_IKFZ2lpp → 7GEgRyZKRaSnYZCV1Jwol}/_ssgManifest.js +0 -0
  92. {skypilot_nightly-1.0.0.dev20250523.dist-info → skypilot_nightly-1.0.0.dev20250526.dist-info}/WHEEL +0 -0
  93. {skypilot_nightly-1.0.0.dev20250523.dist-info → skypilot_nightly-1.0.0.dev20250526.dist-info}/entry_points.txt +0 -0
  94. {skypilot_nightly-1.0.0.dev20250523.dist-info → skypilot_nightly-1.0.0.dev20250526.dist-info}/licenses/LICENSE +0 -0
  95. {skypilot_nightly-1.0.0.dev20250523.dist-info → skypilot_nightly-1.0.0.dev20250526.dist-info}/top_level.txt +0 -0
@@ -1,59 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[582],{8711:function(e,t,r){"use strict";r.d(t,{Z:function(){return H}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e,t,r){return e.replace(t,r)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function d(e){return e.length}function f(e,t){return t.push(e),e}var p=1,h=1,m=0,g=0,v=0,y="";function b(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:p,column:h,length:a,return:""}}function w(e,t){return a(b("",null,null,"",null,null,0),e,{length:-e.length},t)}function x(){return v=g<m?u(y,g++):0,h++,10===v&&(h=1,p++),v}function S(){return u(y,g)}function k(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function E(e){return p=h=1,m=d(y=e),g=0,[]}function C(e){var t,r;return(t=g-1,r=function e(t){for(;x();)switch(v){case t:return g;case 34:case 39:34!==t&&39!==t&&e(v);break;case 40:41===t&&e(t);break;case 92:x()}return g}(91===e?e+2:40===e?e+1:e),c(y,t,r)).trim()}var P="-ms-",T="-moz-",M="-webkit-",A="comm",O="rule",R="decl",j="@keyframes";function L(e,t){for(var r="",n=e.length,o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function N(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case R:return e.return=e.return||e.value;case A:return"";case j:return e.return=e.value+"{"+L(e.children,n)+"}";case O:e.value=e.props.join(",")}return d(r=L(e.children,n))?e.return=e.value+"{"+r+"}":""}function I(e,t,r,n,i,a,l,u,d,f,p){for(var h=i-1,m=0===i?a:[""],g=m.length,v=0,y=0,w=0;v<n;++v)for(var x=0,S=c(e,h+1,h=o(y=l[v])),k=e;x<g;++x)(k=(y>0?m[x]+" "+S:s(S,/&\f/g,m[x])).trim())&&(d[w++]=k);return b(e,t,r,0===i?O:u,d,f,p)}function _(e,t,r,n){return b(e,t,r,R,c(e,0,n),c(e,n+1,-1),n)}var D=function(e,t,r){for(var n=0,o=0;n=o,o=S(),38===n&&12===o&&(t[r]=1),!k(o);)x();return c(y,e,g)},F=function(e,t){var r=-1,n=44;do switch(k(n)){case 0:38===n&&12===S()&&(t[r]=1),e[r]+=D(g-1,t,r);break;case 2:e[r]+=C(n);break;case 4:if(44===n){e[++r]=58===S()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}while(n=x());return e},z=function(e,t){var r;return r=F(E(e),t),y="",r},$=new WeakMap,W=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||$.get(r))&&!n){$.set(e,!0);for(var o=[],i=z(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},V=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},B=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case R:e.return=function e(t,r){switch(45^u(t,0)?(((r<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return M+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return M+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return M+t+T+t+P+t+t;case 6828:case 4268:return M+t+P+t+t;case 6165:return M+t+P+"flex-"+t+t;case 5187:return M+t+s(t,/(\w+).+(:[^]+)/,M+"box-$1$2"+P+"flex-$1$2")+t;case 5443:return M+t+P+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return M+t+P+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return M+t+P+s(t,"shrink","negative")+t;case 5292:return M+t+P+s(t,"basis","preferred-size")+t;case 6060:return M+"box-"+s(t,"-grow","")+M+t+P+s(t,"grow","positive")+t;case 4554:return M+s(t,/([^-])(transform)/g,"$1"+M+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,M+"$1"),/(image-set)/,M+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,M+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,M+"box-pack:$3"+P+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+M+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,M+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(t)-1-r>6)switch(u(t,r+1)){case 109:if(45!==u(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+M+"$2-$3$1"+T+(108==u(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==u(t,r+1))break;case 6444:switch(u(t,d(t)-3-(~l(t,"!important")&&10))){case 107:return s(t,":",":"+M)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+M+(45===u(t,14)?"inline-":"")+"box$3$1"+M+"$2$3$1"+P+"$2box$3")+t}break;case 5936:switch(u(t,r+11)){case 114:return M+t+P+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return M+t+P+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return M+t+P+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return M+t+P+t+t}return t}(e.value,e.length);break;case j:return L([w(e,{value:s(e.value,"@","@"+M)})],n);case O:if(e.length){var o,i;return o=e.props,i=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return L([w(e,{props:[s(t,/:(read-\w+)/,":"+T+"$1")]})],n);case"::placeholder":return L([w(e,{props:[s(t,/:(plac\w+)/,":"+M+"input-$1")]}),w(e,{props:[s(t,/:(plac\w+)/,":"+T+"$1")]}),w(e,{props:[s(t,/:(plac\w+)/,P+"input-$1")]})],n)}return""},o.map(i).join("")}}}],H=function(e){var t,r,o,a,m,w,P=e.key;if("css"===P){var T=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(T,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var M=e.stylisPlugins||B,O={},R=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+P+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)O[t[r]]=!0;R.push(e)});var j=(r=(t=[W,V].concat(M,[N,(o=function(e){w.insert(e)},function(e){!e.root&&(e=e.return)&&o(e)})])).length,function(e,n,o,i){for(var a="",s=0;s<r;s++)a+=t[s](e,n,o,i)||"";return a}),D=function(e){var t,r;return L((r=function e(t,r,n,o,a,m,w,E,P){for(var T,M=0,O=0,R=w,j=0,L=0,N=0,D=1,F=1,z=1,$=0,W="",V=a,B=m,H=o,Z=W;F;)switch(N=$,$=x()){case 40:if(108!=N&&58==u(Z,R-1)){-1!=l(Z+=s(C($),"&","&\f"),"&\f")&&(z=-1);break}case 34:case 39:case 91:Z+=C($);break;case 9:case 10:case 13:case 32:Z+=function(e){for(;v=S();)if(v<33)x();else break;return k(e)>2||k(v)>3?"":" "}(N);break;case 92:Z+=function(e,t){for(var r;--t&&x()&&!(v<48)&&!(v>102)&&(!(v>57)||!(v<65))&&(!(v>70)||!(v<97)););return r=g+(t<6&&32==S()&&32==x()),c(y,e,r)}(g-1,7);continue;case 47:switch(S()){case 42:case 47:f(b(T=function(e,t){for(;x();)if(e+v===57)break;else if(e+v===84&&47===S())break;return"/*"+c(y,t,g-1)+"*"+i(47===e?e:x())}(x(),g),r,n,A,i(v),c(T,2,-2),0),P);break;default:Z+="/"}break;case 123*D:E[M++]=d(Z)*z;case 125*D:case 59:case 0:switch($){case 0:case 125:F=0;case 59+O:-1==z&&(Z=s(Z,/\f/g,"")),L>0&&d(Z)-R&&f(L>32?_(Z+";",o,n,R-1):_(s(Z," ","")+";",o,n,R-2),P);break;case 59:Z+=";";default:if(f(H=I(Z,r,n,M,O,a,E,W,V=[],B=[],R),m),123===$){if(0===O)e(Z,r,H,H,V,m,R,E,B);else switch(99===j&&110===u(Z,3)?100:j){case 100:case 108:case 109:case 115:e(t,H,H,o&&f(I(t,H,H,0,0,a,E,W,a,V=[],R),B),a,B,R,E,o?V:B);break;default:e(Z,H,H,H,[""],B,0,E,B)}}}M=O=L=0,D=z=1,W=Z="",R=w;break;case 58:R=1+d(Z),L=N;default:if(D<1){if(123==$)--D;else if(125==$&&0==D++&&125==(v=g>0?u(y,--g):0,h--,10===v&&(h=1,p--),v))continue}switch(Z+=i($),$*D){case 38:z=O>0?1:(Z+="\f",-1);break;case 44:E[M++]=(d(Z)-1)*z,z=1;break;case 64:45===S()&&(Z+=C(x())),j=S(),O=R=d(W=Z+=function(e){for(;!k(S());)x();return c(y,e,g)}(g)),$++;break;case 45:45===N&&2==d(Z)&&(D=0)}}return m}("",null,null,null,[""],t=E(t=e),0,[0],t),y="",r),j)};m=function(e,t,r,n){w=r,D(e?e+"{"+t.styles+"}":t.styles),n&&(F.inserted[t.name]=!0)};var F={key:P,sheet:new n({key:P,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:O,registered:{},insert:m};return F.sheet.hydrate(R),F}},5042:function(e,t,r){"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{Z:function(){return n}})},8741:function(e,t,r){"use strict";r.d(t,{C:function(){return a},T:function(){return l},w:function(){return s}});var n=r(7294),o=r(8711);r(5662),r(7278);var i=n.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null),a=i.Provider,s=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(i),r)})},l=n.createContext({})},917:function(e,t,r){"use strict";r.d(t,{F4:function(){return c},iv:function(){return u},xB:function(){return l}});var n=r(8741),o=r(7294),i=r(444),a=r(7278),s=r(5662);r(8711),r(8679);var l=(0,n.w)(function(e,t){var r=e.styles,l=(0,s.O)([r],void 0,o.useContext(n.T)),u=o.useRef();return(0,a.j)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),u.current=[r,n],function(){r.flush()}},[t]),(0,a.j)(function(){var e=u.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==l.next&&(0,i.My)(t,l.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",l,r,!1)},[t,l.name]),null});function u(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.O)(t)}var c=function(){var e=u.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},5662:function(e,t,r){"use strict";r.d(t,{O:function(){return h}});var n,o={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=r(5042),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},c=(0,i.Z)(function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()}),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,function(e,t,r){return n={name:t,styles:r,next:n},t})}return 1===o[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function f(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var o=r.next;if(void 0!==o)for(;void 0!==o;)n={name:o.name,styles:o.styles,next:n},o=o.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=f(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=i+"{"+t[a]+"}":u(a)&&(n+=c(i)+":"+d(i,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)u(a[s])&&(n+=c(i)+":"+d(i,a[s])+";");else{var l=f(e,t,a);switch(i){case"animation":case"animationName":n+=c(i)+":"+l+";";break;default:n+=i+"{"+l+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var i=n,a=r(e);return n=i,f(e,t,a)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;function h(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o,i=!0,a="";n=void 0;var s=e[0];null==s||void 0===s.raw?(i=!1,a+=f(r,t,s)):a+=s[0];for(var l=1;l<e.length;l++)a+=f(r,t,e[l]),i&&(a+=s[l]);p.lastIndex=0;for(var u="";null!==(o=p.exec(a));)u+="-"+o[1];return{name:function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+u,styles:a,next:n}}},7278:function(e,t,r){"use strict";r.d(t,{L:function(){return a},j:function(){return s}});var n,o=r(7294),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,a=i||function(e){return e()},s=i||o.useLayoutEffect},444:function(e,t,r){"use strict";function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "}),n}r.d(t,{My:function(){return i},fp:function(){return n},hC:function(){return o}});var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}}},3534:function(e,t,r){"use strict";let n;r.r(t),r.d(t,{GlobalStyles:function(){return S},StyledEngineProvider:function(){return x},ThemeContext:function(){return u.T},css:function(){return y.iv},default:function(){return k},internal_processStyles:function(){return E},keyframes:function(){return y.F4}});var o=r(7462),i=r(7294),a=r(5042),s=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=(0,a.Z)(function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),u=r(8741),c=r(444),d=r(5662),f=r(7278),p=function(e){return"theme"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?l:p},m=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.hC)(t,r,n),(0,f.L)(function(){return(0,c.My)(t,r,n)}),null},v=(function e(t,r){var n,a,s=t.__emotion_real===t,l=s&&t.__emotion_base||t;void 0!==r&&(n=r.label,a=r.target);var f=m(t,r,s),p=f||h(l),v=!p("as");return function(){var y=arguments,b=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&b.push("label:"+n+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{b.push(y[0][0]);for(var w=y.length,x=1;x<w;x++)b.push(y[x],y[0][x])}var S=(0,u.w)(function(e,t,r){var n=v&&e.as||l,o="",s=[],m=e;if(null==e.theme){for(var y in m={},e)m[y]=e[y];m.theme=i.useContext(u.T)}"string"==typeof e.className?o=(0,c.fp)(t.registered,s,e.className):null!=e.className&&(o=e.className+" ");var w=(0,d.O)(b.concat(s),t.registered,m);o+=t.key+"-"+w.name,void 0!==a&&(o+=" "+a);var x=v&&void 0===f?h(n):p,S={};for(var k in e)(!v||"as"!==k)&&x(k)&&(S[k]=e[k]);return S.className=o,r&&(S.ref=r),i.createElement(i.Fragment,null,i.createElement(g,{cache:t,serialized:w,isStringTag:"string"==typeof n}),i.createElement(n,S))});return S.displayName=void 0!==n?n:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",S.defaultProps=t.defaultProps,S.__emotion_real=S,S.__emotion_base=l,S.__emotion_styles=b,S.__emotion_forwardProp=f,Object.defineProperty(S,"toString",{value:function(){return"."+a}}),S.withComponent=function(t,n){return e(t,(0,o.Z)({},r,n,{shouldForwardProp:m(S,n,!0)})).apply(void 0,b)},S}}).bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){v[e]=v(e)});var y=r(917),b=r(8711),w=r(5893);function x(e){let{injectFirst:t,children:r}=e;return t&&n?(0,w.jsx)(u.C,{value:n,children:r}):r}function S(e){let{styles:t,defaultTheme:r={}}=e,n="function"==typeof t?e=>t(null==e||0===Object.keys(e).length?r:e):t;return(0,w.jsx)(y.xB,{styles:n})}function k(e,t){return v(e,t)}"object"==typeof document&&(n=(0,b.Z)({key:"css",prepend:!0}));let E=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},2101:function(e,t,r){"use strict";var n=r(4836);t._j=function(e,t){if(e=s(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)},t.mi=function(e,t){let r=u(e),n=u(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.$n=function(e,t){if(e=s(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)};var o=n(r(5480)),i=n(r(2340));function a(e,t=0,r=1){return(0,i.default)(e,t,r)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),n=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw Error((0,o.default)(9,e));let i=e.substring(r+1,e.length-1);if("color"===n){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,o.default)(10,t))}else i=i.split(",");return{type:n,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:r}=e,{values:n}=e;return -1!==t.indexOf("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function u(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){let{values:t}=e=s(e),r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1),u="rgb",c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),l({type:u,values:c})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},8128:function(e,t,r){"use strict";var n=r(4836);t.ZP=function(e={}){let{themeId:t,defaultTheme:r=m,rootShouldForwardProp:n=h,slotShouldForwardProp:l=h}=e,c=e=>(0,u.default)((0,o.default)({},e,{theme:v((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return c.__mui_systemSx=!0,(e,u={})=>{var d;let p;(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:b,skipVariantsResolver:w,skipSx:x,overridesResolver:S=(d=g(b))?(e,t)=>t[d]:null}=u,k=(0,i.default)(u,f),E=void 0!==w?w:b&&"Root"!==b&&"root"!==b||!1,C=x||!1,P=h;"Root"===b||"root"===b?P=n:b?P=l:"string"==typeof e&&e.charCodeAt(0)>96&&(P=void 0);let T=(0,a.default)(e,(0,o.default)({shouldForwardProp:P,label:p},k)),M=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?n=>y(e,(0,o.default)({},n,{theme:v({theme:n.theme,defaultTheme:r,themeId:t})})):e,A=(n,...i)=>{let a=M(n),s=i?i.map(M):[];m&&S&&s.push(e=>{let n=v((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[m]||!n.components[m].styleOverrides)return null;let i=n.components[m].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=y(r,(0,o.default)({},e,{theme:n}))}),S(e,a)}),m&&!E&&s.push(e=>{var n;let i=v((0,o.default)({},e,{defaultTheme:r,themeId:t}));return y({variants:null==i||null==(n=i.components)||null==(n=n[m])?void 0:n.variants},(0,o.default)({},e,{theme:i}))}),C||s.push(c);let l=s.length-i.length;if(Array.isArray(n)&&l>0){let e=Array(l).fill("");(a=[...n,...e]).raw=[...n.raw,...e]}let u=T(a,...s);return e.muiName&&(u.muiName=e.muiName),u};return T.withConfig&&(A.withConfig=T.withConfig),A}};var o=n(r(434)),i=n(r(7071)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(void 0);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(3534)),s=r(8524);n(r(7641)),n(r(2125));var l=n(r(9926)),u=n(r(9633));let c=["ownerState"],d=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function v({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function y(e,t){let{ownerState:r}=t,n=(0,i.default)(t,c),a="function"==typeof e?e((0,o.default)({ownerState:r},n)):e;if(Array.isArray(a))return a.flatMap(e=>y(e,(0,o.default)({ownerState:r},n)));if(a&&"object"==typeof a&&Array.isArray(a.variants)){let{variants:e=[]}=a,t=(0,i.default)(a,d);return e.forEach(e=>{let i=!0;"function"==typeof e.props?i=e.props((0,o.default)({ownerState:r},n,r)):Object.keys(e.props).forEach(t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(i=!1)}),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.default)({ownerState:r},n,r)):e.style))}),t}return a}},5408:function(e,t,r){"use strict";r.d(t,{L7:function(){return s},VO:function(){return n},W8:function(){return a},k9:function(){return i}});let n={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function i(e,t,r){let i=e.theme||{};if(Array.isArray(t)){let e=i.breakpoints||o;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){let e=i.breakpoints||o;return Object.keys(t).reduce((o,i)=>(-1!==Object.keys(e.values||n).indexOf(i)?o[e.up(i)]=r(t[i],i):o[i]=t[i],o),{})}return r(t)}function a(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,r)=>(t[e.up(r)]={},t),{}))||{}}function s(e,t){return e.reduce((e,t)=>{let r=e[t];return r&&0!==Object.keys(r).length||delete e[t],e},t)}},7064:function(e,t,r){"use strict";function n(e,t){return this.vars&&"function"==typeof this.getColorSchemeSelector?{[this.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:this.palette.mode===e?t:{}}r.d(t,{Z:function(){return n}})},1512:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(3366),o=r(7462);let i=["values","unit","step"],a=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>(0,o.Z)({},e,{[t.key]:t.val}),{})};function s(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:s=5}=e,l=(0,n.Z)(e,i),u=a(t),c=Object.keys(u);function d(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function f(e){let n="number"==typeof t[e]?t[e]:e;return`@media (max-width:${n-s/100}${r})`}function p(e,n){let o=c.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[c[o]]?t[c[o]]:n)-s/100}${r})`}return(0,o.Z)({keys:c,values:u,up:d,down:f,between:p,only:function(e){return c.indexOf(e)+1<c.length?p(e,c[c.indexOf(e)+1]):d(e)},not:function(e){let t=c.indexOf(e);return 0===t?d(c[1]):t===c.length-1?f(c[t]):p(e,c[c.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},l)}},7172:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(7462),o=r(3366),i=r(4953),a=r(1512),s={borderRadius:4},l=r(8700),u=r(6523),c=r(4920),d=r(7064);let f=["breakpoints","palette","spacing","shape"];var p=function(e={},...t){let{breakpoints:r={},palette:p={},spacing:h,shape:m={}}=e,g=(0,o.Z)(e,f),v=(0,a.Z)(r),y=function(e=8){if(e.mui)return e;let t=(0,l.hB)({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}(h),b=(0,i.Z)({breakpoints:v,direction:"ltr",components:{},palette:(0,n.Z)({mode:"light"},p),spacing:y,shape:(0,n.Z)({},s,m)},g);return b.applyStyles=d.Z,(b=t.reduce((e,t)=>(0,i.Z)(e,t),b)).unstable_sxConfig=(0,n.Z)({},c.Z,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,u.Z)({sx:e,theme:this})},b}},9926:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},private_createBreakpoints:function(){return o.Z},unstable_applyStyles:function(){return i.Z}});var n=r(7172),o=r(1512),i=r(7064)},7730:function(e,t,r){"use strict";var n=r(4953);t.Z=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},8700:function(e,t,r){"use strict";r.d(t,{hB:function(){return h},eI:function(){return p},NA:function(){return m},e6:function(){return v},o3:function(){return y}});var n=r(5408),o=r(4844),i=r(7730);let a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}let[t,r]=e.split(""),n=a[t],o=s[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[...c,...d];function p(e,t,r,n){var i;let a=null!=(i=(0,o.DW)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>void 0}function h(e){return p(e,"spacing",8,"spacing")}function m(e,t){if("string"==typeof t||null==t)return t;let r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function g(e,t){let r=h(e.theme);return Object.keys(e).map(o=>(function(e,t,r,o){var i;if(-1===t.indexOf(r))return null;let a=(i=u(r),e=>i.reduce((t,r)=>(t[r]=m(o,e),t),{})),s=e[r];return(0,n.k9)(e,s,a)})(e,t,o,r)).reduce(i.Z,{})}function v(e){return g(e,c)}function y(e){return g(e,d)}function b(e){return g(e,f)}v.propTypes={},v.filterProps=c,y.propTypes={},y.filterProps=d,b.propTypes={},b.filterProps=f},4844:function(e,t,r){"use strict";r.d(t,{DW:function(){return i},Jq:function(){return a}});var n=r(4142),o=r(5408);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}t.ZP=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,u=e=>{if(null==e[t])return null;let u=e[t],c=i(e.theme,s)||{};return(0,o.k9)(e,u,e=>{let o=a(c,l,e);return(e===o&&"string"==typeof e&&(o=a(c,l,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r)?o:{[r]:o}})};return u.propTypes={},u.filterProps=[t],u}},4920:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var n=r(8700),o=r(4844),i=r(7730),a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.Z)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r},s=r(5408);function l(e){return"number"!=typeof e?e:`${e}px solid`}function u(e,t){return(0,o.ZP)({prop:e,themeKey:"borders",transform:t})}let c=u("border",l),d=u("borderTop",l),f=u("borderRight",l),p=u("borderBottom",l),h=u("borderLeft",l),m=u("borderColor"),g=u("borderTopColor"),v=u("borderRightColor"),y=u("borderBottomColor"),b=u("borderLeftColor"),w=u("outline",l),x=u("outlineColor"),S=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,s.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};S.propTypes={},S.filterProps=["borderRadius"],a(c,d,f,p,h,m,g,v,y,b,S,w,x);let k=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,s.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};k.propTypes={},k.filterProps=["gap"];let E=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,s.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};E.propTypes={},E.filterProps=["columnGap"];let C=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,s.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};C.propTypes={},C.filterProps=["rowGap"];let P=(0,o.ZP)({prop:"gridColumn"}),T=(0,o.ZP)({prop:"gridRow"}),M=(0,o.ZP)({prop:"gridAutoFlow"}),A=(0,o.ZP)({prop:"gridAutoColumns"}),O=(0,o.ZP)({prop:"gridAutoRows"}),R=(0,o.ZP)({prop:"gridTemplateColumns"});function j(e,t){return"grey"===t?t:e}function L(e){return e<=1&&0!==e?`${100*e}%`:e}a(k,E,C,P,T,M,A,O,R,(0,o.ZP)({prop:"gridTemplateRows"}),(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"})),a((0,o.ZP)({prop:"color",themeKey:"palette",transform:j}),(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:j}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:j}));let N=(0,o.ZP)({prop:"width",transform:L}),I=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,s.k9)(e,e.maxWidth,t=>{var r,n;let o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||s.VO[t];return o?(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:L(t)}}):null;I.filterProps=["maxWidth"];let _=(0,o.ZP)({prop:"minWidth",transform:L}),D=(0,o.ZP)({prop:"height",transform:L}),F=(0,o.ZP)({prop:"maxHeight",transform:L}),z=(0,o.ZP)({prop:"minHeight",transform:L});(0,o.ZP)({prop:"size",cssProperty:"width",transform:L}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:L}),a(N,I,_,D,F,z,(0,o.ZP)({prop:"boxSizing"}));var $={border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:S},color:{themeKey:"palette",transform:j},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:j},backgroundColor:{themeKey:"palette",transform:j},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:k},rowGap:{style:C},columnGap:{style:E},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:L},maxWidth:{style:I},minWidth:{transform:L},height:{transform:L},maxHeight:{transform:L},minHeight:{transform:L},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},9633:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},extendSxProp:function(){return c},unstable_createStyleFunctionSx:function(){return n.n},unstable_defaultSxConfig:function(){return s.Z}});var n=r(6523),o=r(7462),i=r(3366),a=r(4953),s=r(4920);let l=["sx"],u=e=>{var t,r;let n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:s.Z;return Object.keys(e).forEach(t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n};function c(e){let t;let{sx:r}=e,{systemProps:n,otherProps:s}=u((0,i.Z)(e,l));return t=Array.isArray(r)?[n,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,a.P)(t)?(0,o.Z)({},n,t):n}:(0,o.Z)({},n,r),(0,o.Z)({},s,{sx:t})}},6523:function(e,t,r){"use strict";r.d(t,{n:function(){return l}});var n=r(4142),o=r(7730),i=r(4844),a=r(5408),s=r(4920);function l(){function e(e,t,r,o){let s={[e]:t,theme:r},l=o[e];if(!l)return{[e]:t};let{cssProperty:u=e,themeKey:c,transform:d,style:f}=l;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};let p=(0,i.DW)(r,c)||{};return f?f(s):(0,a.k9)(s,t,t=>{let r=(0,i.Jq)(p,d,t);return(t===r&&"string"==typeof t&&(r=(0,i.Jq)(p,d,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===u)?r:{[u]:r}})}return function t(r){var n;let{sx:i,theme:l={}}=r||{};if(!i)return null;let u=null!=(n=l.unstable_sxConfig)?n:s.Z;function c(r){let n=r;if("function"==typeof r)n=r(l);else if("object"!=typeof r)return r;if(!n)return null;let i=(0,a.W8)(l.breakpoints),s=Object.keys(i),c=i;return Object.keys(n).forEach(r=>{var i;let s="function"==typeof(i=n[r])?i(l):i;if(null!=s){if("object"==typeof s){if(u[r])c=(0,o.Z)(c,e(r,s,l,u));else{let e=(0,a.k9)({theme:l},s,e=>({[r]:e}));(function(...e){let t=new Set(e.reduce((e,t)=>e.concat(Object.keys(t)),[]));return e.every(e=>t.size===Object.keys(e).length)})(e,s)?c[r]=t({sx:s,theme:l}):c=(0,o.Z)(c,e)}}else c=(0,o.Z)(c,e(r,s,l,u))}}),(0,a.L7)(s,c)}return Array.isArray(i)?i.map(c):c(i)}}let u=l();u.filterProps=["sx"],t.Z=u},4142:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(6535);function o(e){if("string"!=typeof e)throw Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},7641:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(4142)},2340:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});var n=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},4953:function(e,t,r){"use strict";r.d(t,{P:function(){return o},Z:function(){return function e(t,r,i={clone:!0}){let a=i.clone?(0,n.Z)({},t):t;return o(t)&&o(r)&&Object.keys(r).forEach(n=>{o(r[n])&&Object.prototype.hasOwnProperty.call(t,n)&&o(t[n])?a[n]=e(t[n],r[n],i):i.clone?a[n]=o(r[n])?function e(t){if(!o(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[n]):r[n]:a[n]=r[n]}),a}}});var n=r(7462);function o(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}},8524:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},isPlainObject:function(){return n.P}});var n=r(4953)},6535:function(e,t,r){"use strict";function n(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}r.d(t,{Z:function(){return n}})},5480:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(6535)},2125:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l},getFunctionName:function(){return i}});var n=r(217);let o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(o);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,r){let n=a(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.ForwardRef:return s(e,e.render,"ForwardRef");case n.Memo:return s(e,e.type,"memo")}}}},7001:function(e,t){"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context");/**
2
- * @license React
3
- * react-is.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var r=Symbol.for("react.forward_ref"),n=(Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"));Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.module.reference"),t.ForwardRef=r,t.Memo=n},217:function(e,t,r){"use strict";e.exports=r(7001)},3541:function(e,t,r){"use strict";r.d(t,{Ry:function(){return u}});var n=new WeakMap,o=new WeakMap,i={},a=0,s=function(e){return e&&(e.host||s(e.parentNode))},l=function(e,t,r,l){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=s(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});i[r]||(i[r]=new WeakMap);var c=i[r],d=[],f=new Set,p=new Set(u),h=function(e){!e||f.has(e)||(f.add(e),h(e.parentNode))};u.forEach(h);var m=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))m(e);else try{var t=e.getAttribute(l),i=null!==t&&"false"!==t,a=(n.get(e)||0)+1,s=(c.get(e)||0)+1;n.set(e,a),c.set(e,s),d.push(e),1===a&&i&&o.set(e,!0),1===s&&e.setAttribute(r,"true"),i||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),f.clear(),a++,function(){d.forEach(function(e){var t=n.get(e)-1,i=c.get(e)-1;n.set(e,t),c.set(e,i),t||(o.has(e)||e.removeAttribute(l),o.delete(e)),i||e.removeAttribute(r)}),--a||(n=new WeakMap,n=new WeakMap,o=new WeakMap,i={})}},u=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),l(n,o,r,"aria-hidden")):function(){return null}}},8679:function(e,t,r){"use strict";var n=r(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var a=c(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),g=0;g<a.length;++g){var v=a[g];if(!i[v]&&!(n&&n[v])&&!(m&&m[v])&&!(s&&s[v])){var y=f(r,v);try{u(t,v,y)}catch(e){}}}}return t}},3454:function(e,t,r){"use strict";var n,o;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(o=r.g.process)?void 0:o.env)?r.g.process:r(7663)},8799:function(e,t,r){"use strict";let n;function o(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{Z:function(){return eh}});var i=r(3366),a=r(7462),s=r(7294),l=r(512),u=r(917),c=r(4142).Z;function d(e,t){let r=(0,a.Z)({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=(0,a.Z)({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){let o=e[n]||{},i=t[n];r[n]={},i&&Object.keys(i)?o&&Object.keys(o)?(r[n]=(0,a.Z)({},i),Object.keys(o).forEach(e=>{r[n][e]=d(o[e],i[e])})):r[n]=i:r[n]=o}else void 0===r[n]&&(r[n]=e[n])}),r}var f=r(5893);let p=s.createContext(void 0);var h=r(8128),m=r(6535),g=r(4953),v=r(4920),y=r(6523),b=r(7172),w=r(2101),x={black:"#000",white:"#fff"},S={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},k={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},E={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},C={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},P={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},T={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},M={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};let A=["mode","contrastThreshold","tonalOffset"],O={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:x.white,default:x.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},R={text:{primary:x.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:x.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function j(e,t,r,n){let o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,w.$n)(e.main,o):"dark"===t&&(e.dark=(0,w._j)(e.main,i)))}let L=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],N={textTransform:"uppercase"},I='"Roboto", "Helvetica", "Arial", sans-serif';function _(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return["".concat(t[0],"px ").concat(t[1],"px ").concat(t[2],"px ").concat(t[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(t[4],"px ").concat(t[5],"px ").concat(t[6],"px ").concat(t[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(t[8],"px ").concat(t[9],"px ").concat(t[10],"px ").concat(t[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}let D=["none",_(0,2,1,-1,0,1,1,0,0,1,3,0),_(0,3,1,-2,0,2,2,0,0,1,5,0),_(0,3,3,-2,0,3,4,0,0,1,8,0),_(0,2,4,-1,0,4,5,0,0,1,10,0),_(0,3,5,-1,0,5,8,0,0,1,14,0),_(0,3,5,-1,0,6,10,0,0,1,18,0),_(0,4,5,-2,0,7,10,1,0,2,16,1),_(0,5,5,-3,0,8,10,1,0,3,14,2),_(0,5,6,-3,0,9,12,1,0,3,16,2),_(0,6,6,-3,0,10,14,1,0,4,18,3),_(0,6,7,-4,0,11,15,1,0,4,20,3),_(0,7,8,-4,0,12,17,2,0,5,22,4),_(0,7,8,-4,0,13,19,2,0,5,24,4),_(0,7,9,-4,0,14,21,2,0,5,26,4),_(0,8,9,-5,0,15,22,2,0,6,28,5),_(0,8,10,-5,0,16,24,2,0,6,30,5),_(0,8,11,-5,0,17,26,2,0,6,32,5),_(0,9,11,-5,0,18,28,2,0,7,34,6),_(0,9,12,-6,0,19,29,2,0,7,36,6),_(0,10,13,-6,0,20,31,3,0,8,38,7),_(0,10,13,-6,0,21,33,3,0,8,40,7),_(0,10,14,-6,0,22,35,3,0,8,42,7),_(0,11,14,-7,0,23,36,3,0,9,44,8),_(0,11,15,-7,0,24,38,3,0,9,46,8)],F=["duration","easing","delay"],z={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},$={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function W(e){return"".concat(Math.round(e),"ms")}function V(e){if(!e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}var B={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};let H=["breakpoints","mixins","spacing","palette","transitions","typography","shape"],Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t,r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];let{mixins:s={},palette:l={},transitions:u={},typography:c={}}=e,d=(0,i.Z)(e,H);if(e.vars)throw Error((0,m.Z)(18));let f=function(e){let{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=(0,i.Z)(e,A),s=e.primary||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:P[200],light:P[50],dark:P[400]}:{main:P[700],light:P[400],dark:P[800]}}(t),l=e.secondary||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:k[200],light:k[50],dark:k[400]}:{main:k[500],light:k[300],dark:k[700]}}(t),u=e.error||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:E[500],light:E[300],dark:E[700]}:{main:E[700],light:E[400],dark:E[800]}}(t),c=e.info||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:T[400],light:T[300],dark:T[700]}:{main:T[700],light:T[500],dark:T[900]}}(t),d=e.success||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:M[400],light:M[300],dark:M[700]}:{main:M[800],light:M[500],dark:M[900]}}(t),f=e.warning||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:C[400],light:C[300],dark:C[700]}:{main:"#ed6c02",light:C[500],dark:C[900]}}(t);function p(e){return(0,w.mi)(e,R.text.primary)>=r?R.text.primary:O.text.primary}let h=e=>{let{color:t,name:r,mainShade:o=500,lightShade:i=300,darkShade:s=700}=e;if(!(t=(0,a.Z)({},t)).main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw Error((0,m.Z)(11,r?" (".concat(r,")"):"",o));if("string"!=typeof t.main)throw Error((0,m.Z)(12,r?" (".concat(r,")"):"",JSON.stringify(t.main)));return j(t,"light",i,n),j(t,"dark",s,n),t.contrastText||(t.contrastText=p(t.main)),t};return(0,g.Z)((0,a.Z)({common:(0,a.Z)({},x),mode:t,primary:h({color:s,name:"primary"}),secondary:h({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:u,name:"error"}),warning:h({color:f,name:"warning"}),info:h({color:c,name:"info"}),success:h({color:d,name:"success"}),grey:S,contrastThreshold:r,getContrastText:p,augmentColor:h,tonalOffset:n},{dark:R,light:O}[t]),o)}(l),p=(0,b.Z)(e),h=(0,g.Z)(p,{mixins:(t=p.breakpoints,(0,a.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},s)),palette:f,shadows:D.slice(),typography:function(e,t){let r="function"==typeof t?t(e):t,{fontFamily:n=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:c=700,htmlFontSize:d=16,allVariants:f,pxToRem:p}=r,h=(0,i.Z)(r,L),m=o/14,v=p||(e=>"".concat(e/d*m,"rem")),y=(e,t,r,o,i)=>(0,a.Z)({fontFamily:n,fontWeight:e,fontSize:v(t),lineHeight:r},n===I?{letterSpacing:"".concat(Math.round(o/t*1e5)/1e5,"em")}:{},i,f),b={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(u,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(u,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(u,14,1.75,.4,N),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,N),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,g.Z)((0,a.Z)({htmlFontSize:d,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:c},b),h,{clone:!1})}(f,c),transitions:function(e){let t=(0,a.Z)({},z,e.easing),r=(0,a.Z)({},$,e.duration);return(0,a.Z)({getAutoHeightDuration:V,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{duration:o=r.standard,easing:a=t.easeInOut,delay:s=0}=n;return(0,i.Z)(n,F),(Array.isArray(e)?e:[e]).map(e=>"".concat(e," ").concat("string"==typeof o?o:W(o)," ").concat(a," ").concat("string"==typeof s?s:W(s))).join(",")}},e,{easing:t,duration:r})}(u),zIndex:(0,a.Z)({},B)});return h=(0,g.Z)(h,d),(h=n.reduce((e,t)=>(0,g.Z)(e,t),h)).unstable_sxConfig=(0,a.Z)({},v.Z,null==d?void 0:d.unstable_sxConfig),h.unstable_sx=function(e){return(0,y.Z)({sx:e,theme:this})},h}(),K=(0,h.ZP)({themeId:"$$material",defaultTheme:Z,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e}),Y=e=>e,U=(n=Y,{configure(e){n=e},generate:e=>n(e),reset(){n=Y}}),G={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function X(e,t,r="Mui"){let n=G[t];return n?`${r}-${n}`:`${U.generate(e)}-${t}`}function q(e){return X("MuiCircularProgress",e)}function J(){let e=o(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"]);return J=function(){return e},e}function Q(){let e=o(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n"]);return Q=function(){return e},e}function ee(){let e=o(["\n animation: "," 1.4s linear infinite;\n "]);return ee=function(){return e},e}function et(){let e=o(["\n animation: "," 1.4s ease-in-out infinite;\n "]);return et=function(){return e},e}!function(e,t,r="Mui"){let n={};t.forEach(t=>{n[t]=X(e,t,r)})}("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);let er=["className","color","disableShrink","size","style","thickness","value","variant"],en=e=>e,eo,ei,ea,es,el=(0,u.F4)(eo||(eo=en(J()))),eu=(0,u.F4)(ei||(ei=en(Q()))),ec=e=>{let{classes:t,variant:r,color:n,disableShrink:o}=e;return function(e,t,r){let n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((e,n)=>{if(n){let o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e},[]).join(" ")}),n}({root:["root",r,"color".concat(c(n))],svg:["svg"],circle:["circle","circle".concat(c(r)),o&&"circleDisableShrink"]},q,t)},ed=K("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t["color".concat(c(r.color))]]}})(e=>{let{ownerState:t,theme:r}=e;return(0,a.Z)({display:"inline-block"},"determinate"===t.variant&&{transition:r.transitions.create("transform")},"inherit"!==t.color&&{color:(r.vars||r).palette[t.color].main})},e=>{let{ownerState:t}=e;return"indeterminate"===t.variant&&(0,u.iv)(ea||(ea=en(ee(),0)),el)}),ef=K("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),ep=K("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.circle,t["circle".concat(c(r.variant))],r.disableShrink&&t.circleDisableShrink]}})(e=>{let{ownerState:t,theme:r}=e;return(0,a.Z)({stroke:"currentColor"},"determinate"===t.variant&&{transition:r.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})},e=>{let{ownerState:t}=e;return"indeterminate"===t.variant&&!t.disableShrink&&(0,u.iv)(es||(es=en(et(),0)),eu)});var eh=s.forwardRef(function(e,t){let r=function({props:e,name:t}){return function(e){let{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;let o=t.components[r];return o.defaultProps?d(o.defaultProps,n):o.styleOverrides||o.variants?n:d(o,n)}({props:e,name:t,theme:{components:s.useContext(p)}})}({props:e,name:"MuiCircularProgress"}),{className:n,color:o="primary",disableShrink:u=!1,size:c=40,style:h,thickness:m=3.6,value:g=0,variant:v="indeterminate"}=r,y=(0,i.Z)(r,er),b=(0,a.Z)({},r,{color:o,disableShrink:u,size:c,thickness:m,value:g,variant:v}),w=ec(b),x={},S={},k={};if("determinate"===v){let e=2*Math.PI*((44-m)/2);x.strokeDasharray=e.toFixed(3),k["aria-valuenow"]=Math.round(g),x.strokeDashoffset="".concat(((100-g)/100*e).toFixed(3),"px"),S.transform="rotate(-90deg)"}return(0,f.jsx)(ed,(0,a.Z)({className:(0,l.Z)(w.root,n),style:(0,a.Z)({width:c,height:c},S,h),ownerState:b,ref:t,role:"progressbar"},k,y,{children:(0,f.jsx)(ef,{className:w.svg,ownerState:b,viewBox:"".concat(22," ").concat(22," ").concat(44," ").concat(44),children:(0,f.jsx)(ep,{className:w.circle,style:x,ownerState:b,cx:44,cy:44,r:(44-m)/2,fill:"none",strokeWidth:m})})}))})},998:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(7294);/**
10
- * @license lucide-react v0.407.0 - ISC
11
- *
12
- * This source code is licensed under the ISC license.
13
- * See the LICENSE file in the root directory of this source tree.
14
- */let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&r.indexOf(e)===t).join(" ")};/**
15
- * @license lucide-react v0.407.0 - ISC
16
- *
17
- * This source code is licensed under the ISC license.
18
- * See the LICENSE file in the root directory of this source tree.
19
- */var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
20
- * @license lucide-react v0.407.0 - ISC
21
- *
22
- * This source code is licensed under the ISC license.
23
- * See the LICENSE file in the root directory of this source tree.
24
- */let s=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:s=2,absoluteStrokeWidth:l,className:u="",children:c,iconNode:d,...f}=e;return(0,n.createElement)("svg",{ref:t,...a,width:o,height:o,stroke:r,strokeWidth:l?24*Number(s)/Number(o):s,className:i("lucide",u),...f},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),l=(e,t)=>{let r=(0,n.forwardRef)((r,a)=>{let{className:l,...u}=r;return(0,n.createElement)(s,{ref:a,iconNode:t,className:i("lucide-".concat(o(e)),l),...u})});return r.displayName="".concat(e),r}},282:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});/**
25
- * @license lucide-react v0.407.0 - ISC
26
- *
27
- * This source code is licensed under the ISC license.
28
- * See the LICENSE file in the root directory of this source tree.
29
- */let n=(0,r(998).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},5895:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});/**
30
- * @license lucide-react v0.407.0 - ISC
31
- *
32
- * This source code is licensed under the ISC license.
33
- * See the LICENSE file in the root directory of this source tree.
34
- */let n=(0,r(998).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},7242:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});/**
35
- * @license lucide-react v0.407.0 - ISC
36
- *
37
- * This source code is licensed under the ISC license.
38
- * See the LICENSE file in the root directory of this source tree.
39
- */let n=(0,r(998).Z)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},3626:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});/**
40
- * @license lucide-react v0.407.0 - ISC
41
- *
42
- * This source code is licensed under the ISC license.
43
- * See the LICENSE file in the root directory of this source tree.
44
- */let n=(0,r(998).Z)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},6101:function(e,t){"use strict";var r,n,o,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_FAST_REFRESH:function(){return d},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return a},ACTION_RESTORE:function(){return l},ACTION_SERVER_ACTION:function(){return f},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r},isThenable:function(){return p}});let a="refresh",s="navigate",l="restore",u="server-patch",c="prefetch",d="fast-refresh",f="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(o=r||(r={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(i=n||(n={})).fresh="fresh",i.reusable="reusable",i.expired="expired",i.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7670:function(e,t,r){"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(1297),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6821:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let n=r(260),o=r(7697),i=r(5893),a=o._(r(7294)),s=n._(r(3935)),l=n._(r(7219)),u=r(1128),c=r(6252),d=r(9146);r(2723);let f=r(4494),p=n._(r(5176)),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/dashboard/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function m(e,t,r,n,o,i,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,o=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function g(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,a.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:o,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:f,placeholder:p,loading:h,unoptimized:v,fill:y,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:x,setShowAltText:S,sizesInput:k,onLoad:E,onError:C,...P}=e;return(0,i.jsx)("img",{...P,...g(f),loading:h,width:l,height:s,decoding:u,"data-nimg":y?"fill":"1",className:c,style:d,sizes:o,srcSet:n,src:r,ref:(0,a.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(C&&(e.src=e.src),e.complete&&m(e,p,b,w,x,v,k))},[r,p,b,w,x,C,v,k,t]),onLoad:e=>{m(e.currentTarget,p,b,w,x,v,k)},onError:e=>{S(!0),"empty"!==p&&x(!0),C&&C(e)}})});function y(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...g(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,i.jsx)(l.default,{children:(0,i.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let b=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(f.RouterContext),n=(0,a.useContext)(d.ImageConfigContext),o=(0,a.useMemo)(()=>{let e=h||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r}},[n]),{onLoad:s,onLoadingComplete:l}=e,m=(0,a.useRef)(s);(0,a.useEffect)(()=>{m.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[b,w]=(0,a.useState)(!1),[x,S]=(0,a.useState)(!1),{props:k,meta:E}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:o,blurComplete:b,showAltText:x});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(v,{...k,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:S,sizesInput:e.sizes,ref:t}),E.priority?(0,i.jsx)(y,{isAppRouter:!r,imgAttributes:k}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4116:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let n=r(260),o=r(5893),i=n._(r(7294)),a=r(9975),s=r(2712),l=r(8547),u=r(4350),c=r(8109),d=r(4494),f=r(5716),p=r(388),h=r(7670),m=r(6220),g=r(6101),v=new Set;function y(e,t,r,n,o,i){if(i||(0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let o=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(v.has(o))return;v.add(o)}(async()=>i?e.prefetch(t,o):e.prefetch(t,r,n))().catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let w=i.default.forwardRef(function(e,t){let r,n;let{href:l,as:v,children:w,prefetch:x=null,passHref:S,replace:k,shallow:E,scroll:C,locale:P,onClick:T,onMouseEnter:M,onTouchStart:A,legacyBehavior:O=!1,...R}=e;r=w,O&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let j=i.default.useContext(d.RouterContext),L=i.default.useContext(f.AppRouterContext),N=null!=j?j:L,I=!j,_=!1!==x,D=null===x?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:F,as:z}=i.default.useMemo(()=>{if(!j){let e=b(l);return{href:e,as:v?b(v):e}}let[e,t]=(0,a.resolveHref)(j,l,!0);return{href:e,as:v?(0,a.resolveHref)(j,v):t||e}},[j,l,v]),$=i.default.useRef(F),W=i.default.useRef(z);O&&(n=i.default.Children.only(r));let V=O?n&&"object"==typeof n&&n.ref:t,[B,H,Z]=(0,p.useIntersection)({rootMargin:"200px"}),K=i.default.useCallback(e=>{(W.current!==z||$.current!==F)&&(Z(),W.current=z,$.current=F),B(e),V&&("function"==typeof V?V(e):"object"==typeof V&&(V.current=e))},[z,V,F,Z,B]);i.default.useEffect(()=>{N&&H&&_&&y(N,F,z,{locale:P},{kind:D},I)},[z,F,H,P,_,null==j?void 0:j.locale,N,I,D]);let Y={ref:K,onClick(e){O||"function"!=typeof T||T(e),O&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),N&&!e.defaultPrevented&&function(e,t,r,n,o,a,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,s.isLocalURL)(r)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[o?"replace":"push"](r,n,{shallow:a,locale:u,scroll:e}):t[o?"replace":"push"](n||r,{scroll:e})};c?i.default.startTransition(f):f()}(e,N,F,z,k,E,C,P,I)},onMouseEnter(e){O||"function"!=typeof M||M(e),O&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),N&&(_||!I)&&y(N,F,z,{locale:P,priority:!0,bypassPrefetchedCheck:!0},{kind:D},I)},onTouchStart:function(e){O||"function"!=typeof A||A(e),O&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),N&&(_||!I)&&y(N,F,z,{locale:P,priority:!0,bypassPrefetchedCheck:!0},{kind:D},I)}};if((0,u.isAbsoluteUrl)(z))Y.href=z;else if(!O||S||"a"===n.type&&!("href"in n.props)){let e=void 0!==P?P:null==j?void 0:j.locale,t=(null==j?void 0:j.isLocaleDomain)&&(0,h.getDomainLocale)(z,e,null==j?void 0:j.locales,null==j?void 0:j.domainLocales);Y.href=t||(0,m.addBasePath)((0,c.addLocale)(z,e,null==j?void 0:j.defaultLocale))}return O?i.default.cloneElement(n,Y):(0,o.jsx)("a",{...R,...Y,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},388:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(7294),o=r(460),i="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:r,disabled:l}=e,u=l||!i,[c,d]=(0,n.useState)(!1),f=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(i){if(u||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:o,elements:i}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let o=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:o},s.push(r),a.set(r,t),t}(r);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!c){let e=(0,o.requestIdleCallback)(()=>d(!0));return()=>(0,o.cancelIdleCallback)(e)}},[u,r,t,c,f.current]),[p,c,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1128:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(2723);let n=r(2685),o=r(6252);function i(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var r;let s,l,u,{src:c,sizes:d,unoptimized:f=!1,priority:p=!1,loading:h,className:m,quality:g,width:v,height:y,fill:b=!1,style:w,overrideSrc:x,onLoad:S,onLoadingComplete:k,placeholder:E="empty",blurDataURL:C,fetchPriority:P,layout:T,objectFit:M,objectPosition:A,lazyBoundary:O,lazyRoot:R,...j}=e,{imgConf:L,showAltText:N,blurComplete:I,defaultLoader:_}=t,D=L||o.imageConfigDefault;if("allSizes"in D)s=D;else{let e=[...D.deviceSizes,...D.imageSizes].sort((e,t)=>e-t),t=D.deviceSizes.sort((e,t)=>e-t);s={...D,allSizes:e,deviceSizes:t}}if(void 0===_)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let F=j.loader||_;delete j.loader,delete j.srcSet;let z="__next_img_default"in F;if(z){if("custom"===s.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=F;F=t=>{let{config:r,...n}=t;return e(n)}}if(T){"fill"===T&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[T];t&&!d&&(d=t)}let $="",W=a(v),V=a(y);if("object"==typeof(r=c)&&(i(r)||void 0!==r.src)){let e=i(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,u=e.blurHeight,C=C||e.blurDataURL,$=e.src,!b){if(W||V){if(W&&!V){let t=W/e.width;V=Math.round(e.height*t)}else if(!W&&V){let t=V/e.height;W=Math.round(e.width*t)}}else W=e.width,V=e.height}}let B=!p&&("lazy"===h||void 0===h);(!(c="string"==typeof c?c:$)||c.startsWith("data:")||c.startsWith("blob:"))&&(f=!0,B=!1),s.unoptimized&&(f=!0),z&&c.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(f=!0),p&&(P="high");let H=a(g),Z=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:A}:{},N?{}:{color:"transparent"},w),K=I||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:W,heightInt:V,blurWidth:l,blurHeight:u,blurDataURL:C||"",objectFit:Z.objectFit})+'")':'url("'+E+'")',Y=K?{backgroundSize:Z.objectFit||"cover",backgroundPosition:Z.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:K}:{},U=function(e){let{config:t,src:r,unoptimized:n,width:o,quality:i,sizes:a,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:o}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))],kind:"x"}}(t,o,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,n)=>s({config:t,src:r,quality:i,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:s({config:t,src:r,quality:i,width:l[c]})}}({config:s,src:c,unoptimized:f,width:W,quality:H,sizes:d,loader:F});return{props:{...j,loading:B?"lazy":h,fetchPriority:P,width:W,height:V,decoding:"async",className:m,style:{...Z,...Y},sizes:U.sizes,srcSet:U.srcSet,src:x||U.src},meta:{unoptimized:f,priority:p,placeholder:E,fill:b}}}},2685:function(e,t){"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:o,blurDataURL:i,objectFit:a}=e,s=n?40*n:t,l=o?40*o:r,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+i+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},5985:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return s}});let n=r(260),o=r(1128),i=r(6821),a=n._(r(5176));function s(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/dashboard/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=i.Image},5176:function(e,t){"use strict";function r(e){let{config:t,src:r,width:n,quality:o}=e;return t.path+"?url="+encodeURIComponent(r)+"&w="+n+"&q="+(o||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},7663:function(e){!function(){var t={229:function(e){var t,r,n,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l=[],u=!1,c=-1;function d(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new p(e,t)),1!==l.length||u||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,n),a=!1}finally{a&&delete r[e]}return i.exports}n.ab="//";var o=n(229);e.exports=o}()},9008:function(e,t,r){e.exports=r(7219)},5675:function(e,t,r){e.exports=r(5985)},1664:function(e,t,r){e.exports=r(4116)},1163:function(e,t,r){e.exports=r(6036)},9921:function(e,t){"use strict";/** @license React v16.13.1
45
- * react-is.production.min.js
46
- *
47
- * Copyright (c) Facebook, Inc. and its affiliates.
48
- *
49
- * This source code is licensed under the MIT license found in the
50
- * LICENSE file in the root directory of this source tree.
51
- */var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function S(e){return x(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||x(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=x},9864:function(e,t,r){"use strict";e.exports=r(9921)},1642:function(e,t,r){"use strict";r.d(t,{Av:function(){return a},pF:function(){return n},xv:function(){return i},zi:function(){return o}});var n="right-scroll-bar-position",o="width-before-scroll-bar",i="with-scroll-bars-hidden",a="--removed-body-scroll-bar-size"},7087:function(e,t,r){"use strict";r.d(t,{jp:function(){return m}});var n=r(7294),o=r(6525),i=r(1642),a={left:0,top:0,right:0,gap:0},s=function(e){return parseInt(e||"",10)||0},l=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[s(r),s(n),s(o)]},u=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return a;var t=l(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},c=(0,o.Ws)(),d="data-scroll-locked",f=function(e,t,r,n){var o=e.left,a=e.top,s=e.right,l=e.gap;return void 0===r&&(r="margin"),"\n .".concat(i.xv," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(l,"px ").concat(n,";\n }\n body[").concat(d,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(i.pF," {\n right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(i.zi," {\n margin-right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(i.pF," .").concat(i.pF," {\n right: 0 ").concat(n,";\n }\n \n .").concat(i.zi," .").concat(i.zi," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(d,"] {\n ").concat(i.Av,": ").concat(l,"px;\n }\n")},p=function(){var e=parseInt(document.body.getAttribute(d)||"0",10);return isFinite(e)?e:0},h=function(){n.useEffect(function(){return document.body.setAttribute(d,(p()+1).toString()),function(){var e=p()-1;e<=0?document.body.removeAttribute(d):document.body.setAttribute(d,e.toString())}},[])},m=function(e){var t=e.noRelative,r=e.noImportant,o=e.gapMode,i=void 0===o?"margin":o;h();var a=n.useMemo(function(){return u(i)},[i]);return n.createElement(c,{styles:f(a,!t,i,r?"":"!important")})}},6525:function(e,t,r){"use strict";r.d(t,{Ws:function(){return s}});var n,o=r(7294),i=function(){var e=0,t=null;return{add:function(o){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=n||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=o:i.appendChild(document.createTextNode(o)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},a=function(){var e=i();return function(t,r){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},s=function(){var e=a();return function(t){return e(t.styles,t.dynamic),null}}},9495:function(e,t,r){"use strict";r.d(t,{q:function(){return s}});var n=r(7294);function o(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,a=new WeakMap;function s(e,t){var r,s,l,u=(r=t||null,s=function(t){return e.forEach(function(e){return o(e,t)})},(l=(0,n.useState)(function(){return{value:r,callback:s,facade:{get current(){return l.value},set current(value){var e=l.value;e!==value&&(l.value=value,l.callback(value,e))}}}})[0]).callback=s,l.facade);return i(function(){var t=a.get(u);if(t){var r=new Set(t),n=new Set(e),i=u.current;r.forEach(function(e){n.has(e)||o(e,null)}),n.forEach(function(e){r.has(e)||o(e,i)})}a.set(u,e)},[e]),u}},6781:function(e,t,r){"use strict";r.d(t,{L:function(){return a}});var n=r(7582),o=r(7294),i=function(e){var t=e.sideCar,r=(0,n._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw Error("Sidecar medium not found");return o.createElement(i,(0,n.pi)({},r))};function a(e,t){return e.useMedium(t),i}i.isSideCarExport=!0},7122:function(e,t,r){"use strict";r.d(t,{_:function(){return i}});var n=r(7582);function o(e){return e}function i(e){void 0===e&&(e={});var t,r,i,a=(void 0===t&&(t=o),r=[],i=!1,{read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var n=t(e,i);return r.push(n),function(){r=r.filter(function(e){return e!==n})}},assignSyncMedium:function(e){for(i=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){i=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var o=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}});return a.options=(0,n.pi)({async:!0,ssr:!1},e),a}},434:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},7071:function(e){e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports},7462:function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{Z:function(){return n}})},3366:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}r.d(t,{Z:function(){return n}})},9515:function(e,t,r){"use strict";let n;r.d(t,{e:function(){return a3}});var o,i,a,s,l,u,c=r(7294);let d={},f=0,p=!1,h=null,m=null,g="undefined"!=typeof document?c.useLayoutEffect:()=>{},v={prefix:String(Math.round(1e10*Math.random())),current:0},y=c.createContext(v),b=c.createContext(!1),w=!!("undefined"!=typeof window&&window.document&&window.document.createElement),x=new WeakMap,S="function"==typeof c.useId?function(e){let t=c.useId(),[r]=(0,c.useState)(P()),n=r?"react-aria":`react-aria${v.prefix}`;return e||`${n}-${t}`}:function(e){let t=(0,c.useContext)(y);t!==v||w||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=function(e=!1){let t=(0,c.useContext)(y),r=(0,c.useRef)(null);if(null===r.current&&!e){var n,o;let e=null===(o=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===o?void 0:null===(n=o.ReactCurrentOwner)||void 0===n?void 0:n.current;if(e){let r=x.get(e);null==r?x.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==r.state&&(t.current=r.id,x.delete(e))}r.current=++t.current}return r.current}(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`};function k(){return!1}function E(){return!0}function C(e){return()=>{}}function P(){return"function"==typeof c.useSyncExternalStore?c.useSyncExternalStore(C,k,E):(0,c.useContext)(b)}let T=!!("undefined"!=typeof window&&window.document&&window.document.createElement),M=new Map;var A=r(512);function O(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,A.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=M.get(e);if(r)return r(t),t;let n=M.get(t);return n?(n(e),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}function R(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}let j=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},L=e=>e&&"window"in e&&e.window===e?e:j(e).defaultView||window,N=null,I=new Set,_=new Map,D=!1,F=!1;function z(e,t){for(let r of I)r(e,t)}function $(e){var t,r;D=!0,e.metaKey||(t=/^Mac/i,!("undefined"!=typeof window&&null!=window.navigator&&t.test((null===(r=window.navigator.userAgentData)||void 0===r?void 0:r.platform)||window.navigator.platform))&&e.altKey)||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(N="keyboard",z("keyboard",e))}function W(e){N="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(D=!0,z("pointer",e))}function V(e){(0===e.mozInputSource&&e.isTrusted||(R(/Android/i)&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(D=!0,N="virtual")}function B(e){e.target!==window&&e.target!==document&&(D||F||(N="virtual",z("virtual",e)),D=!1,F=!1)}function H(){D=!1,F=!0}function Z(e){if("undefined"==typeof window||_.get(L(e)))return;let t=L(e),r=j(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){D=!0,n.apply(this,arguments)},r.addEventListener("keydown",$,!0),r.addEventListener("keyup",$,!0),r.addEventListener("click",V,!0),t.addEventListener("focus",B,!0),t.addEventListener("blur",H,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",W,!0),r.addEventListener("pointermove",W,!0),r.addEventListener("pointerup",W,!0)):(r.addEventListener("mousedown",W,!0),r.addEventListener("mousemove",W,!0),r.addEventListener("mouseup",W,!0)),t.addEventListener("beforeunload",()=>{K(e)},{once:!0}),_.set(t,{focus:n})}let K=(e,t)=>{let r=L(e),n=j(e);t&&n.removeEventListener("DOMContentLoaded",t),_.has(r)&&(r.HTMLElement.prototype.focus=_.get(r).focus,n.removeEventListener("keydown",$,!0),n.removeEventListener("keyup",$,!0),n.removeEventListener("click",V,!0),r.removeEventListener("focus",B,!0),r.removeEventListener("blur",H,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",W,!0),n.removeEventListener("pointermove",W,!0),n.removeEventListener("pointerup",W,!0)):(n.removeEventListener("mousedown",W,!0),n.removeEventListener("mousemove",W,!0),n.removeEventListener("mouseup",W,!0)),_.delete(r))};"undefined"!=typeof document&&function(e){let t;let r=j(void 0);"loading"!==r.readyState?Z(void 0):(t=()=>{Z(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>K(e,t)}();let Y=!1,U=0;function G(){Y=!0,setTimeout(()=>{Y=!1},50)}function X(e){"touch"===e.pointerType&&G()}function q(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",X):document.addEventListener("touchend",G),U++,()=>{--U>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",X):document.removeEventListener("touchend",G))}}function J(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[i,a]=(0,c.useState)(!1),s=(0,c.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,c.useEffect)(q,[]);let{hoverProps:l,triggerHoverEnd:u}=(0,c.useMemo)(()=>{let e=(e,n)=>{if(s.pointerType=n,o||"touch"===n||s.isHovered||!e.currentTarget.contains(e.target))return;s.isHovered=!0;let i=e.currentTarget;s.target=i,t&&t({type:"hoverstart",target:i,pointerType:n}),r&&r(!0),a(!0)},i=(e,t)=>{if(s.pointerType="",s.target=null,"touch"===t||!s.isHovered)return;s.isHovered=!1;let o=e.currentTarget;n&&n({type:"hoverend",target:o,pointerType:t}),r&&r(!1),a(!1)},l={};return"undefined"!=typeof PointerEvent?(l.onPointerEnter=t=>{Y&&"mouse"===t.pointerType||e(t,t.pointerType)},l.onPointerLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,e.pointerType)}):(l.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},l.onMouseEnter=t=>{s.ignoreEmulatedMouseEvents||Y||e(t,"mouse"),s.ignoreEmulatedMouseEvents=!1},l.onMouseLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,"mouse")}),{hoverProps:l,triggerHoverEnd:i}},[t,r,n,o,s]);return(0,c.useEffect)(()=>{o&&u({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:l,isHovered:i}}let Q=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},ee=e=>e&&"window"in e&&e.window===e?e:Q(e).defaultView||window,et=new Map,er=new Set;function en(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=r=>{if(!e(r)||!r.target)return;let n=et.get(r.target);if(n&&(n.delete(r.propertyName),0===n.size&&(r.target.removeEventListener("transitioncancel",t),et.delete(r.target)),0===et.size)){for(let e of er)e();er.clear()}};document.body.addEventListener("transitionrun",r=>{if(!e(r)||!r.target)return;let n=et.get(r.target);n||(n=new Set,et.set(r.target,n),r.target.addEventListener("transitioncancel",t,{once:!0})),n.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}function eo(e){if(function(){if(null==ei){ei=!1;try{document.createElement("div").focus({get preventScroll(){return ei=!0,!0}})}catch(e){}}return ei}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?en():document.addEventListener("DOMContentLoaded",en));let ei=null;function ea(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function es(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function el(e){let t=null;return()=>(null==t&&(t=e()),t)}let eu=el(function(){return es(/^Mac/i)}),ec=el(function(){return es(/^iPhone/i)}),ed=el(function(){return es(/^iPad/i)||eu()&&navigator.maxTouchPoints>1}),ef=el(function(){return ec()||ed()});el(function(){return eu()||ef()}),el(function(){return ea(/AppleWebKit/i)&&!ep()});let ep=el(function(){return ea(/Chrome/i)}),eh=el(function(){return ea(/Android/i)});el(function(){return ea(/Firefox/i)});let em=null,eg=new Set,ev=new Map,ey=!1,eb=!1;function ew(e,t){for(let r of eg)r(e,t)}function ex(e){ey=!0,e.metaKey||!eu()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(em="keyboard",ew("keyboard",e))}function eS(e){em="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(ey=!0,ew("pointer",e))}function ek(e){(0===e.mozInputSource&&e.isTrusted||(eh()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(ey=!0,em="virtual")}function eE(e){e.target!==window&&e.target!==document&&(ey||eb||(em="virtual",ew("virtual",e)),ey=!1,eb=!1)}function eC(){ey=!1,eb=!0}function eP(e){if("undefined"==typeof window||ev.get(ee(e)))return;let t=ee(e),r=Q(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){ey=!0,n.apply(this,arguments)},r.addEventListener("keydown",ex,!0),r.addEventListener("keyup",ex,!0),r.addEventListener("click",ek,!0),t.addEventListener("focus",eE,!0),t.addEventListener("blur",eC,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",eS,!0),r.addEventListener("pointermove",eS,!0),r.addEventListener("pointerup",eS,!0)):(r.addEventListener("mousedown",eS,!0),r.addEventListener("mousemove",eS,!0),r.addEventListener("mouseup",eS,!0)),t.addEventListener("beforeunload",()=>{eT(e)},{once:!0}),ev.set(t,{focus:n})}let eT=(e,t)=>{let r=ee(e),n=Q(e);t&&n.removeEventListener("DOMContentLoaded",t),ev.has(r)&&(r.HTMLElement.prototype.focus=ev.get(r).focus,n.removeEventListener("keydown",ex,!0),n.removeEventListener("keyup",ex,!0),n.removeEventListener("click",ek,!0),r.removeEventListener("focus",eE,!0),r.removeEventListener("blur",eC,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",eS,!0),n.removeEventListener("pointermove",eS,!0),n.removeEventListener("pointerup",eS,!0)):(n.removeEventListener("mousedown",eS,!0),n.removeEventListener("mousemove",eS,!0),n.removeEventListener("mouseup",eS,!0)),ev.delete(r))};"undefined"!=typeof document&&function(e){let t;let r=Q(void 0);"loading"!==r.readyState?eP(void 0):(t=()=>{eP(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>eT(e,t)}();let eM="undefined"!=typeof document?c.useLayoutEffect:()=>{};"undefined"!=typeof window&&window.document&&window.document.createElement;let eA=new Map;function eO(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,A.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=eA.get(e);if(r)return r(t),t;let n=eA.get(t);return n?(n(e),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}class eR{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function ej(e){if(!e)return;let t=!0;return r=>{e({...r,preventDefault(){r.preventDefault()},isDefaultPrevented:()=>r.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}}),t&&r.stopPropagation()}}let eL=c.createContext(null),eN=new Set(["id"]),eI=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),e_=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),eD=/^(data-.*)$/;function eF(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}let ez={top:"top",bottom:"top",left:"left",right:"left"},e$={top:"bottom",bottom:"top",left:"right",right:"left"},eW={top:"left",left:"top"},eV={top:"height",left:"width"},eB={width:"totalWidth",height:"totalHeight"},eH={},eZ="undefined"!=typeof document&&window.visualViewport;function eK(e){let t=0,r=0,n=0,o=0,i=0,a=0,s={},l=(null==eZ?void 0:eZ.scale)>1;if("BODY"===e.tagName){var u,c;let l=document.documentElement;n=l.clientWidth,o=l.clientHeight,t=null!==(u=null==eZ?void 0:eZ.width)&&void 0!==u?u:n,r=null!==(c=null==eZ?void 0:eZ.height)&&void 0!==c?c:o,s.top=l.scrollTop||e.scrollTop,s.left=l.scrollLeft||e.scrollLeft,eZ&&(i=eZ.offsetTop,a=eZ.offsetLeft)}else({width:t,height:r,top:i,left:a}=eq(e)),s.top=e.scrollTop,s.left=e.scrollLeft,n=t,o=r;return R(/AppleWebKit/i)&&!R(/Chrome/i)&&("BODY"===e.tagName||"HTML"===e.tagName)&&l&&(s.top=0,s.left=0,i=eZ.pageTop,a=eZ.pageLeft),{width:t,height:r,totalWidth:n,totalHeight:o,scroll:s,top:i,left:a}}function eY(e,t,r,n,o,i,a){let s=o.scroll[e],l=n[eV[e]],u=n.scroll[ez[e]]+i,c=l+n.scroll[ez[e]]-i,d=t-s+a[e]-n[ez[e]],f=t-s+r+a[e]-n[ez[e]];return d<u?u-d:f>c?Math.max(c-f,u-d):0}function eU(e){if(eH[e])return eH[e];let[t,r]=e.split(" "),n=ez[t]||"right",o=eW[n];ez[r]||(r="center");let i=eV[n],a=eV[o];return eH[e]={placement:t,crossPlacement:r,axis:n,crossAxis:o,size:i,crossSize:a},eH[e]}function eG(e,t,r,n,o,i,a,s,l,u){let{placement:c,crossPlacement:d,axis:f,crossAxis:p,size:h,crossSize:m}=n,g={};g[p]=e[p],"center"===d?g[p]+=(e[m]-r[m])/2:d!==p&&(g[p]+=e[m]-r[m]),g[p]+=i;let v=e[p]-r[m]+l+u,y=e[p]+e[m]-l-u;if(g[p]=eF(g[p],v,y),c===f){let r=s?a[h]:t[eB[h]];g[e$[f]]=Math.floor(r-e[f]+o)}else g[f]=Math.floor(e[f]+e[h]+o);return g}function eX(e,t,r,n,o,i){let{placement:a,axis:s,size:l}=i;return a===s?Math.max(0,r[s]-e[s]-e.scroll[s]+t[s]-n[s]-n[e$[s]]-o):Math.max(0,e[l]+e[s]+e.scroll[s]-t[s]-r[s]-r[l]-n[s]-n[e$[s]]-o)}function eq(e){let{top:t,left:r,width:n,height:o}=e.getBoundingClientRect(),{scrollTop:i,scrollLeft:a,clientTop:s,clientLeft:l}=document.documentElement;return{top:t+i-s,left:r+a-l,width:n,height:o}}function eJ(e,t){let r,n=window.getComputedStyle(e);if("fixed"===n.position){let{top:t,left:n,width:o,height:i}=e.getBoundingClientRect();r={top:t,left:n,width:o,height:i}}else{r=eq(e);let n=eq(t),o=window.getComputedStyle(t);n.top+=(parseInt(o.borderTopWidth,10)||0)-t.scrollTop,n.left+=(parseInt(o.borderLeftWidth,10)||0)-t.scrollLeft,r.top-=n.top,r.left-=n.left}return r.top-=parseInt(n.marginTop,10)||0,r.left-=parseInt(n.marginLeft,10)||0,r}function eQ(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}let e0=new WeakMap,e1=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),e2=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]),e5=Symbol.for("react-aria.i18n.locale");function e4(){let e="undefined"!=typeof window&&window[e5]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch(t){e="en-US"}return{locale:e,direction:!function(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),r="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(r)return"rtl"===r.direction;if(t.script)return e1.has(t.script)}let t=e.split("-")[0];return e2.has(t)}(e)?"ltr":"rtl"}}let e3=e4(),e6=new Set;function e7(){for(let e of(e3=e4(),e6))e(e3)}let e9=c.createContext(null),e8="undefined"!=typeof document&&window.visualViewport,te=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"];function tt(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}te.join(":not([hidden]),"),te.push('[tabindex]:not([tabindex="-1"]):not([disabled])'),te.join(':not([hidden]):not([tabindex="-1"]),');class tr{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,r){let n=this.fastMap.get(null!=t?t:null);if(!n)return;let o=new tn({scopeRef:e});n.addChild(o),o.parent=n,this.fastMap.set(e,o),r&&(o.nodeToRestore=r)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let r=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&tt(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let n=t.children;r&&(r.removeChild(t),n.size>0&&n.forEach(e=>r&&r.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let r=new tr;for(let n of this.traverse())r.addTreeNode(n.scopeRef,null!==(t=null===(e=n.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,n.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new tn({scopeRef:null}),this.fastMap.set(null,this.root)}}class tn{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let to=new tr;function ti(e){let t=(0,c.useRef)(null);return g(()=>{t.current=e},[e]),(0,c.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}function ta(e,t){if(e.button>0)return!1;if(e.target){let t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}class ts{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}let tl=[];var[tu,tc]=function(e={}){let{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=c.createContext(void 0);return o.displayName=n,[o.Provider,function e(){var n;let i=c.useContext(o);if(!i&&t){let t=Error(r);throw t.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,t,e),t}return i},o]}({name:"ProviderContext",strict:!1}),td=(e,t,r=!0)=>{if(!t)return[e,{}];let n=t.reduce((t,r)=>r in e?{...t,[r]:e[r]}:t,{});return r?[Object.keys(e).filter(e=>!t.includes(e)).reduce((t,r)=>({...t,[r]:e[r]}),{}),n]:[e,n]},tf=["small","medium","large"],tp={theme:{opacity:["disabled"],spacing:["divider"],borderWidth:tf,borderRadius:tf},classGroups:{shadow:[{shadow:tf}],"font-size":[{text:["tiny",...tf]}],"bg-image":["bg-stripe-gradient-default","bg-stripe-gradient-primary","bg-stripe-gradient-secondary","bg-stripe-gradient-success","bg-stripe-gradient-warning","bg-stripe-gradient-danger"]}},th=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,tm=e=>!e||"object"!=typeof e||0===Object.keys(e).length,tg=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function tv(e){let t=[];return function e(t,r){t.forEach(function(t){Array.isArray(t)?e(t,r):r.push(t)})}(e,t),t}var ty=(...e)=>tv(e).filter(Boolean),tb=(e,t)=>{let r={},n=Object.keys(e),o=Object.keys(t);for(let i of n)if(o.includes(i)){let n=e[i],o=t[i];"object"==typeof n&&"object"==typeof o?r[i]=tb(n,o):Array.isArray(n)||Array.isArray(o)?r[i]=ty(o,n):r[i]=o+" "+n}else r[i]=e[i];for(let e of o)n.includes(e)||(r[e]=t[e]);return r},tw=e=>e&&"string"==typeof e?e.replace(/\s+/g," ").trim():e,tx=/^\[(.+)\]$/;function tS(e,t){var r=e;return t.split("-").forEach(function(e){r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r}var tk=/\s+/;function tE(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){if("string"==typeof t)return t;for(var r,n="",o=0;o<t.length;o++)t[o]&&(r=e(t[o]))&&(n&&(n+=" "),n+=r);return n}(e))&&(n&&(n+=" "),n+=t);return n}function tC(){for(var e,t,r,n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=function(n){var i=o[0];return t=(e=function(e){var t,r,n,o,i,a,s,l,u,c,d;return{cache:function(e){if(e<1)return{get:function(){},set:function(){}};var t=0,r=new Map,n=new Map;function o(o,i){r.set(o,i),++t>e&&(t=0,n=r,r=new Map)}return{get:function(e){var t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set:function(e,t){r.has(e)?r.set(e,t):o(e,t)}}}(e.cacheSize),splitModifiers:(r=1===(t=e.separator||":").length,n=t[0],o=t.length,function(e){for(var i,a=[],s=0,l=0,u=0;u<e.length;u++){var c=e[u];if(0===s){if(c===n&&(r||e.slice(u,u+o)===t)){a.push(e.slice(l,u)),l=u+o;continue}if("/"===c){i=u;continue}}"["===c?s++:"]"===c&&s--}var d=0===a.length?e:e.substring(l),f=d.startsWith("!"),p=f?d.substring(1):d;return{modifiers:a,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:i&&i>l?i-l:void 0}}),...(l=e.theme,u=e.prefix,c={nextPart:new Map,validators:[]},(d=Object.entries(e.classGroups),u?d.map(function(e){return[e[0],e[1].map(function(e){return"string"==typeof e?u+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(function(e){return[u+e[0],e[1]]})):e})]}):d).forEach(function(e){var t=e[0];(function e(t,r,n,o){t.forEach(function(t){if("string"==typeof t){(""===t?r:tS(r,t)).classGroupId=n;return}if("function"==typeof t){if(t.isThemeGetter){e(t(o),r,n,o);return}r.validators.push({validator:t,classGroupId:n});return}Object.entries(t).forEach(function(t){var i=t[0];e(t[1],tS(r,i),n,o)})})})(e[1],c,t,l)}),i=e.conflictingClassGroups,s=void 0===(a=e.conflictingClassGroupModifiers)?{}:a,{getClassGroupId:function(e){var t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),function e(t,r){if(0===t.length)return r.classGroupId;var n=t[0],o=r.nextPart.get(n),i=o?e(t.slice(1),o):void 0;if(i)return i;if(0!==r.validators.length){var a=t.join("-");return r.validators.find(function(e){return(0,e.validator)(a)})?.classGroupId}}(t,c)||function(e){if(tx.test(e)){var t=tx.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){var r=i[e]||[];return t&&s[e]?[].concat(r,s[e]):r}})}}(o.slice(1).reduce(function(e,t){return t(e)},i()))).cache.get,r=e.cache.set,a=s,s(n)};function s(n){var o,i,a,s,l,u=t(n);if(u)return u;var c=(i=(o=e).splitModifiers,a=o.getClassGroupId,s=o.getConflictingClassGroupIds,l=new Set,n.trim().split(tk).map(function(e){var t=i(e),r=t.modifiers,n=t.hasImportantModifier,o=t.baseClassName,s=t.maybePostfixModifierPosition,l=a(s?o.substring(0,s):o),u=!!s;if(!l){if(!s||!(l=a(o)))return{isTailwindClass:!1,originalClassName:e};u=!1}var c=(function(e){if(e.length<=1)return e;var t=[],r=[];return e.forEach(function(e){"["===e[0]?(t.push.apply(t,r.sort().concat([e])),r=[]):r.push(e)}),t.push.apply(t,r.sort()),t})(r).join(":");return{isTailwindClass:!0,modifierId:n?c+"!":c,classGroupId:l,originalClassName:e,hasPostfixModifier:u}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,r=e.classGroupId,n=e.hasPostfixModifier,o=t+r;return!l.has(o)&&(l.add(o),s(r,n).forEach(function(e){return l.add(t+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(" "));return r(n,c),c}return function(){return a(tE.apply(null,arguments))}}function tP(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var tT=/^\[(?:([a-z-]+):)?(.+)\]$/i,tM=/^\d+\/\d+$/,tA=new Set(["px","full","screen"]),tO=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tR=/\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$/,tj=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function tL(e){return tz(e)||tA.has(e)||tM.test(e)||tN(e)}function tN(e){return tK(e,"length",tY)}function tI(e){return tK(e,"size",tU)}function t_(e){return tK(e,"position",tU)}function tD(e){return tK(e,"url",tG)}function tF(e){return tK(e,"number",tz)}function tz(e){return!Number.isNaN(Number(e))}function t$(e){return e.endsWith("%")&&tz(e.slice(0,-1))}function tW(e){return tX(e)||tK(e,"number",tX)}function tV(e){return tT.test(e)}function tB(){return!0}function tH(e){return tO.test(e)}function tZ(e){return tK(e,"",tq)}function tK(e,t,r){var n=tT.exec(e);return!!n&&(n[1]?n[1]===t:r(n[2]))}function tY(e){return tR.test(e)}function tU(){return!1}function tG(e){return e.startsWith("url(")}function tX(e){return Number.isInteger(Number(e))}function tq(e){return tj.test(e)}function tJ(){var e=tP("colors"),t=tP("spacing"),r=tP("blur"),n=tP("brightness"),o=tP("borderColor"),i=tP("borderRadius"),a=tP("borderSpacing"),s=tP("borderWidth"),l=tP("contrast"),u=tP("grayscale"),c=tP("hueRotate"),d=tP("invert"),f=tP("gap"),p=tP("gradientColorStops"),h=tP("gradientColorStopPositions"),m=tP("inset"),g=tP("margin"),v=tP("opacity"),y=tP("padding"),b=tP("saturate"),w=tP("scale"),x=tP("sepia"),S=tP("skew"),k=tP("space"),E=tP("translate"),C=function(){return["auto","contain","none"]},P=function(){return["auto","hidden","clip","visible","scroll"]},T=function(){return["auto",tV,t]},M=function(){return[tV,t]},A=function(){return["",tL]},O=function(){return["auto",tz,tV]},R=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},j=function(){return["solid","dashed","dotted","double","none"]},L=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},N=function(){return["start","end","center","between","around","evenly","stretch"]},I=function(){return["","0",tV]},_=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},D=function(){return[tz,tF]},F=function(){return[tz,tV]};return{cacheSize:500,theme:{colors:[tB],spacing:[tL],blur:["none","",tH,tV],brightness:D(),borderColor:[e],borderRadius:["none","","full",tH,tV],borderSpacing:M(),borderWidth:A(),contrast:D(),grayscale:I(),hueRotate:F(),invert:I(),gap:M(),gradientColorStops:[e],gradientColorStopPositions:[t$,tN],inset:T(),margin:T(),opacity:D(),padding:M(),saturate:D(),scale:D(),sepia:I(),skew:F(),space:M(),translate:M()},classGroups:{aspect:[{aspect:["auto","square","video",tV]}],container:["container"],columns:[{columns:[tH]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"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"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(R(),[tV])}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",tW]}],basis:[{basis:T()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",tV]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",tW]}],"grid-cols":[{"grid-cols":[tB]}],"col-start-end":[{col:["auto",{span:["full",tW]},tV]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[tB]}],"row-start-end":[{row:["auto",{span:[tW]},tV]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",tV]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",tV]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal"].concat(N())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(N(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(N(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",tV,t]}],"min-w":[{"min-w":["min","max","fit",tV,tL]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[tH]},tH,tV]}],h:[{h:[tV,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",tV,tL]}],"max-h":[{"max-h":[tV,t,"min","max","fit"]}],"font-size":[{text:["base",tH,tN]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",tF]}],"font-family":[{font:[tB]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",tV]}],"line-clamp":[{"line-clamp":["none",tz,tF]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",tV,tL]}],"list-image":[{"list-image":["none",tV]}],"list-style-type":[{list:["none","disc","decimal",tV]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(j(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",tL]}],"underline-offset":[{"underline-offset":["auto",tV,tL]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",tV]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",tV]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(R(),[t_])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",tI]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},tD]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[].concat(j(),["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:j()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:[""].concat(j())}],"outline-offset":[{"outline-offset":[tV,tL]}],"outline-w":[{outline:[tL]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:A()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[tL]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",tH,tZ]}],"shadow-color":[{shadow:[tB]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":L()}],"bg-blend":[{"bg-blend":L()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",tH,tV]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",tV]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",tV]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",tV]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[tW,tV]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",tV]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],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",tV]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",tV]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[tL,tF]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"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"],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-s","border-w-e","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-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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var tQ=tC(tJ),t0=Object.prototype.hasOwnProperty,t1=new Set(["string","number","boolean"]),t2={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},t5=e=>e||void 0,t4=(...e)=>t5(tv(e).filter(Boolean).join(" ")),t3=null,t6={},t7=!1,t9=(...e)=>t=>t.twMerge?((!t3||t7)&&(t7=!1,t3=tm(t6)?tQ:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"function"==typeof e?tC.apply(void 0,[tJ,e].concat(r)):tC.apply(void 0,[function(){return function(e,t){for(var r in t)(function e(t,r,n){if(!t0.call(t,r)||t1.has(typeof n)||null===n){t[r]=n;return}if(Array.isArray(n)&&Array.isArray(t[r])){t[r]=t[r].concat(n);return}if("object"==typeof n&&"object"==typeof t[r]){if(null===t[r]){t[r]=n;return}for(var o in n)e(t[r],o,n[o])}})(e,r,t[r]);return e}(tJ(),e)}].concat(r))}(t6)),t5(t3(t4(e)))):t4(e),t8=(e,t)=>{for(let r in t)e.hasOwnProperty(r)?e[r]=t4(e[r],t[r]):e[r]=t[r];return e},re=((e,t)=>{let{extend:r=null,slots:n={},variants:o={},compoundVariants:i=[],compoundSlots:a=[],defaultVariants:s={}}=e,l={...t2,...t},u=null!=r&&r.base?t4(r.base,null==e?void 0:e.base):null==e?void 0:e.base,c=null!=r&&r.variants&&!tm(r.variants)?tb(o,r.variants):o,d=null!=r&&r.defaultVariants&&!tm(r.defaultVariants)?{...r.defaultVariants,...s}:s;tm(l.twMergeConfig)||tg(l.twMergeConfig,t6)||(t7=!0,t6=l.twMergeConfig);let f=tm(null==r?void 0:r.slots),p=tm(n)?{}:{base:t4(null==e?void 0:e.base,f&&(null==r?void 0:r.base)),...n},h=f?p:t8({...null==r?void 0:r.slots},tm(p)?{base:null==e?void 0:e.base}:p),m=e=>{if(tm(c)&&tm(n)&&f)return t9(u,null==e?void 0:e.class,null==e?void 0:e.className)(l);if(i&&!Array.isArray(i))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof i}`);if(a&&!Array.isArray(a))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof a}`);let t=(e,t,r=[],n)=>{let o=r;if("string"==typeof t)o=o.concat(tw(t).split(" ").map(t=>`${e}:${t}`));else if(Array.isArray(t))o=o.concat(t.reduce((t,r)=>t.concat(`${e}:${r}`),[]));else if("object"==typeof t&&"string"==typeof n){for(let r in t)if(t.hasOwnProperty(r)&&r===n){let i=t[r];if(i&&"string"==typeof i){let t=tw(i);o[n]?o[n]=o[n].concat(t.split(" ").map(t=>`${e}:${t}`)):o[n]=t.split(" ").map(t=>`${e}:${t}`)}else Array.isArray(i)&&i.length>0&&(o[n]=i.reduce((t,r)=>t.concat(`${e}:${r}`),[]))}}return o},o=(r,n=c,o=null,i=null)=>{var a;let s=n[r];if(!s||tm(s))return null;let u=null!=(a=null==i?void 0:i[r])?a:null==e?void 0:e[r];if(null===u)return null;let f=th(u),p=Array.isArray(l.responsiveVariants)&&l.responsiveVariants.length>0||!0===l.responsiveVariants,h=null==d?void 0:d[r],m=[];if("object"==typeof f&&p)for(let[e,r]of Object.entries(f)){let n=s[r];if("initial"===e){h=r;continue}Array.isArray(l.responsiveVariants)&&!l.responsiveVariants.includes(e)||(m=t(e,n,m,o))}let g=s[f]||s[th(h)];return"object"==typeof m&&"string"==typeof o&&m[o]?t8(m,g):m.length>0?(m.push(g),m):g},s=(e,t)=>{if(!c||"object"!=typeof c)return null;let r=[];for(let n in c){let i=o(n,c,e,t),a="base"===e&&"string"==typeof i?i:i&&i[e];a&&(r[r.length]=a)}return r},p={};for(let t in e)void 0!==e[t]&&(p[t]=e[t]);let m=(t,r)=>{var n;let o="object"==typeof(null==e?void 0:e[t])?{[t]:null==(n=e[t])?void 0:n.initial}:{};return{...d,...p,...o,...r}},g=(e=[],t)=>{let r=[];for(let{class:n,className:o,...i}of e){let e=!0;for(let[r,n]of Object.entries(i)){let o=m(r,t);if(Array.isArray(n)){if(!n.includes(o[r])){e=!1;break}}else if(o[r]!==n){e=!1;break}}e&&(n&&r.push(n),o&&r.push(o))}return r},v=e=>{let t=g(i,e);return ty(g(null==r?void 0:r.compoundVariants,e),t)},y=e=>{let t=v(e);if(!Array.isArray(t))return t;let r={};for(let e of t)if("string"==typeof e&&(r.base=t9(r.base,e)(l)),"object"==typeof e)for(let[t,n]of Object.entries(e))r[t]=t9(r[t],n)(l);return r},b=e=>{if(a.length<1)return null;let t={};for(let{slots:r=[],class:n,className:o,...i}of a){if(!tm(i)){let t=!0;for(let r of Object.keys(i)){let n=m(r,e)[r];if(void 0===n||(Array.isArray(i[r])?!i[r].includes(n):i[r]!==n)){t=!1;break}}if(!t)continue}for(let e of r)t[e]=t[e]||[],t[e].push([n,o])}return t};if(!tm(n)||!f){let e={};if("object"==typeof h&&!tm(h))for(let t of Object.keys(h))e[t]=e=>{var r,n;return t9(h[t],s(t,e),(null!=(r=y(e))?r:[])[t],(null!=(n=b(e))?n:[])[t],null==e?void 0:e.class,null==e?void 0:e.className)(l)};return e}return t9(u,c?Object.keys(c).map(e=>o(e,c)):null,v(),null==e?void 0:e.class,null==e?void 0:e.className)(l)};return m.variantKeys=(()=>{if(!(!c||"object"!=typeof c))return Object.keys(c)})(),m.extend=r,m.base=u,m.slots=h,m.variants=c,m.defaultVariants=d,m.compoundSlots=a,m.compoundVariants=i,m})({slots:{base:["z-0","relative","bg-transparent","before:content-['']","before:hidden","before:z-[-1]","before:absolute","before:rotate-45","before:w-2.5","before:h-2.5","before:rounded-sm","data-[arrow=true]:before:block","data-[placement=top]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top]:before:left-1/2","data-[placement=top]:before:-translate-x-1/2","data-[placement=top-start]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-start]:before:left-3","data-[placement=top-end]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-end]:before:right-3","data-[placement=bottom]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom]:before:left-1/2","data-[placement=bottom]:before:-translate-x-1/2","data-[placement=bottom-start]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-start]:before:left-3","data-[placement=bottom-end]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-end]:before:right-3","data-[placement=left]:before:-right-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=left]:before:top-1/2","data-[placement=left]:before:-translate-y-1/2","data-[placement=left-start]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-start]:before:top-1/4","data-[placement=left-end]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-end]:before:bottom-1/4","data-[placement=right]:before:-left-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=right]:before:top-1/2","data-[placement=right]:before:-translate-y-1/2","data-[placement=right-start]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-start]:before:top-1/4","data-[placement=right-end]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-end]:before:bottom-1/4","outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],content:["z-10","px-2.5","py-1","w-full","inline-flex","flex-col","items-center","justify-center","box-border","subpixel-antialiased","outline-none","box-border"],trigger:["z-10"],backdrop:["hidden"],arrow:[]},variants:{size:{sm:{content:"text-tiny"},md:{content:"text-small"},lg:{content:"text-medium"}},color:{default:{base:"before:bg-content1 before:shadow-small",content:"bg-content1"},foreground:{base:"before:bg-foreground",content:"bg-foreground text-background"},primary:{base:"before:bg-primary",content:"bg-primary text-primary-foreground"},secondary:{base:"before:bg-secondary",content:"bg-secondary text-secondary-foreground"},success:{base:"before:bg-success",content:"bg-success text-success-foreground"},warning:{base:"before:bg-warning",content:"bg-warning text-warning-foreground"},danger:{base:"before:bg-danger",content:"bg-danger text-danger-foreground"}},radius:{none:{content:"rounded-none"},sm:{content:"rounded-small"},md:{content:"rounded-medium"},lg:{content:"rounded-large"},full:{content:"rounded-full"}},shadow:{sm:{content:"shadow-small"},md:{content:"shadow-medium"},lg:{content:"shadow-large"}},backdrop:{transparent:{},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-sm backdrop-saturate-150 bg-overlay/30"}},triggerScaleOnOpen:{true:{trigger:["aria-expanded:scale-[0.97]","aria-expanded:opacity-70","subpixel-antialiased"]},false:{}},disableAnimation:{true:{base:"animate-none"}},isTriggerDisabled:{true:{trigger:"opacity-disabled pointer-events-none"},false:{}}},defaultVariants:{color:"default",radius:"lg",size:"md",shadow:"md",backdrop:"transparent",triggerScaleOnOpen:!0},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"block w-full h-full fixed inset-0 -z-30"}}]},{...o,twMerge:null==(i=null==o?void 0:o.twMerge)||i,twMergeConfig:{...null==o?void 0:o.twMergeConfig,theme:{...null==(a=null==o?void 0:o.twMergeConfig)?void 0:a.theme,...tp.theme},classGroups:{...null==(s=null==o?void 0:o.twMergeConfig)?void 0:s.classGroups,...tp.classGroups}}}),rt=e=>e?"true":void 0;"undefined"!=typeof window&&window.document&&window.document.createElement;var rr=e=>{let t={top:{originY:1},bottom:{originY:0},left:{originX:1},right:{originX:0},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1}};return(null==t?void 0:t[e])||{}},rn=e=>({top:"top",bottom:"bottom",left:"left",right:"right","top-start":"top start","top-end":"top end","bottom-start":"bottom start","bottom-end":"bottom end","left-start":"left top","left-end":"left bottom","right-start":"right top","right-end":"right bottom"})[e],ro=(e,t)=>{if(t.includes("-")){let[,r]=t.split("-");return`${e}-${r}`}return e},ri=(null==globalThis?void 0:globalThis.document)?c.useLayoutEffect:c.useEffect,ra=r(3935);let rs=c.createContext(null);function rl(e){let{children:t}=e,r=(0,c.useContext)(rs),[n,o]=(0,c.useState)(0),i=(0,c.useMemo)(()=>({parent:r,modalCount:n,addModal(){o(e=>e+1),r&&r.addModal()},removeModal(){o(e=>e-1),r&&r.removeModal()}}),[r,n]);return c.createElement(rs.Provider,{value:i},t)}function ru(e){let t;let{modalProviderProps:r}={modalProviderProps:{"aria-hidden":!!(t=(0,c.useContext)(rs))&&t.modalCount>0||null}};return c.createElement("div",{"data-overlay-container":!0,...e,...r})}function rc(e){return c.createElement(rl,null,c.createElement(ru,e))}function rd(e){let t=P(),{portalContainer:r=t?null:document.body,...n}=e;if(c.useEffect(()=>{if(null==r?void 0:r.closest("[data-overlay-container]"))throw Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[r]),!r)return null;let o=c.createElement(rc,n);return ra.createPortal(o,r)}var rf=r(5893);let rp=(0,c.createContext)({strict:!1}),rh={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},rm={};for(let e in rh)rm[e]={isEnabled:t=>rh[e].some(e=>!!t[e])};function rg(e){for(let t in e)rm[t]={...rm[t],...e[t]}}function rv({children:e,features:t,strict:r=!1}){let[,n]=(0,c.useState)(!ry(t)),o=(0,c.useRef)(void 0);if(!ry(t)){let{renderer:e,...r}=t;o.current=e,rg(r)}return(0,c.useEffect)(()=>{ry(t)&&t().then(({renderer:e,...t})=>{rg(t),o.current=e,n(!0)})},[]),(0,rf.jsx)(rp.Provider,{value:{renderer:o.current,strict:r},children:e})}function ry(e){return"function"==typeof e}function rb(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function rw(e){let t=[{},{}];return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function rx(e,t,r,n){if("function"==typeof t){let[o,i]=rw(n);t=t(void 0!==r?r:e.custom,o,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[o,i]=rw(n);t=t(void 0!==r?r:e.custom,o,i)}return t}function rS(e,t,r){let n=e.getProps();return rx(n,t,void 0!==r?r:n.custom,e)}let rk=()=>{},rE=()=>{},rC={skipAnimations:!1,useManualTiming:!1};function rP(e){let t;return()=>(void 0===t&&(t=e()),t)}let rT=e=>e,rM=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n};class rA{constructor(){this.subscriptions=[]}add(e){var t;return -1===(t=this.subscriptions).indexOf(e)&&t.push(e),()=>(function(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)})(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,r);else for(let o=0;o<n;o++){let n=this.subscriptions[o];n&&n(e,t,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let rO=e=>1e3*e,rR=e=>e/1e3,rj=rP(()=>void 0!==window.ScrollTimeline);class rL{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let r=0;r<this.animations.length;r++)this.animations[r][e]=t}attachTimeline(e,t){let r=this.animations.map(r=>rj()&&r.attachTimeline?r.attachTimeline(e):"function"==typeof t?t(r):void 0);return()=>{r.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class rN extends rL{then(e,t){return this.finished.finally(e).then(()=>{})}}let rI={mainThread:0,waapi:0},r_={value:null},rD=e=>Array.isArray(e)&&"number"==typeof e[0],rF={},rz=function(e,t){let r=rP(e);return()=>rF[t]??r()}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),r$=(e,t,r=10)=>{let n="",o=Math.max(Math.round(t/r),2);for(let t=0;t<o;t++)n+=e(t/(o-1))+", ";return`linear(${n.substring(0,n.length-2)})`},rW=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,rV={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:rW([0,.65,.55,1]),circOut:rW([.55,0,1,.45]),backIn:rW([.31,.01,.66,-.59]),backOut:rW([.33,1.53,.69,.99])};function rB(e,t){return e?.[t]??e?.default??e}function rH(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}function rZ(e){return"function"==typeof e&&"applyToOptions"in e}function rK(e,t){e.timeline=t,e.onfinish=null}new WeakMap;let rY=["read","resolveKeyframes","update","preRender","render","postRender"];function rU(e,t){let r=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},i=()=>r=!0,a=rY.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,n=new Set,o=!1,i=!1,a=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){a.has(t)&&(c.schedule(t),e()),l++,t(s)}let c={schedule:(e,t=!1,i=!1)=>{let s=i&&o?r:n;return t&&a.add(e),s.has(e)||s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(s=e,o){i=!0;return}o=!0,[r,n]=[n,r],r.forEach(u),t&&r_.value&&r_.value.frameloop[t].push(l),l=0,r.clear(),o=!1,i&&(i=!1,c.process(e))}};return c}(i,t?r:void 0),e),{}),{read:s,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=a,p=()=>{let i=rC.useManualTiming?o.timestamp:performance.now();r=!1,rC.useManualTiming||(o.delta=n?1e3/60:Math.max(Math.min(i-o.timestamp,40),1)),o.timestamp=i,o.isProcessing=!0,s.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),o.isProcessing=!1,r&&t&&(n=!1,e(p))},h=()=>{r=!0,n=!0,o.isProcessing||e(p)};return{schedule:rY.reduce((e,t)=>{let n=a[t];return e[t]=(e,t=!1,o=!1)=>(r||h(),n.schedule(e,t,o)),e},{}),cancel:e=>{for(let t=0;t<rY.length;t++)a[rY[t]].cancel(e)},state:o,steps:a}}let{schedule:rG,cancel:rX,state:rq,steps:rJ}=rU("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:rT,!0),{schedule:rQ,cancel:r0}=rU(queueMicrotask,!1);function r1(){n=void 0}let r2={now:()=>(void 0===n&&r2.set(rq.isProcessing||rC.useManualTiming?rq.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(r1)}},r5={x:!1,y:!1};function r4(e,t){let r=function(e,t,r){if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document,r=(void 0)??t.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e)}(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function r3(e){return!("touch"===e.pointerType||r5.x||r5.y)}let r6=(e,t)=>!!t&&(e===t||r6(e,t.parentElement)),r7=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,r9=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),r8=new WeakSet;function ne(e){return t=>{"Enter"===t.key&&e(t)}}function nt(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let nr=(e,t)=>{let r=e.currentTarget;if(!r)return;let n=ne(()=>{if(r8.has(r))return;nt(r,"down");let e=ne(()=>{nt(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>nt(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)};function nn(e){return r7(e)&&!(r5.x||r5.y)}let no=e=>!isNaN(parseFloat(e)),ni={current:void 0};class na{constructor(e,t={}){this.version="12.6.3",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let r=r2.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=r2.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=no(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new rA);let r=this.events[e].add(t);return"change"===e?()=>{r(),rG.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return ni.current&&ni.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=r2.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ns(e,t){return new na(e,t)}let nl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],nu=new Set(nl),nc=new Set(["width","height","top","left","right","bottom",...nl]),nd=e=>Array.isArray(e),nf=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),np=e=>nd(e)?e[e.length-1]||0:e,nh=e=>!!(e&&e.getVelocity),nm=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),ng="data-"+nm("framerAppearId"),nv={current:!1},ny=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function nb(e,t,r,n){if(e===t&&r===n)return rT;let o=t=>(function(e,t,r,n,o){let i,a;let s=0;do(i=ny(a=t+(r-t)/2,n,o)-e)>0?r=a:t=a;while(Math.abs(i)>1e-7&&++s<12);return a})(t,0,1,e,r);return e=>0===e||1===e?e:ny(o(e),t,n)}let nw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,nx=e=>t=>1-e(1-t),nS=nb(.33,1.53,.69,.99),nk=nx(nS),nE=nw(nk),nC=e=>(e*=2)<1?.5*nk(e):.5*(2-Math.pow(2,-10*(e-1))),nP=e=>1-Math.sin(Math.acos(e)),nT=nx(nP),nM=nw(nP),nA=e=>/^0[^.\s]+$/u.test(e),nO=(e,t,r)=>r>t?t:r<e?e:r,nR={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},nj={...nR,transform:e=>nO(0,1,e)},nL={...nR,default:1},nN=e=>Math.round(1e5*e)/1e5,nI=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,n_=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,nD=(e,t)=>r=>!!("string"==typeof r&&n_.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),nF=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[o,i,a,s]=n.match(nI);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},nz=e=>nO(0,255,e),n$={...nR,transform:e=>Math.round(nz(e))},nW={test:nD("rgb","red"),parse:nF("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+n$.transform(e)+", "+n$.transform(t)+", "+n$.transform(r)+", "+nN(nj.transform(n))+")"},nV={test:nD("#"),parse:function(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:nW.transform},nB=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),nH=nB("deg"),nZ=nB("%"),nK=nB("px"),nY=nB("vh"),nU=nB("vw"),nG={...nZ,parse:e=>nZ.parse(e)/100,transform:e=>nZ.transform(100*e)},nX={test:nD("hsl","hue"),parse:nF("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+nZ.transform(nN(t))+", "+nZ.transform(nN(r))+", "+nN(nj.transform(n))+")"},nq={test:e=>nW.test(e)||nV.test(e)||nX.test(e),parse:e=>nW.test(e)?nW.parse(e):nX.test(e)?nX.parse(e):nV.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?nW.transform(e):nX.transform(e)},nJ=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,nQ="number",n0="color",n1=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function n2(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[],i=0,a=t.replace(n1,e=>(nq.test(e)?(n.color.push(i),o.push(n0),r.push(nq.parse(e))):e.startsWith("var(")?(n.var.push(i),o.push("var"),r.push(e)):(n.number.push(i),o.push(nQ),r.push(parseFloat(e))),++i,"${}")).split("${}");return{values:r,split:a,indexes:n,types:o}}function n5(e){return n2(e).values}function n4(e){let{split:t,types:r}=n2(e),n=t.length;return e=>{let o="";for(let i=0;i<n;i++)if(o+=t[i],void 0!==e[i]){let t=r[i];t===nQ?o+=nN(e[i]):t===n0?o+=nq.transform(e[i]):o+=e[i]}return o}}let n3=e=>"number"==typeof e?0:e,n6={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(nI)?.length||0)+(e.match(nJ)?.length||0)>0},parse:n5,createTransformer:n4,getAnimatableNone:function(e){let t=n5(e);return n4(e)(t.map(n3))}},n7=new Set(["brightness","contrast","saturate","opacity"]);function n9(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(nI)||[];if(!n)return e;let o=r.replace(n,""),i=n7.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}let n8=/\b([a-z-]*)\(.*?\)/gu,oe={...n6,getAnimatableNone:e=>{let t=e.match(n8);return t?t.map(n9).join(" "):e}},ot={...nR,transform:Math.round},or={borderWidth:nK,borderTopWidth:nK,borderRightWidth:nK,borderBottomWidth:nK,borderLeftWidth:nK,borderRadius:nK,radius:nK,borderTopLeftRadius:nK,borderTopRightRadius:nK,borderBottomRightRadius:nK,borderBottomLeftRadius:nK,width:nK,maxWidth:nK,height:nK,maxHeight:nK,top:nK,right:nK,bottom:nK,left:nK,padding:nK,paddingTop:nK,paddingRight:nK,paddingBottom:nK,paddingLeft:nK,margin:nK,marginTop:nK,marginRight:nK,marginBottom:nK,marginLeft:nK,backgroundPositionX:nK,backgroundPositionY:nK,rotate:nH,rotateX:nH,rotateY:nH,rotateZ:nH,scale:nL,scaleX:nL,scaleY:nL,scaleZ:nL,skew:nH,skewX:nH,skewY:nH,distance:nK,translateX:nK,translateY:nK,translateZ:nK,x:nK,y:nK,z:nK,perspective:nK,transformPerspective:nK,opacity:nj,originX:nG,originY:nG,originZ:nK,zIndex:ot,size:nK,fillOpacity:nj,strokeOpacity:nj,numOctaves:ot},on={...or,color:nq,backgroundColor:nq,outlineColor:nq,fill:nq,stroke:nq,borderColor:nq,borderTopColor:nq,borderRightColor:nq,borderBottomColor:nq,borderLeftColor:nq,filter:oe,WebkitFilter:oe},oo=e=>on[e];function oi(e,t){let r=oo(e);return r!==oe&&(r=n6),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let oa=new Set(["auto","none","0"]),os=e=>180*e/Math.PI,ol=e=>oc(os(Math.atan2(e[1],e[0]))),ou={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ol,rotateZ:ol,skewX:e=>os(Math.atan(e[1])),skewY:e=>os(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},oc=e=>((e%=360)<0&&(e+=360),e),od=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),of=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),op={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:od,scaleY:of,scale:e=>(od(e)+of(e))/2,rotateX:e=>oc(os(Math.atan2(e[6],e[5]))),rotateY:e=>oc(os(Math.atan2(-e[2],e[0]))),rotateZ:ol,rotate:ol,skewX:e=>os(Math.atan(e[4])),skewY:e=>os(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function oh(e){return e.includes("scale")?1:0}function om(e,t){let r,n;if(!e||"none"===e)return oh(t);let o=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(o)r=op,n=o;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=ou,n=t}if(!n)return oh(t);let i=r[t],a=n[1].split(",").map(ov);return"function"==typeof i?i(a):a[i]}let og=(e,t)=>{let{transform:r="none"}=getComputedStyle(e);return om(r,t)};function ov(e){return parseFloat(e.trim())}let oy=e=>e===nR||e===nK,ob=new Set(["x","y","z"]),ow=nl.filter(e=>!ob.has(e)),ox={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>om(t,"x"),y:(e,{transform:t})=>om(t,"y")};ox.translateX=ox.x,ox.translateY=ox.y;let oS=new Set,ok=!1,oE=!1;function oC(){if(oE){let e=Array.from(oS).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t=function(e){let t=[];return ow.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}oE=!1,ok=!1,oS.forEach(e=>e.complete()),oS.clear()}function oP(){oS.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(oE=!0)})}class oT{constructor(e,t,r,n,o,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(oS.add(this),ok||(ok=!0,rG.read(oP),rG.resolveKeyframes(oC))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;for(let o=0;o<e.length;o++)if(null===e[o]){if(0===o){let o=n?.get(),i=e[e.length-1];if(void 0!==o)e[0]=o;else if(r&&t){let n=r.readValue(t,i);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=i),n&&void 0===o&&n.set(e[0])}else e[o]=e[o-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),oS.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,oS.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let oM=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),oA=e=>t=>"string"==typeof t&&t.startsWith(e),oO=oA("--"),oR=oA("var(--"),oj=e=>!!oR(e)&&oL.test(e.split("/*")[0].trim()),oL=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,oN=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,oI=e=>t=>t.test(e),o_=[nR,nK,nZ,nH,nU,nY,{test:e=>"auto"===e,parse:e=>e}],oD=e=>o_.find(oI(e));class oF extends oT{constructor(e,t,r,n,o){super(e,t,r,n,o,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&oj(n=n.trim())){let o=function e(t,r,n=1){rE(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[o,i]=function(e){let t=oN.exec(e);if(!t)return[,];let[,r,n,o]=t;return[`--${r??n}`,o]}(t);if(!o)return;let a=window.getComputedStyle(r).getPropertyValue(o);if(a){let e=a.trim();return oM(e)?parseFloat(e):e}return oj(i)?e(i,r,n+1):i}(n,t.current);void 0!==o&&(e[r]=o),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!nc.has(r)||2!==e.length)return;let[n,o]=e,i=oD(n),a=oD(o);if(i!==a){if(oy(i)&&oy(a))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++){var n;("number"==typeof(n=e[t])?0===n:null===n||"none"===n||"0"===n||nA(n))&&r.push(t)}r.length&&function(e,t,r){let n,o=0;for(;o<e.length&&!n;){let t=e[o];"string"==typeof t&&!oa.has(t)&&n2(t).values.length&&(n=e[o]),o++}if(n&&r)for(let o of t)e[o]=oi(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ox[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let o=r.length-1,i=r[o];r[o]=ox[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==i&&void 0===this.finalKeyframe&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}let oz=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(n6.test(e)||"0"===e)&&!e.startsWith("url(")),o$=e=>null!==e;function oW(e,{repeat:t,repeatType:r="loop"},n){let o=e.filter(o$),i=t&&"loop"!==r&&t%2==1?0:o.length-1;return i&&void 0!==n?n:o[i]}class oV{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:i="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=r2.now(),this.options={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:o,repeatType:i,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(oP(),oC()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=r2.now(),this.hasAttemptedResolve=!0;let{name:r,type:n,velocity:o,delay:i,onComplete:a,onUpdate:s,isGenerator:l}=this.options;if(!l&&!function(e,t,r,n){let o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;let i=e[e.length-1],a=oz(o,t),s=oz(i,t);return rk(a===s,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!!a&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||rZ(r))&&n)}(e,r,n,o)){if(nv.current||!i){s&&s(oW(e,this.options,t)),a&&a(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}let oB=(e,t,r)=>e+(t-e)*r;function oH(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function oZ(e,t){return r=>r>0?t:e}let oK=(e,t,r)=>{let n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},oY=[nV,nW,nX],oU=e=>oY.find(t=>t.test(e));function oG(e){let t=oU(e);if(rk(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let r=t.parse(e);return t===nX&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let o=0,i=0,a=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;o=oH(s,n,e+1/3),i=oH(s,n,e),a=oH(s,n,e-1/3)}else o=i=a=r;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:n}}(r)),r}let oX=(e,t)=>{let r=oG(e),n=oG(t);if(!r||!n)return oZ(e,t);let o={...r};return e=>(o.red=oK(r.red,n.red,e),o.green=oK(r.green,n.green,e),o.blue=oK(r.blue,n.blue,e),o.alpha=oB(r.alpha,n.alpha,e),nW.transform(o))},oq=(e,t)=>r=>t(e(r)),oJ=(...e)=>e.reduce(oq),oQ=new Set(["none","hidden"]);function o0(e,t){return r=>oB(e,t,r)}function o1(e){return"number"==typeof e?o0:"string"==typeof e?oj(e)?oZ:nq.test(e)?oX:o4:Array.isArray(e)?o2:"object"==typeof e?nq.test(e)?oX:o5:oZ}function o2(e,t){let r=[...e],n=r.length,o=e.map((e,r)=>o1(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=o[t](e);return r}}function o5(e,t){let r={...e,...t},n={};for(let o in r)void 0!==e[o]&&void 0!==t[o]&&(n[o]=o1(e[o])(e[o],t[o]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let o4=(e,t)=>{let r=n6.createTransformer(t),n=n2(e),o=n2(t);return n.indexes.var.length===o.indexes.var.length&&n.indexes.color.length===o.indexes.color.length&&n.indexes.number.length>=o.indexes.number.length?oQ.has(e)&&!o.values.length||oQ.has(t)&&!n.values.length?oQ.has(e)?r=>r<=0?e:t:r=>r>=1?t:e:oJ(o2(function(e,t){let r=[],n={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let i=t.types[o],a=e.indexes[i][n[i]],s=e.values[a]??0;r[o]=s,n[i]++}return r}(n,o),o.values),r):(rk(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),oZ(e,t))};function o3(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?oB(e,t,r):o1(e)(e,t)}function o6(e,t,r){var n,o;let i=Math.max(t-5,0);return n=r-e(i),(o=t-i)?1e3/o*n:0}let o7={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function o9(e,t){return e*Math.sqrt(1-t*t)}let o8=["duration","bounce"],ie=["stiffness","damping","mass"];function it(e,t){return t.some(t=>void 0!==e[t])}function ir(e=o7.visualDuration,t=o7.bounce){let r;let n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:o,restDelta:i}=n,a=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],l={done:!1,value:a},{stiffness:u,damping:c,mass:d,duration:f,velocity:p,isResolvedFromDuration:h}=function(e){let t={velocity:o7.velocity,stiffness:o7.stiffness,damping:o7.damping,mass:o7.mass,isResolvedFromDuration:!1,...e};if(!it(e,ie)&&it(e,o8)){if(e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,o=2*nO(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:o7.mass,stiffness:n,damping:o}}else{let r=function({duration:e=o7.duration,bounce:t=o7.bounce,velocity:r=o7.velocity,mass:n=o7.mass}){let o,i;rk(e<=rO(o7.maxDuration),"Spring duration must be 10 seconds or less");let a=1-t;a=nO(o7.minDamping,o7.maxDamping,a),e=nO(o7.minDuration,o7.maxDuration,rR(e)),a<1?(o=t=>{let n=t*a,o=n*e;return .001-(n-r)/o9(t,a)*Math.exp(-o)},i=t=>{let n=t*a*e,i=Math.pow(a,2)*Math.pow(t,2)*e,s=o9(Math.pow(t,2),a);return(n*r+r-i)*Math.exp(-n)*(-o(t)+.001>0?-1:1)/s}):(o=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),i=t=>e*e*(r-t)*Math.exp(-t*e));let s=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(o,i,5/e);if(e=rO(e),isNaN(s))return{stiffness:o7.stiffness,damping:o7.damping,duration:e};{let t=Math.pow(s,2)*n;return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...r,mass:o7.mass}).isResolvedFromDuration=!0}}return t}({...n,velocity:-rR(n.velocity||0)}),m=p||0,g=c/(2*Math.sqrt(u*d)),v=s-a,y=rR(Math.sqrt(u/d)),b=5>Math.abs(v);if(o||(o=b?o7.restSpeed.granular:o7.restSpeed.default),i||(i=b?o7.restDelta.granular:o7.restDelta.default),g<1){let e=o9(y,g);r=t=>s-Math.exp(-g*y*t)*((m+g*y*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===g)r=e=>s-Math.exp(-y*e)*(v+(m+y*v)*e);else{let e=y*Math.sqrt(g*g-1);r=t=>{let r=Math.exp(-g*y*t),n=Math.min(e*t,300);return s-r*((m+g*y*v)*Math.sinh(n)+e*v*Math.cosh(n))/e}}let w={calculatedDuration:h&&f||null,next:e=>{let t=r(e);if(h)l.done=e>=f;else{let n=0;g<1&&(n=0===e?rO(m):o6(r,e,t));let a=Math.abs(n)<=o,u=Math.abs(s-t)<=i;l.done=a&&u}return l.value=l.done?s:t,l},toString:()=>{let e=Math.min(rH(w),2e4),t=r$(t=>w.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return w}function io({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d,f;let p=e[0],h={done:!1,value:p},m=e=>void 0!==s&&e<s||void 0!==l&&e>l,g=e=>void 0===s?l:void 0===l?s:Math.abs(s-e)<Math.abs(l-e)?s:l,v=r*t,y=p+v,b=void 0===a?y:a(y);b!==y&&(v=b-p);let w=e=>-v*Math.exp(-e/n),x=e=>b+w(e),S=e=>{let t=w(e),r=x(e);h.done=Math.abs(t)<=u,h.value=h.done?b:r},k=e=>{m(h.value)&&(d=e,f=ir({keyframes:[h.value,g(h.value)],velocity:o6(x,e,h.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==d||(t=!0,S(e),k(e)),void 0!==d&&e>=d)?f.next(e-d):(t||S(e),h)}}}ir.applyToOptions=e=>{let t=function(e,t=100,r){let n=r({...e,keyframes:[0,t]}),o=Math.min(rH(n),2e4);return{type:"keyframes",ease:e=>n.next(o*e).value/t,duration:rR(o)}}(e,100,ir);return e.ease=rz()?t.ease:"easeOut",e.duration=rO(t.duration),e.type="keyframes",e};let ii=nb(.42,0,1,1),ia=nb(0,0,.58,1),is=nb(.42,0,.58,1),il=e=>Array.isArray(e)&&"number"!=typeof e[0],iu={linear:rT,easeIn:ii,easeInOut:is,easeOut:ia,circIn:nP,circInOut:nM,circOut:nT,backIn:nk,backInOut:nE,backOut:nS,anticipate:nC},ic=e=>{if(rD(e)){rE(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,o]=e;return nb(t,r,n,o)}return"string"==typeof e?(rE(void 0!==iu[e],`Invalid easing type '${e}'`),iu[e]):e};function id({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let o=il(n)?n.map(ic):ic(n),i={done:!1,value:t[0]},a=function(e,t,{clamp:r=!0,ease:n,mixer:o}={}){let i=e.length;if(rE(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];if(2===i&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=function(e,t,r){let n=[],o=r||o3,i=e.length-1;for(let r=0;r<i;r++){let i=o(e[r],e[r+1]);t&&(i=oJ(Array.isArray(t)?t[r]||rT:t,i)),n.push(i)}return n}(t,n,o),l=s.length,u=r=>{if(a&&r<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(r<e[n+1]);n++);let o=rM(e[n],e[n+1],r);return s[n](o)};return r?t=>u(nO(e[0],e[i-1],t)):u}((r&&r.length===t.length?r:function(e){let t=[0];return function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let o=rM(0,t,n);e.push(oB(r,1,o))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(o)?o:t.map(()=>o||is).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}let ip=e=>{let t=({timestamp:t})=>e(t);return{start:()=>rG.update(t,!0),stop:()=>rX(t),now:()=>rq.isProcessing?rq.timestamp:r2.now()}},ih={decay:io,inertia:io,tween:id,keyframes:id,spring:ir},im=e=>e/100;class ig extends oV{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:r,element:n,keyframes:o}=this.options,i=n?.KeyframeResolver||oT;this.resolver=new i(o,(e,t)=>this.onKeyframesResolved(e,t),t,r,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let t,r;let{type:n="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:a,velocity:s=0}=this.options,l=rZ(n)?n:ih[n]||id;l!==id&&"number"!=typeof e[0]&&(t=oJ(im,o3(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===a&&(r=l({...this.options,keyframes:[...e].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=rH(u));let{calculatedDuration:c}=u,d=c+i;return{generator:u,mirroredGenerator:r,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(o+1)-i}}onPostResolved(){let{autoplay:e=!0}=this.options;rI.mainThread++,this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:r}=this;if(!r){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:n,generator:o,mirroredGenerator:i,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=r;if(null===this.startTime)return o.next(0);let{delay:d,repeat:f,repeatType:p,repeatDelay:h,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=o;if(f){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,f+1))%2&&("reverse"===p?(r=1-r,h&&(r-=h/c)):"mirror"===p&&(b=i)),y=nO(0,1,r)*c}let w=v?{done:!1,value:s[0]}:b.next(y);a&&(w.value=a(w.value));let{done:x}=w;v||null===l||(x=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return S&&void 0!==n&&(w.value=oW(s,this.options,n)),m&&m(w.value),S&&this.finish(),w}get duration(){let{resolved:e}=this;return e?rR(e.calculatedDuration):0}get time(){return rR(this.currentTime)}set time(e){e=rO(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=rR(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=ip,onPlay:t,startTime:r}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=n):this.startTime=r??this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=this.currentTime??0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel(),rI.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}get finished(){return this.currentFinishedPromise}}let iv=new Set(["opacity","clipPath","filter","transform"]),iy=rP(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),ib={anticipate:nC,backInOut:nE,circInOut:nM};class iw extends oV{constructor(e){super(e);let{name:t,motionValue:r,element:n,keyframes:o}=this.options;this.resolver=new oF(o,(e,t)=>this.onKeyframesResolved(e,t),t,r,n),this.resolver.scheduleResolve()}initPlayback(e,t){var r;let{duration:n=300,times:o,ease:i,type:a,motionValue:s,name:l,startTime:u}=this.options;if(!s.owner||!s.owner.current)return!1;if("string"==typeof i&&rz()&&i in ib&&(i=ib[i]),rZ((r=this.options).type)||"spring"===r.type||!function e(t){return!!("function"==typeof t&&rz()||!t||"string"==typeof t&&(t in rV||rz())||rD(t)||Array.isArray(t)&&t.every(e))}(r.ease)){let{onComplete:t,onUpdate:r,motionValue:s,element:l,...u}=this.options,c=function(e,t){let r=new ig({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},o=[],i=0;for(;!n.done&&i<2e4;)o.push((n=r.sample(i)).value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),n=c.duration,o=c.times,i=c.ease,a="keyframes"}let c=function(e,t,r,{delay:n=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s="easeInOut",times:l}={},u){let c={[t]:r};l&&(c.offset=l);let d=function e(t,r){if(t)return"function"==typeof t&&rz()?r$(t,r):rD(t)?rW(t):Array.isArray(t)?t.map(t=>e(t,r)||rV.easeOut):rV[t]}(s,o);Array.isArray(d)&&(c.easing=d),r_.value&&rI.waapi++;let f=e.animate(c,{delay:n,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal",pseudoElement:void 0});return r_.value&&f.finished.finally(()=>{rI.waapi--}),f}(s.owner.current,l,e,{...this.options,duration:n,times:o,ease:i});return c.startTime=u??this.calcStartTime(),this.pendingTimeline?(rK(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:r}=this.options;s.set(oW(e,this.options,t)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:o,type:a,ease:i,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return rR(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return rR(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.currentTime=rO(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}get finished(){return this.resolved.animation.finished}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return rT;let{animation:r}=t;rK(r,e)}else this.pendingTimeline=e;return rT}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:r,duration:n,type:o,ease:i,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:s,element:l,...u}=this.options,c=new ig({...u,keyframes:r,duration:n,type:o,ease:i,times:a,isGenerator:!0}),d=rO(this.time);e.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}let{onStop:s}=this.options;s&&s(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:o,damping:i,type:a}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;let{onUpdate:s,transformTemplate:l}=t.owner.getProps();return iy()&&r&&iv.has(r)&&("transform"!==r||!l)&&!s&&!n&&"mirror"!==o&&0!==i&&"inertia"!==a}}let ix={type:"spring",stiffness:500,damping:25,restSpeed:10},iS=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),ik={type:"keyframes",duration:.8},iE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},iC=(e,{keyframes:t})=>t.length>2?ik:nu.has(e)?e.startsWith("scale")?iS(t[1]):ix:iE,iP=(e,t,r,n={},o,i)=>a=>{let s=rB(n,e)||{},l=s.delay||n.delay||0,{elapsed:u=0}=n;u-=rO(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&(c={...c,...iC(e,c)}),c.duration&&(c.duration=rO(c.duration)),c.repeatDelay&&(c.repeatDelay=rO(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0!==c.delay||(d=!0)),(nv.current||rC.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),c.allowFlatten=!s.type&&!s.ease,d&&!i&&void 0!==t.get()){let e=oW(c.keyframes,s);if(void 0!==e)return rG.update(()=>{c.onUpdate(e),c.onComplete()}),new rN([])}return!i&&iw.supports(c)?new iw(c):new ig(c)};function iT(e,t,{delay:r=0,transitionOverride:n,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...s}=t;n&&(i=n);let l=[],u=o&&e.animationState&&e.animationState.getState()[o];for(let t in s){let n=e.getValue(t,e.latestValues[t]??null),o=s[t];if(void 0===o||u&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(u,t))continue;let a={delay:r,...rB(i||{},t)},c=!1;if(window.MotionHandoffAnimation){let r=e.props[ng];if(r){let e=window.MotionHandoffAnimation(r,t,rG);null!==e&&(a.startTime=e,c=!0)}}!function(e,t){let r=e.getValue("willChange");nh(r)&&r.add&&r.add(t)}(e,t),n.start(iP(t,n,o,e.shouldReduceMotion&&nc.has(t)?{type:!1}:a,e,c));let d=n.animation;d&&l.push(d)}return a&&Promise.all(l).then(()=>{rG.update(()=>{a&&function(e,t){let{transitionEnd:r={},transition:n={},...o}=rS(e,t)||{};for(let t in o={...o,...r}){let r=np(o[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ns(r))}}(e,a)})}),l}function iM(e,t,r={}){let n=rS(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(o=r.transitionOverride);let i=n?()=>Promise.all(iT(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,r=0,n=0,o=1,i){let a=[],s=(e.variantChildren.size-1)*n,l=1===o?(e=0)=>e*n:(e=0)=>s-e*n;return Array.from(e.variantChildren).sort(iA).forEach((e,n)=>{e.notify("AnimationStart",t),a.push(iM(e,t,{...i,delay:r+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+n,a,s,r)}:()=>Promise.resolve(),{when:s}=o;if(!s)return Promise.all([i(),a(r.delay)]);{let[e,t]="beforeChildren"===s?[i,a]:[a,i];return e().then(()=>t())}}function iA(e,t){return e.sortNodePosition(t)}function iO(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function iR(e){return"string"==typeof e||Array.isArray(e)}let ij=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],iL=["initial",...ij],iN=iL.length,iI=[...ij].reverse(),i_=ij.length;function iD(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function iF(){return{animate:iD(!0),whileInView:iD(),whileHover:iD(),whileTap:iD(),whileDrag:iD(),whileFocus:iD(),exit:iD()}}class iz{constructor(e){this.isMounted=!1,this.node=e}update(){}}class i$ extends iz{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>iM(e,t,r)));else if("string"==typeof t)n=iM(e,t,r);else{let o="function"==typeof t?rS(e,t,r.custom):t;n=Promise.all(iT(e,o,r))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=iF(),n=!0,o=t=>(r,n)=>{let o=rS(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(o){let{transition:e,transitionEnd:t,...n}=o;r={...r,...n,...t}}return r};function i(i){let{props:a}=e,s=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<iN;e++){let n=iL[e],o=t.props[n];(iR(o)||!1===o)&&(r[n]=o)}return r}(e.parent)||{},l=[],u=new Set,c={},d=1/0;for(let t=0;t<i_;t++){var f;let p=iI[t],h=r[p],m=void 0!==a[p]?a[p]:s[p],g=iR(m),v=p===i?h.isActive:null;!1===v&&(d=t);let y=m===s[p]&&m!==a[p]&&g;if(y&&n&&e.manuallyAnimateOnMount&&(y=!1),h.protectedKeys={...c},!h.isActive&&null===v||!m&&!h.prevProp||rb(m)||"boolean"==typeof m)continue;let b=(f=h.prevProp,"string"==typeof m?m!==f:!!Array.isArray(m)&&!iO(m,f)),w=b||p===i&&h.isActive&&!y&&g||t>d&&g,x=!1,S=Array.isArray(m)?m:[m],k=S.reduce(o(p),{});!1===v&&(k={});let{prevResolvedValues:E={}}=h,C={...E,...k},P=t=>{w=!0,u.has(t)&&(x=!0,u.delete(t)),h.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in C){let t=k[e],r=E[e];if(!c.hasOwnProperty(e))(nd(t)&&nd(r)?iO(t,r):t===r)?void 0!==t&&u.has(e)?P(e):h.protectedKeys[e]=!0:null!=t?P(e):u.add(e)}h.prevProp=m,h.prevResolvedValues=k,h.isActive&&(c={...c,...k}),n&&e.blockInitialAnimation&&(w=!1);let T=!(y&&b)||x;w&&T&&l.push(...S.map(e=>({animation:e,options:{type:p}})))}if(u.size){let t={};if("boolean"!=typeof a.initial){let r=rS(e,Array.isArray(a.initial)?a.initial[0]:a.initial);r&&r.transition&&(t.transition=r.transition)}u.forEach(r=>{let n=e.getBaseTarget(r),o=e.getValue(r);o&&(o.liveStyle=!0),t[r]=n??null}),l.push({animation:t})}let p=!!l.length;return n&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(p=!1),n=!1,p?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,n){if(r[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),r[t].isActive=n;let o=i(t);for(let e in r)r[e].protectedKeys={};return o},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=iF(),n=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();rb(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let iW=0;class iV extends iz{constructor(){super(...arguments),this.id=iW++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}function iB(e){return{point:{x:e.pageX,y:e.pageY}}}function iH(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let o=n["onHover"+r];o&&rG.postRender(()=>o(t,iB(t)))}class iZ extends iz{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,o,i]=r4(e,r),a=e=>{if(!r3(e))return;let{target:r}=e,n=t(r,e);if("function"!=typeof n||!r)return;let i=e=>{r3(e)&&(n(e),r.removeEventListener("pointerleave",i))};r.addEventListener("pointerleave",i,o)};return n.forEach(e=>{e.addEventListener("pointerenter",a,o)}),i}(e,(e,t)=>(iH(this.node,t,"Start"),e=>iH(this.node,e,"End"))))}unmount(){}}function iK(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}class iY extends iz{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=oJ(iK(this.node.current,"focus",()=>this.onFocus()),iK(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function iU(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===r);let o=n["onTap"+("End"===r?"":r)];o&&rG.postRender(()=>o(t,iB(t)))}class iG extends iz{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,o,i]=r4(e,r),a=e=>{let n=e.currentTarget;if(!nn(e)||r8.has(n))return;r8.add(n);let i=t(n,e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),nn(e)&&r8.has(n)&&(r8.delete(n),"function"==typeof i&&i(e,{success:t}))},s=e=>{a(e,n===window||n===document||r.useGlobalTarget||r6(n,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,o),window.addEventListener("pointercancel",l,o)};return n.forEach(e=>{(r.useGlobalTarget?window:e).addEventListener("pointerdown",a,o),e instanceof HTMLElement&&(e.addEventListener("focus",e=>nr(e,o)),r9.has(e.tagName)||-1!==e.tabIndex||e.hasAttribute("tabindex")||(e.tabIndex=0))}),i}(e,(e,t)=>(iU(this.node,t,"Start"),(e,{success:t})=>iU(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let iX=new WeakMap,iq=new WeakMap,iJ=e=>{let t=iX.get(e.target);t&&t(e)},iQ=e=>{e.forEach(iJ)},i0={some:0,all:1};class i1 extends iz{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:i0[n]};return function(e,t,r){let n=function({root:e,...t}){let r=e||document;iq.has(r)||iq.set(r,{});let n=iq.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(iQ,{root:e,...t})),n[o]}(t);return iX.set(e,r),n.observe(e),()=>{iX.delete(e),n.unobserve(e)}}(this.node.current,i,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,o&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),i=t?r:n;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}let i2=()=>({min:0,max:0}),i5=()=>({x:i2(),y:i2()}),i4="undefined"!=typeof window,i3={current:null},i6={current:!1},i7=[...o_,nq,n6],i9=e=>i7.find(oI(e)),i8=new WeakMap;function ae(e){return rb(e.animate)||iL.some(t=>iR(e[t]))}function at(e){return!!(ae(e)||e.variants)}let ar=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class an{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:o,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=oT,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=r2.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,rG.render(this.render,!1,!0))};let{latestValues:s,renderState:l,onUpdate:u}=i;this.onUpdate=u,this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=ae(t),this.isVariantNode=at(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];void 0!==s[e]&&nh(t)&&t.set(s[e],!1)}}mount(e){this.current=e,i8.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),i6.current||function(){if(i6.current=!0,i4){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>i3.current=e.matches;e.addListener(t),t()}else i3.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||i3.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),rX(this.notifyUpdate),rX(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let r;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=nu.has(e);n&&this.onBindTransform&&this.onBindTransform();let o=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&rG.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{o(),i(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in rm){let t=rm[e];if(!t)continue;let{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):i5()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<ar.length;t++){let r=ar[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){for(let n in t){let o=t[n],i=r[n];if(nh(o))e.addValue(n,o);else if(nh(i))e.addValue(n,ns(o,{owner:e}));else if(i!==o){if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(n);e.addValue(n,ns(void 0!==t?t:o,{owner:e}))}}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=ns(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&(oM(r)||nA(r))?r=parseFloat(r):!i9(r)&&n6.test(t)&&(r=oi(e,t)),this.setBaseTarget(e,nh(r)?r.get():r)),nh(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t;let{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=rx(this.props,r,this.presenceContext?.custom);n&&(t=n[e])}if(r&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||nh(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new rA),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class ao extends an{constructor(){super(...arguments),this.KeyframeResolver=oF}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;nh(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}let ai=(e,t)=>t&&"number"==typeof e?t.transform(e):e,aa={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},as=nl.length;function al(e,t,r){let{style:n,vars:o,transformOrigin:i}=e,a=!1,s=!1;for(let e in t){let r=t[e];if(nu.has(e)){a=!0;continue}if(oO(e)){o[e]=r;continue}{let t=ai(r,or[e]);e.startsWith("origin")?(s=!0,i[e]=t):n[e]=t}}if(!t.transform&&(a||r?n.transform=function(e,t,r){let n="",o=!0;for(let i=0;i<as;i++){let a=nl[i],s=e[a];if(void 0===s)continue;let l=!0;if(!(l="number"==typeof s?s===(a.startsWith("scale")?1:0):0===parseFloat(s))||r){let e=ai(s,or[a]);if(!l){o=!1;let t=aa[a]||a;n+=`${t}(${e}) `}r&&(t[a]=e)}}return n=n.trim(),r?n=r(t,o?"":n):o&&(n="none"),n}(t,e.transform,r):n.transform&&(n.transform="none")),s){let{originX:e="50%",originY:t="50%",originZ:r=0}=i;n.transformOrigin=`${e} ${t} ${r}`}}function au(e,{style:t,vars:r},n,o){for(let i in Object.assign(e.style,t,o&&o.getProjectionStyles(n)),r)e.style.setProperty(i,r[i])}let ac={};function ad(e,{layout:t,layoutId:r}){return nu.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!ac[e]||"opacity"===e)}function af(e,t,r){let{style:n}=e,o={};for(let i in n)(nh(n[i])||t.style&&nh(t.style[i])||ad(i,e)||r?.getValue(i)?.liveStyle!==void 0)&&(o[i]=n[i]);return o}class ap extends ao{constructor(){super(...arguments),this.type="html",this.renderInstance=au}readValueFromInstance(e,t){if(nu.has(t))return og(e,t);{let r=window.getComputedStyle(e),n=(oO(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return function({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}build(e,t,r){al(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return af(e,t,r)}}let ah={offset:"stroke-dashoffset",array:"stroke-dasharray"},am={offset:"strokeDashoffset",array:"strokeDasharray"};function ag(e,t,r){return"string"==typeof e?e:nK.transform(t+r*e)}function av(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u},c,d){if(al(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:p,dimensions:h}=e;f.transform&&(h&&(p.transform=f.transform),delete f.transform),h&&(void 0!==o||void 0!==i||p.transform)&&(p.transformOrigin=function(e,t,r){let n=ag(t,e.x,e.width),o=ag(r,e.y,e.height);return`${n} ${o}`}(h,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(f.x=t),void 0!==r&&(f.y=r),void 0!==n&&(f.scale=n),void 0!==a&&function(e,t,r=1,n=0,o=!0){e.pathLength=1;let i=o?ah:am;e[i.offset]=nK.transform(-n);let a=nK.transform(t),s=nK.transform(r);e[i.array]=`${a} ${s}`}(f,a,s,l,!1)}let ay=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),ab=e=>"string"==typeof e&&"svg"===e.toLowerCase();function aw(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}function ax(e,t,r,n){for(let r in au(e,t,void 0,n),t.attrs)e.setAttribute(ay.has(r)?r:nm(r),t.attrs[r])}function aS(e,t,r){let n=af(e,t,r);for(let r in e)(nh(e[r])||nh(t[r]))&&(n[-1!==nl.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}class ak extends ao{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=i5,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&aw(this.current,this.renderState)}}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(nu.has(t)){let e=oo(t);return e&&e.default||0}return t=ay.has(t)?t:nm(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return aS(e,t,r)}onBindTransform(){this.current&&!this.renderState.dimensions&&rG.postRender(this.updateDimensions)}build(e,t,r){av(e,t,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,r,n){ax(e,t,r,n)}mount(e){this.isSVGTag=ab(e.tagName),super.mount(e)}}let aE=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function aC(e){if("string"!=typeof e||e.includes("-"));else if(aE.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let aP={renderer:(e,t)=>aC(e)?new ak(t):new ap(t,{allowProjection:e!==c.Fragment}),animation:{Feature:i$},exit:{Feature:iV},inView:{Feature:i1},tap:{Feature:iG},focus:{Feature:iY},hover:{Feature:iZ}},aT=(0,c.createContext)({}),aM=(0,c.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),aA=(0,c.createContext)({});function aO(e){return Array.isArray(e)?e.join(" "):e}let aR=Symbol.for("motionComponentSymbol");function aj(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let aL=(0,c.createContext)(null),aN=(0,c.createContext)({}),aI=i4?c.useLayoutEffect:c.useEffect,a_=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function aD(e,t,r){for(let n in t)nh(t[n])||ad(n,r)||(e[n]=t[n])}let aF=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function az(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||aF.has(e)}let a$=e=>!az(e);try{(l=require("@emotion/is-prop-valid").default)&&(a$=e=>e.startsWith("on")?!az(e):l(e))}catch{}let aW=()=>({...a_(),attrs:{}});function aV(e){let t=(0,c.useRef)(null);return null===t.current&&(t.current=e()),t.current}let aB=e=>(t,r)=>{let n=(0,c.useContext)(aA),o=(0,c.useContext)(aL),i=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:r},n,o,i){let a={latestValues:function(e,t,r,n){let o={},i=n(e,{});for(let e in i)o[e]=function(e){let t=nh(e)?e.get():e;return nf(t)?t.toValue():t}(i[e]);let{initial:a,animate:s}=e,l=ae(e),u=at(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let c=!!r&&!1===r.initial,d=(c=c||!1===a)?s:a;if(d&&"boolean"!=typeof d&&!rb(d)){let t=Array.isArray(d)?d:[d];for(let r=0;r<t.length;r++){let n=rx(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(o[e]=t)}for(let t in e)o[t]=e[t]}}}return o}(n,o,i,e),renderState:t()};return r&&(a.onMount=e=>r({props:n,current:e,...a}),a.onUpdate=e=>r(e)),a})(e,t,n,o);return r?i():aV(i)},aH={useVisualState:aB({scrapeMotionValuesFromProps:af,createRenderState:a_})},aZ=["x","y","width","height","cx","cy","r"],aK={useVisualState:aB({scrapeMotionValuesFromProps:aS,createRenderState:aW,onUpdate:({props:e,prevProps:t,current:r,renderState:n,latestValues:o})=>{if(!r)return;let i=!!e.drag;if(!i){for(let e in o)if(nu.has(e)){i=!0;break}}if(!i)return;let a=!t;if(t)for(let r=0;r<aZ.length;r++){let n=aZ[r];e[n]!==t[n]&&(a=!0)}a&&rG.read(()=>{aw(r,n),rG.render(()=>{av(n,o,ab(r.tagName),e.transformTemplate),ax(r,n)})})}})},aY=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(r,n)=>"create"===n?e:(t.has(n)||t.set(n,e(n)),t.get(n))})}(function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){function i(e,i){var a;let s;let l={...(0,c.useContext)(aM),...e,layoutId:function({layoutId:e}){let t=(0,c.useContext)(aT).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:u}=l,d=function(e){let{initial:t,animate:r}=function(e,t){if(ae(e)){let{initial:t,animate:r}=e;return{initial:!1===t||iR(t)?t:void 0,animate:iR(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,c.useContext)(aA));return(0,c.useMemo)(()=>({initial:t,animate:r}),[aO(t),aO(r)])}(e),f=n(e,u);if(!u&&i4){(0,c.useContext)(rp).strict;let e=function(e){let{drag:t,layout:r}=rm;if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(l);s=e.MeasureLayout,d.visualElement=function(e,t,r,n,o){let{visualElement:i}=(0,c.useContext)(aA),a=(0,c.useContext)(rp),s=(0,c.useContext)(aL),l=(0,c.useContext)(aM).reducedMotion,u=(0,c.useRef)(null);n=n||a.renderer,!u.current&&n&&(u.current=n(e,{visualState:t,parent:i,props:r,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:l}));let d=u.current,f=(0,c.useContext)(aN);d&&!d.projection&&o&&("html"===d.type||"svg"===d.type)&&function(e,t,r,n){let{layoutId:o,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!a||s&&aj(s),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(u.current,r,o,f);let p=(0,c.useRef)(!1);(0,c.useInsertionEffect)(()=>{d&&p.current&&d.update(r,s)});let h=r[ng],m=(0,c.useRef)(!!h&&!window.MotionHandoffIsComplete?.(h)&&window.MotionHasOptimisedAnimation?.(h));return aI(()=>{d&&(p.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),rQ.render(d.render),m.current&&d.animationState&&d.animationState.animateChanges())}),(0,c.useEffect)(()=>{d&&(!m.current&&d.animationState&&d.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(h)}),m.current=!1))}),d}(o,f,l,t,e.ProjectionNode)}return(0,rf.jsxs)(aA.Provider,{value:d,children:[s&&d.visualElement?(0,rf.jsx)(s,{visualElement:d.visualElement,...l}):null,r(o,e,(a=d.visualElement,(0,c.useCallback)(e=>{e&&f.onMount&&f.onMount(e),a&&(e?a.mount(e):a.unmount()),i&&("function"==typeof i?i(e):aj(i)&&(i.current=e))},[a])),f,u,d.visualElement)]})}e&&rg(e),i.displayName=`motion.${"string"==typeof o?o:`create(${o.displayName??o.name??""})`}`;let a=(0,c.forwardRef)(i);return a[aR]=o,a}({...aC(e)?aK:aH,preloadedFeatures:void 0,useRender:function(e=!1){return(t,r,n,{latestValues:o},i)=>{let a=(aC(t)?function(e,t,r,n){let o=(0,c.useMemo)(()=>{let r=aW();return av(r,t,ab(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};aD(t,e.style,e),o.style={...t,...o.style}}return o}:function(e,t){let r={},n=function(e,t){let r=e.style||{},n={};return aD(n,r,e),Object.assign(n,function({transformTemplate:e},t){return(0,c.useMemo)(()=>{let r=a_();return al(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r})(r,o,i,t),s=function(e,t,r){let n={};for(let o in e)("values"!==o||"object"!=typeof e.values)&&(a$(o)||!0===r&&az(o)||!t&&!az(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}(r,"string"==typeof t,e),l=t!==c.Fragment?{...s,...a,ref:n}:{},{children:u}=r,d=(0,c.useMemo)(()=>nh(u)?u.get():u,[u]);return(0,c.createElement)(t,{...l,children:d})}}(t),createVisualElement:void 0,Component:e})});class aU extends c.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,r=e instanceof HTMLElement&&e.offsetWidth||0,n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft,n.right=r-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}}function aG({children:e,isPresent:t,anchorX:r}){let n=(0,c.useId)(),o=(0,c.useRef)(null),i=(0,c.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:a}=(0,c.useContext)(aM);return(0,c.useInsertionEffect)(()=>{let{width:e,height:s,top:l,left:u,right:c}=i.current;if(t||!o.current||!e||!s)return;let d="left"===r?`left: ${u}`:`right: ${c}`;o.current.dataset.motionPopId=n;let f=document.createElement("style");return a&&(f.nonce=a),document.head.appendChild(f),f.sheet&&f.sheet.insertRule(`
52
- [data-motion-pop-id="${n}"] {
53
- position: absolute !important;
54
- width: ${e}px !important;
55
- height: ${s}px !important;
56
- ${d}px !important;
57
- top: ${l}px !important;
58
- }
59
- `),()=>{document.head.removeChild(f)}},[t]),(0,rf.jsx)(aU,{isPresent:t,childRef:o,sizeRef:i,children:c.cloneElement(e,{ref:o})})}let aX=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:a,anchorX:s})=>{let l=aV(aq),u=(0,c.useId)(),d=(0,c.useCallback)(e=>{for(let t of(l.set(e,!0),l.values()))if(!t)return;n&&n()},[l,n]),f=(0,c.useMemo)(()=>({id:u,initial:t,isPresent:r,custom:o,onExitComplete:d,register:e=>(l.set(e,!1),()=>l.delete(e))}),i?[Math.random(),d]:[r,d]);return(0,c.useMemo)(()=>{l.forEach((e,t)=>l.set(t,!1))},[r]),c.useEffect(()=>{r||l.size||!n||n()},[r]),"popLayout"===a&&(e=(0,rf.jsx)(aG,{isPresent:r,anchorX:s,children:e})),(0,rf.jsx)(aL.Provider,{value:f,children:e})};function aq(){return new Map}let aJ=e=>e.key||"";function aQ(e){let t=[];return c.Children.forEach(e,e=>{(0,c.isValidElement)(e)&&t.push(e)}),t}let a0=({children:e,custom:t,initial:r=!0,onExitComplete:n,presenceAffectsLayout:o=!0,mode:i="sync",propagate:a=!1,anchorX:s="left"})=>{let[l,u]=function(e=!0){let t=(0,c.useContext)(aL);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:n,register:o}=t,i=(0,c.useId)();(0,c.useEffect)(()=>{if(e)return o(i)},[e]);let a=(0,c.useCallback)(()=>e&&n&&n(i),[i,n,e]);return!r&&n?[!1,a]:[!0]}(a),d=(0,c.useMemo)(()=>aQ(e),[e]),f=a&&!l?[]:d.map(aJ),p=(0,c.useRef)(!0),h=(0,c.useRef)(d),m=aV(()=>new Map),[g,v]=(0,c.useState)(d),[y,b]=(0,c.useState)(d);aI(()=>{p.current=!1,h.current=d;for(let e=0;e<y.length;e++){let t=aJ(y[e]);f.includes(t)?m.delete(t):!0!==m.get(t)&&m.set(t,!1)}},[y,f.length,f.join("-")]);let w=[];if(d!==g){let e=[...d];for(let t=0;t<y.length;t++){let r=y[t],n=aJ(r);f.includes(n)||(e.splice(t,0,r),w.push(r))}return"wait"===i&&w.length&&(e=w),b(aQ(e)),v(d),null}let{forceRender:x}=(0,c.useContext)(aT);return(0,rf.jsx)(rf.Fragment,{children:y.map(e=>{let c=aJ(e),g=(!a||!!l)&&(d===y||f.includes(c));return(0,rf.jsx)(aX,{isPresent:g,initial:(!p.current||!!r)&&void 0,custom:t,presenceAffectsLayout:o,mode:i,onExitComplete:g?void 0:()=>{if(!m.has(c))return;m.set(c,!0);let e=!0;m.forEach(t=>{t||(e=!1)}),e&&(x?.(),b(h.current),a&&u?.(),n&&n())},anchorX:s,children:e},c)})})};var a1={enter:{transform:"scale(1)",opacity:1,transition:{type:"spring",bounce:0,duration:.2}},exit:{transform:"scale(0.85)",opacity:0,transition:{type:"easeOut",duration:.15}}},a2=r(3454),a5={},a4=(u=(e,t)=>{let r;let{Component:n,children:o,content:i,isOpen:a,portalContainer:s,placement:l,disableAnimation:u,motionProps:v,getTriggerProps:y,getTooltipProps:b,getTooltipContentProps:w}=function(e){var t,r;let n=tc(),[o,i]=td(e,re.variantKeys),{ref:a,as:s,isOpen:l,content:u,children:v,defaultOpen:y,onOpenChange:b,isDisabled:w,trigger:x,shouldFlip:k=!0,containerPadding:E=12,placement:C="top",delay:A=0,closeDelay:R=500,showArrow:L=!1,offset:I=7,crossOffset:_=0,isDismissable:D,shouldCloseOnBlur:F=!0,portalContainer:z,isKeyboardDismissDisabled:$=!1,updatePositionDeps:W=[],shouldCloseOnInteractOutside:V,className:B,onClose:H,motionProps:Z,classNames:K,...Y}=o,U=null!=(r=null!=(t=null==e?void 0:e.disableAnimation)?t:null==n?void 0:n.disableAnimation)&&r,G=function(e={}){let{delay:t=1500,closeDelay:r=500}=e,{isOpen:n,open:o,close:i}=function(e){let[t,r]=function(e,t,r){let[n,o]=(0,c.useState)(e||t),i=(0,c.useRef)(void 0!==e),a=void 0!==e;(0,c.useEffect)(()=>{let e=i.current;e!==a&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),i.current=a},[a]);let s=a?e:n,l=(0,c.useCallback)((e,...t)=>{let n=(e,...t)=>{r&&!Object.is(s,e)&&r(e,...t),a||(s=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((r,...o)=>{let i=e(a?s:r,...o);return(n(i,...t),a)?r:i})):(a||o(e),n(e,...t))},[a,s,r]);return[s,l]}(e.isOpen,e.defaultOpen||!1,e.onOpenChange),n=(0,c.useCallback)(()=>{r(!0)},[r]),o=(0,c.useCallback)(()=>{r(!1)},[r]),i=(0,c.useCallback)(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:n,close:o,toggle:i}}(e),a=(0,c.useMemo)(()=>`${++f}`,[]),s=(0,c.useRef)(),l=()=>{d[a]=v},u=()=>{for(let e in d)e!==a&&(d[e](!0),delete d[e])},g=()=>{clearTimeout(s.current),s.current=null,u(),l(),p=!0,o(),h&&(clearTimeout(h),h=null),m&&(clearTimeout(m),m=null)},v=e=>{e||r<=0?(clearTimeout(s.current),s.current=null,i()):s.current||(s.current=setTimeout(()=>{s.current=null,i()},r)),h&&(clearTimeout(h),h=null),p&&(m&&clearTimeout(m),m=setTimeout(()=>{delete d[a],m=null,p=!1},Math.max(500,r)))},y=()=>{u(),l(),n||h||p?n||g():h=setTimeout(()=>{h=null,p=!0,g()},t)};return(0,c.useEffect)(()=>()=>{clearTimeout(s.current),d[a]&&delete d[a]},[a]),{isOpen:n,open:e=>{e||!(t>0)||s.current?g():y()},close:v}}({delay:A,closeDelay:R,isDisabled:w,defaultOpen:y,isOpen:l,onOpenChange:e=>{null==b||b(e),e||null==H||H()}}),X=(0,c.useRef)(null),q=(0,c.useRef)(null),ee=(0,c.useId)(),en=G.isOpen&&!w;(0,c.useImperativeHandle)(a,()=>({UNSAFE_getDOMNode:()=>q.current}));let{triggerProps:ei,tooltipProps:ea}=function(e,t,r){let{isDisabled:n,trigger:o}=e,i=function(e){let[t,r]=(0,c.useState)(void 0),n=(0,c.useRef)(null),o=S(t),i=(0,c.useCallback)(e=>{n.current=e},[]);return T&&M.set(o,i),g(()=>()=>{M.delete(o)},[o]),(0,c.useEffect)(()=>{let e=n.current;e&&(n.current=null,r(e))}),o}(),a=(0,c.useRef)(!1),s=(0,c.useRef)(!1),l=()=>{(a.current||s.current)&&t.open(s.current)},u=e=>{a.current||s.current||t.close(e)};(0,c.useEffect)(()=>{let e=e=>{r&&r.current&&"Escape"===e.key&&(e.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",e,!0),()=>{document.removeEventListener("keydown",e,!0)}},[r,t]);let d=()=>{s.current=!1,a.current=!1,u(!0)},{hoverProps:f}=J({isDisabled:n,onHoverStart:()=>{"focus"!==o&&("pointer"===N?a.current=!0:a.current=!1,l())},onHoverEnd:()=>{"focus"!==o&&(s.current=!1,a.current=!1,u())}}),{focusableProps:p}=function(e,t){let{focusProps:r}=function(e){let t,r,{isDisabled:n,onFocus:o,onBlur:i,onFocusChange:a}=e,s=(0,c.useCallback)(e=>{if(e.target===e.currentTarget)return i&&i(e),a&&a(!1),!0},[i,a]),l=(t=(0,c.useRef)({isFocused:!1,observer:null}),eM(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),r=function(e){let t=(0,c.useRef)(null);return eM(()=>{t.current=e},[e]),(0,c.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}(e=>{null==s||s(e)}),(0,c.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target;n.addEventListener("focusout",e=>{t.current.isFocused=!1,n.disabled&&r(new eR("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[r])),u=(0,c.useCallback)(e=>{let t=Q(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(o&&o(e),a&&a(!0),l(e))},[a,o,l]);return{focusProps:{onFocus:!n&&(o||a||i)?u:void 0,onBlur:!n&&(i||a)?s:void 0}}}(e),{keyboardProps:n}={keyboardProps:e.isDisabled?{}:{onKeyDown:ej(e.onKeyDown),onKeyUp:ej(e.onKeyUp)}},o=eO(r,n),i=function(e){let t=(0,c.useContext)(eL)||{};eM(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}});let{ref:r,...n}=t;return n}(t),a=e.isDisabled?{}:i,s=(0,c.useRef)(e.autoFocus);return(0,c.useEffect)(()=>{s.current&&t.current&&function(e){let t=Q(e);if("virtual"===em){var r;let n=t.activeElement;r=()=>{t.activeElement===n&&e.isConnected&&eo(e)},requestAnimationFrame(()=>{0===et.size?r():er.add(r)})}else eo(e)}(t.current),s.current=!1},[t]),{focusableProps:eO({...o,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},a)}}({isDisabled:n,onFocus:()=>{"pointer"!==N&&(s.current=!0,l())},onBlur:()=>{s.current=!1,a.current=!1,u(!0)}},r);return{triggerProps:{"aria-describedby":t.isOpen?i:void 0,...O(p,f,{onPointerDown:d,onKeyDown:d})},tooltipProps:{id:i}}}({isDisabled:w,trigger:x},G,X),{tooltipProps:es}=function(e,t){let r=function(e,t={}){let{labelable:r,isLink:n,propNames:o}=t,i={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(eN.has(t)||r&&eI.has(t)||n&&e_.has(t)||(null==o?void 0:o.has(t))||eD.test(t))&&(i[t]=e[t]);return i}(e,{labelable:!0}),{hoverProps:n}=J({onHoverStart:()=>null==t?void 0:t.open(!0),onHoverEnd:()=>null==t?void 0:t.close()});return{tooltipProps:O(r,n,{role:"tooltip"})}}({isOpen:en,...O(o,ea)},G),{overlayProps:el,placement:eu,updatePosition:ec}=function(e){var t;let r;let{direction:n}=(r=function(){let e=P(),[t,r]=(0,c.useState)(e3);return((0,c.useEffect)(()=>(0===e6.size&&window.addEventListener("languagechange",e7),e6.add(r),()=>{e6.delete(r),0===e6.size&&window.removeEventListener("languagechange",e7)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}(),(0,c.useContext)(e9)||r),{arrowSize:o=0,targetRef:i,overlayRef:a,scrollRef:s=a,placement:l="bottom",containerPadding:u=12,shouldFlip:d=!0,boundaryElement:f="undefined"!=typeof document?document.body:null,offset:p=0,crossOffset:h=0,shouldUpdatePosition:m=!0,isOpen:v=!0,onClose:y,maxHeight:b,arrowBoundaryOffset:w=0}=e,[x,S]=(0,c.useState)({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),k=[m,l,a.current,i.current,s.current,u,d,f,p,h,v,n,b,w,o],E=(0,c.useRef)(null==e8?void 0:e8.scale);(0,c.useEffect)(()=>{v&&(E.current=null==e8?void 0:e8.scale)},[v]);let C=(0,c.useCallback)(()=>{var e,t;if(!1===m||!v||!a.current||!i.current||!s.current||!f||(null==e8?void 0:e8.scale)!==E.current)return;let r=a.current;!b&&a.current&&(r.style.top="0px",r.style.bottom="",r.style.maxHeight=(null!==(t=null===(e=window.visualViewport)||void 0===e?void 0:e.height)&&void 0!==t?t:window.innerHeight)+"px");let c=function(e){let t,{placement:r,targetNode:n,overlayNode:o,scrollNode:i,padding:a,shouldFlip:s,boundaryElement:l,offset:u,crossOffset:c,maxHeight:d,arrowSize:f=0,arrowBoundaryOffset:p=0}=e,h=o instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!eQ(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!eQ(t);)t=t.parentElement;return t||document.documentElement}(o):document.documentElement,m=h===document.documentElement,g=window.getComputedStyle(h).position,v=m?eq(n):eJ(n,h);if(!m){let{marginTop:e,marginLeft:t}=window.getComputedStyle(n);v.top+=parseInt(e,10)||0,v.left+=parseInt(t,10)||0}let y=eq(o),b={top:parseInt((t=window.getComputedStyle(o)).marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0};y.width+=b.left+b.right,y.height+=b.top+b.bottom;let w={top:i.scrollTop,left:i.scrollLeft,width:i.scrollWidth,height:i.scrollHeight},x=eK(l),S=eK(h),k="BODY"===l.tagName?eq(h):eJ(h,l);return"HTML"===h.tagName&&"BODY"===l.tagName&&(S.scroll.top=0,S.scroll.left=0),function(e,t,r,n,o,i,a,s,l,u,c,d,f,p,h,m){let g=eU(e),{size:v,crossAxis:y,crossSize:b,placement:w,crossPlacement:x}=g,S=eG(t,s,r,g,c,d,u,f,h,m),k=c,E=eX(s,u,t,o,i+c,g);if(a&&n[v]>E){let e=eU(`${e$[w]} ${x}`),n=eG(t,s,r,e,c,d,u,f,h,m);eX(s,u,t,o,i+c,e)>E&&(g=e,S=n,k=c)}let C="bottom";"top"===g.axis?"top"===g.placement?C="top":"bottom"===g.placement&&(C="bottom"):"top"===g.crossAxis&&("top"===g.crossPlacement?C="bottom":"bottom"===g.crossPlacement&&(C="top"));let P=eY(y,S[y],r[b],s,l,i,u);S[y]+=P;let T=function(e,t,r,n,o,i,a,s){let l=n?r.height:t[eB.height],u=null!=e.top?r.top+e.top:r.top+(l-e.bottom-a),c="top"!==s?Math.max(0,t.height+t.top+t.scroll.top-u-(o.top+o.bottom+i)):Math.max(0,u+a-(t.top+t.scroll.top)-(o.top+o.bottom+i));return Math.min(t.height-2*i,c)}(S,s,u,f,o,i,r.height,C);p&&p<T&&(T=p),r.height=Math.min(r.height,T),P=eY(y,(S=eG(t,s,r,g,k,d,u,f,h,m))[y],r[b],s,l,i,u),S[y]+=P;let M={},A=t[y]+.5*t[b]-S[y],O=h/2+m,R=r[b]-h/2-m,j=eF(A,t[y]-S[y]+h/2,t[y]+t[b]-S[y]-h/2);return M[y]=eF(j,O,R),{position:S,maxHeight:T,arrowOffsetLeft:M.left,arrowOffsetTop:M.top,placement:g.placement}}(r,v,y,w,b,a,s,x,S,k,u,c,!!g&&"static"!==g,d,f,p)}({placement:"rtl"===n?l.replace("start","right").replace("end","left"):l.replace("start","left").replace("end","right"),overlayNode:a.current,targetNode:i.current,scrollNode:s.current,padding:u,shouldFlip:d,boundaryElement:f,offset:p,crossOffset:h,maxHeight:b,arrowSize:o,arrowBoundaryOffset:w});r.style.top="",r.style.bottom="",Object.keys(c.position).forEach(e=>r.style[e]=c.position[e]+"px"),r.style.maxHeight=null!=c.maxHeight?c.maxHeight+"px":void 0,S(c)},k);g(C,k),g(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t=C]),function(e){let{ref:t,onResize:r}=e;(0,c.useEffect)(()=>{let e=null==t?void 0:t.current;if(e){if(!(void 0!==window.ResizeObserver))return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)};{let t=new window.ResizeObserver(e=>{e.length&&r()});return t.observe(e),()=>{e&&t.unobserve(e)}}}},[r,t])}({ref:a,onResize:C});let T=(0,c.useRef)(!1);g(()=>{let e;let t=()=>{T.current=!0,clearTimeout(e),e=setTimeout(()=>{T.current=!1},500),C()},r=()=>{T.current&&t()};return null==e8||e8.addEventListener("resize",t),null==e8||e8.addEventListener("scroll",r),()=>{null==e8||e8.removeEventListener("resize",t),null==e8||e8.removeEventListener("scroll",r)}},[C]);let M=(0,c.useCallback)(()=>{T.current||y()},[y,T]);return function(e){let{triggerRef:t,isOpen:r,onClose:n}=e;(0,c.useEffect)(()=>{if(!r||null===n)return;let e=e=>{let r=e.target;if(!t.current||r instanceof Node&&!r.contains(t.current))return;let o=n||e0.get(t.current);o&&o()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[r,n,t])}({triggerRef:i,isOpen:v,onClose:y&&M}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...x.position,maxHeight:x.maxHeight}},placement:x.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:x.arrowOffsetLeft,top:x.arrowOffsetTop}},updatePosition:C}}({isOpen:en,targetRef:X,placement:rn(C),overlayRef:q,offset:L?I+3:I,crossOffset:_,shouldFlip:k,containerPadding:E});ri(()=>{W.length&&ec()},W);let{overlayProps:ed}=function(e,t){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:i=!1,isKeyboardDismissDisabled:a=!1,shouldCloseOnInteractOutside:s}=e;(0,c.useEffect)(()=>(o&&tl.push(t),()=>{let e=tl.indexOf(t);e>=0&&tl.splice(e,1)}),[o,t]);let l=()=>{tl[tl.length-1]===t&&r&&r()};!function(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=e,i=(0,c.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),a=ti(e=>{r&&ta(e,t)&&(o&&o(e),i.current.isPointerDown=!0)}),s=ti(e=>{r&&r(e)});(0,c.useEffect)(()=>{let e=i.current;if(n)return;let r=j(t.current);if("undefined"!=typeof PointerEvent){let n=r=>{e.isPointerDown&&ta(r,t)&&s(r),e.isPointerDown=!1};return r.addEventListener("pointerdown",a,!0),r.addEventListener("pointerup",n,!0),()=>{r.removeEventListener("pointerdown",a,!0),r.removeEventListener("pointerup",n,!0)}}{let n=r=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&ta(r,t)&&s(r),e.isPointerDown=!1},o=r=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&ta(r,t)&&s(r),e.isPointerDown=!1};return r.addEventListener("mousedown",a,!0),r.addEventListener("mouseup",n,!0),r.addEventListener("touchstart",a,!0),r.addEventListener("touchend",o,!0),()=>{r.removeEventListener("mousedown",a,!0),r.removeEventListener("mouseup",n,!0),r.removeEventListener("touchstart",a,!0),r.removeEventListener("touchend",o,!0)}}},[t,n,a,s])}({ref:t,onInteractOutside:i&&o?e=>{(!s||s(e.target))&&(tl[tl.length-1]===t&&(e.stopPropagation(),e.preventDefault()),l())}:null,onInteractOutsideStart:e=>{(!s||s(e.target))&&tl[tl.length-1]===t&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:u}=function(e){let t,r,{isDisabled:n,onBlurWithin:o,onFocusWithin:i,onFocusWithinChange:a}=e,s=(0,c.useRef)({isFocusWithin:!1}),l=(0,c.useCallback)(e=>{s.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(s.current.isFocusWithin=!1,o&&o(e),a&&a(!1))},[o,a,s]),u=(t=(0,c.useRef)({isFocused:!1,observer:null}),g(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),r=ti(e=>{null==l||l(e)}),(0,c.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target;n.addEventListener("focusout",e=>{t.current.isFocused=!1,n.disabled&&r(new ts("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[r])),d=(0,c.useCallback)(e=>{s.current.isFocusWithin||document.activeElement!==e.target||(i&&i(e),a&&a(!0),s.current.isFocusWithin=!0,u(e))},[i,a,u]);return n?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:l}}}({isDisabled:!n,onBlurWithin:e=>{!(!e.relatedTarget||function(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of to.traverse(to.getTreeNode(t)))if(r&&tt(e,r.current))return!0;return!1}(e.relatedTarget,null))&&(!s||s(e.relatedTarget))&&r()}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||a||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),l())},...u},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}({isOpen:en,onClose:G.close,isDismissable:D,shouldCloseOnBlur:F,isKeyboardDismissDisabled:$,shouldCloseOnInteractOutside:V},q),ef=(0,c.useMemo)(()=>{var t,r,n;return re({...i,disableAnimation:U,radius:null!=(t=null==e?void 0:e.radius)?t:"md",size:null!=(r=null==e?void 0:e.size)?r:"md",shadow:null!=(n=null==e?void 0:e.shadow)?n:"sm"})},[function(e){if(!e||"object"!=typeof e)return"";try{return JSON.stringify(e)}catch(e){return""}}(i),U,null==e?void 0:e.radius,null==e?void 0:e.size,null==e?void 0:e.shadow]),ep=(0,c.useCallback)((e={},t=null)=>({...O(ei,e),ref:function(...e){return t=>{e.forEach(e=>(function(e,t){if(null!=e){if("function"==typeof e){e(t);return}try{e.current=t}catch(r){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}})(e,t))}}(t,X),"aria-describedby":en?ee:void 0}),[ei,en,ee,G]),eh=(0,c.useCallback)(()=>({ref:q,"data-slot":"base","data-open":rt(en),"data-arrow":rt(L),"data-disabled":rt(w),"data-placement":ro(eu,C),...O(es,ed,Y),style:O(el.style,Y.style,o.style),className:ef.base({class:null==K?void 0:K.base}),id:ee}),[ef,en,L,w,eu,C,es,ed,Y,el,o,ee]),eg=(0,c.useCallback)(()=>({"data-slot":"content","data-open":rt(en),"data-arrow":rt(L),"data-disabled":rt(w),"data-placement":ro(eu,C),className:ef.content({class:function(...e){for(var t,r,n=0,o="";n<e.length;)(t=e[n++])&&(r=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n);else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(t))&&(o&&(o+=" "),o+=r);return o}(null==K?void 0:K.content,B)})}),[ef,en,L,w,eu,C,K]);return{Component:s||"div",content:u,children:v,isOpen:en,triggerRef:X,showArrow:L,portalContainer:z,placement:C,disableAnimation:U,isDisabled:w,motionProps:Z,getTooltipContentProps:eg,getTriggerProps:ep,getTooltipProps:eh}}({...e,ref:t});try{let e=c.Children.count(o);if(1!==e)throw Error();r=(0,c.isValidElement)(o)?(0,c.cloneElement)(o,y(o.props,o.ref)):(0,rf.jsx)("p",{...y(),children:o})}catch(e){r=(0,rf.jsx)("span",{}),function(e,t,...r){var n;let o=`[Next UI] : ${e}`;"undefined"==typeof console||a5[o]||(a5[o]=!0,(null==(n=null==a2?void 0:a2.env)?void 0:n.NODE_ENV)==="production")||console.warn(o,r)}("Tooltip must have only one child node. Please, check your code.")}let{ref:x,id:k,style:E,...C}=b(),A=(0,rf.jsx)("div",{ref:x,id:k,style:E,children:(0,rf.jsx)(rv,{features:aP,children:(0,rf.jsx)(aY.div,{animate:"enter",exit:"exit",initial:"exit",variants:a1,...O(v,C),style:{...rr(l)},children:(0,rf.jsx)(n,{...w(),children:i})})})});return(0,rf.jsxs)(rf.Fragment,{children:[r,u&&a?(0,rf.jsx)(rd,{portalContainer:s,children:(0,rf.jsx)("div",{ref:x,id:k,style:E,...C,children:(0,rf.jsx)(n,{...w(),children:i})})}):(0,rf.jsx)(a0,{children:a?(0,rf.jsx)(rd,{portalContainer:s,children:A}):null})]})},(0,c.forwardRef)(u));a4.displayName="NextUI.Tooltip";var a3=a4},8771:function(e,t,r){"use strict";r.d(t,{F:function(){return o},e:function(){return i}});var n=r(7294);function o(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function i(...e){return n.useCallback(o(...e),e)}},1276:function(e,t,r){"use strict";r.d(t,{M:function(){return l}});var n,o=r(7294),i=r(9981),a=(n||(n=r.t(o,2)))["useId".toString()]||(()=>void 0),s=0;function l(e){let[t,r]=o.useState(a());return(0,i.b)(()=>{e||r(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},4461:function(e,t,r){"use strict";let n;r.d(t,{VY:function(){return rO},ZA:function(){return rj},JO:function(){return rM},ck:function(){return rN},wU:function(){return r_},eT:function(){return rI},__:function(){return rL},h_:function(){return rA},fC:function(){return rC},$G:function(){return rF},u_:function(){return rD},Z0:function(){return rz},xz:function(){return rP},B4:function(){return rT},l_:function(){return rR}});var o,i=r(7294),a=r(3935);function s(e,[t,r]){return Math.min(r,Math.max(t,e))}function l(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}var u=r(5893);function c(e,t=[]){let r=[],n=()=>{let t=r.map(e=>i.createContext(e));return function(r){let n=r?.[e]||t;return i.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let o=i.createContext(n),a=r.length;function s(t){let{scope:r,children:n,...s}=t,l=r?.[e][a]||o,c=i.useMemo(()=>s,Object.values(s));return(0,u.jsx)(l.Provider,{value:c,children:n})}return r=[...r,n],s.displayName=t+"Provider",[s,function(r,s){let l=s?.[e][a]||o,u=i.useContext(l);if(u)return u;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}var d=r(8771),f=r(8426),p=i.createContext(void 0),h=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=i.forwardRef((e,r)=>{let{asChild:n,...o}=e,i=n?f.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(i,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),m=r(9698),g=r(8724),v="dismissableLayer.update",y=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),b=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:c,onDismiss:f,...p}=e,b=i.useContext(y),[S,k]=i.useState(null),E=S?.ownerDocument??globalThis?.document,[,C]=i.useState({}),P=(0,d.e)(t,e=>k(e)),T=Array.from(b.layers),[M]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),A=T.indexOf(M),O=S?T.indexOf(S):-1,R=b.layersWithOutsidePointerEventsDisabled.size>0,j=O>=A,L=function(e,t=globalThis?.document){let r=(0,m.W)(e),n=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){x("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...b.branches].some(e=>e.contains(t));!j||r||(a?.(e),c?.(e),e.defaultPrevented||f?.())},E),N=function(e,t=globalThis?.document){let r=(0,m.W)(e),n=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!n.current&&x("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;[...b.branches].some(e=>e.contains(t))||(s?.(e),c?.(e),e.defaultPrevented||f?.())},E);return(0,g.e)(e=>{O!==b.layers.size-1||(n?.(e),!e.defaultPrevented&&f&&(e.preventDefault(),f()))},E),i.useEffect(()=>{if(S)return r&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(o=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(S)),b.layers.add(S),w(),()=>{r&&1===b.layersWithOutsidePointerEventsDisabled.size&&(E.body.style.pointerEvents=o)}},[S,E,r,b]),i.useEffect(()=>()=>{S&&(b.layers.delete(S),b.layersWithOutsidePointerEventsDisabled.delete(S),w())},[S,b]),i.useEffect(()=>{let e=()=>C({});return document.addEventListener(v,e),()=>document.removeEventListener(v,e)},[]),(0,u.jsx)(h.div,{...p,ref:P,style:{pointerEvents:R?j?"auto":"none":void 0,...e.style},onFocusCapture:l(e.onFocusCapture,N.onFocusCapture),onBlurCapture:l(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:l(e.onPointerDownCapture,L.onPointerDownCapture)})});function w(){let e=new CustomEvent(v);document.dispatchEvent(e)}function x(e,t,r,{discrete:n}){let o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});(t&&o.addEventListener(e,t,{once:!0}),n)?o&&a.flushSync(()=>o.dispatchEvent(i)):o.dispatchEvent(i)}b.displayName="DismissableLayer",i.forwardRef((e,t)=>{let r=i.useContext(y),n=i.useRef(null),o=(0,d.e)(t,n);return i.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,u.jsx)(h.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var S=0;function k(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var E="focusScope.autoFocusOnMount",C="focusScope.autoFocusOnUnmount",P={bubbles:!1,cancelable:!0},T=i.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[l,c]=i.useState(null),f=(0,m.W)(o),p=(0,m.W)(a),g=i.useRef(null),v=(0,d.e)(t,e=>c(e)),y=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(n){let e=function(e){if(y.paused||!l)return;let t=e.target;l.contains(t)?g.current=t:O(g.current,{select:!0})},t=function(e){if(y.paused||!l)return;let t=e.relatedTarget;null===t||l.contains(t)||O(g.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&O(l)});return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,l,y.paused]),i.useEffect(()=>{if(l){R.add(y);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(E,P);l.addEventListener(E,f),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(O(n,{select:t}),document.activeElement!==r)return}(M(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&O(l))}return()=>{l.removeEventListener(E,f),setTimeout(()=>{let t=new CustomEvent(C,P);l.addEventListener(C,p),l.dispatchEvent(t),t.defaultPrevented||O(e??document.body,{select:!0}),l.removeEventListener(C,p),R.remove(y)},0)}}},[l,f,p,y]);let b=i.useCallback(e=>{if(!r&&!n||y.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[n,i]=function(e){let t=M(e);return[A(t,e),A(t.reverse(),e)]}(t);n&&i?e.shiftKey||o!==i?e.shiftKey&&o===n&&(e.preventDefault(),r&&O(i,{select:!0})):(e.preventDefault(),r&&O(n,{select:!0})):o===t&&e.preventDefault()}},[r,n,y.paused]);return(0,u.jsx)(h.div,{tabIndex:-1,...s,ref:v,onKeyDown:b})});function M(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function A(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function O(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}T.displayName="FocusScope";var R=(n=[],{add(e){let t=n[0];e!==t&&t?.pause(),(n=j(n,e)).unshift(e)},remove(e){n=j(n,e),n[0]?.resume()}});function j(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var L=r(1276);let N=["top","right","bottom","left"],I=Math.min,_=Math.max,D=Math.round,F=Math.floor,z=e=>({x:e,y:e}),$={left:"right",right:"left",bottom:"top",top:"bottom"},W={start:"end",end:"start"};function V(e,t){return"function"==typeof e?e(t):e}function B(e){return e.split("-")[0]}function H(e){return e.split("-")[1]}function Z(e){return"x"===e?"y":"x"}function K(e){return"y"===e?"height":"width"}function Y(e){return["top","bottom"].includes(B(e))?"y":"x"}function U(e){return e.replace(/start|end/g,e=>W[e])}function G(e){return e.replace(/left|right|bottom|top/g,e=>$[e])}function X(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function q(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function J(e,t,r){let n,{reference:o,floating:i}=e,a=Y(t),s=Z(Y(t)),l=K(s),u=B(t),c="y"===a,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,p=o[l]/2-i[l]/2;switch(u){case"top":n={x:d,y:o.y-i.height};break;case"bottom":n={x:d,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:f};break;case"left":n={x:o.x-i.width,y:f};break;default:n={x:o.x,y:o.y}}switch(H(t)){case"start":n[s]-=p*(r&&c?-1:1);break;case"end":n[s]+=p*(r&&c?-1:1)}return n}let Q=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=i.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=J(u,n,l),f=n,p={},h=0;for(let r=0;r<s.length;r++){let{name:i,fn:m}=s[r],{x:g,y:v,data:y,reset:b}=await m({x:c,y:d,initialPlacement:n,placement:f,strategy:o,middlewareData:p,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=v?v:d,p={...p,[i]:{...p[i],...y}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:c,y:d}=J(u,f,l)),r=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:p}};async function ee(e,t){var r;void 0===t&&(t={});let{x:n,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=V(t,e),h=X(p),m=s[f?"floating"===d?"reference":"floating":d],g=q(await i.getClippingRect({element:null==(r=await (null==i.isElement?void 0:i.isElement(m)))||r?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},w=q(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-w.top+h.top)/b.y,bottom:(w.bottom-g.bottom+h.bottom)/b.y,left:(g.left-w.left+h.left)/b.x,right:(w.right-g.right+h.right)/b.x}}function et(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function er(e){return N.some(t=>e[t]>=0)}async function en(e,t){let{placement:r,platform:n,elements:o}=e,i=await (null==n.isRTL?void 0:n.isRTL(o.floating)),a=B(r),s=H(r),l="y"===Y(r),u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,d=V(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof h&&(p="end"===s?-1*h:h),l?{x:p*c,y:f*u}:{x:f*u,y:p*c}}function eo(e){return es(e)?(e.nodeName||"").toLowerCase():"#document"}function ei(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ea(e){var t;return null==(t=(es(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function es(e){return e instanceof Node||e instanceof ei(e).Node}function el(e){return e instanceof Element||e instanceof ei(e).Element}function eu(e){return e instanceof HTMLElement||e instanceof ei(e).HTMLElement}function ec(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof ei(e).ShadowRoot)}function ed(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=eg(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function ef(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function ep(e){let t=eh(),r=el(e)?eg(e):e;return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function eh(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function em(e){return["html","body","#document"].includes(eo(e))}function eg(e){return ei(e).getComputedStyle(e)}function ev(e){return el(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ey(e){if("html"===eo(e))return e;let t=e.assignedSlot||e.parentNode||ec(e)&&e.host||ea(e);return ec(t)?t.host:t}function eb(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=function e(t){let r=ey(t);return em(r)?t.ownerDocument?t.ownerDocument.body:t.body:eu(r)&&ed(r)?r:e(r)}(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=ei(o);if(i){let e=ew(a);return t.concat(a,a.visualViewport||[],ed(o)?o:[],e&&r?eb(e):[])}return t.concat(o,eb(o,[],r))}function ew(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ex(e){let t=eg(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=eu(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,s=D(r)!==i||D(n)!==a;return s&&(r=i,n=a),{width:r,height:n,$:s}}function eS(e){return el(e)?e:e.contextElement}function ek(e){let t=eS(e);if(!eu(t))return z(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:i}=ex(t),a=(i?D(r.width):r.width)/n,s=(i?D(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let eE=z(0);function eC(e){let t=ei(e);return eh()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eE}function eP(e,t,r,n){var o;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),a=eS(e),s=z(1);t&&(n?el(n)&&(s=ek(n)):s=ek(e));let l=(void 0===(o=r)&&(o=!1),n&&(!o||n===ei(a))&&o)?eC(a):z(0),u=(i.left+l.x)/s.x,c=(i.top+l.y)/s.y,d=i.width/s.x,f=i.height/s.y;if(a){let e=ei(a),t=n&&el(n)?ei(n):n,r=e,o=ew(r);for(;o&&n&&t!==r;){let e=ek(o),t=o.getBoundingClientRect(),n=eg(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,f*=e.y,u+=i,c+=a,o=ew(r=ei(o))}}return q({width:d,height:f,x:u,y:c})}function eT(e){return eP(ea(e)).left+ev(e).scrollLeft}function eM(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=ei(e),n=ea(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;let e=eh();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,r);else if("document"===t)n=function(e){let t=ea(e),r=ev(e),n=e.ownerDocument.body,o=_(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=_(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),a=-r.scrollLeft+eT(e),s=-r.scrollTop;return"rtl"===eg(n).direction&&(a+=_(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:s}}(ea(e));else if(el(t))n=function(e,t){let r=eP(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=eu(e)?ek(e):z(1),a=e.clientWidth*i.x;return{width:a,height:e.clientHeight*i.y,x:o*i.x,y:n*i.y}}(t,r);else{let r=eC(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return q(n)}function eA(e){return"static"===eg(e).position}function eO(e,t){return eu(e)&&"fixed"!==eg(e).position?t?t(e):e.offsetParent:null}function eR(e,t){let r=ei(e);if(ef(e))return r;if(!eu(e)){let t=ey(e);for(;t&&!em(t);){if(el(t)&&!eA(t))return t;t=ey(t)}return r}let n=eO(e,t);for(;n&&["table","td","th"].includes(eo(n))&&eA(n);)n=eO(n,t);return n&&em(n)&&eA(n)&&!ep(n)?r:n||function(e){let t=ey(e);for(;eu(t)&&!em(t);){if(ep(t))return t;if(ef(t))break;t=ey(t)}return null}(e)||r}let ej=async function(e){let t=this.getOffsetParent||eR,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=eu(t),o=ea(t),i="fixed"===r,a=eP(e,!0,i,t),s={scrollLeft:0,scrollTop:0},l=z(0);if(n||!n&&!i){if(("body"!==eo(t)||ed(o))&&(s=ev(t)),n){let e=eP(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=eT(o))}return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},eL={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i="fixed"===o,a=ea(n),s=!!t&&ef(t.floating);if(n===a||s&&i)return r;let l={scrollLeft:0,scrollTop:0},u=z(1),c=z(0),d=eu(n);if((d||!d&&!i)&&(("body"!==eo(n)||ed(a))&&(l=ev(n)),eu(n))){let e=eP(n);u=ek(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+c.x,y:r.y*u.y-l.scrollTop*u.y+c.y}},getDocumentElement:ea,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,i=[..."clippingAncestors"===r?ef(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=eb(e,[],!1).filter(e=>el(e)&&"body"!==eo(e)),o=null,i="fixed"===eg(e).position,a=i?ey(e):e;for(;el(a)&&!em(a);){let t=eg(a),r=ep(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||ed(a)&&!r&&function e(t,r){let n=ey(t);return!(n===r||!el(n)||em(n))&&("fixed"===eg(n).position||e(n,r))}(e,a))?n=n.filter(e=>e!==a):o=t,a=ey(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=i[0],s=i.reduce((e,r)=>{let n=eM(t,r,o);return e.top=_(n.top,e.top),e.right=I(n.right,e.right),e.bottom=I(n.bottom,e.bottom),e.left=_(n.left,e.left),e},eM(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:eR,getElementRects:ej,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=ex(e);return{width:t,height:r}},getScale:ek,isElement:el,isRTL:function(e){return"rtl"===eg(e).direction}},eN=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=V(e,t)||{};if(null==u)return{};let d=X(c),f={x:r,y:n},p=Z(Y(o)),h=K(p),m=await a.getDimensions(u),g="y"===p,v=g?"clientHeight":"clientWidth",y=i.reference[h]+i.reference[p]-f[p]-i.floating[h],b=f[p]-i.reference[p],w=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),x=w?w[v]:0;x&&await (null==a.isElement?void 0:a.isElement(w))||(x=s.floating[v]||i.floating[h]);let S=x/2-m[h]/2-1,k=I(d[g?"top":"left"],S),E=I(d[g?"bottom":"right"],S),C=x-m[h]-E,P=x/2-m[h]/2+(y/2-b/2),T=_(k,I(P,C)),M=!l.arrow&&null!=H(o)&&P!==T&&i.reference[h]/2-(P<k?k:E)-m[h]/2<0,A=M?P<k?P-k:P-C:0;return{[p]:f[p]+A,data:{[p]:T,centerOffset:P-T-A,...M&&{alignmentOffset:A}},reset:M}}}),eI=(e,t,r)=>{let n=new Map,o={platform:eL,...r},i={...o.platform,_c:n};return Q(e,t,{...o,platform:i})};var e_="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function eD(e,t){let r,n,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!eD(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!eD(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eF(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ez(e,t){let r=eF(e);return Math.round(t*r)/r}function e$(e){let t=i.useRef(e);return e_(()=>{t.current=e}),t}let eW=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?eN({element:r.current,padding:n}).fn(t):{}:r?eN({element:r,padding:n}).fn(t):{}}}),eV=(e,t)=>{var r;return{...(void 0===(r=e)&&(r=0),{name:"offset",options:r,async fn(e){var t,n;let{x:o,y:i,placement:a,middlewareData:s}=e,l=await en(e,r);return a===(null==(t=s.offset)?void 0:t.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}),options:[e,t]}},eB=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:n,placement:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=V(r,e),u={x:t,y:n},c=await ee(e,l),d=Y(B(o)),f=Z(d),p=u[f],h=u[d];if(i){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=p+c[e],n=p-c[t];p=_(r,I(p,n))}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",r=h+c[e],n=h-c[t];h=_(r,I(h,n))}let m=s.fn({...e,[f]:p,[d]:h});return{...m,data:{x:m.x-t,y:m.y-n}}}}),options:[e,t]}},eH=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{options:r,fn(e){let{x:t,y:n,placement:o,rects:i,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=V(r,e),c={x:t,y:n},d=Y(o),f=Z(d),p=c[f],h=c[d],m=V(s,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){let e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+g.mainAxis,r=i.reference[f]+i.reference[e]-g.mainAxis;p<t?p=t:p>r&&(p=r)}if(u){var v,y;let e="y"===f?"width":"height",t=["top","left"].includes(B(o)),r=i.reference[d]-i.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),n=i.reference[d]+i.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?g.crossAxis:0);h<r?h=r:h>n&&(h=n)}return{[f]:p,[d]:h}}}),options:[e,t]}},eZ=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"flip",options:r,async fn(e){var t,n,o,i,a;let{placement:s,middlewareData:l,rects:u,initialPlacement:c,platform:d,elements:f}=e,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...b}=V(r,e);if(null!=(t=l.arrow)&&t.alignmentOffset)return{};let w=B(s),x=Y(c),S=B(c)===c,k=await (null==d.isRTL?void 0:d.isRTL(f.floating)),E=m||(S||!y?[G(c)]:function(e){let t=G(e);return[U(e),t,U(t)]}(c)),C="none"!==v;!m&&C&&E.push(...function(e,t,r,n){let o=H(e),i=function(e,t,r){let n=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(r)return t?o:n;return t?n:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(B(e),"start"===r,n);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(U)))),i}(c,y,v,k));let P=[c,...E],T=await ee(e,b),M=[],A=(null==(n=l.flip)?void 0:n.overflows)||[];if(p&&M.push(T[w]),h){let e=function(e,t,r){void 0===r&&(r=!1);let n=H(e),o=Z(Y(e)),i=K(o),a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=G(a)),[a,G(a)]}(s,u,k);M.push(T[e[0]],T[e[1]])}if(A=[...A,{placement:s,overflows:M}],!M.every(e=>e<=0)){let e=((null==(o=l.flip)?void 0:o.index)||0)+1,t=P[e];if(t)return{data:{index:e,overflows:A},reset:{placement:t}};let r=null==(i=A.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(g){case"bestFit":{let e=null==(a=A.filter(e=>{if(C){let t=Y(e.placement);return t===x||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(r=e);break}case"initialPlacement":r=c}if(s!==r)return{reset:{placement:r}}}return{}}}),options:[e,t]}},eK=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"size",options:r,async fn(e){let t,n;let{placement:o,rects:i,platform:a,elements:s}=e,{apply:l=()=>{},...u}=V(r,e),c=await ee(e,u),d=B(o),f=H(o),p="y"===Y(o),{width:h,height:m}=i.floating;"top"===d||"bottom"===d?(t=d,n=f===(await (null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(n=d,t="end"===f?"top":"bottom");let g=m-c.top-c.bottom,v=h-c.left-c.right,y=I(m-c[t],g),b=I(h-c[n],v),w=!e.middlewareData.shift,x=y,S=b;if(p?S=f||w?I(b,v):v:x=f||w?I(y,g):g,w&&!f){let e=_(c.left,0),t=_(c.right,0),r=_(c.top,0),n=_(c.bottom,0);p?S=h-2*(0!==e||0!==t?e+t:_(c.left,c.right)):x=m-2*(0!==r||0!==n?r+n:_(c.top,c.bottom))}await l({...e,availableWidth:S,availableHeight:x});let k=await a.getDimensions(s.floating);return h!==k.width||m!==k.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},eY=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"hide",options:r,async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...o}=V(r,e);switch(n){case"referenceHidden":{let r=et(await ee(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:er(r)}}}case"escaped":{let r=et(await ee(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:er(r)}}}default:return{}}}}),options:[e,t]}},eU=(e,t)=>({...eW(e),options:[e,t]});var eG=i.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...i}=e;return(0,u.jsx)(h.svg,{...i,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,u.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eG.displayName="Arrow";var eX=r(9981),eq="Popper",[eJ,eQ]=c(eq),[e0,e1]=eJ(eq),e2=e=>{let{__scopePopper:t,children:r}=e,[n,o]=i.useState(null);return(0,u.jsx)(e0,{scope:t,anchor:n,onAnchorChange:o,children:r})};e2.displayName=eq;var e5="PopperAnchor",e4=i.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,a=e1(e5,r),s=i.useRef(null),l=(0,d.e)(t,s);return i.useEffect(()=>{a.onAnchorChange(n?.current||s.current)}),n?null:(0,u.jsx)(h.div,{...o,ref:l})});e4.displayName=e5;var e3="PopperContent",[e6,e7]=eJ(e3),e9=i.forwardRef((e,t)=>{let{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:s="center",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:f=!0,collisionBoundary:p=[],collisionPadding:g=0,sticky:v="partial",hideWhenDetached:y=!1,updatePositionStrategy:b="optimized",onPlaced:w,...x}=e,S=e1(e3,r),[k,E]=i.useState(null),C=(0,d.e)(t,e=>E(e)),[P,T]=i.useState(null),M=function(e){let[t,r]=i.useState(void 0);return(0,eX.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(P),A=M?.width??0,O=M?.height??0,R="number"==typeof g?g:{top:0,right:0,bottom:0,left:0,...g},j=Array.isArray(p)?p:[p],L=j.length>0,N={padding:R,boundary:j.filter(tr),altBoundary:L},{refs:D,floatingStyles:z,placement:$,isPositioned:W,middlewareData:V}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:s,floating:l}={},transform:u=!0,whileElementsMounted:c,open:d}=e,[f,p]=i.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=i.useState(n);eD(h,n)||m(n);let[g,v]=i.useState(null),[y,b]=i.useState(null),w=i.useCallback(e=>{e!==E.current&&(E.current=e,v(e))},[]),x=i.useCallback(e=>{e!==C.current&&(C.current=e,b(e))},[]),S=s||g,k=l||y,E=i.useRef(null),C=i.useRef(null),P=i.useRef(f),T=null!=c,M=e$(c),A=e$(o),O=i.useCallback(()=>{if(!E.current||!C.current)return;let e={placement:t,strategy:r,middleware:h};A.current&&(e.platform=A.current),eI(E.current,C.current,e).then(e=>{let t={...e,isPositioned:!0};R.current&&!eD(P.current,t)&&(P.current=t,a.flushSync(()=>{p(t)}))})},[h,t,r,A]);e_(()=>{!1===d&&P.current.isPositioned&&(P.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[d]);let R=i.useRef(!1);e_(()=>(R.current=!0,()=>{R.current=!1}),[]),e_(()=>{if(S&&(E.current=S),k&&(C.current=k),S&&k){if(M.current)return M.current(S,k,O);O()}},[S,k,O,M,T]);let j=i.useMemo(()=>({reference:E,floating:C,setReference:w,setFloating:x}),[w,x]),L=i.useMemo(()=>({reference:S,floating:k}),[S,k]),N=i.useMemo(()=>{let e={position:r,left:0,top:0};if(!L.floating)return e;let t=ez(L.floating,f.x),n=ez(L.floating,f.y);return u?{...e,transform:"translate("+t+"px, "+n+"px)",...eF(L.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,u,L.floating,f.x,f.y]);return i.useMemo(()=>({...f,update:O,refs:j,elements:L,floatingStyles:N}),[f,O,j,L,N])}({strategy:"fixed",placement:n+("center"!==s?"-"+s:""),whileElementsMounted:(...e)=>(function(e,t,r,n){let o;void 0===n&&(n={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=n,c=eS(e),d=i||a?[...c?eb(c):[],...eb(t)]:[];d.forEach(e=>{i&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});let f=c&&l?function(e,t){let r,n=null,o=ea(e);function i(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();let{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;let p=F(c),h=F(o.clientWidth-(u+d)),m={rootMargin:-p+"px "+-h+"px "+-F(o.clientHeight-(c+f))+"px "+-F(u)+"px",threshold:_(0,I(1,l))||1},g=!0;function v(e){let t=e[0].intersectionRatio;if(t!==l){if(!g)return a();t?a(!1,t):r=setTimeout(()=>{a(!1,1e-7)},1e3)}g=!1}try{n=new IntersectionObserver(v,{...m,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(v,m)}n.observe(e)}(!0),i}(c,r):null,p=-1,h=null;s&&(h=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),r()}),c&&!u&&h.observe(c),h.observe(t));let m=u?eP(e):null;return u&&function t(){let n=eP(e);m&&(n.x!==m.x||n.y!==m.y||n.width!==m.width||n.height!==m.height)&&r(),m=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==f||f(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===b}),elements:{reference:S.anchor},middleware:[eV({mainAxis:o+O,alignmentAxis:l}),f&&eB({mainAxis:!0,crossAxis:!1,limiter:"partial"===v?eH():void 0,...N}),f&&eZ({...N}),eK({...N,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),P&&eU({element:P,padding:c}),tn({arrowWidth:A,arrowHeight:O}),y&&eY({strategy:"referenceHidden",...N})]}),[B,H]=to($),Z=(0,m.W)(w);(0,eX.b)(()=>{W&&Z?.()},[W,Z]);let K=V.arrow?.x,Y=V.arrow?.y,U=V.arrow?.centerOffset!==0,[G,X]=i.useState();return(0,eX.b)(()=>{k&&X(window.getComputedStyle(k).zIndex)},[k]),(0,u.jsx)("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:W?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:G,"--radix-popper-transform-origin":[V.transformOrigin?.x,V.transformOrigin?.y].join(" "),...V.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,u.jsx)(e6,{scope:r,placedSide:B,onArrowChange:T,arrowX:K,arrowY:Y,shouldHideArrow:U,children:(0,u.jsx)(h.div,{"data-side":B,"data-align":H,...x,ref:C,style:{...x.style,animation:W?void 0:"none"}})})})});e9.displayName=e3;var e8="PopperArrow",te={top:"bottom",right:"left",bottom:"top",left:"right"},tt=i.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=e7(e8,r),i=te[o.placedSide];return(0,u.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,u.jsx)(eG,{...n,ref:t,style:{...n.style,display:"block"}})})});function tr(e){return null!==e}tt.displayName=e8;var tn=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,s=i?0:e.arrowHeight,[l,u]=to(r),c={start:"0%",center:"50%",end:"100%"}[u],d=(o.arrow?.x??0)+a/2,f=(o.arrow?.y??0)+s/2,p="",h="";return"bottom"===l?(p=i?c:`${d}px`,h=`${-s}px`):"top"===l?(p=i?c:`${d}px`,h=`${n.floating.height+s}px`):"right"===l?(p=`${-s}px`,h=i?c:`${f}px`):"left"===l&&(p=`${n.floating.width+s}px`,h=i?c:`${f}px`),{data:{x:p,y:h}}}});function to(e){let[t,r="center"]=e.split("-");return[t,r]}var ti=i.forwardRef((e,t)=>{let{container:r,...n}=e,[o,s]=i.useState(!1);(0,eX.b)(()=>s(!0),[]);let l=r||o&&globalThis?.document?.body;return l?a.createPortal((0,u.jsx)(h.div,{...n,ref:t}),l):null});ti.displayName="Portal";var ta=r(7342),ts=i.forwardRef((e,t)=>(0,u.jsx)(h.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));ts.displayName="VisuallyHidden";var tl=r(3541),tu=r(7582),tc=r(1642),td=r(9495),tf=(0,r(7122)._)(),tp=function(){},th=i.forwardRef(function(e,t){var r=i.useRef(null),n=i.useState({onScrollCapture:tp,onWheelCapture:tp,onTouchMoveCapture:tp}),o=n[0],a=n[1],s=e.forwardProps,l=e.children,u=e.className,c=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,m=e.inert,g=e.allowPinchZoom,v=e.as,y=e.gapMode,b=(0,tu._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=(0,td.q)([r,t]),x=(0,tu.pi)((0,tu.pi)({},b),o);return i.createElement(i.Fragment,null,d&&i.createElement(p,{sideCar:tf,removeScrollBar:c,shards:f,noIsolation:h,inert:m,setCallbacks:a,allowPinchZoom:!!g,lockRef:r,gapMode:y}),s?i.cloneElement(i.Children.only(l),(0,tu.pi)((0,tu.pi)({},x),{ref:w})):i.createElement(void 0===v?"div":v,(0,tu.pi)({},x,{className:u,ref:w}),l))});th.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},th.classNames={fullWidth:tc.zi,zeroRight:tc.pF};var tm=r(6781),tg=r(7087),tv=r(6525),ty=!1;if("undefined"!=typeof window)try{var tb=Object.defineProperty({},"passive",{get:function(){return ty=!0,!0}});window.addEventListener("test",tb,tb),window.removeEventListener("test",tb,tb)}catch(e){ty=!1}var tw=!!ty&&{passive:!1},tx=function(e,t){var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},tS=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),tk(e,n)){var o=tE(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},tk=function(e,t){return"v"===e?tx(t,"overflowY"):tx(t,"overflowX")},tE=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},tC=function(e,t,r,n,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=a*n,l=r.target,u=t.contains(l),c=!1,d=s>0,f=0,p=0;do{var h=tE(e,l),m=h[0],g=h[1]-h[2]-a*m;(m||g)&&tk(e,l)&&(f+=g,p+=m),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(o&&1>Math.abs(f)||!o&&s>f)?c=!0:!d&&(o&&1>Math.abs(p)||!o&&-s>p)&&(c=!0),c},tP=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tT=function(e){return[e.deltaX,e.deltaY]},tM=function(e){return e&&"current"in e?e.current:e},tA=0,tO=[],tR=(0,tm.L)(tf,function(e){var t=i.useRef([]),r=i.useRef([0,0]),n=i.useRef(),o=i.useState(tA++)[0],a=i.useState(tv.Ws)[0],s=i.useRef(e);i.useEffect(function(){s.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,tu.ev)([e.lockRef.current],(e.shards||[]).map(tM),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var o,i=tP(e),a=r.current,l="deltaX"in e?e.deltaX:a[0]-i[0],u="deltaY"in e?e.deltaY:a[1]-i[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=tS(d,c);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=tS(d,c)),!f)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=o),!o)return!0;var p=n.current||o;return tC(p,t,e,"h"===p?l:u,!0)},[]),u=i.useCallback(function(e){if(tO.length&&tO[tO.length-1]===a){var r="deltaY"in e?tT(e):tP(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta)[0]===r[0]&&n[1]===r[1]})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(s.current.shards||[]).map(tM).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=i.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=i.useCallback(function(e){r.current=tP(e),n.current=void 0},[]),f=i.useCallback(function(t){c(t.type,tT(t),t.target,l(t,e.lockRef.current))},[]),p=i.useCallback(function(t){c(t.type,tP(t),t.target,l(t,e.lockRef.current))},[]);i.useEffect(function(){return tO.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",u,tw),document.addEventListener("touchmove",u,tw),document.addEventListener("touchstart",d,tw),function(){tO=tO.filter(function(e){return e!==a}),document.removeEventListener("wheel",u,tw),document.removeEventListener("touchmove",u,tw),document.removeEventListener("touchstart",d,tw)}},[]);var h=e.removeScrollBar,m=e.inert;return i.createElement(i.Fragment,null,m?i.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?i.createElement(tg.jp,{gapMode:e.gapMode}):null)}),tj=i.forwardRef(function(e,t){return i.createElement(th,(0,tu.pi)({},e,{ref:t,sideCar:tR}))});tj.classNames=th.classNames;var tL=[" ","Enter","ArrowUp","ArrowDown"],tN=[" ","Enter"],tI="Select",[t_,tD,tF]=function(e){let t=e+"CollectionProvider",[r,n]=c(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:r}=e,n=i.useRef(null),a=i.useRef(new Map).current;return(0,u.jsx)(o,{scope:t,itemMap:a,collectionRef:n,children:r})};s.displayName=t;let l=e+"CollectionSlot",p=i.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=a(l,r),i=(0,d.e)(t,o.collectionRef);return(0,u.jsx)(f.g7,{ref:i,children:n})});p.displayName=l;let h=e+"CollectionItemSlot",m="data-radix-collection-item",g=i.forwardRef((e,t)=>{let{scope:r,children:n,...o}=e,s=i.useRef(null),l=(0,d.e)(t,s),c=a(h,r);return i.useEffect(()=>(c.itemMap.set(s,{ref:s,...o}),()=>void c.itemMap.delete(s))),(0,u.jsx)(f.g7,{[m]:"",ref:l,children:n})});return g.displayName=h,[{Provider:s,Slot:p,ItemSlot:g},function(t){let r=a(e+"CollectionConsumer",t);return i.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}(tI),[tz,t$]=c(tI,[tF,eQ]),tW=eQ(),[tV,tB]=tz(tI),[tH,tZ]=tz(tI),tK=e=>{let{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:a,value:s,defaultValue:l,onValueChange:c,dir:d,name:f,autoComplete:h,disabled:m,required:g}=e,v=tW(t),[y,b]=i.useState(null),[w,x]=i.useState(null),[S,k]=i.useState(!1),E=function(e){let t=i.useContext(p);return e||t||"ltr"}(d),[C=!1,P]=(0,ta.T)({prop:n,defaultProp:o,onChange:a}),[T,M]=(0,ta.T)({prop:s,defaultProp:l,onChange:c}),A=i.useRef(null),O=!y||!!y.closest("form"),[R,j]=i.useState(new Set),N=Array.from(R).map(e=>e.props.value).join(";");return(0,u.jsx)(e2,{...v,children:(0,u.jsxs)(tV,{required:g,scope:t,trigger:y,onTriggerChange:b,valueNode:w,onValueNodeChange:x,valueNodeHasChildren:S,onValueNodeHasChildrenChange:k,contentId:(0,L.M)(),value:T,onValueChange:M,open:C,onOpenChange:P,dir:E,triggerPointerDownPosRef:A,disabled:m,children:[(0,u.jsx)(t_.Provider,{scope:t,children:(0,u.jsx)(tH,{scope:e.__scopeSelect,onNativeOptionAdd:i.useCallback(e=>{j(t=>new Set(t).add(e))},[]),onNativeOptionRemove:i.useCallback(e=>{j(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:r})}),O?(0,u.jsxs)(rS,{"aria-hidden":!0,required:g,tabIndex:-1,name:f,autoComplete:h,value:T,onChange:e=>M(e.target.value),disabled:m,children:[void 0===T?(0,u.jsx)("option",{value:""}):null,Array.from(R)]},N):null]})})};tK.displayName=tI;var tY="SelectTrigger",tU=i.forwardRef((e,t)=>{let{__scopeSelect:r,disabled:n=!1,...o}=e,i=tW(r),a=tB(tY,r),s=a.disabled||n,c=(0,d.e)(t,a.onTriggerChange),f=tD(r),[p,m,g]=rk(e=>{let t=f().filter(e=>!e.disabled),r=t.find(e=>e.value===a.value),n=rE(t,e,r);void 0!==n&&a.onValueChange(n.value)}),v=()=>{s||(a.onOpenChange(!0),g())};return(0,u.jsx)(e4,{asChild:!0,...i,children:(0,u.jsx)(h.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":rx(a.value)?"":void 0,...o,ref:c,onClick:l(o.onClick,e=>{e.currentTarget.focus()}),onPointerDown:l(o.onPointerDown,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(v(),a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())}),onKeyDown:l(o.onKeyDown,e=>{let t=""!==p.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||m(e.key),(!t||" "!==e.key)&&tL.includes(e.key)&&(v(),e.preventDefault())})})})});tU.displayName=tY;var tG="SelectValue",tX=i.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:o,children:i,placeholder:a="",...s}=e,l=tB(tG,r),{onValueNodeHasChildrenChange:c}=l,f=void 0!==i,p=(0,d.e)(t,l.onValueNodeChange);return(0,eX.b)(()=>{c(f)},[c,f]),(0,u.jsx)(h.span,{...s,ref:p,style:{pointerEvents:"none"},children:rx(l.value)?(0,u.jsx)(u.Fragment,{children:a}):i})});tX.displayName=tG;var tq=i.forwardRef((e,t)=>{let{__scopeSelect:r,children:n,...o}=e;return(0,u.jsx)(h.span,{"aria-hidden":!0,...o,ref:t,children:n||"▼"})});tq.displayName="SelectIcon";var tJ=e=>(0,u.jsx)(ti,{asChild:!0,...e});tJ.displayName="SelectPortal";var tQ="SelectContent",t0=i.forwardRef((e,t)=>{let r=tB(tQ,e.__scopeSelect),[n,o]=i.useState();return((0,eX.b)(()=>{o(new DocumentFragment)},[]),r.open)?(0,u.jsx)(t5,{...e,ref:t}):n?a.createPortal((0,u.jsx)(t1,{scope:e.__scopeSelect,children:(0,u.jsx)(t_.Slot,{scope:e.__scopeSelect,children:(0,u.jsx)("div",{children:e.children})})}),n):null});t0.displayName=tQ;var[t1,t2]=tz(tQ),t5=i.forwardRef((e,t)=>{let{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:a,onPointerDownOutside:s,side:c,sideOffset:p,align:h,alignOffset:m,arrowPadding:g,collisionBoundary:v,collisionPadding:y,sticky:w,hideWhenDetached:x,avoidCollisions:E,...C}=e,P=tB(tQ,r),[M,A]=i.useState(null),[O,R]=i.useState(null),j=(0,d.e)(t,e=>A(e)),[L,N]=i.useState(null),[I,_]=i.useState(null),D=tD(r),[F,z]=i.useState(!1),$=i.useRef(!1);i.useEffect(()=>{if(M)return(0,tl.Ry)(M)},[M]),i.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??k()),document.body.insertAdjacentElement("beforeend",e[1]??k()),S++,()=>{1===S&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),S--}},[]);let W=i.useCallback(e=>{let[t,...r]=D().map(e=>e.ref.current),[n]=r.slice(-1),o=document.activeElement;for(let r of e)if(r===o||(r?.scrollIntoView({block:"nearest"}),r===t&&O&&(O.scrollTop=0),r===n&&O&&(O.scrollTop=O.scrollHeight),r?.focus(),document.activeElement!==o))return},[D,O]),V=i.useCallback(()=>W([L,M]),[W,L,M]);i.useEffect(()=>{F&&V()},[F,V]);let{onOpenChange:B,triggerPointerDownPosRef:H}=P;i.useEffect(()=>{if(M){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(H.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(H.current?.y??0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():M.contains(r.target)||B(!1),document.removeEventListener("pointermove",t),H.current=null};return null!==H.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[M,B,H]),i.useEffect(()=>{let e=()=>B(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[B]);let[Z,K]=rk(e=>{let t=D().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=rE(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),Y=i.useCallback((e,t,r)=>{let n=!$.current&&!r;(void 0!==P.value&&P.value===t||n)&&(N(e),n&&($.current=!0))},[P.value]),U=i.useCallback(()=>M?.focus(),[M]),G=i.useCallback((e,t,r)=>{let n=!$.current&&!r;(void 0!==P.value&&P.value===t||n)&&_(e)},[P.value]),X="popper"===n?t3:t4,q=X===t3?{side:c,sideOffset:p,align:h,alignOffset:m,arrowPadding:g,collisionBoundary:v,collisionPadding:y,sticky:w,hideWhenDetached:x,avoidCollisions:E}:{};return(0,u.jsx)(t1,{scope:r,content:M,viewport:O,onViewportChange:R,itemRefCallback:Y,selectedItem:L,onItemLeave:U,itemTextRefCallback:G,focusSelectedItem:V,selectedItemText:I,position:n,isPositioned:F,searchRef:Z,children:(0,u.jsx)(tj,{as:f.g7,allowPinchZoom:!0,children:(0,u.jsx)(T,{asChild:!0,trapped:P.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:l(o,e=>{P.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,u.jsx)(b,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>P.onOpenChange(!1),children:(0,u.jsx)(X,{role:"listbox",id:P.contentId,"data-state":P.open?"open":"closed",dir:P.dir,onContextMenu:e=>e.preventDefault(),...C,...q,onPlaced:()=>z(!0),ref:j,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:l(C.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||K(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=D().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>W(t)),e.preventDefault()}})})})})})})});t5.displayName="SelectContentImpl";var t4=i.forwardRef((e,t)=>{let{__scopeSelect:r,onPlaced:n,...o}=e,a=tB(tQ,r),l=t2(tQ,r),[c,f]=i.useState(null),[p,m]=i.useState(null),g=(0,d.e)(t,e=>m(e)),v=tD(r),y=i.useRef(!1),b=i.useRef(!0),{viewport:w,selectedItem:x,selectedItemText:S,focusSelectedItem:k}=l,E=i.useCallback(()=>{if(a.trigger&&a.valueNode&&c&&p&&w&&x&&S){let e=a.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),r=a.valueNode.getBoundingClientRect(),o=S.getBoundingClientRect();if("rtl"!==a.dir){let n=o.left-t.left,i=r.left-n,a=e.left-i,l=e.width+a,u=Math.max(l,t.width),d=s(i,[10,window.innerWidth-10-u]);c.style.minWidth=l+"px",c.style.left=d+"px"}else{let n=t.right-o.right,i=window.innerWidth-r.right-n,a=window.innerWidth-e.right-i,l=e.width+a,u=Math.max(l,t.width),d=s(i,[10,window.innerWidth-10-u]);c.style.minWidth=l+"px",c.style.right=d+"px"}let i=v(),l=window.innerHeight-20,u=w.scrollHeight,d=window.getComputedStyle(p),f=parseInt(d.borderTopWidth,10),h=parseInt(d.paddingTop,10),m=parseInt(d.borderBottomWidth,10),g=f+h+u+parseInt(d.paddingBottom,10)+m,b=Math.min(5*x.offsetHeight,g),k=window.getComputedStyle(w),E=parseInt(k.paddingTop,10),C=parseInt(k.paddingBottom,10),P=e.top+e.height/2-10,T=x.offsetHeight/2,M=f+h+(x.offsetTop+T);if(M<=P){let e=x===i[i.length-1].ref.current;c.style.bottom="0px";let t=p.clientHeight-w.offsetTop-w.offsetHeight;c.style.height=M+Math.max(l-P,T+(e?C:0)+t+m)+"px"}else{let e=x===i[0].ref.current;c.style.top="0px";let t=Math.max(P,f+w.offsetTop+(e?E:0)+T);c.style.height=t+(g-M)+"px",w.scrollTop=M-P+w.offsetTop}c.style.margin="10px 0",c.style.minHeight=b+"px",c.style.maxHeight=l+"px",n?.(),requestAnimationFrame(()=>y.current=!0)}},[v,a.trigger,a.valueNode,c,p,w,x,S,a.dir,n]);(0,eX.b)(()=>E(),[E]);let[C,P]=i.useState();(0,eX.b)(()=>{p&&P(window.getComputedStyle(p).zIndex)},[p]);let T=i.useCallback(e=>{e&&!0===b.current&&(E(),k?.(),b.current=!1)},[E,k]);return(0,u.jsx)(t6,{scope:r,contentWrapper:c,shouldExpandOnScrollRef:y,onScrollButtonChange:T,children:(0,u.jsx)("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:(0,u.jsx)(h.div,{...o,ref:g,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});t4.displayName="SelectItemAlignedPosition";var t3=i.forwardRef((e,t)=>{let{__scopeSelect:r,align:n="start",collisionPadding:o=10,...i}=e,a=tW(r);return(0,u.jsx)(e9,{...a,...i,ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});t3.displayName="SelectPopperPosition";var[t6,t7]=tz(tQ,{}),t9="SelectViewport",t8=i.forwardRef((e,t)=>{let{__scopeSelect:r,nonce:n,...o}=e,a=t2(t9,r),s=t7(t9,r),c=(0,d.e)(t,a.onViewportChange),f=i.useRef(0);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),(0,u.jsx)(t_.Slot,{scope:r,children:(0,u.jsx)(h.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:c,style:{position:"relative",flex:1,overflow:"auto",...o.style},onScroll:l(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=s;if(n?.current&&r){let e=Math.abs(f.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,o=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(o<n){let i=o+e,a=Math.min(n,i),s=i-a;r.style.height=a+"px","0px"===r.style.bottom&&(t.scrollTop=s>0?s:0,r.style.justifyContent="flex-end")}}}f.current=t.scrollTop})})})]})});t8.displayName=t9;var re="SelectGroup",[rt,rr]=tz(re),rn=i.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,o=(0,L.M)();return(0,u.jsx)(rt,{scope:r,id:o,children:(0,u.jsx)(h.div,{role:"group","aria-labelledby":o,...n,ref:t})})});rn.displayName=re;var ro="SelectLabel",ri=i.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,o=rr(ro,r);return(0,u.jsx)(h.div,{id:o.id,...n,ref:t})});ri.displayName=ro;var ra="SelectItem",[rs,rl]=tz(ra),ru=i.forwardRef((e,t)=>{let{__scopeSelect:r,value:n,disabled:o=!1,textValue:a,...s}=e,c=tB(ra,r),f=t2(ra,r),p=c.value===n,[m,g]=i.useState(a??""),[v,y]=i.useState(!1),b=(0,d.e)(t,e=>f.itemRefCallback?.(e,n,o)),w=(0,L.M)(),x=()=>{o||(c.onValueChange(n),c.onOpenChange(!1))};if(""===n)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,u.jsx)(rs,{scope:r,value:n,disabled:o,textId:w,isSelected:p,onItemTextChange:i.useCallback(e=>{g(t=>t||(e?.textContent??"").trim())},[]),children:(0,u.jsx)(t_.ItemSlot,{scope:r,value:n,disabled:o,textValue:m,children:(0,u.jsx)(h.div,{role:"option","aria-labelledby":w,"data-highlighted":v?"":void 0,"aria-selected":p&&v,"data-state":p?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...s,ref:b,onFocus:l(s.onFocus,()=>y(!0)),onBlur:l(s.onBlur,()=>y(!1)),onPointerUp:l(s.onPointerUp,x),onPointerMove:l(s.onPointerMove,e=>{o?f.onItemLeave?.():e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:l(s.onPointerLeave,e=>{e.currentTarget===document.activeElement&&f.onItemLeave?.()}),onKeyDown:l(s.onKeyDown,e=>{f.searchRef?.current!==""&&" "===e.key||(tN.includes(e.key)&&x()," "===e.key&&e.preventDefault())})})})})});ru.displayName=ra;var rc="SelectItemText",rd=i.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:o,...s}=e,l=tB(rc,r),c=t2(rc,r),f=rl(rc,r),p=tZ(rc,r),[m,g]=i.useState(null),v=(0,d.e)(t,e=>g(e),f.onItemTextChange,e=>c.itemTextRefCallback?.(e,f.value,f.disabled)),y=m?.textContent,b=i.useMemo(()=>(0,u.jsx)("option",{value:f.value,disabled:f.disabled,children:y},f.value),[f.disabled,f.value,y]),{onNativeOptionAdd:w,onNativeOptionRemove:x}=p;return(0,eX.b)(()=>(w(b),()=>x(b)),[w,x,b]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(h.span,{id:f.textId,...s,ref:v}),f.isSelected&&l.valueNode&&!l.valueNodeHasChildren?a.createPortal(s.children,l.valueNode):null]})});rd.displayName=rc;var rf="SelectItemIndicator",rp=i.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return rl(rf,r).isSelected?(0,u.jsx)(h.span,{"aria-hidden":!0,...n,ref:t}):null});rp.displayName=rf;var rh="SelectScrollUpButton",rm=i.forwardRef((e,t)=>{let r=t2(rh,e.__scopeSelect),n=t7(rh,e.__scopeSelect),[o,a]=i.useState(!1),s=(0,d.e)(t,n.onScrollButtonChange);return(0,eX.b)(()=>{if(r.viewport&&r.isPositioned){let e=function(){a(t.scrollTop>0)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),o?(0,u.jsx)(ry,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});rm.displayName=rh;var rg="SelectScrollDownButton",rv=i.forwardRef((e,t)=>{let r=t2(rg,e.__scopeSelect),n=t7(rg,e.__scopeSelect),[o,a]=i.useState(!1),s=(0,d.e)(t,n.onScrollButtonChange);return(0,eX.b)(()=>{if(r.viewport&&r.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;a(Math.ceil(t.scrollTop)<e)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),o?(0,u.jsx)(ry,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});rv.displayName=rg;var ry=i.forwardRef((e,t)=>{let{__scopeSelect:r,onAutoScroll:n,...o}=e,a=t2("SelectScrollButton",r),s=i.useRef(null),c=tD(r),d=i.useCallback(()=>{null!==s.current&&(window.clearInterval(s.current),s.current=null)},[]);return i.useEffect(()=>()=>d(),[d]),(0,eX.b)(()=>{let e=c().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[c]),(0,u.jsx)(h.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:l(o.onPointerDown,()=>{null===s.current&&(s.current=window.setInterval(n,50))}),onPointerMove:l(o.onPointerMove,()=>{a.onItemLeave?.(),null===s.current&&(s.current=window.setInterval(n,50))}),onPointerLeave:l(o.onPointerLeave,()=>{d()})})}),rb=i.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return(0,u.jsx)(h.div,{"aria-hidden":!0,...n,ref:t})});rb.displayName="SelectSeparator";var rw="SelectArrow";function rx(e){return""===e||void 0===e}i.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,o=tW(r),i=tB(rw,r),a=t2(rw,r);return i.open&&"popper"===a.position?(0,u.jsx)(tt,{...o,...n,ref:t}):null}).displayName=rw;var rS=i.forwardRef((e,t)=>{let{value:r,...n}=e,o=i.useRef(null),a=(0,d.e)(t,o),s=function(e){let t=i.useRef({value:e,previous:e});return i.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(r);return i.useEffect(()=>{let e=o.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==r&&t){let n=new Event("change",{bubbles:!0});t.call(e,r),e.dispatchEvent(n)}},[s,r]),(0,u.jsx)(ts,{asChild:!0,children:(0,u.jsx)("select",{...n,ref:a,defaultValue:r})})});function rk(e){let t=(0,m.W)(e),r=i.useRef(""),n=i.useRef(0),o=i.useCallback(e=>{let o=r.current+e;t(o),function e(t){r.current=t,window.clearTimeout(n.current),""!==t&&(n.current=window.setTimeout(()=>e(""),1e3))}(o)},[t]),a=i.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return i.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,a]}function rE(e,t,r){var n;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=(n=Math.max(r?e.indexOf(r):-1,0),e.map((t,r)=>e[(n+r)%e.length]));1===o.length&&(i=i.filter(e=>e!==r));let a=i.find(e=>e.textValue.toLowerCase().startsWith(o.toLowerCase()));return a!==r?a:void 0}rS.displayName="BubbleSelect";var rC=tK,rP=tU,rT=tX,rM=tq,rA=tJ,rO=t0,rR=t8,rj=rn,rL=ri,rN=ru,rI=rd,r_=rp,rD=rm,rF=rv,rz=rb},8426:function(e,t,r){"use strict";r.d(t,{g7:function(){return a}});var n=r(7294),o=r(8771),i=r(5893),a=n.forwardRef((e,t)=>{let{children:r,...o}=e,a=n.Children.toArray(r),l=a.find(u);if(l){let e=l.props.children,r=a.map(t=>t!==l?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(s,{...o,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,i.jsx)(s,{...o,ref:t,children:r})});a.displayName="Slot";var s=n.forwardRef((e,t)=>{let{children:r,...i}=e;if(n.isValidElement(r)){let e,a;let s=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref;return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{i(...e),o(...e)}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props),ref:t?(0,o.F)(t,s):s})}return n.Children.count(r)>1?n.Children.only(null):null});s.displayName="SlotClone";var l=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});function u(e){return n.isValidElement(e)&&e.type===l}},9698:function(e,t,r){"use strict";r.d(t,{W:function(){return o}});var n=r(7294);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},7342:function(e,t,r){"use strict";r.d(t,{T:function(){return i}});var n=r(7294),o=r(9698);function i({prop:e,defaultProp:t,onChange:r=()=>{}}){let[i,a]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[i]=r,a=n.useRef(i),s=(0,o.W)(t);return n.useEffect(()=>{a.current!==i&&(s(i),a.current=i)},[i,a,s]),r}({defaultProp:t,onChange:r}),s=void 0!==e,l=s?e:i,u=(0,o.W)(r);return[l,n.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&u(r)}else a(t)},[s,e,a,u])]}},8724:function(e,t,r){"use strict";r.d(t,{e:function(){return i}});var n=r(7294),o=r(9698);function i(e,t=globalThis?.document){let r=(0,o.W)(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}},9981:function(e,t,r){"use strict";r.d(t,{b:function(){return o}});var n=r(7294),o=globalThis?.document?n.useLayoutEffect:()=>{}},512:function(e,t,r){"use strict";function n(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{W:function(){return n}}),t.Z=n},1886:function(e,t,r){"use strict";var n;function o(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}function i(e,t){let r=o(e),n=o(t),i=r.getTime()-n.getTime();return i<0?-1:i>0?1:i}r.d(t,{B:function(){return m}});let a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function s(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}let l={date:s({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:s({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:s({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function c(e){return(t,r)=>{let n;if("formatting"===((null==r?void 0:r.context)?String(r.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,o=(null==r?void 0:r.width)?String(r.width):t;n=e.formattingValues[o]||e.formattingValues[t]}else{let t=e.defaultWidth,o=(null==r?void 0:r.width)?String(r.width):e.defaultWidth;n=e.values[o]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function d(e){return function(t){let r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let s=a[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}(l,e=>e.test(s)):function(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}(l,e=>e.test(s));return r=e.valueCallback?e.valueCallback(u):u,{value:r=n.valueCallback?n.valueCallback(r):r,rest:t.slice(s.length)}}}let f={code:"en-US",formatDistance:(e,t,r)=>{let n;let o=a[e];return(n="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null==r?void 0:r.addSuffix)?r.comparison&&r.comparison>0?"in "+n:n+" ago":n},formatLong:l,formatRelative:(e,t,r,n)=>u[e],localize:{ordinalNumber:(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:c({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:c({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:c({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:c({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:c({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(n={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(n.matchPattern);if(!r)return null;let o=r[0],i=e.match(n.parsePattern);if(!i)return null;let a=n.valueCallback?n.valueCallback(i[0]):i[0];return{value:a=t.valueCallback?t.valueCallback(a):a,rest:e.slice(o.length)}}),era:d({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:d({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:d({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:d({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},p={};function h(e){let t=o(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function m(e,t,r){var n,a,s,l,u,c;let d,m,g;let v=null!==(a=null!==(n=null==r?void 0:r.locale)&&void 0!==n?n:p.locale)&&void 0!==a?a:f,y=i(e,t);if(isNaN(y))throw RangeError("Invalid time value");let b=Object.assign({},r,{addSuffix:null==r?void 0:r.addSuffix,comparison:y});y>0?(d=o(t),m=o(e)):(d=o(e),m=o(t));let w=(s=m,l=d,(c=null==void 0?void 0:(void 0).roundingMethod,e=>{let t=(c?Math[c]:Math.trunc)(e);return 0===t?0:t})((+o(s)-+o(l))/1e3)),x=Math.round((w-(h(m)-h(d))/1e3)/60);if(x<2){if(null==r?void 0:r.includeSeconds){if(w<5)return v.formatDistance("lessThanXSeconds",5,b);if(w<10)return v.formatDistance("lessThanXSeconds",10,b);if(w<20)return v.formatDistance("lessThanXSeconds",20,b);if(w<40)return v.formatDistance("halfAMinute",0,b);else if(w<60)return v.formatDistance("lessThanXMinutes",1,b);else return v.formatDistance("xMinutes",1,b)}return 0===x?v.formatDistance("lessThanXMinutes",1,b):v.formatDistance("xMinutes",x,b)}if(x<45)return v.formatDistance("xMinutes",x,b);if(x<90)return v.formatDistance("aboutXHours",1,b);if(x<1440)return v.formatDistance("aboutXHours",Math.round(x/60),b);if(x<2520)return v.formatDistance("xDays",1,b);if(x<43200)return v.formatDistance("xDays",Math.round(x/1440),b);if(x<86400)return g=Math.round(x/43200),v.formatDistance("aboutXMonths",g,b);if((g=function(e,t){let r;let n=o(e),a=o(t),s=i(n,a),l=Math.abs(function(e,t){let r=o(e),n=o(t);return 12*(r.getFullYear()-n.getFullYear())+(r.getMonth()-n.getMonth())}(n,a));if(l<1)r=0;else{1===n.getMonth()&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-s*l);let t=i(n,a)===-s;(function(e){let t=o(e);return+function(e){let t=o(e);return t.setHours(23,59,59,999),t}(t)==+function(e){let t=o(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}(t)})(o(e))&&1===l&&1===i(e,a)&&(t=!1),r=s*(l-Number(t))}return 0===r?0:r}(m,d))<12)return v.formatDistance("xMonths",Math.round(x/43200),b);{let e=g%12,t=Math.trunc(g/12);return e<3?v.formatDistance("aboutXYears",t,b):e<9?v.formatDistance("overXYears",t,b):v.formatDistance("almostXYears",t+1,b)}}},8388:function(e,t,r){"use strict";r.d(t,{m6:function(){return G}});let n=e=>{let t=s(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),o(r,t)||a(e)},getConflictingClassGroupIds:(e,t)=>{let o=r[e]||[];return t&&n[e]?[...o,...n[e]]:o}}},o=(e,t)=>{if(0===e.length)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),i=n?o(e.slice(1),n):void 0;if(i)return i;if(0===t.validators.length)return;let a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},i=/^\[(.+)\]$/,a=e=>{if(i.test(e)){let t=i.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},s=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return d(Object.entries(e.classGroups),r).forEach(([e,r])=>{l(r,n,e,t)}),n},l=(e,t,r,n)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:u(t,e)).classGroupId=r;return}if("function"==typeof e){if(c(e)){l(e(n),t,r,n);return}t.validators.push({validator:e,classGroupId:r});return}Object.entries(e).forEach(([e,o])=>{l(o,u(t,e),r,n)})})},u=(e,t)=>{let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},c=e=>e.isThemeGetter,d=(e,t)=>t?e.map(([e,r])=>[e,r.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,r])=>[t+e,r])):e)]):e,f=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,n=new Map,o=(o,i)=>{r.set(o,i),++t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):o(e,t)}}},p=e=>{let{separator:t,experimentalParseClassName:r}=e,n=1===t.length,o=t[0],i=t.length,a=e=>{let r;let a=[],s=0,l=0;for(let u=0;u<e.length;u++){let c=e[u];if(0===s){if(c===o&&(n||e.slice(u,u+i)===t)){a.push(e.slice(l,u)),l=u+i;continue}if("/"===c){r=u;continue}}"["===c?s++:"]"===c&&s--}let u=0===a.length?e:e.substring(l),c=u.startsWith("!"),d=c?u.substring(1):u;return{modifiers:a,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:r&&r>l?r-l:void 0}};return r?e=>r({className:e,parseClassName:a}):a},h=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t},m=e=>({cache:f(e.cacheSize),parseClassName:p(e),...n(e)}),g=/\s+/,v=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,i=[],a=e.trim().split(g),s="";for(let e=a.length-1;e>=0;e-=1){let t=a[e],{modifiers:l,hasImportantModifier:u,baseClassName:c,maybePostfixModifierPosition:d}=r(t),f=!!d,p=n(f?c.substring(0,d):c);if(!p){if(!f||!(p=n(c))){s=t+(s.length>0?" "+s:s);continue}f=!1}let m=h(l).join(":"),g=u?m+"!":m,v=g+p;if(i.includes(v))continue;i.push(v);let y=o(p,f);for(let e=0;e<y.length;++e){let t=y[e];i.push(g+t)}s=t+(s.length>0?" "+s:s)}return s};function y(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=b(e))&&(n&&(n+=" "),n+=t);return n}let b=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=b(e[n]))&&(r&&(r+=" "),r+=t);return r},w=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},x=/^\[(?:([a-z-]+):)?(.+)\]$/i,S=/^\d+\/\d+$/,k=new Set(["px","full","screen"]),E=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C=/\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$/,P=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,T=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,M=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,A=e=>R(e)||k.has(e)||S.test(e),O=e=>H(e,"length",Z),R=e=>!!e&&!Number.isNaN(Number(e)),j=e=>H(e,"number",R),L=e=>!!e&&Number.isInteger(Number(e)),N=e=>e.endsWith("%")&&R(e.slice(0,-1)),I=e=>x.test(e),_=e=>E.test(e),D=new Set(["length","size","percentage"]),F=e=>H(e,D,K),z=e=>H(e,"position",K),$=new Set(["image","url"]),W=e=>H(e,$,U),V=e=>H(e,"",Y),B=()=>!0,H=(e,t,r)=>{let n=x.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))},Z=e=>C.test(e)&&!P.test(e),K=()=>!1,Y=e=>T.test(e),U=e=>M.test(e),G=function(e,...t){let r,n,o;let i=function(s){return n=(r=m(t.reduce((e,t)=>t(e),e()))).cache.get,o=r.cache.set,i=a,a(s)};function a(e){let t=n(e);if(t)return t;let i=v(e,r);return o(e,i),i}return function(){return i(y.apply(null,arguments))}}(()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),n=w("brightness"),o=w("borderColor"),i=w("borderRadius"),a=w("borderSpacing"),s=w("borderWidth"),l=w("contrast"),u=w("grayscale"),c=w("hueRotate"),d=w("invert"),f=w("gap"),p=w("gradientColorStops"),h=w("gradientColorStopPositions"),m=w("inset"),g=w("margin"),v=w("opacity"),y=w("padding"),b=w("saturate"),x=w("scale"),S=w("sepia"),k=w("skew"),E=w("space"),C=w("translate"),P=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto",I,t],D=()=>[I,t],$=()=>["",A,O],H=()=>["auto",R,I],Z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],Y=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],U=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",I],X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>[R,I];return{cacheSize:500,separator:":",theme:{colors:[B],spacing:[A,O],blur:["none","",_,I],brightness:q(),borderColor:[e],borderRadius:["none","","full",_,I],borderSpacing:D(),borderWidth:$(),contrast:q(),grayscale:G(),hueRotate:q(),invert:G(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[N,O],inset:M(),margin:M(),opacity:q(),padding:D(),saturate:q(),scale:q(),sepia:G(),skew:q(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",I]}],container:["container"],columns:[{columns:[_]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"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"],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:[...Z(),I]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",L,I]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",I]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",L,I]}],"grid-cols":[{"grid-cols":[B]}],"col-start-end":[{col:["auto",{span:["full",L,I]},I]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[B]}],"row-start-end":[{row:["auto",{span:[L,I]},I]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",I]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",I]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...U()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...U(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...U(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",I,t]}],"min-w":[{"min-w":[I,t,"min","max","fit"]}],"max-w":[{"max-w":[I,t,"none","full","min","max","fit","prose",{screen:[_]},_]}],h:[{h:[I,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[I,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[I,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[I,t,"auto","min","max","fit"]}],"font-size":[{text:["base",_,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",j]}],"font-family":[{font:[B]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",I]}],"line-clamp":[{"line-clamp":["none",R,j]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",A,I]}],"list-image":[{"list-image":["none",I]}],"list-style-type":[{list:["none","disc","decimal",I]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",A,O]}],"underline-offset":[{"underline-offset":["auto",A,I]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Z(),z]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",F]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},W]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[A,I]}],"outline-w":[{outline:[A,O]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[A,O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",_,V]}],"shadow-color":[{shadow:[B]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Y(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Y()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",_,I]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",I]}],duration:[{duration:q()}],ease:[{ease:["linear","in","out","in-out",I]}],delay:[{delay:q()}],animate:[{animate:["none","spin","ping","pulse","bounce",I]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[L,I]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",I]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",I]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"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",I]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[A,O,j]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}})},7582:function(e,t,r){"use strict";r.d(t,{_T:function(){return o},ev:function(){return i},pi:function(){return n}});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function i(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError}}]);