felt/frontend/build/_app/immutable/chunks/D__6P984.js
Mikkel Georgsen 7f91301efa feat(01-13): layout shell with header, tabs, FAB, toast, data table
- Persistent header: clock countdown, level, blinds, player count (red pulse <10s, PAUSED/BREAK badges)
- Bottom tab bar (mobile): Overview, Players, Tables, Financials, More with 48px touch targets
- Desktop sidebar (>=768px): vertical nav replacing bottom tabs
- FAB: expandable quick actions (Bust, Buy In, Rebuy, Add-On, Pause/Resume) with backdrop
- Toast notification system: success/info/warning/error with auto-dismiss and stacking
- DataTable: sortable columns, sticky header, search/filter, mobile swipe actions, skeleton loading
- Multi-tournament tabs: horizontal scrollable selector when 2+ tournaments active
- Loading components: spinner (sm/md/lg), skeleton rows, full-page overlay
- Root layout: auth guard, responsive shell (mobile bottom tabs / desktop sidebar)
- Route pages: overview, players, tables, financials, more with placeholder content

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 04:13:17 +01:00

1 line
2.5 KiB
JavaScript

var I=Object.defineProperty;var R=a=>{throw TypeError(a)};var x=(a,e,t)=>e in a?I(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var w=(a,e,t)=>x(a,typeof e!="symbol"?e+"":e,t),E=(a,e,t)=>e.has(a)||R("Cannot "+t);var s=(a,e,t)=>(E(a,e,"read from private field"),t?t.call(a):e.get(a)),_=(a,e,t)=>e.has(a)?R("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(a):e.set(a,t),M=(a,e,t,i)=>(E(a,e,"write to private field"),i?i.call(a,t):e.set(a,t),t);import{H,I as T,J as O,K as N,M as S,N as Y,h as A,O as F,Q as B,R as C,T as J,U as K,V as L,W as P,X as Q,Y as U,Z as V,_ as W,$ as D}from"./C4An0dnW.js";var l,u,h,p,v,m,g;class X{constructor(e,t=!0){w(this,"anchor");_(this,l,new Map);_(this,u,new Map);_(this,h,new Map);_(this,p,new Set);_(this,v,!0);_(this,m,e=>{if(s(this,l).has(e)){var t=s(this,l).get(e),i=s(this,u).get(t);if(i)H(i),s(this,p).delete(t);else{var n=s(this,h).get(t);n&&(s(this,u).set(t,n.effect),s(this,h).delete(t),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),i=n.effect)}for(const[f,c]of s(this,l)){if(s(this,l).delete(f),f===e)break;const r=s(this,h).get(c);r&&(T(r.effect),s(this,h).delete(c))}for(const[f,c]of s(this,u)){if(f===t||s(this,p).has(f))continue;const r=()=>{if(Array.from(s(this,l).values()).includes(f)){var d=document.createDocumentFragment();B(c,d),d.append(N()),s(this,h).set(f,{effect:c,fragment:d})}else T(c);s(this,p).delete(f),s(this,u).delete(f)};s(this,v)||!i?(s(this,p).add(f),O(c,r,!1)):r()}}});_(this,g,e=>{s(this,l).delete(e);const t=Array.from(s(this,l).values());for(const[i,n]of s(this,h))t.includes(i)||(T(n.effect),s(this,h).delete(i))});this.anchor=e,M(this,v,t)}ensure(e,t){var i=Y,n=C();if(t&&!s(this,u).has(e)&&!s(this,h).has(e))if(n){var f=document.createDocumentFragment(),c=N();f.append(c),s(this,h).set(e,{effect:S(()=>t(c)),fragment:f})}else s(this,u).set(e,S(()=>t(this.anchor)));if(s(this,l).set(i,e),n){for(const[r,o]of s(this,u))r===e?i.unskip_effect(o):i.skip_effect(o);for(const[r,o]of s(this,h))r===e?i.unskip_effect(o.effect):i.skip_effect(o.effect);i.oncommit(s(this,m)),i.ondiscard(s(this,g))}else A&&(this.anchor=F),s(this,m).call(this,i)}}l=new WeakMap,u=new WeakMap,h=new WeakMap,p=new WeakMap,v=new WeakMap,m=new WeakMap,g=new WeakMap;function j(a,e,t=!1){var i;A&&(i=F,K());var n=new X(a),f=t?L:0;function c(r,o){if(A){var d=P(i),b;if(d===Q?b=0:d===U?b=!1:b=parseInt(d.substring(1)),r!==b){var k=V();W(k),n.anchor=k,D(!1),n.ensure(r,o),D(!0);return}}n.ensure(r,o)}J(()=>{var r=!1;e((o,d=0)=>{r=!0,c(d,o)}),r||c(!1,null)},f)}export{X as B,j as i};