@seatlayer/core 0.67.1 → 0.67.2

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.
@@ -0,0 +1 @@
1
+ import{g as P,s as b}from"./chunk-GXMGOWKB.js";var Z=3,f=4.5,S=3,j=24,ee=20;function E(t){return t.filter(s=>s.visible&&!!s.screenBox)}function v(t,s){return t.x<s.x+s.width&&t.x+t.width>s.x&&t.y<s.y+s.height&&t.y+t.height>s.y}function m(t){return t.length?Math.round(Math.min(...t)*100)/100:null}function o(t,s,a){return a.length?{code:t,message:s,count:a.length,samples:a.slice(0,ee)}:null}function L(t,s,a){return{primaryId:t.seatId,primaryLabel:t.label,...s==null?{}:{measured:Math.round(s*100)/100},...a==null?{}:{minimum:a}}}function Q(t,s,a){return{primaryId:t.id,primaryLabel:t.label,...s==null?{}:{measured:Math.round(s*100)/100},...a==null?{}:{minimum:a}}}function H(t,s,a){return{primaryId:t.objectId,primaryLabel:t.text,...s==null?{}:{measured:Math.round(s*100)/100},...a==null?{}:{minimum:a}}}function x(t,s,a,l){return{primaryId:t,primaryLabel:s,secondaryId:a,secondaryLabel:l}}function ie(t,s="overview",a=null){let l=E(t.labels),c=E(t.hierarchyLabels),d=E(t.freeTextLabels),B=t.gaAreas.filter(e=>e.visible),O=l.map(e=>b(e.ink,e.fill)??0),D=c.map(e=>b(e.ink,e.fill)??0),$=d.map(e=>b(e.ink,e.background)??0),W=B.map(e=>b(e.effectiveBackground,t.canvasBackground)??0),u=a?t.labels.filter(e=>e.categoryKey===a):t.labels,y=a?t.gaAreas.filter(e=>e.categoryKey===a):t.gaAreas,p=u.filter(e=>e.selected),h=u.filter(e=>e.status==="held"),g=u.filter(e=>e.status==="booked"),k=u.filter(e=>e.pointerTarget.active),V=new Set([...t.labels.filter(e=>e.visible&&(e.opacity>.25||e.selected||e.status!=="free")).map(e=>e.categoryKey),...t.gaAreas.filter(e=>e.visible&&e.opacity>.1).map(e=>e.categoryKey)]),w=p.length?m(p.map(e=>b(e.selectionRingColor??t.selectionRingColor,e.fill)??0)):null,n=[],I=(e,i)=>Array.from({length:e},(T,R)=>({primaryId:`overview:${R+1}`,primaryLabel:i}));if(s==="overview"&&t.rung==="sections"&&(n.push(o("overview-section-category-paint","Section overview shells must use the neutral hierarchy palette, not category paint",I(t.overviewStyle.categoryPaintedSectionShells,"category-painted section shell"))),n.push(o("overview-category-detail-visible","Category-tinted section detail must wait until section focus or seat zoom",I(t.overviewStyle.visibleCategoryDetailOutlines,"category detail outline"))),n.push(o("overview-row-hints-visible","Row and seat patterns must not clutter the section overview",I(t.overviewStyle.visibleSectionRowHints,"section row hint"))),n.push(o("overview-availability-clutter","Live availability counts belong in focused detail, not on section overview shells",I(t.overviewStyle.visibleSectionAvailabilityLabels,"section availability label"))),n.push(o("overview-ga-detail-visible","Section-contained standing paint belongs in focused detail, not on section overview shells",I(t.overviewStyle.visibleSectionGADetails,"section-contained GA detail")))),n.push(o("bookable-label-undersized","Visible bookable labels must meet the rendered small-text size floor",l.filter(e=>e.renderedFontPx<t.minimumVisibleLabelPx).map(e=>L(e,e.renderedFontPx,t.minimumVisibleLabelPx)))),s==="interaction"){let e=u.length>0,i=y.length>0,T=e||i,R=y.filter(r=>r.visible),X=new Set([...u.flatMap(r=>r.sectionId?[r.sectionId]:[]),...y.flatMap(r=>r.sectionId?[r.sectionId]:[])]),Y=new Set([...t.labels.map(r=>r.categoryKey),...t.gaAreas.map(r=>r.categoryKey)]),A=r=>r.screenCenter.x>=0&&r.screenCenter.x<=t.viewport.width&&r.screenCenter.y>=0&&r.screenCenter.y<=t.viewport.height;n.push(o("detail-rung-missing","Interaction evidence with bookable inventory must render the seat-detail rung",T&&t.rung!=="seats"?[{primaryId:"renderer",primaryLabel:t.rung}]:[])),n.push(o("detail-inventory-not-visible","Interaction evidence must frame at least one real bookable unit",T&&!u.some(A)&&!R.length?[{primaryId:"renderer",primaryLabel:"no target inventory in viewport"}]:[])),n.push(o("pointer-target-inactive","Interaction evidence must expose a live production pointer target",e&&!k.some(A)||!e&&i&&!R.some(r=>r.interactive)?[{primaryId:"renderer",primaryLabel:"no active pointer target in viewport"}]:[])),n.push(o("pointer-target-undersized","Every active production pointer target must reach at least 24 CSS pixels",k.filter(r=>A(r)&&r.pointerTarget.effectiveMinimumPx<j).map(r=>L(r,r.pointerTarget.effectiveMinimumPx,j)))),n.push(o("selected-state-missing","Interaction evidence must paint a selected unit and its renderer-owned ring",e&&(!p.length||!p.some(r=>t.selectionRingSeatIds.includes(r.seatId)))?[{primaryId:"renderer",primaryLabel:"selected state"}]:[])),n.push(o("selected-state-contrast-low","The selected-state ring must maintain 3:1 graphical contrast with the seat paint",p.length&&(w??0)<S?[{primaryId:p[0].seatId,primaryLabel:p[0].label,measured:Math.round((w??0)*100)/100,minimum:S}]:[])),n.push(o("held-state-missing","Interaction evidence must paint a held state when the floor has at least two status-managed units",u.length>=2&&!h.length?[{primaryId:"renderer",primaryLabel:"held state"}]:[])),n.push(o("booked-state-missing","Interaction evidence must paint a taken state when the floor has at least three status-managed units",u.length>=3&&!g.length?[{primaryId:"renderer",primaryLabel:"booked state"}]:[]));let q=new Set(h.map(r=>`${r.fill.toLowerCase()}:${r.opacity}`)),J=new Set(g.map(r=>`${r.fill.toLowerCase()}:${r.opacity}`));n.push(o("status-state-indistinct","Held and taken evidence must resolve to distinct renderer paint",h.length&&g.length&&[...q].some(r=>J.has(r))?[{primaryId:h[0].seatId,primaryLabel:h[0].label,secondaryId:g[0].seatId,secondaryLabel:g[0].label}]:[])),n.push(o("section-focus-missing","Interaction evidence must exercise section focus and its backdrop when section membership exists",X.size&&(!t.focusedSectionId||!t.focusBackdropVisible)?[{primaryId:"renderer",primaryLabel:"section focus"}]:[])),n.push(o("category-filter-missing","Interaction evidence must exercise a category filter when multiple categories exist",Y.size>=2&&(!t.categoryFilterKeys||!t.categoryFilterKeys.length)?[{primaryId:"renderer",primaryLabel:"category filter"}]:[]));let F=t.labels.filter(r=>r.status==="free"&&!r.selected&&t.categoryFilterKeys!=null&&!t.categoryFilterKeys.includes(r.categoryKey)),C=t.gaAreas.filter(r=>t.categoryFilterKeys!=null&&!t.categoryFilterKeys.includes(r.categoryKey));n.push(o("category-filter-ineffective","The active category filter must visibly dim excluded free inventory",(F.length||C.length)&&!F.some(r=>r.opacity<=.25)&&!C.some(r=>r.opacity<=.1)?[...F.map(r=>L(r,r.opacity)),...C.map(r=>({primaryId:r.areaId,primaryLabel:r.label,measured:r.opacity}))]:[])),n.push(o("target-category-not-visible","A category-specific interaction scene must visibly paint its exact target category",a&&!V.has(a)?[{primaryId:a,primaryLabel:a}]:[])),n.push(o("target-category-filter-mismatch","A category-specific interaction scene must bind its filter to only the exact target category",a&&(t.categoryFilterKeys?.length!==1||t.categoryFilterKeys[0]!==a)?[{primaryId:a,primaryLabel:a}]:[]))}n.push(o("bookable-label-contrast-low","Visible bookable labels must meet 4.5:1 contrast against their actual paint",l.flatMap(e=>{let i=b(e.ink,e.fill)??0;return i<f?[L(e,i,f)]:[]})));let M=[];for(let e=0;e<l.length;e+=1)for(let i=0;i<e;i+=1)v(l[e].screenBox,l[i].screenBox)&&M.push(x(l[i].seatId,l[i].label,l[e].seatId,l[e].label));n.push(o("bookable-label-collision","Visible bookable labels must not overlap",M)),n.push(o("hierarchy-label-undersized","Visible section and zone labels must meet the rendered small-text size floor",c.filter(e=>e.renderedFontPx<P).map(e=>Q(e,e.renderedFontPx,P)))),n.push(o("hierarchy-label-contrast-low","Visible section and zone labels must meet 4.5:1 contrast against their backing paint",c.flatMap(e=>{let i=b(e.ink,e.fill)??0;return i<f?[Q(e,i,f)]:[]}))),n.push(o("hierarchy-label-outside-section","Visible section labels must remain inside the filled section surface and outside holes",c.filter(e=>e.kind==="section"&&e.fitsContainer===!1).map(e=>Q(e))));let K=[];for(let e=0;e<c.length;e+=1)for(let i=0;i<e;i+=1)v(c[e].screenBox,c[i].screenBox)&&K.push(x(c[i].id,c[i].label,c[e].id,c[e].label));n.push(o("hierarchy-label-collision","Visible hierarchy labels must not overlap each other",K));let _=[];for(let e of c)for(let i of l)v(e.screenBox,i.screenBox)&&_.push(x(e.id,e.label,i.seatId,i.label));n.push(o("hierarchy-bookable-collision","Visible hierarchy labels must not overlap bookable labels",_)),n.push(o("free-text-undersized","Visible chart text must meet the rendered small-text size floor",d.filter(e=>e.renderedFontPx<t.minimumVisibleLabelPx).map(e=>H(e,e.renderedFontPx,t.minimumVisibleLabelPx)))),n.push(o("free-text-contrast-low","Visible chart text must meet 4.5:1 contrast against its measured background",d.flatMap(e=>{let i=b(e.ink,e.background)??0;return i<f?[H(e,i,f)]:[]})));let z=[];for(let e=0;e<d.length;e+=1)for(let i=0;i<e;i+=1)v(d[e].screenBox,d[i].screenBox)&&z.push(x(d[i].objectId,d[i].text,d[e].objectId,d[e].text));n.push(o("free-text-collision","Visible chart text labels must not overlap each other",z));let G=[];for(let e of d)for(let i of l)v(e.screenBox,i.screenBox)&&G.push(x(e.objectId,e.text,i.seatId,i.label));n.push(o("free-text-bookable-collision","Visible chart text must not overlap bookable labels",G));let U=[];for(let e of d)for(let i of c)v(e.screenBox,i.screenBox)&&U.push(x(e.objectId,e.text,i.id,i.label));n.push(o("free-text-hierarchy-collision","Visible chart text must not overlap hierarchy labels",U)),n.push(o("ga-contrast-low","Visible GA surfaces must maintain 3:1 graphical contrast with the canvas",B.flatMap(e=>{let i=b(e.effectiveBackground,t.canvasBackground)??0;return i<S?[{primaryId:e.areaId,primaryLabel:e.label,measured:Math.round(i*100)/100,minimum:S}]:[]})));let N=n.filter(e=>!!e);return{version:Z,passed:N.length===0,state:s,targetCategoryKey:a,resolvedRules:["rendered-overview-label-size","rendered-overview-label-contrast","rendered-overview-label-collision","rendered-overview-hierarchy-containment","rendered-overview-section-first-style","rendered-overview-ga-contrast",...s==="interaction"?["rendered-detail-inventory","rendered-pointer-target","rendered-selected-held-taken-states","rendered-section-focus","rendered-category-filter"]:[]],viewport:t.viewport,canvasBackground:t.canvasBackground,effectiveScale:t.effectiveScale,rung:t.rung,inventory:{totalBookableUnits:t.totalBookableUnits,totalLabelledBookableUnits:t.totalLabelledBookableUnits,visibleBookableLabels:l.length,hiddenBookableLabels:t.hiddenLabels,visibleHierarchyLabels:c.length,visibleFreeTextLabels:d.length,visibleGAAreas:B.length},overviewStyle:t.overviewStyle,composition:{hierarchy:t.hierarchyLabels.filter(e=>e.role==="name").map(e=>({id:e.id,kind:e.kind,label:e.label,visible:e.visible})).sort((e,i)=>e.kind.localeCompare(i.kind)||e.id.localeCompare(i.id)),labelledObjects:t.freeTextLabels.map(e=>({objectId:e.objectId,kind:e.kind,text:e.text,visible:e.visible})).sort((e,i)=>e.objectId.localeCompare(i.objectId)||e.kind.localeCompare(i.kind)),gaAreas:t.gaAreas.map(e=>({areaId:e.areaId,label:e.label,categoryKey:e.categoryKey,...e.sectionId?{sectionId:e.sectionId}:{},visible:e.visible})).sort((e,i)=>e.areaId.localeCompare(i.areaId)),bookableSectionIds:[...new Set(t.labels.flatMap(e=>e.sectionId?[e.sectionId]:[]))].sort(),categoryKeys:[...new Set([...t.labels.map(e=>e.categoryKey),...t.gaAreas.map(e=>e.categoryKey)])].sort(),activeCategoryKeys:[...V].sort()},metrics:{minimumRenderedBookableLabelPx:m(l.map(e=>e.renderedFontPx)),minimumBookableLabelContrast:m(O),minimumRenderedHierarchyLabelPx:m(c.map(e=>e.renderedFontPx)),minimumHierarchyLabelContrast:m(D),minimumRenderedFreeTextPx:m(d.map(e=>e.renderedFontPx)),minimumFreeTextContrast:m($),minimumGAContrast:m(W),minimumEffectivePointerTargetPx:m(k.map(e=>e.pointerTarget.effectiveMinimumPx)),selectedRingContrast:w==null?null:Math.round(w*100)/100},interaction:{applicable:{detail:u.length>0||y.length>0,pointer:u.length>0||y.length>0,held:u.length>=2,booked:u.length>=3,sectionFocus:u.some(e=>!!e.sectionId)||y.some(e=>!!e.sectionId),categoryFilter:new Set([...t.labels.map(e=>e.categoryKey),...t.gaAreas.map(e=>e.categoryKey)]).size>=2},selectedUnits:p.length,heldUnits:h.length,bookedUnits:g.length,activePointerTargets:k.length,focusedSectionId:t.focusedSectionId,focusBackdropVisible:t.focusBackdropVisible,categoryFilterKeys:t.categoryFilterKeys},findings:N}}export{Z as a,ie as b};
@@ -1,7 +1,7 @@
1
1
  import { P as Point, C as ChartDoc, R as RowObject } from '../../types-DmgX-iuD.cjs';
2
- import { E as ExpandedSeat, S as SeatStatus } from '../../renderer-ChUHIIr9.cjs';
2
+ import { E as ExpandedSeat, S as SeatStatus } from '../../renderer-DOVelTZw.cjs';
3
3
  export { C as CATEGORY_INVENTORY_FAMILIES, a as CategoryInventoryClone, b as CategoryInventoryConflict, c as CategoryInventoryFamily, d as CategoryInventoryFamilyUsage, e as CategoryInventoryObjectType, f as CategoryInventoryReassignment, g as CategoryInventoryRemediationChange, h as CategoryInventoryRemediationResult, i as CategoryInventoryTarget, j as describeCategoryInventoryConflict, k as effectiveSeatOwnerCategoryCounts, l as inspectCategoryInventoryConflicts, r as remediateCategoryInventoryConflicts } from '../../categoryInventory-DEgsjxCC.cjs';
4
- export { C as CompanionSelectionIssue, M as MAX_EVENT_INVENTORY, a as MAX_GA_CAPACITY, N as NotForSaleSelectionIssue, T as TicketOptionApplicabilityIssue, b as TicketSelection, c as TicketSelectionIssue, d as TicketTierResolution, e as applicableTicketTiers, f as companionSelectionIssue, g as gaAreasOf, h as gaInventorySegments, i as gaUnitLabel, j as gaUnitLabels, k as growJoinedGAInventory, l as isGaUnitLabel, r as resolveTicketTierForSeat, t as ticketOptionNotApplicableIssue, m as ticketSelectionIssue, n as ticketTierAppliesToSeat, v as validGAInventorySegments } from '../../ticketRestrictions-Dr9htXq_.cjs';
4
+ export { C as CompanionSelectionIssue, M as MAX_EVENT_INVENTORY, a as MAX_GA_CAPACITY, N as NotForSaleSelectionIssue, T as TicketOptionApplicabilityIssue, b as TicketSelection, c as TicketSelectionIssue, d as TicketTierResolution, e as applicableTicketTiers, f as companionSelectionIssue, g as gaAreasOf, h as gaInventorySegments, i as gaUnitLabel, j as gaUnitLabels, k as growJoinedGAInventory, l as isGaUnitLabel, r as resolveTicketTierForSeat, t as ticketOptionNotApplicableIssue, m as ticketSelectionIssue, n as ticketTierAppliesToSeat, v as validGAInventorySegments } from '../../ticketRestrictions-D0GRRQ3i.cjs';
5
5
 
6
6
  /**
7
7
  * Best-available seat selection — a PURE, fully unit-testable ranking function.
@@ -1,7 +1,7 @@
1
1
  import { P as Point, C as ChartDoc, R as RowObject } from '../../types-DmgX-iuD.js';
2
- import { E as ExpandedSeat, S as SeatStatus } from '../../renderer-CwmnvyXA.js';
2
+ import { E as ExpandedSeat, S as SeatStatus } from '../../renderer-BxLV6zjl.js';
3
3
  export { C as CATEGORY_INVENTORY_FAMILIES, a as CategoryInventoryClone, b as CategoryInventoryConflict, c as CategoryInventoryFamily, d as CategoryInventoryFamilyUsage, e as CategoryInventoryObjectType, f as CategoryInventoryReassignment, g as CategoryInventoryRemediationChange, h as CategoryInventoryRemediationResult, i as CategoryInventoryTarget, j as describeCategoryInventoryConflict, k as effectiveSeatOwnerCategoryCounts, l as inspectCategoryInventoryConflicts, r as remediateCategoryInventoryConflicts } from '../../categoryInventory-C3RogGHF.js';
4
- export { C as CompanionSelectionIssue, M as MAX_EVENT_INVENTORY, a as MAX_GA_CAPACITY, N as NotForSaleSelectionIssue, T as TicketOptionApplicabilityIssue, b as TicketSelection, c as TicketSelectionIssue, d as TicketTierResolution, e as applicableTicketTiers, f as companionSelectionIssue, g as gaAreasOf, h as gaInventorySegments, i as gaUnitLabel, j as gaUnitLabels, k as growJoinedGAInventory, l as isGaUnitLabel, r as resolveTicketTierForSeat, t as ticketOptionNotApplicableIssue, m as ticketSelectionIssue, n as ticketTierAppliesToSeat, v as validGAInventorySegments } from '../../ticketRestrictions-B-opYvBY.js';
4
+ export { C as CompanionSelectionIssue, M as MAX_EVENT_INVENTORY, a as MAX_GA_CAPACITY, N as NotForSaleSelectionIssue, T as TicketOptionApplicabilityIssue, b as TicketSelection, c as TicketSelectionIssue, d as TicketTierResolution, e as applicableTicketTiers, f as companionSelectionIssue, g as gaAreasOf, h as gaInventorySegments, i as gaUnitLabel, j as gaUnitLabels, k as growJoinedGAInventory, l as isGaUnitLabel, r as resolveTicketTierForSeat, t as ticketOptionNotApplicableIssue, m as ticketSelectionIssue, n as ticketTierAppliesToSeat, v as validGAInventorySegments } from '../../ticketRestrictions-SteRFSGg.js';
5
5
 
6
6
  /**
7
7
  * Best-available seat selection — a PURE, fully unit-testable ranking function.
@@ -1,7 +1,7 @@
1
1
  import { P as Point, t as CubicPath, u as TextObject } from '../../types-DmgX-iuD.cjs';
2
- export { E as ExpandChartOptions, R as RowSeatSlot, T as TABLE_SEAT_OFFSET, a as TableSeatSlot, b as allObjects, c as chartBounds, e as expandBooth, d as expandChart, f as expandRow, g as expandRowSlots, h as expandTable, i as expandTableSlots, j as floorObjects, k as floorOverviewTranslations, l as floorsOf, m as floorsShareFootprint, n as layoutFloorOverview, o as layoutFloorRings, p as objectCenter, q as owningSectionForObject, r as pointInPolygon, s as pointInPolygonWithHoles, t as polygonLabelPoint, u as rowInventoryCount, v as rowSeatPositions, w as stackFloors, x as tableInventoryCount, y as tableSeatCountsBySide, z as translateObject } from '../../layout-c1W3klrb.cjs';
2
+ export { E as ExpandChartOptions, R as RowSeatSlot, T as TABLE_SEAT_OFFSET, a as TableSeatSlot, b as allObjects, c as chartBounds, e as expandBooth, d as expandChart, f as expandRow, g as expandRowSlots, h as expandTable, i as expandTableSlots, j as floorObjects, k as floorOverviewTranslations, l as floorsOf, m as floorsShareFootprint, n as layoutFloorOverview, o as layoutFloorRings, p as objectCenter, q as owningSectionForObject, r as pointInPolygon, s as pointInPolygonWithHoles, t as polygonLabelPoint, u as rowInventoryCount, v as rowSeatPositions, w as stackFloors, x as tableInventoryCount, y as tableSeatCountsBySide, z as translateObject } from '../../layout-wVlsj-_w.cjs';
3
3
  export { a as SegmentedRowComponent, S as SegmentedRowPlacement, r as resolveSegmentedRowGroups, s as segmentedRowComponentSeats, b as segmentedRowComponents, c as segmentedRowSeatTotal } from '../../segmentedRowModel-BQYSdf7k.cjs';
4
- import { E as ExpandedSeat } from '../../renderer-ChUHIIr9.cjs';
4
+ import { E as ExpandedSeat } from '../../renderer-DOVelTZw.cjs';
5
5
 
6
6
  type SectionShellMode = 'auto' | 'rectangle' | 'tapered' | 'bezier';
7
7
  declare function cubicPoint(path: CubicPath, t: number): Point;
@@ -1,7 +1,7 @@
1
1
  import { P as Point, t as CubicPath, u as TextObject } from '../../types-DmgX-iuD.js';
2
- export { E as ExpandChartOptions, R as RowSeatSlot, T as TABLE_SEAT_OFFSET, a as TableSeatSlot, b as allObjects, c as chartBounds, e as expandBooth, d as expandChart, f as expandRow, g as expandRowSlots, h as expandTable, i as expandTableSlots, j as floorObjects, k as floorOverviewTranslations, l as floorsOf, m as floorsShareFootprint, n as layoutFloorOverview, o as layoutFloorRings, p as objectCenter, q as owningSectionForObject, r as pointInPolygon, s as pointInPolygonWithHoles, t as polygonLabelPoint, u as rowInventoryCount, v as rowSeatPositions, w as stackFloors, x as tableInventoryCount, y as tableSeatCountsBySide, z as translateObject } from '../../layout-KskIwa_M.js';
2
+ export { E as ExpandChartOptions, R as RowSeatSlot, T as TABLE_SEAT_OFFSET, a as TableSeatSlot, b as allObjects, c as chartBounds, e as expandBooth, d as expandChart, f as expandRow, g as expandRowSlots, h as expandTable, i as expandTableSlots, j as floorObjects, k as floorOverviewTranslations, l as floorsOf, m as floorsShareFootprint, n as layoutFloorOverview, o as layoutFloorRings, p as objectCenter, q as owningSectionForObject, r as pointInPolygon, s as pointInPolygonWithHoles, t as polygonLabelPoint, u as rowInventoryCount, v as rowSeatPositions, w as stackFloors, x as tableInventoryCount, y as tableSeatCountsBySide, z as translateObject } from '../../layout-BSb0-47G.js';
3
3
  export { a as SegmentedRowComponent, S as SegmentedRowPlacement, r as resolveSegmentedRowGroups, s as segmentedRowComponentSeats, b as segmentedRowComponents, c as segmentedRowSeatTotal } from '../../segmentedRowModel-Cl3X8SKt.js';
4
- import { E as ExpandedSeat } from '../../renderer-CwmnvyXA.js';
4
+ import { E as ExpandedSeat } from '../../renderer-BxLV6zjl.js';
5
5
 
6
6
  type SectionShellMode = 'auto' | 'rectangle' | 'tapered' | 'bezier';
7
7
  declare function cubicPoint(path: CubicPath, t: number): Point;
@@ -1 +1 @@
1
- "use strict";var V=Object.defineProperty;var pe=Object.getOwnPropertyDescriptor;var fe=Object.getOwnPropertyNames;var he=Object.prototype.hasOwnProperty;var Le=(t,n)=>{for(var o in n)V(t,o,{get:n[o],enumerable:!0})},ye=(t,n,o,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of fe(n))!he.call(t,a)&&a!==o&&V(t,a,{get:()=>n[a],enumerable:!(s=pe(n,a))||s.enumerable});return t};var xe=t=>ye(V({},"__esModule",{value:!0}),t);var Ke={};Le(Ke,{ACCESS_GLYPH_PATH:()=>Ee,ACCESS_GLYPH_VIEWBOX:()=>_e,ACCESS_TYPE_GLYPH_PATHS:()=>K,AUTHORED_LABEL_MIN_CONTRAST:()=>ze,BOOTH_LABEL_FONT_SIZE:()=>ke,DARK_BOOKABLE_LABEL_INK:()=>S,DARK_NEUTRAL_SECTION_FILL:()=>ae,GA_CAPACITY_LABEL_FONT_SIZE:()=>Te,GA_FILL_OPACITY:()=>we,GA_LABEL_FONT_SIZE:()=>Se,LARGE_TEXT_CONTRAST:()=>re,LIGHT_BOOKABLE_LABEL_INK:()=>T,LIGHT_NEUTRAL_SECTION_FILL:()=>se,MIN_VISIBLE_BOOKABLE_LABEL_PX:()=>w,RENDERED_QUALITY_REPORT_VERSION:()=>ue,ROW_LABEL_FONT_SIZE:()=>Ie,SEAT_LABEL_FONT_SIZE:()=>Re,SMALL_TEXT_CONTRAST:()=>P,accessGlyphInk:()=>Ze,accessGlyphPath:()=>Fe,bookableMarkerLabel:()=>Pe,compositeHexOver:()=>Ne,inspectRenderedQualityEvidence:()=>Ge,isBookableLabelLegibleAtScale:()=>Ce,isLightFill:()=>oe,minimumTextContrast:()=>Be,neutralSectionFill:()=>He,renderedTextContrast:()=>d,stateAwareBookableLabelInk:()=>ie,summarizeLabelInkContrast:()=>Qe});module.exports=xe(Ke);var ve=/^#?([\da-f]{3}|[\da-f]{6})$/i;function x(t){let n=ve.exec((t??"").trim());if(!n)return null;let o=n[1].length===3?n[1].split("").map(a=>a+a).join(""):n[1],s=parseInt(o,16);return[s>>16&255,s>>8&255,s&255]}function G(t){let n=t/255;return n<=.04045?n/12.92:((n+.055)/1.055)**2.4}function F(t){return .2126*G(t[0])+.7152*G(t[1])+.0722*G(t[2])}function te(t,n){let o=x(t),s=x(n);if(!o||!s)return null;let a=F(o),u=F(s);return(Math.max(a,u)+.05)/(Math.min(a,u)+.05)}var Re=7,Ie=10,ke=10,Se=15,Te=11,we=.85,w=12,P=4.5,re=3,S="#000000",T="#ffffff",Ae=24,Me=18.67;function Be(t,n=400){return t>=Ae||n>=700&&t>=Me?re:P}function Ce(t,n){return t*n>=w}var _e=24,K={wheelchair:"M7.8 4.5a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0zM8 7L10.5 7L10.5 15L8 15ZM8 12.5L18 12.5L18 15L8 15ZM16 15L18 15L18 18L16 18ZM5.5 16a5.5 5.5 0 1 0 11 0a5.5 5.5 0 1 0 -11 0zM8 16a3 3 0 1 1 6 0a3 3 0 1 1 -6 0z",companion:"M5.5 6.5a3 3 0 1 0 6 0a3 3 0 1 0 -6 0zM4.5 18.5L6 11.5L11 11.5L12.5 18.5ZM12.5 7.5a3 3 0 1 0 6 0a3 3 0 1 0 -6 0zM11.5 19L13 12.5L18 12.5L19.5 19Z","semi-ambulatory":"M8.3 3.8a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0zM9 6.2L12 6.6L11 13.5L8.6 13L9 6.2ZM8.6 13L11 13L9.5 21L7 21ZM10.4 13L12.6 13L13.6 21L11.2 21ZM11.2 7.2L14 8L14.6 9.6L11.9 8.9ZM14.4 6.8L15.9 6.8L16.4 21L14.8 21Z","designated-aisle":"M3 5L6 5L6 14L3 14ZM3 12L13 12L13 15L3 15ZM5 15L7 15L7 20L5 20ZM11 15L13 15L13 20L11 20ZM13 7L20 7L17 4L19 4L23 8.5L19 13L17 13L20 10L13 10Z","step-free":"M4 4.5a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0zM4.4 7L7.5 7L7.5 13L11 15L9.5 17L5 14L4.4 7ZM2 19L8 19L17 10L22 10L22 13L18 13L10 21L2 21Z",hearing:"M15.5 3.5C9 2.2 5.5 6 5.5 11.5C5.5 16 8 19.5 10.5 21C13.2 22.6 16.4 20.8 15.4 18C14.8 16.4 12.9 16.1 13 14C13.1 11.9 15.8 11.4 15.8 8.5C15.8 5.4 13 4 15.5 3.5Z",cart:"M5.5 6L18.5 6a2.5 2.5 0 0 1 2.5 2.5L21 15.5a2.5 2.5 0 0 1 -2.5 2.5L11 18L7 20.5L7.5 18L5.5 18a2.5 2.5 0 0 1 -2.5 -2.5L3 8.5a2.5 2.5 0 0 1 2.5 -2.5zM6.5 11L17.5 11L17.5 12.6L6.5 12.6zM6.5 14L17.5 14L17.5 15.6L6.5 15.6z","sign-language":"M7 11L17 11L17 18a2 2 0 0 1 -2 2L9 20a2 2 0 0 1 -2 -2zM7.6 5L9.4 5L9.4 12L7.6 12zM9.9 3.5L11.7 3.5L11.7 12L9.9 12zM12.3 3.5L14.1 3.5L14.1 12L12.3 12zM14.6 5L16.4 5L16.4 12L14.6 12zM7.2 12.5L5 10.2L6.4 8.9L8.6 11.2Z","low-vision":"M2.5 12C6 6 18 6 21.5 12C18 18 6 18 2.5 12ZM9 12a3 3 0 1 0 6 0a3 3 0 1 0 -6 0zM17.5 3L19 3L19 6L17.5 6ZM19 4L22 4L22 5.5L19 5.5Z","sensory-friendly":"M4 11C4 5 7 2.5 12 2.5S20 5 20 11L17 11C17 7 15.5 5.5 12 5.5S7 7 7 11ZM3 10L8 10L8 19L5 19a2 2 0 0 1 -2 -2ZM16 10L21 10L21 17a2 2 0 0 1 -2 2L16 19ZM9 12L15 12L15 14L9 14ZM10 16L14 16L14 18L10 18Z","plus-size":"M9.4 4.3a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0zM5 20L4 13C4 10.5 7 9.5 12 9.5C17 9.5 20 10.5 20 13L19 20Z","lift-armrest":"M5 6L8 6L8 19L5 19zM5 16L18 16L18 19L5 19zM8 12L17 12L17 14.5L8 14.5zM14 7L16 7L16 12L14 12zM12 7L18 7L15 3Z"},Ee=K.wheelchair;function Fe(t){if(!t?.length)return null;let n=t.includes("wheelchair")?"wheelchair":t[0];return K[n]??null}function Pe(t){return/-(\d{1,5})$/.exec(t)?.[1]??t}var d=te;function Ne(t,n,o){let s=x(t),a=x(n);if(!s||!a)return n;let u=Math.max(0,Math.min(1,o));return`#${s.map((p,A)=>Math.round(p*u+a[A]*(1-u))).map(p=>p.toString(16).padStart(2,"0")).join("")}`}var ze=3;function ie(t,n,o=P){let s=d(n,t);if(s!=null&&s>=o)return n;let a=d(S,t)??0,u=d(T,t)??0;return a===0&&u===0?n:a>=u?S:T}var Oe=3;function Ze(t){let n=d("#ffffff",t);if(n!=null&&n>=Oe)return"#ffffff";let o=d(S,t)??0,s=d(T,t)??0;return o===0&&s===0?"#ffffff":o>=s?S:T}var ne=/^#[0-9a-f]{6}$/i;function oe(t){let n=x(t);return n!=null&&F(n)>.5}var se="#e5e7eb",ae="#273142";function He(t){return oe(t)?se:ae}function Qe(t,n,o=P){let s=ne.test(t.trim()),a=t.trim().toLowerCase(),u=0,m=0,p=null;for(let M of n){if(!s||!ne.test(M.trim()))continue;u+=1;let B=ie(M,t,o);B.toLowerCase()!==a&&(m+=1,p=B)}return{total:u,overridden:m,status:u===0?"none":m===0?"applies":m===u?"overridden":"mixed",overrideInk:p}}var ue=3,v=4.5,N=3,le=24,Ve=20;function $(t){return t.filter(n=>n.visible&&!!n.screenBox)}function R(t,n){return t.x<n.x+n.width&&t.x+t.width>n.x&&t.y<n.y+n.height&&t.y+t.height>n.y}function g(t){return t.length?Math.round(Math.min(...t)*100)/100:null}function c(t,n,o){return o.length?{code:t,message:n,count:o.length,samples:o.slice(0,Ve)}:null}function z(t,n,o){return{primaryId:t.seatId,primaryLabel:t.label,...n==null?{}:{measured:Math.round(n*100)/100},...o==null?{}:{minimum:o}}}function U(t,n,o){return{primaryId:t.id,primaryLabel:t.label,...n==null?{}:{measured:Math.round(n*100)/100},...o==null?{}:{minimum:o}}}function ce(t,n,o){return{primaryId:t.objectId,primaryLabel:t.text,...n==null?{}:{measured:Math.round(n*100)/100},...o==null?{}:{minimum:o}}}function I(t,n,o,s){return{primaryId:t,primaryLabel:n,secondaryId:o,secondaryLabel:s}}function Ge(t,n="overview",o=null){let s=$(t.labels),a=$(t.hierarchyLabels),u=$(t.freeTextLabels),m=t.gaAreas.filter(e=>e.visible),p=s.map(e=>d(e.ink,e.fill)??0),A=a.map(e=>d(e.ink,e.fill)??0),M=u.map(e=>d(e.ink,e.background)??0),B=m.map(e=>d(e.effectiveBackground,t.canvasBackground)??0),b=o?t.labels.filter(e=>e.categoryKey===o):t.labels,h=o?t.gaAreas.filter(e=>e.categoryKey===o):t.gaAreas,f=b.filter(e=>e.selected),L=b.filter(e=>e.status==="held"),y=b.filter(e=>e.status==="booked"),C=b.filter(e=>e.pointerTarget.active),j=new Set([...t.labels.filter(e=>e.visible&&(e.opacity>.25||e.selected||e.status!=="free")).map(e=>e.categoryKey),...t.gaAreas.filter(e=>e.visible&&e.opacity>.1).map(e=>e.categoryKey)]),_=f.length?g(f.flatMap(e=>[d(t.selectionRingColor,t.canvasBackground)??0,d(t.selectionRingColor,e.fill)??0])):null,l=[],k=(e,r)=>Array.from({length:e},(O,E)=>({primaryId:`overview:${E+1}`,primaryLabel:r}));if(n==="overview"&&t.rung==="sections"&&(l.push(c("overview-section-category-paint","Section overview shells must use the neutral hierarchy palette, not category paint",k(t.overviewStyle.categoryPaintedSectionShells,"category-painted section shell"))),l.push(c("overview-category-detail-visible","Category-tinted section detail must wait until section focus or seat zoom",k(t.overviewStyle.visibleCategoryDetailOutlines,"category detail outline"))),l.push(c("overview-row-hints-visible","Row and seat patterns must not clutter the section overview",k(t.overviewStyle.visibleSectionRowHints,"section row hint"))),l.push(c("overview-availability-clutter","Live availability counts belong in focused detail, not on section overview shells",k(t.overviewStyle.visibleSectionAvailabilityLabels,"section availability label"))),l.push(c("overview-ga-detail-visible","Section-contained standing paint belongs in focused detail, not on section overview shells",k(t.overviewStyle.visibleSectionGADetails,"section-contained GA detail")))),l.push(c("bookable-label-undersized","Visible bookable labels must meet the rendered small-text size floor",s.filter(e=>e.renderedFontPx<t.minimumVisibleLabelPx).map(e=>z(e,e.renderedFontPx,t.minimumVisibleLabelPx)))),n==="interaction"){let e=b.length>0,r=h.length>0,O=e||r,E=h.filter(i=>i.visible),de=new Set([...b.flatMap(i=>i.sectionId?[i.sectionId]:[]),...h.flatMap(i=>i.sectionId?[i.sectionId]:[])]),be=new Set([...t.labels.map(i=>i.categoryKey),...t.gaAreas.map(i=>i.categoryKey)]),Z=i=>i.screenCenter.x>=0&&i.screenCenter.x<=t.viewport.width&&i.screenCenter.y>=0&&i.screenCenter.y<=t.viewport.height;l.push(c("detail-rung-missing","Interaction evidence with bookable inventory must render the seat-detail rung",O&&t.rung!=="seats"?[{primaryId:"renderer",primaryLabel:t.rung}]:[])),l.push(c("detail-inventory-not-visible","Interaction evidence must frame at least one real bookable unit",O&&!b.some(Z)&&!E.length?[{primaryId:"renderer",primaryLabel:"no target inventory in viewport"}]:[])),l.push(c("pointer-target-inactive","Interaction evidence must expose a live production pointer target",e&&!C.some(Z)||!e&&r&&!E.some(i=>i.interactive)?[{primaryId:"renderer",primaryLabel:"no active pointer target in viewport"}]:[])),l.push(c("pointer-target-undersized","Every active production pointer target must reach at least 24 CSS pixels",C.filter(i=>Z(i)&&i.pointerTarget.effectiveMinimumPx<le).map(i=>z(i,i.pointerTarget.effectiveMinimumPx,le)))),l.push(c("selected-state-missing","Interaction evidence must paint a selected unit and its renderer-owned ring",e&&(!f.length||!f.some(i=>t.selectionRingSeatIds.includes(i.seatId)))?[{primaryId:"renderer",primaryLabel:"selected state"}]:[])),l.push(c("selected-state-contrast-low","The selected-state ring must maintain 3:1 graphical contrast with the canvas",f.length&&(_??0)<N?[{primaryId:f[0].seatId,primaryLabel:f[0].label,measured:Math.round((_??0)*100)/100,minimum:N}]:[])),l.push(c("held-state-missing","Interaction evidence must paint a held state when the floor has at least two status-managed units",b.length>=2&&!L.length?[{primaryId:"renderer",primaryLabel:"held state"}]:[])),l.push(c("booked-state-missing","Interaction evidence must paint a taken state when the floor has at least three status-managed units",b.length>=3&&!y.length?[{primaryId:"renderer",primaryLabel:"booked state"}]:[]));let me=new Set(L.map(i=>`${i.fill.toLowerCase()}:${i.opacity}`)),ge=new Set(y.map(i=>`${i.fill.toLowerCase()}:${i.opacity}`));l.push(c("status-state-indistinct","Held and taken evidence must resolve to distinct renderer paint",L.length&&y.length&&[...me].some(i=>ge.has(i))?[{primaryId:L[0].seatId,primaryLabel:L[0].label,secondaryId:y[0].seatId,secondaryLabel:y[0].label}]:[])),l.push(c("section-focus-missing","Interaction evidence must exercise section focus and its backdrop when section membership exists",de.size&&(!t.focusedSectionId||!t.focusBackdropVisible)?[{primaryId:"renderer",primaryLabel:"section focus"}]:[])),l.push(c("category-filter-missing","Interaction evidence must exercise a category filter when multiple categories exist",be.size>=2&&(!t.categoryFilterKeys||!t.categoryFilterKeys.length)?[{primaryId:"renderer",primaryLabel:"category filter"}]:[]));let H=t.labels.filter(i=>i.status==="free"&&!i.selected&&t.categoryFilterKeys!=null&&!t.categoryFilterKeys.includes(i.categoryKey)),Q=t.gaAreas.filter(i=>t.categoryFilterKeys!=null&&!t.categoryFilterKeys.includes(i.categoryKey));l.push(c("category-filter-ineffective","The active category filter must visibly dim excluded free inventory",(H.length||Q.length)&&!H.some(i=>i.opacity<=.25)&&!Q.some(i=>i.opacity<=.1)?[...H.map(i=>z(i,i.opacity)),...Q.map(i=>({primaryId:i.areaId,primaryLabel:i.label,measured:i.opacity}))]:[])),l.push(c("target-category-not-visible","A category-specific interaction scene must visibly paint its exact target category",o&&!j.has(o)?[{primaryId:o,primaryLabel:o}]:[])),l.push(c("target-category-filter-mismatch","A category-specific interaction scene must bind its filter to only the exact target category",o&&(t.categoryFilterKeys?.length!==1||t.categoryFilterKeys[0]!==o)?[{primaryId:o,primaryLabel:o}]:[]))}l.push(c("bookable-label-contrast-low","Visible bookable labels must meet 4.5:1 contrast against their actual paint",s.flatMap(e=>{let r=d(e.ink,e.fill)??0;return r<v?[z(e,r,v)]:[]})));let X=[];for(let e=0;e<s.length;e+=1)for(let r=0;r<e;r+=1)R(s[e].screenBox,s[r].screenBox)&&X.push(I(s[r].seatId,s[r].label,s[e].seatId,s[e].label));l.push(c("bookable-label-collision","Visible bookable labels must not overlap",X)),l.push(c("hierarchy-label-undersized","Visible section and zone labels must meet the rendered small-text size floor",a.filter(e=>e.renderedFontPx<w).map(e=>U(e,e.renderedFontPx,w)))),l.push(c("hierarchy-label-contrast-low","Visible section and zone labels must meet 4.5:1 contrast against their backing paint",a.flatMap(e=>{let r=d(e.ink,e.fill)??0;return r<v?[U(e,r,v)]:[]}))),l.push(c("hierarchy-label-outside-section","Visible section labels must remain inside the filled section surface and outside holes",a.filter(e=>e.kind==="section"&&e.fitsContainer===!1).map(e=>U(e))));let D=[];for(let e=0;e<a.length;e+=1)for(let r=0;r<e;r+=1)R(a[e].screenBox,a[r].screenBox)&&D.push(I(a[r].id,a[r].label,a[e].id,a[e].label));l.push(c("hierarchy-label-collision","Visible hierarchy labels must not overlap each other",D));let Y=[];for(let e of a)for(let r of s)R(e.screenBox,r.screenBox)&&Y.push(I(e.id,e.label,r.seatId,r.label));l.push(c("hierarchy-bookable-collision","Visible hierarchy labels must not overlap bookable labels",Y)),l.push(c("free-text-undersized","Visible chart text must meet the rendered small-text size floor",u.filter(e=>e.renderedFontPx<t.minimumVisibleLabelPx).map(e=>ce(e,e.renderedFontPx,t.minimumVisibleLabelPx)))),l.push(c("free-text-contrast-low","Visible chart text must meet 4.5:1 contrast against its measured background",u.flatMap(e=>{let r=d(e.ink,e.background)??0;return r<v?[ce(e,r,v)]:[]})));let W=[];for(let e=0;e<u.length;e+=1)for(let r=0;r<e;r+=1)R(u[e].screenBox,u[r].screenBox)&&W.push(I(u[r].objectId,u[r].text,u[e].objectId,u[e].text));l.push(c("free-text-collision","Visible chart text labels must not overlap each other",W));let J=[];for(let e of u)for(let r of s)R(e.screenBox,r.screenBox)&&J.push(I(e.objectId,e.text,r.seatId,r.label));l.push(c("free-text-bookable-collision","Visible chart text must not overlap bookable labels",J));let q=[];for(let e of u)for(let r of a)R(e.screenBox,r.screenBox)&&q.push(I(e.objectId,e.text,r.id,r.label));l.push(c("free-text-hierarchy-collision","Visible chart text must not overlap hierarchy labels",q)),l.push(c("ga-contrast-low","Visible GA surfaces must maintain 3:1 graphical contrast with the canvas",m.flatMap(e=>{let r=d(e.effectiveBackground,t.canvasBackground)??0;return r<N?[{primaryId:e.areaId,primaryLabel:e.label,measured:Math.round(r*100)/100,minimum:N}]:[]})));let ee=l.filter(e=>!!e);return{version:ue,passed:ee.length===0,state:n,targetCategoryKey:o,resolvedRules:["rendered-overview-label-size","rendered-overview-label-contrast","rendered-overview-label-collision","rendered-overview-hierarchy-containment","rendered-overview-section-first-style","rendered-overview-ga-contrast",...n==="interaction"?["rendered-detail-inventory","rendered-pointer-target","rendered-selected-held-taken-states","rendered-section-focus","rendered-category-filter"]:[]],viewport:t.viewport,canvasBackground:t.canvasBackground,effectiveScale:t.effectiveScale,rung:t.rung,inventory:{totalBookableUnits:t.totalBookableUnits,totalLabelledBookableUnits:t.totalLabelledBookableUnits,visibleBookableLabels:s.length,hiddenBookableLabels:t.hiddenLabels,visibleHierarchyLabels:a.length,visibleFreeTextLabels:u.length,visibleGAAreas:m.length},overviewStyle:t.overviewStyle,composition:{hierarchy:t.hierarchyLabels.filter(e=>e.role==="name").map(e=>({id:e.id,kind:e.kind,label:e.label,visible:e.visible})).sort((e,r)=>e.kind.localeCompare(r.kind)||e.id.localeCompare(r.id)),labelledObjects:t.freeTextLabels.map(e=>({objectId:e.objectId,kind:e.kind,text:e.text,visible:e.visible})).sort((e,r)=>e.objectId.localeCompare(r.objectId)||e.kind.localeCompare(r.kind)),gaAreas:t.gaAreas.map(e=>({areaId:e.areaId,label:e.label,categoryKey:e.categoryKey,...e.sectionId?{sectionId:e.sectionId}:{},visible:e.visible})).sort((e,r)=>e.areaId.localeCompare(r.areaId)),bookableSectionIds:[...new Set(t.labels.flatMap(e=>e.sectionId?[e.sectionId]:[]))].sort(),categoryKeys:[...new Set([...t.labels.map(e=>e.categoryKey),...t.gaAreas.map(e=>e.categoryKey)])].sort(),activeCategoryKeys:[...j].sort()},metrics:{minimumRenderedBookableLabelPx:g(s.map(e=>e.renderedFontPx)),minimumBookableLabelContrast:g(p),minimumRenderedHierarchyLabelPx:g(a.map(e=>e.renderedFontPx)),minimumHierarchyLabelContrast:g(A),minimumRenderedFreeTextPx:g(u.map(e=>e.renderedFontPx)),minimumFreeTextContrast:g(M),minimumGAContrast:g(B),minimumEffectivePointerTargetPx:g(C.map(e=>e.pointerTarget.effectiveMinimumPx)),selectedRingContrast:_==null?null:Math.round(_*100)/100},interaction:{applicable:{detail:b.length>0||h.length>0,pointer:b.length>0||h.length>0,held:b.length>=2,booked:b.length>=3,sectionFocus:b.some(e=>!!e.sectionId)||h.some(e=>!!e.sectionId),categoryFilter:new Set([...t.labels.map(e=>e.categoryKey),...t.gaAreas.map(e=>e.categoryKey)]).size>=2},selectedUnits:f.length,heldUnits:L.length,bookedUnits:y.length,activePointerTargets:C.length,focusedSectionId:t.focusedSectionId,focusBackdropVisible:t.focusBackdropVisible,categoryFilterKeys:t.categoryFilterKeys},findings:ee}}0&&(module.exports={ACCESS_GLYPH_PATH,ACCESS_GLYPH_VIEWBOX,ACCESS_TYPE_GLYPH_PATHS,AUTHORED_LABEL_MIN_CONTRAST,BOOTH_LABEL_FONT_SIZE,DARK_BOOKABLE_LABEL_INK,DARK_NEUTRAL_SECTION_FILL,GA_CAPACITY_LABEL_FONT_SIZE,GA_FILL_OPACITY,GA_LABEL_FONT_SIZE,LARGE_TEXT_CONTRAST,LIGHT_BOOKABLE_LABEL_INK,LIGHT_NEUTRAL_SECTION_FILL,MIN_VISIBLE_BOOKABLE_LABEL_PX,RENDERED_QUALITY_REPORT_VERSION,ROW_LABEL_FONT_SIZE,SEAT_LABEL_FONT_SIZE,SMALL_TEXT_CONTRAST,accessGlyphInk,accessGlyphPath,bookableMarkerLabel,compositeHexOver,inspectRenderedQualityEvidence,isBookableLabelLegibleAtScale,isLightFill,minimumTextContrast,neutralSectionFill,renderedTextContrast,stateAwareBookableLabelInk,summarizeLabelInkContrast});
1
+ "use strict";var V=Object.defineProperty;var pe=Object.getOwnPropertyDescriptor;var fe=Object.getOwnPropertyNames;var he=Object.prototype.hasOwnProperty;var Le=(t,n)=>{for(var o in n)V(t,o,{get:n[o],enumerable:!0})},ye=(t,n,o,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of fe(n))!he.call(t,a)&&a!==o&&V(t,a,{get:()=>n[a],enumerable:!(s=pe(n,a))||s.enumerable});return t};var xe=t=>ye(V({},"__esModule",{value:!0}),t);var Ke={};Le(Ke,{ACCESS_GLYPH_PATH:()=>Ee,ACCESS_GLYPH_VIEWBOX:()=>_e,ACCESS_TYPE_GLYPH_PATHS:()=>K,AUTHORED_LABEL_MIN_CONTRAST:()=>ze,BOOTH_LABEL_FONT_SIZE:()=>ke,DARK_BOOKABLE_LABEL_INK:()=>S,DARK_NEUTRAL_SECTION_FILL:()=>ae,GA_CAPACITY_LABEL_FONT_SIZE:()=>Te,GA_FILL_OPACITY:()=>we,GA_LABEL_FONT_SIZE:()=>Se,LARGE_TEXT_CONTRAST:()=>re,LIGHT_BOOKABLE_LABEL_INK:()=>T,LIGHT_NEUTRAL_SECTION_FILL:()=>se,MIN_VISIBLE_BOOKABLE_LABEL_PX:()=>w,RENDERED_QUALITY_REPORT_VERSION:()=>ue,ROW_LABEL_FONT_SIZE:()=>Ie,SEAT_LABEL_FONT_SIZE:()=>Re,SMALL_TEXT_CONTRAST:()=>P,accessGlyphInk:()=>Ze,accessGlyphPath:()=>Fe,bookableMarkerLabel:()=>Pe,compositeHexOver:()=>Ne,inspectRenderedQualityEvidence:()=>Ge,isBookableLabelLegibleAtScale:()=>Ce,isLightFill:()=>oe,minimumTextContrast:()=>Be,neutralSectionFill:()=>He,renderedTextContrast:()=>d,stateAwareBookableLabelInk:()=>ie,summarizeLabelInkContrast:()=>Qe});module.exports=xe(Ke);var ve=/^#?([\da-f]{3}|[\da-f]{6})$/i;function x(t){let n=ve.exec((t??"").trim());if(!n)return null;let o=n[1].length===3?n[1].split("").map(a=>a+a).join(""):n[1],s=parseInt(o,16);return[s>>16&255,s>>8&255,s&255]}function G(t){let n=t/255;return n<=.04045?n/12.92:((n+.055)/1.055)**2.4}function F(t){return .2126*G(t[0])+.7152*G(t[1])+.0722*G(t[2])}function te(t,n){let o=x(t),s=x(n);if(!o||!s)return null;let a=F(o),u=F(s);return(Math.max(a,u)+.05)/(Math.min(a,u)+.05)}var Re=7,Ie=10,ke=10,Se=15,Te=11,we=.85,w=12,P=4.5,re=3,S="#000000",T="#ffffff",Ae=24,Me=18.67;function Be(t,n=400){return t>=Ae||n>=700&&t>=Me?re:P}function Ce(t,n){return t*n>=w}var _e=24,K={wheelchair:"M7.8 4.5a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0zM8 7L10.5 7L10.5 15L8 15ZM8 12.5L18 12.5L18 15L8 15ZM16 15L18 15L18 18L16 18ZM5.5 16a5.5 5.5 0 1 0 11 0a5.5 5.5 0 1 0 -11 0zM8 16a3 3 0 1 1 6 0a3 3 0 1 1 -6 0z",companion:"M5.5 6.5a3 3 0 1 0 6 0a3 3 0 1 0 -6 0zM4.5 18.5L6 11.5L11 11.5L12.5 18.5ZM12.5 7.5a3 3 0 1 0 6 0a3 3 0 1 0 -6 0zM11.5 19L13 12.5L18 12.5L19.5 19Z","semi-ambulatory":"M8.3 3.8a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0zM9 6.2L12 6.6L11 13.5L8.6 13L9 6.2ZM8.6 13L11 13L9.5 21L7 21ZM10.4 13L12.6 13L13.6 21L11.2 21ZM11.2 7.2L14 8L14.6 9.6L11.9 8.9ZM14.4 6.8L15.9 6.8L16.4 21L14.8 21Z","designated-aisle":"M3 5L6 5L6 14L3 14ZM3 12L13 12L13 15L3 15ZM5 15L7 15L7 20L5 20ZM11 15L13 15L13 20L11 20ZM13 7L20 7L17 4L19 4L23 8.5L19 13L17 13L20 10L13 10Z","step-free":"M4 4.5a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0zM4.4 7L7.5 7L7.5 13L11 15L9.5 17L5 14L4.4 7ZM2 19L8 19L17 10L22 10L22 13L18 13L10 21L2 21Z",hearing:"M15.5 3.5C9 2.2 5.5 6 5.5 11.5C5.5 16 8 19.5 10.5 21C13.2 22.6 16.4 20.8 15.4 18C14.8 16.4 12.9 16.1 13 14C13.1 11.9 15.8 11.4 15.8 8.5C15.8 5.4 13 4 15.5 3.5Z",cart:"M5.5 6L18.5 6a2.5 2.5 0 0 1 2.5 2.5L21 15.5a2.5 2.5 0 0 1 -2.5 2.5L11 18L7 20.5L7.5 18L5.5 18a2.5 2.5 0 0 1 -2.5 -2.5L3 8.5a2.5 2.5 0 0 1 2.5 -2.5zM6.5 11L17.5 11L17.5 12.6L6.5 12.6zM6.5 14L17.5 14L17.5 15.6L6.5 15.6z","sign-language":"M7 11L17 11L17 18a2 2 0 0 1 -2 2L9 20a2 2 0 0 1 -2 -2zM7.6 5L9.4 5L9.4 12L7.6 12zM9.9 3.5L11.7 3.5L11.7 12L9.9 12zM12.3 3.5L14.1 3.5L14.1 12L12.3 12zM14.6 5L16.4 5L16.4 12L14.6 12zM7.2 12.5L5 10.2L6.4 8.9L8.6 11.2Z","low-vision":"M2.5 12C6 6 18 6 21.5 12C18 18 6 18 2.5 12ZM9 12a3 3 0 1 0 6 0a3 3 0 1 0 -6 0zM17.5 3L19 3L19 6L17.5 6ZM19 4L22 4L22 5.5L19 5.5Z","sensory-friendly":"M4 11C4 5 7 2.5 12 2.5S20 5 20 11L17 11C17 7 15.5 5.5 12 5.5S7 7 7 11ZM3 10L8 10L8 19L5 19a2 2 0 0 1 -2 -2ZM16 10L21 10L21 17a2 2 0 0 1 -2 2L16 19ZM9 12L15 12L15 14L9 14ZM10 16L14 16L14 18L10 18Z","plus-size":"M9.4 4.3a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0zM5 20L4 13C4 10.5 7 9.5 12 9.5C17 9.5 20 10.5 20 13L19 20Z","lift-armrest":"M5 6L8 6L8 19L5 19zM5 16L18 16L18 19L5 19zM8 12L17 12L17 14.5L8 14.5zM14 7L16 7L16 12L14 12zM12 7L18 7L15 3Z"},Ee=K.wheelchair;function Fe(t){if(!t?.length)return null;let n=t.includes("wheelchair")?"wheelchair":t[0];return K[n]??null}function Pe(t){return/-(\d{1,5})$/.exec(t)?.[1]??t}var d=te;function Ne(t,n,o){let s=x(t),a=x(n);if(!s||!a)return n;let u=Math.max(0,Math.min(1,o));return`#${s.map((p,A)=>Math.round(p*u+a[A]*(1-u))).map(p=>p.toString(16).padStart(2,"0")).join("")}`}var ze=3;function ie(t,n,o=P){let s=d(n,t);if(s!=null&&s>=o)return n;let a=d(S,t)??0,u=d(T,t)??0;return a===0&&u===0?n:a>=u?S:T}var Oe=3;function Ze(t){let n=d("#ffffff",t);if(n!=null&&n>=Oe)return"#ffffff";let o=d(S,t)??0,s=d(T,t)??0;return o===0&&s===0?"#ffffff":o>=s?S:T}var ne=/^#[0-9a-f]{6}$/i;function oe(t){let n=x(t);return n!=null&&F(n)>.5}var se="#e5e7eb",ae="#273142";function He(t){return oe(t)?se:ae}function Qe(t,n,o=P){let s=ne.test(t.trim()),a=t.trim().toLowerCase(),u=0,m=0,p=null;for(let M of n){if(!s||!ne.test(M.trim()))continue;u+=1;let B=ie(M,t,o);B.toLowerCase()!==a&&(m+=1,p=B)}return{total:u,overridden:m,status:u===0?"none":m===0?"applies":m===u?"overridden":"mixed",overrideInk:p}}var ue=3,v=4.5,N=3,le=24,Ve=20;function $(t){return t.filter(n=>n.visible&&!!n.screenBox)}function R(t,n){return t.x<n.x+n.width&&t.x+t.width>n.x&&t.y<n.y+n.height&&t.y+t.height>n.y}function g(t){return t.length?Math.round(Math.min(...t)*100)/100:null}function c(t,n,o){return o.length?{code:t,message:n,count:o.length,samples:o.slice(0,Ve)}:null}function z(t,n,o){return{primaryId:t.seatId,primaryLabel:t.label,...n==null?{}:{measured:Math.round(n*100)/100},...o==null?{}:{minimum:o}}}function U(t,n,o){return{primaryId:t.id,primaryLabel:t.label,...n==null?{}:{measured:Math.round(n*100)/100},...o==null?{}:{minimum:o}}}function ce(t,n,o){return{primaryId:t.objectId,primaryLabel:t.text,...n==null?{}:{measured:Math.round(n*100)/100},...o==null?{}:{minimum:o}}}function I(t,n,o,s){return{primaryId:t,primaryLabel:n,secondaryId:o,secondaryLabel:s}}function Ge(t,n="overview",o=null){let s=$(t.labels),a=$(t.hierarchyLabels),u=$(t.freeTextLabels),m=t.gaAreas.filter(e=>e.visible),p=s.map(e=>d(e.ink,e.fill)??0),A=a.map(e=>d(e.ink,e.fill)??0),M=u.map(e=>d(e.ink,e.background)??0),B=m.map(e=>d(e.effectiveBackground,t.canvasBackground)??0),b=o?t.labels.filter(e=>e.categoryKey===o):t.labels,h=o?t.gaAreas.filter(e=>e.categoryKey===o):t.gaAreas,f=b.filter(e=>e.selected),L=b.filter(e=>e.status==="held"),y=b.filter(e=>e.status==="booked"),C=b.filter(e=>e.pointerTarget.active),j=new Set([...t.labels.filter(e=>e.visible&&(e.opacity>.25||e.selected||e.status!=="free")).map(e=>e.categoryKey),...t.gaAreas.filter(e=>e.visible&&e.opacity>.1).map(e=>e.categoryKey)]),_=f.length?g(f.map(e=>d(e.selectionRingColor??t.selectionRingColor,e.fill)??0)):null,l=[],k=(e,r)=>Array.from({length:e},(O,E)=>({primaryId:`overview:${E+1}`,primaryLabel:r}));if(n==="overview"&&t.rung==="sections"&&(l.push(c("overview-section-category-paint","Section overview shells must use the neutral hierarchy palette, not category paint",k(t.overviewStyle.categoryPaintedSectionShells,"category-painted section shell"))),l.push(c("overview-category-detail-visible","Category-tinted section detail must wait until section focus or seat zoom",k(t.overviewStyle.visibleCategoryDetailOutlines,"category detail outline"))),l.push(c("overview-row-hints-visible","Row and seat patterns must not clutter the section overview",k(t.overviewStyle.visibleSectionRowHints,"section row hint"))),l.push(c("overview-availability-clutter","Live availability counts belong in focused detail, not on section overview shells",k(t.overviewStyle.visibleSectionAvailabilityLabels,"section availability label"))),l.push(c("overview-ga-detail-visible","Section-contained standing paint belongs in focused detail, not on section overview shells",k(t.overviewStyle.visibleSectionGADetails,"section-contained GA detail")))),l.push(c("bookable-label-undersized","Visible bookable labels must meet the rendered small-text size floor",s.filter(e=>e.renderedFontPx<t.minimumVisibleLabelPx).map(e=>z(e,e.renderedFontPx,t.minimumVisibleLabelPx)))),n==="interaction"){let e=b.length>0,r=h.length>0,O=e||r,E=h.filter(i=>i.visible),de=new Set([...b.flatMap(i=>i.sectionId?[i.sectionId]:[]),...h.flatMap(i=>i.sectionId?[i.sectionId]:[])]),be=new Set([...t.labels.map(i=>i.categoryKey),...t.gaAreas.map(i=>i.categoryKey)]),Z=i=>i.screenCenter.x>=0&&i.screenCenter.x<=t.viewport.width&&i.screenCenter.y>=0&&i.screenCenter.y<=t.viewport.height;l.push(c("detail-rung-missing","Interaction evidence with bookable inventory must render the seat-detail rung",O&&t.rung!=="seats"?[{primaryId:"renderer",primaryLabel:t.rung}]:[])),l.push(c("detail-inventory-not-visible","Interaction evidence must frame at least one real bookable unit",O&&!b.some(Z)&&!E.length?[{primaryId:"renderer",primaryLabel:"no target inventory in viewport"}]:[])),l.push(c("pointer-target-inactive","Interaction evidence must expose a live production pointer target",e&&!C.some(Z)||!e&&r&&!E.some(i=>i.interactive)?[{primaryId:"renderer",primaryLabel:"no active pointer target in viewport"}]:[])),l.push(c("pointer-target-undersized","Every active production pointer target must reach at least 24 CSS pixels",C.filter(i=>Z(i)&&i.pointerTarget.effectiveMinimumPx<le).map(i=>z(i,i.pointerTarget.effectiveMinimumPx,le)))),l.push(c("selected-state-missing","Interaction evidence must paint a selected unit and its renderer-owned ring",e&&(!f.length||!f.some(i=>t.selectionRingSeatIds.includes(i.seatId)))?[{primaryId:"renderer",primaryLabel:"selected state"}]:[])),l.push(c("selected-state-contrast-low","The selected-state ring must maintain 3:1 graphical contrast with the seat paint",f.length&&(_??0)<N?[{primaryId:f[0].seatId,primaryLabel:f[0].label,measured:Math.round((_??0)*100)/100,minimum:N}]:[])),l.push(c("held-state-missing","Interaction evidence must paint a held state when the floor has at least two status-managed units",b.length>=2&&!L.length?[{primaryId:"renderer",primaryLabel:"held state"}]:[])),l.push(c("booked-state-missing","Interaction evidence must paint a taken state when the floor has at least three status-managed units",b.length>=3&&!y.length?[{primaryId:"renderer",primaryLabel:"booked state"}]:[]));let me=new Set(L.map(i=>`${i.fill.toLowerCase()}:${i.opacity}`)),ge=new Set(y.map(i=>`${i.fill.toLowerCase()}:${i.opacity}`));l.push(c("status-state-indistinct","Held and taken evidence must resolve to distinct renderer paint",L.length&&y.length&&[...me].some(i=>ge.has(i))?[{primaryId:L[0].seatId,primaryLabel:L[0].label,secondaryId:y[0].seatId,secondaryLabel:y[0].label}]:[])),l.push(c("section-focus-missing","Interaction evidence must exercise section focus and its backdrop when section membership exists",de.size&&(!t.focusedSectionId||!t.focusBackdropVisible)?[{primaryId:"renderer",primaryLabel:"section focus"}]:[])),l.push(c("category-filter-missing","Interaction evidence must exercise a category filter when multiple categories exist",be.size>=2&&(!t.categoryFilterKeys||!t.categoryFilterKeys.length)?[{primaryId:"renderer",primaryLabel:"category filter"}]:[]));let H=t.labels.filter(i=>i.status==="free"&&!i.selected&&t.categoryFilterKeys!=null&&!t.categoryFilterKeys.includes(i.categoryKey)),Q=t.gaAreas.filter(i=>t.categoryFilterKeys!=null&&!t.categoryFilterKeys.includes(i.categoryKey));l.push(c("category-filter-ineffective","The active category filter must visibly dim excluded free inventory",(H.length||Q.length)&&!H.some(i=>i.opacity<=.25)&&!Q.some(i=>i.opacity<=.1)?[...H.map(i=>z(i,i.opacity)),...Q.map(i=>({primaryId:i.areaId,primaryLabel:i.label,measured:i.opacity}))]:[])),l.push(c("target-category-not-visible","A category-specific interaction scene must visibly paint its exact target category",o&&!j.has(o)?[{primaryId:o,primaryLabel:o}]:[])),l.push(c("target-category-filter-mismatch","A category-specific interaction scene must bind its filter to only the exact target category",o&&(t.categoryFilterKeys?.length!==1||t.categoryFilterKeys[0]!==o)?[{primaryId:o,primaryLabel:o}]:[]))}l.push(c("bookable-label-contrast-low","Visible bookable labels must meet 4.5:1 contrast against their actual paint",s.flatMap(e=>{let r=d(e.ink,e.fill)??0;return r<v?[z(e,r,v)]:[]})));let X=[];for(let e=0;e<s.length;e+=1)for(let r=0;r<e;r+=1)R(s[e].screenBox,s[r].screenBox)&&X.push(I(s[r].seatId,s[r].label,s[e].seatId,s[e].label));l.push(c("bookable-label-collision","Visible bookable labels must not overlap",X)),l.push(c("hierarchy-label-undersized","Visible section and zone labels must meet the rendered small-text size floor",a.filter(e=>e.renderedFontPx<w).map(e=>U(e,e.renderedFontPx,w)))),l.push(c("hierarchy-label-contrast-low","Visible section and zone labels must meet 4.5:1 contrast against their backing paint",a.flatMap(e=>{let r=d(e.ink,e.fill)??0;return r<v?[U(e,r,v)]:[]}))),l.push(c("hierarchy-label-outside-section","Visible section labels must remain inside the filled section surface and outside holes",a.filter(e=>e.kind==="section"&&e.fitsContainer===!1).map(e=>U(e))));let D=[];for(let e=0;e<a.length;e+=1)for(let r=0;r<e;r+=1)R(a[e].screenBox,a[r].screenBox)&&D.push(I(a[r].id,a[r].label,a[e].id,a[e].label));l.push(c("hierarchy-label-collision","Visible hierarchy labels must not overlap each other",D));let Y=[];for(let e of a)for(let r of s)R(e.screenBox,r.screenBox)&&Y.push(I(e.id,e.label,r.seatId,r.label));l.push(c("hierarchy-bookable-collision","Visible hierarchy labels must not overlap bookable labels",Y)),l.push(c("free-text-undersized","Visible chart text must meet the rendered small-text size floor",u.filter(e=>e.renderedFontPx<t.minimumVisibleLabelPx).map(e=>ce(e,e.renderedFontPx,t.minimumVisibleLabelPx)))),l.push(c("free-text-contrast-low","Visible chart text must meet 4.5:1 contrast against its measured background",u.flatMap(e=>{let r=d(e.ink,e.background)??0;return r<v?[ce(e,r,v)]:[]})));let W=[];for(let e=0;e<u.length;e+=1)for(let r=0;r<e;r+=1)R(u[e].screenBox,u[r].screenBox)&&W.push(I(u[r].objectId,u[r].text,u[e].objectId,u[e].text));l.push(c("free-text-collision","Visible chart text labels must not overlap each other",W));let J=[];for(let e of u)for(let r of s)R(e.screenBox,r.screenBox)&&J.push(I(e.objectId,e.text,r.seatId,r.label));l.push(c("free-text-bookable-collision","Visible chart text must not overlap bookable labels",J));let q=[];for(let e of u)for(let r of a)R(e.screenBox,r.screenBox)&&q.push(I(e.objectId,e.text,r.id,r.label));l.push(c("free-text-hierarchy-collision","Visible chart text must not overlap hierarchy labels",q)),l.push(c("ga-contrast-low","Visible GA surfaces must maintain 3:1 graphical contrast with the canvas",m.flatMap(e=>{let r=d(e.effectiveBackground,t.canvasBackground)??0;return r<N?[{primaryId:e.areaId,primaryLabel:e.label,measured:Math.round(r*100)/100,minimum:N}]:[]})));let ee=l.filter(e=>!!e);return{version:ue,passed:ee.length===0,state:n,targetCategoryKey:o,resolvedRules:["rendered-overview-label-size","rendered-overview-label-contrast","rendered-overview-label-collision","rendered-overview-hierarchy-containment","rendered-overview-section-first-style","rendered-overview-ga-contrast",...n==="interaction"?["rendered-detail-inventory","rendered-pointer-target","rendered-selected-held-taken-states","rendered-section-focus","rendered-category-filter"]:[]],viewport:t.viewport,canvasBackground:t.canvasBackground,effectiveScale:t.effectiveScale,rung:t.rung,inventory:{totalBookableUnits:t.totalBookableUnits,totalLabelledBookableUnits:t.totalLabelledBookableUnits,visibleBookableLabels:s.length,hiddenBookableLabels:t.hiddenLabels,visibleHierarchyLabels:a.length,visibleFreeTextLabels:u.length,visibleGAAreas:m.length},overviewStyle:t.overviewStyle,composition:{hierarchy:t.hierarchyLabels.filter(e=>e.role==="name").map(e=>({id:e.id,kind:e.kind,label:e.label,visible:e.visible})).sort((e,r)=>e.kind.localeCompare(r.kind)||e.id.localeCompare(r.id)),labelledObjects:t.freeTextLabels.map(e=>({objectId:e.objectId,kind:e.kind,text:e.text,visible:e.visible})).sort((e,r)=>e.objectId.localeCompare(r.objectId)||e.kind.localeCompare(r.kind)),gaAreas:t.gaAreas.map(e=>({areaId:e.areaId,label:e.label,categoryKey:e.categoryKey,...e.sectionId?{sectionId:e.sectionId}:{},visible:e.visible})).sort((e,r)=>e.areaId.localeCompare(r.areaId)),bookableSectionIds:[...new Set(t.labels.flatMap(e=>e.sectionId?[e.sectionId]:[]))].sort(),categoryKeys:[...new Set([...t.labels.map(e=>e.categoryKey),...t.gaAreas.map(e=>e.categoryKey)])].sort(),activeCategoryKeys:[...j].sort()},metrics:{minimumRenderedBookableLabelPx:g(s.map(e=>e.renderedFontPx)),minimumBookableLabelContrast:g(p),minimumRenderedHierarchyLabelPx:g(a.map(e=>e.renderedFontPx)),minimumHierarchyLabelContrast:g(A),minimumRenderedFreeTextPx:g(u.map(e=>e.renderedFontPx)),minimumFreeTextContrast:g(M),minimumGAContrast:g(B),minimumEffectivePointerTargetPx:g(C.map(e=>e.pointerTarget.effectiveMinimumPx)),selectedRingContrast:_==null?null:Math.round(_*100)/100},interaction:{applicable:{detail:b.length>0||h.length>0,pointer:b.length>0||h.length>0,held:b.length>=2,booked:b.length>=3,sectionFocus:b.some(e=>!!e.sectionId)||h.some(e=>!!e.sectionId),categoryFilter:new Set([...t.labels.map(e=>e.categoryKey),...t.gaAreas.map(e=>e.categoryKey)]).size>=2},selectedUnits:f.length,heldUnits:L.length,bookedUnits:y.length,activePointerTargets:C.length,focusedSectionId:t.focusedSectionId,focusBackdropVisible:t.focusBackdropVisible,categoryFilterKeys:t.categoryFilterKeys},findings:ee}}0&&(module.exports={ACCESS_GLYPH_PATH,ACCESS_GLYPH_VIEWBOX,ACCESS_TYPE_GLYPH_PATHS,AUTHORED_LABEL_MIN_CONTRAST,BOOTH_LABEL_FONT_SIZE,DARK_BOOKABLE_LABEL_INK,DARK_NEUTRAL_SECTION_FILL,GA_CAPACITY_LABEL_FONT_SIZE,GA_FILL_OPACITY,GA_LABEL_FONT_SIZE,LARGE_TEXT_CONTRAST,LIGHT_BOOKABLE_LABEL_INK,LIGHT_NEUTRAL_SECTION_FILL,MIN_VISIBLE_BOOKABLE_LABEL_PX,RENDERED_QUALITY_REPORT_VERSION,ROW_LABEL_FONT_SIZE,SEAT_LABEL_FONT_SIZE,SMALL_TEXT_CONTRAST,accessGlyphInk,accessGlyphPath,bookableMarkerLabel,compositeHexOver,inspectRenderedQualityEvidence,isBookableLabelLegibleAtScale,isLightFill,minimumTextContrast,neutralSectionFill,renderedTextContrast,stateAwareBookableLabelInk,summarizeLabelInkContrast});
@@ -1,7 +1,7 @@
1
1
  import { A as AccessibilityType } from '../../types-DmgX-iuD.cjs';
2
2
  import { contrastRatioOrNull } from '../color.cjs';
3
- export { R as RENDERED_QUALITY_REPORT_VERSION, a as RenderedEvidenceState, b as RenderedQualityFinding, c as RenderedQualityFindingCode, d as RenderedQualityReport, e as RenderedQualitySample, i as inspectRenderedQualityEvidence } from '../../renderedQuality-B8cNVHeL.cjs';
4
- import '../../renderer-ChUHIIr9.cjs';
3
+ export { R as RENDERED_QUALITY_REPORT_VERSION, a as RenderedEvidenceState, b as RenderedQualityFinding, c as RenderedQualityFindingCode, d as RenderedQualityReport, e as RenderedQualitySample, i as inspectRenderedQualityEvidence } from '../../renderedQuality-UNltbHTz.cjs';
4
+ import '../../renderer-DOVelTZw.cjs';
5
5
 
6
6
  /**
7
7
  * Rendering constants that quality inspection must agree with.
@@ -1,7 +1,7 @@
1
1
  import { A as AccessibilityType } from '../../types-DmgX-iuD.js';
2
2
  import { contrastRatioOrNull } from '../color.js';
3
- export { R as RENDERED_QUALITY_REPORT_VERSION, a as RenderedEvidenceState, b as RenderedQualityFinding, c as RenderedQualityFindingCode, d as RenderedQualityReport, e as RenderedQualitySample, i as inspectRenderedQualityEvidence } from '../../renderedQuality-BSvWFkqa.js';
4
- import '../../renderer-CwmnvyXA.js';
3
+ export { R as RENDERED_QUALITY_REPORT_VERSION, a as RenderedEvidenceState, b as RenderedQualityFinding, c as RenderedQualityFindingCode, d as RenderedQualityReport, e as RenderedQualitySample, i as inspectRenderedQualityEvidence } from '../../renderedQuality-CN3Y3huz.js';
4
+ import '../../renderer-BxLV6zjl.js';
5
5
 
6
6
  /**
7
7
  * Rendering constants that quality inspection must agree with.
@@ -1 +1 @@
1
- import{a as C,b as D}from"../../chunk-LVUGIKHG.js";import{A,B,a as o,b as r,c as e,d as f,e as m,f as p,g as t,h as x,i as a,j as b,k as c,l as d,m as g,n as h,o as i,p as j,q as k,r as l,s as n,t as q,u as s,v as u,w as v,x as w,y,z}from"../../chunk-GXMGOWKB.js";import"../../chunk-CXF32VPG.js";export{j as ACCESS_GLYPH_PATH,h as ACCESS_GLYPH_VIEWBOX,i as ACCESS_TYPE_GLYPH_PATHS,s as AUTHORED_LABEL_MIN_CONTRAST,e as BOOTH_LABEL_FONT_SIZE,b as DARK_BOOKABLE_LABEL_INK,z as DARK_NEUTRAL_SECTION_FILL,m as GA_CAPACITY_LABEL_FONT_SIZE,p as GA_FILL_OPACITY,f as GA_LABEL_FONT_SIZE,a as LARGE_TEXT_CONTRAST,c as LIGHT_BOOKABLE_LABEL_INK,y as LIGHT_NEUTRAL_SECTION_FILL,t as MIN_VISIBLE_BOOKABLE_LABEL_PX,C as RENDERED_QUALITY_REPORT_VERSION,r as ROW_LABEL_FONT_SIZE,o as SEAT_LABEL_FONT_SIZE,x as SMALL_TEXT_CONTRAST,v as accessGlyphInk,k as accessGlyphPath,l as bookableMarkerLabel,q as compositeHexOver,D as inspectRenderedQualityEvidence,g as isBookableLabelLegibleAtScale,w as isLightFill,d as minimumTextContrast,A as neutralSectionFill,n as renderedTextContrast,u as stateAwareBookableLabelInk,B as summarizeLabelInkContrast};
1
+ import{a as C,b as D}from"../../chunk-JLJHFU2I.js";import{A,B,a as o,b as r,c as e,d as f,e as m,f as p,g as t,h as x,i as a,j as b,k as c,l as d,m as g,n as h,o as i,p as j,q as k,r as l,s as n,t as q,u as s,v as u,w as v,x as w,y,z}from"../../chunk-GXMGOWKB.js";import"../../chunk-CXF32VPG.js";export{j as ACCESS_GLYPH_PATH,h as ACCESS_GLYPH_VIEWBOX,i as ACCESS_TYPE_GLYPH_PATHS,s as AUTHORED_LABEL_MIN_CONTRAST,e as BOOTH_LABEL_FONT_SIZE,b as DARK_BOOKABLE_LABEL_INK,z as DARK_NEUTRAL_SECTION_FILL,m as GA_CAPACITY_LABEL_FONT_SIZE,p as GA_FILL_OPACITY,f as GA_LABEL_FONT_SIZE,a as LARGE_TEXT_CONTRAST,c as LIGHT_BOOKABLE_LABEL_INK,y as LIGHT_NEUTRAL_SECTION_FILL,t as MIN_VISIBLE_BOOKABLE_LABEL_PX,C as RENDERED_QUALITY_REPORT_VERSION,r as ROW_LABEL_FONT_SIZE,o as SEAT_LABEL_FONT_SIZE,x as SMALL_TEXT_CONTRAST,v as accessGlyphInk,k as accessGlyphPath,l as bookableMarkerLabel,q as compositeHexOver,D as inspectRenderedQualityEvidence,g as isBookableLabelLegibleAtScale,w as isLightFill,d as minimumTextContrast,A as neutralSectionFill,n as renderedTextContrast,u as stateAwareBookableLabelInk,B as summarizeLabelInkContrast};
@@ -3,7 +3,7 @@ export { D as DEFAULT_SECTION_CORNER_SMOOTHING, M as MAX_EDGE_SAGITTA_RATIO, R a
3
3
  export { SeatConfidenceDisclosure, seatConfidenceDisclosure } from '../seatConfidence.cjs';
4
4
  import { S as SegmentedRowPlacement } from '../../segmentedRowModel-BQYSdf7k.cjs';
5
5
  export { A as AvailabilityRule, S as SectionNode, T as TIER_HEIGHT_M, U as UNGROUPED_ID, a as applyHidden, c as computeSections, h as hiddenObjectIds, i as isSectionHidden, s as sectionGeometry } from '../../sections-D2bxgVgg.cjs';
6
- import { E as ExpandedSeat } from '../../renderer-ChUHIIr9.cjs';
6
+ import { E as ExpandedSeat } from '../../renderer-DOVelTZw.cjs';
7
7
 
8
8
  /**
9
9
  * THE bowl resolver — whether a floor's stands wrap a centre, and the smooth
@@ -3,7 +3,7 @@ export { D as DEFAULT_SECTION_CORNER_SMOOTHING, M as MAX_EDGE_SAGITTA_RATIO, R a
3
3
  export { SeatConfidenceDisclosure, seatConfidenceDisclosure } from '../seatConfidence.js';
4
4
  import { S as SegmentedRowPlacement } from '../../segmentedRowModel-Cl3X8SKt.js';
5
5
  export { A as AvailabilityRule, S as SectionNode, T as TIER_HEIGHT_M, U as UNGROUPED_ID, a as applyHidden, c as computeSections, h as hiddenObjectIds, i as isSectionHidden, s as sectionGeometry } from '../../sections-BrQV1WzI.js';
6
- import { E as ExpandedSeat } from '../../renderer-CwmnvyXA.js';
6
+ import { E as ExpandedSeat } from '../../renderer-BxLV6zjl.js';
7
7
 
8
8
  /**
9
9
  * THE bowl resolver — whether a floor's stands wrap a centre, and the smooth