tokentracker-cli 1.5.4 → 1.5.6

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 (121) hide show
  1. package/THIRD_PARTY_NOTICES.md +10 -0
  2. package/dashboard/dist/THIRD_PARTY_NOTICES.txt +10 -0
  3. package/dashboard/dist/assets/{AchievementBadge-CKNb_cwg.js → AchievementBadge-NKpY___e.js} +1 -1
  4. package/dashboard/dist/assets/{AchievementsPage-u9P8DXJI.js → AchievementsPage-9nXmSX72.js} +2 -2
  5. package/dashboard/dist/assets/{AchievementsSection-BSCUJ4DR.js → AchievementsSection-DttQciSY.js} +1 -1
  6. package/dashboard/dist/assets/{BadgeDetailModal-Bg7cE3Zq.js → BadgeDetailModal-bvWEdJbe.js} +1 -1
  7. package/dashboard/dist/assets/{BotAnimated-C7D2WbQA.js → BotAnimated-ChuUfph8.js} +1 -1
  8. package/dashboard/dist/assets/{Card-B4IqAhai.js → Card-SWtLDXt1.js} +1 -1
  9. package/dashboard/dist/assets/{CloudCheckoutPage-P75pH9Ym.js → CloudCheckoutPage-c2fNl1Rl.js} +1 -1
  10. package/dashboard/dist/assets/{CloudPage-DDEZfmZg.js → CloudPage-CfwDjZMS.js} +2 -2
  11. package/dashboard/dist/assets/{CommandPalette-CER_AklA.js → CommandPalette-tWgPa295.js} +1 -1
  12. package/dashboard/dist/assets/{CommunityStatsModal-Cbb74eib.js → CommunityStatsModal-D7UaaUdM.js} +1 -1
  13. package/dashboard/dist/assets/{ConfirmModal-Q1ZQdZHt.js → ConfirmModal-BrBcKhfW.js} +1 -1
  14. package/dashboard/dist/assets/{Controls-DaGOfcoz.js → Controls-CcvBkk7W.js} +1 -1
  15. package/dashboard/dist/assets/DashboardPage-DJSgRHGq.js +1 -0
  16. package/dashboard/dist/assets/{DateRangePopover-DSS1Ira_.js → DateRangePopover-BkN_pird.js} +1 -1
  17. package/dashboard/dist/assets/{DevicePage-6zPLYydh.js → DevicePage-BbUL7WwT.js} +1 -1
  18. package/dashboard/dist/assets/{DialogClose-DdCQ36LK.js → DialogClose-BXO8SBFr.js} +1 -1
  19. package/dashboard/dist/assets/DialogDescription-B1HyKP0x.js +1 -0
  20. package/dashboard/dist/assets/{DialogTitle-BjP217Y1.js → DialogTitle-Du332auj.js} +1 -1
  21. package/dashboard/dist/assets/{ElectricLogo-Dhq8PM4h.js → ElectricLogo-CXLYfOt7.js} +1 -1
  22. package/dashboard/dist/assets/{FadeIn-CGNbED4E.js → FadeIn-HSQBOc8B.js} +1 -1
  23. package/dashboard/dist/assets/{HeaderGithubStar-DwqEFzb6.js → HeaderGithubStar-D5tyQDGE.js} +1 -1
  24. package/dashboard/dist/assets/{HoverTooltip-CQZTgyQy.js → HoverTooltip-BhidhbnD.js} +1 -1
  25. package/dashboard/dist/assets/{IpCheckPage-Bz09HXLn.js → IpCheckPage-WMEF1oS3.js} +1 -1
  26. package/dashboard/dist/assets/{LandingPage-DC-lZsYR.js → LandingPage-BmO-59ZP.js} +2 -2
  27. package/dashboard/dist/assets/{LeaderboardPage-D8MpLM_t.js → LeaderboardPage-C2WyniEt.js} +2 -2
  28. package/dashboard/dist/assets/{LeaderboardProBadge-pdXgokhE.js → LeaderboardProBadge-DAZnMRNn.js} +1 -1
  29. package/dashboard/dist/assets/{LeaderboardProfileModal-nHZLiE0m.js → LeaderboardProfileModal-D1BxcloV.js} +3 -3
  30. package/dashboard/dist/assets/{LeaderboardProfilePage-BKv3oIAW.js → LeaderboardProfilePage-RPJDTwpG.js} +1 -1
  31. package/dashboard/dist/assets/{LimitsPage-TmRTgSCb.js → LimitsPage-9ZOhKvn5.js} +1 -1
  32. package/dashboard/dist/assets/{LocalOnlyNotice-aF01udyR.js → LocalOnlyNotice-CH6w4hRw.js} +1 -1
  33. package/dashboard/dist/assets/{LoginCard-BaroD0Ct.js → LoginCard-D24HsRjs.js} +1 -1
  34. package/dashboard/dist/assets/{LoginModal-0jgyMGVM.js → LoginModal-sLvHyi9U.js} +1 -1
  35. package/dashboard/dist/assets/{LoginPage-BUx8U58i.js → LoginPage-PIvLEw1Y.js} +1 -1
  36. package/dashboard/dist/assets/{PetPage-CpOjtJqg.js → PetPage-DYcw_4P1.js} +2 -2
  37. package/dashboard/dist/assets/{PopoverPopup-BYjfer-M.js → PopoverPopup-D7ZCWq5f.js} +1 -1
  38. package/dashboard/dist/assets/{ProviderIcon-NtYa2h0u.js → ProviderIcon-B0kB52K-.js} +1 -1
  39. package/dashboard/dist/assets/{ResetPasswordPage-CYUg7TR1.js → ResetPasswordPage-B_NT4Xfl.js} +1 -1
  40. package/dashboard/dist/assets/{Select-CYP95o5y.js → Select-BtxjjP2Q.js} +1 -1
  41. package/dashboard/dist/assets/{SelectItemText-BCDfusOM.js → SelectItemText-Co1M6XRC.js} +1 -1
  42. package/dashboard/dist/assets/{SelfHostPage-BmVc2rIT.js → SelfHostPage-XadfhFnd.js} +1 -1
  43. package/dashboard/dist/assets/{ServiceStatusPage-Dyp8NwIn.js → ServiceStatusPage-ZEJyAxsQ.js} +1 -1
  44. package/dashboard/dist/assets/{SessionsPage-tGEj6Ztz.js → SessionsPage-Cte1taUu.js} +1 -1
  45. package/dashboard/dist/assets/{SettingsPage-CCMbq5wc.js → SettingsPage-D4qHgIxn.js} +3 -3
  46. package/dashboard/dist/assets/{SkillsPage-C4O4fbaQ.js → SkillsPage-CkQCk2uF.js} +1 -1
  47. package/dashboard/dist/assets/TokenGalaxy-Bx1vr4b0.js +4431 -0
  48. package/dashboard/dist/assets/{TooltipPopup-BJfFYesG.js → TooltipPopup-DQW8FWJO.js} +1 -1
  49. package/dashboard/dist/assets/{TrendMonitor-CElakFSU.js → TrendMonitor-BMNcY3N8.js} +1 -1
  50. package/dashboard/dist/assets/{WidgetsPage-Cvd1LbJm.js → WidgetsPage-luRTge7O.js} +1 -1
  51. package/dashboard/dist/assets/{WrappedPage-wRC1tE_a.js → WrappedPage-B1j3WgXx.js} +1 -1
  52. package/dashboard/dist/assets/{__vite-browser-external-V4TPLCJG.js → __vite-browser-external-CvvpsW-U.js} +3 -3
  53. package/dashboard/dist/assets/{agent-logos-Ba57HF3w.js → agent-logos-DL4fdks6.js} +1 -1
  54. package/dashboard/dist/assets/{arrow-left-B1bKnxXL.js → arrow-left-DiOsjgdu.js} +1 -1
  55. package/dashboard/dist/assets/{arrow-right-DrOlKzX5.js → arrow-right-DBFXV7GU.js} +1 -1
  56. package/dashboard/dist/assets/{arrow-up-right-hlYpo3yw.js → arrow-up-right-BIvpDQHo.js} +1 -1
  57. package/dashboard/dist/assets/{calendar-days-CSY6SEsI.js → calendar-days--psnXUPW.js} +1 -1
  58. package/dashboard/dist/assets/{check-xrP1gLw5.js → check-DLqbsN00.js} +1 -1
  59. package/dashboard/dist/assets/{chevron-down-6-zT5n9d.js → chevron-down-C0P0oLzP.js} +1 -1
  60. package/dashboard/dist/assets/{cloud-checkout-BZymZD4K.js → cloud-checkout-NSmb7QNy.js} +1 -1
  61. package/dashboard/dist/assets/{composite-C9izWafa.js → composite-D7ahPHYQ.js} +1 -1
  62. package/dashboard/dist/assets/{copy-Dkas5wZX.js → copy-COD7vwd6.js} +1 -1
  63. package/dashboard/dist/assets/{download-CagGRs0_.js → download-CpSUX4U-.js} +1 -1
  64. package/dashboard/dist/assets/{external-link-DRl10hxd.js → external-link-DXUjrooT.js} +1 -1
  65. package/dashboard/dist/assets/{flame-CkvmsTFB.js → flame-Dl3ZT9oo.js} +1 -1
  66. package/dashboard/dist/assets/{format-tokens-BtwhO3mV.js → format-tokens-Ci49THbK.js} +1 -1
  67. package/dashboard/dist/assets/{gift-YzjXkMQx.js → gift-DTHCN1Of.js} +1 -1
  68. package/dashboard/dist/assets/{icons-CHhKYs0u.js → icons-CB9s1e1k.js} +1 -1
  69. package/dashboard/dist/assets/index-BGT8ZQyn.js +502 -0
  70. package/dashboard/dist/assets/{index-DojzoMqd.js → index-DFdfNKJM.js} +1 -1
  71. package/dashboard/dist/assets/{index-CJknN9Jd.js → index-DeX4t_5p.js} +1 -1
  72. package/dashboard/dist/assets/{index-B0MQZTrM.js → index-Dozwi-Se.js} +1 -1
  73. package/dashboard/dist/assets/{info-Torep-Ti.js → info-CqM2wmSI.js} +1 -1
  74. package/dashboard/dist/assets/{link-2-DE5Yu-z6.js → link-2-Byo7Rj3t.js} +1 -1
  75. package/dashboard/dist/assets/{loader-circle-BL8LxD9n.js → loader-circle-CMxd78Na.js} +1 -1
  76. package/dashboard/dist/assets/{local-usage-transfer-8X1InWix.js → local-usage-transfer-CBjnoeck.js} +1 -1
  77. package/dashboard/dist/assets/{modifiers.esm-D60-6UQa.js → modifiers.esm-Oowlk_FC.js} +1 -1
  78. package/dashboard/dist/assets/module-BbVsRaE2.js +3 -0
  79. package/dashboard/dist/assets/{monitor-smartphone-C-IFPjqk.js → monitor-smartphone-B2EgB_9q.js} +1 -1
  80. package/dashboard/dist/assets/{play-n6uWrdH9.js → play-BSuP-UBL.js} +1 -1
  81. package/dashboard/dist/assets/{plus-B2f6TaNj.js → plus-BWemSIuC.js} +1 -1
  82. package/dashboard/dist/assets/{provider-display-DWqCEcsP.js → provider-display-BpzWuFDH.js} +1 -1
  83. package/dashboard/dist/assets/{react-B-zfi_j6.js → react-cIJ4zx62.js} +1 -1
  84. package/dashboard/dist/assets/{safePolygon-C2PsvI-v.js → safePolygon-C_ZMtbgL.js} +1 -1
  85. package/dashboard/dist/assets/{search-DZOaTLF9.js → search-BK7eyNds.js} +1 -1
  86. package/dashboard/dist/assets/{server-DIp4Qfsv.js → server-BqQHX-rd.js} +1 -1
  87. package/dashboard/dist/assets/{shield-check-Cs2M8-iT.js → shield-check-CO5U6gRw.js} +1 -1
  88. package/dashboard/dist/assets/{skills-api-CoYy6Tov.js → skills-api-CMye76ag.js} +1 -1
  89. package/dashboard/dist/assets/{sortable.esm-B5_hjIfs.js → sortable.esm-Bvb61Lvj.js} +1 -1
  90. package/dashboard/dist/assets/{store-BLXqtJzb.js → store-CICV1KXb.js} +1 -1
  91. package/dashboard/dist/assets/{terminal-CEMKX3ba.js → terminal-BKMWT1Ux.js} +1 -1
  92. package/dashboard/dist/assets/{trash-DOWYaXjK.js → trash-D2Oqim4r.js} +1 -1
  93. package/dashboard/dist/assets/{use-community-stats-BjRI1Bzz.js → use-community-stats-CEqwmjct.js} +1 -1
  94. package/dashboard/dist/assets/{use-latest-request-guard-T7L5qBU6.js → use-latest-request-guard-CTuzzu3F.js} +1 -1
  95. package/dashboard/dist/assets/{use-limits-display-prefs-vNIrCPZA.js → use-limits-display-prefs-CA2BLWkY.js} +1 -1
  96. package/dashboard/dist/assets/{use-native-settings-Cg5Zb4q_.js → use-native-settings-B54wHSj9.js} +1 -1
  97. package/dashboard/dist/assets/{use-ordered-list-BF-wIvmG.js → use-ordered-list--PU9ekxY.js} +1 -1
  98. package/dashboard/dist/assets/use-reduced-motion-CZ8_YWc2.js +1 -0
  99. package/dashboard/dist/assets/{use-transform-CbJ1IcNc.js → use-transform-BRyR8szg.js} +1 -1
  100. package/dashboard/dist/assets/{use-usage-limits-Dgg3jpC4.js → use-usage-limits-sufKdfDY.js} +1 -1
  101. package/dashboard/dist/assets/{useCurrency-3oBHWfSe.js → useCurrency-6oy7kSX8.js} +1 -1
  102. package/dashboard/dist/assets/{usePositioner-D0YrIW0A.js → usePositioner-ZtDdVdJg.js} +1 -1
  103. package/dashboard/dist/assets/{useTokenFormat-DZAHWE_R.js → useTokenFormat-tiOJ-PeE.js} +1 -1
  104. package/dashboard/dist/assets/{zap-kLub6Jiv.js → zap-Dr1dXUjN.js} +1 -1
  105. package/dashboard/dist/brand-logos/factory.svg +8 -0
  106. package/dashboard/dist/index.html +1 -1
  107. package/dashboard/dist/ip-check.html +1 -1
  108. package/dashboard/dist/leaderboard.html +1 -1
  109. package/dashboard/dist/share.html +1 -1
  110. package/package.json +4 -4
  111. package/src/lib/cursor-config.js +15 -1
  112. package/src/lib/pricing/curated-overrides.json +14 -0
  113. package/src/lib/pricing/seed-snapshot.json +1 -1
  114. package/src/lib/rollout.js +13 -4
  115. package/src/lib/usage-limits.js +266 -10
  116. package/dashboard/dist/assets/DashboardPage-CXI7RmxO.js +0 -1
  117. package/dashboard/dist/assets/DialogDescription-DztHQvj-.js +0 -1
  118. package/dashboard/dist/assets/TokenGalaxy-D2d738xr.js +0 -4426
  119. package/dashboard/dist/assets/index-C2DK8av-.js +0 -502
  120. package/dashboard/dist/assets/module-ZyVsxBG_.js +0 -3
  121. package/dashboard/dist/assets/use-reduced-motion-B9K5mIx4.js +0 -1
@@ -1 +1 @@
1
- import{r as u}from"./__vite-browser-external-V4TPLCJG.js";var c={},p=()=>{window.va||(window.va=function(...r){window.vaq||(window.vaq=[]),window.vaq.push(r)})},m="@vercel/analytics",E="2.0.1";function l(){return typeof window<"u"}function w(){try{const e="production"}catch{}return"production"}function y(e="auto"){if(e==="auto"){window.vam=w();return}window.vam=e}function h(){return(l()?window.vam:w())||"production"}function v(){return h()==="production"}function d(){return h()==="development"}function g(e,{[e]:r,...i}){return i}function _(e,r){if(!e)return;let i=e;const n=[];for(const[t,o]of Object.entries(e))typeof o=="object"&&o!==null&&(r.strip?i=g(t,i):n.push(t));if(n.length>0&&!r.strip)throw Error(`The following properties are not valid: ${n.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return i}function S(e){return e.scriptSrc?a(e.scriptSrc):d()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?a(`${e.basePath}/insights/script.js`):"/_vercel/insights/script.js"}function k(e,r){var i;let n=e;if(r)try{n={...(i=JSON.parse(r))==null?void 0:i.analytics,...e}}catch{}y(n.mode);const t={sdkn:m+(n.framework?`/${n.framework}`:""),sdkv:E};return n.disableAutoTrack&&(t.disableAutoTrack="1"),n.viewEndpoint&&(t.viewEndpoint=a(n.viewEndpoint)),n.eventEndpoint&&(t.eventEndpoint=a(n.eventEndpoint)),n.sessionEndpoint&&(t.sessionEndpoint=a(n.sessionEndpoint)),d()&&n.debug===!1&&(t.debug="false"),n.dsn&&(t.dsn=n.dsn),n.endpoint?t.endpoint=n.endpoint:n.basePath&&(t.endpoint=a(`${n.basePath}/insights`)),{beforeSend:n.beforeSend,src:S(n),dataset:t}}function a(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function P(e={debug:!0},r){var i;if(!l())return;const{beforeSend:n,src:t,dataset:o}=k(e,r);if(p(),n&&((i=window.va)==null||i.call(window,"beforeSend",n)),document.head.querySelector(`script[src*="${t}"]`))return;const s=document.createElement("script");s.src=t;for(const[f,b]of Object.entries(o))s.dataset[f]=b;s.defer=!0,s.onerror=()=>{const f=d()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${t}. ${f}`)},document.head.appendChild(s)}function C(e,r,i){var n,t;if(!l()){const o="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(v())console.warn(o);else throw new Error(o);return}if(!r){(n=window.va)==null||n.call(window,"event",{name:e,options:i});return}try{const o=_(r,{strip:v()});(t=window.va)==null||t.call(window,"event",{name:e,data:o,options:i})}catch(o){o instanceof Error&&d()&&console.error(o)}}function A({route:e,path:r}){var i;(i=window.va)==null||i.call(window,"pageview",{route:e,path:r})}function T(){if(!(typeof process>"u"||typeof c>"u"))return c.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function j(){if(!(typeof process>"u"||typeof c>"u"))return c.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}function $(e){return u.useEffect(()=>{var r;e.beforeSend&&((r=window.va)==null||r.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),u.useEffect(()=>{P({framework:e.framework||"react",basePath:e.basePath??T(),...e.route!==void 0&&{disableAutoTrack:!0},...e},e.configString??j())},[]),u.useEffect(()=>{e.route&&e.path&&A({route:e.route,path:e.path})},[e.route,e.path]),null}export{$ as Analytics,C as track};
1
+ import{r as u}from"./__vite-browser-external-CvvpsW-U.js";var c={},p=()=>{window.va||(window.va=function(...r){window.vaq||(window.vaq=[]),window.vaq.push(r)})},m="@vercel/analytics",E="2.0.1";function l(){return typeof window<"u"}function w(){try{const e="production"}catch{}return"production"}function y(e="auto"){if(e==="auto"){window.vam=w();return}window.vam=e}function h(){return(l()?window.vam:w())||"production"}function v(){return h()==="production"}function d(){return h()==="development"}function g(e,{[e]:r,...i}){return i}function _(e,r){if(!e)return;let i=e;const n=[];for(const[t,o]of Object.entries(e))typeof o=="object"&&o!==null&&(r.strip?i=g(t,i):n.push(t));if(n.length>0&&!r.strip)throw Error(`The following properties are not valid: ${n.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return i}function S(e){return e.scriptSrc?a(e.scriptSrc):d()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?a(`${e.basePath}/insights/script.js`):"/_vercel/insights/script.js"}function k(e,r){var i;let n=e;if(r)try{n={...(i=JSON.parse(r))==null?void 0:i.analytics,...e}}catch{}y(n.mode);const t={sdkn:m+(n.framework?`/${n.framework}`:""),sdkv:E};return n.disableAutoTrack&&(t.disableAutoTrack="1"),n.viewEndpoint&&(t.viewEndpoint=a(n.viewEndpoint)),n.eventEndpoint&&(t.eventEndpoint=a(n.eventEndpoint)),n.sessionEndpoint&&(t.sessionEndpoint=a(n.sessionEndpoint)),d()&&n.debug===!1&&(t.debug="false"),n.dsn&&(t.dsn=n.dsn),n.endpoint?t.endpoint=n.endpoint:n.basePath&&(t.endpoint=a(`${n.basePath}/insights`)),{beforeSend:n.beforeSend,src:S(n),dataset:t}}function a(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function P(e={debug:!0},r){var i;if(!l())return;const{beforeSend:n,src:t,dataset:o}=k(e,r);if(p(),n&&((i=window.va)==null||i.call(window,"beforeSend",n)),document.head.querySelector(`script[src*="${t}"]`))return;const s=document.createElement("script");s.src=t;for(const[f,b]of Object.entries(o))s.dataset[f]=b;s.defer=!0,s.onerror=()=>{const f=d()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${t}. ${f}`)},document.head.appendChild(s)}function C(e,r,i){var n,t;if(!l()){const o="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(v())console.warn(o);else throw new Error(o);return}if(!r){(n=window.va)==null||n.call(window,"event",{name:e,options:i});return}try{const o=_(r,{strip:v()});(t=window.va)==null||t.call(window,"event",{name:e,data:o,options:i})}catch(o){o instanceof Error&&d()&&console.error(o)}}function A({route:e,path:r}){var i;(i=window.va)==null||i.call(window,"pageview",{route:e,path:r})}function T(){if(!(typeof process>"u"||typeof c>"u"))return c.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function j(){if(!(typeof process>"u"||typeof c>"u"))return c.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}function $(e){return u.useEffect(()=>{var r;e.beforeSend&&((r=window.va)==null||r.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),u.useEffect(()=>{P({framework:e.framework||"react",basePath:e.basePath??T(),...e.route!==void 0&&{disableAutoTrack:!0},...e},e.configString??j())},[]),u.useEffect(()=>{e.route&&e.path&&A({route:e.route,path:e.path})},[e.route,e.path]),null}export{$ as Analytics,C as track};
@@ -1,4 +1,4 @@
1
- import{r as n,j as $}from"./__vite-browser-external-V4TPLCJG.js";import{M as D,a as S,u as A,b as F,P as K,c as U,L as W}from"./react-B-zfi_j6.js";function I(e,r){if(typeof e=="function")return e(r);e!=null&&(e.current=r)}function B(...e){return r=>{let t=!1;const o=e.map(l=>{const i=I(l,r);return!t&&typeof i=="function"&&(t=!0),i});if(t)return()=>{for(let l=0;l<o.length;l++){const i=o[l];typeof i=="function"?i():I(e[l],null)}}}}function G(...e){return n.useCallback(B(...e),e)}class V extends n.Component{getSnapshotBeforeUpdate(r){const t=this.props.childRef.current;if(S(t)&&r.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const o=t.offsetParent,l=S(o)&&o.offsetWidth||0,i=S(o)&&o.offsetHeight||0,d=getComputedStyle(t),s=this.props.sizeRef.current;s.height=parseFloat(d.height),s.width=parseFloat(d.width),s.top=t.offsetTop,s.left=t.offsetLeft,s.right=l-s.width-s.left,s.bottom=i-s.height-s.top,s.direction=d.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function X({children:e,isPresent:r,anchorX:t,anchorY:o,root:l,pop:i}){const d=n.useId(),s=n.useRef(null),y=n.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:E}=n.useContext(D),a=i!==!1?e.props?.ref??e?.ref:void 0,M=G(s,a);return n.useInsertionEffect(()=>{const{width:u,height:p,top:x,left:C,right:f,bottom:R,direction:L}=y.current;if(r||i===!1||!s.current||!u||!p)return;const b=L==="rtl",g=t==="left"?b?`right: ${f}`:`left: ${C}`:b?`left: ${C}`:`right: ${f}`,j=o==="bottom"?`bottom: ${R}`:`top: ${x}`;s.current.dataset.motionPopId=d;const h=document.createElement("style");E&&(h.nonce=E);const P=l??document.head;return P.appendChild(h),h.sheet&&h.sheet.insertRule(`
1
+ import{r as n,j as $}from"./__vite-browser-external-CvvpsW-U.js";import{M as D,a as S,u as A,b as F,P as K,c as U,L as W}from"./react-cIJ4zx62.js";function I(e,r){if(typeof e=="function")return e(r);e!=null&&(e.current=r)}function B(...e){return r=>{let t=!1;const o=e.map(l=>{const i=I(l,r);return!t&&typeof i=="function"&&(t=!0),i});if(t)return()=>{for(let l=0;l<o.length;l++){const i=o[l];typeof i=="function"?i():I(e[l],null)}}}}function G(...e){return n.useCallback(B(...e),e)}class V extends n.Component{getSnapshotBeforeUpdate(r){const t=this.props.childRef.current;if(S(t)&&r.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const o=t.offsetParent,l=S(o)&&o.offsetWidth||0,i=S(o)&&o.offsetHeight||0,d=getComputedStyle(t),s=this.props.sizeRef.current;s.height=parseFloat(d.height),s.width=parseFloat(d.width),s.top=t.offsetTop,s.left=t.offsetLeft,s.right=l-s.width-s.left,s.bottom=i-s.height-s.top,s.direction=d.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function X({children:e,isPresent:r,anchorX:t,anchorY:o,root:l,pop:i}){const d=n.useId(),s=n.useRef(null),y=n.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:E}=n.useContext(D),a=i!==!1?e.props?.ref??e?.ref:void 0,M=G(s,a);return n.useInsertionEffect(()=>{const{width:u,height:p,top:x,left:C,right:f,bottom:R,direction:L}=y.current;if(r||i===!1||!s.current||!u||!p)return;const b=L==="rtl",g=t==="left"?b?`right: ${f}`:`left: ${C}`:b?`left: ${C}`:`right: ${f}`,j=o==="bottom"?`bottom: ${R}`:`top: ${x}`;s.current.dataset.motionPopId=d;const h=document.createElement("style");E&&(h.nonce=E);const P=l??document.head;return P.appendChild(h),h.sheet&&h.sheet.insertRule(`
2
2
  [data-motion-pop-id="${d}"] {
3
3
  position: absolute !important;
4
4
  width: ${u}px !important;
@@ -1 +1 @@
1
- import{r as c}from"./__vite-browser-external-V4TPLCJG.js";var u={},p=()=>{window.si||(window.si=function(...i){window.siq=window.siq||[],window.siq.push(i)})},h="@vercel/speed-insights",g="2.0.0";function w(){return typeof window<"u"}function S(){try{const e="production"}catch{}return"production"}function l(){return S()==="development"}function k(e,i){if(!e||!i)return e;let n=e;try{const t=Object.entries(i);for(const[r,o]of t)if(!Array.isArray(o)){const s=d(o);s.test(n)&&(n=n.replace(s,`/[${r}]`))}for(const[r,o]of t)if(Array.isArray(o)){const s=d(o.join("/"));s.test(n)&&(n=n.replace(s,`/[...${r}]`))}return n}catch{return e}}function d(e){return new RegExp(`/${b(e)}(?=[/?#]|$)`)}function b(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(e){return e.scriptSrc?f(e.scriptSrc):l()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":e.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":e.basePath?f(`${e.basePath}/speed-insights/script.js`):"/_vercel/speed-insights/script.js"}function E(e,i){var n;let t=e;if(i)try{t={...(n=JSON.parse(i))==null?void 0:n.speedInsights,...e}}catch{}const r={sdkn:h+(t.framework?`/${t.framework}`:""),sdkv:g};return t.sampleRate&&(r.sampleRate=t.sampleRate.toString()),t.route&&(r.route=t.route),l()&&t.debug===!1&&(r.debug="false"),t.dsn&&(r.dsn=t.dsn),t.endpoint?r.endpoint=f(t.endpoint):t.basePath&&(r.endpoint=f(`${t.basePath}/speed-insights/vitals`)),{src:m(t),beforeSend:t.beforeSend,dataset:r}}function f(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function y(e={},i){var n;if(!w()||e.route===null)return null;p();const{beforeSend:t,src:r,dataset:o}=E(e,i);if(document.head.querySelector(`script[src*="${r}"]`))return null;t&&((n=window.si)==null||n.call(window,"beforeSend",t));const s=document.createElement("script");s.src=r,s.defer=!0;for(const[a,v]of Object.entries(o))s.dataset[a]=v;return s.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${r}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(s),{setRoute:a=>{s.dataset.route=a??void 0}}}function R(){if(!(typeof process>"u"||typeof u>"u"))return u.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function _(){if(!(typeof process>"u"||typeof u>"u"))return u.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}function P(e){c.useEffect(()=>{var n;e.beforeSend&&((n=window.si)==null||n.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);const i=c.useRef(null);return c.useEffect(()=>{if(!i.current){const n=y({framework:e.framework??"react",basePath:e.basePath??R(),...e},e.configString??_());n&&(i.current=n.setRoute)}},[e]),c.useEffect(()=>{i.current&&e.route&&i.current(e.route)},[e.route]),null}export{P as SpeedInsights,k as computeRoute};
1
+ import{r as c}from"./__vite-browser-external-CvvpsW-U.js";var u={},p=()=>{window.si||(window.si=function(...i){window.siq=window.siq||[],window.siq.push(i)})},h="@vercel/speed-insights",g="2.0.0";function w(){return typeof window<"u"}function S(){try{const e="production"}catch{}return"production"}function l(){return S()==="development"}function k(e,i){if(!e||!i)return e;let n=e;try{const t=Object.entries(i);for(const[r,o]of t)if(!Array.isArray(o)){const s=d(o);s.test(n)&&(n=n.replace(s,`/[${r}]`))}for(const[r,o]of t)if(Array.isArray(o)){const s=d(o.join("/"));s.test(n)&&(n=n.replace(s,`/[...${r}]`))}return n}catch{return e}}function d(e){return new RegExp(`/${b(e)}(?=[/?#]|$)`)}function b(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(e){return e.scriptSrc?f(e.scriptSrc):l()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":e.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":e.basePath?f(`${e.basePath}/speed-insights/script.js`):"/_vercel/speed-insights/script.js"}function E(e,i){var n;let t=e;if(i)try{t={...(n=JSON.parse(i))==null?void 0:n.speedInsights,...e}}catch{}const r={sdkn:h+(t.framework?`/${t.framework}`:""),sdkv:g};return t.sampleRate&&(r.sampleRate=t.sampleRate.toString()),t.route&&(r.route=t.route),l()&&t.debug===!1&&(r.debug="false"),t.dsn&&(r.dsn=t.dsn),t.endpoint?r.endpoint=f(t.endpoint):t.basePath&&(r.endpoint=f(`${t.basePath}/speed-insights/vitals`)),{src:m(t),beforeSend:t.beforeSend,dataset:r}}function f(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function y(e={},i){var n;if(!w()||e.route===null)return null;p();const{beforeSend:t,src:r,dataset:o}=E(e,i);if(document.head.querySelector(`script[src*="${r}"]`))return null;t&&((n=window.si)==null||n.call(window,"beforeSend",t));const s=document.createElement("script");s.src=r,s.defer=!0;for(const[a,v]of Object.entries(o))s.dataset[a]=v;return s.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${r}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(s),{setRoute:a=>{s.dataset.route=a??void 0}}}function R(){if(!(typeof process>"u"||typeof u>"u"))return u.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function _(){if(!(typeof process>"u"||typeof u>"u"))return u.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}function P(e){c.useEffect(()=>{var n;e.beforeSend&&((n=window.si)==null||n.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);const i=c.useRef(null);return c.useEffect(()=>{if(!i.current){const n=y({framework:e.framework??"react",basePath:e.basePath??R(),...e},e.configString??_());n&&(i.current=n.setRoute)}},[e]),c.useEffect(()=>{i.current&&e.route&&i.current(e.route)},[e.route]),null}export{P as SpeedInsights,k as computeRoute};
@@ -1 +1 @@
1
- import{o}from"./__vite-browser-external-V4TPLCJG.js";const e={name:"info",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]};e.node;const a=o(e);export{a as I};
1
+ import{o}from"./__vite-browser-external-CvvpsW-U.js";const e={name:"info",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]};e.node;const a=o(e);export{a as I};
@@ -1 +1 @@
1
- import{o as n}from"./__vite-browser-external-V4TPLCJG.js";const e={name:"link-2",size:24,node:[["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"}]]};e.node;const a=n(e);export{a as L};
1
+ import{o as n}from"./__vite-browser-external-CvvpsW-U.js";const e={name:"link-2",size:24,node:[["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"}]]};e.node;const a=n(e);export{a as L};
@@ -1 +1 @@
1
- import{o as a}from"./__vite-browser-external-V4TPLCJG.js";const e={name:"loader-circle",size:24,node:[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],aliases:["loader-2"]};e.node;const c=a(e);export{c as L};
1
+ import{o as a}from"./__vite-browser-external-CvvpsW-U.js";const e={name:"loader-circle",size:24,node:[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],aliases:["loader-2"]};e.node;const c=a(e);export{c as L};
@@ -1 +1 @@
1
- import{o as g,r as l,al as b,ar as y}from"./__vite-browser-external-V4TPLCJG.js";const w={name:"pencil",size:24,node:[["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"}]]};w.node;const p=g(w),d="tt.qualityPerDollar.enabled";function i(){if(typeof window>"u")return!1;try{return window.localStorage.getItem(d)==="1"}catch{return!1}}function k(){const[t,n]=l.useState(i);l.useEffect(()=>{if(typeof window>"u")return;const a=e=>{(e.key===null||e.key===d)&&n(i())};return window.addEventListener("storage",a),()=>window.removeEventListener("storage",a)},[]);const o=l.useCallback(a=>{const e=!!a;n(e);try{window.localStorage.setItem(d,e?"1":"0")}catch{}},[]),s=l.useCallback(()=>o(!i()),[o]);return{enabled:t,setEnabled:o,toggle:s}}const f="tt.sessionEfficiency.enabled";function u(){if(typeof window>"u")return!1;try{return window.localStorage.getItem(f)==="1"}catch{return!1}}function S(){const[t,n]=l.useState(u);l.useEffect(()=>{if(typeof window>"u")return;const a=e=>{(e.key===null||e.key===f)&&n(u())};return window.addEventListener("storage",a),()=>window.removeEventListener("storage",a)},[]);const o=l.useCallback(a=>{const e=!!a;n(e);try{window.localStorage.setItem(f,e?"1":"0")}catch{}},[]),s=l.useCallback(()=>o(!u()),[o]);return{enabled:t,setEnabled:o,toggle:s}}const m="tokentracker:local-usage-changed",L=5*1024*1024;function h(t,n,o=""){const a=(o?t.filter(r=>r.id===o):[...t,...n]).some(r=>Number(r.billable_total_tokens)>0),e=r=>({...r,total_tokens:a?r.billable_total_tokens??r.total_tokens:r.total_tokens});return{devices:t.map(e),accountSources:n.map(e)}}async function E({action:t,...n}={},o=!0){const s=new URLSearchParams;if(!t)for(const[r,c]of Object.entries(n))c!=null&&c!==""&&s.set(r,String(c));const a=await fetch(`/api/local-usage${s.size?`?${s}`:""}`,{method:t?"POST":"GET",cache:"no-store",headers:{...await b(),"Content-Type":"application/json"},...t?{body:JSON.stringify({action:t,...n})}:{}});if(a.status===401&&o)return y(),E({action:t,...n},!1);const e=await a.json();if(!a.ok)throw Object.assign(new Error(e.code||"transfer_failed"),{code:e.code});return e}function A(t,n={}){return E({action:t,...n})}function P({from:t,to:n,timeZone:o,tzOffsetMinutes:s}={}){return E({from:t,to:n,tz:o,tz_offset_minutes:s})}export{L,p as P,S as a,m as b,h as c,A as l,P as r,k as u};
1
+ import{o as g,r as l,al as b,ar as y}from"./__vite-browser-external-CvvpsW-U.js";const w={name:"pencil",size:24,node:[["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"}]]};w.node;const p=g(w),d="tt.qualityPerDollar.enabled";function i(){if(typeof window>"u")return!1;try{return window.localStorage.getItem(d)==="1"}catch{return!1}}function k(){const[t,n]=l.useState(i);l.useEffect(()=>{if(typeof window>"u")return;const a=e=>{(e.key===null||e.key===d)&&n(i())};return window.addEventListener("storage",a),()=>window.removeEventListener("storage",a)},[]);const o=l.useCallback(a=>{const e=!!a;n(e);try{window.localStorage.setItem(d,e?"1":"0")}catch{}},[]),s=l.useCallback(()=>o(!i()),[o]);return{enabled:t,setEnabled:o,toggle:s}}const f="tt.sessionEfficiency.enabled";function u(){if(typeof window>"u")return!1;try{return window.localStorage.getItem(f)==="1"}catch{return!1}}function S(){const[t,n]=l.useState(u);l.useEffect(()=>{if(typeof window>"u")return;const a=e=>{(e.key===null||e.key===f)&&n(u())};return window.addEventListener("storage",a),()=>window.removeEventListener("storage",a)},[]);const o=l.useCallback(a=>{const e=!!a;n(e);try{window.localStorage.setItem(f,e?"1":"0")}catch{}},[]),s=l.useCallback(()=>o(!u()),[o]);return{enabled:t,setEnabled:o,toggle:s}}const m="tokentracker:local-usage-changed",L=5*1024*1024;function h(t,n,o=""){const a=(o?t.filter(r=>r.id===o):[...t,...n]).some(r=>Number(r.billable_total_tokens)>0),e=r=>({...r,total_tokens:a?r.billable_total_tokens??r.total_tokens:r.total_tokens});return{devices:t.map(e),accountSources:n.map(e)}}async function E({action:t,...n}={},o=!0){const s=new URLSearchParams;if(!t)for(const[r,c]of Object.entries(n))c!=null&&c!==""&&s.set(r,String(c));const a=await fetch(`/api/local-usage${s.size?`?${s}`:""}`,{method:t?"POST":"GET",cache:"no-store",headers:{...await b(),"Content-Type":"application/json"},...t?{body:JSON.stringify({action:t,...n})}:{}});if(a.status===401&&o)return y(),E({action:t,...n},!1);const e=await a.json();if(!a.ok)throw Object.assign(new Error(e.code||"transfer_failed"),{code:e.code});return e}function A(t,n={}){return E({action:t,...n})}function P({from:t,to:n,timeZone:o,tzOffsetMinutes:s}={}){return E({from:t,to:n,tz:o,tz_offset_minutes:s})}export{L,p as P,S as a,m as b,h as c,A as l,P as r,k as u};
@@ -1 +1 @@
1
- import"./__vite-browser-external-V4TPLCJG.js";const s=r=>{let{transform:t}=r;return{...t,y:0}},e=r=>{let{transform:t}=r;return{...t,x:0}};export{e as a,s as r};
1
+ import"./__vite-browser-external-CvvpsW-U.js";const s=r=>{let{transform:t}=r;return{...t,y:0}},e=r=>{let{transform:t}=r;return{...t,x:0}};export{e as a,s as r};