@sapienx/agentos 0.6.9 → 0.6.10

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 (167) hide show
  1. package/bundle/.next/BUILD_ID +1 -1
  2. package/bundle/.next/app-path-routes-manifest.json +17 -17
  3. package/bundle/.next/build-manifest.json +3 -3
  4. package/bundle/.next/prerender-manifest.json +3 -3
  5. package/bundle/.next/react-loadable-manifest.json +2 -2
  6. package/bundle/.next/required-server-files.json +1 -1
  7. package/bundle/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  8. package/bundle/.next/server/app/_global-error.html +1 -1
  9. package/bundle/.next/server/app/_global-error.rsc +1 -1
  10. package/bundle/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  11. package/bundle/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  12. package/bundle/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  13. package/bundle/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  14. package/bundle/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  15. package/bundle/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  16. package/bundle/.next/server/app/_not-found/page.js +3 -3
  17. package/bundle/.next/server/app/_not-found/page.js.nft.json +1 -1
  18. package/bundle/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  19. package/bundle/.next/server/app/_not-found.html +1 -12
  20. package/bundle/.next/server/app/_not-found.rsc +17 -16
  21. package/bundle/.next/server/app/_not-found.segments/_full.segment.rsc +17 -16
  22. package/bundle/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  23. package/bundle/.next/server/app/_not-found.segments/_index.segment.rsc +6 -5
  24. package/bundle/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  25. package/bundle/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  26. package/bundle/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  27. package/bundle/.next/server/app/accounts/page.js +1 -1
  28. package/bundle/.next/server/app/accounts/page.js.nft.json +1 -1
  29. package/bundle/.next/server/app/accounts/page_client-reference-manifest.js +1 -1
  30. package/bundle/.next/server/app/agents/page.js +1 -1
  31. package/bundle/.next/server/app/agents/page.js.nft.json +1 -1
  32. package/bundle/.next/server/app/agents/page_client-reference-manifest.js +1 -1
  33. package/bundle/.next/server/app/api/accounts/access-rules/route.js.nft.json +1 -1
  34. package/bundle/.next/server/app/api/accounts/browser-profiles/route.js.nft.json +1 -1
  35. package/bundle/.next/server/app/api/accounts/login-targets/route.js.nft.json +1 -1
  36. package/bundle/.next/server/app/api/agents/[agentId]/chat/route.js.nft.json +1 -1
  37. package/bundle/.next/server/app/api/agents/route.js.nft.json +1 -1
  38. package/bundle/.next/server/app/api/diagnostics/route.js.nft.json +1 -1
  39. package/bundle/.next/server/app/api/gateway/control/route.js.nft.json +1 -1
  40. package/bundle/.next/server/app/api/integrations/[integrationId]/status/route.js.nft.json +1 -1
  41. package/bundle/.next/server/app/api/mission/route.js.nft.json +1 -1
  42. package/bundle/.next/server/app/api/models/catalog/route.js.nft.json +1 -1
  43. package/bundle/.next/server/app/api/models/providers/route.js.nft.json +1 -1
  44. package/bundle/.next/server/app/api/onboarding/models/route.js.nft.json +1 -1
  45. package/bundle/.next/server/app/api/onboarding/route.js.nft.json +1 -1
  46. package/bundle/.next/server/app/api/openclaw/capabilities/route.js.nft.json +1 -1
  47. package/bundle/.next/server/app/api/openclaw/compatibility-smoke/route.js.nft.json +1 -1
  48. package/bundle/.next/server/app/api/planner/[planId]/deploy/route.js.nft.json +1 -1
  49. package/bundle/.next/server/app/api/planner/[planId]/document-rewrite/route.js.nft.json +1 -1
  50. package/bundle/.next/server/app/api/planner/[planId]/route.js.nft.json +1 -1
  51. package/bundle/.next/server/app/api/planner/[planId]/simulate/route.js.nft.json +1 -1
  52. package/bundle/.next/server/app/api/planner/[planId]/turn/route.js.nft.json +1 -1
  53. package/bundle/.next/server/app/api/planner/route.js.nft.json +1 -1
  54. package/bundle/.next/server/app/api/reset/route.js.nft.json +1 -1
  55. package/bundle/.next/server/app/api/runtimes/[runtimeId]/route.js.nft.json +1 -1
  56. package/bundle/.next/server/app/api/settings/config-pacing/route.js.nft.json +1 -1
  57. package/bundle/.next/server/app/api/settings/gateway/route.js.nft.json +1 -1
  58. package/bundle/.next/server/app/api/settings/openclaw-binary/route.js.nft.json +1 -1
  59. package/bundle/.next/server/app/api/settings/workspace-root/route.js.nft.json +1 -1
  60. package/bundle/.next/server/app/api/snapshot/route.js.nft.json +1 -1
  61. package/bundle/.next/server/app/api/stream/route.js.nft.json +1 -1
  62. package/bundle/.next/server/app/api/tasks/[taskId]/abort/route.js.nft.json +1 -1
  63. package/bundle/.next/server/app/api/tasks/[taskId]/control/route.js.nft.json +1 -1
  64. package/bundle/.next/server/app/api/tasks/[taskId]/stream/route.js.nft.json +1 -1
  65. package/bundle/.next/server/app/api/update/route.js.nft.json +1 -1
  66. package/bundle/.next/server/app/api/workspaces/[workspaceId]/channels/discovered-groups/route.js.nft.json +1 -1
  67. package/bundle/.next/server/app/api/workspaces/[workspaceId]/channels/route.js.nft.json +1 -1
  68. package/bundle/.next/server/app/api/workspaces/[workspaceId]/edit-draft/route.js.nft.json +1 -1
  69. package/bundle/.next/server/app/api/workspaces/[workspaceId]/files/route.js.nft.json +1 -1
  70. package/bundle/.next/server/app/api/workspaces/[workspaceId]/surfaces/discovery/route.js.nft.json +1 -1
  71. package/bundle/.next/server/app/api/workspaces/[workspaceId]/surfaces/reconcile/route.js.nft.json +1 -1
  72. package/bundle/.next/server/app/api/workspaces/route.js.nft.json +1 -1
  73. package/bundle/.next/server/app/dashboard/page.js +1 -1
  74. package/bundle/.next/server/app/dashboard/page.js.nft.json +1 -1
  75. package/bundle/.next/server/app/dashboard/page_client-reference-manifest.js +1 -1
  76. package/bundle/.next/server/app/files/page.js +1 -1
  77. package/bundle/.next/server/app/files/page.js.nft.json +1 -1
  78. package/bundle/.next/server/app/files/page_client-reference-manifest.js +1 -1
  79. package/bundle/.next/server/app/integrations/page.js +1 -1
  80. package/bundle/.next/server/app/integrations/page.js.nft.json +1 -1
  81. package/bundle/.next/server/app/integrations/page_client-reference-manifest.js +1 -1
  82. package/bundle/.next/server/app/mission-control/page.js +1 -1
  83. package/bundle/.next/server/app/mission-control/page.js.nft.json +1 -1
  84. package/bundle/.next/server/app/mission-control/page_client-reference-manifest.js +1 -1
  85. package/bundle/.next/server/app/models/page.js +1 -1
  86. package/bundle/.next/server/app/models/page.js.nft.json +1 -1
  87. package/bundle/.next/server/app/models/page_client-reference-manifest.js +1 -1
  88. package/bundle/.next/server/app/page.js +1 -1
  89. package/bundle/.next/server/app/page.js.nft.json +1 -1
  90. package/bundle/.next/server/app/page_client-reference-manifest.js +1 -1
  91. package/bundle/.next/server/app/settings/page.js +1 -1
  92. package/bundle/.next/server/app/settings/page.js.nft.json +1 -1
  93. package/bundle/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  94. package/bundle/.next/server/app/tasks/page.js +1 -1
  95. package/bundle/.next/server/app/tasks/page.js.nft.json +1 -1
  96. package/bundle/.next/server/app/tasks/page_client-reference-manifest.js +1 -1
  97. package/bundle/.next/server/app-paths-manifest.json +17 -17
  98. package/bundle/.next/server/chunks/4391.js +2 -2
  99. package/bundle/.next/server/chunks/{4669.js → 4834.js} +2 -2
  100. package/bundle/.next/server/chunks/4983.js +2 -2
  101. package/bundle/.next/server/chunks/5110.js +185 -0
  102. package/bundle/.next/server/chunks/7042.js +7 -0
  103. package/bundle/.next/server/chunks/824.js +1 -0
  104. package/bundle/.next/server/middleware-build-manifest.js +1 -1
  105. package/bundle/.next/server/middleware-react-loadable-manifest.js +1 -1
  106. package/bundle/.next/server/pages/404.html +1 -12
  107. package/bundle/.next/server/pages/500.html +1 -1
  108. package/bundle/.next/server/server-reference-manifest.json +1 -1
  109. package/bundle/.next/static/chunks/2083-287b5acfe58cc550.js +1 -0
  110. package/bundle/.next/static/chunks/2125-ee3186e76863c0c0.js +3 -0
  111. package/bundle/.next/static/chunks/213.55cf232b18b53b9d.js +1 -0
  112. package/bundle/.next/static/chunks/5922-bd40755edb9a1242.js +174 -0
  113. package/bundle/.next/static/chunks/{7442-2b8d98ced8731710.js → 7442-f6bbc0b14b5ca5e5.js} +10 -10
  114. package/bundle/.next/static/chunks/7469-ff14d7391de81fa9.js +9 -0
  115. package/bundle/.next/static/chunks/{1541-0173f72615d06e6b.js → 8194-5ee9cc305aa8dd38.js} +3 -3
  116. package/bundle/.next/static/chunks/app/accounts/page-6f089a76941d46ab.js +1 -0
  117. package/bundle/.next/static/chunks/app/agents/page-eff12bdae5519ed3.js +1 -0
  118. package/bundle/.next/static/chunks/app/dashboard/page-a99b8eca6b1e54fc.js +1 -0
  119. package/bundle/.next/static/chunks/app/files/page-dc5dbcbc430f1568.js +1 -0
  120. package/bundle/.next/static/chunks/app/integrations/page-c50b4f2501b6495e.js +1 -0
  121. package/bundle/.next/static/chunks/app/layout-b44a6304aeb11e7d.js +1 -0
  122. package/bundle/.next/static/chunks/app/mission-control/page-67cbc591f6f65db0.js +1 -0
  123. package/bundle/.next/static/chunks/app/models/page-ccff5c274d4abb63.js +1 -0
  124. package/bundle/.next/static/chunks/app/page-b8446d01f241e969.js +1 -0
  125. package/bundle/.next/static/chunks/app/settings/page-b03e77b48df03a1b.js +1 -0
  126. package/bundle/.next/static/chunks/app/tasks/page-cf025219a3c875cf.js +1 -0
  127. package/bundle/.next/static/chunks/webpack-82d9aaa9ef1f9bdf.js +1 -0
  128. package/bundle/.next/static/css/2f74db4938189dc1.css +3 -0
  129. package/bundle/public/android-chrome-192x192.png +0 -0
  130. package/bundle/public/android-chrome-512x512.png +0 -0
  131. package/bundle/public/apple-touch-icon.png +0 -0
  132. package/bundle/public/assets/logo.png +0 -0
  133. package/bundle/public/assets/logo.webm +0 -0
  134. package/bundle/public/assets/logo.webp +0 -0
  135. package/bundle/public/assets/logoold.png +0 -0
  136. package/bundle/public/assets/logoold.webm +0 -0
  137. package/bundle/public/assets/logoold.webp +0 -0
  138. package/bundle/public/favicon-16x16.png +0 -0
  139. package/bundle/public/favicon-32x32.png +0 -0
  140. package/bundle/public/favicon-48x48.png +0 -0
  141. package/bundle/public/favicon.ico +0 -0
  142. package/bundle/public/site.webmanifest +2 -2
  143. package/bundle/server.js +1 -1
  144. package/package.json +1 -1
  145. package/bundle/.next/server/chunks/1089.js +0 -7
  146. package/bundle/.next/server/chunks/5086.js +0 -185
  147. package/bundle/.next/server/chunks/7825.js +0 -1
  148. package/bundle/.next/static/chunks/2083-7ecb4068386ea635.js +0 -1
  149. package/bundle/.next/static/chunks/2125-d862b19ddebfd33a.js +0 -3
  150. package/bundle/.next/static/chunks/4137.19010bab7fabf352.js +0 -1
  151. package/bundle/.next/static/chunks/5922-c50d9d6d73494e4a.js +0 -174
  152. package/bundle/.next/static/chunks/616-340cd4ffce07ad95.js +0 -9
  153. package/bundle/.next/static/chunks/app/accounts/page-70d61db66c3fa8ff.js +0 -1
  154. package/bundle/.next/static/chunks/app/agents/page-bcd6692c103acc4b.js +0 -1
  155. package/bundle/.next/static/chunks/app/dashboard/page-3ddf5f111de57314.js +0 -1
  156. package/bundle/.next/static/chunks/app/files/page-5d16dd2ab89a7ef8.js +0 -1
  157. package/bundle/.next/static/chunks/app/integrations/page-c82fe844b92dcc3c.js +0 -1
  158. package/bundle/.next/static/chunks/app/layout-a58705d0aa0318d2.js +0 -1
  159. package/bundle/.next/static/chunks/app/mission-control/page-047cf8ddbc5eb449.js +0 -1
  160. package/bundle/.next/static/chunks/app/models/page-5a77bb7553c260a3.js +0 -1
  161. package/bundle/.next/static/chunks/app/page-3948952c415f5a8f.js +0 -1
  162. package/bundle/.next/static/chunks/app/settings/page-377344c48b7c3b7a.js +0 -1
  163. package/bundle/.next/static/chunks/app/tasks/page-5eebfe2b85dbe24d.js +0 -1
  164. package/bundle/.next/static/chunks/webpack-6bcec8d8f296d9ef.js +0 -1
  165. package/bundle/.next/static/css/1ec545644e12b517.css +0 -3
  166. /package/bundle/.next/static/{jgRmll3iX_XVNwRhKs8U9 → 9xNgkJTOL7J6_GGDUZWeG}/_buildManifest.js +0 -0
  167. /package/bundle/.next/static/{jgRmll3iX_XVNwRhKs8U9 → 9xNgkJTOL7J6_GGDUZWeG}/_ssgManifest.js +0 -0
@@ -1,7 +1,7 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1541],{25:(e,t,r)=>{r.d(t,{default:()=>i.a});var n=r(40478),i=r.n(n)},1844:(e,t,r)=>{r.d(t,{hO:()=>l,sG:()=>s});var n=r(70430),i=r(20891),o=r(86777),a=r(36366),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,o.TL)(`Primitive.${t}`),i=n.forwardRef((e,n)=>{let{asChild:i,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i?r:t,{...o,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},2452:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},2946:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]])},3324:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},3776:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]])},3942:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},4606:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]])},6246:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},6658:(e,t,r)=>{let n,i,o,a;r.d(t,{P:()=>oI});let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],l=new Set(s),u=(e,t,r)=>r>t?t:r<e?e:r,c={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},d={...c,transform:e=>u(0,1,e)},h={...c,default:1},f=e=>Math.round(1e5*e)/1e5,p=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,m=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,g=(e,t)=>r=>!!("string"==typeof r&&m.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),y=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[i,o,a,s]=n.match(p);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},v={...c,transform:e=>Math.round(u(0,255,e))},b={test:g("rgb","red"),parse:y("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+v.transform(e)+", "+v.transform(t)+", "+v.transform(r)+", "+f(d.transform(n))+")"},w={test:g("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:b.transform},x=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),k=x("deg"),S=x("%"),E=x("px"),A=x("vh"),P=x("vw"),T={...S,parse:e=>S.parse(e)/100,transform:e=>S.transform(100*e)},M={test:g("hsl","hue"),parse:y("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+S.transform(f(t))+", "+S.transform(f(r))+", "+f(d.transform(n))+")"},C={test:e=>b.test(e)||w.test(e)||M.test(e),parse:e=>b.test(e)?b.parse(e):M.test(e)?M.parse(e):w.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?b.transform(e):M.transform(e),getAnimatableNone:e=>{let t=C.parse(e);return t.alpha=0,C.transform(t)}},R=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,j="number",D="color",L=/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 O(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[],o=0,a=t.replace(L,e=>(C.test(e)?(n.color.push(o),i.push(D),r.push(C.parse(e))):e.startsWith("var(")?(n.var.push(o),i.push("var"),r.push(e)):(n.number.push(o),i.push(j),r.push(parseFloat(e))),++o,"${}")).split("${}");return{values:r,split:a,indexes:n,types:i}}function V(e){return O(e).values}function N(e){let{split:t,types:r}=O(e),n=t.length;return e=>{let i="";for(let o=0;o<n;o++)if(i+=t[o],void 0!==e[o]){let t=r[o];t===j?i+=f(e[o]):t===D?i+=C.transform(e[o]):i+=e[o]}return i}}let I=e=>"number"==typeof e?0:C.test(e)?C.getAnimatableNone(e):e,F={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(p)?.length||0)+(e.match(R)?.length||0)>0},parse:V,createTransformer:N,getAnimatableNone:function(e){let t=V(e);return N(e)(t.map(I))}},z=new Set(["brightness","contrast","saturate","opacity"]);function _(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(p)||[];if(!n)return e;let i=r.replace(n,""),o=+!!z.has(t);return n!==r&&(o*=100),t+"("+o+i+")"}let B=/\b([a-z-]*)\(.*?\)/gu,W={...F,getAnimatableNone:e=>{let t=e.match(B);return t?t.map(_).join(" "):e}},$={...F,getAnimatableNone:e=>{let t=F.parse(e);return F.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},U={...c,transform:Math.round},H={borderWidth:E,borderTopWidth:E,borderRightWidth:E,borderBottomWidth:E,borderLeftWidth:E,borderRadius:E,borderTopLeftRadius:E,borderTopRightRadius:E,borderBottomRightRadius:E,borderBottomLeftRadius:E,width:E,maxWidth:E,height:E,maxHeight:E,top:E,right:E,bottom:E,left:E,inset:E,insetBlock:E,insetBlockStart:E,insetBlockEnd:E,insetInline:E,insetInlineStart:E,insetInlineEnd:E,padding:E,paddingTop:E,paddingRight:E,paddingBottom:E,paddingLeft:E,paddingBlock:E,paddingBlockStart:E,paddingBlockEnd:E,paddingInline:E,paddingInlineStart:E,paddingInlineEnd:E,margin:E,marginTop:E,marginRight:E,marginBottom:E,marginLeft:E,marginBlock:E,marginBlockStart:E,marginBlockEnd:E,marginInline:E,marginInlineStart:E,marginInlineEnd:E,fontSize:E,backgroundPositionX:E,backgroundPositionY:E,rotate:k,rotateX:k,rotateY:k,rotateZ:k,scale:h,scaleX:h,scaleY:h,scaleZ:h,skew:k,skewX:k,skewY:k,distance:E,translateX:E,translateY:E,translateZ:E,x:E,y:E,z:E,perspective:E,transformPerspective:E,opacity:d,originX:T,originY:T,originZ:E,zIndex:U,fillOpacity:d,strokeOpacity:d,numOctaves:U},q={...H,color:C,backgroundColor:C,outlineColor:C,fill:C,stroke:C,borderColor:C,borderTopColor:C,borderRightColor:C,borderBottomColor:C,borderLeftColor:C,filter:W,WebkitFilter:W,mask:$,WebkitMask:$},K=e=>q[e],X=()=>({translate:0,scale:1,origin:0,originPoint:0}),Y=()=>({x:X(),y:X()}),G=()=>({min:0,max:0}),Z=()=>({x:G(),y:G()}),J=e=>!!(e&&e.getVelocity),Q=new Set(["width","height","top","left","right","bottom",...s]),ee=e=>t=>t.test(e),et=[c,E,S,k,P,A,{test:e=>"auto"===e,parse:e=>e}],er=e=>et.find(ee(e));r(30974);let en=()=>{},ei=()=>{},eo=e=>t=>"string"==typeof t&&t.startsWith(e),ea=eo("--"),es=eo("var(--"),el=e=>!!es(e)&&eu.test(e.split("/*")[0].trim()),eu=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ec(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let ed=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eh=e=>180*e/Math.PI,ef=e=>em(eh(Math.atan2(e[1],e[0]))),ep={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ef,rotateZ:ef,skewX:e=>eh(Math.atan(e[1])),skewY:e=>eh(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},em=e=>((e%=360)<0&&(e+=360),e),eg=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ey=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ev={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:eg,scaleY:ey,scale:e=>(eg(e)+ey(e))/2,rotateX:e=>em(eh(Math.atan2(e[6],e[5]))),rotateY:e=>em(eh(Math.atan2(-e[2],e[0]))),rotateZ:ef,rotate:ef,skewX:e=>eh(Math.atan(e[4])),skewY:e=>eh(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function eb(e){return+!!e.includes("scale")}function ew(e,t){let r,n;if(!e||"none"===e)return eb(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)r=ev,n=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=ep,n=t}if(!n)return eb(t);let o=r[t],a=n[1].split(",").map(ex);return"function"==typeof o?o(a):a[o]}function ex(e){return parseFloat(e.trim())}let ek=e=>e===c||e===E,eS=new Set(["x","y","z"]),eE=s.filter(e=>!eS.has(e)),eA={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})=>ew(t,"x"),y:(e,{transform:t})=>ew(t,"y")};eA.translateX=eA.x,eA.translateY=eA.y;let eP=e=>e,eT={},eM=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function eC(e,t){let r=!1,n=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>r=!0,a=eM.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,n=new Set,i=!1,o=!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,o=!1)=>{let s=o&&i?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,i){o=!0;return}i=!0,[r,n]=[n,r],r.forEach(u),t,l=0,r.clear(),i=!1,o&&(o=!1,c.process(e))}};return c}(o,t?r:void 0),e),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:h,render:f,postRender:p}=a,m=()=>{let o=eT.useManualTiming?i.timestamp:performance.now();r=!1,eT.useManualTiming||(i.delta=n?1e3/60:Math.max(Math.min(o-i.timestamp,40),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),l.process(i),u.process(i),c.process(i),d.process(i),h.process(i),f.process(i),p.process(i),i.isProcessing=!1,r&&t&&(n=!1,e(m))};return{schedule:eM.reduce((t,o)=>{let s=a[o];return t[o]=(t,o=!1,a=!1)=>(!r&&(r=!0,n=!0,i.isProcessing||e(m)),s.schedule(t,o,a)),t},{}),cancel:e=>{for(let t=0;t<eM.length;t++)a[eM[t]].cancel(e)},state:i,steps:a}}let{schedule:eR,cancel:ej,state:eD,steps:eL}=eC("u">typeof requestAnimationFrame?requestAnimationFrame:eP,!0),eO=new Set,eV=!1,eN=!1,eI=!1;function eF(){if(eN){let e=Array.from(eO).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t,n=(t=[],eE.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t);n.length&&(r.set(e,n),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)})}eN=!1,eV=!1,eO.forEach(e=>e.complete(eI)),eO.clear()}function ez(){eO.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eN=!0)})}class e_{constructor(e,t,r,n,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(eO.add(this),eV||(eV=!0,eR.read(ez),eR.resolveKeyframes(eF))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;if(null===e[0]){let i=n?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,o);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=o),n&&void 0===i&&n.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),eO.delete(this)}cancel(){"scheduled"===this.state&&(eO.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let eB=new Set([W,$]);function eW(e,t){let r=K(e);return eB.has(r)||(r=F),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let e$=new Set(["auto","none","0"]);class eU extends e_{constructor(e,t,r,n,i){super(e,t,r,n,i,!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&&el(n=n.trim())){let i=function e(t,r,n=1){ei(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,o]=function(e){let t=ed.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${r??n}`,i]}(t);if(!i)return;let a=window.getComputedStyle(r).getPropertyValue(i);if(a){let e=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return el(o)?e(o,r,n+1):o}(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!Q.has(r)||2!==e.length)return;let[n,i]=e,o=er(n),a=er(i);if(ec(n)!==ec(i)&&eA[r]){this.needsMeasurement=!0;return}if(o!==a)if(ek(o)&&ek(a))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else eA[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&r.push(t);r.length&&function(e,t,r){let n,i=0;for(;i<e.length&&!n;){let t=e[i];"string"==typeof t&&!e$.has(t)&&O(t).values.length&&(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=eW(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=eA[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 i=r.length-1,o=r[i];r[i]=eA[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}let eH=e=>1e3*e;function eq(e,t){-1===e.indexOf(t)&&e.push(t)}function eK(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class eX{constructor(){this.subscriptions=[]}add(e){return eq(this.subscriptions,e),()=>eK(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 i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function eY(e){let t;return()=>(void 0===t&&(t=e()),t)}let eG={};function eZ(e,t){let r=eY(e);return()=>eG[t]??r()}let eJ=eZ(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),eQ=e=>null!==e;function e0(e,{repeat:t,repeatType:r="loop"},n,i=1){let o=e.filter(eQ),a=i<0||t&&"loop"!==r&&t%2==1?0:o.length-1;return a&&void 0!==n?n:o[a]}class e1{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let e2={layout:0,mainThread:0,waapi:0},e3=e=>Array.isArray(e)&&"number"==typeof e[0],e4=eZ(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),e6=(e,t,r=10)=>{let n="",i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)n+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},e5=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,e9={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e5([0,.65,.55,1]),circOut:e5([.55,0,1,.45]),backIn:e5([.31,.01,.66,-.59]),backOut:e5([.33,1.53,.69,.99])};function e7(e){return"function"==typeof e&&"applyToOptions"in e}class e8 extends e1{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:r,keyframes:n,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:a,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=e,ei("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return e7(e)&&e4()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:n=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s="easeOut",times:l}={},u){let c={[t]:r};l&&(c.offset=l);let d=function e(t,r){if(t)return"function"==typeof t?e4()?e6(t,r):"ease-out":e3(t)?e5(t):Array.isArray(t)?t.map(t=>e(t,r)||e9.easeOut):e9[t]}(s,i);Array.isArray(d)&&(c.easing=d);let h={delay:n,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"};u&&(h.pseudoElement=u);let f=e.animate(c,h);return f}(t,r,n,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=e0(n,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(e);r.startsWith("--")?t.style.setProperty(r,e):t.style[r]=e,this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=eH(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:r,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&eJ())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),eP):n(this)}}let te=new Set(["opacity","clipPath","filter","transform"]),{schedule:tt}=eC(queueMicrotask,!1);function tr(){n=void 0}let tn={now:()=>(void 0===n&&tn.set(eD.isProcessing||eT.useManualTiming?eD.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(tr)}};class ti{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=tn.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=tn.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(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 eX);let r=this.events[e].add(t);return"change"===e?()=>{r(),eR.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){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}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()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return a&&a.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=tn.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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function to(e,t){return new ti(e,t)}let ta=[...et,C,F],ts=new WeakMap;function tl(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tu(e){return"string"==typeof e||Array.isArray(e)}let tc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],td=["initial",...tc];function th(e){return tl(e.animate)||td.some(t=>tu(e[t]))}function tf(e){return!!(th(e)||e.variants)}let tp={current:null},tm={current:!1},tg="u">typeof window;function ty(e){let t=[{},{}];return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function tv(e,t,r,n){if("function"==typeof t){let[i,o]=ty(n);t=t(void 0!==r?r:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=ty(n);t=t(void 0!==r?r:e.custom,i,o)}return t}let tb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tw={};class tx{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,skipAnimations:i,blockInitialAnimation:o,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=e_,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=tn.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eR.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!o,this.isControllingVariants=th(t),this.isVariantNode=tf(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&J(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,ts.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)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tm.current||function(){if(tm.current=!0,tg)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tp.current=e.matches;e.addEventListener("change",t),t()}else tp.current=!1}(),this.shouldReduceMotion=tp.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),ej(this.notifyUpdate),ej(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(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}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let r;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&te.has(e)&&this.current instanceof HTMLElement){let{factory:r,keyframes:n,times:i,ease:o,duration:a}=t.accelerate,s=new e8({element:this.current,name:e,keyframes:n,times:i,ease:o,duration:eH(a)}),l=r(s);this.valueSubscriptions.set(e,()=>{l(),s.cancel()});return}let n=l.has(e);n&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eR.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{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 tw){let t=tw[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):Z()}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<tb.length;t++){let r=tb[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 i=t[n],o=r[n];if(J(i))e.addValue(n,i);else if(J(o))e.addValue(n,to(i,{owner:e}));else if(o!==i)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(n);e.addValue(n,to(void 0!==t?t:i,{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()}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=to(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];if(null!=r){let n,i;if("string"==typeof r&&(n=r,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(i=r,/^0[^.\s]+$/u.test(i))))r=parseFloat(r);else{let n;n=r,!ta.find(ee(n))&&F.test(t)&&(r=eW(e,t))}this.setBaseTarget(e,J(r)?r.get():r)}return J(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=tv(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||J(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 eX),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){tt.render(this.render)}}class tk extends tx{constructor(){super(...arguments),this.KeyframeResolver=eU}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let r=e.style;return r?r[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;J(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tS(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let tE=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tP=s.length;function tT(e,t,r){let{style:n,vars:i,transformOrigin:o}=e,a=!1,u=!1;for(let e in t){let r=t[e];if(l.has(e)){a=!0;continue}if(ea(e)){i[e]=r;continue}{let t=tE(r,H[e]);e.startsWith("origin")?(u=!0,o[e]=t):n[e]=t}}if(!t.transform&&(a||r?n.transform=function(e,t,r){let n="",i=!0;for(let o=0;o<tP;o++){let a=s[o],l=e[a];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let e=parseFloat(l);u=a.startsWith("scale")?1===e:0===e}if(!u||r){let e=tE(l,H[a]);if(!u){i=!1;let t=tA[a]||a;n+=`${t}(${e}) `}r&&(t[a]=e)}}return n=n.trim(),r?n=r(t,i?"":n):i&&(n="none"),n}(t,e.transform,r):n.transform&&(n.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=o;n.transformOrigin=`${e} ${t} ${r}`}}let tM={offset:"stroke-dashoffset",array:"stroke-dasharray"},tC={offset:"strokeDashoffset",array:"strokeDasharray"},tR=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tj(e,{attrX:t,attrY:r,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:a=0,...s},l,u,c){if(tT(e,s,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:h}=e;for(let e of(d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete d.transformBox),tR))void 0!==d[e]&&(h[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==r&&(d.y=r),void 0!==n&&(d.scale=n),void 0!==i&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let o=i?tM:tC;e[o.offset]=`${-n}`,e[o.array]=`${t} ${r}`}(d,i,o,a,!1)}let tD=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"]),tL=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tO(e,{style:t,vars:r},n,i){let o,a=e.style;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,n),r)a.setProperty(o,r[o])}function tV(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let tN={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!E.test(e))return e;else e=parseFloat(e);let r=tV(e,t.target.x),n=tV(e,t.target.y);return`${r}% ${n}%`}},tI=(e,t,r)=>e+(t-e)*r,tF={borderRadius:{...tN,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tN,borderTopRightRadius:tN,borderBottomLeftRadius:tN,borderBottomRightRadius:tN,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=F.parse(e);if(n.length>5)return e;let i=F.createTransformer(e),o=+("number"!=typeof n[0]),a=r.x.scale*t.x,s=r.y.scale*t.y;n[0+o]/=a,n[1+o]/=s;let l=tI(a,s,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),i(n)}}};function tz(e,{layout:t,layoutId:r}){return l.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!tF[e]||"opacity"===e)}function t_(e,t,r){let n=e.style,i=t?.style,o={};if(!n)return o;for(let t in n)(J(n[t])||i&&J(i[t])||tz(t,e)||r?.getValue(t)?.liveStyle!==void 0)&&(o[t]=n[t]);return o}function tB(e,t,r){let n=t_(e,t,r);for(let r in e)(J(e[r])||J(t[r]))&&(n[-1!==s.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}class tW extends tk{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Z}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(l.has(t)){let e=K(t);return e&&e.default||0}return t=tD.has(t)?t:tS(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return tB(e,t,r)}build(e,t,r){tj(e,t,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,t,r,n){for(let r in tO(e,t,void 0,n),t.attrs)e.setAttribute(tD.has(r)?r:tS(r),t.attrs[r])}mount(e){this.isSVGTag=tL(e.tagName),super.mount(e)}}function t$({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function tU(e){return void 0===e||1===e}function tH({scale:e,scaleX:t,scaleY:r}){return!tU(e)||!tU(t)||!tU(r)}function tq(e){return tH(e)||tK(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tK(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function tX(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function tY(e,t=0,r=1,n,i){e.min=tX(e.min,t,r,n,i),e.max=tX(e.max,t,r,n,i)}function tG(e,{x:t,y:r}){tY(e.x,t.translate,t.scale,t.originPoint),tY(e.y,r.translate,r.scale,r.originPoint)}function tZ(e,t){e.min=e.min+t,e.max=e.max+t}function tJ(e,t,r,n,i=.5){let o=tI(e.min,e.max,i);tY(e,t,r,o,n)}function tQ(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function t0(e,t){tJ(e.x,tQ(t.x,e.x),t.scaleX,t.scale,t.originX),tJ(e.y,tQ(t.y,e.y),t.scaleY,t.scale,t.originY)}function t1(e,t){return t$(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))}class t2 extends tk{constructor(){super(...arguments),this.type="html",this.renderInstance=tO}readValueFromInstance(e,t){if(l.has(t))return this.projection?.isProjecting?eb(t):((e,t)=>{let{transform:r="none"}=getComputedStyle(e);return ew(r,t)})(e,t);{let r=window.getComputedStyle(e),n=(ea(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return t1(e,t)}build(e,t,r){tT(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return t_(e,t,r)}}var t3,t4=r(70430);let t6=["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 t5(e){if("string"!=typeof e||e.includes("-"));else if(t6.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var t9=r(36366),t7=r(90796);let t8=(0,t4.createContext)({strict:!1});var re=r(91283);let rt=(0,t4.createContext)({});function rr(e){return Array.isArray(e)?e.join(" "):e}let rn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ri(e,t,r){for(let n in t)J(t[n])||tz(n,r)||(e[n]=t[n])}let ro=()=>({...rn(),attrs:{}}),ra=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","propagate","ignoreStrict","viewport"]);function rs(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ra.has(e)}let rl=e=>!rs(e);try{t3=require("@emotion/is-prop-valid").default,"function"==typeof t3&&(rl=e=>e.startsWith("on")?!rs(e):t3(e))}catch{}function ru(e){return J(e)?e.get():e}var rc=r(15962),rd=r(79332);let rh=e=>(t,r)=>{let n=(0,t4.useContext)(rt),i=(0,t4.useContext)(rc.t),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,i){return{latestValues:function(e,t,r,n){let i={},o=n(e,{});for(let e in o)i[e]=ru(o[e]);let{initial:a,animate:s}=e,l=th(e),u=tf(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&&!tl(d)){let t=Array.isArray(d)?d:[d];for(let r=0;r<t.length;r++){let n=tv(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&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(r,n,i,e),renderState:t()}})(e,t,n,i);return r?o():(0,rd.M)(o)},rf=rh({scrapeMotionValuesFromProps:t_,createRenderState:rn}),rp=rh({scrapeMotionValuesFromProps:tB,createRenderState:ro}),rm={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"]},rg=!1;function ry(){return!function(){if(rg)return;let e={};for(let t in rm)e[t]={isEnabled:e=>rm[t].some(t=>!!e[t])};tw=e,rg=!0}(),tw}let rv=Symbol.for("motionComponentSymbol"),rb="data-"+tS("framerAppearId"),rw=(0,t4.createContext)({});function rx(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}var rk=r(38220);function rS(e,{forwardMotionProps:t=!1,type:r}={},n,i){n&&function(e){let t=ry();for(let r in e)t[r]={...t[r],...e[r]};tw=t}(n);let o=r?"svg"===r:t5(e),a=o?rp:rf;function s(r,n){var s;let l,u,c,d={...(0,t4.useContext)(re.Q),...r,layoutId:function({layoutId:e}){let t=(0,t4.useContext)(t7.L).id;return t&&void 0!==e?t+"-"+e:e}(r)},{isStatic:h}=d,f=function(e){let{initial:t,animate:r}=function(e,t){if(th(e)){let{initial:t,animate:r}=e;return{initial:!1===t||tu(t)?t:void 0,animate:tu(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,t4.useContext)(rt));return(0,t4.useMemo)(()=>({initial:t,animate:r}),[rr(t),rr(r)])}(r),p=a(r,h);if(!h&&"u">typeof window){(0,t4.useContext)(t8).strict;let t=function(e){let{drag:t,layout:r}=ry();if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(d);l=t.MeasureLayout,f.visualElement=function(e,t,r,n,i,o){let{visualElement:a}=(0,t4.useContext)(rt),s=(0,t4.useContext)(t8),l=(0,t4.useContext)(rc.t),u=(0,t4.useContext)(re.Q),c=u.reducedMotion,d=u.skipAnimations,h=(0,t4.useRef)(null),f=(0,t4.useRef)(!1);n=n||s.renderer,!h.current&&n&&(h.current=n(e,{visualState:t,parent:a,props:r,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:c,skipAnimations:d,isSVG:o}),f.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));let p=h.current,m=(0,t4.useContext)(rw);p&&!p.projection&&i&&("html"===p.type||"svg"===p.type)&&function(e,t,r,n){let{layoutId:i,layout:o,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=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:i,layout:o,alwaysMeasureLayout:!!a||s&&rx(s),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u})}(h.current,r,i,m);let g=(0,t4.useRef)(!1);(0,t4.useInsertionEffect)(()=>{p&&g.current&&p.update(r,l)});let y=r[rb],v=(0,t4.useRef)(!!y&&"u">typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return(0,rk.E)(()=>{f.current=!0,p&&(g.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),v.current&&p.animationState&&p.animationState.animateChanges())}),(0,t4.useEffect)(()=>{p&&(!v.current&&p.animationState&&p.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),p.enteringChildren=void 0)}),p}(e,p,d,i,t.ProjectionNode,o)}return(0,t9.jsxs)(rt.Provider,{value:f,children:[l&&f.visualElement?(0,t9.jsx)(l,{visualElement:f.visualElement,...d}):null,function(e,t,r,{latestValues:n},i,o=!1,a){let s=(a??t5(e)?function(e,t,r,n){let i=(0,t4.useMemo)(()=>{let r=ro();return tj(r,t,tL(n),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};ri(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let r,n,i={},o=(r=e.style||{},ri(n={},r,e),Object.assign(n,function({transformTemplate:e},t){return(0,t4.useMemo)(()=>{let r=rn();return tT(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i})(t,n,i,e),l=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(rl(i)||!0===r&&rs(i)||!t&&!rs(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(t,"string"==typeof e,o),u=e!==t4.Fragment?{...l,...s,ref:r}:{},{children:c}=t,d=(0,t4.useMemo)(()=>J(c)?c.get():c,[c]);return(0,t4.createElement)(e,{...u,children:d})}(e,r,(s=f.visualElement,u=(0,t4.useRef)(n),(0,t4.useInsertionEffect)(()=>{u.current=n}),c=(0,t4.useRef)(null),(0,t4.useCallback)(e=>{e&&p.onMount?.(e);let t=u.current;if("function"==typeof t)if(e){let r=t(e);"function"==typeof r&&(c.current=r)}else c.current?(c.current(),c.current=null):t(e);else t&&(t.current=e);s&&(e?s.mount(e):s.unmount())},[s])),p,h,t,o)]})}s.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,t4.forwardRef)(s);return l[rv]=e,l}class rE{constructor(e){this.isMounted=!1,this.node=e}update(){}}function rA(e,t,r){let n=e.getProps();return tv(n,t,void 0!==r?r:n.custom,e)}function rP(e,t){if(e?.inherit&&t){let{inherit:r,...n}=e;return{...t,...n}}return e}function rT(e,t){let r=e?.[t]??e?.default??e;return r!==e?rP(r,e):r}let rM=e=>Array.isArray(e);function rC(e,t){let r=e.getValue("willChange");if(J(r)&&r.add)return r.add(t);if(!r&&eT.WillChange){let r=new eT.WillChange("auto");e.addValue("willChange",r),r.add(t)}}let rR=(e,t)=>r=>t(e(r)),rj=(...e)=>e.reduce(rR);function rD(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 rL(e,t){return r=>r>0?t:e}let rO=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},rV=[w,b,M];function rN(e){let t=rV.find(t=>t.test(e));if(en(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===M&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,o=0,a=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;i=rD(s,n,e+1/3),o=rD(s,n,e),a=rD(s,n,e-1/3)}else i=o=a=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:n}}(r)),r}let rI=(e,t)=>{let r=rN(e),n=rN(t);if(!r||!n)return rL(e,t);let i={...r};return e=>(i.red=rO(r.red,n.red,e),i.green=rO(r.green,n.green,e),i.blue=rO(r.blue,n.blue,e),i.alpha=tI(r.alpha,n.alpha,e),b.transform(i))},rF=new Set(["none","hidden"]);function rz(e,t){return r=>tI(e,t,r)}function r_(e){return"number"==typeof e?rz:"string"==typeof e?el(e)?rL:C.test(e)?rI:r$:Array.isArray(e)?rB:"object"==typeof e?C.test(e)?rI:rW:rL}function rB(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>r_(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function rW(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=r_(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let r$=(e,t)=>{let r=F.createTransformer(t),n=O(e),i=O(t);if(!(n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length))return en(!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.`,"complex-values-different"),rL(e,t);if(rF.has(e)&&!i.values.length||rF.has(t)&&!n.values.length)return rF.has(e)?r=>r<=0?e:t:r=>r>=1?t:e;return rj(rB(function(e,t){let r=[],n={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let o=t.types[i],a=e.indexes[o][n[o]],s=e.values[a]??0;r[i]=s,n[o]++}return r}(n,i),i.values),r)};function rU(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?tI(e,t,r):r_(e)(e,t)}let rH=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eR.update(t,e),stop:()=>ej(t),now:()=>eD.isProcessing?eD.timestamp:tn.now()}};function rq(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 rK(e,t,r){var n,i;let o=Math.max(t-5,0);return n=r-e(o),(i=t-o)?1e3/i*n:0}let rX=.01,rY=2,rG=.005,rZ=.5;function rJ(e,t){return e*Math.sqrt(1-t*t)}let rQ=["duration","bounce"],r0=["stiffness","damping","mass"];function r1(e,t){return t.some(t=>void 0!==e[t])}function r2(e=.3,t=.3){let r,n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:o}=n,a=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],l={done:!1,value:a},{stiffness:c,damping:d,mass:h,duration:f,velocity:p,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!r1(e,r0)&&r1(e,rQ))if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,i=2*u(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:i}}else{let r=function({duration:e=800,bounce:t=.3,velocity:r=0,mass:n=1}){let i,o;en(e<=eH(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=u(.05,1,a),e=u(.01,10,e/1e3),a<1?(i=t=>{let n=t*a,i=n*e;return .001-(n-r)/rJ(t,a)*Math.exp(-i)},o=t=>{let n=t*a*e,o=Math.pow(a,2)*Math.pow(t,2)*e,s=Math.exp(-n),l=rJ(Math.pow(t,2),a);return(n*r+r-o)*s*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),o=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}(i,o,5/e);if(e=eH(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*n;return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}({...e,velocity:0});(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...n,velocity:-((n.velocity||0)/1e3)}),g=p||0,y=d/(2*Math.sqrt(c*h)),v=s-a,b=Math.sqrt(c/h)/1e3,w=5>Math.abs(v);if(i||(i=w?rX:rY),o||(o=w?rG:rZ),y<1){let e=rJ(b,y);r=t=>s-Math.exp(-y*b*t)*((g+y*b*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===y)r=e=>s-Math.exp(-b*e)*(v+(g+b*v)*e);else{let e=b*Math.sqrt(y*y-1);r=t=>{let r=Math.exp(-y*b*t),n=Math.min(e*t,300);return s-r*((g+y*b*v)*Math.sinh(n)+e*v*Math.cosh(n))/e}}let x={calculatedDuration:m&&f||null,next:e=>{let t=r(e);if(m)l.done=e>=f;else{let n=0===e?g:0;y<1&&(n=0===e?eH(g):rK(r,e,t));let a=Math.abs(s-t)<=o;l.done=Math.abs(n)<=i&&a}return l.value=l.done?s:t,l},toString:()=>{let e=Math.min(rq(x),2e4),t=e6(t=>x.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return x}function r3({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d,h,f=e[0],p={done:!1,value:f},m=r*t,g=f+m,y=void 0===a?g:a(g);y!==g&&(m=y-f);let v=e=>-m*Math.exp(-e/n),b=e=>y+v(e),w=e=>{let t=v(e),r=b(e);p.done=Math.abs(t)<=u,p.value=p.done?y:r},x=e=>{let t;if(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l){var r;d=e,h=r2({keyframes:[p.value,(r=p.value,void 0===s?l:void 0===l||Math.abs(s-r)<Math.abs(l-r)?s:l)],velocity:rK(b,e,p.value),damping:i,stiffness:o,restDelta:u,restSpeed:c})}};return x(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==d||(t=!0,w(e),x(e)),void 0!==d&&e>=d)?h.next(e-d):(t||w(e),p)}}}r2.applyToOptions=e=>{let t=function(e,t=100,r){let n=r({...e,keyframes:[0,t]}),i=Math.min(rq(n),2e4);return{type:"keyframes",ease:e=>n.next(i*e).value/t,duration:i/1e3}}(e,100,r2);return e.ease=t.ease,e.duration=eH(t.duration),e.type="keyframes",e};let r4=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function r6(e,t,r,n){return e===t&&r===n?eP:i=>0===i||1===i?i:r4(function(e,t,r,n,i){let o,a,s=0;do(o=r4(a=t+(r-t)/2,n,i)-e)>0?r=a:t=a;while(Math.abs(o)>1e-7&&++s<12);return a}(i,0,1,e,r),t,n)}let r5=r6(.42,0,1,1),r9=r6(0,0,.58,1),r7=r6(.42,0,.58,1),r8=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ne=e=>t=>1-e(1-t),nt=r6(.33,1.53,.69,.99),nr=ne(nt),nn=r8(nr),ni=e=>(e*=2)<1?.5*nr(e):.5*(2-Math.pow(2,-10*(e-1))),no=e=>1-Math.sin(Math.acos(e)),na=ne(no),ns=r8(no),nl={linear:eP,easeIn:r5,easeInOut:r7,easeOut:r9,circIn:no,circInOut:ns,circOut:na,backIn:nr,backInOut:nn,backOut:nt,anticipate:ni},nu=e=>{if(e3(e)){ei(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,n,i]=e;return r6(t,r,n,i)}return"string"==typeof e?(ei(void 0!==nl[e],`Invalid easing type '${e}'`,"invalid-easing-type"),nl[e]):e},nc=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n};function nd({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){var i;let o,a=Array.isArray(n)&&"number"!=typeof n[0]?n.map(nu):nu(n),s={done:!1,value:t[0]},l=function(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let o=e.length;if(ei(o===t.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=function(e,t,r){let n=[],i=r||eT.mix||rU,o=e.length-1;for(let r=0;r<o;r++){let o=i(e[r],e[r+1]);t&&(o=rj(Array.isArray(t)?t[r]||eP:t,o)),n.push(o)}return n}(t,n,i),l=s.length,c=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 i=nc(e[n],e[n+1],r);return s[n](i)};return r?t=>c(u(e[0],e[o-1],t)):c}((i=r&&r.length===t.length?r:(!function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=nc(0,t,n);e.push(tI(r,1,i))}}(o=[0],t.length-1),o),i.map(t=>t*e)),t,{ease:Array.isArray(a)?a:t.map(()=>a||r7).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=l(t),s.done=t>=e,s)}}let nh={decay:r3,inertia:r3,tween:nd,keyframes:nd,spring:r2};function nf(e){"string"==typeof e.type&&(e.type=nh[e.type])}let np=e=>e/100;class nm extends e1{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==tn.now()&&this.tick(tn.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},e2.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;nf(e);let{type:t=nd,repeat:r=0,repeatDelay:n=0,repeatType:i,velocity:o=0}=e,{keyframes:a}=e,s=t||nd;s!==nd&&"number"!=typeof a[0]&&(this.mixKeyframes=rj(np,rU(a[0],a[1])),a=[0,100]);let l=s({...e,keyframes:a});"mirror"===i&&(this.mirroredGenerator=s({...e,keyframes:[...a].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=rq(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let{generator:r,totalDuration:n,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:s}=this;if(null===this.startTime)return r.next(0);let{delay:l=0,keyframes:c,repeat:d,repeatType:h,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let y=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>n;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,w=r;if(d){let e=Math.min(this.currentTime,n)/a,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,d+1))%2&&("reverse"===h?(r=1-r,f&&(r-=f/a)):"mirror"===h&&(w=o)),b=u(0,1,r)*a}let x=v?{done:!1,value:c[0]}:w.next(b);i&&(x.value=i(x.value));let{done:k}=x;v||null===s||(k=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return S&&p!==r3&&(x.value=e0(c,this.options,g,this.speed)),m&&m(x.value),S&&this.finish(),x}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=eH(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(tn.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=rH,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tn.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,e2.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let ng={anticipate:ni,backInOut:nn,circInOut:ns};class ny extends e8{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in ng&&(e.ease=ng[e.ease])}(e),nf(e),super(e),void 0!==e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:n,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let a=new nm({...o,autoplay:!1}),s=Math.max(10,tn.now()-this.startTime),l=u(0,10,s-10);t.setWithVelocity(a.sample(Math.max(0,s-l)).value,a.sample(s).value,l),a.stop()}}let nv=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(F.test(e)||"0"===e)&&!e.startsWith("url("));function nb(e){e.duration=0,e.type="keyframes"}let nw=new Set(["opacity","clipPath","filter","transform"]),nx=eY(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class nk extends e1{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:o="loop",keyframes:a,name:s,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tn.now();const d={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:o,name:s,motionValue:l,element:u,...c},h=u?.KeyframeResolver||e_;this.keyframeResolver=new h(a,(e,t,r)=>this.onKeyframesResolved(e,t,d,!r),s,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,n){this.keyframeResolver=void 0;let{name:i,type:o,velocity:a,delay:s,isHandoff:l,onUpdate:u}=r;this.resolvedAt=tn.now(),!function(e,t,r,n){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],a=nv(i,t),s=nv(o,t);return en(a===s,`You are trying to animate ${t} from "${i}" to "${o}". "${a?o:i}" is not an animatable value.`,"value-not-animatable"),!!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||e7(r))&&n)}(e,i,o,a)&&((eT.instantAnimations||!s)&&u?.(e0(e,r,t)),e[0]=e[e.length-1],nb(r),r.repeat=0);let c={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},d=!l&&function(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:o,type:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:s,transformTemplate:l}=t.owner.getProps();return nx()&&r&&nw.has(r)&&("transform"!==r||!l)&&!s&&!n&&"mirror"!==i&&0!==o&&"inertia"!==a}(c),h=c.motionValue?.owner?.current,f=d?new ny({...c,element:h}):new nm(c);f.finished.then(()=>{this.notifyFinished()}).catch(eP),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eI=!0,ez(),eF(),eI=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let nS={type:"spring",stiffness:500,damping:25,restSpeed:10},nE={type:"keyframes",duration:.8},nA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nP=e=>null!==e,nT=(e,t,r,n={},i,o)=>a=>{let s=rT(n,e)||{},u=s.delay||n.delay||0,{elapsed:c=0}=n;c-=eH(u);let d={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:o?void 0:i};!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&Object.assign(d,((e,{keyframes:t})=>t.length>2?nE:l.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:nS:nA)(e,d)),d.duration&&(d.duration=eH(d.duration)),d.repeatDelay&&(d.repeatDelay=eH(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let h=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(nb(d),0===d.delay&&(h=!0)),(eT.instantAnimations||eT.skipAnimations||i?.shouldSkipAnimations)&&(h=!0,nb(d),d.delay=0),d.allowFlatten=!s.type&&!s.ease,h&&!o&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:r="loop"}){let n=e.filter(nP),i=t&&"loop"!==r&&t%2==1?0:n.length-1;return n[i]}(d.keyframes,s);if(void 0!==e)return void eR.update(()=>{d.onUpdate(e),d.onComplete()})}return s.isSync?new nm(d):new nk(d)};function nM(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o,transitionEnd:a,...s}=t,l=e.getDefaultTransition();o=o?rP(o,l):l;let u=o?.reduceMotion;n&&(o=n);let c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let n=e.getValue(t,e.latestValues[t]??null),i=s[t];if(void 0===i||d&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(d,t))continue;let a={delay:r,...rT(o||{},t)},l=n.get();if(void 0!==l&&!n.isAnimating&&!Array.isArray(i)&&i===l&&!a.velocity)continue;let h=!1;if(window.MotionHandoffAnimation){let r=e.props[rb];if(r){let e=window.MotionHandoffAnimation(r,t,eR);null!==e&&(a.startTime=e,h=!0)}}rC(e,t);let f=u??e.shouldReduceMotion;n.start(nT(t,n,i,f&&Q.has(t)?{type:!1}:a,e,h));let p=n.animation;p&&c.push(p)}if(a){let t=()=>eR.update(()=>{a&&function(e,t){let{transitionEnd:r={},transition:n={},...i}=rA(e,t)||{};for(let t in i={...i,...r}){var o;let r=rM(o=i[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,to(r))}}(e,a)});c.length?Promise.all(c).then(t):t()}return c}function nC(e,t,r,n=0,i=1){let o=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),a=e.size,s=(a-1)*n;return"function"==typeof r?r(o,a):1===i?o*n:s-o*n}function nR(e,t,r={}){let n=rA(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let o=n?()=>Promise.all(nM(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,r=0,n=0,i=0,o=1,a){let s=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),s.push(nR(l,t,{...a,delay:r+("function"==typeof n?0:n)+nC(e.variantChildren,l,n,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}(e,t,n,o,a,s,r)}:()=>Promise.resolve(),{when:s}=i;if(!s)return Promise.all([o(),a(r.delay)]);{let[e,t]="beforeChildren"===s?[o,a]:[a,o];return e().then(()=>t())}}let nj=td.length;function nD(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}let nL=[...tc].reverse(),nO=tc.length;function nV(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nN(){return{animate:nV(!0),whileInView:nV(),whileHover:nV(),whileTap:nV(),whileDrag:nV(),whileFocus:nV(),exit:nV()}}class nI extends rE{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=>nR(e,t,r)));else if("string"==typeof t)n=nR(e,t,r);else{let i="function"==typeof t?rA(e,t,r.custom):t;n=Promise.all(nM(e,i,r))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=nN(),n=!0,i=!1,o=t=>(r,n)=>{let i=rA(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function a(a){let{props:s}=e,l=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<nj;e++){let n=td[e],i=t.props[n];(tu(i)||!1===i)&&(r[n]=i)}return r}(e.parent)||{},u=[],c=new Set,d={},h=1/0;for(let t=0;t<nO;t++){var f,p;let m=nL[t],g=r[m],y=void 0!==s[m]?s[m]:l[m],v=tu(y),b=m===a?g.isActive:null;!1===b&&(h=t);let w=y===l[m]&&y!==s[m]&&v;if(w&&(n||i)&&e.manuallyAnimateOnMount&&(w=!1),g.protectedKeys={...d},!g.isActive&&null===b||!y&&!g.prevProp||tl(y)||"boolean"==typeof y)continue;if("exit"===m&&g.isActive&&!0!==b){g.prevResolvedValues&&(d={...d,...g.prevResolvedValues});continue}let x=(f=g.prevProp,"string"==typeof(p=y)?p!==f:!!Array.isArray(p)&&!nD(p,f)),k=x||m===a&&g.isActive&&!w&&v||t>h&&v,S=!1,E=Array.isArray(y)?y:[y],A=E.reduce(o(m),{});!1===b&&(A={});let{prevResolvedValues:P={}}=g,T={...P,...A},M=t=>{k=!0,c.has(t)&&(S=!0,c.delete(t)),g.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in T){let t=A[e],r=P[e];if(!d.hasOwnProperty(e))(rM(t)&&rM(r)?nD(t,r):t===r)?void 0!==t&&c.has(e)?M(e):g.protectedKeys[e]=!0:null!=t?M(e):c.add(e)}g.prevProp=y,g.prevResolvedValues=A,g.isActive&&(d={...d,...A}),(n||i)&&e.blockInitialAnimation&&(k=!1);let C=w&&x,R=!C||S;k&&R&&u.push(...E.map(t=>{let r={type:m};if("string"==typeof t&&(n||i)&&!C&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,i=rA(n,t);if(n.enteringChildren&&i){let{delayChildren:t}=i.transition||{};r.delay=nC(n.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(c.size){let t={};if("boolean"!=typeof s.initial){let r=rA(e,Array.isArray(s.initial)?s.initial[0]:s.initial);r&&r.transition&&(t.transition=r.transition)}c.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=n??null}),u.push({animation:t})}let m=!!u.length;return n&&(!1===s.initial||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(m=!1),n=!1,i=!1,m?t(u):Promise.resolve()}return{animateChanges:a,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 i=a(t);for(let e in r)r[e].protectedKeys={};return i},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=nN(),i=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();tl(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 nF=0;class nz extends rE{constructor(){super(...arguments),this.id=nF++}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(){}}let n_={x:!1,y:!1};function nB(e){return[e("x"),e("y")]}function nW(e){return e.max-e.min}function n$(e,t,r,n=.5){e.origin=n,e.originPoint=tI(t.min,t.max,e.origin),e.scale=nW(r)/nW(t),e.translate=tI(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function nU(e,t,r,n){n$(e.x,t.x,r.x,n?n.originX:void 0),n$(e.y,t.y,r.y,n?n.originY:void 0)}function nH(e,t,r){e.min=r.min+t.min,e.max=e.min+nW(t)}function nq(e,t,r){e.min=t.min-r.min,e.max=e.min+nW(t)}function nK(e,t,r){nq(e.x,t.x,r.x),nq(e.y,t.y,r.y)}let nX=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nY=new Set(["INPUT","SELECT","TEXTAREA"]);function nG(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}var nZ=r(22787);function nJ(e){return(0,nZ.G)(e)&&"ownerSVGElement"in e}function nQ(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let i=r?.[e]??n.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>null!=e)}let n0=new WeakMap,n1=(e,t,r)=>(n,i)=>i&&i[0]?i[0][e+"Size"]:nJ(n)&&"getBBox"in n?n.getBBox()[t]:n[r],n2=n1("inline","width","offsetWidth"),n3=n1("block","height","offsetHeight");function n4({target:e,borderBoxSize:t}){n0.get(e)?.forEach(r=>{r(e,{get width(){return n2(e,t)},get height(){return n3(e,t)}})})}function n6(e){e.forEach(n4)}let n5=new Set;function n9(e,t){let r;return"function"==typeof e?(n5.add(e),o||(o=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};n5.forEach(t=>t(e))},window.addEventListener("resize",o)),()=>{n5.delete(e),n5.size||"function"!=typeof o||(window.removeEventListener("resize",o),o=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(n6)),(r=nQ(e)).forEach(e=>{let r=n0.get(e);r||(r=new Set,n0.set(e,r)),r.add(t),i?.observe(e)}),()=>{r.forEach(e=>{let r=n0.get(e);r?.delete(t),r?.size||i?.unobserve(e)})})}let n7=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function n8(e){return{point:{x:e.pageX,y:e.pageY}}}function ie(e,t,r,n){return nG(e,t,e=>n7(e)&&r(e,n8(e)),n)}let it=({current:e})=>e?e.ownerDocument.defaultView:null,ir=(e,t)=>Math.abs(e-t),ii=new Set(["auto","scroll"]);class io{constructor(e,t,{transformPagePoint:r,contextWindow:n=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=il(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=(e=r.offset,t={x:0,y:0},Math.sqrt(ir(e.x,t.x)**2+ir(e.y,t.y)**2)>=this.distanceThreshold);if(!n&&!i)return;let{point:o}=r,{timestamp:a}=eD;this.history.push({...o,timestamp:a});let{onStart:s,onMove:l}=this.handlers;n||(s&&s(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=ia(t,this.transformPagePoint),eR.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=il("pointercancel"===e.type?this.lastMoveEventInfo:ia(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,o),n&&n(e,o)},!n7(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=n||window;const s=ia(n8(e),this.transformPagePoint),{point:l}=s,{timestamp:u}=eD;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=t;c&&c(e,il(s,this.history)),this.removeListeners=rj(ie(this.contextWindow,"pointermove",this.handlePointerMove),ie(this.contextWindow,"pointerup",this.handlePointerUp),ie(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(ii.has(e.overflowX)||ii.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let r=e===window,n=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:n.x-t.x,y:n.y-t.y};(0!==i.x||0!==i.y)&&(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,n),eR.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ej(this.updatePoint)}}function ia(e,t){return t?{point:t(e.point)}:e}function is(e,t){return{x:e.x-t.x,y:e.y-t.y}}function il({point:e},t){return{point:e,delta:is(e,iu(t)),offset:is(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,r=null,n=iu(e);for(;t>=0&&(r=e[t],!(n.timestamp-r.timestamp>eH(.1)));)t--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&n.timestamp-r.timestamp>2*eH(.1)&&(r=e[1]);let i=(n.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};let o={x:(n.x-r.x)/i,y:(n.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t)}}function iu(e){return e[e.length-1]}function ic(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function id(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function ih(e,t,r){return{min:ip(e,t),max:ip(e,r)}}function ip(e,t){return"number"==typeof e?e:e[t]||0}let im=new WeakMap;class ig{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Z(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let i=e=>{t&&this.snapToCursor(n8(e).point),this.stopAnimation()},o=(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(n_[e])return null;else return n_[e]=!0,()=>{n_[e]=!1};return n_.x||n_.y?null:(n_.x=n_.y=!0,()=>{n_.x=n_.y=!1})}(r),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nB(e=>{let t=this.getAxisMotionValue(e).get()||0;if(S.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=nW(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&eR.update(()=>i(e,t),!1,!0),rC(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:o}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:a}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(a),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&eR.update(()=>o(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new io(e,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:s,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:it(this.visualElement),element:this.visualElement.current})}stop(e,t){let r=e||this.latestPointerEvent,n=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!n||!r)return;let{velocity:o}=n;this.startAnimation(o);let{onDragEnd:a}=this.getProps();a&&eR.postRender(()=>a(r,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!iv(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?tI(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?tI(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&rx(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:ic(e.x,r,i),y:ic(e.y,t,n)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:ih(e,"left","right"),y:ih(e,"top","bottom")}}(t),n!==this.constraints&&!rx(e)&&r&&this.constraints&&!this.hasMutatedConstraints&&nB(e=>{var t,n;let i;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=r.layoutBox[e],n=this.constraints[e],i={},void 0!==n.min&&(i.min=n.min-t.min),void 0!==n.max&&(i.max=n.max-t.min),i))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!rx(t))return!1;let n=t.current;ei(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,r){let n=t1(e,r),{scroll:i}=t;return i&&(tZ(n.x,i.offset.x),tZ(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),a=(e=i.layout.layoutBox,{x:id(e.x,o.x),y:id(e.y,o.y)});if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=t$(e))}return a}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all(nB(a=>{if(!iv(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return rC(this.visualElement,e),r.start(nT(e,r,0,t,this.visualElement,!1))}stopAnimation(){nB(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){nB(t=>{let{drag:r}=this.getProps();if(!iv(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[t],a=i.get()||0;i.set(e[t]-tI(r,o,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!rx(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nB(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var r,i;let o,a,s,l=t.get();n[e]=(r={min:l,max:l},i=this.constraints[e],o=.5,a=nW(r),(s=nW(i))>a?o=nc(i.min,i.max-a,r.min):a>s&&(o=nc(r.min,r.max-s,i.min)),u(0,1,o))}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),nB(t=>{if(!iv(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];r.set(tI(i,o,n[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;im.set(this.visualElement,this);let t=this.visualElement.current,r=ie(t,"pointerdown",e=>{let{drag:r,dragListener:n=!0}=this.getProps(),i=e.target,o=i!==t&&(nY.has(i.tagName)||!0===i.isContentEditable);r&&n&&!o&&this.start(e)}),n=()=>{var r,n,i;let o,a,{dragConstraints:s}=this.getProps();rx(s)&&s.current&&(this.constraints=this.resolveRefConstraints(),e||(r=t,n=s.current,o=n9(r,iy(i=()=>this.scalePositionWithinConstraints())),a=n9(n,iy(i)),e=()=>{o(),a()}))},{projection:i}=this.visualElement,o=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),eR.read(n);let a=nG(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nB(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),r(),o(),s&&s(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function iy(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function iv(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class ib extends rE{constructor(e){super(e),this.removeGroupControls=eP,this.removeListeners=eP,this.controls=new ig(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eP}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let iw=e=>(t,r)=>{e&&eR.update(()=>e(t,r),!1,!0)};class ix extends rE{constructor(){super(...arguments),this.removePointerDownListener=eP}onPointerDown(e){this.session=new io(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:it(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:iw(e),onStart:iw(t),onMove:iw(r),onEnd:(e,t)=>{delete this.session,n&&eR.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=ie(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ik={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var iS=r(80669);let iE=!1;class iA extends t4.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),iE&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ik.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),iE=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||eR.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),tt.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;iE=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function iP(e){let[t,r]=(0,iS.xQ)(),n=(0,t4.useContext)(t7.L);return(0,t9.jsx)(iA,{...e,layoutGroup:n,switchLayoutGroup:(0,t4.useContext)(rw),isPresent:t,safeToRemove:r})}let iT=["TopLeft","TopRight","BottomLeft","BottomRight"],iM=iT.length,iC=e=>"string"==typeof e?parseFloat(e):e,iR=e=>"number"==typeof e||E.test(e);function ij(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let iD=iO(0,.5,na),iL=iO(.5,.95,eP);function iO(e,t,r){return n=>n<e?0:n>t?1:r(nc(e,t,n))}function iV(e,t){e.min=t.min,e.max=t.max}function iN(e,t){iV(e.x,t.x),iV(e.y,t.y)}function iI(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function iF(e,t,r,n,i){return e-=t,e=n+1/r*(e-n),void 0!==i&&(e=n+1/i*(e-n)),e}function iz(e,t,[r,n,i],o,a){!function(e,t=0,r=1,n=.5,i,o=e,a=e){if(S.test(t)&&(t=parseFloat(t),t=tI(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=tI(o.min,o.max,n);e===o&&(s-=t),e.min=iF(e.min,t,r,s,i),e.max=iF(e.max,t,r,s,i)}(e,t[r],t[n],t[i],t.scale,o,a)}let i_=["x","scaleX","originX"],iB=["y","scaleY","originY"];function iW(e,t,r,n){iz(e.x,t,i_,r?r.x:void 0,n?n.x:void 0),iz(e.y,t,iB,r?r.y:void 0,n?n.y:void 0)}function i$(e){return 0===e.translate&&1===e.scale}function iU(e){return i$(e.x)&&i$(e.y)}function iH(e,t){return e.min===t.min&&e.max===t.max}function iq(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function iK(e,t){return iq(e.x,t.x)&&iq(e.y,t.y)}function iX(e){return nW(e.x)/nW(e.y)}function iY(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class iG{constructor(){this.members=[]}add(e){eq(this.members,e);for(let t=this.members.length-1;t>=0;t--){let r=this.members[t];if(r===e||r===this.lead||r===this.prevLead)continue;let n=r.instance;n&&!1!==n.isConnected||r.snapshot||(eK(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if(eK(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=r.options,{layoutDependency:i}=e.options;(void 0===n||n!==i)&&(e.resumeFrom=r,t&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let iZ=(e,t)=>e.depth-t.depth;class iJ{constructor(){this.children=[],this.isDirty=!1}add(e){eq(this.children,e),this.isDirty=!0}remove(e){eK(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(iZ),this.isDirty=!1,this.children.forEach(e)}}let iQ=["","X","Y","Z"],i0=0;function i1(e,t,r,n){let{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function i2({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e={},r=t?.()){this.id=i0++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(i6),this.nodes.forEach(or),this.nodes.forEach(on),this.nodes.forEach(i5)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new iJ)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new eX),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=nJ(t)&&!(nJ(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:r,layout:n,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||r)&&(this.isLayoutDirty=!0),e){let r,n=0,i=()=>this.root.updateBlockedByResize=!1;eR.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==n){let t,o;n=e,this.root.updateBlockedByResize=!0,r&&r(),t=tn.now(),o=({timestamp:e})=>{let r=e-t;r>=250&&(ej(o),i(r-250))},eR.setup(o,!0),r=()=>ej(o),ik.hasAnimatedSinceResize&&(ik.hasAnimatedSinceResize=!1,this.nodes.forEach(ot))}})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||ou,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!iK(this.targetLayout,n),u=!t&&r;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...rT(o,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||ot(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ej(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(oi),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let n=r.props[rb];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",eR,!(e||r))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(i7);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(i8);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(oe),this.nodes.forEach(i3),this.nodes.forEach(i4)):this.nodes.forEach(i8),this.clearAllSnapshots();let e=tn.now();eD.delta=u(0,1e3/60,e-eD.timestamp),eD.timestamp=e,eD.isProcessing=!0,eL.update.process(eD),eL.preRender.process(eD),eL.render.process(eD),eD.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tt.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(i9),this.sharedNodes.forEach(oo)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eR.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eR.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nW(this.snapshot.measuredBox.x)||nW(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Z(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!iU(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||tq(this.latestValues)||o)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),oh((t=n).x),oh(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return Z();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(op))){let{scroll:e}=this.root;e&&(tZ(t.x,e.offset.x),tZ(t.y,e.offset.y))}return t}removeElementScroll(e){let t=Z();if(iN(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:o}=n;n!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&iN(t,e),tZ(t.x,i.offset.x),tZ(t.y,i.offset.y))}return t}applyTransform(e,t=!1){let r=Z();iN(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&t0(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),tq(n.latestValues)&&t0(r,n.latestValues)}return tq(this.latestValues)&&t0(r,this.latestValues),r}removeTransform(e){let t=Z();iN(t,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!tq(r.latestValues))continue;tH(r.latestValues)&&r.updateSnapshot();let n=Z();iN(n,r.measurePageBox()),iW(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return tq(this.latestValues)&&iW(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eD.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:i}=this.options;if(!this.layout||!(n||i))return;this.resolvedRelativeTargetAt=eD.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=Z(),this.targetWithTransforms=Z()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var a,s,l;this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,nH(a.x,s.x,l.x),nH(a.y,s.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):iN(this.target,this.layout.layoutBox),tG(this.target,this.targetDelta)):iN(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||tH(this.parent.latestValues)||tK(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,r){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Z(),this.relativeTargetOrigin=Z(),nK(this.relativeTargetOrigin,t,r),iN(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===eD.timestamp&&(r=!1),r)return;let{layout:n,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||i))return;iN(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(e,t,r,n=!1){let i,o,a=r.length;if(a){t.x=t.y=1;for(let s=0;s<a;s++){o=(i=r[s]).projectionDelta;let{visualElement:a}=i.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&t0(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,tG(e,o)),n&&tq(i.latestValues)&&t0(e,i.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=Z());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(iI(this.prevProjectionDelta.x,this.projectionDelta.x),iI(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nU(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&iY(this.projectionDelta.x,this.prevProjectionDelta.x)&&iY(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Y(),this.projectionDelta=Y(),this.projectionDeltaWithTransform=Y()}setAnimationOrigin(e,t=!1){let r,n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},a=Y();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=Z(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(ol));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(oa(a.x,e.x,n),oa(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,f,p,m,g;nK(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,m=s,g=n,os(f.x,p.x,m.x,g),os(f.y,p.y,m.y,g),r&&(u=this.relativeTarget,h=r,iH(u.x,h.x)&&iH(u.y,h.y))&&(this.isProjectionDirty=!1),r||(r=Z()),iN(r,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,r,n,i,o){i?(e.opacity=tI(0,r.opacity??1,iD(n)),e.opacityExit=tI(t.opacity??1,0,iL(n))):o&&(e.opacity=tI(t.opacity??1,r.opacity??1,n));for(let i=0;i<iM;i++){let o=`border${iT[i]}Radius`,a=ij(t,o),s=ij(r,o);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||iR(a)===iR(s)?(e[o]=Math.max(tI(iC(a),iC(s),n),0),(S.test(s)||S.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||r.rotate)&&(e.rotate=tI(t.rotate||0,r.rotate||0,n))}(o,i,this.latestValues,n,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ej(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eR.update(()=>{var t,r,n;let i;ik.hasAnimatedSinceResize=!0,e2.layout++,this.motionValue||(this.motionValue=to(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,r=[0,1e3],n={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{e2.layout--},onComplete:()=>{e2.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(i=J(t)?t:to(t)).start(nT("",i,r,n)),i.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&of(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||Z();let t=nW(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=nW(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}iN(t,r),t0(t,i),nU(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new iG),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&i1("z",e,n,this.animationValues);for(let t=0;t<iQ.length;t++)i1(`rotate${iQ[t]}`,e,n,this.animationValues),i1(`skew${iQ[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=ru(t?.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=ru(t?.pointerEvents)||""),this.hasProjected&&!tq(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=n.animationValues||n.latestValues;this.applyTransformsToTarget();let o=function(e,t,r){let n="",i=e.x.translate/t.x,o=e.y.translate/t.y,a=r?.z||0;if((i||o||a)&&(n=`translate3d(${i}px, ${o}px, ${a}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:a,skewY:s}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),i&&(n+=`rotateX(${i}deg) `),o&&(n+=`rotateY(${o}deg) `),a&&(n+=`skewX(${a}deg) `),s&&(n+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(n+=`scale(${s}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);r&&(o=r(i,o)),e.transform=o;let{x:a,y:s}=this.projectionDelta;for(let t in e.transformOrigin=`${100*a.origin}% ${100*s.origin}% 0`,n.animationValues?e.opacity=n===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=n===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,tF){if(void 0===i[t])continue;let{correct:r,applyTo:a,isCSSVariable:s}=tF[t],l="none"===o?i[t]:r(i[t],n);if(a){let t=a.length;for(let r=0;r<t;r++)e[a[r]]=l}else s?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?ru(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(i7),this.root.sharedNodes.clear()}}}function i3(e){e.updateLayout()}function i4(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;"size"===i?nB(e=>{let n=o?t.measuredBox[e]:t.layoutBox[e],i=nW(n);n.min=r[e].min,n.max=n.min+i}):of(i,t.layoutBox,r)&&nB(n=>{let i=o?t.measuredBox[n]:t.layoutBox[n],a=nW(r[n]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)});let a=Y();nU(a,r,t.layoutBox);let s=Y();o?nU(s,e.applyTransform(n,!0),t.measuredBox):nU(s,r,t.layoutBox);let l=!iU(a),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:o}=n;if(i&&o){let a=Z();nK(a,t.layoutBox,i.layoutBox);let s=Z();nK(s,r,o.layoutBox),iK(a,s)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function i6(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function i5(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function i9(e){e.clearSnapshot()}function i7(e){e.clearMeasurements()}function i8(e){e.isLayoutDirty=!1}function oe(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ot(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function or(e){e.resolveTargetDelta()}function on(e){e.calcProjection()}function oi(e){e.resetSkewAndRotation()}function oo(e){e.removeLeadSnapshot()}function oa(e,t,r){e.translate=tI(t.translate,0,r),e.scale=tI(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function os(e,t,r,n){e.min=tI(t.min,r.min,n),e.max=tI(t.max,r.max,n)}function ol(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let ou={duration:.45,ease:[.4,0,.1,1]},oc=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),od=oc("applewebkit/")&&!oc("chrome/")?Math.round:eP;function oh(e){e.min=od(e.min),e.max=od(e.max)}function of(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(iX(t)-iX(r)))}function op(e){return e!==e.root&&e.scroll?.wasRoot}let om=i2({attachResizeListener:(e,t)=>nG(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),og={current:void 0},oy=i2({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!og.current){let e=new om({});e.mount(window),e.setOptions({layoutScroll:!0}),og.current=e}return og.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function ov(e,t){let r=nQ(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function ob(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&eR.postRender(()=>i(t,n8(t)))}class ow extends rE{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,i,o]=ov(e,r);return n.forEach(e=>{let r,n=!1,o=!1,a=t=>{r&&(r(t),r=void 0),e.removeEventListener("pointerleave",l)},s=e=>{n=!1,window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",s),o&&(o=!1,a(e))},l=e=>{if("touch"!==e.pointerType){if(n){o=!0;return}a(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||n_.x||n_.y)return;o=!1;let a=t(e,n);"function"==typeof a&&(r=a,e.addEventListener("pointerleave",l,i))},i),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",s,i)},i)}),o}(e,(e,t)=>(ob(this.node,t,"Start"),e=>ob(this.node,e,"End"))))}unmount(){}}class ox extends rE{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=rj(nG(this.node.current,"focus",()=>this.onFocus()),nG(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var ok=r(27765);let oS=(e,t)=>!!t&&(e===t||oS(e,t.parentElement)),oE=new WeakSet;function oA(e){return t=>{"Enter"===t.key&&e(t)}}function oP(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function oT(e){return n7(e)&&!(n_.x||n_.y)}let oM=new WeakSet;function oC(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 i=n["onTap"+("End"===r?"":r)];i&&eR.postRender(()=>i(t,n8(t)))}class oR extends rE{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:r}=this.node.props;this.unmount=function(e,t,r={}){let[n,i,o]=ov(e,r),a=e=>{let n=e.currentTarget;if(!oT(e)||oM.has(e))return;oE.add(n),r.stopPropagation&&oM.add(e);let o=t(n,e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),oE.has(n)&&oE.delete(n),oT(e)&&"function"==typeof o&&o(e,{success:t})},s=e=>{a(e,n===window||n===document||r.useGlobalTarget||oS(n,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",l,i)};return n.forEach(e=>{((r.useGlobalTarget?window:e).addEventListener("pointerdown",a,i),(0,ok.s)(e))&&(e.addEventListener("focus",e=>((e,t)=>{let r=e.currentTarget;if(!r)return;let n=oA(()=>{if(oE.has(r))return;oP(r,"down");let e=oA(()=>{oP(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>oP(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)})(e,i)),nX.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(oC(this.node,t,"Start"),(e,{success:t})=>oC(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:r?.tap===!1})}unmount(){}}let oj=new WeakMap,oD=new WeakMap,oL=e=>{let t=oj.get(e.target);t&&t(e)},oO=e=>{e.forEach(oL)},oV={some:0,all:1};class oN extends rE{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:r={}}=this.node.getProps(),{root:n,margin:i,amount:o="some",once:a}=r,s={root:n?n.current:void 0,rootMargin:i,threshold:"number"==typeof o?o:oV[o]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,a&&!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)};return e=this.node.current,t=function({root:e,...t}){let r=e||document;oD.has(r)||oD.set(r,{});let n=oD.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(oO,{root:e,...t})),n[i]}(s),oj.set(e,l),t.observe(e),()=>{oj.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("u"<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 oI=function(e,t){if("u"<typeof Proxy)return rS;let r=new Map,n=(r,n)=>rS(r,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(i,o)=>"create"===o?n:(r.has(o)||r.set(o,rS(o,void 0,e,t)),r.get(o))})}({animation:{Feature:nI},exit:{Feature:nz},inView:{Feature:oN},tap:{Feature:oR},focus:{Feature:ox},hover:{Feature:ow},pan:{Feature:ix},drag:{Feature:ib,ProjectionNode:oy,MeasureLayout:iP},layout:{ProjectionNode:oy,MeasureLayout:iP}},(e,t)=>t.isSVG??t5(e)?new tW(t):new t2(t,{allowProjection:e!==t4.Fragment}))},7828:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("building-2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},8087:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]])},8482:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]])},9702:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("undo-2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]])},10910:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("file-json",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]])},11288:(e,t,r)=>{let n;r.d(t,{bm:()=>tn,UC:()=>te,VY:()=>tr,hJ:()=>e8,ZL:()=>e7,bL:()=>e5,hE:()=>tt,l9:()=>e9});var i,o,a,s,l,u,c,d=r(70430),h=r(49059),f=r(85391),p=r(34259),m=r(39070),g=r(37750),y=r(20744),v=r(1844),b=r(29678),w=r(36366),x="focusScope.autoFocusOnMount",k="focusScope.autoFocusOnUnmount",S={bubbles:!1,cancelable:!0},E=d.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=d.useState(null),u=(0,b.c)(i),c=(0,b.c)(o),h=d.useRef(null),p=(0,f.s)(t,e=>l(e)),m=d.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.useEffect(()=>{if(n){let e=function(e){if(m.paused||!s)return;let t=e.target;s.contains(t)?h.current=t:T(h.current,{select:!0})},t=function(e){if(m.paused||!s)return;let t=e.relatedTarget;null!==t&&(s.contains(t)||T(h.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&&T(s)});return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,s,m.paused]),d.useEffect(()=>{if(s){M.add(m);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(x,S);s.addEventListener(x,u),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(T(n,{select:t}),document.activeElement!==r)return}(A(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&T(s))}return()=>{s.removeEventListener(x,u),setTimeout(()=>{let t=new CustomEvent(k,S);s.addEventListener(k,c),s.dispatchEvent(t),t.defaultPrevented||T(e??document.body,{select:!0}),s.removeEventListener(k,c),M.remove(m)},0)}}},[s,u,c,m]);let g=d.useCallback(e=>{if(!r&&!n||m.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){var o;let t,n=e.currentTarget,[a,s]=[P(t=A(o=n),o),P(t.reverse(),o)];a&&s?e.shiftKey||i!==s?e.shiftKey&&i===a&&(e.preventDefault(),r&&T(s,{select:!0})):(e.preventDefault(),r&&T(a,{select:!0})):i===n&&e.preventDefault()}},[r,n,m.paused]);return(0,w.jsx)(v.sG.div,{tabIndex:-1,...a,ref:p,onKeyDown:g})});function A(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 P(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 T(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()}}E.displayName="FocusScope";var M=(n=[],{add(e){let t=n[0];e!==t&&t?.pause(),(n=C(n,e)).unshift(e)},remove(e){n=C(n,e),n[0]?.resume()}});function C(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var R=r(41932),j=r(17685),D=0;function L(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var O=function(){return(O=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function V(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 i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var N=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),I="width-before-scroll-bar";function F(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var z="u">typeof window?d.useLayoutEffect:d.useEffect,_=new WeakMap,B=(void 0===i&&(i={}),(void 0===o&&(o=function(e){return e}),a=[],s=!1,l={read:function(){if(s)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=o(e,s);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(s=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){s=!0;var t=[];if(a.length){var r=a;a=[],r.forEach(e),t=a}var n=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(n)};i(),a={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),a}}}}).options=O({async:!0,ssr:!1},i),l),W=function(){},$=d.forwardRef(function(e,t){var r,n,i,o,a=d.useRef(null),s=d.useState({onScrollCapture:W,onWheelCapture:W,onTouchMoveCapture:W}),l=s[0],u=s[1],c=e.forwardProps,h=e.children,f=e.className,p=e.removeScrollBar,m=e.enabled,g=e.shards,y=e.sideCar,v=e.noRelative,b=e.noIsolation,w=e.inert,x=e.allowPinchZoom,k=e.as,S=e.gapMode,E=V(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(r=[a,t],n=function(e){return r.forEach(function(t){return F(t,e)})},(i=(0,d.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,o=i.facade,z(function(){var e=_.get(o);if(e){var t=new Set(e),n=new Set(r),i=o.current;t.forEach(function(e){n.has(e)||F(e,null)}),n.forEach(function(e){t.has(e)||F(e,i)})}_.set(o,r)},[r]),o),P=O(O({},E),l);return d.createElement(d.Fragment,null,m&&d.createElement(y,{sideCar:B,removeScrollBar:p,shards:g,noRelative:v,noIsolation:b,inert:w,setCallbacks:u,allowPinchZoom:!!x,lockRef:a,gapMode:S}),c?d.cloneElement(d.Children.only(h),O(O({},P),{ref:A})):d.createElement(void 0===k?"div":k,O({},P,{className:f,ref:A}),h))});$.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},$.classNames={fullWidth:I,zeroRight:N};var U=function(e){var t=e.sideCar,r=V(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return d.createElement(n,O({},r))};U.isSideCarExport=!0;var H=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},q=function(){var e=H();return function(t,r){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},K=function(){var e=q();return function(t){return e(t.styles,t.dynamic),null}},X={left:0,top:0,right:0,gap:0},Y=function(e){return parseInt(e||"",10)||0},G=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[Y(r),Y(n),Y(i)]},Z=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return X;var t=G(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])}},J=K(),Q="data-scroll-locked",ee=function(e,t,r,n){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(s,"px ").concat(n,";\n }\n body[").concat(Q,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(N," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(I," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(N," .").concat(N," {\n right: 0 ").concat(n,";\n }\n \n .").concat(I," .").concat(I," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(Q,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},et=function(){var e=parseInt(document.body.getAttribute(Q)||"0",10);return isFinite(e)?e:0},er=function(){d.useEffect(function(){return document.body.setAttribute(Q,(et()+1).toString()),function(){var e=et()-1;e<=0?document.body.removeAttribute(Q):document.body.setAttribute(Q,e.toString())}},[])},en=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;er();var o=d.useMemo(function(){return Z(i)},[i]);return d.createElement(J,{styles:ee(o,!t,i,r?"":"!important")})},ei=!1;if("u">typeof window)try{var eo=Object.defineProperty({},"passive",{get:function(){return ei=!0,!0}});window.addEventListener("test",eo,eo),window.removeEventListener("test",eo,eo)}catch(e){ei=!1}var ea=!!ei&&{passive:!1},es=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},el=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),eu(e,n)){var i=ec(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},eu=function(e,t){return"v"===e?es(t,"overflowY"):es(t,"overflowX")},ec=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ed=function(e,t,r,n,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*n,l=r.target,u=t.contains(l),c=!1,d=s>0,h=0,f=0;do{if(!l)break;var p=ec(e,l),m=p[0],g=p[1]-p[2]-a*m;(m||g)&&eu(e,l)&&(h+=g,f+=m);var y=l.parentNode;l=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(h)||!i&&s>h)?c=!0:!d&&(i&&1>Math.abs(f)||!i&&-s>f)&&(c=!0),c},eh=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ef=function(e){return[e.deltaX,e.deltaY]},ep=function(e){return e&&"current"in e?e.current:e},em=0,eg=[];let ey=(u=function(e){var t=d.useRef([]),r=d.useRef([0,0]),n=d.useRef(),i=d.useState(em++)[0],o=d.useState(K)[0],a=d.useRef(e);d.useEffect(function(){a.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(ep),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=d.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var i,o=eh(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-o[0],u="deltaY"in e?e.deltaY:s[1]-o[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 h=window.getSelection(),f=h&&h.anchorNode;if(f&&(f===c||f.contains(c)))return!1;var p=el(d,c);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=el(d,c)),!p)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var m=n.current||i;return ed(m,t,e,"h"===m?l:u,!0)},[]),l=d.useCallback(function(e){if(eg.length&&eg[eg.length-1]===o){var r="deltaY"in e?ef(e):eh(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,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(a.current.shards||[]).map(ep).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=d.useCallback(function(e,r,n,i){var o={name:e,delta:r,target:n,should:i,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(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=d.useCallback(function(e){r.current=eh(e),n.current=void 0},[]),h=d.useCallback(function(t){u(t.type,ef(t),t.target,s(t,e.lockRef.current))},[]),f=d.useCallback(function(t){u(t.type,eh(t),t.target,s(t,e.lockRef.current))},[]);d.useEffect(function(){return eg.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:f}),document.addEventListener("wheel",l,ea),document.addEventListener("touchmove",l,ea),document.addEventListener("touchstart",c,ea),function(){eg=eg.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,ea),document.removeEventListener("touchmove",l,ea),document.removeEventListener("touchstart",c,ea)}},[]);var p=e.removeScrollBar,m=e.inert;return d.createElement(d.Fragment,null,m?d.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,p?d.createElement(en,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},B.useMedium(u),U);var ev=d.forwardRef(function(e,t){return d.createElement($,O({},e,{ref:t,sideCar:ey}))});ev.classNames=$.classNames;var eb=new WeakMap,ew=new WeakMap,ex={},ek=0,eS=function(e){return e&&(e.host||eS(e.parentNode))},eE=function(e,t,r,n){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=eS(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});ex[r]||(ex[r]=new WeakMap);var o=ex[r],a=[],s=new Set,l=new Set(i),u=function(e){!e||s.has(e)||(s.add(e),u(e.parentNode))};i.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))c(e);else try{var t=e.getAttribute(n),i=null!==t&&"false"!==t,l=(eb.get(e)||0)+1,u=(o.get(e)||0)+1;eb.set(e,l),o.set(e,u),a.push(e),1===l&&i&&ew.set(e,!0),1===u&&e.setAttribute(r,"true"),i||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),s.clear(),ek++,function(){a.forEach(function(e){var t=eb.get(e)-1,i=o.get(e)-1;eb.set(e,t),o.set(e,i),t||(ew.has(e)||e.removeAttribute(n),ew.delete(e)),i||e.removeAttribute(r)}),--ek||(eb=new WeakMap,eb=new WeakMap,ew=new WeakMap,ex={})}},eA=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),eE(n,i,r,"aria-hidden")):function(){return null}},eP=r(86777),eT="Dialog",[eM,eC]=(0,p.A)(eT),[eR,ej]=eM(eT),eD=e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,s=d.useRef(null),l=d.useRef(null),[u,c]=(0,g.i)({prop:n,defaultProp:i??!1,onChange:o,caller:eT});return(0,w.jsx)(eR,{scope:t,triggerRef:s,contentRef:l,contentId:(0,m.B)(),titleId:(0,m.B)(),descriptionId:(0,m.B)(),open:u,onOpenChange:c,onOpenToggle:d.useCallback(()=>c(e=>!e),[c]),modal:a,children:r})};eD.displayName=eT;var eL="DialogTrigger",eO=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=ej(eL,r),o=(0,f.s)(t,i.triggerRef);return(0,w.jsx)(v.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":e0(i.open),...n,ref:o,onClick:(0,h.mK)(e.onClick,i.onOpenToggle)})});eO.displayName=eL;var eV="DialogPortal",[eN,eI]=eM(eV,{forceMount:void 0}),eF=e=>{let{__scopeDialog:t,forceMount:r,children:n,container:i}=e,o=ej(eV,t);return(0,w.jsx)(eN,{scope:t,forceMount:r,children:d.Children.map(n,e=>(0,w.jsx)(j.C,{present:r||o.open,children:(0,w.jsx)(R.Z,{asChild:!0,container:i,children:e})}))})};eF.displayName=eV;var ez="DialogOverlay",e_=d.forwardRef((e,t)=>{let r=eI(ez,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,o=ej(ez,e.__scopeDialog);return o.modal?(0,w.jsx)(j.C,{present:n||o.open,children:(0,w.jsx)(eW,{...i,ref:t})}):null});e_.displayName=ez;var eB=(0,eP.TL)("DialogOverlay.RemoveScroll"),eW=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=ej(ez,r);return(0,w.jsx)(ev,{as:eB,allowPinchZoom:!0,shards:[i.contentRef],children:(0,w.jsx)(v.sG.div,{"data-state":e0(i.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),e$="DialogContent",eU=d.forwardRef((e,t)=>{let r=eI(e$,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,o=ej(e$,e.__scopeDialog);return(0,w.jsx)(j.C,{present:n||o.open,children:o.modal?(0,w.jsx)(eH,{...i,ref:t}):(0,w.jsx)(eq,{...i,ref:t})})});eU.displayName=e$;var eH=d.forwardRef((e,t)=>{let r=ej(e$,e.__scopeDialog),n=d.useRef(null),i=(0,f.s)(t,r.contentRef,n);return d.useEffect(()=>{let e=n.current;if(e)return eA(e)},[]),(0,w.jsx)(eK,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,h.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,h.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,h.mK)(e.onFocusOutside,e=>e.preventDefault())})}),eq=d.forwardRef((e,t)=>{let r=ej(e$,e.__scopeDialog),n=d.useRef(!1),i=d.useRef(!1);return(0,w.jsx)(eK,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let o=t.target;r.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),eK=d.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,...a}=e,s=ej(e$,r),l=d.useRef(null),u=(0,f.s)(t,l);return d.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??L()),document.body.insertAdjacentElement("beforeend",e[1]??L()),D++,()=>{1===D&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),D--}},[]),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(E,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,w.jsx)(y.qW,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":e0(s.open),...a,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(e4,{titleId:s.titleId}),(0,w.jsx)(e6,{contentRef:l,descriptionId:s.descriptionId})]})]})}),eX="DialogTitle",eY=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=ej(eX,r);return(0,w.jsx)(v.sG.h2,{id:i.titleId,...n,ref:t})});eY.displayName=eX;var eG="DialogDescription",eZ=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=ej(eG,r);return(0,w.jsx)(v.sG.p,{id:i.descriptionId,...n,ref:t})});eZ.displayName=eG;var eJ="DialogClose",eQ=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=ej(eJ,r);return(0,w.jsx)(v.sG.button,{type:"button",...n,ref:t,onClick:(0,h.mK)(e.onClick,()=>i.onOpenChange(!1))})});function e0(e){return e?"open":"closed"}eQ.displayName=eJ;var e1="DialogTitleWarning",[e2,e3]=(0,p.q)(e1,{contentName:e$,titleName:eX,docsSlug:"dialog"}),e4=({titleId:e})=>{let t=e3(e1),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8194],{25:(e,t,r)=>{r.d(t,{default:()=>i.a});var n=r(40478),i=r.n(n)},1844:(e,t,r)=>{r.d(t,{hO:()=>l,sG:()=>s});var n=r(70430),i=r(20891),o=r(86777),a=r(36366),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,o.TL)(`Primitive.${t}`),i=n.forwardRef((e,n)=>{let{asChild:i,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i?r:t,{...o,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},2452:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},2946:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]])},3324:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},3776:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]])},3942:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},4606:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]])},6246:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},6658:(e,t,r)=>{let n,i,o,a;r.d(t,{P:()=>oI});let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],l=new Set(s),u=(e,t,r)=>r>t?t:r<e?e:r,c={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},d={...c,transform:e=>u(0,1,e)},h={...c,default:1},f=e=>Math.round(1e5*e)/1e5,p=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,m=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,g=(e,t)=>r=>!!("string"==typeof r&&m.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),y=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[i,o,a,s]=n.match(p);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},v={...c,transform:e=>Math.round(u(0,255,e))},b={test:g("rgb","red"),parse:y("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+v.transform(e)+", "+v.transform(t)+", "+v.transform(r)+", "+f(d.transform(n))+")"},w={test:g("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:b.transform},x=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),k=x("deg"),S=x("%"),E=x("px"),A=x("vh"),P=x("vw"),T={...S,parse:e=>S.parse(e)/100,transform:e=>S.transform(100*e)},M={test:g("hsl","hue"),parse:y("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+S.transform(f(t))+", "+S.transform(f(r))+", "+f(d.transform(n))+")"},C={test:e=>b.test(e)||w.test(e)||M.test(e),parse:e=>b.test(e)?b.parse(e):M.test(e)?M.parse(e):w.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?b.transform(e):M.transform(e),getAnimatableNone:e=>{let t=C.parse(e);return t.alpha=0,C.transform(t)}},R=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,j="number",D="color",L=/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 O(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[],o=0,a=t.replace(L,e=>(C.test(e)?(n.color.push(o),i.push(D),r.push(C.parse(e))):e.startsWith("var(")?(n.var.push(o),i.push("var"),r.push(e)):(n.number.push(o),i.push(j),r.push(parseFloat(e))),++o,"${}")).split("${}");return{values:r,split:a,indexes:n,types:i}}function V(e){return O(e).values}function N(e){let{split:t,types:r}=O(e),n=t.length;return e=>{let i="";for(let o=0;o<n;o++)if(i+=t[o],void 0!==e[o]){let t=r[o];t===j?i+=f(e[o]):t===D?i+=C.transform(e[o]):i+=e[o]}return i}}let I=e=>"number"==typeof e?0:C.test(e)?C.getAnimatableNone(e):e,F={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(p)?.length||0)+(e.match(R)?.length||0)>0},parse:V,createTransformer:N,getAnimatableNone:function(e){let t=V(e);return N(e)(t.map(I))}},z=new Set(["brightness","contrast","saturate","opacity"]);function _(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(p)||[];if(!n)return e;let i=r.replace(n,""),o=+!!z.has(t);return n!==r&&(o*=100),t+"("+o+i+")"}let B=/\b([a-z-]*)\(.*?\)/gu,W={...F,getAnimatableNone:e=>{let t=e.match(B);return t?t.map(_).join(" "):e}},$={...F,getAnimatableNone:e=>{let t=F.parse(e);return F.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},U={...c,transform:Math.round},H={borderWidth:E,borderTopWidth:E,borderRightWidth:E,borderBottomWidth:E,borderLeftWidth:E,borderRadius:E,borderTopLeftRadius:E,borderTopRightRadius:E,borderBottomRightRadius:E,borderBottomLeftRadius:E,width:E,maxWidth:E,height:E,maxHeight:E,top:E,right:E,bottom:E,left:E,inset:E,insetBlock:E,insetBlockStart:E,insetBlockEnd:E,insetInline:E,insetInlineStart:E,insetInlineEnd:E,padding:E,paddingTop:E,paddingRight:E,paddingBottom:E,paddingLeft:E,paddingBlock:E,paddingBlockStart:E,paddingBlockEnd:E,paddingInline:E,paddingInlineStart:E,paddingInlineEnd:E,margin:E,marginTop:E,marginRight:E,marginBottom:E,marginLeft:E,marginBlock:E,marginBlockStart:E,marginBlockEnd:E,marginInline:E,marginInlineStart:E,marginInlineEnd:E,fontSize:E,backgroundPositionX:E,backgroundPositionY:E,rotate:k,rotateX:k,rotateY:k,rotateZ:k,scale:h,scaleX:h,scaleY:h,scaleZ:h,skew:k,skewX:k,skewY:k,distance:E,translateX:E,translateY:E,translateZ:E,x:E,y:E,z:E,perspective:E,transformPerspective:E,opacity:d,originX:T,originY:T,originZ:E,zIndex:U,fillOpacity:d,strokeOpacity:d,numOctaves:U},q={...H,color:C,backgroundColor:C,outlineColor:C,fill:C,stroke:C,borderColor:C,borderTopColor:C,borderRightColor:C,borderBottomColor:C,borderLeftColor:C,filter:W,WebkitFilter:W,mask:$,WebkitMask:$},K=e=>q[e],X=()=>({translate:0,scale:1,origin:0,originPoint:0}),Y=()=>({x:X(),y:X()}),G=()=>({min:0,max:0}),Z=()=>({x:G(),y:G()}),J=e=>!!(e&&e.getVelocity),Q=new Set(["width","height","top","left","right","bottom",...s]),ee=e=>t=>t.test(e),et=[c,E,S,k,P,A,{test:e=>"auto"===e,parse:e=>e}],er=e=>et.find(ee(e));r(30974);let en=()=>{},ei=()=>{},eo=e=>t=>"string"==typeof t&&t.startsWith(e),ea=eo("--"),es=eo("var(--"),el=e=>!!es(e)&&eu.test(e.split("/*")[0].trim()),eu=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ec(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let ed=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eh=e=>180*e/Math.PI,ef=e=>em(eh(Math.atan2(e[1],e[0]))),ep={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ef,rotateZ:ef,skewX:e=>eh(Math.atan(e[1])),skewY:e=>eh(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},em=e=>((e%=360)<0&&(e+=360),e),eg=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ey=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ev={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:eg,scaleY:ey,scale:e=>(eg(e)+ey(e))/2,rotateX:e=>em(eh(Math.atan2(e[6],e[5]))),rotateY:e=>em(eh(Math.atan2(-e[2],e[0]))),rotateZ:ef,rotate:ef,skewX:e=>eh(Math.atan(e[4])),skewY:e=>eh(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function eb(e){return+!!e.includes("scale")}function ew(e,t){let r,n;if(!e||"none"===e)return eb(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)r=ev,n=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=ep,n=t}if(!n)return eb(t);let o=r[t],a=n[1].split(",").map(ex);return"function"==typeof o?o(a):a[o]}function ex(e){return parseFloat(e.trim())}let ek=e=>e===c||e===E,eS=new Set(["x","y","z"]),eE=s.filter(e=>!eS.has(e)),eA={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})=>ew(t,"x"),y:(e,{transform:t})=>ew(t,"y")};eA.translateX=eA.x,eA.translateY=eA.y;let eP=e=>e,eT={},eM=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function eC(e,t){let r=!1,n=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>r=!0,a=eM.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,n=new Set,i=!1,o=!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,o=!1)=>{let s=o&&i?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,i){o=!0;return}i=!0,[r,n]=[n,r],r.forEach(u),t,l=0,r.clear(),i=!1,o&&(o=!1,c.process(e))}};return c}(o,t?r:void 0),e),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:h,render:f,postRender:p}=a,m=()=>{let o=eT.useManualTiming?i.timestamp:performance.now();r=!1,eT.useManualTiming||(i.delta=n?1e3/60:Math.max(Math.min(o-i.timestamp,40),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),l.process(i),u.process(i),c.process(i),d.process(i),h.process(i),f.process(i),p.process(i),i.isProcessing=!1,r&&t&&(n=!1,e(m))};return{schedule:eM.reduce((t,o)=>{let s=a[o];return t[o]=(t,o=!1,a=!1)=>(!r&&(r=!0,n=!0,i.isProcessing||e(m)),s.schedule(t,o,a)),t},{}),cancel:e=>{for(let t=0;t<eM.length;t++)a[eM[t]].cancel(e)},state:i,steps:a}}let{schedule:eR,cancel:ej,state:eD,steps:eL}=eC("u">typeof requestAnimationFrame?requestAnimationFrame:eP,!0),eO=new Set,eV=!1,eN=!1,eI=!1;function eF(){if(eN){let e=Array.from(eO).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t,n=(t=[],eE.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t);n.length&&(r.set(e,n),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)})}eN=!1,eV=!1,eO.forEach(e=>e.complete(eI)),eO.clear()}function ez(){eO.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eN=!0)})}class e_{constructor(e,t,r,n,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(eO.add(this),eV||(eV=!0,eR.read(ez),eR.resolveKeyframes(eF))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;if(null===e[0]){let i=n?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,o);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=o),n&&void 0===i&&n.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),eO.delete(this)}cancel(){"scheduled"===this.state&&(eO.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let eB=new Set([W,$]);function eW(e,t){let r=K(e);return eB.has(r)||(r=F),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let e$=new Set(["auto","none","0"]);class eU extends e_{constructor(e,t,r,n,i){super(e,t,r,n,i,!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&&el(n=n.trim())){let i=function e(t,r,n=1){ei(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,o]=function(e){let t=ed.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${r??n}`,i]}(t);if(!i)return;let a=window.getComputedStyle(r).getPropertyValue(i);if(a){let e=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return el(o)?e(o,r,n+1):o}(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!Q.has(r)||2!==e.length)return;let[n,i]=e,o=er(n),a=er(i);if(ec(n)!==ec(i)&&eA[r]){this.needsMeasurement=!0;return}if(o!==a)if(ek(o)&&ek(a))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else eA[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&r.push(t);r.length&&function(e,t,r){let n,i=0;for(;i<e.length&&!n;){let t=e[i];"string"==typeof t&&!e$.has(t)&&O(t).values.length&&(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=eW(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=eA[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 i=r.length-1,o=r[i];r[i]=eA[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}let eH=e=>1e3*e;function eq(e,t){-1===e.indexOf(t)&&e.push(t)}function eK(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class eX{constructor(){this.subscriptions=[]}add(e){return eq(this.subscriptions,e),()=>eK(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 i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function eY(e){let t;return()=>(void 0===t&&(t=e()),t)}let eG={};function eZ(e,t){let r=eY(e);return()=>eG[t]??r()}let eJ=eZ(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),eQ=e=>null!==e;function e0(e,{repeat:t,repeatType:r="loop"},n,i=1){let o=e.filter(eQ),a=i<0||t&&"loop"!==r&&t%2==1?0:o.length-1;return a&&void 0!==n?n:o[a]}class e1{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let e2={layout:0,mainThread:0,waapi:0},e3=e=>Array.isArray(e)&&"number"==typeof e[0],e6=eZ(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),e4=(e,t,r=10)=>{let n="",i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)n+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},e5=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,e9={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e5([0,.65,.55,1]),circOut:e5([.55,0,1,.45]),backIn:e5([.31,.01,.66,-.59]),backOut:e5([.33,1.53,.69,.99])};function e7(e){return"function"==typeof e&&"applyToOptions"in e}class e8 extends e1{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:r,keyframes:n,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:a,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=e,ei("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return e7(e)&&e6()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:n=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s="easeOut",times:l}={},u){let c={[t]:r};l&&(c.offset=l);let d=function e(t,r){if(t)return"function"==typeof t?e6()?e4(t,r):"ease-out":e3(t)?e5(t):Array.isArray(t)?t.map(t=>e(t,r)||e9.easeOut):e9[t]}(s,i);Array.isArray(d)&&(c.easing=d);let h={delay:n,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"};u&&(h.pseudoElement=u);let f=e.animate(c,h);return f}(t,r,n,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=e0(n,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(e);r.startsWith("--")?t.style.setProperty(r,e):t.style[r]=e,this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=eH(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:r,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&eJ())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),eP):n(this)}}let te=new Set(["opacity","clipPath","filter","transform"]),{schedule:tt}=eC(queueMicrotask,!1);function tr(){n=void 0}let tn={now:()=>(void 0===n&&tn.set(eD.isProcessing||eT.useManualTiming?eD.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(tr)}};class ti{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=tn.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=tn.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(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 eX);let r=this.events[e].add(t);return"change"===e?()=>{r(),eR.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){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}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()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return a&&a.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=tn.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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function to(e,t){return new ti(e,t)}let ta=[...et,C,F],ts=new WeakMap;function tl(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tu(e){return"string"==typeof e||Array.isArray(e)}let tc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],td=["initial",...tc];function th(e){return tl(e.animate)||td.some(t=>tu(e[t]))}function tf(e){return!!(th(e)||e.variants)}let tp={current:null},tm={current:!1},tg="u">typeof window;function ty(e){let t=[{},{}];return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function tv(e,t,r,n){if("function"==typeof t){let[i,o]=ty(n);t=t(void 0!==r?r:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=ty(n);t=t(void 0!==r?r:e.custom,i,o)}return t}let tb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tw={};class tx{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,skipAnimations:i,blockInitialAnimation:o,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=e_,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=tn.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eR.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!o,this.isControllingVariants=th(t),this.isVariantNode=tf(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&J(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,ts.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)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tm.current||function(){if(tm.current=!0,tg)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tp.current=e.matches;e.addEventListener("change",t),t()}else tp.current=!1}(),this.shouldReduceMotion=tp.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),ej(this.notifyUpdate),ej(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(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}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let r;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&te.has(e)&&this.current instanceof HTMLElement){let{factory:r,keyframes:n,times:i,ease:o,duration:a}=t.accelerate,s=new e8({element:this.current,name:e,keyframes:n,times:i,ease:o,duration:eH(a)}),l=r(s);this.valueSubscriptions.set(e,()=>{l(),s.cancel()});return}let n=l.has(e);n&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eR.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{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 tw){let t=tw[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):Z()}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<tb.length;t++){let r=tb[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 i=t[n],o=r[n];if(J(i))e.addValue(n,i);else if(J(o))e.addValue(n,to(i,{owner:e}));else if(o!==i)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(n);e.addValue(n,to(void 0!==t?t:i,{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()}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=to(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];if(null!=r){let n,i;if("string"==typeof r&&(n=r,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(i=r,/^0[^.\s]+$/u.test(i))))r=parseFloat(r);else{let n;n=r,!ta.find(ee(n))&&F.test(t)&&(r=eW(e,t))}this.setBaseTarget(e,J(r)?r.get():r)}return J(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=tv(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||J(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 eX),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){tt.render(this.render)}}class tk extends tx{constructor(){super(...arguments),this.KeyframeResolver=eU}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let r=e.style;return r?r[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;J(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tS(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let tE=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tP=s.length;function tT(e,t,r){let{style:n,vars:i,transformOrigin:o}=e,a=!1,u=!1;for(let e in t){let r=t[e];if(l.has(e)){a=!0;continue}if(ea(e)){i[e]=r;continue}{let t=tE(r,H[e]);e.startsWith("origin")?(u=!0,o[e]=t):n[e]=t}}if(!t.transform&&(a||r?n.transform=function(e,t,r){let n="",i=!0;for(let o=0;o<tP;o++){let a=s[o],l=e[a];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let e=parseFloat(l);u=a.startsWith("scale")?1===e:0===e}if(!u||r){let e=tE(l,H[a]);if(!u){i=!1;let t=tA[a]||a;n+=`${t}(${e}) `}r&&(t[a]=e)}}return n=n.trim(),r?n=r(t,i?"":n):i&&(n="none"),n}(t,e.transform,r):n.transform&&(n.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=o;n.transformOrigin=`${e} ${t} ${r}`}}let tM={offset:"stroke-dashoffset",array:"stroke-dasharray"},tC={offset:"strokeDashoffset",array:"strokeDasharray"},tR=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tj(e,{attrX:t,attrY:r,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:a=0,...s},l,u,c){if(tT(e,s,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:h}=e;for(let e of(d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete d.transformBox),tR))void 0!==d[e]&&(h[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==r&&(d.y=r),void 0!==n&&(d.scale=n),void 0!==i&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let o=i?tM:tC;e[o.offset]=`${-n}`,e[o.array]=`${t} ${r}`}(d,i,o,a,!1)}let tD=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"]),tL=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tO(e,{style:t,vars:r},n,i){let o,a=e.style;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,n),r)a.setProperty(o,r[o])}function tV(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let tN={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!E.test(e))return e;else e=parseFloat(e);let r=tV(e,t.target.x),n=tV(e,t.target.y);return`${r}% ${n}%`}},tI=(e,t,r)=>e+(t-e)*r,tF={borderRadius:{...tN,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tN,borderTopRightRadius:tN,borderBottomLeftRadius:tN,borderBottomRightRadius:tN,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=F.parse(e);if(n.length>5)return e;let i=F.createTransformer(e),o=+("number"!=typeof n[0]),a=r.x.scale*t.x,s=r.y.scale*t.y;n[0+o]/=a,n[1+o]/=s;let l=tI(a,s,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),i(n)}}};function tz(e,{layout:t,layoutId:r}){return l.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!tF[e]||"opacity"===e)}function t_(e,t,r){let n=e.style,i=t?.style,o={};if(!n)return o;for(let t in n)(J(n[t])||i&&J(i[t])||tz(t,e)||r?.getValue(t)?.liveStyle!==void 0)&&(o[t]=n[t]);return o}function tB(e,t,r){let n=t_(e,t,r);for(let r in e)(J(e[r])||J(t[r]))&&(n[-1!==s.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}class tW extends tk{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Z}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(l.has(t)){let e=K(t);return e&&e.default||0}return t=tD.has(t)?t:tS(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return tB(e,t,r)}build(e,t,r){tj(e,t,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,t,r,n){for(let r in tO(e,t,void 0,n),t.attrs)e.setAttribute(tD.has(r)?r:tS(r),t.attrs[r])}mount(e){this.isSVGTag=tL(e.tagName),super.mount(e)}}function t$({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function tU(e){return void 0===e||1===e}function tH({scale:e,scaleX:t,scaleY:r}){return!tU(e)||!tU(t)||!tU(r)}function tq(e){return tH(e)||tK(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tK(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function tX(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function tY(e,t=0,r=1,n,i){e.min=tX(e.min,t,r,n,i),e.max=tX(e.max,t,r,n,i)}function tG(e,{x:t,y:r}){tY(e.x,t.translate,t.scale,t.originPoint),tY(e.y,r.translate,r.scale,r.originPoint)}function tZ(e,t){e.min=e.min+t,e.max=e.max+t}function tJ(e,t,r,n,i=.5){let o=tI(e.min,e.max,i);tY(e,t,r,o,n)}function tQ(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function t0(e,t){tJ(e.x,tQ(t.x,e.x),t.scaleX,t.scale,t.originX),tJ(e.y,tQ(t.y,e.y),t.scaleY,t.scale,t.originY)}function t1(e,t){return t$(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))}class t2 extends tk{constructor(){super(...arguments),this.type="html",this.renderInstance=tO}readValueFromInstance(e,t){if(l.has(t))return this.projection?.isProjecting?eb(t):((e,t)=>{let{transform:r="none"}=getComputedStyle(e);return ew(r,t)})(e,t);{let r=window.getComputedStyle(e),n=(ea(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return t1(e,t)}build(e,t,r){tT(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return t_(e,t,r)}}var t3,t6=r(70430);let t4=["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 t5(e){if("string"!=typeof e||e.includes("-"));else if(t4.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var t9=r(36366),t7=r(90796);let t8=(0,t6.createContext)({strict:!1});var re=r(91283);let rt=(0,t6.createContext)({});function rr(e){return Array.isArray(e)?e.join(" "):e}let rn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ri(e,t,r){for(let n in t)J(t[n])||tz(n,r)||(e[n]=t[n])}let ro=()=>({...rn(),attrs:{}}),ra=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","propagate","ignoreStrict","viewport"]);function rs(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ra.has(e)}let rl=e=>!rs(e);try{t3=require("@emotion/is-prop-valid").default,"function"==typeof t3&&(rl=e=>e.startsWith("on")?!rs(e):t3(e))}catch{}function ru(e){return J(e)?e.get():e}var rc=r(15962),rd=r(79332);let rh=e=>(t,r)=>{let n=(0,t6.useContext)(rt),i=(0,t6.useContext)(rc.t),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,i){return{latestValues:function(e,t,r,n){let i={},o=n(e,{});for(let e in o)i[e]=ru(o[e]);let{initial:a,animate:s}=e,l=th(e),u=tf(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&&!tl(d)){let t=Array.isArray(d)?d:[d];for(let r=0;r<t.length;r++){let n=tv(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&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(r,n,i,e),renderState:t()}})(e,t,n,i);return r?o():(0,rd.M)(o)},rf=rh({scrapeMotionValuesFromProps:t_,createRenderState:rn}),rp=rh({scrapeMotionValuesFromProps:tB,createRenderState:ro}),rm={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"]},rg=!1;function ry(){return!function(){if(rg)return;let e={};for(let t in rm)e[t]={isEnabled:e=>rm[t].some(t=>!!e[t])};tw=e,rg=!0}(),tw}let rv=Symbol.for("motionComponentSymbol"),rb="data-"+tS("framerAppearId"),rw=(0,t6.createContext)({});function rx(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}var rk=r(38220);function rS(e,{forwardMotionProps:t=!1,type:r}={},n,i){n&&function(e){let t=ry();for(let r in e)t[r]={...t[r],...e[r]};tw=t}(n);let o=r?"svg"===r:t5(e),a=o?rp:rf;function s(r,n){var s;let l,u,c,d={...(0,t6.useContext)(re.Q),...r,layoutId:function({layoutId:e}){let t=(0,t6.useContext)(t7.L).id;return t&&void 0!==e?t+"-"+e:e}(r)},{isStatic:h}=d,f=function(e){let{initial:t,animate:r}=function(e,t){if(th(e)){let{initial:t,animate:r}=e;return{initial:!1===t||tu(t)?t:void 0,animate:tu(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,t6.useContext)(rt));return(0,t6.useMemo)(()=>({initial:t,animate:r}),[rr(t),rr(r)])}(r),p=a(r,h);if(!h&&"u">typeof window){(0,t6.useContext)(t8).strict;let t=function(e){let{drag:t,layout:r}=ry();if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(d);l=t.MeasureLayout,f.visualElement=function(e,t,r,n,i,o){let{visualElement:a}=(0,t6.useContext)(rt),s=(0,t6.useContext)(t8),l=(0,t6.useContext)(rc.t),u=(0,t6.useContext)(re.Q),c=u.reducedMotion,d=u.skipAnimations,h=(0,t6.useRef)(null),f=(0,t6.useRef)(!1);n=n||s.renderer,!h.current&&n&&(h.current=n(e,{visualState:t,parent:a,props:r,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:c,skipAnimations:d,isSVG:o}),f.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));let p=h.current,m=(0,t6.useContext)(rw);p&&!p.projection&&i&&("html"===p.type||"svg"===p.type)&&function(e,t,r,n){let{layoutId:i,layout:o,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=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:i,layout:o,alwaysMeasureLayout:!!a||s&&rx(s),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u})}(h.current,r,i,m);let g=(0,t6.useRef)(!1);(0,t6.useInsertionEffect)(()=>{p&&g.current&&p.update(r,l)});let y=r[rb],v=(0,t6.useRef)(!!y&&"u">typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return(0,rk.E)(()=>{f.current=!0,p&&(g.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),v.current&&p.animationState&&p.animationState.animateChanges())}),(0,t6.useEffect)(()=>{p&&(!v.current&&p.animationState&&p.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),p.enteringChildren=void 0)}),p}(e,p,d,i,t.ProjectionNode,o)}return(0,t9.jsxs)(rt.Provider,{value:f,children:[l&&f.visualElement?(0,t9.jsx)(l,{visualElement:f.visualElement,...d}):null,function(e,t,r,{latestValues:n},i,o=!1,a){let s=(a??t5(e)?function(e,t,r,n){let i=(0,t6.useMemo)(()=>{let r=ro();return tj(r,t,tL(n),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};ri(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let r,n,i={},o=(r=e.style||{},ri(n={},r,e),Object.assign(n,function({transformTemplate:e},t){return(0,t6.useMemo)(()=>{let r=rn();return tT(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i})(t,n,i,e),l=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(rl(i)||!0===r&&rs(i)||!t&&!rs(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(t,"string"==typeof e,o),u=e!==t6.Fragment?{...l,...s,ref:r}:{},{children:c}=t,d=(0,t6.useMemo)(()=>J(c)?c.get():c,[c]);return(0,t6.createElement)(e,{...u,children:d})}(e,r,(s=f.visualElement,u=(0,t6.useRef)(n),(0,t6.useInsertionEffect)(()=>{u.current=n}),c=(0,t6.useRef)(null),(0,t6.useCallback)(e=>{e&&p.onMount?.(e);let t=u.current;if("function"==typeof t)if(e){let r=t(e);"function"==typeof r&&(c.current=r)}else c.current?(c.current(),c.current=null):t(e);else t&&(t.current=e);s&&(e?s.mount(e):s.unmount())},[s])),p,h,t,o)]})}s.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,t6.forwardRef)(s);return l[rv]=e,l}class rE{constructor(e){this.isMounted=!1,this.node=e}update(){}}function rA(e,t,r){let n=e.getProps();return tv(n,t,void 0!==r?r:n.custom,e)}function rP(e,t){if(e?.inherit&&t){let{inherit:r,...n}=e;return{...t,...n}}return e}function rT(e,t){let r=e?.[t]??e?.default??e;return r!==e?rP(r,e):r}let rM=e=>Array.isArray(e);function rC(e,t){let r=e.getValue("willChange");if(J(r)&&r.add)return r.add(t);if(!r&&eT.WillChange){let r=new eT.WillChange("auto");e.addValue("willChange",r),r.add(t)}}let rR=(e,t)=>r=>t(e(r)),rj=(...e)=>e.reduce(rR);function rD(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 rL(e,t){return r=>r>0?t:e}let rO=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},rV=[w,b,M];function rN(e){let t=rV.find(t=>t.test(e));if(en(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===M&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,o=0,a=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;i=rD(s,n,e+1/3),o=rD(s,n,e),a=rD(s,n,e-1/3)}else i=o=a=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:n}}(r)),r}let rI=(e,t)=>{let r=rN(e),n=rN(t);if(!r||!n)return rL(e,t);let i={...r};return e=>(i.red=rO(r.red,n.red,e),i.green=rO(r.green,n.green,e),i.blue=rO(r.blue,n.blue,e),i.alpha=tI(r.alpha,n.alpha,e),b.transform(i))},rF=new Set(["none","hidden"]);function rz(e,t){return r=>tI(e,t,r)}function r_(e){return"number"==typeof e?rz:"string"==typeof e?el(e)?rL:C.test(e)?rI:r$:Array.isArray(e)?rB:"object"==typeof e?C.test(e)?rI:rW:rL}function rB(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>r_(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function rW(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=r_(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let r$=(e,t)=>{let r=F.createTransformer(t),n=O(e),i=O(t);if(!(n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length))return en(!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.`,"complex-values-different"),rL(e,t);if(rF.has(e)&&!i.values.length||rF.has(t)&&!n.values.length)return rF.has(e)?r=>r<=0?e:t:r=>r>=1?t:e;return rj(rB(function(e,t){let r=[],n={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let o=t.types[i],a=e.indexes[o][n[o]],s=e.values[a]??0;r[i]=s,n[o]++}return r}(n,i),i.values),r)};function rU(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?tI(e,t,r):r_(e)(e,t)}let rH=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eR.update(t,e),stop:()=>ej(t),now:()=>eD.isProcessing?eD.timestamp:tn.now()}};function rq(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 rK(e,t,r){var n,i;let o=Math.max(t-5,0);return n=r-e(o),(i=t-o)?1e3/i*n:0}let rX=.01,rY=2,rG=.005,rZ=.5;function rJ(e,t){return e*Math.sqrt(1-t*t)}let rQ=["duration","bounce"],r0=["stiffness","damping","mass"];function r1(e,t){return t.some(t=>void 0!==e[t])}function r2(e=.3,t=.3){let r,n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:o}=n,a=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],l={done:!1,value:a},{stiffness:c,damping:d,mass:h,duration:f,velocity:p,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!r1(e,r0)&&r1(e,rQ))if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,i=2*u(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:i}}else{let r=function({duration:e=800,bounce:t=.3,velocity:r=0,mass:n=1}){let i,o;en(e<=eH(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=u(.05,1,a),e=u(.01,10,e/1e3),a<1?(i=t=>{let n=t*a,i=n*e;return .001-(n-r)/rJ(t,a)*Math.exp(-i)},o=t=>{let n=t*a*e,o=Math.pow(a,2)*Math.pow(t,2)*e,s=Math.exp(-n),l=rJ(Math.pow(t,2),a);return(n*r+r-o)*s*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),o=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}(i,o,5/e);if(e=eH(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*n;return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}({...e,velocity:0});(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...n,velocity:-((n.velocity||0)/1e3)}),g=p||0,y=d/(2*Math.sqrt(c*h)),v=s-a,b=Math.sqrt(c/h)/1e3,w=5>Math.abs(v);if(i||(i=w?rX:rY),o||(o=w?rG:rZ),y<1){let e=rJ(b,y);r=t=>s-Math.exp(-y*b*t)*((g+y*b*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===y)r=e=>s-Math.exp(-b*e)*(v+(g+b*v)*e);else{let e=b*Math.sqrt(y*y-1);r=t=>{let r=Math.exp(-y*b*t),n=Math.min(e*t,300);return s-r*((g+y*b*v)*Math.sinh(n)+e*v*Math.cosh(n))/e}}let x={calculatedDuration:m&&f||null,next:e=>{let t=r(e);if(m)l.done=e>=f;else{let n=0===e?g:0;y<1&&(n=0===e?eH(g):rK(r,e,t));let a=Math.abs(s-t)<=o;l.done=Math.abs(n)<=i&&a}return l.value=l.done?s:t,l},toString:()=>{let e=Math.min(rq(x),2e4),t=e4(t=>x.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return x}function r3({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d,h,f=e[0],p={done:!1,value:f},m=r*t,g=f+m,y=void 0===a?g:a(g);y!==g&&(m=y-f);let v=e=>-m*Math.exp(-e/n),b=e=>y+v(e),w=e=>{let t=v(e),r=b(e);p.done=Math.abs(t)<=u,p.value=p.done?y:r},x=e=>{let t;if(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l){var r;d=e,h=r2({keyframes:[p.value,(r=p.value,void 0===s?l:void 0===l||Math.abs(s-r)<Math.abs(l-r)?s:l)],velocity:rK(b,e,p.value),damping:i,stiffness:o,restDelta:u,restSpeed:c})}};return x(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==d||(t=!0,w(e),x(e)),void 0!==d&&e>=d)?h.next(e-d):(t||w(e),p)}}}r2.applyToOptions=e=>{let t=function(e,t=100,r){let n=r({...e,keyframes:[0,t]}),i=Math.min(rq(n),2e4);return{type:"keyframes",ease:e=>n.next(i*e).value/t,duration:i/1e3}}(e,100,r2);return e.ease=t.ease,e.duration=eH(t.duration),e.type="keyframes",e};let r6=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function r4(e,t,r,n){return e===t&&r===n?eP:i=>0===i||1===i?i:r6(function(e,t,r,n,i){let o,a,s=0;do(o=r6(a=t+(r-t)/2,n,i)-e)>0?r=a:t=a;while(Math.abs(o)>1e-7&&++s<12);return a}(i,0,1,e,r),t,n)}let r5=r4(.42,0,1,1),r9=r4(0,0,.58,1),r7=r4(.42,0,.58,1),r8=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ne=e=>t=>1-e(1-t),nt=r4(.33,1.53,.69,.99),nr=ne(nt),nn=r8(nr),ni=e=>(e*=2)<1?.5*nr(e):.5*(2-Math.pow(2,-10*(e-1))),no=e=>1-Math.sin(Math.acos(e)),na=ne(no),ns=r8(no),nl={linear:eP,easeIn:r5,easeInOut:r7,easeOut:r9,circIn:no,circInOut:ns,circOut:na,backIn:nr,backInOut:nn,backOut:nt,anticipate:ni},nu=e=>{if(e3(e)){ei(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,n,i]=e;return r4(t,r,n,i)}return"string"==typeof e?(ei(void 0!==nl[e],`Invalid easing type '${e}'`,"invalid-easing-type"),nl[e]):e},nc=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n};function nd({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){var i;let o,a=Array.isArray(n)&&"number"!=typeof n[0]?n.map(nu):nu(n),s={done:!1,value:t[0]},l=function(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let o=e.length;if(ei(o===t.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=function(e,t,r){let n=[],i=r||eT.mix||rU,o=e.length-1;for(let r=0;r<o;r++){let o=i(e[r],e[r+1]);t&&(o=rj(Array.isArray(t)?t[r]||eP:t,o)),n.push(o)}return n}(t,n,i),l=s.length,c=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 i=nc(e[n],e[n+1],r);return s[n](i)};return r?t=>c(u(e[0],e[o-1],t)):c}((i=r&&r.length===t.length?r:(!function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=nc(0,t,n);e.push(tI(r,1,i))}}(o=[0],t.length-1),o),i.map(t=>t*e)),t,{ease:Array.isArray(a)?a:t.map(()=>a||r7).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=l(t),s.done=t>=e,s)}}let nh={decay:r3,inertia:r3,tween:nd,keyframes:nd,spring:r2};function nf(e){"string"==typeof e.type&&(e.type=nh[e.type])}let np=e=>e/100;class nm extends e1{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==tn.now()&&this.tick(tn.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},e2.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;nf(e);let{type:t=nd,repeat:r=0,repeatDelay:n=0,repeatType:i,velocity:o=0}=e,{keyframes:a}=e,s=t||nd;s!==nd&&"number"!=typeof a[0]&&(this.mixKeyframes=rj(np,rU(a[0],a[1])),a=[0,100]);let l=s({...e,keyframes:a});"mirror"===i&&(this.mirroredGenerator=s({...e,keyframes:[...a].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=rq(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let{generator:r,totalDuration:n,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:s}=this;if(null===this.startTime)return r.next(0);let{delay:l=0,keyframes:c,repeat:d,repeatType:h,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let y=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>n;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,w=r;if(d){let e=Math.min(this.currentTime,n)/a,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,d+1))%2&&("reverse"===h?(r=1-r,f&&(r-=f/a)):"mirror"===h&&(w=o)),b=u(0,1,r)*a}let x=v?{done:!1,value:c[0]}:w.next(b);i&&(x.value=i(x.value));let{done:k}=x;v||null===s||(k=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return S&&p!==r3&&(x.value=e0(c,this.options,g,this.speed)),m&&m(x.value),S&&this.finish(),x}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=eH(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(tn.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=rH,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tn.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,e2.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let ng={anticipate:ni,backInOut:nn,circInOut:ns};class ny extends e8{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in ng&&(e.ease=ng[e.ease])}(e),nf(e),super(e),void 0!==e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:n,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let a=new nm({...o,autoplay:!1}),s=Math.max(10,tn.now()-this.startTime),l=u(0,10,s-10);t.setWithVelocity(a.sample(Math.max(0,s-l)).value,a.sample(s).value,l),a.stop()}}let nv=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(F.test(e)||"0"===e)&&!e.startsWith("url("));function nb(e){e.duration=0,e.type="keyframes"}let nw=new Set(["opacity","clipPath","filter","transform"]),nx=eY(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class nk extends e1{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:o="loop",keyframes:a,name:s,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tn.now();const d={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:o,name:s,motionValue:l,element:u,...c},h=u?.KeyframeResolver||e_;this.keyframeResolver=new h(a,(e,t,r)=>this.onKeyframesResolved(e,t,d,!r),s,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,n){this.keyframeResolver=void 0;let{name:i,type:o,velocity:a,delay:s,isHandoff:l,onUpdate:u}=r;this.resolvedAt=tn.now(),!function(e,t,r,n){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],a=nv(i,t),s=nv(o,t);return en(a===s,`You are trying to animate ${t} from "${i}" to "${o}". "${a?o:i}" is not an animatable value.`,"value-not-animatable"),!!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||e7(r))&&n)}(e,i,o,a)&&((eT.instantAnimations||!s)&&u?.(e0(e,r,t)),e[0]=e[e.length-1],nb(r),r.repeat=0);let c={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},d=!l&&function(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:o,type:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:s,transformTemplate:l}=t.owner.getProps();return nx()&&r&&nw.has(r)&&("transform"!==r||!l)&&!s&&!n&&"mirror"!==i&&0!==o&&"inertia"!==a}(c),h=c.motionValue?.owner?.current,f=d?new ny({...c,element:h}):new nm(c);f.finished.then(()=>{this.notifyFinished()}).catch(eP),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eI=!0,ez(),eF(),eI=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let nS={type:"spring",stiffness:500,damping:25,restSpeed:10},nE={type:"keyframes",duration:.8},nA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nP=e=>null!==e,nT=(e,t,r,n={},i,o)=>a=>{let s=rT(n,e)||{},u=s.delay||n.delay||0,{elapsed:c=0}=n;c-=eH(u);let d={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:o?void 0:i};!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&Object.assign(d,((e,{keyframes:t})=>t.length>2?nE:l.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:nS:nA)(e,d)),d.duration&&(d.duration=eH(d.duration)),d.repeatDelay&&(d.repeatDelay=eH(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let h=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(nb(d),0===d.delay&&(h=!0)),(eT.instantAnimations||eT.skipAnimations||i?.shouldSkipAnimations)&&(h=!0,nb(d),d.delay=0),d.allowFlatten=!s.type&&!s.ease,h&&!o&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:r="loop"}){let n=e.filter(nP),i=t&&"loop"!==r&&t%2==1?0:n.length-1;return n[i]}(d.keyframes,s);if(void 0!==e)return void eR.update(()=>{d.onUpdate(e),d.onComplete()})}return s.isSync?new nm(d):new nk(d)};function nM(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o,transitionEnd:a,...s}=t,l=e.getDefaultTransition();o=o?rP(o,l):l;let u=o?.reduceMotion;n&&(o=n);let c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let n=e.getValue(t,e.latestValues[t]??null),i=s[t];if(void 0===i||d&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(d,t))continue;let a={delay:r,...rT(o||{},t)},l=n.get();if(void 0!==l&&!n.isAnimating&&!Array.isArray(i)&&i===l&&!a.velocity)continue;let h=!1;if(window.MotionHandoffAnimation){let r=e.props[rb];if(r){let e=window.MotionHandoffAnimation(r,t,eR);null!==e&&(a.startTime=e,h=!0)}}rC(e,t);let f=u??e.shouldReduceMotion;n.start(nT(t,n,i,f&&Q.has(t)?{type:!1}:a,e,h));let p=n.animation;p&&c.push(p)}if(a){let t=()=>eR.update(()=>{a&&function(e,t){let{transitionEnd:r={},transition:n={},...i}=rA(e,t)||{};for(let t in i={...i,...r}){var o;let r=rM(o=i[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,to(r))}}(e,a)});c.length?Promise.all(c).then(t):t()}return c}function nC(e,t,r,n=0,i=1){let o=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),a=e.size,s=(a-1)*n;return"function"==typeof r?r(o,a):1===i?o*n:s-o*n}function nR(e,t,r={}){let n=rA(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let o=n?()=>Promise.all(nM(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,r=0,n=0,i=0,o=1,a){let s=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),s.push(nR(l,t,{...a,delay:r+("function"==typeof n?0:n)+nC(e.variantChildren,l,n,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}(e,t,n,o,a,s,r)}:()=>Promise.resolve(),{when:s}=i;if(!s)return Promise.all([o(),a(r.delay)]);{let[e,t]="beforeChildren"===s?[o,a]:[a,o];return e().then(()=>t())}}let nj=td.length;function nD(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}let nL=[...tc].reverse(),nO=tc.length;function nV(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nN(){return{animate:nV(!0),whileInView:nV(),whileHover:nV(),whileTap:nV(),whileDrag:nV(),whileFocus:nV(),exit:nV()}}class nI extends rE{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=>nR(e,t,r)));else if("string"==typeof t)n=nR(e,t,r);else{let i="function"==typeof t?rA(e,t,r.custom):t;n=Promise.all(nM(e,i,r))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=nN(),n=!0,i=!1,o=t=>(r,n)=>{let i=rA(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function a(a){let{props:s}=e,l=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<nj;e++){let n=td[e],i=t.props[n];(tu(i)||!1===i)&&(r[n]=i)}return r}(e.parent)||{},u=[],c=new Set,d={},h=1/0;for(let t=0;t<nO;t++){var f,p;let m=nL[t],g=r[m],y=void 0!==s[m]?s[m]:l[m],v=tu(y),b=m===a?g.isActive:null;!1===b&&(h=t);let w=y===l[m]&&y!==s[m]&&v;if(w&&(n||i)&&e.manuallyAnimateOnMount&&(w=!1),g.protectedKeys={...d},!g.isActive&&null===b||!y&&!g.prevProp||tl(y)||"boolean"==typeof y)continue;if("exit"===m&&g.isActive&&!0!==b){g.prevResolvedValues&&(d={...d,...g.prevResolvedValues});continue}let x=(f=g.prevProp,"string"==typeof(p=y)?p!==f:!!Array.isArray(p)&&!nD(p,f)),k=x||m===a&&g.isActive&&!w&&v||t>h&&v,S=!1,E=Array.isArray(y)?y:[y],A=E.reduce(o(m),{});!1===b&&(A={});let{prevResolvedValues:P={}}=g,T={...P,...A},M=t=>{k=!0,c.has(t)&&(S=!0,c.delete(t)),g.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in T){let t=A[e],r=P[e];if(!d.hasOwnProperty(e))(rM(t)&&rM(r)?nD(t,r):t===r)?void 0!==t&&c.has(e)?M(e):g.protectedKeys[e]=!0:null!=t?M(e):c.add(e)}g.prevProp=y,g.prevResolvedValues=A,g.isActive&&(d={...d,...A}),(n||i)&&e.blockInitialAnimation&&(k=!1);let C=w&&x,R=!C||S;k&&R&&u.push(...E.map(t=>{let r={type:m};if("string"==typeof t&&(n||i)&&!C&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,i=rA(n,t);if(n.enteringChildren&&i){let{delayChildren:t}=i.transition||{};r.delay=nC(n.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(c.size){let t={};if("boolean"!=typeof s.initial){let r=rA(e,Array.isArray(s.initial)?s.initial[0]:s.initial);r&&r.transition&&(t.transition=r.transition)}c.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=n??null}),u.push({animation:t})}let m=!!u.length;return n&&(!1===s.initial||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(m=!1),n=!1,i=!1,m?t(u):Promise.resolve()}return{animateChanges:a,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 i=a(t);for(let e in r)r[e].protectedKeys={};return i},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=nN(),i=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();tl(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 nF=0;class nz extends rE{constructor(){super(...arguments),this.id=nF++}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(){}}let n_={x:!1,y:!1};function nB(e){return[e("x"),e("y")]}function nW(e){return e.max-e.min}function n$(e,t,r,n=.5){e.origin=n,e.originPoint=tI(t.min,t.max,e.origin),e.scale=nW(r)/nW(t),e.translate=tI(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function nU(e,t,r,n){n$(e.x,t.x,r.x,n?n.originX:void 0),n$(e.y,t.y,r.y,n?n.originY:void 0)}function nH(e,t,r){e.min=r.min+t.min,e.max=e.min+nW(t)}function nq(e,t,r){e.min=t.min-r.min,e.max=e.min+nW(t)}function nK(e,t,r){nq(e.x,t.x,r.x),nq(e.y,t.y,r.y)}let nX=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nY=new Set(["INPUT","SELECT","TEXTAREA"]);function nG(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}var nZ=r(22787);function nJ(e){return(0,nZ.G)(e)&&"ownerSVGElement"in e}function nQ(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let i=r?.[e]??n.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>null!=e)}let n0=new WeakMap,n1=(e,t,r)=>(n,i)=>i&&i[0]?i[0][e+"Size"]:nJ(n)&&"getBBox"in n?n.getBBox()[t]:n[r],n2=n1("inline","width","offsetWidth"),n3=n1("block","height","offsetHeight");function n6({target:e,borderBoxSize:t}){n0.get(e)?.forEach(r=>{r(e,{get width(){return n2(e,t)},get height(){return n3(e,t)}})})}function n4(e){e.forEach(n6)}let n5=new Set;function n9(e,t){let r;return"function"==typeof e?(n5.add(e),o||(o=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};n5.forEach(t=>t(e))},window.addEventListener("resize",o)),()=>{n5.delete(e),n5.size||"function"!=typeof o||(window.removeEventListener("resize",o),o=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(n4)),(r=nQ(e)).forEach(e=>{let r=n0.get(e);r||(r=new Set,n0.set(e,r)),r.add(t),i?.observe(e)}),()=>{r.forEach(e=>{let r=n0.get(e);r?.delete(t),r?.size||i?.unobserve(e)})})}let n7=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function n8(e){return{point:{x:e.pageX,y:e.pageY}}}function ie(e,t,r,n){return nG(e,t,e=>n7(e)&&r(e,n8(e)),n)}let it=({current:e})=>e?e.ownerDocument.defaultView:null,ir=(e,t)=>Math.abs(e-t),ii=new Set(["auto","scroll"]);class io{constructor(e,t,{transformPagePoint:r,contextWindow:n=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=il(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=(e=r.offset,t={x:0,y:0},Math.sqrt(ir(e.x,t.x)**2+ir(e.y,t.y)**2)>=this.distanceThreshold);if(!n&&!i)return;let{point:o}=r,{timestamp:a}=eD;this.history.push({...o,timestamp:a});let{onStart:s,onMove:l}=this.handlers;n||(s&&s(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=ia(t,this.transformPagePoint),eR.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=il("pointercancel"===e.type?this.lastMoveEventInfo:ia(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,o),n&&n(e,o)},!n7(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=n||window;const s=ia(n8(e),this.transformPagePoint),{point:l}=s,{timestamp:u}=eD;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=t;c&&c(e,il(s,this.history)),this.removeListeners=rj(ie(this.contextWindow,"pointermove",this.handlePointerMove),ie(this.contextWindow,"pointerup",this.handlePointerUp),ie(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(ii.has(e.overflowX)||ii.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let r=e===window,n=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:n.x-t.x,y:n.y-t.y};(0!==i.x||0!==i.y)&&(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,n),eR.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ej(this.updatePoint)}}function ia(e,t){return t?{point:t(e.point)}:e}function is(e,t){return{x:e.x-t.x,y:e.y-t.y}}function il({point:e},t){return{point:e,delta:is(e,iu(t)),offset:is(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,r=null,n=iu(e);for(;t>=0&&(r=e[t],!(n.timestamp-r.timestamp>eH(.1)));)t--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&n.timestamp-r.timestamp>2*eH(.1)&&(r=e[1]);let i=(n.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};let o={x:(n.x-r.x)/i,y:(n.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t)}}function iu(e){return e[e.length-1]}function ic(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function id(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function ih(e,t,r){return{min:ip(e,t),max:ip(e,r)}}function ip(e,t){return"number"==typeof e?e:e[t]||0}let im=new WeakMap;class ig{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Z(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let i=e=>{t&&this.snapToCursor(n8(e).point),this.stopAnimation()},o=(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(n_[e])return null;else return n_[e]=!0,()=>{n_[e]=!1};return n_.x||n_.y?null:(n_.x=n_.y=!0,()=>{n_.x=n_.y=!1})}(r),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nB(e=>{let t=this.getAxisMotionValue(e).get()||0;if(S.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=nW(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&eR.update(()=>i(e,t),!1,!0),rC(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:o}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:a}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(a),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&eR.update(()=>o(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new io(e,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:s,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:it(this.visualElement),element:this.visualElement.current})}stop(e,t){let r=e||this.latestPointerEvent,n=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!n||!r)return;let{velocity:o}=n;this.startAnimation(o);let{onDragEnd:a}=this.getProps();a&&eR.postRender(()=>a(r,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!iv(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?tI(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?tI(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&rx(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:ic(e.x,r,i),y:ic(e.y,t,n)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:ih(e,"left","right"),y:ih(e,"top","bottom")}}(t),n!==this.constraints&&!rx(e)&&r&&this.constraints&&!this.hasMutatedConstraints&&nB(e=>{var t,n;let i;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=r.layoutBox[e],n=this.constraints[e],i={},void 0!==n.min&&(i.min=n.min-t.min),void 0!==n.max&&(i.max=n.max-t.min),i))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!rx(t))return!1;let n=t.current;ei(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,r){let n=t1(e,r),{scroll:i}=t;return i&&(tZ(n.x,i.offset.x),tZ(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),a=(e=i.layout.layoutBox,{x:id(e.x,o.x),y:id(e.y,o.y)});if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=t$(e))}return a}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all(nB(a=>{if(!iv(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return rC(this.visualElement,e),r.start(nT(e,r,0,t,this.visualElement,!1))}stopAnimation(){nB(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){nB(t=>{let{drag:r}=this.getProps();if(!iv(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[t],a=i.get()||0;i.set(e[t]-tI(r,o,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!rx(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nB(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var r,i;let o,a,s,l=t.get();n[e]=(r={min:l,max:l},i=this.constraints[e],o=.5,a=nW(r),(s=nW(i))>a?o=nc(i.min,i.max-a,r.min):a>s&&(o=nc(r.min,r.max-s,i.min)),u(0,1,o))}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),nB(t=>{if(!iv(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];r.set(tI(i,o,n[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;im.set(this.visualElement,this);let t=this.visualElement.current,r=ie(t,"pointerdown",e=>{let{drag:r,dragListener:n=!0}=this.getProps(),i=e.target,o=i!==t&&(nY.has(i.tagName)||!0===i.isContentEditable);r&&n&&!o&&this.start(e)}),n=()=>{var r,n,i;let o,a,{dragConstraints:s}=this.getProps();rx(s)&&s.current&&(this.constraints=this.resolveRefConstraints(),e||(r=t,n=s.current,o=n9(r,iy(i=()=>this.scalePositionWithinConstraints())),a=n9(n,iy(i)),e=()=>{o(),a()}))},{projection:i}=this.visualElement,o=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),eR.read(n);let a=nG(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nB(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),r(),o(),s&&s(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function iy(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function iv(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class ib extends rE{constructor(e){super(e),this.removeGroupControls=eP,this.removeListeners=eP,this.controls=new ig(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eP}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let iw=e=>(t,r)=>{e&&eR.update(()=>e(t,r),!1,!0)};class ix extends rE{constructor(){super(...arguments),this.removePointerDownListener=eP}onPointerDown(e){this.session=new io(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:it(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:iw(e),onStart:iw(t),onMove:iw(r),onEnd:(e,t)=>{delete this.session,n&&eR.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=ie(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ik={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var iS=r(80669);let iE=!1;class iA extends t6.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),iE&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ik.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),iE=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||eR.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),tt.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;iE=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function iP(e){let[t,r]=(0,iS.xQ)(),n=(0,t6.useContext)(t7.L);return(0,t9.jsx)(iA,{...e,layoutGroup:n,switchLayoutGroup:(0,t6.useContext)(rw),isPresent:t,safeToRemove:r})}let iT=["TopLeft","TopRight","BottomLeft","BottomRight"],iM=iT.length,iC=e=>"string"==typeof e?parseFloat(e):e,iR=e=>"number"==typeof e||E.test(e);function ij(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let iD=iO(0,.5,na),iL=iO(.5,.95,eP);function iO(e,t,r){return n=>n<e?0:n>t?1:r(nc(e,t,n))}function iV(e,t){e.min=t.min,e.max=t.max}function iN(e,t){iV(e.x,t.x),iV(e.y,t.y)}function iI(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function iF(e,t,r,n,i){return e-=t,e=n+1/r*(e-n),void 0!==i&&(e=n+1/i*(e-n)),e}function iz(e,t,[r,n,i],o,a){!function(e,t=0,r=1,n=.5,i,o=e,a=e){if(S.test(t)&&(t=parseFloat(t),t=tI(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=tI(o.min,o.max,n);e===o&&(s-=t),e.min=iF(e.min,t,r,s,i),e.max=iF(e.max,t,r,s,i)}(e,t[r],t[n],t[i],t.scale,o,a)}let i_=["x","scaleX","originX"],iB=["y","scaleY","originY"];function iW(e,t,r,n){iz(e.x,t,i_,r?r.x:void 0,n?n.x:void 0),iz(e.y,t,iB,r?r.y:void 0,n?n.y:void 0)}function i$(e){return 0===e.translate&&1===e.scale}function iU(e){return i$(e.x)&&i$(e.y)}function iH(e,t){return e.min===t.min&&e.max===t.max}function iq(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function iK(e,t){return iq(e.x,t.x)&&iq(e.y,t.y)}function iX(e){return nW(e.x)/nW(e.y)}function iY(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class iG{constructor(){this.members=[]}add(e){eq(this.members,e);for(let t=this.members.length-1;t>=0;t--){let r=this.members[t];if(r===e||r===this.lead||r===this.prevLead)continue;let n=r.instance;n&&!1!==n.isConnected||r.snapshot||(eK(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if(eK(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=r.options,{layoutDependency:i}=e.options;(void 0===n||n!==i)&&(e.resumeFrom=r,t&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let iZ=(e,t)=>e.depth-t.depth;class iJ{constructor(){this.children=[],this.isDirty=!1}add(e){eq(this.children,e),this.isDirty=!0}remove(e){eK(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(iZ),this.isDirty=!1,this.children.forEach(e)}}let iQ=["","X","Y","Z"],i0=0;function i1(e,t,r,n){let{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function i2({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e={},r=t?.()){this.id=i0++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(i4),this.nodes.forEach(or),this.nodes.forEach(on),this.nodes.forEach(i5)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new iJ)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new eX),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=nJ(t)&&!(nJ(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:r,layout:n,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||r)&&(this.isLayoutDirty=!0),e){let r,n=0,i=()=>this.root.updateBlockedByResize=!1;eR.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==n){let t,o;n=e,this.root.updateBlockedByResize=!0,r&&r(),t=tn.now(),o=({timestamp:e})=>{let r=e-t;r>=250&&(ej(o),i(r-250))},eR.setup(o,!0),r=()=>ej(o),ik.hasAnimatedSinceResize&&(ik.hasAnimatedSinceResize=!1,this.nodes.forEach(ot))}})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||ou,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!iK(this.targetLayout,n),u=!t&&r;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...rT(o,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||ot(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ej(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(oi),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let n=r.props[rb];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",eR,!(e||r))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(i7);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(i8);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(oe),this.nodes.forEach(i3),this.nodes.forEach(i6)):this.nodes.forEach(i8),this.clearAllSnapshots();let e=tn.now();eD.delta=u(0,1e3/60,e-eD.timestamp),eD.timestamp=e,eD.isProcessing=!0,eL.update.process(eD),eL.preRender.process(eD),eL.render.process(eD),eD.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tt.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(i9),this.sharedNodes.forEach(oo)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eR.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eR.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nW(this.snapshot.measuredBox.x)||nW(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Z(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!iU(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||tq(this.latestValues)||o)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),oh((t=n).x),oh(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return Z();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(op))){let{scroll:e}=this.root;e&&(tZ(t.x,e.offset.x),tZ(t.y,e.offset.y))}return t}removeElementScroll(e){let t=Z();if(iN(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:o}=n;n!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&iN(t,e),tZ(t.x,i.offset.x),tZ(t.y,i.offset.y))}return t}applyTransform(e,t=!1){let r=Z();iN(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&t0(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),tq(n.latestValues)&&t0(r,n.latestValues)}return tq(this.latestValues)&&t0(r,this.latestValues),r}removeTransform(e){let t=Z();iN(t,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!tq(r.latestValues))continue;tH(r.latestValues)&&r.updateSnapshot();let n=Z();iN(n,r.measurePageBox()),iW(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return tq(this.latestValues)&&iW(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eD.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:i}=this.options;if(!this.layout||!(n||i))return;this.resolvedRelativeTargetAt=eD.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=Z(),this.targetWithTransforms=Z()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var a,s,l;this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,nH(a.x,s.x,l.x),nH(a.y,s.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):iN(this.target,this.layout.layoutBox),tG(this.target,this.targetDelta)):iN(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||tH(this.parent.latestValues)||tK(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,r){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Z(),this.relativeTargetOrigin=Z(),nK(this.relativeTargetOrigin,t,r),iN(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===eD.timestamp&&(r=!1),r)return;let{layout:n,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||i))return;iN(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(e,t,r,n=!1){let i,o,a=r.length;if(a){t.x=t.y=1;for(let s=0;s<a;s++){o=(i=r[s]).projectionDelta;let{visualElement:a}=i.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&t0(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,tG(e,o)),n&&tq(i.latestValues)&&t0(e,i.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=Z());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(iI(this.prevProjectionDelta.x,this.projectionDelta.x),iI(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nU(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&iY(this.projectionDelta.x,this.prevProjectionDelta.x)&&iY(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Y(),this.projectionDelta=Y(),this.projectionDeltaWithTransform=Y()}setAnimationOrigin(e,t=!1){let r,n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},a=Y();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=Z(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(ol));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(oa(a.x,e.x,n),oa(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,f,p,m,g;nK(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,m=s,g=n,os(f.x,p.x,m.x,g),os(f.y,p.y,m.y,g),r&&(u=this.relativeTarget,h=r,iH(u.x,h.x)&&iH(u.y,h.y))&&(this.isProjectionDirty=!1),r||(r=Z()),iN(r,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,r,n,i,o){i?(e.opacity=tI(0,r.opacity??1,iD(n)),e.opacityExit=tI(t.opacity??1,0,iL(n))):o&&(e.opacity=tI(t.opacity??1,r.opacity??1,n));for(let i=0;i<iM;i++){let o=`border${iT[i]}Radius`,a=ij(t,o),s=ij(r,o);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||iR(a)===iR(s)?(e[o]=Math.max(tI(iC(a),iC(s),n),0),(S.test(s)||S.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||r.rotate)&&(e.rotate=tI(t.rotate||0,r.rotate||0,n))}(o,i,this.latestValues,n,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ej(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eR.update(()=>{var t,r,n;let i;ik.hasAnimatedSinceResize=!0,e2.layout++,this.motionValue||(this.motionValue=to(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,r=[0,1e3],n={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{e2.layout--},onComplete:()=>{e2.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(i=J(t)?t:to(t)).start(nT("",i,r,n)),i.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&of(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||Z();let t=nW(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=nW(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}iN(t,r),t0(t,i),nU(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new iG),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&i1("z",e,n,this.animationValues);for(let t=0;t<iQ.length;t++)i1(`rotate${iQ[t]}`,e,n,this.animationValues),i1(`skew${iQ[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=ru(t?.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=ru(t?.pointerEvents)||""),this.hasProjected&&!tq(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=n.animationValues||n.latestValues;this.applyTransformsToTarget();let o=function(e,t,r){let n="",i=e.x.translate/t.x,o=e.y.translate/t.y,a=r?.z||0;if((i||o||a)&&(n=`translate3d(${i}px, ${o}px, ${a}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:a,skewY:s}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),i&&(n+=`rotateX(${i}deg) `),o&&(n+=`rotateY(${o}deg) `),a&&(n+=`skewX(${a}deg) `),s&&(n+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(n+=`scale(${s}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);r&&(o=r(i,o)),e.transform=o;let{x:a,y:s}=this.projectionDelta;for(let t in e.transformOrigin=`${100*a.origin}% ${100*s.origin}% 0`,n.animationValues?e.opacity=n===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=n===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,tF){if(void 0===i[t])continue;let{correct:r,applyTo:a,isCSSVariable:s}=tF[t],l="none"===o?i[t]:r(i[t],n);if(a){let t=a.length;for(let r=0;r<t;r++)e[a[r]]=l}else s?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?ru(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(i7),this.root.sharedNodes.clear()}}}function i3(e){e.updateLayout()}function i6(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;"size"===i?nB(e=>{let n=o?t.measuredBox[e]:t.layoutBox[e],i=nW(n);n.min=r[e].min,n.max=n.min+i}):of(i,t.layoutBox,r)&&nB(n=>{let i=o?t.measuredBox[n]:t.layoutBox[n],a=nW(r[n]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)});let a=Y();nU(a,r,t.layoutBox);let s=Y();o?nU(s,e.applyTransform(n,!0),t.measuredBox):nU(s,r,t.layoutBox);let l=!iU(a),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:o}=n;if(i&&o){let a=Z();nK(a,t.layoutBox,i.layoutBox);let s=Z();nK(s,r,o.layoutBox),iK(a,s)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function i4(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function i5(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function i9(e){e.clearSnapshot()}function i7(e){e.clearMeasurements()}function i8(e){e.isLayoutDirty=!1}function oe(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ot(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function or(e){e.resolveTargetDelta()}function on(e){e.calcProjection()}function oi(e){e.resetSkewAndRotation()}function oo(e){e.removeLeadSnapshot()}function oa(e,t,r){e.translate=tI(t.translate,0,r),e.scale=tI(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function os(e,t,r,n){e.min=tI(t.min,r.min,n),e.max=tI(t.max,r.max,n)}function ol(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let ou={duration:.45,ease:[.4,0,.1,1]},oc=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),od=oc("applewebkit/")&&!oc("chrome/")?Math.round:eP;function oh(e){e.min=od(e.min),e.max=od(e.max)}function of(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(iX(t)-iX(r)))}function op(e){return e!==e.root&&e.scroll?.wasRoot}let om=i2({attachResizeListener:(e,t)=>nG(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),og={current:void 0},oy=i2({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!og.current){let e=new om({});e.mount(window),e.setOptions({layoutScroll:!0}),og.current=e}return og.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function ov(e,t){let r=nQ(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function ob(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&eR.postRender(()=>i(t,n8(t)))}class ow extends rE{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,i,o]=ov(e,r);return n.forEach(e=>{let r,n=!1,o=!1,a=t=>{r&&(r(t),r=void 0),e.removeEventListener("pointerleave",l)},s=e=>{n=!1,window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",s),o&&(o=!1,a(e))},l=e=>{if("touch"!==e.pointerType){if(n){o=!0;return}a(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||n_.x||n_.y)return;o=!1;let a=t(e,n);"function"==typeof a&&(r=a,e.addEventListener("pointerleave",l,i))},i),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",s,i)},i)}),o}(e,(e,t)=>(ob(this.node,t,"Start"),e=>ob(this.node,e,"End"))))}unmount(){}}class ox extends rE{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=rj(nG(this.node.current,"focus",()=>this.onFocus()),nG(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var ok=r(27765);let oS=(e,t)=>!!t&&(e===t||oS(e,t.parentElement)),oE=new WeakSet;function oA(e){return t=>{"Enter"===t.key&&e(t)}}function oP(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function oT(e){return n7(e)&&!(n_.x||n_.y)}let oM=new WeakSet;function oC(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 i=n["onTap"+("End"===r?"":r)];i&&eR.postRender(()=>i(t,n8(t)))}class oR extends rE{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:r}=this.node.props;this.unmount=function(e,t,r={}){let[n,i,o]=ov(e,r),a=e=>{let n=e.currentTarget;if(!oT(e)||oM.has(e))return;oE.add(n),r.stopPropagation&&oM.add(e);let o=t(n,e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),oE.has(n)&&oE.delete(n),oT(e)&&"function"==typeof o&&o(e,{success:t})},s=e=>{a(e,n===window||n===document||r.useGlobalTarget||oS(n,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",l,i)};return n.forEach(e=>{((r.useGlobalTarget?window:e).addEventListener("pointerdown",a,i),(0,ok.s)(e))&&(e.addEventListener("focus",e=>((e,t)=>{let r=e.currentTarget;if(!r)return;let n=oA(()=>{if(oE.has(r))return;oP(r,"down");let e=oA(()=>{oP(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>oP(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)})(e,i)),nX.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(oC(this.node,t,"Start"),(e,{success:t})=>oC(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:r?.tap===!1})}unmount(){}}let oj=new WeakMap,oD=new WeakMap,oL=e=>{let t=oj.get(e.target);t&&t(e)},oO=e=>{e.forEach(oL)},oV={some:0,all:1};class oN extends rE{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:r={}}=this.node.getProps(),{root:n,margin:i,amount:o="some",once:a}=r,s={root:n?n.current:void 0,rootMargin:i,threshold:"number"==typeof o?o:oV[o]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,a&&!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)};return e=this.node.current,t=function({root:e,...t}){let r=e||document;oD.has(r)||oD.set(r,{});let n=oD.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(oO,{root:e,...t})),n[i]}(s),oj.set(e,l),t.observe(e),()=>{oj.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("u"<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 oI=function(e,t){if("u"<typeof Proxy)return rS;let r=new Map,n=(r,n)=>rS(r,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(i,o)=>"create"===o?n:(r.has(o)||r.set(o,rS(o,void 0,e,t)),r.get(o))})}({animation:{Feature:nI},exit:{Feature:nz},inView:{Feature:oN},tap:{Feature:oR},focus:{Feature:ox},hover:{Feature:ow},pan:{Feature:ix},drag:{Feature:ib,ProjectionNode:oy,MeasureLayout:iP},layout:{ProjectionNode:oy,MeasureLayout:iP}},(e,t)=>t.isSVG??t5(e)?new tW(t):new t2(t,{allowProjection:e!==t6.Fragment}))},7828:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("building-2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},8087:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]])},8482:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]])},9702:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("undo-2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]])},10910:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("file-json",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]])},11288:(e,t,r)=>{let n;r.d(t,{bm:()=>tn,UC:()=>te,VY:()=>tr,hJ:()=>e8,ZL:()=>e7,bL:()=>e5,hE:()=>tt,l9:()=>e9});var i,o,a,s,l,u,c,d=r(70430),h=r(49059),f=r(85391),p=r(34259),m=r(39070),g=r(37750),y=r(20744),v=r(1844),b=r(29678),w=r(36366),x="focusScope.autoFocusOnMount",k="focusScope.autoFocusOnUnmount",S={bubbles:!1,cancelable:!0},E=d.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=d.useState(null),u=(0,b.c)(i),c=(0,b.c)(o),h=d.useRef(null),p=(0,f.s)(t,e=>l(e)),m=d.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.useEffect(()=>{if(n){let e=function(e){if(m.paused||!s)return;let t=e.target;s.contains(t)?h.current=t:T(h.current,{select:!0})},t=function(e){if(m.paused||!s)return;let t=e.relatedTarget;null!==t&&(s.contains(t)||T(h.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&&T(s)});return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,s,m.paused]),d.useEffect(()=>{if(s){M.add(m);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(x,S);s.addEventListener(x,u),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(T(n,{select:t}),document.activeElement!==r)return}(A(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&T(s))}return()=>{s.removeEventListener(x,u),setTimeout(()=>{let t=new CustomEvent(k,S);s.addEventListener(k,c),s.dispatchEvent(t),t.defaultPrevented||T(e??document.body,{select:!0}),s.removeEventListener(k,c),M.remove(m)},0)}}},[s,u,c,m]);let g=d.useCallback(e=>{if(!r&&!n||m.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){var o;let t,n=e.currentTarget,[a,s]=[P(t=A(o=n),o),P(t.reverse(),o)];a&&s?e.shiftKey||i!==s?e.shiftKey&&i===a&&(e.preventDefault(),r&&T(s,{select:!0})):(e.preventDefault(),r&&T(a,{select:!0})):i===n&&e.preventDefault()}},[r,n,m.paused]);return(0,w.jsx)(v.sG.div,{tabIndex:-1,...a,ref:p,onKeyDown:g})});function A(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 P(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 T(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()}}E.displayName="FocusScope";var M=(n=[],{add(e){let t=n[0];e!==t&&t?.pause(),(n=C(n,e)).unshift(e)},remove(e){n=C(n,e),n[0]?.resume()}});function C(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var R=r(41932),j=r(17685),D=0;function L(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var O=function(){return(O=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function V(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 i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var N=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),I="width-before-scroll-bar";function F(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var z="u">typeof window?d.useLayoutEffect:d.useEffect,_=new WeakMap,B=(void 0===i&&(i={}),(void 0===o&&(o=function(e){return e}),a=[],s=!1,l={read:function(){if(s)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=o(e,s);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(s=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){s=!0;var t=[];if(a.length){var r=a;a=[],r.forEach(e),t=a}var n=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(n)};i(),a={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),a}}}}).options=O({async:!0,ssr:!1},i),l),W=function(){},$=d.forwardRef(function(e,t){var r,n,i,o,a=d.useRef(null),s=d.useState({onScrollCapture:W,onWheelCapture:W,onTouchMoveCapture:W}),l=s[0],u=s[1],c=e.forwardProps,h=e.children,f=e.className,p=e.removeScrollBar,m=e.enabled,g=e.shards,y=e.sideCar,v=e.noRelative,b=e.noIsolation,w=e.inert,x=e.allowPinchZoom,k=e.as,S=e.gapMode,E=V(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(r=[a,t],n=function(e){return r.forEach(function(t){return F(t,e)})},(i=(0,d.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,o=i.facade,z(function(){var e=_.get(o);if(e){var t=new Set(e),n=new Set(r),i=o.current;t.forEach(function(e){n.has(e)||F(e,null)}),n.forEach(function(e){t.has(e)||F(e,i)})}_.set(o,r)},[r]),o),P=O(O({},E),l);return d.createElement(d.Fragment,null,m&&d.createElement(y,{sideCar:B,removeScrollBar:p,shards:g,noRelative:v,noIsolation:b,inert:w,setCallbacks:u,allowPinchZoom:!!x,lockRef:a,gapMode:S}),c?d.cloneElement(d.Children.only(h),O(O({},P),{ref:A})):d.createElement(void 0===k?"div":k,O({},P,{className:f,ref:A}),h))});$.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},$.classNames={fullWidth:I,zeroRight:N};var U=function(e){var t=e.sideCar,r=V(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return d.createElement(n,O({},r))};U.isSideCarExport=!0;var H=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},q=function(){var e=H();return function(t,r){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},K=function(){var e=q();return function(t){return e(t.styles,t.dynamic),null}},X={left:0,top:0,right:0,gap:0},Y=function(e){return parseInt(e||"",10)||0},G=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[Y(r),Y(n),Y(i)]},Z=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return X;var t=G(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])}},J=K(),Q="data-scroll-locked",ee=function(e,t,r,n){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(s,"px ").concat(n,";\n }\n body[").concat(Q,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(N," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(I," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(N," .").concat(N," {\n right: 0 ").concat(n,";\n }\n \n .").concat(I," .").concat(I," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(Q,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},et=function(){var e=parseInt(document.body.getAttribute(Q)||"0",10);return isFinite(e)?e:0},er=function(){d.useEffect(function(){return document.body.setAttribute(Q,(et()+1).toString()),function(){var e=et()-1;e<=0?document.body.removeAttribute(Q):document.body.setAttribute(Q,e.toString())}},[])},en=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;er();var o=d.useMemo(function(){return Z(i)},[i]);return d.createElement(J,{styles:ee(o,!t,i,r?"":"!important")})},ei=!1;if("u">typeof window)try{var eo=Object.defineProperty({},"passive",{get:function(){return ei=!0,!0}});window.addEventListener("test",eo,eo),window.removeEventListener("test",eo,eo)}catch(e){ei=!1}var ea=!!ei&&{passive:!1},es=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},el=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),eu(e,n)){var i=ec(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},eu=function(e,t){return"v"===e?es(t,"overflowY"):es(t,"overflowX")},ec=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ed=function(e,t,r,n,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*n,l=r.target,u=t.contains(l),c=!1,d=s>0,h=0,f=0;do{if(!l)break;var p=ec(e,l),m=p[0],g=p[1]-p[2]-a*m;(m||g)&&eu(e,l)&&(h+=g,f+=m);var y=l.parentNode;l=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(h)||!i&&s>h)?c=!0:!d&&(i&&1>Math.abs(f)||!i&&-s>f)&&(c=!0),c},eh=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ef=function(e){return[e.deltaX,e.deltaY]},ep=function(e){return e&&"current"in e?e.current:e},em=0,eg=[];let ey=(u=function(e){var t=d.useRef([]),r=d.useRef([0,0]),n=d.useRef(),i=d.useState(em++)[0],o=d.useState(K)[0],a=d.useRef(e);d.useEffect(function(){a.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(ep),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=d.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var i,o=eh(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-o[0],u="deltaY"in e?e.deltaY:s[1]-o[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 h=window.getSelection(),f=h&&h.anchorNode;if(f&&(f===c||f.contains(c)))return!1;var p=el(d,c);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=el(d,c)),!p)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var m=n.current||i;return ed(m,t,e,"h"===m?l:u,!0)},[]),l=d.useCallback(function(e){if(eg.length&&eg[eg.length-1]===o){var r="deltaY"in e?ef(e):eh(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,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(a.current.shards||[]).map(ep).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=d.useCallback(function(e,r,n,i){var o={name:e,delta:r,target:n,should:i,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(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=d.useCallback(function(e){r.current=eh(e),n.current=void 0},[]),h=d.useCallback(function(t){u(t.type,ef(t),t.target,s(t,e.lockRef.current))},[]),f=d.useCallback(function(t){u(t.type,eh(t),t.target,s(t,e.lockRef.current))},[]);d.useEffect(function(){return eg.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:f}),document.addEventListener("wheel",l,ea),document.addEventListener("touchmove",l,ea),document.addEventListener("touchstart",c,ea),function(){eg=eg.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,ea),document.removeEventListener("touchmove",l,ea),document.removeEventListener("touchstart",c,ea)}},[]);var p=e.removeScrollBar,m=e.inert;return d.createElement(d.Fragment,null,m?d.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,p?d.createElement(en,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},B.useMedium(u),U);var ev=d.forwardRef(function(e,t){return d.createElement($,O({},e,{ref:t,sideCar:ey}))});ev.classNames=$.classNames;var eb=new WeakMap,ew=new WeakMap,ex={},ek=0,eS=function(e){return e&&(e.host||eS(e.parentNode))},eE=function(e,t,r,n){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=eS(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});ex[r]||(ex[r]=new WeakMap);var o=ex[r],a=[],s=new Set,l=new Set(i),u=function(e){!e||s.has(e)||(s.add(e),u(e.parentNode))};i.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))c(e);else try{var t=e.getAttribute(n),i=null!==t&&"false"!==t,l=(eb.get(e)||0)+1,u=(o.get(e)||0)+1;eb.set(e,l),o.set(e,u),a.push(e),1===l&&i&&ew.set(e,!0),1===u&&e.setAttribute(r,"true"),i||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),s.clear(),ek++,function(){a.forEach(function(e){var t=eb.get(e)-1,i=o.get(e)-1;eb.set(e,t),o.set(e,i),t||(ew.has(e)||e.removeAttribute(n),ew.delete(e)),i||e.removeAttribute(r)}),--ek||(eb=new WeakMap,eb=new WeakMap,ew=new WeakMap,ex={})}},eA=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),eE(n,i,r,"aria-hidden")):function(){return null}},eP=r(86777),eT="Dialog",[eM,eC]=(0,p.A)(eT),[eR,ej]=eM(eT),eD=e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,s=d.useRef(null),l=d.useRef(null),[u,c]=(0,g.i)({prop:n,defaultProp:i??!1,onChange:o,caller:eT});return(0,w.jsx)(eR,{scope:t,triggerRef:s,contentRef:l,contentId:(0,m.B)(),titleId:(0,m.B)(),descriptionId:(0,m.B)(),open:u,onOpenChange:c,onOpenToggle:d.useCallback(()=>c(e=>!e),[c]),modal:a,children:r})};eD.displayName=eT;var eL="DialogTrigger",eO=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=ej(eL,r),o=(0,f.s)(t,i.triggerRef);return(0,w.jsx)(v.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":e0(i.open),...n,ref:o,onClick:(0,h.mK)(e.onClick,i.onOpenToggle)})});eO.displayName=eL;var eV="DialogPortal",[eN,eI]=eM(eV,{forceMount:void 0}),eF=e=>{let{__scopeDialog:t,forceMount:r,children:n,container:i}=e,o=ej(eV,t);return(0,w.jsx)(eN,{scope:t,forceMount:r,children:d.Children.map(n,e=>(0,w.jsx)(j.C,{present:r||o.open,children:(0,w.jsx)(R.Z,{asChild:!0,container:i,children:e})}))})};eF.displayName=eV;var ez="DialogOverlay",e_=d.forwardRef((e,t)=>{let r=eI(ez,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,o=ej(ez,e.__scopeDialog);return o.modal?(0,w.jsx)(j.C,{present:n||o.open,children:(0,w.jsx)(eW,{...i,ref:t})}):null});e_.displayName=ez;var eB=(0,eP.TL)("DialogOverlay.RemoveScroll"),eW=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=ej(ez,r);return(0,w.jsx)(ev,{as:eB,allowPinchZoom:!0,shards:[i.contentRef],children:(0,w.jsx)(v.sG.div,{"data-state":e0(i.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),e$="DialogContent",eU=d.forwardRef((e,t)=>{let r=eI(e$,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,o=ej(e$,e.__scopeDialog);return(0,w.jsx)(j.C,{present:n||o.open,children:o.modal?(0,w.jsx)(eH,{...i,ref:t}):(0,w.jsx)(eq,{...i,ref:t})})});eU.displayName=e$;var eH=d.forwardRef((e,t)=>{let r=ej(e$,e.__scopeDialog),n=d.useRef(null),i=(0,f.s)(t,r.contentRef,n);return d.useEffect(()=>{let e=n.current;if(e)return eA(e)},[]),(0,w.jsx)(eK,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,h.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,h.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,h.mK)(e.onFocusOutside,e=>e.preventDefault())})}),eq=d.forwardRef((e,t)=>{let r=ej(e$,e.__scopeDialog),n=d.useRef(!1),i=d.useRef(!1);return(0,w.jsx)(eK,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let o=t.target;r.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),eK=d.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,...a}=e,s=ej(e$,r),l=d.useRef(null),u=(0,f.s)(t,l);return d.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??L()),document.body.insertAdjacentElement("beforeend",e[1]??L()),D++,()=>{1===D&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),D--}},[]),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(E,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,w.jsx)(y.qW,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":e0(s.open),...a,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(e6,{titleId:s.titleId}),(0,w.jsx)(e4,{contentRef:l,descriptionId:s.descriptionId})]})]})}),eX="DialogTitle",eY=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=ej(eX,r);return(0,w.jsx)(v.sG.h2,{id:i.titleId,...n,ref:t})});eY.displayName=eX;var eG="DialogDescription",eZ=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=ej(eG,r);return(0,w.jsx)(v.sG.p,{id:i.descriptionId,...n,ref:t})});eZ.displayName=eG;var eJ="DialogClose",eQ=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=ej(eJ,r);return(0,w.jsx)(v.sG.button,{type:"button",...n,ref:t,onClick:(0,h.mK)(e.onClick,()=>i.onOpenChange(!1))})});function e0(e){return e?"open":"closed"}eQ.displayName=eJ;var e1="DialogTitleWarning",[e2,e3]=(0,p.q)(e1,{contentName:e$,titleName:eX,docsSlug:"dialog"}),e6=({titleId:e})=>{let t=e3(e1),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
2
 
3
3
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
4
 
5
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return d.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},e6=({contentRef:e,descriptionId:t})=>{let r=e3("DialogDescriptionWarning"),n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return d.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},e5=eD,e9=eO,e7=eF,e8=e_,te=eU,tt=eY,tr=eZ,tn=eQ},12482:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])},12802:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("briefcase-business",[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]])},15054:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},15411:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},15962:(e,t,r)=>{r.d(t,{t:()=>n});let n=(0,r(70430).createContext)(null)},16011:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return o}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},16055:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]])},16337:(e,t,r)=>{r.d(t,{OK:()=>X,bL:()=>q,VM:()=>k,lr:()=>L,LM:()=>K});var n=r(70430),i=r(1844),o=r(17685),a=r(34259),s=r(85391),l=r(29678),u=r(36756),c=r(28746),d=r(49059),h=r(36366),f="ScrollArea",[p,m]=(0,a.A)(f),[g,y]=p(f),v=n.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:o="hover",dir:a,scrollHideDelay:l=600,...c}=e,[d,f]=n.useState(null),[p,m]=n.useState(null),[y,v]=n.useState(null),[b,w]=n.useState(null),[x,k]=n.useState(null),[S,E]=n.useState(0),[A,P]=n.useState(0),[T,M]=n.useState(!1),[C,R]=n.useState(!1),j=(0,s.s)(t,e=>f(e)),D=(0,u.jH)(a);return(0,h.jsx)(g,{scope:r,type:o,dir:D,scrollHideDelay:l,scrollArea:d,viewport:p,onViewportChange:m,content:y,onContentChange:v,scrollbarX:b,onScrollbarXChange:w,scrollbarXEnabled:T,onScrollbarXEnabledChange:M,scrollbarY:x,onScrollbarYChange:k,scrollbarYEnabled:C,onScrollbarYEnabledChange:R,onCornerWidthChange:E,onCornerHeightChange:P,children:(0,h.jsx)(i.sG.div,{dir:D,...c,ref:j,style:{position:"relative","--radix-scroll-area-corner-width":S+"px","--radix-scroll-area-corner-height":A+"px",...e.style}})})});v.displayName=f;var b="ScrollAreaViewport",w=n.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:o,nonce:a,...l}=e,u=y(b,r),c=n.useRef(null),d=(0,s.s)(t,c,u.onViewportChange);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),(0,h.jsx)(i.sG.div,{"data-radix-scroll-area-viewport":"",...l,ref:d,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,h.jsx)("div",{ref:u.onContentChange,style:{minWidth:"100%",display:"table"},children:o})})]})});w.displayName=b;var x="ScrollAreaScrollbar",k=n.forwardRef((e,t)=>{let{forceMount:r,...i}=e,o=y(x,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:s}=o,l="horizontal"===e.orientation;return n.useEffect(()=>(l?a(!0):s(!0),()=>{l?a(!1):s(!1)}),[l,a,s]),"hover"===o.type?(0,h.jsx)(S,{...i,ref:t,forceMount:r}):"scroll"===o.type?(0,h.jsx)(E,{...i,ref:t,forceMount:r}):"auto"===o.type?(0,h.jsx)(A,{...i,ref:t,forceMount:r}):"always"===o.type?(0,h.jsx)(P,{...i,ref:t}):null});k.displayName=x;var S=n.forwardRef((e,t)=>{let{forceMount:r,...i}=e,a=y(x,e.__scopeScrollArea),[s,l]=n.useState(!1);return n.useEffect(()=>{let e=a.scrollArea,t=0;if(e){let r=()=>{window.clearTimeout(t),l(!0)},n=()=>{t=window.setTimeout(()=>l(!1),a.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",n)}}},[a.scrollArea,a.scrollHideDelay]),(0,h.jsx)(o.C,{present:r||s,children:(0,h.jsx)(A,{"data-state":s?"visible":"hidden",...i,ref:t})})}),E=n.forwardRef((e,t)=>{var r;let{forceMount:i,...a}=e,s=y(x,e.__scopeScrollArea),l="horizontal"===e.orientation,u=U(()=>f("SCROLL_END"),100),[c,f]=(r={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},n.useReducer((e,t)=>r[e][t]??e,"hidden"));return n.useEffect(()=>{if("idle"===c){let e=window.setTimeout(()=>f("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(e)}},[c,s.scrollHideDelay,f]),n.useEffect(()=>{let e=s.viewport,t=l?"scrollLeft":"scrollTop";if(e){let r=e[t],n=()=>{let n=e[t];r!==n&&(f("SCROLL"),u()),r=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[s.viewport,l,f,u]),(0,h.jsx)(o.C,{present:i||"hidden"!==c,children:(0,h.jsx)(P,{"data-state":"hidden"===c?"hidden":"visible",...a,ref:t,onPointerEnter:(0,d.mK)(e.onPointerEnter,()=>f("POINTER_ENTER")),onPointerLeave:(0,d.mK)(e.onPointerLeave,()=>f("POINTER_LEAVE"))})})}),A=n.forwardRef((e,t)=>{let r=y(x,e.__scopeScrollArea),{forceMount:i,...a}=e,[s,l]=n.useState(!1),u="horizontal"===e.orientation,c=U(()=>{if(r.viewport){let e=r.viewport.offsetWidth<r.viewport.scrollWidth,t=r.viewport.offsetHeight<r.viewport.scrollHeight;l(u?e:t)}},10);return H(r.viewport,c),H(r.content,c),(0,h.jsx)(o.C,{present:i||s,children:(0,h.jsx)(P,{"data-state":s?"visible":"hidden",...a,ref:t})})}),P=n.forwardRef((e,t)=>{let{orientation:r="vertical",...i}=e,o=y(x,e.__scopeScrollArea),a=n.useRef(null),s=n.useRef(0),[l,u]=n.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=z(l.viewport,l.content),d={...i,sizes:l,onSizesChange:u,hasThumb:!!(c>0&&c<1),onThumbChange:e=>a.current=e,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:e=>s.current=e};function f(e,t){return function(e,t,r,n="ltr"){let i=_(r),o=t||i/2,a=r.scrollbar.paddingStart+o,s=r.scrollbar.size-r.scrollbar.paddingEnd-(i-o),l=r.content-r.viewport;return W([a,s],"ltr"===n?[0,l]:[-1*l,0])(e)}(e,s.current,l,t)}return"horizontal"===r?(0,h.jsx)(T,{...d,ref:t,onThumbPositionChange:()=>{if(o.viewport&&a.current){let e=B(o.viewport.scrollLeft,l,o.dir);a.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{o.viewport&&(o.viewport.scrollLeft=e)},onDragScroll:e=>{o.viewport&&(o.viewport.scrollLeft=f(e,o.dir))}}):"vertical"===r?(0,h.jsx)(M,{...d,ref:t,onThumbPositionChange:()=>{if(o.viewport&&a.current){let e=B(o.viewport.scrollTop,l);a.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{o.viewport&&(o.viewport.scrollTop=e)},onDragScroll:e=>{o.viewport&&(o.viewport.scrollTop=f(e))}}):null}),T=n.forwardRef((e,t)=>{let{sizes:r,onSizesChange:i,...o}=e,a=y(x,e.__scopeScrollArea),[l,u]=n.useState(),c=n.useRef(null),d=(0,s.s)(t,c,a.onScrollbarXChange);return n.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),(0,h.jsx)(j,{"data-orientation":"horizontal",...o,ref:d,sizes:r,style:{bottom:0,left:"rtl"===a.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===a.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":_(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(a.viewport){var n,i;let o=a.viewport.scrollLeft+t.deltaX;e.onWheelScroll(o),n=o,i=r,n>0&&n<i&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&l&&i({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:F(l.paddingLeft),paddingEnd:F(l.paddingRight)}})}})}),M=n.forwardRef((e,t)=>{let{sizes:r,onSizesChange:i,...o}=e,a=y(x,e.__scopeScrollArea),[l,u]=n.useState(),c=n.useRef(null),d=(0,s.s)(t,c,a.onScrollbarYChange);return n.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),(0,h.jsx)(j,{"data-orientation":"vertical",...o,ref:d,sizes:r,style:{top:0,right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":_(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(a.viewport){var n,i;let o=a.viewport.scrollTop+t.deltaY;e.onWheelScroll(o),n=o,i=r,n>0&&n<i&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&l&&i({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:F(l.paddingTop),paddingEnd:F(l.paddingBottom)}})}})}),[C,R]=p(x),j=n.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:o,hasThumb:a,onThumbChange:u,onThumbPointerUp:c,onThumbPointerDown:f,onThumbPositionChange:p,onDragScroll:m,onWheelScroll:g,onResize:v,...b}=e,w=y(x,r),[k,S]=n.useState(null),E=(0,s.s)(t,e=>S(e)),A=n.useRef(null),P=n.useRef(""),T=w.viewport,M=o.content-o.viewport,R=(0,l.c)(g),j=(0,l.c)(p),D=U(v,10);function L(e){A.current&&m({x:e.clientX-A.current.left,y:e.clientY-A.current.top})}return n.useEffect(()=>{let e=e=>{let t=e.target;k?.contains(t)&&R(e,M)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[T,k,M,R]),n.useEffect(j,[o,j]),H(k,D),H(w.content,D),(0,h.jsx)(C,{scope:r,scrollbar:k,hasThumb:a,onThumbChange:(0,l.c)(u),onThumbPointerUp:(0,l.c)(c),onThumbPositionChange:j,onThumbPointerDown:(0,l.c)(f),children:(0,h.jsx)(i.sG.div,{...b,ref:E,style:{position:"absolute",...b.style},onPointerDown:(0,d.mK)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),A.current=k.getBoundingClientRect(),P.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",w.viewport&&(w.viewport.style.scrollBehavior="auto"),L(e))}),onPointerMove:(0,d.mK)(e.onPointerMove,L),onPointerUp:(0,d.mK)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=P.current,w.viewport&&(w.viewport.style.scrollBehavior=""),A.current=null})})})}),D="ScrollAreaThumb",L=n.forwardRef((e,t)=>{let{forceMount:r,...n}=e,i=R(D,e.__scopeScrollArea);return(0,h.jsx)(o.C,{present:r||i.hasThumb,children:(0,h.jsx)(O,{ref:t,...n})})}),O=n.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:o,...a}=e,l=y(D,r),u=R(D,r),{onThumbPositionChange:c}=u,f=(0,s.s)(t,e=>u.onThumbChange(e)),p=n.useRef(void 0),m=U(()=>{p.current&&(p.current(),p.current=void 0)},100);return n.useEffect(()=>{let e=l.viewport;if(e){let t=()=>{m(),p.current||(p.current=$(e,c),c())};return c(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[l.viewport,m,c]),(0,h.jsx)(i.sG.div,{"data-state":u.hasThumb?"visible":"hidden",...a,ref:f,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...o},onPointerDownCapture:(0,d.mK)(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),r=e.clientX-t.left,n=e.clientY-t.top;u.onThumbPointerDown({x:r,y:n})}),onPointerUp:(0,d.mK)(e.onPointerUp,u.onThumbPointerUp)})});L.displayName=D;var V="ScrollAreaCorner",N=n.forwardRef((e,t)=>{let r=y(V,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&n?(0,h.jsx)(I,{...e,ref:t}):null});N.displayName=V;var I=n.forwardRef((e,t)=>{let{__scopeScrollArea:r,...o}=e,a=y(V,r),[s,l]=n.useState(0),[u,c]=n.useState(0),d=!!(s&&u);return H(a.scrollbarX,()=>{let e=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(e),c(e)}),H(a.scrollbarY,()=>{let e=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(e),l(e)}),d?(0,h.jsx)(i.sG.div,{...o,ref:t,style:{width:s,height:u,position:"absolute",right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:0,...e.style}}):null});function F(e){return e?parseInt(e,10):0}function z(e,t){let r=e/t;return isNaN(r)?0:r}function _(e){let t=z(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-r)*t,18)}function B(e,t,r="ltr"){let n=_(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-i,a=t.content-t.viewport,s=function(e,[t,r]){return Math.min(r,Math.max(t,e))}(e,"ltr"===r?[0,a]:[-1*a,0]);return W([0,a],[0,o-n])(s)}function W(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}var $=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return!function i(){let o={left:e.scrollLeft,top:e.scrollTop},a=r.left!==o.left,s=r.top!==o.top;(a||s)&&t(),r=o,n=window.requestAnimationFrame(i)}(),()=>window.cancelAnimationFrame(n)};function U(e,t){let r=(0,l.c)(e),i=n.useRef(0);return n.useEffect(()=>()=>window.clearTimeout(i.current),[]),n.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(r,t)},[r,t])}function H(e,t){let r=(0,l.c)(t);(0,c.N)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}var q=v,K=w,X=N},17685:(e,t,r)=>{r.d(t,{C:()=>a});var n=r(70430),i=r(85391),o=r(28746),a=e=>{var t;let r,a,{present:l,children:u}=e,c=function(e){var t,r;let[i,a]=n.useState(),l=n.useRef(null),u=n.useRef(e),c=n.useRef("none"),[d,h]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>r[e][t]??e,t));return n.useEffect(()=>{let e=s(l.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=l.current,r=u.current;if(r!==e){let n=c.current,i=s(t);e?h("MOUNT"):"none"===i||t?.display==="none"?h("UNMOUNT"):r&&n!==i?h("ANIMATION_OUT"):h("UNMOUNT"),u.current=e}},[e,h]),(0,o.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=s(l.current).includes(CSS.escape(r.animationName));if(r.target===i&&n&&(h("ANIMATION_END"),!u.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(c.current=s(l.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}h("ANIMATION_END")},[i,h]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{l.current=e?getComputedStyle(e):null,a(e)},[])}}(l),d="function"==typeof u?u({present:c.isPresent}):n.Children.only(u),h=(0,i.s)(c.ref,(t=d,(a=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(a=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof u||c.isPresent?n.cloneElement(d,{ref:h}):null};function s(e){return e?.animationName||"none"}a.displayName="Presence"},19163:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(70430);let i=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},o=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();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"};let s=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:s="",children:l,iconNode:u,...c},d)=>(0,n.createElement)("svg",{ref:d,...a,width:t,height:t,stroke:e,strokeWidth:i?24*Number(r)/Number(t):r,className:o("lucide",s),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(l)?l:[l]])),l=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...a},l)=>(0,n.createElement)(s,{ref:l,iconNode:t,className:o(`lucide-${i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...a}));return r.displayName=i(e),r}},19335:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},19469:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},20493:(e,t,r)=>{r.d(t,{QP:()=>eh});let n=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),i=[],o=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],i=r.nextPart.get(n);if(i){let r=o(e,t+1,i);if(r)return r}let a=r.validators;if(null===a)return;let s=0===t?e.join("-"):e.slice(t).join("-"),l=a.length;for(let e=0;e<l;e++){let t=a[e];if(t.validator(s))return t.classGroupId}},a=(e,t)=>{let r=n();for(let n in e)s(e[n],r,n,t);return r},s=(e,t,r,n)=>{let i=e.length;for(let o=0;o<i;o++)l(e[o],t,r,n)},l=(e,t,r,n)=>{"string"==typeof e?u(e,t,r):"function"==typeof e?c(e,t,r,n):d(e,t,r,n)},u=(e,t,r)=>{(""===e?t:h(t,e)).classGroupId=r},c=(e,t,r,n)=>{f(e)?s(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:r,validator:e}))},d=(e,t,r,n)=>{let i=Object.entries(e),o=i.length;for(let e=0;e<o;e++){let[o,a]=i[e];s(a,h(t,o),r,n)}},h=(e,t)=>{let r=e,i=t.split("-"),o=i.length;for(let e=0;e<o;e++){let t=i[e],o=r.nextPart.get(t);o||(o=n(),r.nextPart.set(t,o)),r=o}return r},f=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,p=[],m=(e,t,r,n,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:i}),g=/\s+/,y=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=y(e[n]))&&(r&&(r+=" "),r+=t);return r},v=[],b=e=>{let t=t=>t[e]||v;return t.isThemeGetter=!0,t},w=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,x=/^\((?:(\w[\w-]*):)?(.+)\)$/i,k=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,S=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,E=/\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$/,A=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,P=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,T=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>k.test(e),C=e=>!!e&&!Number.isNaN(Number(e)),R=e=>!!e&&Number.isInteger(Number(e)),j=e=>e.endsWith("%")&&C(e.slice(0,-1)),D=e=>S.test(e),L=()=>!0,O=e=>E.test(e)&&!A.test(e),V=()=>!1,N=e=>P.test(e),I=e=>T.test(e),F=e=>!_(e)&&!X(e),z=e=>er(e,ea,V),_=e=>w.test(e),B=e=>er(e,es,O),W=e=>er(e,el,C),$=e=>er(e,ec,L),U=e=>er(e,eu,V),H=e=>er(e,ei,V),q=e=>er(e,eo,I),K=e=>er(e,ed,N),X=e=>x.test(e),Y=e=>en(e,es),G=e=>en(e,eu),Z=e=>en(e,ei),J=e=>en(e,ea),Q=e=>en(e,eo),ee=e=>en(e,ed,!0),et=e=>en(e,ec,!0),er=(e,t,r)=>{let n=w.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},en=(e,t,r=!1)=>{let n=x.exec(e);return!!n&&(n[1]?t(n[1]):r)},ei=e=>"position"===e||"percentage"===e,eo=e=>"image"===e||"url"===e,ea=e=>"length"===e||"size"===e||"bg-size"===e,es=e=>"length"===e,el=e=>"number"===e,eu=e=>"family-name"===e,ec=e=>"number"===e||"weight"===e,ed=e=>"shadow"===e,eh=((e,...t)=>{let r,n,s,l,u=e=>{let t=n(e);if(t)return t;let i=((e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(g),l="";for(let e=s.length-1;e>=0;e-=1){let t=s[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:f}=r(t);if(u){l=t+(l.length>0?" "+l:l);continue}let p=!!f,m=n(p?h.substring(0,f):h);if(!m){if(!p||!(m=n(h))){l=t+(l.length>0?" "+l:l);continue}p=!1}let g=0===c.length?"":1===c.length?c[0]:o(c).join(":"),y=d?g+"!":g,v=y+m;if(a.indexOf(v)>-1)continue;a.push(v);let b=i(m,p);for(let e=0;e<b.length;++e){let t=b[e];a.push(y+t)}l=t+(l.length>0?" "+l:l)}return l})(e,r);return s(e,i),i};return l=c=>{var d;let h;return n=(r={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),i=(i,o)=>{r[i]=o,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(i(e,t),t):void 0},set(e,t){e in r?r[e]=t:i(e,t)}}})((d=t.reduce((e,t)=>t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,i=0,o=0,a=e.length;for(let s=0;s<a;s++){let a=e[s];if(0===n&&0===i){if(":"===a){r.push(e.slice(o,s)),o=s+1;continue}if("/"===a){t=s;continue}}"["===a?n++:"]"===a?n--:"("===a?i++:")"===a&&i--}let s=0===r.length?e:e.slice(o),l=s,u=!1;return s.endsWith("!")?(l=s.slice(0,-1),u=!0):s.startsWith("!")&&(l=s.slice(1),u=!0),m(r,u,l,t&&t>o?t-o:void 0)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):m(p,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n})(d),sortModifiers:(h=new Map,d.orderSensitiveModifiers.forEach((e,t)=>{h.set(e,1e6+t)}),e=>{let t=[],r=[];for(let n=0;n<e.length;n++){let i=e[n],o="["===i[0],a=h.has(i);o||a?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(i)):r.push(i)}return r.length>0&&(r.sort(),t.push(...r)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e;return a(r,t)})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var r;let t,n,i;return -1===(r=e).slice(1,-1).indexOf(":")?void 0:(n=(t=r.slice(1,-1)).indexOf(":"),(i=t.slice(0,n))?"arbitrary.."+i:void 0)}let n=e.split("-"),i=+(""===n[0]&&n.length>1);return o(n,i,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=n[e],o=r[e];if(t){if(o){let e=Array(o.length+t.length);for(let t=0;t<o.length;t++)e[t]=o[t];for(let r=0;r<t.length;r++)e[o.length+r]=t[r];return e}return t}return o||i}return r[e]||i}}})(d)}).cache.get,s=r.cache.set,l=u,u(c)},(...e)=>l(((...e)=>{let t,r,n=0,i="";for(;n<e.length;)(t=e[n++])&&(r=y(t))&&(i&&(i+=" "),i+=r);return i})(...e))})(()=>{let e=b("color"),t=b("font"),r=b("text"),n=b("font-weight"),i=b("tracking"),o=b("leading"),a=b("breakpoint"),s=b("container"),l=b("spacing"),u=b("radius"),c=b("shadow"),d=b("inset-shadow"),h=b("text-shadow"),f=b("drop-shadow"),p=b("blur"),m=b("perspective"),g=b("aspect"),y=b("ease"),v=b("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...x(),X,_],S=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],A=()=>[X,_,l],P=()=>[M,"full","auto",...A()],T=()=>[R,"none","subgrid",X,_],O=()=>["auto",{span:["full",R,X,_]},R,X,_],V=()=>[R,"auto",X,_],N=()=>["auto","min","max","fr",X,_],I=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],er=()=>["start","end","center","stretch","center-safe","end-safe"],en=()=>["auto",...A()],ei=()=>[M,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...A()],eo=()=>[M,"screen","full","dvw","lvw","svw","min","max","fit",...A()],ea=()=>[M,"screen","full","lh","dvh","lvh","svh","min","max","fit",...A()],es=()=>[e,X,_],el=()=>[...x(),Z,H,{position:[X,_]}],eu=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ec=()=>["auto","cover","contain",J,z,{size:[X,_]}],ed=()=>[j,Y,B],eh=()=>["","none","full",u,X,_],ef=()=>["",C,Y,B],ep=()=>["solid","dashed","dotted","double"],em=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],eg=()=>[C,j,Z,H],ey=()=>["","none",p,X,_],ev=()=>["none",C,X,_],eb=()=>["none",C,X,_],ew=()=>[C,X,_],ex=()=>[M,"full",...A()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[D],breakpoint:[D],color:[L],container:[D],"drop-shadow":[D],ease:["in","out","in-out"],font:[F],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[D],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[D],shadow:[D],spacing:["px",C],text:[D],"text-shadow":[D],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",M,_,X,g]}],container:["container"],columns:[{columns:[C,_,X,s]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{"inset-s":P(),start:P()}],end:[{"inset-e":P(),end:P()}],"inset-bs":[{"inset-bs":P()}],"inset-be":[{"inset-be":P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[R,"auto",X,_]}],basis:[{basis:[M,"full","auto",s,...A()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[C,M,"auto","initial","none",_]}],grow:[{grow:["",C,X,_]}],shrink:[{shrink:["",C,X,_]}],order:[{order:[R,"first","last","none",X,_]}],"grid-cols":[{"grid-cols":T()}],"col-start-end":[{col:O()}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":T()}],"row-start-end":[{row:O()}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"justify-content":[{justify:[...I(),"normal"]}],"justify-items":[{"justify-items":[...er(),"normal"]}],"justify-self":[{"justify-self":["auto",...er()]}],"align-content":[{content:["normal",...I()]}],"align-items":[{items:[...er(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...er(),{baseline:["","last"]}]}],"place-content":[{"place-content":I()}],"place-items":[{"place-items":[...er(),"baseline"]}],"place-self":[{"place-self":["auto",...er()]}],p:[{p:A()}],px:[{px:A()}],py:[{py:A()}],ps:[{ps:A()}],pe:[{pe:A()}],pbs:[{pbs:A()}],pbe:[{pbe:A()}],pt:[{pt:A()}],pr:[{pr:A()}],pb:[{pb:A()}],pl:[{pl:A()}],m:[{m:en()}],mx:[{mx:en()}],my:[{my:en()}],ms:[{ms:en()}],me:[{me:en()}],mbs:[{mbs:en()}],mbe:[{mbe:en()}],mt:[{mt:en()}],mr:[{mr:en()}],mb:[{mb:en()}],ml:[{ml:en()}],"space-x":[{"space-x":A()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":A()}],"space-y-reverse":["space-y-reverse"],size:[{size:ei()}],"inline-size":[{inline:["auto",...eo()]}],"min-inline-size":[{"min-inline":["auto",...eo()]}],"max-inline-size":[{"max-inline":["none",...eo()]}],"block-size":[{block:["auto",...ea()]}],"min-block-size":[{"min-block":["auto",...ea()]}],"max-block-size":[{"max-block":["none",...ea()]}],w:[{w:[s,"screen",...ei()]}],"min-w":[{"min-w":[s,"screen","none",...ei()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...ei()]}],h:[{h:["screen","lh",...ei()]}],"min-h":[{"min-h":["screen","lh","none",...ei()]}],"max-h":[{"max-h":["screen","lh",...ei()]}],"font-size":[{text:["base",r,Y,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,et,$]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",j,_]}],"font-family":[{font:[G,U,t]}],"font-features":[{"font-features":[_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,X,_]}],"line-clamp":[{"line-clamp":[C,"none",X,W]}],leading:[{leading:[o,...A()]}],"list-image":[{"list-image":["none",X,_]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",X,_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:es()}],"text-color":[{text:es()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ep(),"wavy"]}],"text-decoration-thickness":[{decoration:[C,"from-font","auto",X,B]}],"text-decoration-color":[{decoration:es()}],"underline-offset":[{"underline-offset":[C,"auto",X,_]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X,_]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",X,_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:el()}],"bg-repeat":[{bg:eu()}],"bg-size":[{bg:ec()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},R,X,_],radial:["",X,_],conic:[R,X,_]},Q,q]}],"bg-color":[{bg:es()}],"gradient-from-pos":[{from:ed()}],"gradient-via-pos":[{via:ed()}],"gradient-to-pos":[{to:ed()}],"gradient-from":[{from:es()}],"gradient-via":[{via:es()}],"gradient-to":[{to:es()}],rounded:[{rounded:eh()}],"rounded-s":[{"rounded-s":eh()}],"rounded-e":[{"rounded-e":eh()}],"rounded-t":[{"rounded-t":eh()}],"rounded-r":[{"rounded-r":eh()}],"rounded-b":[{"rounded-b":eh()}],"rounded-l":[{"rounded-l":eh()}],"rounded-ss":[{"rounded-ss":eh()}],"rounded-se":[{"rounded-se":eh()}],"rounded-ee":[{"rounded-ee":eh()}],"rounded-es":[{"rounded-es":eh()}],"rounded-tl":[{"rounded-tl":eh()}],"rounded-tr":[{"rounded-tr":eh()}],"rounded-br":[{"rounded-br":eh()}],"rounded-bl":[{"rounded-bl":eh()}],"border-w":[{border:ef()}],"border-w-x":[{"border-x":ef()}],"border-w-y":[{"border-y":ef()}],"border-w-s":[{"border-s":ef()}],"border-w-e":[{"border-e":ef()}],"border-w-bs":[{"border-bs":ef()}],"border-w-be":[{"border-be":ef()}],"border-w-t":[{"border-t":ef()}],"border-w-r":[{"border-r":ef()}],"border-w-b":[{"border-b":ef()}],"border-w-l":[{"border-l":ef()}],"divide-x":[{"divide-x":ef()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ef()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ep(),"hidden","none"]}],"divide-style":[{divide:[...ep(),"hidden","none"]}],"border-color":[{border:es()}],"border-color-x":[{"border-x":es()}],"border-color-y":[{"border-y":es()}],"border-color-s":[{"border-s":es()}],"border-color-e":[{"border-e":es()}],"border-color-bs":[{"border-bs":es()}],"border-color-be":[{"border-be":es()}],"border-color-t":[{"border-t":es()}],"border-color-r":[{"border-r":es()}],"border-color-b":[{"border-b":es()}],"border-color-l":[{"border-l":es()}],"divide-color":[{divide:es()}],"outline-style":[{outline:[...ep(),"none","hidden"]}],"outline-offset":[{"outline-offset":[C,X,_]}],"outline-w":[{outline:["",C,Y,B]}],"outline-color":[{outline:es()}],shadow:[{shadow:["","none",c,ee,K]}],"shadow-color":[{shadow:es()}],"inset-shadow":[{"inset-shadow":["none",d,ee,K]}],"inset-shadow-color":[{"inset-shadow":es()}],"ring-w":[{ring:ef()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:es()}],"ring-offset-w":[{"ring-offset":[C,B]}],"ring-offset-color":[{"ring-offset":es()}],"inset-ring-w":[{"inset-ring":ef()}],"inset-ring-color":[{"inset-ring":es()}],"text-shadow":[{"text-shadow":["none",h,ee,K]}],"text-shadow-color":[{"text-shadow":es()}],opacity:[{opacity:[C,X,_]}],"mix-blend":[{"mix-blend":[...em(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":em()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[C]}],"mask-image-linear-from-pos":[{"mask-linear-from":eg()}],"mask-image-linear-to-pos":[{"mask-linear-to":eg()}],"mask-image-linear-from-color":[{"mask-linear-from":es()}],"mask-image-linear-to-color":[{"mask-linear-to":es()}],"mask-image-t-from-pos":[{"mask-t-from":eg()}],"mask-image-t-to-pos":[{"mask-t-to":eg()}],"mask-image-t-from-color":[{"mask-t-from":es()}],"mask-image-t-to-color":[{"mask-t-to":es()}],"mask-image-r-from-pos":[{"mask-r-from":eg()}],"mask-image-r-to-pos":[{"mask-r-to":eg()}],"mask-image-r-from-color":[{"mask-r-from":es()}],"mask-image-r-to-color":[{"mask-r-to":es()}],"mask-image-b-from-pos":[{"mask-b-from":eg()}],"mask-image-b-to-pos":[{"mask-b-to":eg()}],"mask-image-b-from-color":[{"mask-b-from":es()}],"mask-image-b-to-color":[{"mask-b-to":es()}],"mask-image-l-from-pos":[{"mask-l-from":eg()}],"mask-image-l-to-pos":[{"mask-l-to":eg()}],"mask-image-l-from-color":[{"mask-l-from":es()}],"mask-image-l-to-color":[{"mask-l-to":es()}],"mask-image-x-from-pos":[{"mask-x-from":eg()}],"mask-image-x-to-pos":[{"mask-x-to":eg()}],"mask-image-x-from-color":[{"mask-x-from":es()}],"mask-image-x-to-color":[{"mask-x-to":es()}],"mask-image-y-from-pos":[{"mask-y-from":eg()}],"mask-image-y-to-pos":[{"mask-y-to":eg()}],"mask-image-y-from-color":[{"mask-y-from":es()}],"mask-image-y-to-color":[{"mask-y-to":es()}],"mask-image-radial":[{"mask-radial":[X,_]}],"mask-image-radial-from-pos":[{"mask-radial-from":eg()}],"mask-image-radial-to-pos":[{"mask-radial-to":eg()}],"mask-image-radial-from-color":[{"mask-radial-from":es()}],"mask-image-radial-to-color":[{"mask-radial-to":es()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[C]}],"mask-image-conic-from-pos":[{"mask-conic-from":eg()}],"mask-image-conic-to-pos":[{"mask-conic-to":eg()}],"mask-image-conic-from-color":[{"mask-conic-from":es()}],"mask-image-conic-to-color":[{"mask-conic-to":es()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:el()}],"mask-repeat":[{mask:eu()}],"mask-size":[{mask:ec()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",X,_]}],filter:[{filter:["","none",X,_]}],blur:[{blur:ey()}],brightness:[{brightness:[C,X,_]}],contrast:[{contrast:[C,X,_]}],"drop-shadow":[{"drop-shadow":["","none",f,ee,K]}],"drop-shadow-color":[{"drop-shadow":es()}],grayscale:[{grayscale:["",C,X,_]}],"hue-rotate":[{"hue-rotate":[C,X,_]}],invert:[{invert:["",C,X,_]}],saturate:[{saturate:[C,X,_]}],sepia:[{sepia:["",C,X,_]}],"backdrop-filter":[{"backdrop-filter":["","none",X,_]}],"backdrop-blur":[{"backdrop-blur":ey()}],"backdrop-brightness":[{"backdrop-brightness":[C,X,_]}],"backdrop-contrast":[{"backdrop-contrast":[C,X,_]}],"backdrop-grayscale":[{"backdrop-grayscale":["",C,X,_]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[C,X,_]}],"backdrop-invert":[{"backdrop-invert":["",C,X,_]}],"backdrop-opacity":[{"backdrop-opacity":[C,X,_]}],"backdrop-saturate":[{"backdrop-saturate":[C,X,_]}],"backdrop-sepia":[{"backdrop-sepia":["",C,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:["","all","colors","opacity","shadow","transform","none",X,_]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[C,"initial",X,_]}],ease:[{ease:["linear","initial",y,X,_]}],delay:[{delay:[C,X,_]}],animate:[{animate:["none",v,X,_]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,X,_]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:ev()}],"rotate-x":[{"rotate-x":ev()}],"rotate-y":[{"rotate-y":ev()}],"rotate-z":[{"rotate-z":ev()}],scale:[{scale:eb()}],"scale-x":[{"scale-x":eb()}],"scale-y":[{"scale-y":eb()}],"scale-z":[{"scale-z":eb()}],"scale-3d":["scale-3d"],skew:[{skew:ew()}],"skew-x":[{"skew-x":ew()}],"skew-y":[{"skew-y":ew()}],transform:[{transform:[X,_,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ex()}],"translate-x":[{"translate-x":ex()}],"translate-y":[{"translate-y":ex()}],"translate-z":[{"translate-z":ex()}],"translate-none":["translate-none"],accent:[{accent:es()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:es()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",X,_]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mbs":[{"scroll-mbs":A()}],"scroll-mbe":[{"scroll-mbe":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pbs":[{"scroll-pbs":A()}],"scroll-pbe":[{"scroll-pbe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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",X,_]}],fill:[{fill:["none",...es()]}],"stroke-w":[{stroke:[C,Y,B,W]}],stroke:[{stroke:["none",...es()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}})},20744:(e,t,r)=>{r.d(t,{qW:()=>h});var n,i=r(70430),o=r(49059),a=r(1844),s=r(85391),l=r(29678),u=r(36366),c="dismissableLayer.update",d=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:y,onDismiss:v,...b}=e,w=i.useContext(d),[x,k]=i.useState(null),S=x?.ownerDocument??globalThis?.document,[,E]=i.useState({}),A=(0,s.s)(t,e=>k(e)),P=Array.from(w.layers),[T]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),M=P.indexOf(T),C=x?P.indexOf(x):-1,R=w.layersWithOutsidePointerEventsDisabled.size>0,j=C>=M,D=function(e,t=globalThis?.document){let r=(0,l.c)(e),n=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){p("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=[...w.branches].some(e=>e.contains(t));j&&!r&&(m?.(e),y?.(e),e.defaultPrevented||v?.())},S),L=function(e,t=globalThis?.document){let r=(0,l.c)(e),n=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!n.current&&p("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;![...w.branches].some(e=>e.contains(t))&&(g?.(e),y?.(e),e.defaultPrevented||v?.())},S);return!function(e,t=globalThis?.document){let r=(0,l.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{C===w.layers.size-1&&(h?.(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},S),i.useEffect(()=>{if(x)return r&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(n=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(x)),w.layers.add(x),f(),()=>{r&&1===w.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=n)}},[x,S,r,w]),i.useEffect(()=>()=>{x&&(w.layers.delete(x),w.layersWithOutsidePointerEventsDisabled.delete(x),f())},[x,w]),i.useEffect(()=>{let e=()=>E({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(a.sG.div,{...b,ref:A,style:{pointerEvents:R?j?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,L.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,D.onPointerDownCapture)})});function f(){let e=new CustomEvent(c);document.dispatchEvent(e)}function p(e,t,r,{discrete:n}){let i=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?(0,a.hO)(i,o):i.dispatchEvent(o)}h.displayName="DismissableLayer",i.forwardRef((e,t)=>{let r=i.useContext(d),n=i.useRef(null),o=(0,s.s)(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)(a.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},22787:(e,t,r)=>{r.d(t,{G:()=>n});function n(e){return"object"==typeof e&&null!==e}},23688:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("folder-open-dot",[["path",{d:"m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H18a2 2 0 0 1 2 2v2",key:"1nmvlm"}],["circle",{cx:"14",cy:"15",r:"1",key:"1gm4qj"}]])},23960:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]])},24809:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return b}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(42016),a=r(36366),s=o._(r(70430)),l=r(35520),u=r(14718),c=r(46933),d=r(55118),h=r(20);r(17367);let f=r(17473),p=r(59737),m=r(34585),g=r(96676);function y(e){var t,n;let i,o,y,[b,w]=(0,s.useOptimistic)(p.IDLE_LINK_STATUS),x=(0,s.useRef)(null),{href:k,as:S,children:E,prefetch:A=null,passHref:P,replace:T,shallow:M,scroll:C,onClick:R,onMouseEnter:j,onTouchStart:D,legacyBehavior:L=!1,onNavigate:O,transitionTypes:V,ref:N,unstable_dynamicOnHover:I,...F}=e;i=E,L&&("string"==typeof i||"number"==typeof i)&&(i=(0,a.jsx)("a",{children:i}));let z=s.default.useContext(u.AppRouterContext),_=!1!==A,B=!1!==A?null===(n=A)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,W="string"==typeof(t=S||k)?t:(0,l.formatUrl)(t);if(L){if(i?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(i)}let $=L?o&&"object"==typeof o&&o.ref:N,U=s.default.useCallback(e=>(null!==z&&(x.current=(0,p.mountLinkInstance)(e,W,z,B,_,w)),()=>{x.current&&((0,p.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,p.unmountPrefetchableInstance)(e)}),[_,W,z,B,w]),H={ref:(0,c.useMergedRef)(U,$),onClick(e){L||"function"!=typeof R||R(e),L&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),!z||e.defaultPrevented||function(e,t,n,i,o,a,l){{let u,{nodeName:c}=e.currentTarget;if("A"===c.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(t)){i&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=r(18389);s.default.startTransition(()=>{d(t,i?"replace":"push",!1===o?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,n.current,l)})}}(e,W,x,T,C,O,V)},onMouseEnter(e){L||"function"!=typeof j||j(e),L&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),z&&_&&(0,p.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){L||"function"!=typeof D||D(e),L&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),z&&_&&(0,p.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,d.isAbsoluteUrl)(W)?H.href=W:L&&!P&&("a"!==o.type||"href"in o.props)||(H.href=(0,h.addBasePath)(W)),y=L?s.default.cloneElement(o,H):(0,a.jsx)("a",{...F,...H,children:i}),(0,a.jsx)(v.Provider,{value:b,children:y})}r(19335);let v=(0,s.createContext)(p.IDLE_LINK_STATUS),b=()=>(0,s.useContext)(v);("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)},26563:(e,t,r)=>{r.d(t,{UC:()=>J,B8:()=>G,bL:()=>Y,l9:()=>Z});var n=r(70430),i=r(49059),o=r(34259),a=r(85391),s=r(86777),l=r(36366),u=new WeakMap;function c(e,t){var r,n;let i,o,a;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(r=e,n=t,i=r.length,(a=(o=d(n))>=0?o:i+o)<0||a>=i?-1:a);return -1===s?void 0:e[s]}function d(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],u.set(this,!0)}set(e,t){return u.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,a=d(e),s=a>=0?a:o+a,l=s<0||s>=o?-1:s;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,r),this;let u=this.size+ +!i;a<0&&s++;let c=[...this.#e],h=!1;for(let e=s;e<u;e++)if(s===e){let o=c[e];c[e]===t&&(o=c[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{h||c[e-1]!==t||(h=!0);let r=c[h?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=c(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=c(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return c(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}});var h=r(39070),f=r(1844),p=r(29678),m=r(37750),g=r(36756),y="rovingFocusGroup.onEntryFocus",v={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[w,x,k]=function(e){let t=e+"CollectionProvider",[r,i]=(0,o.A)(t),[u,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,i=n.useRef(null),o=n.useRef(new Map).current;return(0,l.jsx)(u,{scope:t,itemMap:o,collectionRef:i,children:r})};d.displayName=t;let h=e+"CollectionSlot",f=(0,s.TL)(h),p=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=c(h,r),o=(0,a.s)(t,i.collectionRef);return(0,l.jsx)(f,{ref:o,children:n})});p.displayName=h;let m=e+"CollectionItemSlot",g="data-radix-collection-item",y=(0,s.TL)(m),v=n.forwardRef((e,t)=>{let{scope:r,children:i,...o}=e,s=n.useRef(null),u=(0,a.s)(t,s),d=c(m,r);return n.useEffect(()=>(d.itemMap.set(s,{ref:s,...o}),()=>void d.itemMap.delete(s))),(0,l.jsx)(y,{...{[g]:""},ref:u,children:i})});return v.displayName=m,[{Provider:d,Slot:p,ItemSlot:v},function(t){let r=c(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},i]}(b),[S,E]=(0,o.A)(b,[k]),[A,P]=S(b),T=n.forwardRef((e,t)=>(0,l.jsx)(w.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,l.jsx)(w.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,l.jsx)(M,{...e,ref:t})})}));T.displayName=b;var M=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:o,loop:s=!1,dir:u,currentTabStopId:c,defaultCurrentTabStopId:d,onCurrentTabStopIdChange:h,onEntryFocus:w,preventScrollOnEntryFocus:k=!1,...S}=e,E=n.useRef(null),P=(0,a.s)(t,E),T=(0,g.jH)(u),[M,C]=(0,m.i)({prop:c,defaultProp:d??null,onChange:h,caller:b}),[R,j]=n.useState(!1),L=(0,p.c)(w),O=x(r),V=n.useRef(!1),[N,I]=n.useState(0);return n.useEffect(()=>{let e=E.current;if(e)return e.addEventListener(y,L),()=>e.removeEventListener(y,L)},[L]),(0,l.jsx)(A,{scope:r,orientation:o,dir:T,loop:s,currentTabStopId:M,onItemFocus:n.useCallback(e=>C(e),[C]),onItemShiftTab:n.useCallback(()=>j(!0),[]),onFocusableItemAdd:n.useCallback(()=>I(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>I(e=>e-1),[]),children:(0,l.jsx)(f.sG.div,{tabIndex:R||0===N?-1:0,"data-orientation":o,...S,ref:P,style:{outline:"none",...e.style},onMouseDown:(0,i.mK)(e.onMouseDown,()=>{V.current=!0}),onFocus:(0,i.mK)(e.onFocus,e=>{let t=!V.current;if(e.target===e.currentTarget&&t&&!R){let t=new CustomEvent(y,v);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=O().filter(e=>e.focusable);D([e.find(e=>e.active),e.find(e=>e.id===M),...e].filter(Boolean).map(e=>e.ref.current),k)}}V.current=!1}),onBlur:(0,i.mK)(e.onBlur,()=>j(!1))})})}),C="RovingFocusGroupItem",R=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:o=!0,active:a=!1,tabStopId:s,children:u,...c}=e,d=(0,h.B)(),p=s||d,m=P(C,r),g=m.currentTabStopId===p,y=x(r),{onFocusableItemAdd:v,onFocusableItemRemove:b,currentTabStopId:k}=m;return n.useEffect(()=>{if(o)return v(),()=>b()},[o,v,b]),(0,l.jsx)(w.ItemSlot,{scope:r,id:p,focusable:o,active:a,children:(0,l.jsx)(f.sG.span,{tabIndex:g?0:-1,"data-orientation":m.orientation,...c,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{o?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.mK)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return j[i]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=y().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&i.reverse();let o=i.indexOf(e.currentTarget);i=m.loop?(r=i,n=o+1,r.map((e,t)=>r[(n+t)%r.length])):i.slice(o+1)}setTimeout(()=>D(i))}}),children:"function"==typeof u?u({isCurrentTabStop:g,hasTabStop:null!=k}):u})})});R.displayName=C;var j={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function D(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var L=r(17685),O="Tabs",[V,N]=(0,o.A)(O,[E]),I=E(),[F,z]=V(O),_=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,onValueChange:i,defaultValue:o,orientation:a="horizontal",dir:s,activationMode:u="automatic",...c}=e,d=(0,g.jH)(s),[p,y]=(0,m.i)({prop:n,onChange:i,defaultProp:o??"",caller:O});return(0,l.jsx)(F,{scope:r,baseId:(0,h.B)(),value:p,onValueChange:y,orientation:a,dir:d,activationMode:u,children:(0,l.jsx)(f.sG.div,{dir:d,"data-orientation":a,...c,ref:t})})});_.displayName=O;var B="TabsList",W=n.forwardRef((e,t)=>{let{__scopeTabs:r,loop:n=!0,...i}=e,o=z(B,r),a=I(r);return(0,l.jsx)(T,{asChild:!0,...a,orientation:o.orientation,dir:o.dir,loop:n,children:(0,l.jsx)(f.sG.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:t})})});W.displayName=B;var $="TabsTrigger",U=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,disabled:o=!1,...a}=e,s=z($,r),u=I(r),c=K(s.baseId,n),d=X(s.baseId,n),h=n===s.value;return(0,l.jsx)(R,{asChild:!0,...u,focusable:!o,active:h,children:(0,l.jsx)(f.sG.button,{type:"button",role:"tab","aria-selected":h,"aria-controls":d,"data-state":h?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:c,...a,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{o||0!==e.button||!1!==e.ctrlKey?e.preventDefault():s.onValueChange(n)}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&s.onValueChange(n)}),onFocus:(0,i.mK)(e.onFocus,()=>{let e="manual"!==s.activationMode;h||o||!e||s.onValueChange(n)})})})});U.displayName=$;var H="TabsContent",q=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:i,forceMount:o,children:a,...s}=e,u=z(H,r),c=K(u.baseId,i),d=X(u.baseId,i),h=i===u.value,p=n.useRef(h);return n.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,l.jsx)(L.C,{present:o||h,children:({present:r})=>(0,l.jsx)(f.sG.div,{"data-state":h?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":c,hidden:!r,id:d,tabIndex:0,...s,ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0},children:r&&a})})});function K(e,t){return`${e}-trigger-${t}`}function X(e,t){return`${e}-content-${t}`}q.displayName=H;var Y=_,G=W,Z=U,J=q},27765:(e,t,r)=>{r.d(t,{s:()=>i});var n=r(22787);function i(e){return(0,n.G)(e)&&"offsetHeight"in e}},28746:(e,t,r)=>{r.d(t,{N:()=>i});var n=r(70430),i=globalThis?.document?n.useLayoutEffect:()=>{}},29678:(e,t,r)=>{r.d(t,{c:()=>i});var n=r(70430);function i(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},33494:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},34259:(e,t,r)=>{r.d(t,{A:()=>a,q:()=>o});var n=r(70430),i=r(36366);function o(e,t){let r=n.createContext(t),o=e=>{let{children:t,...o}=e,a=n.useMemo(()=>o,Object.values(o));return(0,i.jsx)(r.Provider,{value:a,children:t})};return o.displayName=e+"Provider",[o,function(i){let o=n.useContext(r);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function a(e,t=[]){let r=[],o=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return o.scopeName=e,[function(t,o){let a=n.createContext(o),s=r.length;r=[...r,o];let l=t=>{let{scope:r,children:o,...l}=t,u=r?.[e]?.[s]||a,c=n.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:c,children:o})};return l.displayName=t+"Provider",[l,function(r,i){let l=i?.[e]?.[s]||a,u=n.useContext(l);if(u)return u;if(void 0!==o)return o;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 i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(o,...t)]}},34585:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=r(55118),i=r(30703);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},34779:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]])},35421:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]])},35520:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(42016)._(r(79488)),a=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(o.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${i}${c}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},35941:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]])},36756:(e,t,r)=>{r.d(t,{jH:()=>o});var n=r(70430);r(36366);var i=n.createContext(void 0);function o(e){let t=n.useContext(i);return e||t||"ltr"}},37227:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},37750:(e,t,r)=>{r.d(t,{i:()=>s});var n,i=r(70430),o=r(28746),a=(n||(n=r.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function s({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[o,l,u]=function({defaultProp:e,onChange:t}){let[r,n]=i.useState(e),o=i.useRef(r),s=i.useRef(t);return a(()=>{s.current=t},[t]),i.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}({defaultProp:t,onChange:r}),c=void 0!==e,d=c?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,n])}return[d,i.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else l(t)},[c,e,l,u])]}Symbol("RADIX:SYNC_STATE")},38220:(e,t,r)=>{r.d(t,{E:()=>i});var n=r(70430);let i="u">typeof window?n.useLayoutEffect:n.useEffect},39070:(e,t,r)=>{r.d(t,{B:()=>l});var n,i=r(70430),o=r(28746),a=(n||(n=r.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),s=0;function l(e){let[t,r]=i.useState(a());return(0,o.N)(()=>{e||r(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},39582:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},40478:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(12523),a=r(99238),s=r(66038),l=o._(r(44574));function u(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=s.Image},41363:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]])},41880:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("send-horizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]])},41932:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(70430),i=r(20891),o=r(1844),a=r(28746),s=r(36366),l=n.forwardRef((e,t)=>{let{container:r,...l}=e,[u,c]=n.useState(!1);(0,a.N)(()=>c(!0),[]);let d=r||u&&globalThis?.document?.body;return d?i.createPortal((0,s.jsx)(o.sG.div,{...l,ref:t}),d):null});l.displayName="Portal"},44574:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(83260),i=r(35452);function o({config:e,src:t,width:r,quality:a}){let s=(0,i.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),n=r.get("dpl");if(n){s=n,r.delete("dpl");let i=r.toString();t=t.slice(0,e)+(i?"?"+i:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
6
- Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,n.findClosestQuality)(a,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${l}${t.startsWith("/")&&s?`&dpl=${s}`:""}`}o.__next_img_default=!0;let a=o},45286:(e,t,r)=>{r.d(t,{$:()=>n});function n(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(n&&(n+=" "),n+=t);return n}},45787:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},45880:(e,t,r)=>{r.d(t,{F:()=>a});var n=r(45286);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=n.$,a=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:s}=t,l=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==s?void 0:s[e];if(null===t)return null;let o=i(t)||i(n);return a[e][o]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,l,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...u}[t]):({...s,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},46933:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=r(70430);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(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)},47377:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("settings-2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]])},48758:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},48988:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},49059:(e,t,r)=>{function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{mK:()=>n}),"u">typeof window&&window.document&&window.document.createElement},53633:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("folder-kanban",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]])},55118:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var r={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return b},NormalizeError:function(){return y},PageNotFoundError:function(){return v},SP:function(){return p},ST:function(){return m},WEB_VITALS:function(){return i},execOnce:function(){return o},getDisplayName:function(){return c},getLocationOrigin:function(){return l},getURL:function(){return u},isAbsoluteUrl:function(){return s},isResSent:function(){return d},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return x}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>a.test(e);function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function u(){let{href:e}=window.location,t=l();return e.substring(t.length)}function c(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Object.defineProperty(Error(`"${c(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let p="u">typeof performance,m=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class y extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class b extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(e){return JSON.stringify({message:e.message,stack:e.stack})}},55413:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},57408:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(70430),i=n.useLayoutEffect,o=n.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function a(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return i(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),i(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},60159:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]])},60971:(e,t,r)=>{let n;r.d(t,{UC:()=>tk,ZL:()=>tx,Kq:()=>tv,bL:()=>tb,l9:()=>tw});var i=r(70430),o=r(49059),a=r(85391),s=r(34259),l=r(20744),u=r(39070);let c=["top","right","bottom","left"],d=Math.min,h=Math.max,f=Math.round,p=Math.floor,m=e=>({x:e,y:e}),g={left:"right",right:"left",bottom:"top",top:"bottom"};function y(e,t){return"function"==typeof e?e(t):e}function v(e){return e.split("-")[0]}function b(e){return e.split("-")[1]}function w(e){return"x"===e?"y":"x"}function x(e){return"y"===e?"height":"width"}function k(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function S(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let E=["left","right"],A=["right","left"],P=["top","bottom"],T=["bottom","top"];function M(e){let t=v(e);return g[t]+e.slice(t.length)}function C(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function R(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function j(e,t,r){let n,{reference:i,floating:o}=e,a=k(t),s=w(k(t)),l=x(s),u=v(t),c="y"===a,d=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,f=i[l]/2-o[l]/2;switch(u){case"top":n={x:d,y:i.y-o.height};break;case"bottom":n={x:d,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:h};break;case"left":n={x:i.x-o.width,y:h};break;default:n={x:i.x,y:i.y}}switch(b(t)){case"start":n[s]-=f*(r&&c?-1:1);break;case"end":n[s]+=f*(r&&c?-1:1)}return n}async function D(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:f=0}=y(t,e),p=C(f),m=s[h?"floating"===d?"reference":"floating":d],g=R(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(m)))||r?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),w=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},x=R(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:b,strategy:l}):v);return{top:(g.top-x.top+p.top)/w.y,bottom:(x.bottom-g.bottom+p.bottom)/w.y,left:(g.left-x.left+p.left)/w.x,right:(x.right-g.right+p.right)/w.x}}let L=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}=r,s=a.detectOverflow?a:{...a,detectOverflow:D},l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=j(u,n,l),h=n,f=0,p={};for(let r=0;r<o.length;r++){let m=o[r];if(!m)continue;let{name:g,fn:y}=m,{x:v,y:b,data:w,reset:x}=await y({x:c,y:d,initialPlacement:n,placement:h,strategy:i,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=b?b:d,p[g]={...p[g],...w},x&&f<50&&(f++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(u=!0===x.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:c,y:d}=j(u,h,l)),r=-1)}return{x:c,y:d,placement:h,strategy:i,middlewareData:p}};function O(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function V(e){return c.some(t=>e[t]>=0)}let N=new Set(["left","top"]);async function I(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),a=v(r),s=b(r),l="y"===k(r),u=N.has(a)?-1:1,c=o&&l?-1:1,d=y(t,e),{mainAxis:h,crossAxis:f,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof p&&(f="end"===s?-1*p:p),l?{x:f*c,y:h*u}:{x:h*u,y:f*c}}function F(){return"u">typeof window}function z(e){return W(e)?(e.nodeName||"").toLowerCase():"#document"}function _(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function B(e){var t;return null==(t=(W(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function W(e){return!!F()&&(e instanceof Node||e instanceof _(e).Node)}function $(e){return!!F()&&(e instanceof Element||e instanceof _(e).Element)}function U(e){return!!F()&&(e instanceof HTMLElement||e instanceof _(e).HTMLElement)}function H(e){return!(!F()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof _(e).ShadowRoot)}function q(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==i&&"contents"!==i}function K(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let X=/transform|translate|scale|rotate|perspective|filter/,Y=/paint|layout|strict|content/,G=e=>!!e&&"none"!==e;function Z(e){let t=$(e)?ee(e):e;return G(t.transform)||G(t.translate)||G(t.scale)||G(t.rotate)||G(t.perspective)||!J()&&(G(t.backdropFilter)||G(t.filter))||X.test(t.willChange||"")||Y.test(t.contain||"")}function J(){return null==n&&(n="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function Q(e){return/^(html|body|#document)$/.test(z(e))}function ee(e){return _(e).getComputedStyle(e)}function et(e){return $(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function er(e){if("html"===z(e))return e;let t=e.assignedSlot||e.parentNode||H(e)&&e.host||B(e);return H(t)?t.host:t}function en(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=er(t);return Q(r)?t.ownerDocument?t.ownerDocument.body:t.body:U(r)&&q(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),a=_(i);if(!o)return t.concat(i,en(i,[],r));{let e=ei(a);return t.concat(a,a.visualViewport||[],q(i)?i:[],e&&r?en(e):[])}}function ei(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=ee(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=U(e),o=i?e.offsetWidth:r,a=i?e.offsetHeight:n,s=f(r)!==o||f(n)!==a;return s&&(r=o,n=a),{width:r,height:n,$:s}}function ea(e){return $(e)?e:e.contextElement}function es(e){let t=ea(e);if(!U(t))return m(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=eo(t),a=(o?f(r.width):r.width)/n,s=(o?f(r.height):r.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let el=m(0);function eu(e){let t=_(e);return J()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:el}function ec(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),a=ea(e),s=m(1);t&&(n?$(n)&&(s=es(n)):s=es(e));let l=(void 0===(i=r)&&(i=!1),n&&(!i||n===_(a))&&i)?eu(a):m(0),u=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,d=o.width/s.x,h=o.height/s.y;if(a){let e=_(a),t=n&&$(n)?_(n):n,r=e,i=ei(r);for(;i&&n&&t!==r;){let e=es(i),t=i.getBoundingClientRect(),n=ee(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,h*=e.y,u+=o,c+=a,i=ei(r=_(i))}}return R({width:d,height:h,x:u,y:c})}function ed(e,t){let r=et(e).scrollLeft;return t?t.left+r:ec(B(e)).left+r}function eh(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ed(e,r),y:r.top+t.scrollTop}}function ef(e,t,r){var n;let i;if("viewport"===t)i=function(e,t){let r=_(e),n=B(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=J();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}let u=ed(n);if(u<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(n.clientWidth-t.clientWidth-i);a<=25&&(o-=a)}else u<=25&&(o+=u);return{width:o,height:a,x:s,y:l}}(e,r);else if("document"===t){let t,r,o,a,s,l,u;n=B(e),t=B(n),r=et(n),o=n.ownerDocument.body,a=h(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=h(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),l=-r.scrollLeft+ed(n),u=-r.scrollTop,"rtl"===ee(o).direction&&(l+=h(t.clientWidth,o.clientWidth)-a),i={width:a,height:s,x:l,y:u}}else if($(t)){let e,n,o,a,s,l;n=(e=ec(t,!0,"fixed"===r)).top+t.clientTop,o=e.left+t.clientLeft,a=U(t)?es(t):m(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,i={width:s,height:l,x:o*a.x,y:n*a.y}}else{let r=eu(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return R(i)}function ep(e){return"static"===ee(e).position}function em(e,t){if(!U(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let r=e.offsetParent;return B(e)===r&&(r=r.ownerDocument.body),r}function eg(e,t){var r;let n=_(e);if(K(e))return n;if(!U(e)){let t=er(e);for(;t&&!Q(t);){if($(t)&&!ep(t))return t;t=er(t)}return n}let i=em(e,t);for(;i&&(r=i,/^(table|td|th)$/.test(z(r)))&&ep(i);)i=em(i,t);return i&&Q(i)&&ep(i)&&!Z(i)?n:i||function(e){let t=er(e);for(;U(t)&&!Q(t);){if(Z(t))return t;if(K(t))break;t=er(t)}return null}(e)||n}let ey=async function(e){let t=this.getOffsetParent||eg,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=U(t),i=B(t),o="fixed"===r,a=ec(e,!0,o,t),s={scrollLeft:0,scrollTop:0},l=m(0);if(n||!n&&!o)if(("body"!==z(t)||q(i))&&(s=et(t)),n){let e=ec(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=ed(i));o&&!n&&i&&(l.x=ed(i));let u=!i||n||o?m(0):eh(i,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.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}}},ev={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,a=B(n),s=!!t&&K(t.floating);if(n===a||s&&o)return r;let l={scrollLeft:0,scrollTop:0},u=m(1),c=m(0),d=U(n);if((d||!d&&!o)&&(("body"!==z(n)||q(a))&&(l=et(n)),d)){let e=ec(n);u=es(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}let h=!a||d||o?m(0):eh(a,l);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+c.x+h.x,y:r.y*u.y-l.scrollTop*u.y+c.y+h.y}},getDocumentElement:B,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,o=[..."clippingAncestors"===r?K(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=en(e,[],!1).filter(e=>$(e)&&"body"!==z(e)),i=null,o="fixed"===ee(e).position,a=o?er(e):e;for(;$(a)&&!Q(a);){let t=ee(a),r=Z(a);r||"fixed"!==t.position||(i=null),(o?r||i:!(!r&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||q(a)&&!r&&function e(t,r){let n=er(t);return!(n===r||!$(n)||Q(n))&&("fixed"===ee(n).position||e(n,r))}(e,a)))?i=t:n=n.filter(e=>e!==a),a=er(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=ef(t,o[0],i),s=a.top,l=a.right,u=a.bottom,c=a.left;for(let e=1;e<o.length;e++){let r=ef(t,o[e],i);s=h(r.top,s),l=d(r.right,l),u=d(r.bottom,u),c=h(r.left,c)}return{width:l-c,height:u-s,x:c,y:s}},getOffsetParent:eg,getElementRects:ey,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=eo(e);return{width:t,height:r}},getScale:es,isElement:$,isRTL:function(e){return"rtl"===ee(e).direction}};function eb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ew=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:o,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=y(e,t)||{};if(null==u)return{};let f=C(c),p={x:r,y:n},m=w(k(i)),g=x(m),v=await a.getDimensions(u),S="y"===m,E=S?"clientHeight":"clientWidth",A=o.reference[g]+o.reference[m]-p[m]-o.floating[g],P=p[m]-o.reference[m],T=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),M=T?T[E]:0;M&&await (null==a.isElement?void 0:a.isElement(T))||(M=s.floating[E]||o.floating[g]);let R=M/2-v[g]/2-1,j=d(f[S?"top":"left"],R),D=d(f[S?"bottom":"right"],R),L=M-v[g]-D,O=M/2-v[g]/2+(A/2-P/2),V=h(j,d(O,L)),N=!l.arrow&&null!=b(i)&&O!==V&&o.reference[g]/2-(O<j?j:D)-v[g]/2<0,I=N?O<j?O-j:O-L:0;return{[m]:p[m]+I,data:{[m]:V,centerOffset:O-V-I,...N&&{alignmentOffset:I}},reset:N}}});var ex=r(20891),ek="u">typeof document?i.useLayoutEffect:function(){};function eS(e,t){let r,n,i;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(!eS(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!eS(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eE(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eA(e,t){let r=eE(e);return Math.round(t*r)/r}function eP(e){let t=i.useRef(e);return ek(()=>{t.current=e}),t}var eT=r(1844),eM=r(36366),eC=i.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,eM.jsx)(eT.sG.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,eM.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eC.displayName="Arrow";var eR=r(29678),ej=r(28746),eD="Popper",[eL,eO]=(0,s.A)(eD),[eV,eN]=eL(eD),eI=e=>{let{__scopePopper:t,children:r}=e,[n,o]=i.useState(null);return(0,eM.jsx)(eV,{scope:t,anchor:n,onAnchorChange:o,children:r})};eI.displayName=eD;var eF="PopperAnchor",ez=i.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,s=eN(eF,r),l=i.useRef(null),u=(0,a.s)(t,l),c=i.useRef(null);return i.useEffect(()=>{let e=c.current;c.current=n?.current||l.current,e!==c.current&&s.onAnchorChange(c.current)}),n?null:(0,eM.jsx)(eT.sG.div,{...o,ref:u})});ez.displayName=eF;var e_="PopperContent",[eB,eW]=eL(e_),e$=i.forwardRef((e,t)=>{var r,n,o,s,l,u,c,f,m,g,C,R,j,D,F,z,_,W,$,U,H;let q,K,X,Y,G,Z,{__scopePopper:J,side:Q="bottom",sideOffset:ee=0,align:et="center",alignOffset:er=0,arrowPadding:ei=0,avoidCollisions:eo=!0,collisionBoundary:es=[],collisionPadding:el=0,sticky:eu="partial",hideWhenDetached:ed=!1,updatePositionStrategy:eh="optimized",onPlaced:ef,...ep}=e,em=eN(e_,J),[eg,ey]=i.useState(null),eC=(0,a.s)(t,e=>ey(e)),[eD,eL]=i.useState(null),eO=function(e){let[t,r]=i.useState(void 0);return(0,ej.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(eD),eV=eO?.width??0,eI=eO?.height??0,eF="number"==typeof el?el:{top:0,right:0,bottom:0,left:0,...el},ez=Array.isArray(es)?es:[es],eW=ez.length>0,e$={padding:eF,boundary:ez.filter(eK),altBoundary:eW},{refs:eU,floatingStyles:eH,placement:eq,isPositioned:eG,middlewareData:eZ}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[d,h]=i.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=i.useState(n);eS(f,n)||p(n);let[m,g]=i.useState(null),[y,v]=i.useState(null),b=i.useCallback(e=>{e!==S.current&&(S.current=e,g(e))},[]),w=i.useCallback(e=>{e!==E.current&&(E.current=e,v(e))},[]),x=a||m,k=s||y,S=i.useRef(null),E=i.useRef(null),A=i.useRef(d),P=null!=u,T=eP(u),M=eP(o),C=eP(c),R=i.useCallback(()=>{var e,n;let i,o,a;if(!S.current||!E.current)return;let s={placement:t,strategy:r,middleware:f};M.current&&(s.platform=M.current),(e=S.current,n=E.current,i=new Map,a={...(o={platform:ev,...s}).platform,_c:i},L(e,n,{...o,platform:a})).then(e=>{let t={...e,isPositioned:!1!==C.current};j.current&&!eS(A.current,t)&&(A.current=t,ex.flushSync(()=>{h(t)}))})},[f,t,r,M,C]);ek(()=>{!1===c&&A.current.isPositioned&&(A.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[c]);let j=i.useRef(!1);ek(()=>(j.current=!0,()=>{j.current=!1}),[]),ek(()=>{if(x&&(S.current=x),k&&(E.current=k),x&&k){if(T.current)return T.current(x,k,R);R()}},[x,k,R,T,P]);let D=i.useMemo(()=>({reference:S,floating:E,setReference:b,setFloating:w}),[b,w]),O=i.useMemo(()=>({reference:x,floating:k}),[x,k]),V=i.useMemo(()=>{let e={position:r,left:0,top:0};if(!O.floating)return e;let t=eA(O.floating,d.x),n=eA(O.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...eE(O.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,l,O.floating,d.x,d.y]);return i.useMemo(()=>({...d,update:R,refs:D,elements:O,floatingStyles:V}),[d,R,D,O,V])}({strategy:"fixed",placement:Q+("center"!==et?"-"+et:""),whileElementsMounted:(...e)=>(function(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=n,c=ea(e),f=o||a?[...c?en(c):[],...t?en(t):[]]:[];f.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});let m=c&&l?function(e,t){let r,n=null,i=B(e);function o(){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),o();let u=e.getBoundingClientRect(),{left:c,top:f,width:m,height:g}=u;if(s||t(),!m||!g)return;let y={rootMargin:-p(f)+"px "+-p(i.clientWidth-(c+m))+"px "+-p(i.clientHeight-(f+g))+"px "+-p(c)+"px",threshold:h(0,d(1,l))||1},v=!0;function b(t){let n=t[0].intersectionRatio;if(n!==l){if(!v)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==n||eb(u,e.getBoundingClientRect())||a(),v=!1}try{n=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(b,y)}n.observe(e)}(!0),o}(c,r):null,g=-1,y=null;s&&(y=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&y&&t&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),r()}),c&&!u&&y.observe(c),t&&y.observe(t));let v=u?ec(e):null;return u&&function t(){let n=ec(e);v&&!eb(v,n)&&r(),v=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;f.forEach(e=>{o&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,u&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===eh}),elements:{reference:em.anchor},middleware:[{name:(q={name:"offset",options:o=r={mainAxis:ee+eI,alignmentAxis:er},async fn(e){var t,r;let{x:n,y:i,placement:a,middlewareData:s}=e,l=await I(e,o);return a===(null==(t=s.offset)?void 0:t.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:n+l.x,y:i+l.y,data:{...l,placement:a}}}}).name,fn:q.fn,options:[r,n]},eo&&{name:(K={name:"shift",options:m=c={mainAxis:!0,crossAxis:!1,limiter:"partial"===eu?{fn:(void 0===(u=s)&&(u={}),{options:u,fn(e){let{x:t,y:r,placement:n,rects:i,middlewareData:o}=e,{offset:a=0,mainAxis:s=!0,crossAxis:l=!0}=y(u,e),c={x:t,y:r},d=k(n),h=w(d),f=c[h],p=c[d],m=y(a,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+g.mainAxis,r=i.reference[h]+i.reference[e]-g.mainAxis;f<t?f=t:f>r&&(f=r)}if(l){var b,x;let e="y"===h?"width":"height",t=N.has(v(n)),r=i.reference[d]-i.floating[e]+(t&&(null==(b=o.offset)?void 0:b[d])||0)+(t?0:g.crossAxis),a=i.reference[d]+i.reference[e]+(t?0:(null==(x=o.offset)?void 0:x[d])||0)-(t?g.crossAxis:0);p<r?p=r:p>a&&(p=a)}return{[h]:f,[d]:p}}}).fn,options:[s,l]}:void 0,...e$},async fn(e){let{x:t,y:r,placement:n,platform:i}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=y(m,e),u={x:t,y:r},c=await i.detectOverflow(e,l),f=k(v(n)),p=w(f),g=u[p],b=u[f];if(o){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",r=g+c[e],n=g-c[t];g=h(r,d(g,n))}if(a){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=b+c[e],n=b-c[t];b=h(r,d(b,n))}let x=s.fn({...e,[p]:g,[f]:b});return{...x,data:{x:x.x-t,y:x.y-r,enabled:{[p]:o,[f]:a}}}}}).name,fn:K.fn,options:[c,f]},eo&&{name:(X={name:"flip",options:R=g={...e$},async fn(e){var t,r,n,i,o,a,s,l;let u,c,d,{placement:h,middlewareData:f,rects:p,initialPlacement:m,platform:g,elements:C}=e,{mainAxis:j=!0,crossAxis:D=!0,fallbackPlacements:L,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:V="none",flipAlignment:N=!0,...I}=y(R,e);if(null!=(t=f.arrow)&&t.alignmentOffset)return{};let F=v(h),z=k(m),_=v(m)===m,B=await (null==g.isRTL?void 0:g.isRTL(C.floating)),W=L||(_||!N?[M(m)]:(u=M(m),[S(m),u,S(u)])),$="none"!==V;!L&&$&&W.push(...(c=b(m),d=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?A:E;return t?E:A;case"left":case"right":return t?P:T;default:return[]}}(v(m),"start"===V,B),c&&(d=d.map(e=>e+"-"+c),N&&(d=d.concat(d.map(S)))),d));let U=[m,...W],H=await g.detectOverflow(e,I),q=[],K=(null==(r=f.flip)?void 0:r.overflows)||[];if(j&&q.push(H[F]),D){let e,t,r,n,i=(a=h,s=p,void 0===(l=B)&&(l=!1),e=b(a),r=x(t=w(k(a))),n="x"===t?e===(l?"end":"start")?"right":"left":"start"===e?"bottom":"top",s.reference[r]>s.floating[r]&&(n=M(n)),[n,M(n)]);q.push(H[i[0]],H[i[1]])}if(K=[...K,{placement:h,overflows:q}],!q.every(e=>e<=0)){let e=((null==(n=f.flip)?void 0:n.index)||0)+1,t=U[e];if(t&&("alignment"!==D||z===k(t)||K.every(e=>k(e.placement)!==z||e.overflows[0]>0)))return{data:{index:e,overflows:K},reset:{placement:t}};let r=null==(i=K.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(O){case"bestFit":{let e=null==(o=K.filter(e=>{if($){let t=k(e.placement);return t===z||"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:o[0];e&&(r=e);break}case"initialPlacement":r=m}if(h!==r)return{reset:{placement:r}}}return{}}}).name,fn:X.fn,options:[g,C]},{name:(Y={name:"size",options:F=j={...e$,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:o}=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",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,r;let n,i,{placement:o,rects:a,platform:s,elements:l}=e,{apply:u=()=>{},...c}=y(F,e),f=await s.detectOverflow(e,c),p=v(o),m=b(o),g="y"===k(o),{width:w,height:x}=a.floating;"top"===p||"bottom"===p?(n=p,i=m===(await (null==s.isRTL?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(i=p,n="end"===m?"top":"bottom");let S=x-f.top-f.bottom,E=w-f.left-f.right,A=d(x-f[n],S),P=d(w-f[i],E),T=!e.middlewareData.shift,M=A,C=P;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(C=E),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(M=S),T&&!m){let e=h(f.left,0),t=h(f.right,0),r=h(f.top,0),n=h(f.bottom,0);g?C=w-2*(0!==e||0!==t?e+t:h(f.left,f.right)):M=x-2*(0!==r||0!==n?r+n:h(f.top,f.bottom))}await u({...e,availableWidth:C,availableHeight:M});let R=await s.getDimensions(l.floating);return w!==R.width||x!==R.height?{reset:{rects:!0}}:{}}}).name,fn:Y.fn,options:[j,D]},eD&&{name:(G={name:"arrow",options:W=z={element:eD,padding:ei},fn(e){let{element:t,padding:r}="function"==typeof W?W(e):W;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ew({element:t.current,padding:r}).fn(e):{}:t?ew({element:t,padding:r}).fn(e):{}}}).name,fn:G.fn,options:[z,_]},eX({arrowWidth:eV,arrowHeight:eI}),ed&&{name:(Z={name:"hide",options:H=$={strategy:"referenceHidden",...e$},async fn(e){let{rects:t,platform:r}=e,{strategy:n="referenceHidden",...i}=y(H,e);switch(n){case"referenceHidden":{let n=O(await r.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:V(n)}}}case"escaped":{let n=O(await r.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:V(n)}}}default:return{}}}}).name,fn:Z.fn,options:[$,U]}]}),[eJ,eQ]=eY(eq),e0=(0,eR.c)(ef);(0,ej.N)(()=>{eG&&e0?.()},[eG,e0]);let e1=eZ.arrow?.x,e2=eZ.arrow?.y,e3=eZ.arrow?.centerOffset!==0,[e4,e6]=i.useState();return(0,ej.N)(()=>{eg&&e6(window.getComputedStyle(eg).zIndex)},[eg]),(0,eM.jsx)("div",{ref:eU.setFloating,"data-radix-popper-content-wrapper":"",style:{...eH,transform:eG?eH.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:e4,"--radix-popper-transform-origin":[eZ.transformOrigin?.x,eZ.transformOrigin?.y].join(" "),...eZ.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eM.jsx)(eB,{scope:J,placedSide:eJ,onArrowChange:eL,arrowX:e1,arrowY:e2,shouldHideArrow:e3,children:(0,eM.jsx)(eT.sG.div,{"data-side":eJ,"data-align":eQ,...ep,ref:eC,style:{...ep.style,animation:eG?void 0:"none"}})})})});e$.displayName=e_;var eU="PopperArrow",eH={top:"bottom",right:"left",bottom:"top",left:"right"},eq=i.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=eW(eU,r),o=eH[i.placedSide];return(0,eM.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eM.jsx)(eC,{...n,ref:t,style:{...n.style,display:"block"}})})});function eK(e){return null!==e}eq.displayName=eU;var eX=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,a=o?0:e.arrowWidth,s=o?0:e.arrowHeight,[l,u]=eY(r),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+a/2,h=(i.arrow?.y??0)+s/2,f="",p="";return"bottom"===l?(f=o?c:`${d}px`,p=`${-s}px`):"top"===l?(f=o?c:`${d}px`,p=`${n.floating.height+s}px`):"right"===l?(f=`${-s}px`,p=o?c:`${h}px`):"left"===l&&(f=`${n.floating.width+s}px`,p=o?c:`${h}px`),{data:{x:f,y:p}}}});function eY(e){let[t,r="center"]=e.split("-");return[t,r]}var eG=r(41932),eZ=r(17685),eJ=r(86777),eQ=r(37750),e0=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),e1=i.forwardRef((e,t)=>(0,eM.jsx)(eT.sG.span,{...e,ref:t,style:{...e0,...e.style}}));e1.displayName="VisuallyHidden";var[e2,e3]=(0,s.A)("Tooltip",[eO]),e4=eO(),e6="TooltipProvider",e5="tooltip.open",[e9,e7]=e2(e6),e8=e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:a}=e,s=i.useRef(!0),l=i.useRef(!1),u=i.useRef(0);return i.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,eM.jsx)(e9,{scope:t,isOpenDelayedRef:s,delayDuration:r,onOpen:i.useCallback(()=>{window.clearTimeout(u.current),s.current=!1},[]),onClose:i.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s.current=!0,n)},[n]),isPointerInTransitRef:l,onPointerInTransitChange:i.useCallback(e=>{l.current=e},[]),disableHoverableContent:o,children:a})};e8.displayName=e6;var te="Tooltip",[tt,tr]=e2(te),tn=e=>{let{__scopeTooltip:t,children:r,open:n,defaultOpen:o,onOpenChange:a,disableHoverableContent:s,delayDuration:l}=e,c=e7(te,e.__scopeTooltip),d=e4(t),[h,f]=i.useState(null),p=(0,u.B)(),m=i.useRef(0),g=s??c.disableHoverableContent,y=l??c.delayDuration,v=i.useRef(!1),[b,w]=(0,eQ.i)({prop:n,defaultProp:o??!1,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(e5))):c.onClose(),a?.(e)},caller:te}),x=i.useMemo(()=>b?v.current?"delayed-open":"instant-open":"closed",[b]),k=i.useCallback(()=>{window.clearTimeout(m.current),m.current=0,v.current=!1,w(!0)},[w]),S=i.useCallback(()=>{window.clearTimeout(m.current),m.current=0,w(!1)},[w]),E=i.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{v.current=!0,w(!0),m.current=0},y)},[y,w]);return i.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),(0,eM.jsx)(eI,{...d,children:(0,eM.jsx)(tt,{scope:t,contentId:p,open:b,stateAttribute:x,trigger:h,onTriggerChange:f,onTriggerEnter:i.useCallback(()=>{c.isOpenDelayedRef.current?E():k()},[c.isOpenDelayedRef,E,k]),onTriggerLeave:i.useCallback(()=>{g?S():(window.clearTimeout(m.current),m.current=0)},[S,g]),onOpen:k,onClose:S,disableHoverableContent:g,children:r})})};tn.displayName=te;var ti="TooltipTrigger",to=i.forwardRef((e,t)=>{let{__scopeTooltip:r,...n}=e,s=tr(ti,r),l=e7(ti,r),u=e4(r),c=i.useRef(null),d=(0,a.s)(t,c,s.onTriggerChange),h=i.useRef(!1),f=i.useRef(!1),p=i.useCallback(()=>h.current=!1,[]);return i.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),(0,eM.jsx)(ez,{asChild:!0,...u,children:(0,eM.jsx)(eT.sG.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...n,ref:d,onPointerMove:(0,o.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(f.current||l.isPointerInTransitRef.current||(s.onTriggerEnter(),f.current=!0))}),onPointerLeave:(0,o.mK)(e.onPointerLeave,()=>{s.onTriggerLeave(),f.current=!1}),onPointerDown:(0,o.mK)(e.onPointerDown,()=>{s.open&&s.onClose(),h.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:(0,o.mK)(e.onFocus,()=>{h.current||s.onOpen()}),onBlur:(0,o.mK)(e.onBlur,s.onClose),onClick:(0,o.mK)(e.onClick,s.onClose)})})});to.displayName=ti;var ta="TooltipPortal",[ts,tl]=e2(ta,{forceMount:void 0}),tu=e=>{let{__scopeTooltip:t,forceMount:r,children:n,container:i}=e,o=tr(ta,t);return(0,eM.jsx)(ts,{scope:t,forceMount:r,children:(0,eM.jsx)(eZ.C,{present:r||o.open,children:(0,eM.jsx)(eG.Z,{asChild:!0,container:i,children:n})})})};tu.displayName=ta;var tc="TooltipContent",td=i.forwardRef((e,t)=>{let r=tl(tc,e.__scopeTooltip),{forceMount:n=r.forceMount,side:i="top",...o}=e,a=tr(tc,e.__scopeTooltip);return(0,eM.jsx)(eZ.C,{present:n||a.open,children:a.disableHoverableContent?(0,eM.jsx)(tg,{side:i,...o,ref:t}):(0,eM.jsx)(th,{side:i,...o,ref:t})})}),th=i.forwardRef((e,t)=>{let r=tr(tc,e.__scopeTooltip),n=e7(tc,e.__scopeTooltip),o=i.useRef(null),s=(0,a.s)(t,o),[l,u]=i.useState(null),{trigger:c,onClose:d}=r,h=o.current,{onPointerInTransitChange:f}=n,p=i.useCallback(()=>{u(null),f(!1)},[f]),m=i.useCallback((e,t)=>{let r,n=e.currentTarget,i={x:e.clientX,y:e.clientY},o=function(e,t){let r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,i,o)){case o:return"left";case i:return"right";case r:return"top";case n:return"bottom";default:throw Error("unreachable")}}(i,n.getBoundingClientRect());u(((r=[...function(e,t,r=5){let n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}(i,o),...function(e){let{top:t,right:r,bottom:n,left:i}=e;return[{x:i,y:t},{x:r,y:t},{x:r,y:n},{x:i,y:n}]}(t.getBoundingClientRect())].slice()).sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}(r))),f(!0)},[f]);return i.useEffect(()=>()=>p(),[p]),i.useEffect(()=>{if(c&&h){let e=e=>m(e,h),t=e=>m(e,c);return c.addEventListener("pointerleave",e),h.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),h.removeEventListener("pointerleave",t)}}},[c,h,m,p]),i.useEffect(()=>{if(l){let e=e=>{let t=e.target,r={x:e.clientX,y:e.clientY},n=c?.contains(t)||h?.contains(t),i=!function(e,t){let{x:r,y:n}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let a=t[e],s=t[o],l=a.x,u=a.y,c=s.x,d=s.y;u>n!=d>n&&r<(c-l)*(n-u)/(d-u)+l&&(i=!i)}return i}(r,l);n?p():i&&(p(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,h,l,d,p]),(0,eM.jsx)(tg,{...e,ref:s})}),[tf,tp]=e2(te,{isInside:!1}),tm=(0,eJ.Dc)("TooltipContent"),tg=i.forwardRef((e,t)=>{let{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:s,...u}=e,c=tr(tc,r),d=e4(r),{onClose:h}=c;return i.useEffect(()=>(document.addEventListener(e5,h),()=>document.removeEventListener(e5,h)),[h]),i.useEffect(()=>{if(c.trigger){let e=e=>{let t=e.target;t?.contains(c.trigger)&&h()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,h]),(0,eM.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:h,children:(0,eM.jsxs)(e$,{"data-state":c.stateAttribute,...d,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,eM.jsx)(tm,{children:n}),(0,eM.jsx)(tf,{scope:r,isInside:!0,children:(0,eM.jsx)(e1,{id:c.contentId,role:"tooltip",children:o||n})})]})})});td.displayName=tc;var ty="TooltipArrow";i.forwardRef((e,t)=>{let{__scopeTooltip:r,...n}=e,i=e4(r);return tp(ty,r).isInside?null:(0,eM.jsx)(eq,{...i,...n,ref:t})}).displayName=ty;var tv=e8,tb=tn,tw=to,tx=tu,tk=td},62071:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},66038:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let n=r(12523),i=r(42016),o=r(36366),a=i._(r(70430)),s=n._(r(20891)),l=n._(r(97711)),u=r(99238),c=r(16011),d=r(94681);r(17367);let h=r(97692),f=n._(r(44574)),p=r(46933),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,n,i,o,a){let s=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&&i(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function y(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,a.forwardRef)(({src:e,srcSet:t,sizes:r,height:n,width:i,decoding:s,className:l,style:u,fetchPriority:c,placeholder:d,loading:h,unoptimized:f,fill:m,onLoadRef:v,onLoadingCompleteRef:b,setBlurComplete:w,setShowAltText:x,sizesInput:k,onLoad:S,onError:E,...A},P)=>{let T=(0,a.useCallback)(e=>{e&&(E&&(e.src=e.src),e.complete&&g(e,d,v,b,w,f,k))},[e,d,v,b,w,E,f,k]),M=(0,p.useMergedRef)(P,T);return(0,o.jsx)("img",{...A,...y(c),loading:h,width:i,height:n,decoding:s,"data-nimg":m?"fill":"1",className:l,style:u,sizes:r,srcSet:t,src:e,ref:M,onLoad:e=>{g(e.currentTarget,d,v,b,w,f,k)},onError:e=>{x(!0),"empty"!==d&&w(!0),E&&E(e)}})});function b({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...y(t.fetchPriority)};return e&&s.default.preload?(s.default.preload(t.src,r),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let w=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(h.RouterContext),n=(0,a.useContext)(d.ImageConfigContext),i=(0,a.useMemo)(()=>{let e=m||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:i,localPatterns:e.localPatterns}},[n]),{onLoad:s,onLoadingComplete:l}=e,p=(0,a.useRef)(s);(0,a.useEffect)(()=>{p.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[y,w]=(0,a.useState)(!1),[x,k]=(0,a.useState)(!1),{props:S,meta:E}=(0,u.getImgProps)(e,{defaultLoader:f.default,imgConf:i,blurComplete:y,showAltText:x});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...S,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:k,sizesInput:e.sizes,ref:t}),E.preload?(0,o.jsx)(b,{isAppRouter:!r,imgAttributes:S}):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)},71333:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},73875:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},73962:(e,t,r)=>{var n;r.d(t,{k:()=>m});let i={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 o(e){return (t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}let a={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({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:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return(t,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=r?.width?String(r.width):t;n=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=r?.width?String(r.width):e.defaultWidth;n=e.values[i]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function u(e){return(t,r={})=>{let n,i=r.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;let s=a[0],l=i&&e.parsePatterns[i]||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 n=e.valueCallback?e.valueCallback(u):u,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(s.length)}}}let c={code:"en-US",formatDistance:(e,t,r)=>{let n,o=i[e];if(n="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+n;else return n+" ago";return n},formatLong:a,formatRelative:(e,t,r,n)=>s[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:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({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:l({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:l({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:l({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)},(e,t={})=>{let r=e.match(n.matchPattern);if(!r)return null;let i=r[0],o=e.match(n.parsePattern);if(!o)return null;let a=n.valueCallback?n.valueCallback(o[0]):o[0];return{value:a=t.valueCallback?t.valueCallback(a):a,rest:e.slice(i.length)}}),era:u({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:u({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:u({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:u({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:u({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}},d={},h=Symbol.for("constructDateFrom");function f(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&h in e?e[h](t):e instanceof Date?new e.constructor(t):new Date(t)}function p(e){let t=f(e,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;let i,o,a=r?.locale??d.locale??c,s=(o=f(e,e)-f(t,t))<0?-1:o>0?1:o;if(isNaN(s))throw RangeError("Invalid time value");let l=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:s}),[u,h]=function(e,...t){let r=f.bind(null,e||t.find(e=>"object"==typeof e));return t.map(r)}(r?.in,...s>0?[t,e]:[e,t]),m=(n=r?.roundingMethod??"round",e=>{let t=(n?Math[n]:Math.trunc)(e);return 0===t?0:t}),g=h.getTime()-u.getTime(),y=g/6e4,v=(g-(p(h)-p(u)))/6e4,b=r?.unit;if("second"===(i=b||(y<1?"second":y<60?"minute":y<1440?"hour":v<43200?"day":v<525600?"month":"year"))){let e=m(g/1e3);return a.formatDistance("xSeconds",e,l)}if("minute"===i){let e=m(y);return a.formatDistance("xMinutes",e,l)}if("hour"===i){let e=m(y/60);return a.formatDistance("xHours",e,l)}if("day"===i){let e=m(v/1440);return a.formatDistance("xDays",e,l)}if("month"===i){let e=m(v/43200);return 12===e&&"month"!==b?a.formatDistance("xYears",1,l):a.formatDistance("xMonths",e,l)}else{let e=m(v/525600);return a.formatDistance("xYears",e,l)}}},75084:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},75800:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("git-branch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]])},77101:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},77932:(e,t,r)=>{r.d(t,{DX:()=>d,TL:()=>c});var n,i=r(70430),o=r(85391),a=r(36366),s=Symbol.for("react.lazy"),l=(n||(n=r.t(i,2)))[" use ".trim().toString()];function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function c(e){var t;let r,n=(t=e,(r=i.forwardRef((e,t)=>{let{children:r,...n}=e;if(u(r)&&"function"==typeof l&&(r=l(r._payload)),i.isValidElement(r)){var a;let e,s,l=(a=r,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==i.Fragment&&(u.ref=t?(0,o.t)(t,l):l),i.cloneElement(r,u)}return i.Children.count(r)>1?i.Children.only(null):null})).displayName=`${t}.SlotClone`,r),s=i.forwardRef((e,t)=>{let{children:r,...o}=e;u(r)&&"function"==typeof l&&(r=l(r._payload));let s=i.Children.toArray(r),c=s.find(f);if(c){let e=c.props.children,r=s.map(t=>t!==c?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,a.jsx)(n,{...o,ref:t,children:i.isValidElement(e)?i.cloneElement(e,void 0,r):null})}return(0,a.jsx)(n,{...o,ref:t,children:r})});return s.displayName=`${e}.Slot`,s}var d=c("Slot"),h=Symbol("radix.slottable");function f(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===h}},78755:(e,t,r)=>{r.d(t,{b:()=>l});var n=r(70430);r(20891);var i=r(77932),o=r(36366),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,i.TL)(`Primitive.${t}`),a=n.forwardRef((e,n)=>{let{asChild:i,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i?r:t,{...a,ref:n})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{}),s=n.forwardRef((e,t)=>(0,o.jsx)(a.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));s.displayName="Label";var l=s},79332:(e,t,r)=>{r.d(t,{M:()=>i});var n=r(70430);function i(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},79488:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var r={assign:function(){return s},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return a}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function i(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,o(e));else t.set(r,o(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},79613:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},80669:(e,t,r)=>{r.d(t,{xQ:()=>o});var n=r(70430),i=r(15962);function o(e=!0){let t=(0,n.useContext)(i.t);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:a,register:s}=t,l=(0,n.useId)();(0,n.useEffect)(()=>{if(e)return s(l)},[e]);let u=(0,n.useCallback)(()=>e&&a&&a(l),[l,a,e]);return!r&&a?[!1,u]:[!0]}},82625:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},82814:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("circle-plus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]])},83260:(e,t)=>{function r(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findClosestQuality",{enumerable:!0,get:function(){return r}})},85391:(e,t,r)=>{r.d(t,{s:()=>a,t:()=>o});var n=r(70430);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}function a(...e){return n.useCallback(o(...e),e)}},86247:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},86777:(e,t,r)=>{r.d(t,{Dc:()=>l,TL:()=>a});var n=r(70430),i=r(85391),o=r(36366);function a(e){var t;let r,a=(t=e,(r=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){var a;let e,s,l=(a=r,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(u.ref=t?(0,i.t)(t,l):l),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null})).displayName=`${t}.SlotClone`,r),s=n.forwardRef((e,t)=>{let{children:r,...i}=e,s=n.Children.toArray(r),l=s.find(u);if(l){let e=l.props.children,r=s.map(t=>t!==l?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(a,{...i,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,o.jsx)(a,{...i,ref:t,children:r})});return s.displayName=`${e}.Slot`,s}var s=Symbol("radix.slottable");function l(e){let t=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=s,t}function u(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}},87408:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},87618:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("sliders-horizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]])},89266:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]])},90042:(e,t,r)=>{var n=r(18894);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}})},90093:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("columns-2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]])},90656:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},90796:(e,t,r)=>{r.d(t,{L:()=>n});let n=(0,r(70430).createContext)({})},91283:(e,t,r)=>{r.d(t,{Q:()=>n});let n=(0,r(70430).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},93479:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},94681:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(12523)._(r(70430)),i=r(16011),o=n.default.createContext(i.imageConfigDefault)},95433:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},96551:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},96968:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},97692:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(12523)._(r(70430)).default.createContext(null)},97711:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return m},defaultHead:function(){return d}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(12523),a=r(42016),s=r(36366),l=a._(r(70430)),u=o._(r(57408)),c=r(14471);function d(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(17367);let f=["name","httpEquiv","charSet","itemProp"];function p(e){let t,r,n,i;return e.reduce(h,[]).reverse().concat(d().reverse()).filter((t=new Set,r=new Set,n=new Set,i={},e=>{let o=!0,a=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){a=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?o=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?o=!1:r.add(e.type);break;case"meta":for(let t=0,r=f.length;t<r;t++){let r=f[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?o=!1:n.add(r);else{let t=e.props[r],n=i[r]||new Set;("name"!==r||!a)&&n.has(t)?o=!1:(n.add(t),i[r]=n)}}}return o})).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let m=function({children:e}){let t=(0,l.useContext)(c.HeadManagerContext);return(0,s.jsx)(u.default,{reduceComponentsToState:p,headManager:t,children:e})};("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)},97876:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("lock-keyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]])},99238:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return u}}),r(17367);let n=r(35452),i=r(99423),o=r(16011),a=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function l(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 u({src:e,sizes:t,unoptimized:r=!1,priority:c=!1,preload:d=!1,loading:h,className:f,quality:p,width:m,height:g,fill:y=!1,style:v,overrideSrc:b,onLoad:w,onLoadingComplete:x,placeholder:k="empty",blurDataURL:S,fetchPriority:E,decoding:A="async",layout:P,objectFit:T,objectPosition:M,lazyBoundary:C,lazyRoot:R,...j},D){var L;let O,V,N,{imgConf:I,showAltText:F,blurComplete:z,defaultLoader:_}=D,B=I||o.imageConfigDefault;if("allSizes"in B)O=B;else{let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>e-t),t=B.deviceSizes.sort((e,t)=>e-t),r=B.qualities?.sort((e,t)=>e-t);O={...B,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===_)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let W=j.loader||_;delete j.loader,delete j.srcSet;let $="__next_img_default"in W;if($){if("custom"===O.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
5
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return d.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},e4=({contentRef:e,descriptionId:t})=>{let r=e3("DialogDescriptionWarning"),n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return d.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},e5=eD,e9=eO,e7=eF,e8=e_,te=eU,tt=eY,tr=eZ,tn=eQ},12482:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])},12802:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("briefcase-business",[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]])},15054:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},15411:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},15962:(e,t,r)=>{r.d(t,{t:()=>n});let n=(0,r(70430).createContext)(null)},16011:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return o}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},16055:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]])},16337:(e,t,r)=>{r.d(t,{OK:()=>X,bL:()=>q,VM:()=>k,lr:()=>L,LM:()=>K});var n=r(70430),i=r(1844),o=r(17685),a=r(34259),s=r(85391),l=r(29678),u=r(36756),c=r(28746),d=r(49059),h=r(36366),f="ScrollArea",[p,m]=(0,a.A)(f),[g,y]=p(f),v=n.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:o="hover",dir:a,scrollHideDelay:l=600,...c}=e,[d,f]=n.useState(null),[p,m]=n.useState(null),[y,v]=n.useState(null),[b,w]=n.useState(null),[x,k]=n.useState(null),[S,E]=n.useState(0),[A,P]=n.useState(0),[T,M]=n.useState(!1),[C,R]=n.useState(!1),j=(0,s.s)(t,e=>f(e)),D=(0,u.jH)(a);return(0,h.jsx)(g,{scope:r,type:o,dir:D,scrollHideDelay:l,scrollArea:d,viewport:p,onViewportChange:m,content:y,onContentChange:v,scrollbarX:b,onScrollbarXChange:w,scrollbarXEnabled:T,onScrollbarXEnabledChange:M,scrollbarY:x,onScrollbarYChange:k,scrollbarYEnabled:C,onScrollbarYEnabledChange:R,onCornerWidthChange:E,onCornerHeightChange:P,children:(0,h.jsx)(i.sG.div,{dir:D,...c,ref:j,style:{position:"relative","--radix-scroll-area-corner-width":S+"px","--radix-scroll-area-corner-height":A+"px",...e.style}})})});v.displayName=f;var b="ScrollAreaViewport",w=n.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:o,nonce:a,...l}=e,u=y(b,r),c=n.useRef(null),d=(0,s.s)(t,c,u.onViewportChange);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),(0,h.jsx)(i.sG.div,{"data-radix-scroll-area-viewport":"",...l,ref:d,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,h.jsx)("div",{ref:u.onContentChange,style:{minWidth:"100%",display:"table"},children:o})})]})});w.displayName=b;var x="ScrollAreaScrollbar",k=n.forwardRef((e,t)=>{let{forceMount:r,...i}=e,o=y(x,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:s}=o,l="horizontal"===e.orientation;return n.useEffect(()=>(l?a(!0):s(!0),()=>{l?a(!1):s(!1)}),[l,a,s]),"hover"===o.type?(0,h.jsx)(S,{...i,ref:t,forceMount:r}):"scroll"===o.type?(0,h.jsx)(E,{...i,ref:t,forceMount:r}):"auto"===o.type?(0,h.jsx)(A,{...i,ref:t,forceMount:r}):"always"===o.type?(0,h.jsx)(P,{...i,ref:t}):null});k.displayName=x;var S=n.forwardRef((e,t)=>{let{forceMount:r,...i}=e,a=y(x,e.__scopeScrollArea),[s,l]=n.useState(!1);return n.useEffect(()=>{let e=a.scrollArea,t=0;if(e){let r=()=>{window.clearTimeout(t),l(!0)},n=()=>{t=window.setTimeout(()=>l(!1),a.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",n)}}},[a.scrollArea,a.scrollHideDelay]),(0,h.jsx)(o.C,{present:r||s,children:(0,h.jsx)(A,{"data-state":s?"visible":"hidden",...i,ref:t})})}),E=n.forwardRef((e,t)=>{var r;let{forceMount:i,...a}=e,s=y(x,e.__scopeScrollArea),l="horizontal"===e.orientation,u=U(()=>f("SCROLL_END"),100),[c,f]=(r={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},n.useReducer((e,t)=>r[e][t]??e,"hidden"));return n.useEffect(()=>{if("idle"===c){let e=window.setTimeout(()=>f("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(e)}},[c,s.scrollHideDelay,f]),n.useEffect(()=>{let e=s.viewport,t=l?"scrollLeft":"scrollTop";if(e){let r=e[t],n=()=>{let n=e[t];r!==n&&(f("SCROLL"),u()),r=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[s.viewport,l,f,u]),(0,h.jsx)(o.C,{present:i||"hidden"!==c,children:(0,h.jsx)(P,{"data-state":"hidden"===c?"hidden":"visible",...a,ref:t,onPointerEnter:(0,d.mK)(e.onPointerEnter,()=>f("POINTER_ENTER")),onPointerLeave:(0,d.mK)(e.onPointerLeave,()=>f("POINTER_LEAVE"))})})}),A=n.forwardRef((e,t)=>{let r=y(x,e.__scopeScrollArea),{forceMount:i,...a}=e,[s,l]=n.useState(!1),u="horizontal"===e.orientation,c=U(()=>{if(r.viewport){let e=r.viewport.offsetWidth<r.viewport.scrollWidth,t=r.viewport.offsetHeight<r.viewport.scrollHeight;l(u?e:t)}},10);return H(r.viewport,c),H(r.content,c),(0,h.jsx)(o.C,{present:i||s,children:(0,h.jsx)(P,{"data-state":s?"visible":"hidden",...a,ref:t})})}),P=n.forwardRef((e,t)=>{let{orientation:r="vertical",...i}=e,o=y(x,e.__scopeScrollArea),a=n.useRef(null),s=n.useRef(0),[l,u]=n.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=z(l.viewport,l.content),d={...i,sizes:l,onSizesChange:u,hasThumb:!!(c>0&&c<1),onThumbChange:e=>a.current=e,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:e=>s.current=e};function f(e,t){return function(e,t,r,n="ltr"){let i=_(r),o=t||i/2,a=r.scrollbar.paddingStart+o,s=r.scrollbar.size-r.scrollbar.paddingEnd-(i-o),l=r.content-r.viewport;return W([a,s],"ltr"===n?[0,l]:[-1*l,0])(e)}(e,s.current,l,t)}return"horizontal"===r?(0,h.jsx)(T,{...d,ref:t,onThumbPositionChange:()=>{if(o.viewport&&a.current){let e=B(o.viewport.scrollLeft,l,o.dir);a.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{o.viewport&&(o.viewport.scrollLeft=e)},onDragScroll:e=>{o.viewport&&(o.viewport.scrollLeft=f(e,o.dir))}}):"vertical"===r?(0,h.jsx)(M,{...d,ref:t,onThumbPositionChange:()=>{if(o.viewport&&a.current){let e=B(o.viewport.scrollTop,l);a.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{o.viewport&&(o.viewport.scrollTop=e)},onDragScroll:e=>{o.viewport&&(o.viewport.scrollTop=f(e))}}):null}),T=n.forwardRef((e,t)=>{let{sizes:r,onSizesChange:i,...o}=e,a=y(x,e.__scopeScrollArea),[l,u]=n.useState(),c=n.useRef(null),d=(0,s.s)(t,c,a.onScrollbarXChange);return n.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),(0,h.jsx)(j,{"data-orientation":"horizontal",...o,ref:d,sizes:r,style:{bottom:0,left:"rtl"===a.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===a.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":_(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(a.viewport){var n,i;let o=a.viewport.scrollLeft+t.deltaX;e.onWheelScroll(o),n=o,i=r,n>0&&n<i&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&l&&i({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:F(l.paddingLeft),paddingEnd:F(l.paddingRight)}})}})}),M=n.forwardRef((e,t)=>{let{sizes:r,onSizesChange:i,...o}=e,a=y(x,e.__scopeScrollArea),[l,u]=n.useState(),c=n.useRef(null),d=(0,s.s)(t,c,a.onScrollbarYChange);return n.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),(0,h.jsx)(j,{"data-orientation":"vertical",...o,ref:d,sizes:r,style:{top:0,right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":_(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(a.viewport){var n,i;let o=a.viewport.scrollTop+t.deltaY;e.onWheelScroll(o),n=o,i=r,n>0&&n<i&&t.preventDefault()}},onResize:()=>{c.current&&a.viewport&&l&&i({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:F(l.paddingTop),paddingEnd:F(l.paddingBottom)}})}})}),[C,R]=p(x),j=n.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:o,hasThumb:a,onThumbChange:u,onThumbPointerUp:c,onThumbPointerDown:f,onThumbPositionChange:p,onDragScroll:m,onWheelScroll:g,onResize:v,...b}=e,w=y(x,r),[k,S]=n.useState(null),E=(0,s.s)(t,e=>S(e)),A=n.useRef(null),P=n.useRef(""),T=w.viewport,M=o.content-o.viewport,R=(0,l.c)(g),j=(0,l.c)(p),D=U(v,10);function L(e){A.current&&m({x:e.clientX-A.current.left,y:e.clientY-A.current.top})}return n.useEffect(()=>{let e=e=>{let t=e.target;k?.contains(t)&&R(e,M)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[T,k,M,R]),n.useEffect(j,[o,j]),H(k,D),H(w.content,D),(0,h.jsx)(C,{scope:r,scrollbar:k,hasThumb:a,onThumbChange:(0,l.c)(u),onThumbPointerUp:(0,l.c)(c),onThumbPositionChange:j,onThumbPointerDown:(0,l.c)(f),children:(0,h.jsx)(i.sG.div,{...b,ref:E,style:{position:"absolute",...b.style},onPointerDown:(0,d.mK)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),A.current=k.getBoundingClientRect(),P.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",w.viewport&&(w.viewport.style.scrollBehavior="auto"),L(e))}),onPointerMove:(0,d.mK)(e.onPointerMove,L),onPointerUp:(0,d.mK)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=P.current,w.viewport&&(w.viewport.style.scrollBehavior=""),A.current=null})})})}),D="ScrollAreaThumb",L=n.forwardRef((e,t)=>{let{forceMount:r,...n}=e,i=R(D,e.__scopeScrollArea);return(0,h.jsx)(o.C,{present:r||i.hasThumb,children:(0,h.jsx)(O,{ref:t,...n})})}),O=n.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:o,...a}=e,l=y(D,r),u=R(D,r),{onThumbPositionChange:c}=u,f=(0,s.s)(t,e=>u.onThumbChange(e)),p=n.useRef(void 0),m=U(()=>{p.current&&(p.current(),p.current=void 0)},100);return n.useEffect(()=>{let e=l.viewport;if(e){let t=()=>{m(),p.current||(p.current=$(e,c),c())};return c(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[l.viewport,m,c]),(0,h.jsx)(i.sG.div,{"data-state":u.hasThumb?"visible":"hidden",...a,ref:f,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...o},onPointerDownCapture:(0,d.mK)(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),r=e.clientX-t.left,n=e.clientY-t.top;u.onThumbPointerDown({x:r,y:n})}),onPointerUp:(0,d.mK)(e.onPointerUp,u.onThumbPointerUp)})});L.displayName=D;var V="ScrollAreaCorner",N=n.forwardRef((e,t)=>{let r=y(V,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&n?(0,h.jsx)(I,{...e,ref:t}):null});N.displayName=V;var I=n.forwardRef((e,t)=>{let{__scopeScrollArea:r,...o}=e,a=y(V,r),[s,l]=n.useState(0),[u,c]=n.useState(0),d=!!(s&&u);return H(a.scrollbarX,()=>{let e=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(e),c(e)}),H(a.scrollbarY,()=>{let e=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(e),l(e)}),d?(0,h.jsx)(i.sG.div,{...o,ref:t,style:{width:s,height:u,position:"absolute",right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:0,...e.style}}):null});function F(e){return e?parseInt(e,10):0}function z(e,t){let r=e/t;return isNaN(r)?0:r}function _(e){let t=z(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-r)*t,18)}function B(e,t,r="ltr"){let n=_(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-i,a=t.content-t.viewport,s=function(e,[t,r]){return Math.min(r,Math.max(t,e))}(e,"ltr"===r?[0,a]:[-1*a,0]);return W([0,a],[0,o-n])(s)}function W(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}var $=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return!function i(){let o={left:e.scrollLeft,top:e.scrollTop},a=r.left!==o.left,s=r.top!==o.top;(a||s)&&t(),r=o,n=window.requestAnimationFrame(i)}(),()=>window.cancelAnimationFrame(n)};function U(e,t){let r=(0,l.c)(e),i=n.useRef(0);return n.useEffect(()=>()=>window.clearTimeout(i.current),[]),n.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(r,t)},[r,t])}function H(e,t){let r=(0,l.c)(t);(0,c.N)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}var q=v,K=w,X=N},17685:(e,t,r)=>{r.d(t,{C:()=>a});var n=r(70430),i=r(85391),o=r(28746),a=e=>{var t;let r,a,{present:l,children:u}=e,c=function(e){var t,r;let[i,a]=n.useState(),l=n.useRef(null),u=n.useRef(e),c=n.useRef("none"),[d,h]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>r[e][t]??e,t));return n.useEffect(()=>{let e=s(l.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=l.current,r=u.current;if(r!==e){let n=c.current,i=s(t);e?h("MOUNT"):"none"===i||t?.display==="none"?h("UNMOUNT"):r&&n!==i?h("ANIMATION_OUT"):h("UNMOUNT"),u.current=e}},[e,h]),(0,o.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=s(l.current).includes(CSS.escape(r.animationName));if(r.target===i&&n&&(h("ANIMATION_END"),!u.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(c.current=s(l.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}h("ANIMATION_END")},[i,h]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{l.current=e?getComputedStyle(e):null,a(e)},[])}}(l),d="function"==typeof u?u({present:c.isPresent}):n.Children.only(u),h=(0,i.s)(c.ref,(t=d,(a=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(a=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof u||c.isPresent?n.cloneElement(d,{ref:h}):null};function s(e){return e?.animationName||"none"}a.displayName="Presence"},19163:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(70430);let i=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},o=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();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"};let s=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:s="",children:l,iconNode:u,...c},d)=>(0,n.createElement)("svg",{ref:d,...a,width:t,height:t,stroke:e,strokeWidth:i?24*Number(r)/Number(t):r,className:o("lucide",s),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(l)?l:[l]])),l=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...a},l)=>(0,n.createElement)(s,{ref:l,iconNode:t,className:o(`lucide-${i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...a}));return r.displayName=i(e),r}},19335:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},19469:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},20493:(e,t,r)=>{r.d(t,{QP:()=>eh});let n=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),i=[],o=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],i=r.nextPart.get(n);if(i){let r=o(e,t+1,i);if(r)return r}let a=r.validators;if(null===a)return;let s=0===t?e.join("-"):e.slice(t).join("-"),l=a.length;for(let e=0;e<l;e++){let t=a[e];if(t.validator(s))return t.classGroupId}},a=(e,t)=>{let r=n();for(let n in e)s(e[n],r,n,t);return r},s=(e,t,r,n)=>{let i=e.length;for(let o=0;o<i;o++)l(e[o],t,r,n)},l=(e,t,r,n)=>{"string"==typeof e?u(e,t,r):"function"==typeof e?c(e,t,r,n):d(e,t,r,n)},u=(e,t,r)=>{(""===e?t:h(t,e)).classGroupId=r},c=(e,t,r,n)=>{f(e)?s(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:r,validator:e}))},d=(e,t,r,n)=>{let i=Object.entries(e),o=i.length;for(let e=0;e<o;e++){let[o,a]=i[e];s(a,h(t,o),r,n)}},h=(e,t)=>{let r=e,i=t.split("-"),o=i.length;for(let e=0;e<o;e++){let t=i[e],o=r.nextPart.get(t);o||(o=n(),r.nextPart.set(t,o)),r=o}return r},f=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,p=[],m=(e,t,r,n,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:i}),g=/\s+/,y=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=y(e[n]))&&(r&&(r+=" "),r+=t);return r},v=[],b=e=>{let t=t=>t[e]||v;return t.isThemeGetter=!0,t},w=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,x=/^\((?:(\w[\w-]*):)?(.+)\)$/i,k=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,S=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,E=/\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$/,A=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,P=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,T=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>k.test(e),C=e=>!!e&&!Number.isNaN(Number(e)),R=e=>!!e&&Number.isInteger(Number(e)),j=e=>e.endsWith("%")&&C(e.slice(0,-1)),D=e=>S.test(e),L=()=>!0,O=e=>E.test(e)&&!A.test(e),V=()=>!1,N=e=>P.test(e),I=e=>T.test(e),F=e=>!_(e)&&!X(e),z=e=>er(e,ea,V),_=e=>w.test(e),B=e=>er(e,es,O),W=e=>er(e,el,C),$=e=>er(e,ec,L),U=e=>er(e,eu,V),H=e=>er(e,ei,V),q=e=>er(e,eo,I),K=e=>er(e,ed,N),X=e=>x.test(e),Y=e=>en(e,es),G=e=>en(e,eu),Z=e=>en(e,ei),J=e=>en(e,ea),Q=e=>en(e,eo),ee=e=>en(e,ed,!0),et=e=>en(e,ec,!0),er=(e,t,r)=>{let n=w.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},en=(e,t,r=!1)=>{let n=x.exec(e);return!!n&&(n[1]?t(n[1]):r)},ei=e=>"position"===e||"percentage"===e,eo=e=>"image"===e||"url"===e,ea=e=>"length"===e||"size"===e||"bg-size"===e,es=e=>"length"===e,el=e=>"number"===e,eu=e=>"family-name"===e,ec=e=>"number"===e||"weight"===e,ed=e=>"shadow"===e,eh=((e,...t)=>{let r,n,s,l,u=e=>{let t=n(e);if(t)return t;let i=((e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(g),l="";for(let e=s.length-1;e>=0;e-=1){let t=s[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:f}=r(t);if(u){l=t+(l.length>0?" "+l:l);continue}let p=!!f,m=n(p?h.substring(0,f):h);if(!m){if(!p||!(m=n(h))){l=t+(l.length>0?" "+l:l);continue}p=!1}let g=0===c.length?"":1===c.length?c[0]:o(c).join(":"),y=d?g+"!":g,v=y+m;if(a.indexOf(v)>-1)continue;a.push(v);let b=i(m,p);for(let e=0;e<b.length;++e){let t=b[e];a.push(y+t)}l=t+(l.length>0?" "+l:l)}return l})(e,r);return s(e,i),i};return l=c=>{var d;let h;return n=(r={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),i=(i,o)=>{r[i]=o,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(i(e,t),t):void 0},set(e,t){e in r?r[e]=t:i(e,t)}}})((d=t.reduce((e,t)=>t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,i=0,o=0,a=e.length;for(let s=0;s<a;s++){let a=e[s];if(0===n&&0===i){if(":"===a){r.push(e.slice(o,s)),o=s+1;continue}if("/"===a){t=s;continue}}"["===a?n++:"]"===a?n--:"("===a?i++:")"===a&&i--}let s=0===r.length?e:e.slice(o),l=s,u=!1;return s.endsWith("!")?(l=s.slice(0,-1),u=!0):s.startsWith("!")&&(l=s.slice(1),u=!0),m(r,u,l,t&&t>o?t-o:void 0)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):m(p,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n})(d),sortModifiers:(h=new Map,d.orderSensitiveModifiers.forEach((e,t)=>{h.set(e,1e6+t)}),e=>{let t=[],r=[];for(let n=0;n<e.length;n++){let i=e[n],o="["===i[0],a=h.has(i);o||a?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(i)):r.push(i)}return r.length>0&&(r.sort(),t.push(...r)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e;return a(r,t)})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var r;let t,n,i;return -1===(r=e).slice(1,-1).indexOf(":")?void 0:(n=(t=r.slice(1,-1)).indexOf(":"),(i=t.slice(0,n))?"arbitrary.."+i:void 0)}let n=e.split("-"),i=+(""===n[0]&&n.length>1);return o(n,i,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=n[e],o=r[e];if(t){if(o){let e=Array(o.length+t.length);for(let t=0;t<o.length;t++)e[t]=o[t];for(let r=0;r<t.length;r++)e[o.length+r]=t[r];return e}return t}return o||i}return r[e]||i}}})(d)}).cache.get,s=r.cache.set,l=u,u(c)},(...e)=>l(((...e)=>{let t,r,n=0,i="";for(;n<e.length;)(t=e[n++])&&(r=y(t))&&(i&&(i+=" "),i+=r);return i})(...e))})(()=>{let e=b("color"),t=b("font"),r=b("text"),n=b("font-weight"),i=b("tracking"),o=b("leading"),a=b("breakpoint"),s=b("container"),l=b("spacing"),u=b("radius"),c=b("shadow"),d=b("inset-shadow"),h=b("text-shadow"),f=b("drop-shadow"),p=b("blur"),m=b("perspective"),g=b("aspect"),y=b("ease"),v=b("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...x(),X,_],S=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],A=()=>[X,_,l],P=()=>[M,"full","auto",...A()],T=()=>[R,"none","subgrid",X,_],O=()=>["auto",{span:["full",R,X,_]},R,X,_],V=()=>[R,"auto",X,_],N=()=>["auto","min","max","fr",X,_],I=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],er=()=>["start","end","center","stretch","center-safe","end-safe"],en=()=>["auto",...A()],ei=()=>[M,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...A()],eo=()=>[M,"screen","full","dvw","lvw","svw","min","max","fit",...A()],ea=()=>[M,"screen","full","lh","dvh","lvh","svh","min","max","fit",...A()],es=()=>[e,X,_],el=()=>[...x(),Z,H,{position:[X,_]}],eu=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ec=()=>["auto","cover","contain",J,z,{size:[X,_]}],ed=()=>[j,Y,B],eh=()=>["","none","full",u,X,_],ef=()=>["",C,Y,B],ep=()=>["solid","dashed","dotted","double"],em=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],eg=()=>[C,j,Z,H],ey=()=>["","none",p,X,_],ev=()=>["none",C,X,_],eb=()=>["none",C,X,_],ew=()=>[C,X,_],ex=()=>[M,"full",...A()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[D],breakpoint:[D],color:[L],container:[D],"drop-shadow":[D],ease:["in","out","in-out"],font:[F],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[D],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[D],shadow:[D],spacing:["px",C],text:[D],"text-shadow":[D],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",M,_,X,g]}],container:["container"],columns:[{columns:[C,_,X,s]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{"inset-s":P(),start:P()}],end:[{"inset-e":P(),end:P()}],"inset-bs":[{"inset-bs":P()}],"inset-be":[{"inset-be":P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[R,"auto",X,_]}],basis:[{basis:[M,"full","auto",s,...A()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[C,M,"auto","initial","none",_]}],grow:[{grow:["",C,X,_]}],shrink:[{shrink:["",C,X,_]}],order:[{order:[R,"first","last","none",X,_]}],"grid-cols":[{"grid-cols":T()}],"col-start-end":[{col:O()}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":T()}],"row-start-end":[{row:O()}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"justify-content":[{justify:[...I(),"normal"]}],"justify-items":[{"justify-items":[...er(),"normal"]}],"justify-self":[{"justify-self":["auto",...er()]}],"align-content":[{content:["normal",...I()]}],"align-items":[{items:[...er(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...er(),{baseline:["","last"]}]}],"place-content":[{"place-content":I()}],"place-items":[{"place-items":[...er(),"baseline"]}],"place-self":[{"place-self":["auto",...er()]}],p:[{p:A()}],px:[{px:A()}],py:[{py:A()}],ps:[{ps:A()}],pe:[{pe:A()}],pbs:[{pbs:A()}],pbe:[{pbe:A()}],pt:[{pt:A()}],pr:[{pr:A()}],pb:[{pb:A()}],pl:[{pl:A()}],m:[{m:en()}],mx:[{mx:en()}],my:[{my:en()}],ms:[{ms:en()}],me:[{me:en()}],mbs:[{mbs:en()}],mbe:[{mbe:en()}],mt:[{mt:en()}],mr:[{mr:en()}],mb:[{mb:en()}],ml:[{ml:en()}],"space-x":[{"space-x":A()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":A()}],"space-y-reverse":["space-y-reverse"],size:[{size:ei()}],"inline-size":[{inline:["auto",...eo()]}],"min-inline-size":[{"min-inline":["auto",...eo()]}],"max-inline-size":[{"max-inline":["none",...eo()]}],"block-size":[{block:["auto",...ea()]}],"min-block-size":[{"min-block":["auto",...ea()]}],"max-block-size":[{"max-block":["none",...ea()]}],w:[{w:[s,"screen",...ei()]}],"min-w":[{"min-w":[s,"screen","none",...ei()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...ei()]}],h:[{h:["screen","lh",...ei()]}],"min-h":[{"min-h":["screen","lh","none",...ei()]}],"max-h":[{"max-h":["screen","lh",...ei()]}],"font-size":[{text:["base",r,Y,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,et,$]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",j,_]}],"font-family":[{font:[G,U,t]}],"font-features":[{"font-features":[_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,X,_]}],"line-clamp":[{"line-clamp":[C,"none",X,W]}],leading:[{leading:[o,...A()]}],"list-image":[{"list-image":["none",X,_]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",X,_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:es()}],"text-color":[{text:es()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ep(),"wavy"]}],"text-decoration-thickness":[{decoration:[C,"from-font","auto",X,B]}],"text-decoration-color":[{decoration:es()}],"underline-offset":[{"underline-offset":[C,"auto",X,_]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X,_]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",X,_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:el()}],"bg-repeat":[{bg:eu()}],"bg-size":[{bg:ec()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},R,X,_],radial:["",X,_],conic:[R,X,_]},Q,q]}],"bg-color":[{bg:es()}],"gradient-from-pos":[{from:ed()}],"gradient-via-pos":[{via:ed()}],"gradient-to-pos":[{to:ed()}],"gradient-from":[{from:es()}],"gradient-via":[{via:es()}],"gradient-to":[{to:es()}],rounded:[{rounded:eh()}],"rounded-s":[{"rounded-s":eh()}],"rounded-e":[{"rounded-e":eh()}],"rounded-t":[{"rounded-t":eh()}],"rounded-r":[{"rounded-r":eh()}],"rounded-b":[{"rounded-b":eh()}],"rounded-l":[{"rounded-l":eh()}],"rounded-ss":[{"rounded-ss":eh()}],"rounded-se":[{"rounded-se":eh()}],"rounded-ee":[{"rounded-ee":eh()}],"rounded-es":[{"rounded-es":eh()}],"rounded-tl":[{"rounded-tl":eh()}],"rounded-tr":[{"rounded-tr":eh()}],"rounded-br":[{"rounded-br":eh()}],"rounded-bl":[{"rounded-bl":eh()}],"border-w":[{border:ef()}],"border-w-x":[{"border-x":ef()}],"border-w-y":[{"border-y":ef()}],"border-w-s":[{"border-s":ef()}],"border-w-e":[{"border-e":ef()}],"border-w-bs":[{"border-bs":ef()}],"border-w-be":[{"border-be":ef()}],"border-w-t":[{"border-t":ef()}],"border-w-r":[{"border-r":ef()}],"border-w-b":[{"border-b":ef()}],"border-w-l":[{"border-l":ef()}],"divide-x":[{"divide-x":ef()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ef()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ep(),"hidden","none"]}],"divide-style":[{divide:[...ep(),"hidden","none"]}],"border-color":[{border:es()}],"border-color-x":[{"border-x":es()}],"border-color-y":[{"border-y":es()}],"border-color-s":[{"border-s":es()}],"border-color-e":[{"border-e":es()}],"border-color-bs":[{"border-bs":es()}],"border-color-be":[{"border-be":es()}],"border-color-t":[{"border-t":es()}],"border-color-r":[{"border-r":es()}],"border-color-b":[{"border-b":es()}],"border-color-l":[{"border-l":es()}],"divide-color":[{divide:es()}],"outline-style":[{outline:[...ep(),"none","hidden"]}],"outline-offset":[{"outline-offset":[C,X,_]}],"outline-w":[{outline:["",C,Y,B]}],"outline-color":[{outline:es()}],shadow:[{shadow:["","none",c,ee,K]}],"shadow-color":[{shadow:es()}],"inset-shadow":[{"inset-shadow":["none",d,ee,K]}],"inset-shadow-color":[{"inset-shadow":es()}],"ring-w":[{ring:ef()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:es()}],"ring-offset-w":[{"ring-offset":[C,B]}],"ring-offset-color":[{"ring-offset":es()}],"inset-ring-w":[{"inset-ring":ef()}],"inset-ring-color":[{"inset-ring":es()}],"text-shadow":[{"text-shadow":["none",h,ee,K]}],"text-shadow-color":[{"text-shadow":es()}],opacity:[{opacity:[C,X,_]}],"mix-blend":[{"mix-blend":[...em(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":em()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[C]}],"mask-image-linear-from-pos":[{"mask-linear-from":eg()}],"mask-image-linear-to-pos":[{"mask-linear-to":eg()}],"mask-image-linear-from-color":[{"mask-linear-from":es()}],"mask-image-linear-to-color":[{"mask-linear-to":es()}],"mask-image-t-from-pos":[{"mask-t-from":eg()}],"mask-image-t-to-pos":[{"mask-t-to":eg()}],"mask-image-t-from-color":[{"mask-t-from":es()}],"mask-image-t-to-color":[{"mask-t-to":es()}],"mask-image-r-from-pos":[{"mask-r-from":eg()}],"mask-image-r-to-pos":[{"mask-r-to":eg()}],"mask-image-r-from-color":[{"mask-r-from":es()}],"mask-image-r-to-color":[{"mask-r-to":es()}],"mask-image-b-from-pos":[{"mask-b-from":eg()}],"mask-image-b-to-pos":[{"mask-b-to":eg()}],"mask-image-b-from-color":[{"mask-b-from":es()}],"mask-image-b-to-color":[{"mask-b-to":es()}],"mask-image-l-from-pos":[{"mask-l-from":eg()}],"mask-image-l-to-pos":[{"mask-l-to":eg()}],"mask-image-l-from-color":[{"mask-l-from":es()}],"mask-image-l-to-color":[{"mask-l-to":es()}],"mask-image-x-from-pos":[{"mask-x-from":eg()}],"mask-image-x-to-pos":[{"mask-x-to":eg()}],"mask-image-x-from-color":[{"mask-x-from":es()}],"mask-image-x-to-color":[{"mask-x-to":es()}],"mask-image-y-from-pos":[{"mask-y-from":eg()}],"mask-image-y-to-pos":[{"mask-y-to":eg()}],"mask-image-y-from-color":[{"mask-y-from":es()}],"mask-image-y-to-color":[{"mask-y-to":es()}],"mask-image-radial":[{"mask-radial":[X,_]}],"mask-image-radial-from-pos":[{"mask-radial-from":eg()}],"mask-image-radial-to-pos":[{"mask-radial-to":eg()}],"mask-image-radial-from-color":[{"mask-radial-from":es()}],"mask-image-radial-to-color":[{"mask-radial-to":es()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[C]}],"mask-image-conic-from-pos":[{"mask-conic-from":eg()}],"mask-image-conic-to-pos":[{"mask-conic-to":eg()}],"mask-image-conic-from-color":[{"mask-conic-from":es()}],"mask-image-conic-to-color":[{"mask-conic-to":es()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:el()}],"mask-repeat":[{mask:eu()}],"mask-size":[{mask:ec()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",X,_]}],filter:[{filter:["","none",X,_]}],blur:[{blur:ey()}],brightness:[{brightness:[C,X,_]}],contrast:[{contrast:[C,X,_]}],"drop-shadow":[{"drop-shadow":["","none",f,ee,K]}],"drop-shadow-color":[{"drop-shadow":es()}],grayscale:[{grayscale:["",C,X,_]}],"hue-rotate":[{"hue-rotate":[C,X,_]}],invert:[{invert:["",C,X,_]}],saturate:[{saturate:[C,X,_]}],sepia:[{sepia:["",C,X,_]}],"backdrop-filter":[{"backdrop-filter":["","none",X,_]}],"backdrop-blur":[{"backdrop-blur":ey()}],"backdrop-brightness":[{"backdrop-brightness":[C,X,_]}],"backdrop-contrast":[{"backdrop-contrast":[C,X,_]}],"backdrop-grayscale":[{"backdrop-grayscale":["",C,X,_]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[C,X,_]}],"backdrop-invert":[{"backdrop-invert":["",C,X,_]}],"backdrop-opacity":[{"backdrop-opacity":[C,X,_]}],"backdrop-saturate":[{"backdrop-saturate":[C,X,_]}],"backdrop-sepia":[{"backdrop-sepia":["",C,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:["","all","colors","opacity","shadow","transform","none",X,_]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[C,"initial",X,_]}],ease:[{ease:["linear","initial",y,X,_]}],delay:[{delay:[C,X,_]}],animate:[{animate:["none",v,X,_]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,X,_]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:ev()}],"rotate-x":[{"rotate-x":ev()}],"rotate-y":[{"rotate-y":ev()}],"rotate-z":[{"rotate-z":ev()}],scale:[{scale:eb()}],"scale-x":[{"scale-x":eb()}],"scale-y":[{"scale-y":eb()}],"scale-z":[{"scale-z":eb()}],"scale-3d":["scale-3d"],skew:[{skew:ew()}],"skew-x":[{"skew-x":ew()}],"skew-y":[{"skew-y":ew()}],transform:[{transform:[X,_,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ex()}],"translate-x":[{"translate-x":ex()}],"translate-y":[{"translate-y":ex()}],"translate-z":[{"translate-z":ex()}],"translate-none":["translate-none"],accent:[{accent:es()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:es()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",X,_]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mbs":[{"scroll-mbs":A()}],"scroll-mbe":[{"scroll-mbe":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pbs":[{"scroll-pbs":A()}],"scroll-pbe":[{"scroll-pbe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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",X,_]}],fill:[{fill:["none",...es()]}],"stroke-w":[{stroke:[C,Y,B,W]}],stroke:[{stroke:["none",...es()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}})},20744:(e,t,r)=>{r.d(t,{qW:()=>h});var n,i=r(70430),o=r(49059),a=r(1844),s=r(85391),l=r(29678),u=r(36366),c="dismissableLayer.update",d=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:y,onDismiss:v,...b}=e,w=i.useContext(d),[x,k]=i.useState(null),S=x?.ownerDocument??globalThis?.document,[,E]=i.useState({}),A=(0,s.s)(t,e=>k(e)),P=Array.from(w.layers),[T]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),M=P.indexOf(T),C=x?P.indexOf(x):-1,R=w.layersWithOutsidePointerEventsDisabled.size>0,j=C>=M,D=function(e,t=globalThis?.document){let r=(0,l.c)(e),n=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){p("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=[...w.branches].some(e=>e.contains(t));j&&!r&&(m?.(e),y?.(e),e.defaultPrevented||v?.())},S),L=function(e,t=globalThis?.document){let r=(0,l.c)(e),n=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!n.current&&p("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;![...w.branches].some(e=>e.contains(t))&&(g?.(e),y?.(e),e.defaultPrevented||v?.())},S);return!function(e,t=globalThis?.document){let r=(0,l.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{C===w.layers.size-1&&(h?.(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},S),i.useEffect(()=>{if(x)return r&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(n=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(x)),w.layers.add(x),f(),()=>{r&&1===w.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=n)}},[x,S,r,w]),i.useEffect(()=>()=>{x&&(w.layers.delete(x),w.layersWithOutsidePointerEventsDisabled.delete(x),f())},[x,w]),i.useEffect(()=>{let e=()=>E({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(a.sG.div,{...b,ref:A,style:{pointerEvents:R?j?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,L.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,D.onPointerDownCapture)})});function f(){let e=new CustomEvent(c);document.dispatchEvent(e)}function p(e,t,r,{discrete:n}){let i=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?(0,a.hO)(i,o):i.dispatchEvent(o)}h.displayName="DismissableLayer",i.forwardRef((e,t)=>{let r=i.useContext(d),n=i.useRef(null),o=(0,s.s)(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)(a.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},22787:(e,t,r)=>{r.d(t,{G:()=>n});function n(e){return"object"==typeof e&&null!==e}},23688:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("folder-open-dot",[["path",{d:"m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H18a2 2 0 0 1 2 2v2",key:"1nmvlm"}],["circle",{cx:"14",cy:"15",r:"1",key:"1gm4qj"}]])},23960:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]])},24809:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return b}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(42016),a=r(36366),s=o._(r(70430)),l=r(35520),u=r(14718),c=r(46933),d=r(55118),h=r(20);r(17367);let f=r(17473),p=r(59737),m=r(34585),g=r(96676);function y(e){var t,n;let i,o,y,[b,w]=(0,s.useOptimistic)(p.IDLE_LINK_STATUS),x=(0,s.useRef)(null),{href:k,as:S,children:E,prefetch:A=null,passHref:P,replace:T,shallow:M,scroll:C,onClick:R,onMouseEnter:j,onTouchStart:D,legacyBehavior:L=!1,onNavigate:O,transitionTypes:V,ref:N,unstable_dynamicOnHover:I,...F}=e;i=E,L&&("string"==typeof i||"number"==typeof i)&&(i=(0,a.jsx)("a",{children:i}));let z=s.default.useContext(u.AppRouterContext),_=!1!==A,B=!1!==A?null===(n=A)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,W="string"==typeof(t=S||k)?t:(0,l.formatUrl)(t);if(L){if(i?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(i)}let $=L?o&&"object"==typeof o&&o.ref:N,U=s.default.useCallback(e=>(null!==z&&(x.current=(0,p.mountLinkInstance)(e,W,z,B,_,w)),()=>{x.current&&((0,p.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,p.unmountPrefetchableInstance)(e)}),[_,W,z,B,w]),H={ref:(0,c.useMergedRef)(U,$),onClick(e){L||"function"!=typeof R||R(e),L&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),!z||e.defaultPrevented||function(e,t,n,i,o,a,l){{let u,{nodeName:c}=e.currentTarget;if("A"===c.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(t)){i&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=r(18389);s.default.startTransition(()=>{d(t,i?"replace":"push",!1===o?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,n.current,l)})}}(e,W,x,T,C,O,V)},onMouseEnter(e){L||"function"!=typeof j||j(e),L&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),z&&_&&(0,p.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){L||"function"!=typeof D||D(e),L&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),z&&_&&(0,p.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,d.isAbsoluteUrl)(W)?H.href=W:L&&!P&&("a"!==o.type||"href"in o.props)||(H.href=(0,h.addBasePath)(W)),y=L?s.default.cloneElement(o,H):(0,a.jsx)("a",{...F,...H,children:i}),(0,a.jsx)(v.Provider,{value:b,children:y})}r(19335);let v=(0,s.createContext)(p.IDLE_LINK_STATUS),b=()=>(0,s.useContext)(v);("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)},26563:(e,t,r)=>{r.d(t,{UC:()=>J,B8:()=>G,bL:()=>Y,l9:()=>Z});var n=r(70430),i=r(49059),o=r(34259),a=r(85391),s=r(86777),l=r(36366),u=new WeakMap;function c(e,t){var r,n;let i,o,a;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(r=e,n=t,i=r.length,(a=(o=d(n))>=0?o:i+o)<0||a>=i?-1:a);return -1===s?void 0:e[s]}function d(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],u.set(this,!0)}set(e,t){return u.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,a=d(e),s=a>=0?a:o+a,l=s<0||s>=o?-1:s;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,r),this;let u=this.size+ +!i;a<0&&s++;let c=[...this.#e],h=!1;for(let e=s;e<u;e++)if(s===e){let o=c[e];c[e]===t&&(o=c[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{h||c[e-1]!==t||(h=!0);let r=c[h?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=c(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=c(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return c(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}});var h=r(39070),f=r(1844),p=r(29678),m=r(37750),g=r(36756),y="rovingFocusGroup.onEntryFocus",v={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[w,x,k]=function(e){let t=e+"CollectionProvider",[r,i]=(0,o.A)(t),[u,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,i=n.useRef(null),o=n.useRef(new Map).current;return(0,l.jsx)(u,{scope:t,itemMap:o,collectionRef:i,children:r})};d.displayName=t;let h=e+"CollectionSlot",f=(0,s.TL)(h),p=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=c(h,r),o=(0,a.s)(t,i.collectionRef);return(0,l.jsx)(f,{ref:o,children:n})});p.displayName=h;let m=e+"CollectionItemSlot",g="data-radix-collection-item",y=(0,s.TL)(m),v=n.forwardRef((e,t)=>{let{scope:r,children:i,...o}=e,s=n.useRef(null),u=(0,a.s)(t,s),d=c(m,r);return n.useEffect(()=>(d.itemMap.set(s,{ref:s,...o}),()=>void d.itemMap.delete(s))),(0,l.jsx)(y,{...{[g]:""},ref:u,children:i})});return v.displayName=m,[{Provider:d,Slot:p,ItemSlot:v},function(t){let r=c(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},i]}(b),[S,E]=(0,o.A)(b,[k]),[A,P]=S(b),T=n.forwardRef((e,t)=>(0,l.jsx)(w.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,l.jsx)(w.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,l.jsx)(M,{...e,ref:t})})}));T.displayName=b;var M=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:o,loop:s=!1,dir:u,currentTabStopId:c,defaultCurrentTabStopId:d,onCurrentTabStopIdChange:h,onEntryFocus:w,preventScrollOnEntryFocus:k=!1,...S}=e,E=n.useRef(null),P=(0,a.s)(t,E),T=(0,g.jH)(u),[M,C]=(0,m.i)({prop:c,defaultProp:d??null,onChange:h,caller:b}),[R,j]=n.useState(!1),L=(0,p.c)(w),O=x(r),V=n.useRef(!1),[N,I]=n.useState(0);return n.useEffect(()=>{let e=E.current;if(e)return e.addEventListener(y,L),()=>e.removeEventListener(y,L)},[L]),(0,l.jsx)(A,{scope:r,orientation:o,dir:T,loop:s,currentTabStopId:M,onItemFocus:n.useCallback(e=>C(e),[C]),onItemShiftTab:n.useCallback(()=>j(!0),[]),onFocusableItemAdd:n.useCallback(()=>I(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>I(e=>e-1),[]),children:(0,l.jsx)(f.sG.div,{tabIndex:R||0===N?-1:0,"data-orientation":o,...S,ref:P,style:{outline:"none",...e.style},onMouseDown:(0,i.mK)(e.onMouseDown,()=>{V.current=!0}),onFocus:(0,i.mK)(e.onFocus,e=>{let t=!V.current;if(e.target===e.currentTarget&&t&&!R){let t=new CustomEvent(y,v);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=O().filter(e=>e.focusable);D([e.find(e=>e.active),e.find(e=>e.id===M),...e].filter(Boolean).map(e=>e.ref.current),k)}}V.current=!1}),onBlur:(0,i.mK)(e.onBlur,()=>j(!1))})})}),C="RovingFocusGroupItem",R=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:o=!0,active:a=!1,tabStopId:s,children:u,...c}=e,d=(0,h.B)(),p=s||d,m=P(C,r),g=m.currentTabStopId===p,y=x(r),{onFocusableItemAdd:v,onFocusableItemRemove:b,currentTabStopId:k}=m;return n.useEffect(()=>{if(o)return v(),()=>b()},[o,v,b]),(0,l.jsx)(w.ItemSlot,{scope:r,id:p,focusable:o,active:a,children:(0,l.jsx)(f.sG.span,{tabIndex:g?0:-1,"data-orientation":m.orientation,...c,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{o?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.mK)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return j[i]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=y().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&i.reverse();let o=i.indexOf(e.currentTarget);i=m.loop?(r=i,n=o+1,r.map((e,t)=>r[(n+t)%r.length])):i.slice(o+1)}setTimeout(()=>D(i))}}),children:"function"==typeof u?u({isCurrentTabStop:g,hasTabStop:null!=k}):u})})});R.displayName=C;var j={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function D(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var L=r(17685),O="Tabs",[V,N]=(0,o.A)(O,[E]),I=E(),[F,z]=V(O),_=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,onValueChange:i,defaultValue:o,orientation:a="horizontal",dir:s,activationMode:u="automatic",...c}=e,d=(0,g.jH)(s),[p,y]=(0,m.i)({prop:n,onChange:i,defaultProp:o??"",caller:O});return(0,l.jsx)(F,{scope:r,baseId:(0,h.B)(),value:p,onValueChange:y,orientation:a,dir:d,activationMode:u,children:(0,l.jsx)(f.sG.div,{dir:d,"data-orientation":a,...c,ref:t})})});_.displayName=O;var B="TabsList",W=n.forwardRef((e,t)=>{let{__scopeTabs:r,loop:n=!0,...i}=e,o=z(B,r),a=I(r);return(0,l.jsx)(T,{asChild:!0,...a,orientation:o.orientation,dir:o.dir,loop:n,children:(0,l.jsx)(f.sG.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:t})})});W.displayName=B;var $="TabsTrigger",U=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,disabled:o=!1,...a}=e,s=z($,r),u=I(r),c=K(s.baseId,n),d=X(s.baseId,n),h=n===s.value;return(0,l.jsx)(R,{asChild:!0,...u,focusable:!o,active:h,children:(0,l.jsx)(f.sG.button,{type:"button",role:"tab","aria-selected":h,"aria-controls":d,"data-state":h?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:c,...a,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{o||0!==e.button||!1!==e.ctrlKey?e.preventDefault():s.onValueChange(n)}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&s.onValueChange(n)}),onFocus:(0,i.mK)(e.onFocus,()=>{let e="manual"!==s.activationMode;h||o||!e||s.onValueChange(n)})})})});U.displayName=$;var H="TabsContent",q=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:i,forceMount:o,children:a,...s}=e,u=z(H,r),c=K(u.baseId,i),d=X(u.baseId,i),h=i===u.value,p=n.useRef(h);return n.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,l.jsx)(L.C,{present:o||h,children:({present:r})=>(0,l.jsx)(f.sG.div,{"data-state":h?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":c,hidden:!r,id:d,tabIndex:0,...s,ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0},children:r&&a})})});function K(e,t){return`${e}-trigger-${t}`}function X(e,t){return`${e}-content-${t}`}q.displayName=H;var Y=_,G=W,Z=U,J=q},27765:(e,t,r)=>{r.d(t,{s:()=>i});var n=r(22787);function i(e){return(0,n.G)(e)&&"offsetHeight"in e}},28746:(e,t,r)=>{r.d(t,{N:()=>i});var n=r(70430),i=globalThis?.document?n.useLayoutEffect:()=>{}},29678:(e,t,r)=>{r.d(t,{c:()=>i});var n=r(70430);function i(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},33494:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},34259:(e,t,r)=>{r.d(t,{A:()=>a,q:()=>o});var n=r(70430),i=r(36366);function o(e,t){let r=n.createContext(t),o=e=>{let{children:t,...o}=e,a=n.useMemo(()=>o,Object.values(o));return(0,i.jsx)(r.Provider,{value:a,children:t})};return o.displayName=e+"Provider",[o,function(i){let o=n.useContext(r);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function a(e,t=[]){let r=[],o=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return o.scopeName=e,[function(t,o){let a=n.createContext(o),s=r.length;r=[...r,o];let l=t=>{let{scope:r,children:o,...l}=t,u=r?.[e]?.[s]||a,c=n.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:c,children:o})};return l.displayName=t+"Provider",[l,function(r,i){let l=i?.[e]?.[s]||a,u=n.useContext(l);if(u)return u;if(void 0!==o)return o;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 i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(o,...t)]}},34585:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=r(55118),i=r(30703);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},34779:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]])},35421:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]])},35520:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(42016)._(r(79488)),a=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(o.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${i}${c}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},35941:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]])},36756:(e,t,r)=>{r.d(t,{jH:()=>o});var n=r(70430);r(36366);var i=n.createContext(void 0);function o(e){let t=n.useContext(i);return e||t||"ltr"}},37227:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},37750:(e,t,r)=>{r.d(t,{i:()=>s});var n,i=r(70430),o=r(28746),a=(n||(n=r.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function s({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[o,l,u]=function({defaultProp:e,onChange:t}){let[r,n]=i.useState(e),o=i.useRef(r),s=i.useRef(t);return a(()=>{s.current=t},[t]),i.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}({defaultProp:t,onChange:r}),c=void 0!==e,d=c?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,n])}return[d,i.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else l(t)},[c,e,l,u])]}Symbol("RADIX:SYNC_STATE")},38220:(e,t,r)=>{r.d(t,{E:()=>i});var n=r(70430);let i="u">typeof window?n.useLayoutEffect:n.useEffect},39070:(e,t,r)=>{r.d(t,{B:()=>l});var n,i=r(70430),o=r(28746),a=(n||(n=r.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),s=0;function l(e){let[t,r]=i.useState(a());return(0,o.N)(()=>{e||r(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},39582:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},40478:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(12523),a=r(99238),s=r(66038),l=o._(r(44574));function u(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=s.Image},41363:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]])},41880:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("send-horizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]])},41932:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(70430),i=r(20891),o=r(1844),a=r(28746),s=r(36366),l=n.forwardRef((e,t)=>{let{container:r,...l}=e,[u,c]=n.useState(!1);(0,a.N)(()=>c(!0),[]);let d=r||u&&globalThis?.document?.body;return d?i.createPortal((0,s.jsx)(o.sG.div,{...l,ref:t}),d):null});l.displayName="Portal"},44574:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(83260),i=r(35452);function o({config:e,src:t,width:r,quality:a}){let s=(0,i.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),n=r.get("dpl");if(n){s=n,r.delete("dpl");let i=r.toString();t=t.slice(0,e)+(i?"?"+i:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
6
+ Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,n.findClosestQuality)(a,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${l}${t.startsWith("/")&&s?`&dpl=${s}`:""}`}o.__next_img_default=!0;let a=o},45286:(e,t,r)=>{r.d(t,{$:()=>n});function n(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(n&&(n+=" "),n+=t);return n}},45787:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},45880:(e,t,r)=>{r.d(t,{F:()=>a});var n=r(45286);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=n.$,a=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:s}=t,l=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==s?void 0:s[e];if(null===t)return null;let o=i(t)||i(n);return a[e][o]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,l,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...u}[t]):({...s,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},46933:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=r(70430);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(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)},47377:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("settings-2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]])},48758:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},48988:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},49059:(e,t,r)=>{function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{mK:()=>n}),"u">typeof window&&window.document&&window.document.createElement},49568:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},55118:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var r={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return b},NormalizeError:function(){return y},PageNotFoundError:function(){return v},SP:function(){return p},ST:function(){return m},WEB_VITALS:function(){return i},execOnce:function(){return o},getDisplayName:function(){return c},getLocationOrigin:function(){return l},getURL:function(){return u},isAbsoluteUrl:function(){return s},isResSent:function(){return d},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return x}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>a.test(e);function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function u(){let{href:e}=window.location,t=l();return e.substring(t.length)}function c(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Object.defineProperty(Error(`"${c(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let p="u">typeof performance,m=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class y extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class b extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(e){return JSON.stringify({message:e.message,stack:e.stack})}},55413:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},57408:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(70430),i=n.useLayoutEffect,o=n.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function a(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return i(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),i(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},60159:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]])},60971:(e,t,r)=>{let n;r.d(t,{UC:()=>tk,ZL:()=>tx,Kq:()=>tv,bL:()=>tb,l9:()=>tw});var i=r(70430),o=r(49059),a=r(85391),s=r(34259),l=r(20744),u=r(39070);let c=["top","right","bottom","left"],d=Math.min,h=Math.max,f=Math.round,p=Math.floor,m=e=>({x:e,y:e}),g={left:"right",right:"left",bottom:"top",top:"bottom"};function y(e,t){return"function"==typeof e?e(t):e}function v(e){return e.split("-")[0]}function b(e){return e.split("-")[1]}function w(e){return"x"===e?"y":"x"}function x(e){return"y"===e?"height":"width"}function k(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function S(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let E=["left","right"],A=["right","left"],P=["top","bottom"],T=["bottom","top"];function M(e){let t=v(e);return g[t]+e.slice(t.length)}function C(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function R(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function j(e,t,r){let n,{reference:i,floating:o}=e,a=k(t),s=w(k(t)),l=x(s),u=v(t),c="y"===a,d=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,f=i[l]/2-o[l]/2;switch(u){case"top":n={x:d,y:i.y-o.height};break;case"bottom":n={x:d,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:h};break;case"left":n={x:i.x-o.width,y:h};break;default:n={x:i.x,y:i.y}}switch(b(t)){case"start":n[s]-=f*(r&&c?-1:1);break;case"end":n[s]+=f*(r&&c?-1:1)}return n}async function D(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:f=0}=y(t,e),p=C(f),m=s[h?"floating"===d?"reference":"floating":d],g=R(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(m)))||r?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),w=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},x=R(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:b,strategy:l}):v);return{top:(g.top-x.top+p.top)/w.y,bottom:(x.bottom-g.bottom+p.bottom)/w.y,left:(g.left-x.left+p.left)/w.x,right:(x.right-g.right+p.right)/w.x}}let L=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}=r,s=a.detectOverflow?a:{...a,detectOverflow:D},l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=j(u,n,l),h=n,f=0,p={};for(let r=0;r<o.length;r++){let m=o[r];if(!m)continue;let{name:g,fn:y}=m,{x:v,y:b,data:w,reset:x}=await y({x:c,y:d,initialPlacement:n,placement:h,strategy:i,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=b?b:d,p[g]={...p[g],...w},x&&f<50&&(f++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(u=!0===x.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:c,y:d}=j(u,h,l)),r=-1)}return{x:c,y:d,placement:h,strategy:i,middlewareData:p}};function O(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function V(e){return c.some(t=>e[t]>=0)}let N=new Set(["left","top"]);async function I(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),a=v(r),s=b(r),l="y"===k(r),u=N.has(a)?-1:1,c=o&&l?-1:1,d=y(t,e),{mainAxis:h,crossAxis:f,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof p&&(f="end"===s?-1*p:p),l?{x:f*c,y:h*u}:{x:h*u,y:f*c}}function F(){return"u">typeof window}function z(e){return W(e)?(e.nodeName||"").toLowerCase():"#document"}function _(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function B(e){var t;return null==(t=(W(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function W(e){return!!F()&&(e instanceof Node||e instanceof _(e).Node)}function $(e){return!!F()&&(e instanceof Element||e instanceof _(e).Element)}function U(e){return!!F()&&(e instanceof HTMLElement||e instanceof _(e).HTMLElement)}function H(e){return!(!F()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof _(e).ShadowRoot)}function q(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==i&&"contents"!==i}function K(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let X=/transform|translate|scale|rotate|perspective|filter/,Y=/paint|layout|strict|content/,G=e=>!!e&&"none"!==e;function Z(e){let t=$(e)?ee(e):e;return G(t.transform)||G(t.translate)||G(t.scale)||G(t.rotate)||G(t.perspective)||!J()&&(G(t.backdropFilter)||G(t.filter))||X.test(t.willChange||"")||Y.test(t.contain||"")}function J(){return null==n&&(n="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function Q(e){return/^(html|body|#document)$/.test(z(e))}function ee(e){return _(e).getComputedStyle(e)}function et(e){return $(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function er(e){if("html"===z(e))return e;let t=e.assignedSlot||e.parentNode||H(e)&&e.host||B(e);return H(t)?t.host:t}function en(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=er(t);return Q(r)?t.ownerDocument?t.ownerDocument.body:t.body:U(r)&&q(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),a=_(i);if(!o)return t.concat(i,en(i,[],r));{let e=ei(a);return t.concat(a,a.visualViewport||[],q(i)?i:[],e&&r?en(e):[])}}function ei(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=ee(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=U(e),o=i?e.offsetWidth:r,a=i?e.offsetHeight:n,s=f(r)!==o||f(n)!==a;return s&&(r=o,n=a),{width:r,height:n,$:s}}function ea(e){return $(e)?e:e.contextElement}function es(e){let t=ea(e);if(!U(t))return m(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=eo(t),a=(o?f(r.width):r.width)/n,s=(o?f(r.height):r.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let el=m(0);function eu(e){let t=_(e);return J()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:el}function ec(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),a=ea(e),s=m(1);t&&(n?$(n)&&(s=es(n)):s=es(e));let l=(void 0===(i=r)&&(i=!1),n&&(!i||n===_(a))&&i)?eu(a):m(0),u=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,d=o.width/s.x,h=o.height/s.y;if(a){let e=_(a),t=n&&$(n)?_(n):n,r=e,i=ei(r);for(;i&&n&&t!==r;){let e=es(i),t=i.getBoundingClientRect(),n=ee(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,h*=e.y,u+=o,c+=a,i=ei(r=_(i))}}return R({width:d,height:h,x:u,y:c})}function ed(e,t){let r=et(e).scrollLeft;return t?t.left+r:ec(B(e)).left+r}function eh(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ed(e,r),y:r.top+t.scrollTop}}function ef(e,t,r){var n;let i;if("viewport"===t)i=function(e,t){let r=_(e),n=B(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=J();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}let u=ed(n);if(u<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(n.clientWidth-t.clientWidth-i);a<=25&&(o-=a)}else u<=25&&(o+=u);return{width:o,height:a,x:s,y:l}}(e,r);else if("document"===t){let t,r,o,a,s,l,u;n=B(e),t=B(n),r=et(n),o=n.ownerDocument.body,a=h(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=h(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),l=-r.scrollLeft+ed(n),u=-r.scrollTop,"rtl"===ee(o).direction&&(l+=h(t.clientWidth,o.clientWidth)-a),i={width:a,height:s,x:l,y:u}}else if($(t)){let e,n,o,a,s,l;n=(e=ec(t,!0,"fixed"===r)).top+t.clientTop,o=e.left+t.clientLeft,a=U(t)?es(t):m(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,i={width:s,height:l,x:o*a.x,y:n*a.y}}else{let r=eu(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return R(i)}function ep(e){return"static"===ee(e).position}function em(e,t){if(!U(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let r=e.offsetParent;return B(e)===r&&(r=r.ownerDocument.body),r}function eg(e,t){var r;let n=_(e);if(K(e))return n;if(!U(e)){let t=er(e);for(;t&&!Q(t);){if($(t)&&!ep(t))return t;t=er(t)}return n}let i=em(e,t);for(;i&&(r=i,/^(table|td|th)$/.test(z(r)))&&ep(i);)i=em(i,t);return i&&Q(i)&&ep(i)&&!Z(i)?n:i||function(e){let t=er(e);for(;U(t)&&!Q(t);){if(Z(t))return t;if(K(t))break;t=er(t)}return null}(e)||n}let ey=async function(e){let t=this.getOffsetParent||eg,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=U(t),i=B(t),o="fixed"===r,a=ec(e,!0,o,t),s={scrollLeft:0,scrollTop:0},l=m(0);if(n||!n&&!o)if(("body"!==z(t)||q(i))&&(s=et(t)),n){let e=ec(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=ed(i));o&&!n&&i&&(l.x=ed(i));let u=!i||n||o?m(0):eh(i,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.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}}},ev={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,a=B(n),s=!!t&&K(t.floating);if(n===a||s&&o)return r;let l={scrollLeft:0,scrollTop:0},u=m(1),c=m(0),d=U(n);if((d||!d&&!o)&&(("body"!==z(n)||q(a))&&(l=et(n)),d)){let e=ec(n);u=es(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}let h=!a||d||o?m(0):eh(a,l);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+c.x+h.x,y:r.y*u.y-l.scrollTop*u.y+c.y+h.y}},getDocumentElement:B,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,o=[..."clippingAncestors"===r?K(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=en(e,[],!1).filter(e=>$(e)&&"body"!==z(e)),i=null,o="fixed"===ee(e).position,a=o?er(e):e;for(;$(a)&&!Q(a);){let t=ee(a),r=Z(a);r||"fixed"!==t.position||(i=null),(o?r||i:!(!r&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||q(a)&&!r&&function e(t,r){let n=er(t);return!(n===r||!$(n)||Q(n))&&("fixed"===ee(n).position||e(n,r))}(e,a)))?i=t:n=n.filter(e=>e!==a),a=er(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=ef(t,o[0],i),s=a.top,l=a.right,u=a.bottom,c=a.left;for(let e=1;e<o.length;e++){let r=ef(t,o[e],i);s=h(r.top,s),l=d(r.right,l),u=d(r.bottom,u),c=h(r.left,c)}return{width:l-c,height:u-s,x:c,y:s}},getOffsetParent:eg,getElementRects:ey,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=eo(e);return{width:t,height:r}},getScale:es,isElement:$,isRTL:function(e){return"rtl"===ee(e).direction}};function eb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ew=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:o,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=y(e,t)||{};if(null==u)return{};let f=C(c),p={x:r,y:n},m=w(k(i)),g=x(m),v=await a.getDimensions(u),S="y"===m,E=S?"clientHeight":"clientWidth",A=o.reference[g]+o.reference[m]-p[m]-o.floating[g],P=p[m]-o.reference[m],T=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),M=T?T[E]:0;M&&await (null==a.isElement?void 0:a.isElement(T))||(M=s.floating[E]||o.floating[g]);let R=M/2-v[g]/2-1,j=d(f[S?"top":"left"],R),D=d(f[S?"bottom":"right"],R),L=M-v[g]-D,O=M/2-v[g]/2+(A/2-P/2),V=h(j,d(O,L)),N=!l.arrow&&null!=b(i)&&O!==V&&o.reference[g]/2-(O<j?j:D)-v[g]/2<0,I=N?O<j?O-j:O-L:0;return{[m]:p[m]+I,data:{[m]:V,centerOffset:O-V-I,...N&&{alignmentOffset:I}},reset:N}}});var ex=r(20891),ek="u">typeof document?i.useLayoutEffect:function(){};function eS(e,t){let r,n,i;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(!eS(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!eS(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eE(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eA(e,t){let r=eE(e);return Math.round(t*r)/r}function eP(e){let t=i.useRef(e);return ek(()=>{t.current=e}),t}var eT=r(1844),eM=r(36366),eC=i.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,eM.jsx)(eT.sG.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,eM.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eC.displayName="Arrow";var eR=r(29678),ej=r(28746),eD="Popper",[eL,eO]=(0,s.A)(eD),[eV,eN]=eL(eD),eI=e=>{let{__scopePopper:t,children:r}=e,[n,o]=i.useState(null);return(0,eM.jsx)(eV,{scope:t,anchor:n,onAnchorChange:o,children:r})};eI.displayName=eD;var eF="PopperAnchor",ez=i.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,s=eN(eF,r),l=i.useRef(null),u=(0,a.s)(t,l),c=i.useRef(null);return i.useEffect(()=>{let e=c.current;c.current=n?.current||l.current,e!==c.current&&s.onAnchorChange(c.current)}),n?null:(0,eM.jsx)(eT.sG.div,{...o,ref:u})});ez.displayName=eF;var e_="PopperContent",[eB,eW]=eL(e_),e$=i.forwardRef((e,t)=>{var r,n,o,s,l,u,c,f,m,g,C,R,j,D,F,z,_,W,$,U,H;let q,K,X,Y,G,Z,{__scopePopper:J,side:Q="bottom",sideOffset:ee=0,align:et="center",alignOffset:er=0,arrowPadding:ei=0,avoidCollisions:eo=!0,collisionBoundary:es=[],collisionPadding:el=0,sticky:eu="partial",hideWhenDetached:ed=!1,updatePositionStrategy:eh="optimized",onPlaced:ef,...ep}=e,em=eN(e_,J),[eg,ey]=i.useState(null),eC=(0,a.s)(t,e=>ey(e)),[eD,eL]=i.useState(null),eO=function(e){let[t,r]=i.useState(void 0);return(0,ej.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(eD),eV=eO?.width??0,eI=eO?.height??0,eF="number"==typeof el?el:{top:0,right:0,bottom:0,left:0,...el},ez=Array.isArray(es)?es:[es],eW=ez.length>0,e$={padding:eF,boundary:ez.filter(eK),altBoundary:eW},{refs:eU,floatingStyles:eH,placement:eq,isPositioned:eG,middlewareData:eZ}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[d,h]=i.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=i.useState(n);eS(f,n)||p(n);let[m,g]=i.useState(null),[y,v]=i.useState(null),b=i.useCallback(e=>{e!==S.current&&(S.current=e,g(e))},[]),w=i.useCallback(e=>{e!==E.current&&(E.current=e,v(e))},[]),x=a||m,k=s||y,S=i.useRef(null),E=i.useRef(null),A=i.useRef(d),P=null!=u,T=eP(u),M=eP(o),C=eP(c),R=i.useCallback(()=>{var e,n;let i,o,a;if(!S.current||!E.current)return;let s={placement:t,strategy:r,middleware:f};M.current&&(s.platform=M.current),(e=S.current,n=E.current,i=new Map,a={...(o={platform:ev,...s}).platform,_c:i},L(e,n,{...o,platform:a})).then(e=>{let t={...e,isPositioned:!1!==C.current};j.current&&!eS(A.current,t)&&(A.current=t,ex.flushSync(()=>{h(t)}))})},[f,t,r,M,C]);ek(()=>{!1===c&&A.current.isPositioned&&(A.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[c]);let j=i.useRef(!1);ek(()=>(j.current=!0,()=>{j.current=!1}),[]),ek(()=>{if(x&&(S.current=x),k&&(E.current=k),x&&k){if(T.current)return T.current(x,k,R);R()}},[x,k,R,T,P]);let D=i.useMemo(()=>({reference:S,floating:E,setReference:b,setFloating:w}),[b,w]),O=i.useMemo(()=>({reference:x,floating:k}),[x,k]),V=i.useMemo(()=>{let e={position:r,left:0,top:0};if(!O.floating)return e;let t=eA(O.floating,d.x),n=eA(O.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...eE(O.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,l,O.floating,d.x,d.y]);return i.useMemo(()=>({...d,update:R,refs:D,elements:O,floatingStyles:V}),[d,R,D,O,V])}({strategy:"fixed",placement:Q+("center"!==et?"-"+et:""),whileElementsMounted:(...e)=>(function(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=n,c=ea(e),f=o||a?[...c?en(c):[],...t?en(t):[]]:[];f.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});let m=c&&l?function(e,t){let r,n=null,i=B(e);function o(){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),o();let u=e.getBoundingClientRect(),{left:c,top:f,width:m,height:g}=u;if(s||t(),!m||!g)return;let y={rootMargin:-p(f)+"px "+-p(i.clientWidth-(c+m))+"px "+-p(i.clientHeight-(f+g))+"px "+-p(c)+"px",threshold:h(0,d(1,l))||1},v=!0;function b(t){let n=t[0].intersectionRatio;if(n!==l){if(!v)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==n||eb(u,e.getBoundingClientRect())||a(),v=!1}try{n=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(b,y)}n.observe(e)}(!0),o}(c,r):null,g=-1,y=null;s&&(y=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&y&&t&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),r()}),c&&!u&&y.observe(c),t&&y.observe(t));let v=u?ec(e):null;return u&&function t(){let n=ec(e);v&&!eb(v,n)&&r(),v=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;f.forEach(e=>{o&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,u&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===eh}),elements:{reference:em.anchor},middleware:[{name:(q={name:"offset",options:o=r={mainAxis:ee+eI,alignmentAxis:er},async fn(e){var t,r;let{x:n,y:i,placement:a,middlewareData:s}=e,l=await I(e,o);return a===(null==(t=s.offset)?void 0:t.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:n+l.x,y:i+l.y,data:{...l,placement:a}}}}).name,fn:q.fn,options:[r,n]},eo&&{name:(K={name:"shift",options:m=c={mainAxis:!0,crossAxis:!1,limiter:"partial"===eu?{fn:(void 0===(u=s)&&(u={}),{options:u,fn(e){let{x:t,y:r,placement:n,rects:i,middlewareData:o}=e,{offset:a=0,mainAxis:s=!0,crossAxis:l=!0}=y(u,e),c={x:t,y:r},d=k(n),h=w(d),f=c[h],p=c[d],m=y(a,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+g.mainAxis,r=i.reference[h]+i.reference[e]-g.mainAxis;f<t?f=t:f>r&&(f=r)}if(l){var b,x;let e="y"===h?"width":"height",t=N.has(v(n)),r=i.reference[d]-i.floating[e]+(t&&(null==(b=o.offset)?void 0:b[d])||0)+(t?0:g.crossAxis),a=i.reference[d]+i.reference[e]+(t?0:(null==(x=o.offset)?void 0:x[d])||0)-(t?g.crossAxis:0);p<r?p=r:p>a&&(p=a)}return{[h]:f,[d]:p}}}).fn,options:[s,l]}:void 0,...e$},async fn(e){let{x:t,y:r,placement:n,platform:i}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=y(m,e),u={x:t,y:r},c=await i.detectOverflow(e,l),f=k(v(n)),p=w(f),g=u[p],b=u[f];if(o){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",r=g+c[e],n=g-c[t];g=h(r,d(g,n))}if(a){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=b+c[e],n=b-c[t];b=h(r,d(b,n))}let x=s.fn({...e,[p]:g,[f]:b});return{...x,data:{x:x.x-t,y:x.y-r,enabled:{[p]:o,[f]:a}}}}}).name,fn:K.fn,options:[c,f]},eo&&{name:(X={name:"flip",options:R=g={...e$},async fn(e){var t,r,n,i,o,a,s,l;let u,c,d,{placement:h,middlewareData:f,rects:p,initialPlacement:m,platform:g,elements:C}=e,{mainAxis:j=!0,crossAxis:D=!0,fallbackPlacements:L,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:V="none",flipAlignment:N=!0,...I}=y(R,e);if(null!=(t=f.arrow)&&t.alignmentOffset)return{};let F=v(h),z=k(m),_=v(m)===m,B=await (null==g.isRTL?void 0:g.isRTL(C.floating)),W=L||(_||!N?[M(m)]:(u=M(m),[S(m),u,S(u)])),$="none"!==V;!L&&$&&W.push(...(c=b(m),d=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?A:E;return t?E:A;case"left":case"right":return t?P:T;default:return[]}}(v(m),"start"===V,B),c&&(d=d.map(e=>e+"-"+c),N&&(d=d.concat(d.map(S)))),d));let U=[m,...W],H=await g.detectOverflow(e,I),q=[],K=(null==(r=f.flip)?void 0:r.overflows)||[];if(j&&q.push(H[F]),D){let e,t,r,n,i=(a=h,s=p,void 0===(l=B)&&(l=!1),e=b(a),r=x(t=w(k(a))),n="x"===t?e===(l?"end":"start")?"right":"left":"start"===e?"bottom":"top",s.reference[r]>s.floating[r]&&(n=M(n)),[n,M(n)]);q.push(H[i[0]],H[i[1]])}if(K=[...K,{placement:h,overflows:q}],!q.every(e=>e<=0)){let e=((null==(n=f.flip)?void 0:n.index)||0)+1,t=U[e];if(t&&("alignment"!==D||z===k(t)||K.every(e=>k(e.placement)!==z||e.overflows[0]>0)))return{data:{index:e,overflows:K},reset:{placement:t}};let r=null==(i=K.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(O){case"bestFit":{let e=null==(o=K.filter(e=>{if($){let t=k(e.placement);return t===z||"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:o[0];e&&(r=e);break}case"initialPlacement":r=m}if(h!==r)return{reset:{placement:r}}}return{}}}).name,fn:X.fn,options:[g,C]},{name:(Y={name:"size",options:F=j={...e$,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:o}=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",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,r;let n,i,{placement:o,rects:a,platform:s,elements:l}=e,{apply:u=()=>{},...c}=y(F,e),f=await s.detectOverflow(e,c),p=v(o),m=b(o),g="y"===k(o),{width:w,height:x}=a.floating;"top"===p||"bottom"===p?(n=p,i=m===(await (null==s.isRTL?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(i=p,n="end"===m?"top":"bottom");let S=x-f.top-f.bottom,E=w-f.left-f.right,A=d(x-f[n],S),P=d(w-f[i],E),T=!e.middlewareData.shift,M=A,C=P;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(C=E),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(M=S),T&&!m){let e=h(f.left,0),t=h(f.right,0),r=h(f.top,0),n=h(f.bottom,0);g?C=w-2*(0!==e||0!==t?e+t:h(f.left,f.right)):M=x-2*(0!==r||0!==n?r+n:h(f.top,f.bottom))}await u({...e,availableWidth:C,availableHeight:M});let R=await s.getDimensions(l.floating);return w!==R.width||x!==R.height?{reset:{rects:!0}}:{}}}).name,fn:Y.fn,options:[j,D]},eD&&{name:(G={name:"arrow",options:W=z={element:eD,padding:ei},fn(e){let{element:t,padding:r}="function"==typeof W?W(e):W;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ew({element:t.current,padding:r}).fn(e):{}:t?ew({element:t,padding:r}).fn(e):{}}}).name,fn:G.fn,options:[z,_]},eX({arrowWidth:eV,arrowHeight:eI}),ed&&{name:(Z={name:"hide",options:H=$={strategy:"referenceHidden",...e$},async fn(e){let{rects:t,platform:r}=e,{strategy:n="referenceHidden",...i}=y(H,e);switch(n){case"referenceHidden":{let n=O(await r.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:V(n)}}}case"escaped":{let n=O(await r.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:V(n)}}}default:return{}}}}).name,fn:Z.fn,options:[$,U]}]}),[eJ,eQ]=eY(eq),e0=(0,eR.c)(ef);(0,ej.N)(()=>{eG&&e0?.()},[eG,e0]);let e1=eZ.arrow?.x,e2=eZ.arrow?.y,e3=eZ.arrow?.centerOffset!==0,[e6,e4]=i.useState();return(0,ej.N)(()=>{eg&&e4(window.getComputedStyle(eg).zIndex)},[eg]),(0,eM.jsx)("div",{ref:eU.setFloating,"data-radix-popper-content-wrapper":"",style:{...eH,transform:eG?eH.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:e6,"--radix-popper-transform-origin":[eZ.transformOrigin?.x,eZ.transformOrigin?.y].join(" "),...eZ.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eM.jsx)(eB,{scope:J,placedSide:eJ,onArrowChange:eL,arrowX:e1,arrowY:e2,shouldHideArrow:e3,children:(0,eM.jsx)(eT.sG.div,{"data-side":eJ,"data-align":eQ,...ep,ref:eC,style:{...ep.style,animation:eG?void 0:"none"}})})})});e$.displayName=e_;var eU="PopperArrow",eH={top:"bottom",right:"left",bottom:"top",left:"right"},eq=i.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=eW(eU,r),o=eH[i.placedSide];return(0,eM.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eM.jsx)(eC,{...n,ref:t,style:{...n.style,display:"block"}})})});function eK(e){return null!==e}eq.displayName=eU;var eX=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,a=o?0:e.arrowWidth,s=o?0:e.arrowHeight,[l,u]=eY(r),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+a/2,h=(i.arrow?.y??0)+s/2,f="",p="";return"bottom"===l?(f=o?c:`${d}px`,p=`${-s}px`):"top"===l?(f=o?c:`${d}px`,p=`${n.floating.height+s}px`):"right"===l?(f=`${-s}px`,p=o?c:`${h}px`):"left"===l&&(f=`${n.floating.width+s}px`,p=o?c:`${h}px`),{data:{x:f,y:p}}}});function eY(e){let[t,r="center"]=e.split("-");return[t,r]}var eG=r(41932),eZ=r(17685),eJ=r(86777),eQ=r(37750),e0=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),e1=i.forwardRef((e,t)=>(0,eM.jsx)(eT.sG.span,{...e,ref:t,style:{...e0,...e.style}}));e1.displayName="VisuallyHidden";var[e2,e3]=(0,s.A)("Tooltip",[eO]),e6=eO(),e4="TooltipProvider",e5="tooltip.open",[e9,e7]=e2(e4),e8=e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:a}=e,s=i.useRef(!0),l=i.useRef(!1),u=i.useRef(0);return i.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,eM.jsx)(e9,{scope:t,isOpenDelayedRef:s,delayDuration:r,onOpen:i.useCallback(()=>{window.clearTimeout(u.current),s.current=!1},[]),onClose:i.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s.current=!0,n)},[n]),isPointerInTransitRef:l,onPointerInTransitChange:i.useCallback(e=>{l.current=e},[]),disableHoverableContent:o,children:a})};e8.displayName=e4;var te="Tooltip",[tt,tr]=e2(te),tn=e=>{let{__scopeTooltip:t,children:r,open:n,defaultOpen:o,onOpenChange:a,disableHoverableContent:s,delayDuration:l}=e,c=e7(te,e.__scopeTooltip),d=e6(t),[h,f]=i.useState(null),p=(0,u.B)(),m=i.useRef(0),g=s??c.disableHoverableContent,y=l??c.delayDuration,v=i.useRef(!1),[b,w]=(0,eQ.i)({prop:n,defaultProp:o??!1,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(e5))):c.onClose(),a?.(e)},caller:te}),x=i.useMemo(()=>b?v.current?"delayed-open":"instant-open":"closed",[b]),k=i.useCallback(()=>{window.clearTimeout(m.current),m.current=0,v.current=!1,w(!0)},[w]),S=i.useCallback(()=>{window.clearTimeout(m.current),m.current=0,w(!1)},[w]),E=i.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{v.current=!0,w(!0),m.current=0},y)},[y,w]);return i.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),(0,eM.jsx)(eI,{...d,children:(0,eM.jsx)(tt,{scope:t,contentId:p,open:b,stateAttribute:x,trigger:h,onTriggerChange:f,onTriggerEnter:i.useCallback(()=>{c.isOpenDelayedRef.current?E():k()},[c.isOpenDelayedRef,E,k]),onTriggerLeave:i.useCallback(()=>{g?S():(window.clearTimeout(m.current),m.current=0)},[S,g]),onOpen:k,onClose:S,disableHoverableContent:g,children:r})})};tn.displayName=te;var ti="TooltipTrigger",to=i.forwardRef((e,t)=>{let{__scopeTooltip:r,...n}=e,s=tr(ti,r),l=e7(ti,r),u=e6(r),c=i.useRef(null),d=(0,a.s)(t,c,s.onTriggerChange),h=i.useRef(!1),f=i.useRef(!1),p=i.useCallback(()=>h.current=!1,[]);return i.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),(0,eM.jsx)(ez,{asChild:!0,...u,children:(0,eM.jsx)(eT.sG.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...n,ref:d,onPointerMove:(0,o.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(f.current||l.isPointerInTransitRef.current||(s.onTriggerEnter(),f.current=!0))}),onPointerLeave:(0,o.mK)(e.onPointerLeave,()=>{s.onTriggerLeave(),f.current=!1}),onPointerDown:(0,o.mK)(e.onPointerDown,()=>{s.open&&s.onClose(),h.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:(0,o.mK)(e.onFocus,()=>{h.current||s.onOpen()}),onBlur:(0,o.mK)(e.onBlur,s.onClose),onClick:(0,o.mK)(e.onClick,s.onClose)})})});to.displayName=ti;var ta="TooltipPortal",[ts,tl]=e2(ta,{forceMount:void 0}),tu=e=>{let{__scopeTooltip:t,forceMount:r,children:n,container:i}=e,o=tr(ta,t);return(0,eM.jsx)(ts,{scope:t,forceMount:r,children:(0,eM.jsx)(eZ.C,{present:r||o.open,children:(0,eM.jsx)(eG.Z,{asChild:!0,container:i,children:n})})})};tu.displayName=ta;var tc="TooltipContent",td=i.forwardRef((e,t)=>{let r=tl(tc,e.__scopeTooltip),{forceMount:n=r.forceMount,side:i="top",...o}=e,a=tr(tc,e.__scopeTooltip);return(0,eM.jsx)(eZ.C,{present:n||a.open,children:a.disableHoverableContent?(0,eM.jsx)(tg,{side:i,...o,ref:t}):(0,eM.jsx)(th,{side:i,...o,ref:t})})}),th=i.forwardRef((e,t)=>{let r=tr(tc,e.__scopeTooltip),n=e7(tc,e.__scopeTooltip),o=i.useRef(null),s=(0,a.s)(t,o),[l,u]=i.useState(null),{trigger:c,onClose:d}=r,h=o.current,{onPointerInTransitChange:f}=n,p=i.useCallback(()=>{u(null),f(!1)},[f]),m=i.useCallback((e,t)=>{let r,n=e.currentTarget,i={x:e.clientX,y:e.clientY},o=function(e,t){let r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,i,o)){case o:return"left";case i:return"right";case r:return"top";case n:return"bottom";default:throw Error("unreachable")}}(i,n.getBoundingClientRect());u(((r=[...function(e,t,r=5){let n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}(i,o),...function(e){let{top:t,right:r,bottom:n,left:i}=e;return[{x:i,y:t},{x:r,y:t},{x:r,y:n},{x:i,y:n}]}(t.getBoundingClientRect())].slice()).sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}(r))),f(!0)},[f]);return i.useEffect(()=>()=>p(),[p]),i.useEffect(()=>{if(c&&h){let e=e=>m(e,h),t=e=>m(e,c);return c.addEventListener("pointerleave",e),h.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),h.removeEventListener("pointerleave",t)}}},[c,h,m,p]),i.useEffect(()=>{if(l){let e=e=>{let t=e.target,r={x:e.clientX,y:e.clientY},n=c?.contains(t)||h?.contains(t),i=!function(e,t){let{x:r,y:n}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let a=t[e],s=t[o],l=a.x,u=a.y,c=s.x,d=s.y;u>n!=d>n&&r<(c-l)*(n-u)/(d-u)+l&&(i=!i)}return i}(r,l);n?p():i&&(p(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,h,l,d,p]),(0,eM.jsx)(tg,{...e,ref:s})}),[tf,tp]=e2(te,{isInside:!1}),tm=(0,eJ.Dc)("TooltipContent"),tg=i.forwardRef((e,t)=>{let{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:s,...u}=e,c=tr(tc,r),d=e6(r),{onClose:h}=c;return i.useEffect(()=>(document.addEventListener(e5,h),()=>document.removeEventListener(e5,h)),[h]),i.useEffect(()=>{if(c.trigger){let e=e=>{let t=e.target;t?.contains(c.trigger)&&h()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,h]),(0,eM.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:h,children:(0,eM.jsxs)(e$,{"data-state":c.stateAttribute,...d,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,eM.jsx)(tm,{children:n}),(0,eM.jsx)(tf,{scope:r,isInside:!0,children:(0,eM.jsx)(e1,{id:c.contentId,role:"tooltip",children:o||n})})]})})});td.displayName=tc;var ty="TooltipArrow";i.forwardRef((e,t)=>{let{__scopeTooltip:r,...n}=e,i=e6(r);return tp(ty,r).isInside?null:(0,eM.jsx)(eq,{...i,...n,ref:t})}).displayName=ty;var tv=e8,tb=tn,tw=to,tx=tu,tk=td},62071:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},66038:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let n=r(12523),i=r(42016),o=r(36366),a=i._(r(70430)),s=n._(r(20891)),l=n._(r(97711)),u=r(99238),c=r(16011),d=r(94681);r(17367);let h=r(97692),f=n._(r(44574)),p=r(46933),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,n,i,o,a){let s=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&&i(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function y(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,a.forwardRef)(({src:e,srcSet:t,sizes:r,height:n,width:i,decoding:s,className:l,style:u,fetchPriority:c,placeholder:d,loading:h,unoptimized:f,fill:m,onLoadRef:v,onLoadingCompleteRef:b,setBlurComplete:w,setShowAltText:x,sizesInput:k,onLoad:S,onError:E,...A},P)=>{let T=(0,a.useCallback)(e=>{e&&(E&&(e.src=e.src),e.complete&&g(e,d,v,b,w,f,k))},[e,d,v,b,w,E,f,k]),M=(0,p.useMergedRef)(P,T);return(0,o.jsx)("img",{...A,...y(c),loading:h,width:i,height:n,decoding:s,"data-nimg":m?"fill":"1",className:l,style:u,sizes:r,srcSet:t,src:e,ref:M,onLoad:e=>{g(e.currentTarget,d,v,b,w,f,k)},onError:e=>{x(!0),"empty"!==d&&w(!0),E&&E(e)}})});function b({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...y(t.fetchPriority)};return e&&s.default.preload?(s.default.preload(t.src,r),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let w=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(h.RouterContext),n=(0,a.useContext)(d.ImageConfigContext),i=(0,a.useMemo)(()=>{let e=m||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:i,localPatterns:e.localPatterns}},[n]),{onLoad:s,onLoadingComplete:l}=e,p=(0,a.useRef)(s);(0,a.useEffect)(()=>{p.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[y,w]=(0,a.useState)(!1),[x,k]=(0,a.useState)(!1),{props:S,meta:E}=(0,u.getImgProps)(e,{defaultLoader:f.default,imgConf:i,blurComplete:y,showAltText:x});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...S,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:k,sizesInput:e.sizes,ref:t}),E.preload?(0,o.jsx)(b,{isAppRouter:!r,imgAttributes:S}):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)},71333:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},73875:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},73962:(e,t,r)=>{var n;r.d(t,{k:()=>m});let i={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 o(e){return (t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}let a={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({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:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return(t,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=r?.width?String(r.width):t;n=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=r?.width?String(r.width):e.defaultWidth;n=e.values[i]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function u(e){return(t,r={})=>{let n,i=r.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;let s=a[0],l=i&&e.parsePatterns[i]||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 n=e.valueCallback?e.valueCallback(u):u,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(s.length)}}}let c={code:"en-US",formatDistance:(e,t,r)=>{let n,o=i[e];if(n="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+n;else return n+" ago";return n},formatLong:a,formatRelative:(e,t,r,n)=>s[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:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({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:l({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:l({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:l({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)},(e,t={})=>{let r=e.match(n.matchPattern);if(!r)return null;let i=r[0],o=e.match(n.parsePattern);if(!o)return null;let a=n.valueCallback?n.valueCallback(o[0]):o[0];return{value:a=t.valueCallback?t.valueCallback(a):a,rest:e.slice(i.length)}}),era:u({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:u({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:u({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:u({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:u({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}},d={},h=Symbol.for("constructDateFrom");function f(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&h in e?e[h](t):e instanceof Date?new e.constructor(t):new Date(t)}function p(e){let t=f(e,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;let i,o,a=r?.locale??d.locale??c,s=(o=f(e,e)-f(t,t))<0?-1:o>0?1:o;if(isNaN(s))throw RangeError("Invalid time value");let l=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:s}),[u,h]=function(e,...t){let r=f.bind(null,e||t.find(e=>"object"==typeof e));return t.map(r)}(r?.in,...s>0?[t,e]:[e,t]),m=(n=r?.roundingMethod??"round",e=>{let t=(n?Math[n]:Math.trunc)(e);return 0===t?0:t}),g=h.getTime()-u.getTime(),y=g/6e4,v=(g-(p(h)-p(u)))/6e4,b=r?.unit;if("second"===(i=b||(y<1?"second":y<60?"minute":y<1440?"hour":v<43200?"day":v<525600?"month":"year"))){let e=m(g/1e3);return a.formatDistance("xSeconds",e,l)}if("minute"===i){let e=m(y);return a.formatDistance("xMinutes",e,l)}if("hour"===i){let e=m(y/60);return a.formatDistance("xHours",e,l)}if("day"===i){let e=m(v/1440);return a.formatDistance("xDays",e,l)}if("month"===i){let e=m(v/43200);return 12===e&&"month"!==b?a.formatDistance("xYears",1,l):a.formatDistance("xMonths",e,l)}else{let e=m(v/525600);return a.formatDistance("xYears",e,l)}}},75084:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},75800:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("git-branch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]])},77101:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},77932:(e,t,r)=>{r.d(t,{DX:()=>d,TL:()=>c});var n,i=r(70430),o=r(85391),a=r(36366),s=Symbol.for("react.lazy"),l=(n||(n=r.t(i,2)))[" use ".trim().toString()];function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function c(e){var t;let r,n=(t=e,(r=i.forwardRef((e,t)=>{let{children:r,...n}=e;if(u(r)&&"function"==typeof l&&(r=l(r._payload)),i.isValidElement(r)){var a;let e,s,l=(a=r,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==i.Fragment&&(u.ref=t?(0,o.t)(t,l):l),i.cloneElement(r,u)}return i.Children.count(r)>1?i.Children.only(null):null})).displayName=`${t}.SlotClone`,r),s=i.forwardRef((e,t)=>{let{children:r,...o}=e;u(r)&&"function"==typeof l&&(r=l(r._payload));let s=i.Children.toArray(r),c=s.find(f);if(c){let e=c.props.children,r=s.map(t=>t!==c?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,a.jsx)(n,{...o,ref:t,children:i.isValidElement(e)?i.cloneElement(e,void 0,r):null})}return(0,a.jsx)(n,{...o,ref:t,children:r})});return s.displayName=`${e}.Slot`,s}var d=c("Slot"),h=Symbol("radix.slottable");function f(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===h}},78755:(e,t,r)=>{r.d(t,{b:()=>l});var n=r(70430);r(20891);var i=r(77932),o=r(36366),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,i.TL)(`Primitive.${t}`),a=n.forwardRef((e,n)=>{let{asChild:i,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i?r:t,{...a,ref:n})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{}),s=n.forwardRef((e,t)=>(0,o.jsx)(a.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));s.displayName="Label";var l=s},79332:(e,t,r)=>{r.d(t,{M:()=>i});var n=r(70430);function i(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},79488:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var r={assign:function(){return s},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return a}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function i(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,o(e));else t.set(r,o(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},79613:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},80669:(e,t,r)=>{r.d(t,{xQ:()=>o});var n=r(70430),i=r(15962);function o(e=!0){let t=(0,n.useContext)(i.t);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:a,register:s}=t,l=(0,n.useId)();(0,n.useEffect)(()=>{if(e)return s(l)},[e]);let u=(0,n.useCallback)(()=>e&&a&&a(l),[l,a,e]);return!r&&a?[!1,u]:[!0]}},82625:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},82814:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("circle-plus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]])},83260:(e,t)=>{function r(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findClosestQuality",{enumerable:!0,get:function(){return r}})},85391:(e,t,r)=>{r.d(t,{s:()=>a,t:()=>o});var n=r(70430);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}function a(...e){return n.useCallback(o(...e),e)}},86247:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},86777:(e,t,r)=>{r.d(t,{Dc:()=>l,TL:()=>a});var n=r(70430),i=r(85391),o=r(36366);function a(e){var t;let r,a=(t=e,(r=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){var a;let e,s,l=(a=r,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(u.ref=t?(0,i.t)(t,l):l),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null})).displayName=`${t}.SlotClone`,r),s=n.forwardRef((e,t)=>{let{children:r,...i}=e,s=n.Children.toArray(r),l=s.find(u);if(l){let e=l.props.children,r=s.map(t=>t!==l?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(a,{...i,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,o.jsx)(a,{...i,ref:t,children:r})});return s.displayName=`${e}.Slot`,s}var s=Symbol("radix.slottable");function l(e){let t=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=s,t}function u(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}},87408:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},87618:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("sliders-horizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]])},89266:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]])},90042:(e,t,r)=>{var n=r(18894);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}})},90093:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("columns-2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]])},90656:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},90796:(e,t,r)=>{r.d(t,{L:()=>n});let n=(0,r(70430).createContext)({})},91283:(e,t,r)=>{r.d(t,{Q:()=>n});let n=(0,r(70430).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},93479:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},94681:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(12523)._(r(70430)),i=r(16011),o=n.default.createContext(i.imageConfigDefault)},95433:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},96551:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},96968:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},97692:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(12523)._(r(70430)).default.createContext(null)},97711:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return m},defaultHead:function(){return d}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(12523),a=r(42016),s=r(36366),l=a._(r(70430)),u=o._(r(57408)),c=r(14471);function d(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(17367);let f=["name","httpEquiv","charSet","itemProp"];function p(e){let t,r,n,i;return e.reduce(h,[]).reverse().concat(d().reverse()).filter((t=new Set,r=new Set,n=new Set,i={},e=>{let o=!0,a=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){a=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?o=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?o=!1:r.add(e.type);break;case"meta":for(let t=0,r=f.length;t<r;t++){let r=f[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?o=!1:n.add(r);else{let t=e.props[r],n=i[r]||new Set;("name"!==r||!a)&&n.has(t)?o=!1:(n.add(t),i[r]=n)}}}return o})).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let m=function({children:e}){let t=(0,l.useContext)(c.HeadManagerContext);return(0,s.jsx)(u.default,{reduceComponentsToState:p,headManager:t,children:e})};("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)},97876:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("lock-keyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]])},99238:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return u}}),r(17367);let n=r(35452),i=r(99423),o=r(16011),a=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function l(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 u({src:e,sizes:t,unoptimized:r=!1,priority:c=!1,preload:d=!1,loading:h,className:f,quality:p,width:m,height:g,fill:y=!1,style:v,overrideSrc:b,onLoad:w,onLoadingComplete:x,placeholder:k="empty",blurDataURL:S,fetchPriority:E,decoding:A="async",layout:P,objectFit:T,objectPosition:M,lazyBoundary:C,lazyRoot:R,...j},D){var L;let O,V,N,{imgConf:I,showAltText:F,blurComplete:z,defaultLoader:_}=D,B=I||o.imageConfigDefault;if("allSizes"in B)O=B;else{let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>e-t),t=B.deviceSizes.sort((e,t)=>e-t),r=B.qualities?.sort((e,t)=>e-t);O={...B,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===_)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let W=j.loader||_;delete j.loader,delete j.srcSet;let $="__next_img_default"in W;if($){if("custom"===O.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
7
7
  Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=W;W=t=>{let{config:r,...n}=t;return e(n)}}if(P){"fill"===P&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[P];e&&(v={...v,...e});let r={responsive:"100vw",fill:"100vw"}[P];r&&!t&&(t=r)}let U="",H=l(m),q=l(g);if((L=e)&&"object"==typeof L&&(s(L)||void 0!==L.src)){let t=s(e)?e.default:e;if(!t.src)throw Object.defineProperty(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(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(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(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(V=t.blurWidth,N=t.blurHeight,S=S||t.blurDataURL,U=t.src,!y)if(H||q){if(H&&!q){let e=H/t.width;q=Math.round(t.height*e)}else if(!H&&q){let e=q/t.height;H=Math.round(t.width*e)}}else H=t.width,q=t.height}let K=!c&&!d&&("lazy"===h||void 0===h);(!(e="string"==typeof e?e:U)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,K=!1),O.unoptimized&&(r=!0),$&&!O.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let X=l(p),Y=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:T,objectPosition:M}:{},F?{}:{color:"transparent"},v),G=z||"empty"===k?null:"blur"===k?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:H,heightInt:q,blurWidth:V,blurHeight:N,blurDataURL:S||"",objectFit:Y.objectFit})}")`:`url("${k}")`,Z=a.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,J=G?{backgroundSize:Z,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:G}:{},Q=function({config:e,src:t,unoptimized:r,width:i,quality:o,sizes:a,loader:s}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(e){let r=t.indexOf("?");if(-1!==r){let n=new URLSearchParams(t.slice(r+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,r)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},r,n){if(n){let r=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=r.exec(n);)i.push(parseInt(e[2]));if(i.length){let r=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((r,n)=>`${s({config:e,src:t,quality:o,width:r})} ${"w"===u?r:n+1}${u}`).join(", "),src:s({config:e,src:t,quality:o,width:l[c]})}}({config:O,src:e,unoptimized:r,width:H,quality:X,sizes:t,loader:W}),ee=K?"lazy":h;return{props:{...j,loading:ee,fetchPriority:E,width:H,height:q,decoding:A,className:f,style:{...Y,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:b||Q.src},meta:{unoptimized:r,preload:d||c,placeholder:k,fill:y}}}},99261:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("sun-medium",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]])},99350:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},99423:(e,t)=>{function r({widthInt:e,heightInt:t,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:a}){let s=n?40*n:e,l=i?40*i:t,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='${o}'/%3E%3C/svg%3E`}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},99695:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19163).A)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]])}}]);