super-time-tracker-ui 0.1.21 → 0.1.23

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 (93) hide show
  1. package/dist/standalone/next-output/BUILD_ID +1 -1
  2. package/dist/standalone/next-output/build-manifest.json +3 -3
  3. package/dist/standalone/next-output/server/app/_global-error.html +1 -1
  4. package/dist/standalone/next-output/server/app/_global-error.rsc +1 -1
  5. package/dist/standalone/next-output/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  6. package/dist/standalone/next-output/server/app/_global-error.segments/_full.segment.rsc +1 -1
  7. package/dist/standalone/next-output/server/app/_global-error.segments/_head.segment.rsc +1 -1
  8. package/dist/standalone/next-output/server/app/_global-error.segments/_index.segment.rsc +1 -1
  9. package/dist/standalone/next-output/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  10. package/dist/standalone/next-output/server/app/_not-found/page.js +1 -1
  11. package/dist/standalone/next-output/server/app/_not-found/page.js.nft.json +1 -1
  12. package/dist/standalone/next-output/server/app/_not-found/page_client-reference-manifest.js +1 -1
  13. package/dist/standalone/next-output/server/app/login/page.js +1 -1
  14. package/dist/standalone/next-output/server/app/login/page.js.nft.json +1 -1
  15. package/dist/standalone/next-output/server/app/login/page_client-reference-manifest.js +1 -1
  16. package/dist/standalone/next-output/server/app/offline/page.js +1 -1
  17. package/dist/standalone/next-output/server/app/offline/page.js.nft.json +1 -1
  18. package/dist/standalone/next-output/server/app/offline/page_client-reference-manifest.js +1 -1
  19. package/dist/standalone/next-output/server/app/page.js +1 -1
  20. package/dist/standalone/next-output/server/app/page.js.nft.json +1 -1
  21. package/dist/standalone/next-output/server/app/page_client-reference-manifest.js +1 -1
  22. package/dist/standalone/next-output/server/app/pomodoro/page.js +1 -1
  23. package/dist/standalone/next-output/server/app/pomodoro/page.js.nft.json +1 -1
  24. package/dist/standalone/next-output/server/app/pomodoro/page_client-reference-manifest.js +1 -1
  25. package/dist/standalone/next-output/server/app/register/page.js +1 -1
  26. package/dist/standalone/next-output/server/app/register/page.js.nft.json +1 -1
  27. package/dist/standalone/next-output/server/app/register/page_client-reference-manifest.js +1 -1
  28. package/dist/standalone/next-output/server/app/reporting/page.js +1 -1
  29. package/dist/standalone/next-output/server/app/reporting/page.js.nft.json +1 -1
  30. package/dist/standalone/next-output/server/app/reporting/page_client-reference-manifest.js +1 -1
  31. package/dist/standalone/next-output/server/app/settings/ai-suggestions/page.js +1 -1
  32. package/dist/standalone/next-output/server/app/settings/ai-suggestions/page.js.nft.json +1 -1
  33. package/dist/standalone/next-output/server/app/settings/ai-suggestions/page_client-reference-manifest.js +1 -1
  34. package/dist/standalone/next-output/server/app/settings/cloud-sync/page.js +1 -1
  35. package/dist/standalone/next-output/server/app/settings/cloud-sync/page.js.nft.json +1 -1
  36. package/dist/standalone/next-output/server/app/settings/cloud-sync/page_client-reference-manifest.js +1 -1
  37. package/dist/standalone/next-output/server/app/settings/data/page.js +1 -1
  38. package/dist/standalone/next-output/server/app/settings/data/page.js.nft.json +1 -1
  39. package/dist/standalone/next-output/server/app/settings/data/page_client-reference-manifest.js +1 -1
  40. package/dist/standalone/next-output/server/app/settings/display/page.js +1 -1
  41. package/dist/standalone/next-output/server/app/settings/display/page.js.nft.json +1 -1
  42. package/dist/standalone/next-output/server/app/settings/display/page_client-reference-manifest.js +1 -1
  43. package/dist/standalone/next-output/server/app/settings/goals/page.js +1 -1
  44. package/dist/standalone/next-output/server/app/settings/goals/page.js.nft.json +1 -1
  45. package/dist/standalone/next-output/server/app/settings/goals/page_client-reference-manifest.js +1 -1
  46. package/dist/standalone/next-output/server/app/settings/page.js +1 -1
  47. package/dist/standalone/next-output/server/app/settings/page.js.nft.json +1 -1
  48. package/dist/standalone/next-output/server/app/settings/page_client-reference-manifest.js +1 -1
  49. package/dist/standalone/next-output/server/app/settings/pomodoro/page.js +1 -1
  50. package/dist/standalone/next-output/server/app/settings/pomodoro/page.js.nft.json +1 -1
  51. package/dist/standalone/next-output/server/app/settings/pomodoro/page_client-reference-manifest.js +1 -1
  52. package/dist/standalone/next-output/server/app/settings/tags/page.js +1 -1
  53. package/dist/standalone/next-output/server/app/settings/tags/page.js.nft.json +1 -1
  54. package/dist/standalone/next-output/server/app/settings/tags/page_client-reference-manifest.js +1 -1
  55. package/dist/standalone/next-output/server/app/sheets/page.js +1 -1
  56. package/dist/standalone/next-output/server/app/sheets/page.js.nft.json +1 -1
  57. package/dist/standalone/next-output/server/app/sheets/page_client-reference-manifest.js +1 -1
  58. package/dist/standalone/next-output/server/app/today/page.js +1 -1
  59. package/dist/standalone/next-output/server/app/today/page.js.nft.json +1 -1
  60. package/dist/standalone/next-output/server/app/today/page_client-reference-manifest.js +1 -1
  61. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0.ztg_g._.js +1 -1
  62. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0a7wn1j._.js +1 -1
  63. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0bowsf1._.js +3 -0
  64. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0xenuid._.js +3 -0
  65. package/dist/standalone/next-output/server/chunks/ssr/_0a899fn._.js +1 -1
  66. package/dist/standalone/next-output/server/chunks/ssr/_0r_7~d.._.js +1 -1
  67. package/dist/standalone/next-output/server/chunks/ssr/_138a8mc._.js +1 -1
  68. package/dist/standalone/next-output/server/middleware-build-manifest.js +3 -3
  69. package/dist/standalone/next-output/server/middleware-manifest.json +1 -1
  70. package/dist/standalone/next-output/server/pages/500.html +1 -1
  71. package/dist/standalone/next-output/static/chunks/{0jf22qg9qg-gc.js → 0d_y_tcdl.atr.js} +1 -1
  72. package/dist/standalone/next-output/static/chunks/{0yl69md~v-u0j.js → 0lik.lmxlumgs.js} +1 -1
  73. package/dist/standalone/next-output/static/chunks/{04zgidsnwp2rr.js → 0nkl588xh~5.i.js} +4 -4
  74. package/dist/standalone/next-output/static/chunks/170g.yxigj5~6.js +1 -0
  75. package/dist/standalone/package.json +1 -1
  76. package/dist/standalone/public/icons/android-chrome-192x192.png +0 -0
  77. package/dist/standalone/public/icons/android-chrome-512x512.png +0 -0
  78. package/dist/standalone/public/icons/apple-touch-icon.png +0 -0
  79. package/dist/standalone/public/icons/favicon-16x16.png +0 -0
  80. package/dist/standalone/public/icons/favicon-32x32.png +0 -0
  81. package/dist/standalone/public/icons/favicon.ico +0 -0
  82. package/dist/standalone/public/icons/site.webmanifest +1 -0
  83. package/dist/standalone/public/manifest.webmanifest +6 -6
  84. package/dist/standalone/public/sw.js +7 -4
  85. package/package.json +1 -1
  86. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0t-0r_3._.js +0 -3
  87. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__12y1a.s._.js +0 -3
  88. package/dist/standalone/next-output/static/chunks/0d7jhm_3u1qc8.js +0 -1
  89. package/dist/standalone/public/icons/pwa-icon-192.svg +0 -6
  90. package/dist/standalone/public/icons/pwa-icon-512.svg +0 -6
  91. /package/dist/standalone/next-output/static/{uDCGSwlW4NbB5dHgt5rHB → bgOsiww4FCfWqc0FLJPnQ}/_buildManifest.js +0 -0
  92. /package/dist/standalone/next-output/static/{uDCGSwlW4NbB5dHgt5rHB → bgOsiww4FCfWqc0FLJPnQ}/_clientMiddlewareManifest.js +0 -0
  93. /package/dist/standalone/next-output/static/{uDCGSwlW4NbB5dHgt5rHB → bgOsiww4FCfWqc0FLJPnQ}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42552,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={formatUrl:function(){return o},formatWithValidation:function(){return c},urlObjectKeys:function(){return i}};for(var n in s)Object.defineProperty(r,n,{enumerable:!0,get:s[n]});let a=e.r(44066)._(e.r(78677)),l=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,s=e.protocol||"",n=e.pathname||"",o=e.hash||"",i=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),i&&"object"==typeof i&&(i=String(a.urlQueryToSearchParams(i)));let u=e.search||i&&`?${i}`||"";return s&&!s.endsWith(":")&&(s+=":"),e.slashes||(!s||l.test(s))&&!1!==c?(c="//"+(c||""),n&&"/"!==n[0]&&(n="/"+n)):c||(c=""),o&&"#"!==o[0]&&(o="#"+o),u&&"?"!==u[0]&&(u="?"+u),n=n.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${s}${c}${n}${u}${o}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return o(e)}},37879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return n}});let s=e.r(29158);function n(e,t){let r=(0,s.useRef)(null),n=(0,s.useRef)(null);return(0,s.useCallback)(s=>{if(null===s){let e=r.current;e&&(r.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(r.current=a(e,s)),t&&(n.current=a(t,s))},[e,t])}function a(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 r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},59246,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let s=e.r(31047),n=e.r(63334);function a(e){if(!(0,s.isAbsoluteUrl)(e))return!0;try{let t=(0,s.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,n.hasBasePath)(r.pathname)}catch(e){return!1}}},10364,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return s}});let s=e=>{}},45958,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return g},useLinkStatus:function(){return b}};for(var n in s)Object.defineProperty(r,n,{enumerable:!0,get:s[n]});let a=e.r(44066),l=e.r(54710),o=a._(e.r(29158)),i=e.r(42552),c=e.r(61717),u=e.r(37879),d=e.r(31047),_=e.r(20321);e.r(90503);let p=e.r(38520),f=e.r(19947),m=e.r(59246),h=e.r(99046);function g(t){var r,s;let n,a,g,[b,v]=(0,o.useOptimistic)(f.IDLE_LINK_STATUS),y=(0,o.useRef)(null),{href:j,as:N,children:w,prefetch:k=null,passHref:S,replace:E,shallow:O,scroll:T,onClick:A,onMouseEnter:C,onTouchStart:L,legacyBehavior:R=!1,onNavigate:U,transitionTypes:P,ref:G,unstable_dynamicOnHover:F,...D}=t;n=w,R&&("string"==typeof n||"number"==typeof n)&&(n=(0,l.jsx)("a",{children:n}));let M=o.default.useContext(c.AppRouterContext),I=!1!==k,K=!1!==k?null===(s=k)||"auto"===s?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,W="string"==typeof(r=N||j)?r:(0,i.formatUrl)(r);if(R){if(n?.$$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});a=o.default.Children.only(n)}let $=R?a&&"object"==typeof a&&a.ref:G,B=o.default.useCallback(e=>(null!==M&&(y.current=(0,f.mountLinkInstance)(e,W,M,K,I,v)),()=>{y.current&&((0,f.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,f.unmountPrefetchableInstance)(e)}),[I,W,M,K,v]),Y={ref:(0,u.useMergedRef)(B,$),onClick(t){R||"function"!=typeof A||A(t),R&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!M||t.defaultPrevented||function(t,r,s,n,a,l,i){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){n&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(91087);o.default.startTransition(()=>{d(r,n?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,s.current,i)})}}(t,W,y,E,T,U,P)},onMouseEnter(e){R||"function"!=typeof C||C(e),R&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),M&&I&&(0,f.onNavigationIntent)(e.currentTarget,!0===F)},onTouchStart:function(e){R||"function"!=typeof L||L(e),R&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),M&&I&&(0,f.onNavigationIntent)(e.currentTarget,!0===F)}};return(0,d.isAbsoluteUrl)(W)?Y.href=W:R&&!S&&("a"!==a.type||"href"in a.props)||(Y.href=(0,_.addBasePath)(W)),g=R?o.default.cloneElement(a,Y):(0,l.jsx)("a",{...D,...Y,children:n}),(0,l.jsx)(x.Provider,{value:b,children:g})}e.r(10364);let x=(0,o.createContext)(f.IDLE_LINK_STATUS),b=()=>(0,o.useContext)(x);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77882,e=>{"use strict";var t=e.i(71060),r=e.i(29158),s=e.i(83105),n=e.i(32417),a=e.i(46549);e.s(["use_supabase_auth_session",0,function(){let e=(0,t.useRouter)(),[l,o]=(0,r.useState)(null),[i,c]=(0,r.useState)(!1),u=(0,n.is_supabase_configured)();return(0,r.useEffect)(()=>{if(!u)return;let e=(0,s.create_browser_supabase_client)();e.auth.getSession().then(({data:{session:e}})=>{o(e?.user.email??null)}).catch(()=>{o(null)});let{data:{subscription:t}}=e.auth.onAuthStateChange((e,t)=>{o(t?.user.email??null)});return()=>{t.unsubscribe()}},[u]),{is_configured:u,email:l,is_pending:i,sign_out:(0,r.useCallback)(async()=>{c(!0);try{await fetch("/api/auth/signout",{method:"POST"});let t=(0,s.create_browser_supabase_client)();await t.auth.signOut().catch(()=>{}),(0,a.notify_settings_saved)("Signed out"),e.refresh()}finally{c(!1)}},[e])}}])},45200,648,e=>{"use strict";var t=e.i(54710),r=e.i(45958),s=e.i(71060);let n=[{href:"/",label:"Tracker",match:e=>"/"===e},{href:"/today",label:"Today",match:e=>e.startsWith("/today")},{href:"/pomodoro",label:"Pomodoro",match:e=>e.startsWith("/pomodoro")},{href:"/sheets",label:"Sheets",match:e=>e.startsWith("/sheets")},{href:"/reporting",label:"Reporting",match:e=>e.startsWith("/reporting")}];function a(){return(0,t.jsx)("svg",{className:"block h-4 w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M17.5 19a4.5 4.5 0 0 0 0-9 6.5 6.5 0 0 0-12.6 1.5A4 4 0 0 0 6 19h11.5z"})})}e.s(["TrackerNavLinks",0,function(){let e=(0,s.usePathname)()??"/";return(0,t.jsx)("div",{className:"scrollbar-none flex min-w-0 flex-1 items-center gap-1 overflow-x-auto whitespace-nowrap py-0.5 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden min-[980px]:overflow-visible",children:n.map(s=>{let n=s.match(e);return(0,t.jsx)(r.default,{className:`rounded-full px-3 py-1.5 text-[0.85rem] font-semibold no-underline transition-colors duration-150 shrink-0 ${n?"bg-accent-soft text-foreground":"text-muted hover:bg-surface-hover hover:text-foreground"}`,href:s.href,"aria-current":n?"page":void 0,children:s.label},s.href)})})}],45200);var l=e.i(77882);e.s(["TopbarCloudStatus",0,function(){let{email:e,is_configured:r}=(0,l.use_supabase_auth_session)();return r&&null!==e?(0,t.jsxs)("div",{className:"group relative flex items-center",children:[(0,t.jsx)("span",{className:"inline-flex h-8 w-8 items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-accent","aria-label":`Cloud sync active for ${e}`,role:"img",children:(0,t.jsx)(a,{})}),(0,t.jsx)("div",{role:"tooltip",className:"pointer-events-none absolute right-0 top-full z-50 mt-1.5 w-max max-w-[min(18rem,calc(100vw-2.5rem))] opacity-0 transition-opacity duration-150 group-hover:opacity-100 group-focus-within:opacity-100",children:(0,t.jsxs)("div",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-1.5 shadow-md",children:[(0,t.jsx)("p",{className:"m-0 text-[0.72rem] font-semibold uppercase tracking-[0.04em] text-muted",children:"Signed in as"}),(0,t.jsx)("p",{className:"m-0 max-w-[16rem] truncate text-[0.82rem] font-medium",title:e,children:e})]})})]}):null}],648)},37399,e=>{"use strict";var t=e.i(54710);e.s(["HamburgerIcon",0,function(){return(0,t.jsxs)("svg",{className:"block h-4 w-4 text-muted",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M4 7h16"}),(0,t.jsx)("path",{d:"M4 12h16"}),(0,t.jsx)("path",{d:"M4 17h16"})]})}])},90463,e=>{"use strict";e.s(["build_auth_page_href",0,function(e,t){let r="sign_in"===e?"/login":"/register",s=t.trim();return 0===s.length||"/"===s?r:`${r}?next=${encodeURIComponent(s)}`}])},2268,76003,38240,e=>{"use strict";var t=e.i(34869),r=e.i(92629);let s=(0,t.create_ui_preference_store)({storage_key:r.CLOUD_SYNC_ENABLED_STORAGE_KEY,default_value:r.CLOUD_SYNC_ENABLED_DEFAULT,is_valid:e=>"true"===e||"false"===e});function n(){return"u"<typeof document?"dark":"light"===document.documentElement.getAttribute("data-theme")?"light":"dark"}e.s(["cloud_sync_enabled_preference",0,s],2268),e.s(["get_theme_server_snapshot",0,function(){return"dark"},"get_theme_snapshot",0,function(){return n()}],76003);var a=e.i(17798),l=e.i(46549),o=e.i(10464),i=e.i(35434),c=e.i(61834),u=e.i(81553);e.s(["toggle_theme",0,function(){let e="dark"===n()?"light":"dark";(0,a.apply_theme)(e),(0,u.write_stored_theme)(e),o.theme_mode_preference.write(e),(0,c.write_document_preference_cookies)({theme_mode:e,theme:e}),o.theme_mode_preference.notify(),(0,i.notify_theme_subscribers)(),(0,l.notify_settings_saved)()}],38240)},25204,e=>{"use strict";var t=e.i(29158),r=e.i(72074);e.s(["use_escape_to_cancel",0,function(e,s=!0){let n=(0,t.useRef)(e);n.current=e,(0,t.useEffect)(()=>{if(!s)return;let e=e=>{"Escape"!==e.key||(0,r.is_modal_dialog_open)()||(e.preventDefault(),n.current())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[s])}])},1976,e=>{"use strict";var t=e.i(54710),r=e.i(45958),s=e.i(71060),n=e.i(29158),a=e.i(37399),l=e.i(90463),o=e.i(46549),i=e.i(2268),c=e.i(28274),u=e.i(76003),d=e.i(35434),_=e.i(38240),p=e.i(25204),f=e.i(77882);let m="block w-full cursor-pointer rounded-[0.45rem] border-0 bg-transparent px-2.5 py-1.5 text-left font-inherit text-[0.85rem] text-inherit no-underline hover:bg-surface-hover disabled:cursor-not-allowed disabled:opacity-55";e.s(["TopbarOverflowMenu",0,function(){let e=(0,s.useRouter)(),h=(0,s.usePathname)()??"/",g=(0,n.useSyncExternalStore)(d.subscribe_theme,u.get_theme_snapshot,u.get_theme_server_snapshot),x=(0,n.useSyncExternalStore)(i.cloud_sync_enabled_preference.subscribe,i.cloud_sync_enabled_preference.get_snapshot,i.cloud_sync_enabled_preference.get_server_snapshot),{email:b,is_configured:v,is_pending:y,sign_out:j}=(0,f.use_supabase_auth_session)(),[N,w]=(0,n.useState)(!1),k=(0,n.useRef)(null);(0,n.useEffect)(()=>{if(!N)return;let e=e=>{null===k.current||k.current.contains(e.target)||w(!1)};return document.addEventListener("pointerdown",e),()=>{document.removeEventListener("pointerdown",e)}},[N]);let S=()=>{w(!1)};return(0,p.use_escape_to_cancel)(S,N),(0,t.jsxs)("div",{className:"relative shrink-0",ref:k,children:[(0,t.jsx)("button",{type:"button",className:"inline-flex h-8 w-8 cursor-pointer items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-muted hover:bg-surface-hover hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent","aria-label":"Open menu","aria-expanded":N,"aria-haspopup":"menu",onClick:()=>w(e=>!e),children:(0,t.jsx)(a.HamburgerIcon,{})}),N?(0,t.jsxs)("ul",{className:"absolute right-0 top-full z-50 mt-1.5 min-w-56 list-none rounded-md border border-panel-border bg-panel p-1.5 shadow-md",role:"menu",children:[v&&null!==b?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("p",{className:"m-0 truncate px-2.5 py-1 text-[0.72rem] uppercase tracking-[0.04em] text-muted",title:b,children:b})}):null,(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/settings/tags",className:m,role:"menuitem",onClick:S,children:"Manage tags"})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/pomodoro",className:m,role:"menuitem",onClick:S,children:"Pomodoro"})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/settings/cloud-sync",className:m,role:"menuitem",onClick:S,children:"Sync settings"})}),v?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:m,role:"menuitemcheckbox","aria-checked":"true"===x,onClick:()=>{let e="true"===x?"false":"true";i.cloud_sync_enabled_preference.write(e),i.cloud_sync_enabled_preference.notify(),(0,o.notify_settings_saved)("true"===e?"Cloud sync enabled":"Cloud sync disabled"),"true"===e&&null!==b&&(0,c.run_tracker_db_cloud_sync)({merge_on_load:!0}).catch(()=>{})},children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:"true"===x?"Pause cloud sync":"Resume cloud sync"}),(0,t.jsx)("span",{className:"text-muted","aria-hidden":"true",children:"true"===x?"On":"Off"})]})})}):null,(0,t.jsx)("li",{className:"my-1 border-t border-panel-border",role:"separator","aria-hidden":"true"}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:m,role:"menuitem",onClick:()=>{S(),(0,_.toggle_theme)()},suppressHydrationWarning:!0,children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsxs)("span",{children:["dark"===g?"Dark":"Light"," theme"]}),(0,t.jsx)("span",{"aria-hidden":"true",children:"dark"===g?"☾":"☀"})]})})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:m,role:"menuitem",onClick:()=>{S(),document.dispatchEvent(new KeyboardEvent("keydown",{key:"?",shiftKey:!0,bubbles:!0}))},children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:"Keyboard shortcuts"}),(0,t.jsx)("span",{className:"text-muted","aria-hidden":"true",children:"(?)"})]})})}),v?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"my-1 border-t border-panel-border",role:"separator","aria-hidden":"true"}),null===b?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:m,role:"menuitem",onClick:()=>{S(),e.push((0,l.build_auth_page_href)("sign_in",h))},children:"Sign in"})}):(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:`${m} text-danger`,role:"menuitem",disabled:y,onClick:()=>{S(),j()},children:y?"Signing out…":"Sign out"})})]}):null]}):null]})}])},29539,e=>{"use strict";var t=e.i(54710);e.s(["SettingsIcon",0,function(){return(0,t.jsxs)("svg",{className:"block h-4 w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})}])},75404,e=>{"use strict";var t=e.i(54710),r=e.i(45200),s=e.i(648),n=e.i(1976),a=e.i(45958),l=e.i(71060),o=e.i(29539);function i(){let e=((0,l.usePathname)()??"/").startsWith("/settings");return(0,t.jsx)(a.default,{href:"/settings",className:`inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-muted no-underline hover:bg-surface-hover hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent${e?" border-accent-border text-foreground":""}`,"aria-label":"Settings","aria-current":e?"page":void 0,children:(0,t.jsx)(o.SettingsIcon,{})})}function c({current:e,parent:r}){return(0,t.jsx)("nav",{"aria-label":"Breadcrumb",className:"min-w-0 text-left",children:(0,t.jsxs)("ol",{className:"m-0 flex min-w-0 list-none flex-wrap items-center gap-1.5 p-0 text-[0.85rem]",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{className:"text-muted no-underline hover:text-foreground",href:"/",children:"Tracker"})}),void 0!==r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,t.jsx)("li",{children:void 0!==r.href?(0,t.jsx)(a.default,{className:"max-w-44 truncate text-muted no-underline hover:text-foreground sm:max-w-none",href:r.href,children:r.label}):(0,t.jsx)("span",{className:"max-w-44 truncate text-muted sm:max-w-none",children:r.label})})]}):null,(0,t.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,t.jsx)("li",{className:"max-w-44 truncate font-medium text-foreground sm:max-w-none","aria-current":"page",children:e})]})})}e.s(["TrackerTopbar",0,function({breadcrumb:e}={}){return(0,t.jsx)("header",{className:"relative z-1 border-b border-panel-border bg-[color-mix(in_srgb,var(--panel)_92%,var(--background))] shadow-sm backdrop-blur-[10px]",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-[1120px] min-h-13 flex-wrap items-center gap-x-4 gap-y-2 px-4 py-2 sm:px-5",children:[(0,t.jsx)("span",{className:"inline-flex min-w-0 shrink items-center font-mono text-[0.72rem] font-semibold uppercase leading-tight tracking-[0.08em] text-accent whitespace-nowrap",children:"super-time-tracker"}),void 0!==e?(0,t.jsx)("div",{className:"min-w-0 flex-1",children:(0,t.jsx)(c,{current:e.current,parent:e.parent})}):null,(0,t.jsxs)("div",{className:"flex w-full items-center justify-between gap-2 min-[980px]:ml-auto min-[980px]:w-auto min-[980px]:justify-end",children:[(0,t.jsx)(r.TrackerNavLinks,{}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center justify-end gap-2",children:[(0,t.jsx)(s.TopbarCloudStatus,{}),(0,t.jsx)(i,{}),(0,t.jsx)(n.TopbarOverflowMenu,{})]})]})]})})}],75404)},42800,e=>{"use strict";var t=e.i(54710),r=e.i(45958),s=e.i(71060);let n=[{href:"/settings",label:"General",match:e=>"/settings"===e},{href:"/settings/display",label:"Display & layout",match:e=>e.startsWith("/settings/display")},{href:"/settings/goals",label:"Goals",match:e=>e.startsWith("/settings/goals")},{href:"/settings/pomodoro",label:"Pomodoro",match:e=>e.startsWith("/settings/pomodoro")},{href:"/settings/ai-suggestions",label:"AI suggestions",match:e=>e.startsWith("/settings/ai-suggestions")},{href:"/settings/cloud-sync",label:"Sync",match:e=>e.startsWith("/settings/cloud-sync")},{href:"/settings/data",label:"Data & backup",match:e=>e.startsWith("/settings/data")},{href:"/settings/tags",label:"Tag management",match:e=>e.startsWith("/settings/tags")}];e.s(["SettingsNav",0,function(){let e=(0,s.usePathname)()??"/settings";return(0,t.jsx)("nav",{"aria-label":"Settings sections",className:"w-full",children:(0,t.jsx)("ul",{className:"scrollbar-none m-0 flex w-full list-none gap-1 overflow-x-auto p-0 pb-1 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden max-[860px]:flex-row min-[861px]:flex-col min-[861px]:gap-0.5 min-[861px]:overflow-visible min-[861px]:pb-0",children:n.map(s=>{let n=s.match(e);return(0,t.jsx)("li",{className:"shrink-0 min-[861px]:shrink",children:(0,t.jsx)(r.default,{href:s.href,"aria-current":n?"page":void 0,className:`block whitespace-nowrap rounded-md px-3 py-2 text-[0.9rem] no-underline transition-colors duration-150 min-[861px]:whitespace-normal ${n?"bg-accent-soft text-foreground":"text-muted hover:bg-surface-hover hover:text-foreground"}`,children:s.label})},s.href)})})})}])},7902,e=>{"use strict";var t=e.i(46549);e.s(["persist_ui_preference",0,function(e,r){e.read()!==r&&(e.write(r),e.notify(),(0,t.notify_settings_saved)())}])},1238,83821,51703,74597,77130,56442,73228,56996,8654,76900,60145,e=>{"use strict";e.s(["parse_focus_goals_by_name",0,function(e){if(0===e.length)return{};try{let t=JSON.parse(e);if(null===t||"object"!=typeof t||Array.isArray(t))return{};let r={};for(let[e,s]of Object.entries(t)){if(null===s||"object"!=typeof s)continue;let t={};"string"==typeof s.daily&&s.daily.length>0&&(t.daily=s.daily),"string"==typeof s.weekly&&s.weekly.length>0&&(t.weekly=s.weekly),(void 0!==t.daily||void 0!==t.weekly)&&(r[e]=t)}return r}catch{return{}}}],1238);var t=e.i(34869),r=e.i(92629);let s=(0,t.create_ui_preference_store)({storage_key:r.DAILY_FOCUS_TARGET_MINUTES_STORAGE_KEY,default_value:r.DAILY_FOCUS_TARGET_MINUTES_DEFAULT,is_valid:e=>{if(!/^\d+$/.test(e))return!1;let t=Number.parseInt(e,10);return t>=30&&t<=720}});e.s(["daily_focus_target_minutes_preference",0,s],83821);let n=(0,t.create_ui_preference_store)({storage_key:r.FOCUS_GOAL_SCOPE_STORAGE_KEY,default_value:r.FOCUS_GOAL_SCOPE_DEFAULT,is_valid:e=>"global"===e||"sheet"===e||"tag"===e});e.s(["focus_goal_scope_preference",0,n],51703);let a=(0,t.create_ui_preference_store)({storage_key:r.FOCUS_GOAL_SHEET_NAME_STORAGE_KEY,default_value:r.FOCUS_GOAL_SHEET_NAME_DEFAULT,is_valid:e=>e.trim().length>0});e.s(["focus_goal_sheet_name_preference",0,a],74597);let l=(0,t.create_ui_preference_store)({storage_key:r.FOCUS_GOAL_TAG_NAME_STORAGE_KEY,default_value:r.FOCUS_GOAL_TAG_NAME_DEFAULT,is_valid:e=>e.trim().length>0});e.s(["focus_goal_tag_name_preference",0,l],77130);let o=(0,t.create_ui_preference_store)({storage_key:r.FOCUS_GOALS_PER_SHEET_STORAGE_KEY,default_value:r.FOCUS_GOALS_PER_SHEET_DEFAULT,is_valid:e=>{if(0===e.length)return!1;try{let t=JSON.parse(e);return null!==t&&"object"==typeof t&&!Array.isArray(t)}catch{return!1}}});e.s(["focus_goals_per_sheet_preference",0,o],56442);let i=(0,t.create_ui_preference_store)({storage_key:r.FOCUS_GOALS_PER_TAG_STORAGE_KEY,default_value:r.FOCUS_GOALS_PER_TAG_DEFAULT,is_valid:e=>{if(0===e.length)return!1;try{let t=JSON.parse(e);return null!==t&&"object"==typeof t&&!Array.isArray(t)}catch{return!1}}});e.s(["focus_goals_per_tag_preference",0,i],73228);let c=(0,t.create_ui_preference_store)({storage_key:r.FOCUS_NUDGES_ENABLED_STORAGE_KEY,default_value:r.FOCUS_NUDGES_ENABLED_DEFAULT,is_valid:e=>"true"===e||"false"===e});e.s(["focus_nudges_enabled_preference",0,c],56996);let u=(0,t.create_ui_preference_store)({storage_key:r.NO_LOG_REMINDER_MINUTES_STORAGE_KEY,default_value:r.NO_LOG_REMINDER_MINUTES_DEFAULT,is_valid:e=>{if(!/^\d+$/.test(e))return!1;let t=Number.parseInt(e,10);return t>=5&&t<=240}});e.s(["no_log_reminder_minutes_preference",0,u],8654);let d=(0,t.create_ui_preference_store)({storage_key:r.OVERWORK_ALERT_HOURS_STORAGE_KEY,default_value:r.OVERWORK_ALERT_HOURS_DEFAULT,is_valid:e=>{if(!/^\d+$/.test(e))return!1;let t=Number.parseInt(e,10);return t>=1&&t<=16}});e.s(["overwork_alert_hours_preference",0,d],76900);let _=(0,t.create_ui_preference_store)({storage_key:r.WEEKLY_FOCUS_TARGET_MINUTES_STORAGE_KEY,default_value:r.WEEKLY_FOCUS_TARGET_MINUTES_DEFAULT,is_valid:e=>{if(!/^\d+$/.test(e))return!1;let t=Number.parseInt(e,10);return t>=60&&t<=4200}});e.s(["weekly_focus_target_minutes_preference",0,_],60145)},34032,e=>{"use strict";var t=e.i(54710),r=e.i(29158),s=e.i(1238);function n(e,t,r,n){if(0===t.length)return e;let a=(0,s.parse_focus_goals_by_name)(e),l=a[t]??{};if(0===n.length){let e={...l};delete e[r],void 0===e.daily&&void 0===e.weekly?delete a[t]:a[t]=e}else a[t]={...l,[r]:n};return JSON.stringify(a)}var a=e.i(83821),l=e.i(51703),o=e.i(74597),i=e.i(77130),c=e.i(56442),u=e.i(73228),d=e.i(56996),_=e.i(8654),p=e.i(76900),f=e.i(60145),m=e.i(7902);let h=[120,180,240,300,360,420,480],g=[600,900,1200,1500,1800,2100,2400],x=[15,30,45,60,90,120],b=[6,8,10,12,14],v=[{value:"global",label:"Global"},{value:"sheet",label:"Per-sheet"},{value:"tag",label:"Per-tag"}];function y({disabled:e,daily_target_minutes:r,weekly_target_minutes:s}){return(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:"Global targets"}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-2 md:grid-cols-2",children:[(0,t.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,t.jsx)("span",{className:"text-[0.8rem] text-muted",children:"Daily target"}),(0,t.jsx)("select",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-2 text-[0.85rem]",value:r,disabled:e,onChange:e=>(0,m.persist_ui_preference)(a.daily_focus_target_minutes_preference,e.target.value),children:h.map(e=>(0,t.jsxs)("option",{value:String(e),children:[e," min"]},e))})]}),(0,t.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,t.jsx)("span",{className:"text-[0.8rem] text-muted",children:"Weekly target"}),(0,t.jsx)("select",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-2 text-[0.85rem]",value:s,disabled:e,onChange:e=>(0,m.persist_ui_preference)(f.weekly_focus_target_minutes_preference,e.target.value),children:g.map(e=>(0,t.jsxs)("option",{value:String(e),children:[e," min"]},e))})]})]})]})}function j({kind:e,names:r,disabled:s,active_name:a,map:l,json:d}){let _="sheet"===e?"Per-sheet targets":"Per-tag targets";if(0===r.length)return(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:_}),(0,t.jsx)("p",{className:"m-0 text-[0.85rem] text-muted",children:"sheet"===e?"Create a sheet to configure per-sheet goals.":"Add a tag to a time entry to configure per-tag goals."})]});let p=`focus-goal-active-${e}`;return(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-baseline justify-between gap-2",children:[(0,t.jsx)("span",{className:"text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:_}),(0,t.jsxs)("span",{className:"text-[0.75rem] text-muted",children:["Pick the ",e," shown in the focus banner."]})]}),(0,t.jsx)("ul",{className:"m-0 flex list-none flex-col gap-1.5 p-0",children:r.map(r=>{let _=l[r]??{},f=_.daily??"",x=_.weekly??"",b=a===r;return(0,t.jsxs)("li",{className:`grid items-center gap-2 rounded-md border bg-panel px-3 py-2.5 transition-colors md:grid-cols-[auto_minmax(0,1fr)_minmax(0,11rem)_minmax(0,11rem)] grid-cols-[auto_minmax(0,1fr)] ${b?"border-accent-border bg-accent-soft":"border-panel-border"}`,children:[(0,t.jsx)("label",{className:"flex shrink-0 cursor-pointer items-center justify-center",children:(0,t.jsx)("input",{type:"radio",name:p,className:"cursor-pointer",checked:b,disabled:s,"aria-label":`Show ${r} in focus banner`,onChange:()=>(0,m.persist_ui_preference)("sheet"===e?o.focus_goal_sheet_name_preference:i.focus_goal_tag_name_preference,r)})}),(0,t.jsx)("span",{className:"truncate text-[0.9rem] font-medium",title:r,children:"tag"!==e||r.startsWith("@")?r:`@${r}`}),(0,t.jsxs)("label",{className:"flex items-center gap-2 md:col-start-3",children:[(0,t.jsx)("span",{className:"text-[0.75rem] text-muted",children:"Daily"}),(0,t.jsxs)("select",{className:"flex-1 rounded-md border border-panel-border bg-panel px-2 py-1.5 text-[0.85rem]",value:f,disabled:s,onChange:t=>(0,m.persist_ui_preference)("sheet"===e?c.focus_goals_per_sheet_preference:u.focus_goals_per_tag_preference,n(d,r,"daily",t.target.value)),children:[(0,t.jsx)("option",{value:"",children:"Not set"}),h.map(e=>(0,t.jsxs)("option",{value:String(e),children:[e," min"]},e))]})]}),(0,t.jsxs)("label",{className:"flex items-center gap-2 md:col-start-4",children:[(0,t.jsx)("span",{className:"text-[0.75rem] text-muted",children:"Weekly"}),(0,t.jsxs)("select",{className:"flex-1 rounded-md border border-panel-border bg-panel px-2 py-1.5 text-[0.85rem]",value:x,disabled:s,onChange:t=>(0,m.persist_ui_preference)("sheet"===e?c.focus_goals_per_sheet_preference:u.focus_goals_per_tag_preference,n(d,r,"weekly",t.target.value)),children:[(0,t.jsx)("option",{value:"",children:"Not set"}),g.map(e=>(0,t.jsxs)("option",{value:String(e),children:[e," min"]},e))]})]})]},r)})})]})}e.s(["FocusGoalsNudgesSetting",0,function({sheet_names:e,tag_names:n}){let h=(0,r.useSyncExternalStore)(d.focus_nudges_enabled_preference.subscribe,d.focus_nudges_enabled_preference.get_snapshot,d.focus_nudges_enabled_preference.get_server_snapshot),g=(0,r.useSyncExternalStore)(a.daily_focus_target_minutes_preference.subscribe,a.daily_focus_target_minutes_preference.get_snapshot,a.daily_focus_target_minutes_preference.get_server_snapshot),N=(0,r.useSyncExternalStore)(f.weekly_focus_target_minutes_preference.subscribe,f.weekly_focus_target_minutes_preference.get_snapshot,f.weekly_focus_target_minutes_preference.get_server_snapshot),w=(0,r.useSyncExternalStore)(_.no_log_reminder_minutes_preference.subscribe,_.no_log_reminder_minutes_preference.get_snapshot,_.no_log_reminder_minutes_preference.get_server_snapshot),k=(0,r.useSyncExternalStore)(p.overwork_alert_hours_preference.subscribe,p.overwork_alert_hours_preference.get_snapshot,p.overwork_alert_hours_preference.get_server_snapshot),S=(0,r.useSyncExternalStore)(l.focus_goal_scope_preference.subscribe,l.focus_goal_scope_preference.get_snapshot,l.focus_goal_scope_preference.get_server_snapshot),E=(0,r.useSyncExternalStore)(o.focus_goal_sheet_name_preference.subscribe,o.focus_goal_sheet_name_preference.get_snapshot,o.focus_goal_sheet_name_preference.get_server_snapshot),O=(0,r.useSyncExternalStore)(i.focus_goal_tag_name_preference.subscribe,i.focus_goal_tag_name_preference.get_snapshot,i.focus_goal_tag_name_preference.get_server_snapshot),T=(0,r.useSyncExternalStore)(c.focus_goals_per_sheet_preference.subscribe,c.focus_goals_per_sheet_preference.get_snapshot,c.focus_goals_per_sheet_preference.get_server_snapshot),A=(0,r.useSyncExternalStore)(u.focus_goals_per_tag_preference.subscribe,u.focus_goals_per_tag_preference.get_snapshot,u.focus_goals_per_tag_preference.get_server_snapshot),C=(0,s.parse_focus_goals_by_name)(T),L=(0,s.parse_focus_goals_by_name)(A);(0,r.useEffect)(()=>{"sheet"===S&&0===E.length&&e.length>0&&(0,m.persist_ui_preference)(o.focus_goal_sheet_name_preference,e[0])},[S,E,e]),(0,r.useEffect)(()=>{"tag"===S&&0===O.length&&n.length>0&&(0,m.persist_ui_preference)(i.focus_goal_tag_name_preference,n[0])},[S,O,n]);let R="true"!==h;return(0,t.jsxs)("div",{id:"focus-goals-nudges",className:"flex w-full flex-col gap-4",children:[(0,t.jsxs)("label",{className:"flex w-full cursor-pointer items-center gap-2.5",children:[(0,t.jsx)("input",{type:"checkbox",className:"shrink-0",checked:"true"===h,onChange:e=>(0,m.persist_ui_preference)(d.focus_nudges_enabled_preference,e.target.checked?"true":"false")}),(0,t.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"text-[0.95rem] font-semibold",children:"Goals + nudges"}),(0,t.jsx)("span",{className:"text-[0.8rem] leading-snug text-muted",children:"Track daily/weekly focus goals, overwork alerts, and no-log reminders."})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:"Focus goal scope"}),(0,t.jsx)("div",{role:"radiogroup","aria-label":"Focus goal scope",className:"inline-flex w-full flex-wrap gap-1 rounded-md border border-panel-border bg-panel p-0.5",children:v.map(e=>{let r=S===e.value;return(0,t.jsx)("button",{type:"button",role:"radio","aria-checked":r,disabled:R,className:`flex-1 min-w-24 cursor-pointer rounded px-3 py-1.5 text-[0.85rem] font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-55 ${r?"bg-accent-soft text-foreground":"bg-transparent text-muted hover:bg-surface-hover hover:text-foreground"}`,onClick:()=>(0,m.persist_ui_preference)(l.focus_goal_scope_preference,e.value),children:e.label},e.value)})})]}),"global"===S?(0,t.jsx)(y,{disabled:R,daily_target_minutes:g,weekly_target_minutes:N}):null,"sheet"===S?(0,t.jsx)(j,{kind:"sheet",names:e,disabled:R,active_name:E,map:C,json:T}):null,"tag"===S?(0,t.jsx)(j,{kind:"tag",names:n,disabled:R,active_name:O,map:L,json:A}):null,(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:"Behavior nudges"}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-2 md:grid-cols-2",children:[(0,t.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,t.jsx)("span",{className:"text-[0.8rem] text-muted",children:"No-log reminder"}),(0,t.jsx)("select",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-2 text-[0.85rem]",value:w,disabled:R,onChange:e=>(0,m.persist_ui_preference)(_.no_log_reminder_minutes_preference,e.target.value),children:x.map(e=>(0,t.jsxs)("option",{value:String(e),children:[e," min"]},e))})]}),(0,t.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,t.jsx)("span",{className:"text-[0.8rem] text-muted",children:"Overwork alert"}),(0,t.jsx)("select",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-2 text-[0.85rem]",value:k,disabled:R,onChange:e=>(0,m.persist_ui_preference)(p.overwork_alert_hours_preference,e.target.value),children:b.map(e=>(0,t.jsxs)("option",{value:String(e),children:[e," hours"]},e))})]})]})]})]})}],34032)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42552,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={formatUrl:function(){return o},formatWithValidation:function(){return c},urlObjectKeys:function(){return i}};for(var n in s)Object.defineProperty(r,n,{enumerable:!0,get:s[n]});let a=e.r(44066)._(e.r(78677)),l=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,s=e.protocol||"",n=e.pathname||"",o=e.hash||"",i=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),i&&"object"==typeof i&&(i=String(a.urlQueryToSearchParams(i)));let u=e.search||i&&`?${i}`||"";return s&&!s.endsWith(":")&&(s+=":"),e.slashes||(!s||l.test(s))&&!1!==c?(c="//"+(c||""),n&&"/"!==n[0]&&(n="/"+n)):c||(c=""),o&&"#"!==o[0]&&(o="#"+o),u&&"?"!==u[0]&&(u="?"+u),n=n.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${s}${c}${n}${u}${o}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return o(e)}},37879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return n}});let s=e.r(29158);function n(e,t){let r=(0,s.useRef)(null),n=(0,s.useRef)(null);return(0,s.useCallback)(s=>{if(null===s){let e=r.current;e&&(r.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(r.current=a(e,s)),t&&(n.current=a(t,s))},[e,t])}function a(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 r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},59246,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let s=e.r(31047),n=e.r(63334);function a(e){if(!(0,s.isAbsoluteUrl)(e))return!0;try{let t=(0,s.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,n.hasBasePath)(r.pathname)}catch(e){return!1}}},10364,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return s}});let s=e=>{}},45958,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return g},useLinkStatus:function(){return b}};for(var n in s)Object.defineProperty(r,n,{enumerable:!0,get:s[n]});let a=e.r(44066),l=e.r(54710),o=a._(e.r(29158)),i=e.r(42552),c=e.r(61717),u=e.r(37879),d=e.r(31047),p=e.r(20321);e.r(90503);let _=e.r(38520),f=e.r(19947),m=e.r(59246),h=e.r(99046);function g(t){var r,s;let n,a,g,[b,v]=(0,o.useOptimistic)(f.IDLE_LINK_STATUS),y=(0,o.useRef)(null),{href:j,as:w,children:k,prefetch:N=null,passHref:S,replace:E,shallow:O,scroll:C,onClick:T,onMouseEnter:A,onTouchStart:L,legacyBehavior:P=!1,onNavigate:R,transitionTypes:U,ref:F,unstable_dynamicOnHover:G,...M}=t;n=k,P&&("string"==typeof n||"number"==typeof n)&&(n=(0,l.jsx)("a",{children:n}));let D=o.default.useContext(c.AppRouterContext),W=!1!==N,I=!1!==N?null===(s=N)||"auto"===s?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,$="string"==typeof(r=w||j)?r:(0,i.formatUrl)(r);if(P){if(n?.$$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});a=o.default.Children.only(n)}let K=P?a&&"object"==typeof a&&a.ref:F,B=o.default.useCallback(e=>(null!==D&&(y.current=(0,f.mountLinkInstance)(e,$,D,I,W,v)),()=>{y.current&&((0,f.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,f.unmountPrefetchableInstance)(e)}),[W,$,D,I,v]),Y={ref:(0,u.useMergedRef)(B,K),onClick(t){P||"function"!=typeof T||T(t),P&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!D||t.defaultPrevented||function(t,r,s,n,a,l,i){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){n&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(91087);o.default.startTransition(()=>{d(r,n?"replace":"push",!1===a?_.ScrollBehavior.NoScroll:_.ScrollBehavior.Default,s.current,i)})}}(t,$,y,E,C,R,U)},onMouseEnter(e){P||"function"!=typeof A||A(e),P&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),D&&W&&(0,f.onNavigationIntent)(e.currentTarget,!0===G)},onTouchStart:function(e){P||"function"!=typeof L||L(e),P&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),D&&W&&(0,f.onNavigationIntent)(e.currentTarget,!0===G)}};return(0,d.isAbsoluteUrl)($)?Y.href=$:P&&!S&&("a"!==a.type||"href"in a.props)||(Y.href=(0,p.addBasePath)($)),g=P?o.default.cloneElement(a,Y):(0,l.jsx)("a",{...M,...Y,children:n}),(0,l.jsx)(x.Provider,{value:b,children:g})}e.r(10364);let x=(0,o.createContext)(f.IDLE_LINK_STATUS),b=()=>(0,o.useContext)(x);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77882,e=>{"use strict";var t=e.i(71060),r=e.i(29158),s=e.i(83105),n=e.i(32417),a=e.i(46549);e.s(["use_supabase_auth_session",0,function(){let e=(0,t.useRouter)(),[l,o]=(0,r.useState)(null),[i,c]=(0,r.useState)(!1),u=(0,n.is_supabase_configured)();return(0,r.useEffect)(()=>{if(!u)return;let e=(0,s.create_browser_supabase_client)();e.auth.getSession().then(({data:{session:e}})=>{o(e?.user.email??null)}).catch(()=>{o(null)});let{data:{subscription:t}}=e.auth.onAuthStateChange((e,t)=>{o(t?.user.email??null)});return()=>{t.unsubscribe()}},[u]),{is_configured:u,email:l,is_pending:i,sign_out:(0,r.useCallback)(async()=>{c(!0);try{await fetch("/api/auth/signout",{method:"POST"});let t=(0,s.create_browser_supabase_client)();await t.auth.signOut().catch(()=>{}),(0,a.notify_settings_saved)("Signed out"),e.refresh()}finally{c(!1)}},[e])}}])},45200,648,e=>{"use strict";var t=e.i(54710),r=e.i(45958),s=e.i(71060);let n=[{href:"/",label:"Tracker",match:e=>"/"===e},{href:"/today",label:"Today",match:e=>e.startsWith("/today")},{href:"/pomodoro",label:"Pomodoro",match:e=>e.startsWith("/pomodoro")},{href:"/sheets",label:"Sheets",match:e=>e.startsWith("/sheets")},{href:"/reporting",label:"Reporting",match:e=>e.startsWith("/reporting")}];function a(){return(0,t.jsx)("svg",{className:"block h-4 w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M17.5 19a4.5 4.5 0 0 0 0-9 6.5 6.5 0 0 0-12.6 1.5A4 4 0 0 0 6 19h11.5z"})})}e.s(["TrackerNavLinks",0,function(){let e=(0,s.usePathname)()??"/";return(0,t.jsx)("div",{className:"scrollbar-none flex min-w-0 flex-1 items-center gap-1 overflow-x-auto whitespace-nowrap py-0.5 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden min-[980px]:overflow-visible",children:n.map(s=>{let n=s.match(e);return(0,t.jsx)(r.default,{className:`rounded-full px-3 py-1.5 text-[0.85rem] font-semibold no-underline transition-colors duration-150 shrink-0 ${n?"bg-accent-soft text-foreground":"text-muted hover:bg-surface-hover hover:text-foreground"}`,href:s.href,"aria-current":n?"page":void 0,children:s.label},s.href)})})}],45200);var l=e.i(77882);e.s(["TopbarCloudStatus",0,function(){let{email:e,is_configured:r}=(0,l.use_supabase_auth_session)();return r&&null!==e?(0,t.jsxs)("div",{className:"group relative flex items-center",children:[(0,t.jsx)("span",{className:"inline-flex h-8 w-8 items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-accent","aria-label":`Cloud sync active for ${e}`,role:"img",children:(0,t.jsx)(a,{})}),(0,t.jsx)("div",{role:"tooltip",className:"pointer-events-none absolute right-0 top-full z-50 mt-1.5 w-max max-w-[min(18rem,calc(100vw-2.5rem))] opacity-0 transition-opacity duration-150 group-hover:opacity-100 group-focus-within:opacity-100",children:(0,t.jsxs)("div",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-1.5 shadow-md",children:[(0,t.jsx)("p",{className:"m-0 text-[0.72rem] font-semibold uppercase tracking-[0.04em] text-muted",children:"Signed in as"}),(0,t.jsx)("p",{className:"m-0 max-w-[16rem] truncate text-[0.82rem] font-medium",title:e,children:e})]})})]}):null}],648)},37399,e=>{"use strict";var t=e.i(54710);e.s(["HamburgerIcon",0,function(){return(0,t.jsxs)("svg",{className:"block h-4 w-4 text-muted",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M4 7h16"}),(0,t.jsx)("path",{d:"M4 12h16"}),(0,t.jsx)("path",{d:"M4 17h16"})]})}])},90463,e=>{"use strict";e.s(["build_auth_page_href",0,function(e,t){let r="sign_in"===e?"/login":"/register",s=t.trim();return 0===s.length||"/"===s?r:`${r}?next=${encodeURIComponent(s)}`}])},2268,76003,38240,e=>{"use strict";var t=e.i(34869),r=e.i(92629);let s=(0,t.create_ui_preference_store)({storage_key:r.CLOUD_SYNC_ENABLED_STORAGE_KEY,default_value:r.CLOUD_SYNC_ENABLED_DEFAULT,is_valid:e=>"true"===e||"false"===e});function n(){return"u"<typeof document?"dark":"light"===document.documentElement.getAttribute("data-theme")?"light":"dark"}e.s(["cloud_sync_enabled_preference",0,s],2268),e.s(["get_theme_server_snapshot",0,function(){return"dark"},"get_theme_snapshot",0,function(){return n()}],76003);var a=e.i(17798),l=e.i(46549),o=e.i(10464),i=e.i(35434),c=e.i(61834),u=e.i(81553);e.s(["toggle_theme",0,function(){let e="dark"===n()?"light":"dark";(0,a.apply_theme)(e),(0,u.write_stored_theme)(e),o.theme_mode_preference.write(e),(0,c.write_document_preference_cookies)({theme_mode:e,theme:e}),o.theme_mode_preference.notify(),(0,i.notify_theme_subscribers)(),(0,l.notify_settings_saved)()}],38240)},25204,e=>{"use strict";var t=e.i(29158),r=e.i(72074);e.s(["use_escape_to_cancel",0,function(e,s=!0){let n=(0,t.useRef)(e);n.current=e,(0,t.useEffect)(()=>{if(!s)return;let e=e=>{"Escape"!==e.key||(0,r.is_modal_dialog_open)()||(e.preventDefault(),n.current())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[s])}])},1976,e=>{"use strict";var t=e.i(54710),r=e.i(45958),s=e.i(71060),n=e.i(29158),a=e.i(37399),l=e.i(90463),o=e.i(46549),i=e.i(2268),c=e.i(28274),u=e.i(76003),d=e.i(35434),p=e.i(38240),_=e.i(25204),f=e.i(77882);let m="block w-full cursor-pointer rounded-[0.45rem] border-0 bg-transparent px-2.5 py-1.5 text-left font-inherit text-[0.85rem] text-inherit no-underline hover:bg-surface-hover disabled:cursor-not-allowed disabled:opacity-55";e.s(["TopbarOverflowMenu",0,function(){let e=(0,s.useRouter)(),h=(0,s.usePathname)()??"/",g=(0,n.useSyncExternalStore)(d.subscribe_theme,u.get_theme_snapshot,u.get_theme_server_snapshot),x=(0,n.useSyncExternalStore)(i.cloud_sync_enabled_preference.subscribe,i.cloud_sync_enabled_preference.get_snapshot,i.cloud_sync_enabled_preference.get_server_snapshot),{email:b,is_configured:v,is_pending:y,sign_out:j}=(0,f.use_supabase_auth_session)(),[w,k]=(0,n.useState)(!1),N=(0,n.useRef)(null);(0,n.useEffect)(()=>{if(!w)return;let e=e=>{null===N.current||N.current.contains(e.target)||k(!1)};return document.addEventListener("pointerdown",e),()=>{document.removeEventListener("pointerdown",e)}},[w]);let S=()=>{k(!1)};return(0,_.use_escape_to_cancel)(S,w),(0,t.jsxs)("div",{className:"relative shrink-0",ref:N,children:[(0,t.jsx)("button",{type:"button",className:"inline-flex h-8 w-8 cursor-pointer items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-muted hover:bg-surface-hover hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent","aria-label":"Open menu","aria-expanded":w,"aria-haspopup":"menu",onClick:()=>k(e=>!e),children:(0,t.jsx)(a.HamburgerIcon,{})}),w?(0,t.jsxs)("ul",{className:"absolute right-0 top-full z-50 mt-1.5 min-w-56 list-none rounded-md border border-panel-border bg-panel p-1.5 shadow-md",role:"menu",children:[v&&null!==b?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("p",{className:"m-0 truncate px-2.5 py-1 text-[0.72rem] uppercase tracking-[0.04em] text-muted",title:b,children:b})}):null,(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/settings/tags",className:m,role:"menuitem",onClick:S,children:"Manage tags"})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/pomodoro",className:m,role:"menuitem",onClick:S,children:"Pomodoro"})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/settings/cloud-sync",className:m,role:"menuitem",onClick:S,children:"Sync settings"})}),v?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:m,role:"menuitemcheckbox","aria-checked":"true"===x,onClick:()=>{let e="true"===x?"false":"true";i.cloud_sync_enabled_preference.write(e),i.cloud_sync_enabled_preference.notify(),(0,o.notify_settings_saved)("true"===e?"Cloud sync enabled":"Cloud sync disabled"),"true"===e&&null!==b&&(0,c.run_tracker_db_cloud_sync)({merge_on_load:!0}).catch(()=>{})},children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:"true"===x?"Pause cloud sync":"Resume cloud sync"}),(0,t.jsx)("span",{className:"text-muted","aria-hidden":"true",children:"true"===x?"On":"Off"})]})})}):null,(0,t.jsx)("li",{className:"my-1 border-t border-panel-border",role:"separator","aria-hidden":"true"}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:m,role:"menuitem",onClick:()=>{S(),(0,p.toggle_theme)()},suppressHydrationWarning:!0,children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsxs)("span",{children:["dark"===g?"Dark":"Light"," theme"]}),(0,t.jsx)("span",{"aria-hidden":"true",children:"dark"===g?"☾":"☀"})]})})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:m,role:"menuitem",onClick:()=>{S(),document.dispatchEvent(new KeyboardEvent("keydown",{key:"?",shiftKey:!0,bubbles:!0}))},children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:"Keyboard shortcuts"}),(0,t.jsx)("span",{className:"text-muted","aria-hidden":"true",children:"(?)"})]})})}),v?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"my-1 border-t border-panel-border",role:"separator","aria-hidden":"true"}),null===b?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:m,role:"menuitem",onClick:()=>{S(),e.push((0,l.build_auth_page_href)("sign_in",h))},children:"Sign in"})}):(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:`${m} text-danger`,role:"menuitem",disabled:y,onClick:()=>{S(),j()},children:y?"Signing out…":"Sign out"})})]}):null]}):null]})}])},29539,e=>{"use strict";var t=e.i(54710);e.s(["SettingsIcon",0,function(){return(0,t.jsxs)("svg",{className:"block h-4 w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})}])},75404,e=>{"use strict";var t=e.i(54710),r=e.i(45200),s=e.i(648),n=e.i(1976),a=e.i(45958),l=e.i(71060),o=e.i(29539);function i(){let e=((0,l.usePathname)()??"/").startsWith("/settings");return(0,t.jsx)(a.default,{href:"/settings",className:`inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-muted no-underline hover:bg-surface-hover hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent${e?" border-accent-border text-foreground":""}`,"aria-label":"Settings","aria-current":e?"page":void 0,children:(0,t.jsx)(o.SettingsIcon,{})})}function c({current:e,parent:r}){return(0,t.jsx)("nav",{"aria-label":"Breadcrumb",className:"min-w-0 text-left",children:(0,t.jsxs)("ol",{className:"m-0 flex min-w-0 list-none flex-wrap items-center gap-1.5 p-0 text-[0.85rem]",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{className:"text-muted no-underline hover:text-foreground",href:"/",children:"Tracker"})}),void 0!==r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,t.jsx)("li",{children:void 0!==r.href?(0,t.jsx)(a.default,{className:"max-w-44 truncate text-muted no-underline hover:text-foreground sm:max-w-none",href:r.href,children:r.label}):(0,t.jsx)("span",{className:"max-w-44 truncate text-muted sm:max-w-none",children:r.label})})]}):null,(0,t.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,t.jsx)("li",{className:"max-w-44 truncate font-medium text-foreground sm:max-w-none","aria-current":"page",children:e})]})})}e.s(["TrackerTopbar",0,function({breadcrumb:e}={}){return(0,t.jsx)("header",{className:"relative z-1 border-b border-panel-border bg-[color-mix(in_srgb,var(--panel)_92%,var(--background))] shadow-sm backdrop-blur-[10px]",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-[1120px] min-h-13 flex-wrap items-center gap-x-4 gap-y-2 px-4 py-2 sm:px-5",children:[(0,t.jsx)("span",{className:"inline-flex min-w-0 shrink items-center font-mono text-[0.72rem] font-semibold uppercase leading-tight tracking-[0.08em] text-accent whitespace-nowrap",children:"super-time-tracker"}),void 0!==e?(0,t.jsx)("div",{className:"min-w-0 flex-1",children:(0,t.jsx)(c,{current:e.current,parent:e.parent})}):null,(0,t.jsxs)("div",{className:"flex w-full items-center justify-between gap-2 min-[980px]:ml-auto min-[980px]:w-auto min-[980px]:justify-end",children:[(0,t.jsx)(r.TrackerNavLinks,{}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center justify-end gap-2",children:[(0,t.jsx)(s.TopbarCloudStatus,{}),(0,t.jsx)(i,{}),(0,t.jsx)(n.TopbarOverflowMenu,{})]})]})]})})}],75404)},42800,e=>{"use strict";var t=e.i(54710),r=e.i(45958),s=e.i(71060);let n=[{href:"/settings",label:"General",match:e=>"/settings"===e},{href:"/settings/display",label:"Display & layout",match:e=>e.startsWith("/settings/display")},{href:"/settings/goals",label:"Goals",match:e=>e.startsWith("/settings/goals")},{href:"/settings/pomodoro",label:"Pomodoro",match:e=>e.startsWith("/settings/pomodoro")},{href:"/settings/ai-suggestions",label:"AI suggestions",match:e=>e.startsWith("/settings/ai-suggestions")},{href:"/settings/cloud-sync",label:"Sync",match:e=>e.startsWith("/settings/cloud-sync")},{href:"/settings/data",label:"Data & backup",match:e=>e.startsWith("/settings/data")},{href:"/settings/tags",label:"Tag management",match:e=>e.startsWith("/settings/tags")}];e.s(["SettingsNav",0,function(){let e=(0,s.usePathname)()??"/settings";return(0,t.jsx)("nav",{"aria-label":"Settings sections",className:"w-full",children:(0,t.jsx)("ul",{className:"scrollbar-none m-0 flex w-full list-none gap-1 overflow-x-auto p-0 pb-1 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden max-[860px]:flex-row min-[861px]:flex-col min-[861px]:gap-0.5 min-[861px]:overflow-visible min-[861px]:pb-0",children:n.map(s=>{let n=s.match(e);return(0,t.jsx)("li",{className:"shrink-0 min-[861px]:shrink",children:(0,t.jsx)(r.default,{href:s.href,"aria-current":n?"page":void 0,className:`block whitespace-nowrap rounded-md px-3 py-2 text-[0.9rem] no-underline transition-colors duration-150 min-[861px]:whitespace-normal ${n?"bg-accent-soft text-foreground":"text-muted hover:bg-surface-hover hover:text-foreground"}`,children:s.label})},s.href)})})})}])},7902,e=>{"use strict";var t=e.i(46549);e.s(["persist_ui_preference",0,function(e,r){e.read()!==r&&(e.write(r),e.notify(),(0,t.notify_settings_saved)())}])},1238,83821,51703,74597,77130,56442,73228,60145,e=>{"use strict";e.s(["parse_focus_goals_by_name",0,function(e){if(0===e.length)return{};try{let t=JSON.parse(e);if(null===t||"object"!=typeof t||Array.isArray(t))return{};let r={};for(let[e,s]of Object.entries(t)){if(null===s||"object"!=typeof s)continue;let t={};"string"==typeof s.daily&&s.daily.length>0&&(t.daily=s.daily),"string"==typeof s.weekly&&s.weekly.length>0&&(t.weekly=s.weekly),(void 0!==t.daily||void 0!==t.weekly)&&(r[e]=t)}return r}catch{return{}}}],1238);var t=e.i(34869),r=e.i(92629);let s=(0,t.create_ui_preference_store)({storage_key:r.DAILY_FOCUS_TARGET_MINUTES_STORAGE_KEY,default_value:r.DAILY_FOCUS_TARGET_MINUTES_DEFAULT,is_valid:e=>{if(!/^\d+$/.test(e))return!1;let t=Number.parseInt(e,10);return t>=30&&t<=720}});e.s(["daily_focus_target_minutes_preference",0,s],83821);let n=(0,t.create_ui_preference_store)({storage_key:r.FOCUS_GOAL_SCOPE_STORAGE_KEY,default_value:r.FOCUS_GOAL_SCOPE_DEFAULT,is_valid:e=>"global"===e||"sheet"===e||"tag"===e});e.s(["focus_goal_scope_preference",0,n],51703);let a=(0,t.create_ui_preference_store)({storage_key:r.FOCUS_GOAL_SHEET_NAME_STORAGE_KEY,default_value:r.FOCUS_GOAL_SHEET_NAME_DEFAULT,is_valid:e=>e.trim().length>0});e.s(["focus_goal_sheet_name_preference",0,a],74597);let l=(0,t.create_ui_preference_store)({storage_key:r.FOCUS_GOAL_TAG_NAME_STORAGE_KEY,default_value:r.FOCUS_GOAL_TAG_NAME_DEFAULT,is_valid:e=>e.trim().length>0});e.s(["focus_goal_tag_name_preference",0,l],77130);let o=(0,t.create_ui_preference_store)({storage_key:r.FOCUS_GOALS_PER_SHEET_STORAGE_KEY,default_value:r.FOCUS_GOALS_PER_SHEET_DEFAULT,is_valid:e=>{if(0===e.length)return!1;try{let t=JSON.parse(e);return null!==t&&"object"==typeof t&&!Array.isArray(t)}catch{return!1}}});e.s(["focus_goals_per_sheet_preference",0,o],56442);let i=(0,t.create_ui_preference_store)({storage_key:r.FOCUS_GOALS_PER_TAG_STORAGE_KEY,default_value:r.FOCUS_GOALS_PER_TAG_DEFAULT,is_valid:e=>{if(0===e.length)return!1;try{let t=JSON.parse(e);return null!==t&&"object"==typeof t&&!Array.isArray(t)}catch{return!1}}});e.s(["focus_goals_per_tag_preference",0,i],73228);let c=(0,t.create_ui_preference_store)({storage_key:r.WEEKLY_FOCUS_TARGET_MINUTES_STORAGE_KEY,default_value:r.WEEKLY_FOCUS_TARGET_MINUTES_DEFAULT,is_valid:e=>{if(!/^\d+$/.test(e))return!1;let t=Number.parseInt(e,10);return t>=60&&t<=4200}});e.s(["weekly_focus_target_minutes_preference",0,c],60145)},34032,e=>{"use strict";var t=e.i(54710),r=e.i(29158),s=e.i(1238);function n(e,t,r,n){if(0===t.length)return e;let a=(0,s.parse_focus_goals_by_name)(e),l=a[t]??{};if(0===n.length){let e={...l};delete e[r],void 0===e.daily&&void 0===e.weekly?delete a[t]:a[t]=e}else a[t]={...l,[r]:n};return JSON.stringify(a)}var a=e.i(83821),l=e.i(51703),o=e.i(74597),i=e.i(77130),c=e.i(56442),u=e.i(73228),d=e.i(56996),p=e.i(8654),_=e.i(76900),f=e.i(80808),m=e.i(71122),h=e.i(60145),g=e.i(7902);let x=[120,180,240,300,360,420,480],b=[600,900,1200,1500,1800,2100,2400],v=[15,30,45,60,90,120],y=[6,8,10,12,14],j=[{value:"global",label:"Global"},{value:"sheet",label:"Per-sheet"},{value:"tag",label:"Per-tag"}];function w({disabled:e,daily_target_minutes:r,weekly_target_minutes:s}){return(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:"Global targets"}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-2 md:grid-cols-2",children:[(0,t.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,t.jsx)("span",{className:"text-[0.8rem] text-muted",children:"Daily target"}),(0,t.jsx)("select",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-2 text-[0.85rem]",value:r,disabled:e,onChange:e=>(0,g.persist_ui_preference)(a.daily_focus_target_minutes_preference,e.target.value),children:x.map(e=>(0,t.jsxs)("option",{value:String(e),children:[e," min"]},e))})]}),(0,t.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,t.jsx)("span",{className:"text-[0.8rem] text-muted",children:"Weekly target"}),(0,t.jsx)("select",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-2 text-[0.85rem]",value:s,disabled:e,onChange:e=>(0,g.persist_ui_preference)(h.weekly_focus_target_minutes_preference,e.target.value),children:b.map(e=>(0,t.jsxs)("option",{value:String(e),children:[e," min"]},e))})]})]})]})}function k({kind:e,names:r,disabled:s,active_name:a,map:l,json:d}){let p="sheet"===e?"Per-sheet targets":"Per-tag targets";if(0===r.length)return(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:p}),(0,t.jsx)("p",{className:"m-0 text-[0.85rem] text-muted",children:"sheet"===e?"Create a sheet to configure per-sheet goals.":"Add a tag to a time entry to configure per-tag goals."})]});let _=`focus-goal-active-${e}`;return(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-baseline justify-between gap-2",children:[(0,t.jsx)("span",{className:"text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:p}),(0,t.jsxs)("span",{className:"text-[0.75rem] text-muted",children:["Pick the ",e," shown in the focus banner."]})]}),(0,t.jsx)("ul",{className:"m-0 flex list-none flex-col gap-1.5 p-0",children:r.map(r=>{let p=l[r]??{},f=p.daily??"",m=p.weekly??"",h=a===r;return(0,t.jsxs)("li",{className:`grid items-center gap-2 rounded-md border bg-panel px-3 py-2.5 transition-colors md:grid-cols-[auto_minmax(0,1fr)_minmax(0,11rem)_minmax(0,11rem)] grid-cols-[auto_minmax(0,1fr)] ${h?"border-accent-border bg-accent-soft":"border-panel-border"}`,children:[(0,t.jsx)("label",{className:"flex shrink-0 cursor-pointer items-center justify-center",children:(0,t.jsx)("input",{type:"radio",name:_,className:"cursor-pointer",checked:h,disabled:s,"aria-label":`Show ${r} in focus banner`,onChange:()=>(0,g.persist_ui_preference)("sheet"===e?o.focus_goal_sheet_name_preference:i.focus_goal_tag_name_preference,r)})}),(0,t.jsx)("span",{className:"truncate text-[0.9rem] font-medium",title:r,children:"tag"!==e||r.startsWith("@")?r:`@${r}`}),(0,t.jsxs)("label",{className:"flex items-center gap-2 md:col-start-3",children:[(0,t.jsx)("span",{className:"text-[0.75rem] text-muted",children:"Daily"}),(0,t.jsxs)("select",{className:"flex-1 rounded-md border border-panel-border bg-panel px-2 py-1.5 text-[0.85rem]",value:f,disabled:s,onChange:t=>(0,g.persist_ui_preference)("sheet"===e?c.focus_goals_per_sheet_preference:u.focus_goals_per_tag_preference,n(d,r,"daily",t.target.value)),children:[(0,t.jsx)("option",{value:"",children:"Not set"}),x.map(e=>(0,t.jsxs)("option",{value:String(e),children:[e," min"]},e))]})]}),(0,t.jsxs)("label",{className:"flex items-center gap-2 md:col-start-4",children:[(0,t.jsx)("span",{className:"text-[0.75rem] text-muted",children:"Weekly"}),(0,t.jsxs)("select",{className:"flex-1 rounded-md border border-panel-border bg-panel px-2 py-1.5 text-[0.85rem]",value:m,disabled:s,onChange:t=>(0,g.persist_ui_preference)("sheet"===e?c.focus_goals_per_sheet_preference:u.focus_goals_per_tag_preference,n(d,r,"weekly",t.target.value)),children:[(0,t.jsx)("option",{value:"",children:"Not set"}),b.map(e=>(0,t.jsxs)("option",{value:String(e),children:[e," min"]},e))]})]})]},r)})})]})}e.s(["FocusGoalsNudgesSetting",0,function({sheet_names:e,tag_names:n}){let x=(0,r.useSyncExternalStore)(d.focus_nudges_enabled_preference.subscribe,d.focus_nudges_enabled_preference.get_snapshot,d.focus_nudges_enabled_preference.get_server_snapshot),b=(0,r.useSyncExternalStore)(a.daily_focus_target_minutes_preference.subscribe,a.daily_focus_target_minutes_preference.get_snapshot,a.daily_focus_target_minutes_preference.get_server_snapshot),N=(0,r.useSyncExternalStore)(h.weekly_focus_target_minutes_preference.subscribe,h.weekly_focus_target_minutes_preference.get_snapshot,h.weekly_focus_target_minutes_preference.get_server_snapshot),S=(0,r.useSyncExternalStore)(p.no_log_reminder_minutes_preference.subscribe,p.no_log_reminder_minutes_preference.get_snapshot,p.no_log_reminder_minutes_preference.get_server_snapshot),E=(0,r.useSyncExternalStore)(_.overwork_alert_hours_preference.subscribe,_.overwork_alert_hours_preference.get_snapshot,_.overwork_alert_hours_preference.get_server_snapshot),O=(0,r.useSyncExternalStore)(m.work_hours_start_preference.subscribe,m.work_hours_start_preference.get_snapshot,m.work_hours_start_preference.get_server_snapshot),C=(0,r.useSyncExternalStore)(f.work_hours_end_preference.subscribe,f.work_hours_end_preference.get_snapshot,f.work_hours_end_preference.get_server_snapshot),T=(0,r.useSyncExternalStore)(l.focus_goal_scope_preference.subscribe,l.focus_goal_scope_preference.get_snapshot,l.focus_goal_scope_preference.get_server_snapshot),A=(0,r.useSyncExternalStore)(o.focus_goal_sheet_name_preference.subscribe,o.focus_goal_sheet_name_preference.get_snapshot,o.focus_goal_sheet_name_preference.get_server_snapshot),L=(0,r.useSyncExternalStore)(i.focus_goal_tag_name_preference.subscribe,i.focus_goal_tag_name_preference.get_snapshot,i.focus_goal_tag_name_preference.get_server_snapshot),P=(0,r.useSyncExternalStore)(c.focus_goals_per_sheet_preference.subscribe,c.focus_goals_per_sheet_preference.get_snapshot,c.focus_goals_per_sheet_preference.get_server_snapshot),R=(0,r.useSyncExternalStore)(u.focus_goals_per_tag_preference.subscribe,u.focus_goals_per_tag_preference.get_snapshot,u.focus_goals_per_tag_preference.get_server_snapshot),U=(0,s.parse_focus_goals_by_name)(P),F=(0,s.parse_focus_goals_by_name)(R);(0,r.useEffect)(()=>{"sheet"===T&&0===A.length&&e.length>0&&(0,g.persist_ui_preference)(o.focus_goal_sheet_name_preference,e[0])},[T,A,e]),(0,r.useEffect)(()=>{"tag"===T&&0===L.length&&n.length>0&&(0,g.persist_ui_preference)(i.focus_goal_tag_name_preference,n[0])},[T,L,n]);let G="true"!==x;return(0,t.jsxs)("div",{id:"focus-goals-nudges",className:"flex w-full flex-col gap-4",children:[(0,t.jsxs)("label",{className:"flex w-full cursor-pointer items-center gap-2.5",children:[(0,t.jsx)("input",{type:"checkbox",className:"shrink-0",checked:"true"===x,onChange:e=>(0,g.persist_ui_preference)(d.focus_nudges_enabled_preference,e.target.checked?"true":"false")}),(0,t.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"text-[0.95rem] font-semibold",children:"Goals + nudges"}),(0,t.jsx)("span",{className:"text-[0.8rem] leading-snug text-muted",children:"Track daily/weekly focus goals, overwork alerts, and no-log reminders."})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:"Focus goal scope"}),(0,t.jsx)("div",{role:"radiogroup","aria-label":"Focus goal scope",className:"inline-flex w-full flex-wrap gap-1 rounded-md border border-panel-border bg-panel p-0.5",children:j.map(e=>{let r=T===e.value;return(0,t.jsx)("button",{type:"button",role:"radio","aria-checked":r,disabled:G,className:`flex-1 min-w-24 cursor-pointer rounded px-3 py-1.5 text-[0.85rem] font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-55 ${r?"bg-accent-soft text-foreground":"bg-transparent text-muted hover:bg-surface-hover hover:text-foreground"}`,onClick:()=>(0,g.persist_ui_preference)(l.focus_goal_scope_preference,e.value),children:e.label},e.value)})})]}),"global"===T?(0,t.jsx)(w,{disabled:G,daily_target_minutes:b,weekly_target_minutes:N}):null,"sheet"===T?(0,t.jsx)(k,{kind:"sheet",names:e,disabled:G,active_name:A,map:U,json:P}):null,"tag"===T?(0,t.jsx)(k,{kind:"tag",names:n,disabled:G,active_name:L,map:F,json:R}):null,(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:"Behavior nudges"}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-2 md:grid-cols-2",children:[(0,t.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,t.jsx)("span",{className:"text-[0.8rem] text-muted",children:"Work hours start"}),(0,t.jsx)("input",{type:"time",className:"rounded-md border border-panel-border bg-panel px-2.5 py-2 text-[0.85rem]",value:O,disabled:G,onChange:e=>(0,g.persist_ui_preference)(m.work_hours_start_preference,e.target.value)})]}),(0,t.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,t.jsx)("span",{className:"text-[0.8rem] text-muted",children:"Work hours end"}),(0,t.jsx)("input",{type:"time",className:"rounded-md border border-panel-border bg-panel px-2.5 py-2 text-[0.85rem]",value:C,disabled:G,onChange:e=>(0,g.persist_ui_preference)(f.work_hours_end_preference,e.target.value)})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-2 md:grid-cols-2",children:[(0,t.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,t.jsx)("span",{className:"text-[0.8rem] text-muted",children:"No-log reminder"}),(0,t.jsx)("select",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-2 text-[0.85rem]",value:S,disabled:G,onChange:e=>(0,g.persist_ui_preference)(p.no_log_reminder_minutes_preference,e.target.value),children:v.map(e=>(0,t.jsxs)("option",{value:String(e),children:[e," min"]},e))})]}),(0,t.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,t.jsx)("span",{className:"text-[0.8rem] text-muted",children:"Overwork alert"}),(0,t.jsx)("select",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-2 text-[0.85rem]",value:E,disabled:G,onChange:e=>(0,g.persist_ui_preference)(_.overwork_alert_hours_preference,e.target.value),children:y.map(e=>(0,t.jsxs)("option",{value:String(e),children:[e," hours"]},e))})]})]}),(0,t.jsx)("p",{className:"m-0 text-[0.78rem] leading-snug text-muted",children:"Rule reminders: notify when no active timer during work hours, and alert when an active timer runs longer than the overwork threshold."})]})]})}],34032)}]);