@seatlayer/core 0.62.0 → 0.63.0
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.
- package/dist/{categoryInventory-EaqLUHxJ.d.ts → categoryInventory-C3RogGHF.d.ts} +1 -1
- package/dist/{categoryInventory-C4-bA5Nx.d.cts → categoryInventory-DEgsjxCC.d.cts} +1 -1
- package/dist/chunk-UL5OIGIF.js +1 -0
- package/dist/core/chart-ops/index.cjs +1 -1
- package/dist/core/chart-ops/index.d.cts +6 -4
- package/dist/core/chart-ops/index.d.ts +6 -4
- package/dist/core/chart-ops/index.js +1 -1
- package/dist/core/inventory/index.d.cts +4 -4
- package/dist/core/inventory/index.d.ts +4 -4
- package/dist/core/layout/index.d.cts +4 -4
- package/dist/core/layout/index.d.ts +4 -4
- package/dist/core/quality/index.d.cts +3 -3
- package/dist/core/quality/index.d.ts +3 -3
- package/dist/core/render-assets/index.cjs +1 -1
- package/dist/core/render-assets/index.d.cts +11 -6
- package/dist/core/render-assets/index.d.ts +11 -6
- package/dist/core/render-assets/index.js +1 -1
- package/dist/core/seatConfidence.d.cts +1 -1
- package/dist/core/seatConfidence.d.ts +1 -1
- package/dist/core/sections/index.d.cts +5 -5
- package/dist/core/sections/index.d.ts +5 -5
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +14 -10
- package/dist/index.d.ts +14 -10
- package/dist/index.js +1 -1
- package/dist/{labeling-Cwufmw3W.d.cts → labeling-DRFC35VK.d.cts} +1 -1
- package/dist/{labeling-B4i6gdAb.d.ts → labeling-DTHo03rf.d.ts} +1 -1
- package/dist/{layout-CVumqAiR.d.ts → layout-BXB8Rf4n.d.ts} +3 -3
- package/dist/{layout-CGKQ3Pi2.d.cts → layout-DRB0-NGc.d.cts} +3 -3
- package/dist/{renderedQuality-C86YHszi.d.ts → renderedQuality-BjSBiqkN.d.ts} +1 -1
- package/dist/{renderedQuality-Bvj_f4Ep.d.cts → renderedQuality-DK7IGCju.d.cts} +1 -1
- package/dist/{renderer-Bq6tKuUD.d.cts → renderer-BNzVBOBW.d.cts} +1 -1
- package/dist/{renderer-DwYiuiuC.d.ts → renderer-Bhc5CgOS.d.ts} +1 -1
- package/dist/{sections-hr18lj4d.d.ts → sections-BrQV1WzI.d.ts} +1 -1
- package/dist/{sections-CXMjxU_S.d.cts → sections-D2bxgVgg.d.cts} +1 -1
- package/dist/{segmentedRowModel-Cgp4cK2q.d.cts → segmentedRowModel-BQYSdf7k.d.cts} +1 -1
- package/dist/{segmentedRowModel-lcp9clIL.d.ts → segmentedRowModel-Cl3X8SKt.d.ts} +1 -1
- package/dist/{ticketRestrictions-NW94Eo3R.d.ts → ticketRestrictions-B9WkJ6YG.d.ts} +2 -2
- package/dist/{ticketRestrictions-BY7Nvzc-.d.cts → ticketRestrictions-QBvY3Zi7.d.cts} +2 -2
- package/dist/{types-D_pq-iqz.d.cts → types-DmgX-iuD.d.cts} +1 -1
- package/dist/{types-D_pq-iqz.d.ts → types-DmgX-iuD.d.ts} +1 -1
- package/dist/view3d/crossfade/panorama.d.cts +1 -1
- package/dist/view3d/crossfade/panorama.d.ts +1 -1
- package/dist/view3d/index.cjs +104 -40
- package/dist/view3d/index.d.cts +4 -2
- package/dist/view3d/index.d.ts +4 -2
- package/dist/view3d/index.js +106 -42
- package/package.json +1 -1
- package/dist/chunk-6CNWW47A.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { P as Point, C as ChartDoc, R as RowObject } from '../../types-
|
|
2
|
-
import { E as ExpandedSeat, S as SeatStatus } from '../../renderer-
|
|
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-
|
|
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-
|
|
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-BNzVBOBW.cjs';
|
|
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-QBvY3Zi7.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Best-available seat selection — a PURE, fully unit-testable ranking function.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { P as Point, C as ChartDoc, R as RowObject } from '../../types-
|
|
2
|
-
import { E as ExpandedSeat, S as SeatStatus } from '../../renderer-
|
|
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-
|
|
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-
|
|
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-Bhc5CgOS.js';
|
|
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-B9WkJ6YG.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Best-available seat selection — a PURE, fully unit-testable ranking function.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { P as Point, t as CubicPath, u as TextObject } from '../../types-
|
|
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-
|
|
3
|
-
export { a as SegmentedRowComponent, S as SegmentedRowPlacement, r as resolveSegmentedRowGroups, s as segmentedRowComponentSeats, b as segmentedRowComponents, c as segmentedRowSeatTotal } from '../../segmentedRowModel-
|
|
4
|
-
import { E as ExpandedSeat } from '../../renderer-
|
|
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-DRB0-NGc.cjs';
|
|
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-BNzVBOBW.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
|
-
import { P as Point, t as CubicPath, u as TextObject } from '../../types-
|
|
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-
|
|
3
|
-
export { a as SegmentedRowComponent, S as SegmentedRowPlacement, r as resolveSegmentedRowGroups, s as segmentedRowComponentSeats, b as segmentedRowComponents, c as segmentedRowSeatTotal } from '../../segmentedRowModel-
|
|
4
|
-
import { E as ExpandedSeat } from '../../renderer-
|
|
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-BXB8Rf4n.js';
|
|
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-Bhc5CgOS.js';
|
|
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
|
-
import { A as AccessibilityType } from '../../types-
|
|
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-
|
|
4
|
-
import '../../renderer-
|
|
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-DK7IGCju.cjs';
|
|
4
|
+
import '../../renderer-BNzVBOBW.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Rendering constants that quality inspection must agree with.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AccessibilityType } from '../../types-
|
|
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-
|
|
4
|
-
import '../../renderer-
|
|
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-BjSBiqkN.js';
|
|
4
|
+
import '../../renderer-Bhc5CgOS.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Rendering constants that quality inspection must agree with.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var i=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var E=(e,n)=>{for(var t in n)i(e,t,{get:n[t],enumerable:!0})},x=(e,n,t,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of S(n))!v.call(e,r)&&r!==t&&i(e,r,{get:()=>n[r],enumerable:!(a=I(n,r))||a.enumerable});return e};var _=e=>x(i({},"__esModule",{value:!0}),e);var X={};E(X,{DECOR_STAMP_ICON_PATHS:()=>N,DEFAULT_SHAPE_LINE_CAP:()=>b,DEFAULT_SHAPE_LINE_ENDING:()=>p,DEFAULT_SHAPE_LINE_JOIN:()=>m,SEAT_GLYPHS:()=>h,SEAT_GLYPH_DETAIL_MIN_PX:()=>ae,SEAT_GLYPH_INSET:()=>re,SEAT_GLYPH_ORDER:()=>w,SEAT_GLYPH_VIEWBOX:()=>te,SHAPE_LINE_CAPS:()=>j,SHAPE_LINE_ENDINGS:()=>U,SHAPE_LINE_JOINS:()=>Y,VENUE_ICONS:()=>o,VENUE_ICON_GROUP_LABELS:()=>Q,VENUE_ICON_GROUP_ORDER:()=>P,VENUE_ICON_KEYS:()=>B,VENUE_ICON_STROKE:()=>ee,VENUE_ICON_VIEWBOX:()=>$,buyerBackgroundImage:()=>g,buyerFacingChartDoc:()=>H,hasConflictingLegacyTrace:()=>O,isOpenShapeKind:()=>k,isPointShapeKind:()=>F,isSeatGlyphKind:()=>l,isVenueIconKey:()=>Z,migrateLegacyBackgroundLayersInPlace:()=>G,resolveSeatGlyph:()=>D,resolvedShapeLineStyle:()=>J,seatGlyph:()=>s,seatGlyphFit:()=>R,seatGlyphLabel:()=>K,seatGlyphPath:()=>T,shapeArrowMetrics:()=>W,traceReferenceImage:()=>C,venueIcon:()=>y,venueIconPath:()=>A});module.exports=_(X);function C(e){return e.referenceImage??(e.backgroundImage?.assetId?e.backgroundImage:void 0)}function g(e){let n=e.backgroundImage;return n?.url&&!n.assetId?n:void 0}function u(e){let n=g(e);if(!n?.url)return;let{calibration:t,derivedScale:a,assetId:r,...L}=n;return L}function G(e){let n=t=>{let a=t.backgroundImage;a?.assetId&&(t.referenceImage||(t.referenceImage=a,t.backgroundImage=void 0))};n(e);for(let t of e.floors??[])n(t);return e}function d(e){let n={...e};return delete n.referenceScan,delete n.referenceInventorySource,delete n.referenceSource,delete n.referenceInventoryExclusion,delete n.editor,n}function V(e){let n={...e};return delete n.referenceCategorySource,n}function H(e){let n=u(e),t=e.floors?.map(a=>({...a,objects:a.objects.map(d),referenceImage:void 0,backgroundImage:u(a)}));return{...e,categories:e.categories.map(V),objects:e.objects.map(d),referenceImage:void 0,backgroundImage:n,...t?{floors:t}:{}}}function O(e){return!!e.referenceImage?.assetId&&!!e.backgroundImage?.assetId&&e.referenceImage.assetId!==e.backgroundImage.assetId}var $=24,ee=2,Q={facilities:"Facilities","food-drink":"Food & drink",navigation:"Getting around",accessibility:"Accessibility"},P=["facilities","food-drink","navigation","accessibility"],M="M13 4.6a1.6 1.6 0 1 0-3.2 0 1.6 1.6 0 0 0 3.2 0 M11 6.5V13h5l2.4 6 M15 16.4A5 5 0 1 1 9 11.3",o=[{key:"restroom-men",label:"Men's restroom",group:"facilities",path:"M16 7a4 4 0 1 0-8 0 4 4 0 0 0 8 0 M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"},{key:"restroom-women",label:"Women's restroom",group:"facilities",path:"M15 5a3 3 0 1 0-6 0 3 3 0 0 0 6 0 M12 8l-4 10h8l-4-10 M10 18v4 M14 18v4"},{key:"restroom-accessible",label:"Accessible restroom",group:"facilities",path:M},{key:"first-aid",label:"First aid",group:"facilities",path:"M5 4h14a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Z M12 8v8 M8 12h8"},{key:"coat-check",label:"Coat check",group:"facilities",path:"M12 6a2 2 0 0 1 0-4 2 2 0 0 1 1.6 3.2L21 13H3l8.4-7.8 M3 13h18"},{key:"atm",label:"ATM / cash",group:"facilities",path:"M2 6h20v12H2V6Z M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0 M6 9h.01 M18 15h.01"},{key:"info",label:"Info point",group:"facilities",path:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18 M12 11v5 M12 8h.01"},{key:"lost-found",label:"Lost & found",group:"facilities",path:"M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14 M16 16l5 5 M9 8.5a2 2 0 1 1 3 1.7c-.8.5-1 .8-1 1.8 M11 15h.01"},{key:"restrooms",label:"Restrooms",group:"facilities",path:"M6 3h12a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z M12 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4 M9 18v-3.5a3 3 0 0 1 6 0V18"},{key:"charging",label:"Charging point",group:"facilities",path:"M3 8h13v8H3V8Z M16 10h3v4h-3 M9.6 9l-2 3.5h2.5l-1.5 3"},{key:"smoking",label:"Smoking area",group:"facilities",path:"M2 15h13v3H2v-3Z M18 16h2 M19 8c0 1 1 1.5 1 2.5S19 12 19 13"},{key:"no-smoking",label:"No smoking",group:"facilities",path:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18 M5.6 5.6l12.8 12.8 M7 13h6v2H7v-2Z"},{key:"food",label:"Food",group:"food-drink",path:"M7 3v6a2 2 0 0 0 4 0V3 M9 11v10 M17 3c-1.6 1-2.2 3-2.2 6 0 2 .9 3.2 2.2 3.6V21"},{key:"bar",label:"Bar",group:"food-drink",path:"M4 5h16l-8 8-8-8Z M12 13v6 M8 20h8"},{key:"coffee",label:"Caf\xE9 / coffee",group:"food-drink",path:"M4 8h13v4a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V8Z M17 9h2a2 2 0 0 1 0 4h-2 M8 2v2 M11 2v2 M4 21h14"},{key:"water",label:"Water / drinks",group:"food-drink",path:"M12 22a7 7 0 0 1-7-7c0-5 7-12 7-12s7 7 7 12a7 7 0 0 1-7 7Z"},{key:"merch",label:"Merch / shop",group:"food-drink",path:"M6 8h12l-1 12H7L6 8Z M9 8V6a3 3 0 0 1 6 0v2"},{key:"screen",label:"Screen",group:"facilities",path:"M3 4h18v12H3V4Z M9 20h6 M12 16v4 M10 8l4 2-4 2V8Z"},{key:"sound-booth",label:"Sound booth",group:"facilities",path:"M6 4v16 M6 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4 M12 4v16 M12 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4 M18 4v16 M18 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4"},{key:"entrance",label:"Entrance",group:"navigation",path:"M14 3h5a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-5 M3 12h11 M10 8l4 4-4 4"},{key:"exit",label:"Exit",group:"navigation",path:"M10 3H5a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h5 M14 12h7 M17 8l4 4-4 4"},{key:"emergency-exit",label:"Emergency exit",group:"navigation",path:"M14 4.6a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0 M12.5 8l-3.5 2 1.6 3.6-2 4.4 M12.5 10l3.5 1.5 M9 10.5l-3.5 1 M15 12h6 M18 9l3 3-3 3"},{key:"stairs",label:"Stairs",group:"navigation",path:"M3 20v-4h4v-4h4v-4h4V4h5"},{key:"elevator",label:"Elevator",group:"navigation",path:"M5 3h14a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z M8 11l1.5-2 1.5 2 M8 14l1.5 2 1.5-2 M15 8v8"},{key:"parking",label:"Parking",group:"navigation",path:"M5 3h14a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z M9 17V7h4a3 3 0 0 1 0 6H9"},{key:"wheelchair",label:"Wheelchair access",group:"accessibility",path:M},{key:"hearing",label:"Hearing assistance",group:"accessibility",path:"M8 20a4 4 0 0 1-2-3c0-1 .5-2 .5-3a4.5 4.5 0 1 1 9 0c0 1.4-1 2-2 2.4-1.2.5-1.5 1-1.5 2.2 M17 6a5 5 0 0 1 1 6 M19.5 4a8 8 0 0 1 1.2 9"}],N={wall:"M3 5h18v14H3V5Z M3 9.7h18 M3 14.3h18 M9 5v4.7 M15 5v4.7 M6 9.7v4.6 M12 9.7v4.6 M18 9.7v4.6 M9 14.3v4.7 M15 14.3v4.7",rail:"M3 7h18 M4 17h16 M6 7v10 M10 7v10 M14 7v10 M18 7v10",suite:"M3 4h18v16H3V4Z M6 17v-5h12v5 M8 12V9h8v3",obstruction:"M8 3h8l-1 4v10l1 4H8l1-4V7L8 3Z M9 7h6 M9 17h6"},f=new Map(o.map(e=>[e.key,e]));function y(e){return e?f.get(e):void 0}function A(e){return y(e)?.path}function Z(e){return typeof e=="string"&&f.has(e)}var B=o.map(e=>e.key);var te=24,ae=16,re=.14,h=[{key:"circle",label:"Circle",hint:"The standard seat dot.",path:null,bounds:null},{key:"theatre",label:"Theatre chair",hint:"Upright chair with a tall back \u2014 auditorium and theatre seating.",path:"M4.5 3.5 Q4.5 1.5 6.5 1.5 L17.5 1.5 Q19.5 1.5 19.5 3.5 L19.5 13 L4.5 13 Z M3.5 12 L20.5 12 Q22.5 12 22.5 14 L22.5 21 Q22.5 22.5 21 22.5 Q19.5 22.5 19.5 21 L19.5 17.5 L4.5 17.5 L4.5 21 Q4.5 22.5 3 22.5 Q1.5 22.5 1.5 21 L1.5 14 Q1.5 12 3.5 12 Z",bounds:{x:1.5,y:1.5,width:21,height:21}},{key:"armchair",label:"Armchair",hint:"Padded chair with wide arms \u2014 premium and box seating.",path:"M3.5 4 Q3.5 1.5 6 1.5 L18 1.5 Q20.5 1.5 20.5 4 L20.5 13 L3.5 13 Z M1.5 12.5 Q1.5 10 3.25 10 Q5 10 5 12.5 L5 13.5 L19 13.5 L19 12.5 Q19 10 20.75 10 Q22.5 10 22.5 12.5 L22.5 19.5 Q22.5 22 20 22 L4 22 Q1.5 22 1.5 19.5 Z",bounds:{x:1.5,y:1.5,width:21,height:20.5}},{key:"stool",label:"Stool",hint:"Backless perch \u2014 bar tops, high tables and standing rails.",path:"M6 2.5 L18 2.5 Q22 2.5 22 6.5 L22 12 Q22 16 18 16 L6 16 Q2 16 2 12 L2 6.5 Q2 2.5 6 2.5 Z M6 15.5 L9.5 15.5 L7.5 22.5 L3 22.5 Z M14.5 15.5 L18 15.5 L20.5 22.5 L16 22.5 Z",bounds:{x:2,y:2.5,width:20,height:20}},{key:"bench",label:"Bench slot",hint:"One place on a shared bench \u2014 pews, bleachers and terraces.",path:"M2.5 0.5 L21.5 0.5 Q23 0.5 23 2 L23 5 Q23 6.5 21.5 6.5 L2.5 6.5 Q1 6.5 1 5 L1 2 Q1 0.5 2.5 0.5 Z M2 7.5 L22 7.5 Q23.5 7.5 23.5 9 L23.5 15.5 Q23.5 17 22 17 L18 17 L18 21.5 Q18 22.5 16.75 22.5 Q15.5 22.5 15.5 21.5 L15.5 17 L8.5 17 L8.5 21.5 Q8.5 22.5 7.25 22.5 Q6 22.5 6 21.5 L6 17 L2 17 Q0.5 17 0.5 15.5 L0.5 9 Q0.5 7.5 2 7.5 Z",bounds:{x:.5,y:.5,width:23,height:22}}],w=h.map(e=>e.key),c=new Map(h.map(e=>[e.key,e]));function s(e){return c.get(e)??c.get("circle")}function K(e){return s(e).label}function T(e){return s(e).path}function R(e,n){return{scale:n*2*(1-.14)/Math.max(e.width,e.height),centreX:e.x+e.width/2,centreY:e.y+e.height/2}}function l(e){return typeof e=="string"&&c.has(e)}function D(e,n){return l(e)?e:l(n?.seatGlyph)?n.seatGlyph:"circle"}var j=["butt","round","square"],Y=["miter","round","bevel"],U=["none","arrow"],b="round",m="round",p="none";function k(e){return e==="line"||e==="polyline"}function F(e){return e==="polygon"||k(e)}function J(e){return{lineCap:e.lineCap??b,lineJoin:e.lineJoin??m,startEnding:e.startEnding??p,endEnding:e.endEnding??p}}function W(e){return{pointerLength:Math.min(48,Math.max(8,e*3)),pointerWidth:Math.min(40,Math.max(8,e*2.25))}}0&&(module.exports={DECOR_STAMP_ICON_PATHS,DEFAULT_SHAPE_LINE_CAP,DEFAULT_SHAPE_LINE_ENDING,DEFAULT_SHAPE_LINE_JOIN,SEAT_GLYPHS,SEAT_GLYPH_DETAIL_MIN_PX,SEAT_GLYPH_INSET,SEAT_GLYPH_ORDER,SEAT_GLYPH_VIEWBOX,SHAPE_LINE_CAPS,SHAPE_LINE_ENDINGS,SHAPE_LINE_JOINS,VENUE_ICONS,VENUE_ICON_GROUP_LABELS,VENUE_ICON_GROUP_ORDER,VENUE_ICON_KEYS,VENUE_ICON_STROKE,VENUE_ICON_VIEWBOX,buyerBackgroundImage,buyerFacingChartDoc,hasConflictingLegacyTrace,isOpenShapeKind,isPointShapeKind,isSeatGlyphKind,isVenueIconKey,migrateLegacyBackgroundLayersInPlace,resolveSeatGlyph,resolvedShapeLineStyle,seatGlyph,seatGlyphFit,seatGlyphLabel,seatGlyphPath,shapeArrowMetrics,traceReferenceImage,venueIcon,venueIconPath});
|
|
1
|
+
"use strict";var i=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var x=(e,n)=>{for(var a in n)i(e,a,{get:n[a],enumerable:!0})},E=(e,n,a,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of I(n))!v.call(e,r)&&r!==a&&i(e,r,{get:()=>n[r],enumerable:!(t=S(n,r))||t.enumerable});return e};var C=e=>E(i({},"__esModule",{value:!0}),e);var X={};x(X,{DECOR_STAMP_ICON_PATHS:()=>P,DEFAULT_SHAPE_LINE_CAP:()=>y,DEFAULT_SHAPE_LINE_ENDING:()=>p,DEFAULT_SHAPE_LINE_JOIN:()=>b,SEAT_GLYPHS:()=>c,SEAT_GLYPH_DETAIL_MIN_PX:()=>te,SEAT_GLYPH_INSET:()=>re,SEAT_GLYPH_ORDER:()=>w,SEAT_GLYPH_VIEWBOX:()=>ae,SHAPE_LINE_CAPS:()=>j,SHAPE_LINE_ENDINGS:()=>Y,SHAPE_LINE_JOINS:()=>F,VENUE_ICONS:()=>o,VENUE_ICON_GROUP_LABELS:()=>O,VENUE_ICON_GROUP_ORDER:()=>Z,VENUE_ICON_KEYS:()=>B,VENUE_ICON_STROKE:()=>ee,VENUE_ICON_VIEWBOX:()=>$,buyerBackgroundImage:()=>d,buyerFacingChartDoc:()=>V,hasConflictingLegacyTrace:()=>H,isOpenShapeKind:()=>m,isPointShapeKind:()=>U,isSeatGlyphKind:()=>s,isVenueIconKey:()=>N,migrateLegacyBackgroundLayersInPlace:()=>_,resolveSeatGlyph:()=>D,resolvedShapeLineStyle:()=>J,seatGlyph:()=>h,seatGlyphFit:()=>T,seatGlyphLabel:()=>K,seatGlyphPath:()=>R,shapeArrowMetrics:()=>W,traceReferenceImage:()=>Q,venueIcon:()=>f,venueIconPath:()=>A});module.exports=C(X);function Q(e){return e.referenceImage??(e.backgroundImage?.assetId?e.backgroundImage:void 0)}function d(e){let n=e.backgroundImage;return n?.url&&!n.assetId?n:void 0}function u(e){let n=d(e);if(!n?.url)return;let{calibration:a,derivedScale:t,assetId:r,...k}=n;return k}function _(e){let n=a=>{let t=a.backgroundImage;t?.assetId&&(a.referenceImage||(a.referenceImage=t,a.backgroundImage=void 0))};n(e);for(let a of e.floors??[])n(a);return e}function g(e){let n={...e};return delete n.referenceScan,delete n.referenceInventorySource,delete n.referenceSource,delete n.referenceInventoryExclusion,delete n.editor,n}function G(e){let n={...e};return delete n.referenceCategorySource,n}function V(e){let n=u(e),a=e.floors?.map(t=>({...t,objects:t.objects.map(g),referenceImage:void 0,backgroundImage:u(t)}));return{...e,categories:e.categories.map(G),objects:e.objects.map(g),referenceImage:void 0,backgroundImage:n,...a?{floors:a}:{}}}function H(e){return!!e.referenceImage?.assetId&&!!e.backgroundImage?.assetId&&e.referenceImage.assetId!==e.backgroundImage.assetId}var $=24,ee=2,O={facilities:"Facilities","food-drink":"Food & drink",navigation:"Getting around",accessibility:"Accessibility"},Z=["facilities","food-drink","navigation","accessibility"],L="M13 4.6a1.6 1.6 0 1 0-3.2 0 1.6 1.6 0 0 0 3.2 0 M11 6.5V13h5l2.4 6 M15 16.4A5 5 0 1 1 9 11.3",o=[{key:"restroom-men",label:"Men's restroom",group:"facilities",path:"M16 7a4 4 0 1 0-8 0 4 4 0 0 0 8 0 M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"},{key:"restroom-women",label:"Women's restroom",group:"facilities",path:"M15 5a3 3 0 1 0-6 0 3 3 0 0 0 6 0 M12 8l-4 10h8l-4-10 M10 18v4 M14 18v4"},{key:"restroom-accessible",label:"Accessible restroom",group:"facilities",path:L},{key:"first-aid",label:"First aid",group:"facilities",path:"M5 4h14a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Z M12 8v8 M8 12h8"},{key:"coat-check",label:"Coat check",group:"facilities",path:"M12 6a2 2 0 0 1 0-4 2 2 0 0 1 1.6 3.2L21 13H3l8.4-7.8 M3 13h18"},{key:"atm",label:"ATM / cash",group:"facilities",path:"M2 6h20v12H2V6Z M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0 M6 9h.01 M18 15h.01"},{key:"info",label:"Info point",group:"facilities",path:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18 M12 11v5 M12 8h.01"},{key:"lost-found",label:"Lost & found",group:"facilities",path:"M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14 M16 16l5 5 M9 8.5a2 2 0 1 1 3 1.7c-.8.5-1 .8-1 1.8 M11 15h.01"},{key:"restrooms",label:"Restrooms",group:"facilities",path:"M6 3h12a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z M12 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4 M9 18v-3.5a3 3 0 0 1 6 0V18"},{key:"charging",label:"Charging point",group:"facilities",path:"M3 8h13v8H3V8Z M16 10h3v4h-3 M9.6 9l-2 3.5h2.5l-1.5 3"},{key:"smoking",label:"Smoking area",group:"facilities",path:"M2 15h13v3H2v-3Z M18 16h2 M19 8c0 1 1 1.5 1 2.5S19 12 19 13"},{key:"no-smoking",label:"No smoking",group:"facilities",path:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18 M5.6 5.6l12.8 12.8 M7 13h6v2H7v-2Z"},{key:"food",label:"Food",group:"food-drink",path:"M7 3v6a2 2 0 0 0 4 0V3 M9 11v10 M17 3c-1.6 1-2.2 3-2.2 6 0 2 .9 3.2 2.2 3.6V21"},{key:"bar",label:"Bar",group:"food-drink",path:"M4 5h16l-8 8-8-8Z M12 13v6 M8 20h8"},{key:"coffee",label:"Caf\xE9 / coffee",group:"food-drink",path:"M4 8h13v4a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V8Z M17 9h2a2 2 0 0 1 0 4h-2 M8 2v2 M11 2v2 M4 21h14"},{key:"water",label:"Water / drinks",group:"food-drink",path:"M12 22a7 7 0 0 1-7-7c0-5 7-12 7-12s7 7 7 12a7 7 0 0 1-7 7Z"},{key:"merch",label:"Merch / shop",group:"food-drink",path:"M6 8h12l-1 12H7L6 8Z M9 8V6a3 3 0 0 1 6 0v2"},{key:"screen",label:"Screen",group:"facilities",path:"M3 4h18v12H3V4Z M9 20h6 M12 16v4 M10 8l4 2-4 2V8Z"},{key:"sound-booth",label:"Sound booth",group:"facilities",path:"M6 4v16 M6 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4 M12 4v16 M12 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4 M18 4v16 M18 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4"},{key:"entrance",label:"Entrance",group:"navigation",path:"M14 3h5a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-5 M3 12h11 M10 8l4 4-4 4"},{key:"exit",label:"Exit",group:"navigation",path:"M10 3H5a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h5 M14 12h7 M17 8l4 4-4 4"},{key:"emergency-exit",label:"Emergency exit",group:"navigation",path:"M14 4.6a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0 M12.5 8l-3.5 2 1.6 3.6-2 4.4 M12.5 10l3.5 1.5 M9 10.5l-3.5 1 M15 12h6 M18 9l3 3-3 3"},{key:"stairs",label:"Stairs",group:"navigation",path:"M3 20v-4h4v-4h4v-4h4V4h5"},{key:"elevator",label:"Elevator",group:"navigation",path:"M5 3h14a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z M8 11l1.5-2 1.5 2 M8 14l1.5 2 1.5-2 M15 8v8"},{key:"parking",label:"Parking",group:"navigation",path:"M5 3h14a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z M9 17V7h4a3 3 0 0 1 0 6H9"},{key:"wheelchair",label:"Wheelchair access",group:"accessibility",path:L},{key:"hearing",label:"Hearing assistance",group:"accessibility",path:"M8 20a4 4 0 0 1-2-3c0-1 .5-2 .5-3a4.5 4.5 0 1 1 9 0c0 1.4-1 2-2 2.4-1.2.5-1.5 1-1.5 2.2 M17 6a5 5 0 0 1 1 6 M19.5 4a8 8 0 0 1 1.2 9"}],P={wall:"M3 5h18v14H3V5Z M3 9.7h18 M3 14.3h18 M9 5v4.7 M15 5v4.7 M6 9.7v4.6 M12 9.7v4.6 M18 9.7v4.6 M9 14.3v4.7 M15 14.3v4.7",rail:"M3 7h18 M4 17h16 M6 7v10 M10 7v10 M14 7v10 M18 7v10",suite:"M3 4h18v16H3V4Z M6 17v-5h12v5 M8 12V9h8v3",obstruction:"M8 3h8l-1 4v10l1 4H8l1-4V7L8 3Z M9 7h6 M9 17h6"},M=new Map(o.map(e=>[e.key,e]));function f(e){return e?M.get(e):void 0}function A(e){return f(e)?.path}function N(e){return typeof e=="string"&&M.has(e)}var B=o.map(e=>e.key);var ae=24,te=16,re=.14,c=[{key:"circle",label:"Standard seat",shortLabel:"Standard",useCase:"General assigned seating",group:"general",path:null,bounds:null},{key:"theatre",label:"Theatre chair",shortLabel:"Theatre",useCase:"Auditoriums, arenas and stadium stands",group:"fixed",path:"M4.5 3.5 Q4.5 1.5 6.5 1.5 L17.5 1.5 Q19.5 1.5 19.5 3.5 L19.5 13 L4.5 13 Z M3.5 12 L20.5 12 Q22.5 12 22.5 14 L22.5 21 Q22.5 22.5 21 22.5 Q19.5 22.5 19.5 21 L19.5 17.5 L4.5 17.5 L4.5 21 Q4.5 22.5 3 22.5 Q1.5 22.5 1.5 21 L1.5 14 Q1.5 12 3.5 12 Z",bounds:{x:1.5,y:1.5,width:21,height:21}},{key:"dining",label:"Dining chair",shortLabel:"Dining",useCase:"Banquets, restaurants and table seating",group:"flexible",path:"M7 1 Q6 1 6 2.5 L6.75 10.5 L5 10.5 Q4 10.5 4 12 L4 14 Q4 15 5.25 15 L6 15 L4 23 L7 23 L9.5 15 L14.5 15 L17 23 L20 23 L18 15 L18.75 15 Q20 15 20 14 L20 12 Q20 10.5 19 10.5 L17.25 10.5 L18 2.5 Q18 1 17 1 Z",bounds:{x:4,y:1,width:16,height:22}},{key:"folding",label:"Folding chair",shortLabel:"Folding",useCase:"Concert floors, ceremonies and conferences",group:"flexible",path:"M6 2 Q5 2 5 3 L6 8 L18 8 L19 3 Q19 2 18 2 Z M5 9 L19 9 Q20 9 20 10.5 L19 13 L5 13 L4 10.5 Q4 9 5 9 Z M6 12 L9 12 L12 17 L15 12 L18 12 L14 19 L17 23 L14 23 L12 21 L10 23 L7 23 L10 19 Z",bounds:{x:4,y:2,width:16,height:21}},{key:"armchair",label:"Premium armchair",shortLabel:"Armchair",useCase:"Boxes, lounges and club seating",group:"premium",path:"M3.5 4 Q3.5 1.5 6 1.5 L18 1.5 Q20.5 1.5 20.5 4 L20.5 13 L3.5 13 Z M1.5 12.5 Q1.5 10 3.25 10 Q5 10 5 12.5 L5 13.5 L19 13.5 L19 12.5 Q19 10 20.75 10 Q22.5 10 22.5 12.5 L22.5 19.5 Q22.5 22 20 22 L4 22 Q1.5 22 1.5 19.5 Z",bounds:{x:1.5,y:1.5,width:21,height:20.5}},{key:"recliner",label:"Recliner",shortLabel:"Recliner",useCase:"Luxury cinemas and premium clubs",group:"premium",path:"M7 2 Q7 1 8.5 1 L15.5 1 Q17 1 17 2 L19 13 L5 13 Z M4 9 Q2 9 2 11.5 L2 16 Q2 18 4 18 L6 18 L6 15 L18 15 L18 18 L20 18 Q22 18 22 16 L22 11.5 Q22 9 20 9 Q18 9 18 11 L18 13 L6 13 L6 11 Q6 9 4 9 Z M7 17 L17 17 Q18 17 18.5 18.5 L19.5 22.5 L4.5 22.5 L5.5 18.5 Q6 17 7 17 Z",bounds:{x:2,y:1,width:20,height:21.5}},{key:"stool",label:"Stool",shortLabel:"Stool",useCase:"Bars, high-tops and seating rails",group:"flexible",path:"M6 2.5 L18 2.5 Q22 2.5 22 6.5 L22 12 Q22 16 18 16 L6 16 Q2 16 2 12 L2 6.5 Q2 2.5 6 2.5 Z M6 15.5 L9.5 15.5 L7.5 22.5 L3 22.5 Z M14.5 15.5 L18 15.5 L20.5 22.5 L16 22.5 Z",bounds:{x:2,y:2.5,width:20,height:20}},{key:"bench",label:"Bench place",shortLabel:"Bench",useCase:"Pews, bleachers and terraces",group:"fixed",path:"M2.5 0.5 L21.5 0.5 Q23 0.5 23 2 L23 5 Q23 6.5 21.5 6.5 L2.5 6.5 Q1 6.5 1 5 L1 2 Q1 0.5 2.5 0.5 Z M2 7.5 L22 7.5 Q23.5 7.5 23.5 9 L23.5 15.5 Q23.5 17 22 17 L18 17 L18 21.5 Q18 22.5 16.75 22.5 Q15.5 22.5 15.5 21.5 L15.5 17 L8.5 17 L8.5 21.5 Q8.5 22.5 7.25 22.5 Q6 22.5 6 21.5 L6 17 L2 17 Q0.5 17 0.5 15.5 L0.5 9 Q0.5 7.5 2 7.5 Z",bounds:{x:.5,y:.5,width:23,height:22}}],w=c.map(e=>e.key),l=new Map(c.map(e=>[e.key,e]));function h(e){return l.get(e)??l.get("circle")}function K(e){return h(e).label}function R(e){return h(e).path}function T(e,n){return{scale:n*2*(1-.14)/Math.max(e.width,e.height),centreX:e.x+e.width/2,centreY:e.y+e.height/2}}function s(e){return typeof e=="string"&&l.has(e)}function D(e,n){return s(e)?e:s(n?.seatGlyph)?n.seatGlyph:"circle"}var j=["butt","round","square"],F=["miter","round","bevel"],Y=["none","arrow"],y="round",b="round",p="none";function m(e){return e==="line"||e==="polyline"}function U(e){return e==="polygon"||m(e)}function J(e){return{lineCap:e.lineCap??y,lineJoin:e.lineJoin??b,startEnding:e.startEnding??p,endEnding:e.endEnding??p}}function W(e){return{pointerLength:Math.min(48,Math.max(8,e*3)),pointerWidth:Math.min(40,Math.max(8,e*2.25))}}0&&(module.exports={DECOR_STAMP_ICON_PATHS,DEFAULT_SHAPE_LINE_CAP,DEFAULT_SHAPE_LINE_ENDING,DEFAULT_SHAPE_LINE_JOIN,SEAT_GLYPHS,SEAT_GLYPH_DETAIL_MIN_PX,SEAT_GLYPH_INSET,SEAT_GLYPH_ORDER,SEAT_GLYPH_VIEWBOX,SHAPE_LINE_CAPS,SHAPE_LINE_ENDINGS,SHAPE_LINE_JOINS,VENUE_ICONS,VENUE_ICON_GROUP_LABELS,VENUE_ICON_GROUP_ORDER,VENUE_ICON_KEYS,VENUE_ICON_STROKE,VENUE_ICON_VIEWBOX,buyerBackgroundImage,buyerFacingChartDoc,hasConflictingLegacyTrace,isOpenShapeKind,isPointShapeKind,isSeatGlyphKind,isVenueIconKey,migrateLegacyBackgroundLayersInPlace,resolveSeatGlyph,resolvedShapeLineStyle,seatGlyph,seatGlyphFit,seatGlyphLabel,seatGlyphPath,shapeArrowMetrics,traceReferenceImage,venueIcon,venueIconPath});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChartDoc, F as Floor, n as ChartReferenceImage, a as SeatGlyphKind, o as Category, p as ShapeLineCap, q as ShapeLineEnding, r as ShapeLineJoin, s as ShapeObject } from '../../types-
|
|
1
|
+
import { C as ChartDoc, F as Floor, n as ChartReferenceImage, a as SeatGlyphKind, o as Category, p as ShapeLineCap, q as ShapeLineEnding, r as ShapeLineJoin, s as ShapeObject } from '../../types-DmgX-iuD.cjs';
|
|
2
2
|
|
|
3
3
|
type BackgroundOwner = Pick<ChartDoc, 'referenceImage' | 'backgroundImage'> | Pick<Floor, 'referenceImage' | 'backgroundImage'>;
|
|
4
4
|
/**
|
|
@@ -74,13 +74,18 @@ interface SeatGlyphBounds {
|
|
|
74
74
|
width: number;
|
|
75
75
|
height: number;
|
|
76
76
|
}
|
|
77
|
+
type SeatGlyphGroup = 'general' | 'fixed' | 'flexible' | 'premium';
|
|
77
78
|
interface SeatGlyph {
|
|
78
79
|
/** Stable registry key persisted as `Category.seatGlyph` / `SeatOverride.glyph`. */
|
|
79
80
|
key: SeatGlyphKind;
|
|
80
81
|
/** Plain-language name (button label, tooltip, accessible name). Never "icon". */
|
|
81
82
|
label: string;
|
|
82
|
-
/**
|
|
83
|
-
|
|
83
|
+
/** Compact picker label. Authored explicitly; never derived by trimming `label`. */
|
|
84
|
+
shortLabel: string;
|
|
85
|
+
/** Short, visible venue examples that explain when this shape is useful. */
|
|
86
|
+
useCase: string;
|
|
87
|
+
/** Product grouping for picker organisation and future filtering. */
|
|
88
|
+
group: SeatGlyphGroup;
|
|
84
89
|
/**
|
|
85
90
|
* Filled SVG path `d` on a 0 0 24 24 viewBox, or `null` for the circle, which
|
|
86
91
|
* every renderer already draws natively (and which stays the LOD fallback).
|
|
@@ -88,7 +93,7 @@ interface SeatGlyph {
|
|
|
88
93
|
path: string | null;
|
|
89
94
|
/**
|
|
90
95
|
* The rectangle the glyph's ink actually occupies inside the viewBox — never
|
|
91
|
-
* the viewBox itself, because the
|
|
96
|
+
* the viewBox itself, because the glyphs do not fill it equally (the
|
|
92
97
|
* bench is 23 units wide, the stool 20). Renderers fit THIS box to the seat,
|
|
93
98
|
* so a bench and a stool carry the same visual weight beside a circle.
|
|
94
99
|
*/
|
|
@@ -102,7 +107,7 @@ declare const SEAT_GLYPH_VIEWBOX = 24;
|
|
|
102
107
|
* the plain circle — the same "simplify when small" rule the seat number and the
|
|
103
108
|
* accessibility mark already follow. Seat NUMBERS keep their own independent LOD.
|
|
104
109
|
*
|
|
105
|
-
* Chosen by rendering
|
|
110
|
+
* Chosen by rendering the catalog at 12/14/16/18px (owner look-pass, 2026-08-20).
|
|
106
111
|
* At 12 and 14 a chair is a smudge and a row of them is noise — plain dots read
|
|
107
112
|
* strictly better there. 16 is the first size at which every glyph, the bench
|
|
108
113
|
* and the stool included, is identifiable as itself.
|
|
@@ -177,4 +182,4 @@ declare function shapeArrowMetrics(strokeWidth: number): {
|
|
|
177
182
|
pointerWidth: number;
|
|
178
183
|
};
|
|
179
184
|
|
|
180
|
-
export { DECOR_STAMP_ICON_PATHS, DEFAULT_SHAPE_LINE_CAP, DEFAULT_SHAPE_LINE_ENDING, DEFAULT_SHAPE_LINE_JOIN, SEAT_GLYPHS, SEAT_GLYPH_DETAIL_MIN_PX, SEAT_GLYPH_INSET, SEAT_GLYPH_ORDER, SEAT_GLYPH_VIEWBOX, SHAPE_LINE_CAPS, SHAPE_LINE_ENDINGS, SHAPE_LINE_JOINS, type SeatGlyph, type SeatGlyphBounds, VENUE_ICONS, VENUE_ICON_GROUP_LABELS, VENUE_ICON_GROUP_ORDER, VENUE_ICON_KEYS, VENUE_ICON_STROKE, VENUE_ICON_VIEWBOX, type VenueIcon, type VenueIconGroup, buyerBackgroundImage, buyerFacingChartDoc, hasConflictingLegacyTrace, isOpenShapeKind, isPointShapeKind, isSeatGlyphKind, isVenueIconKey, migrateLegacyBackgroundLayersInPlace, resolveSeatGlyph, resolvedShapeLineStyle, seatGlyph, seatGlyphFit, seatGlyphLabel, seatGlyphPath, shapeArrowMetrics, traceReferenceImage, venueIcon, venueIconPath };
|
|
185
|
+
export { DECOR_STAMP_ICON_PATHS, DEFAULT_SHAPE_LINE_CAP, DEFAULT_SHAPE_LINE_ENDING, DEFAULT_SHAPE_LINE_JOIN, SEAT_GLYPHS, SEAT_GLYPH_DETAIL_MIN_PX, SEAT_GLYPH_INSET, SEAT_GLYPH_ORDER, SEAT_GLYPH_VIEWBOX, SHAPE_LINE_CAPS, SHAPE_LINE_ENDINGS, SHAPE_LINE_JOINS, type SeatGlyph, type SeatGlyphBounds, type SeatGlyphGroup, VENUE_ICONS, VENUE_ICON_GROUP_LABELS, VENUE_ICON_GROUP_ORDER, VENUE_ICON_KEYS, VENUE_ICON_STROKE, VENUE_ICON_VIEWBOX, type VenueIcon, type VenueIconGroup, buyerBackgroundImage, buyerFacingChartDoc, hasConflictingLegacyTrace, isOpenShapeKind, isPointShapeKind, isSeatGlyphKind, isVenueIconKey, migrateLegacyBackgroundLayersInPlace, resolveSeatGlyph, resolvedShapeLineStyle, seatGlyph, seatGlyphFit, seatGlyphLabel, seatGlyphPath, shapeArrowMetrics, traceReferenceImage, venueIcon, venueIconPath };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChartDoc, F as Floor, n as ChartReferenceImage, a as SeatGlyphKind, o as Category, p as ShapeLineCap, q as ShapeLineEnding, r as ShapeLineJoin, s as ShapeObject } from '../../types-
|
|
1
|
+
import { C as ChartDoc, F as Floor, n as ChartReferenceImage, a as SeatGlyphKind, o as Category, p as ShapeLineCap, q as ShapeLineEnding, r as ShapeLineJoin, s as ShapeObject } from '../../types-DmgX-iuD.js';
|
|
2
2
|
|
|
3
3
|
type BackgroundOwner = Pick<ChartDoc, 'referenceImage' | 'backgroundImage'> | Pick<Floor, 'referenceImage' | 'backgroundImage'>;
|
|
4
4
|
/**
|
|
@@ -74,13 +74,18 @@ interface SeatGlyphBounds {
|
|
|
74
74
|
width: number;
|
|
75
75
|
height: number;
|
|
76
76
|
}
|
|
77
|
+
type SeatGlyphGroup = 'general' | 'fixed' | 'flexible' | 'premium';
|
|
77
78
|
interface SeatGlyph {
|
|
78
79
|
/** Stable registry key persisted as `Category.seatGlyph` / `SeatOverride.glyph`. */
|
|
79
80
|
key: SeatGlyphKind;
|
|
80
81
|
/** Plain-language name (button label, tooltip, accessible name). Never "icon". */
|
|
81
82
|
label: string;
|
|
82
|
-
/**
|
|
83
|
-
|
|
83
|
+
/** Compact picker label. Authored explicitly; never derived by trimming `label`. */
|
|
84
|
+
shortLabel: string;
|
|
85
|
+
/** Short, visible venue examples that explain when this shape is useful. */
|
|
86
|
+
useCase: string;
|
|
87
|
+
/** Product grouping for picker organisation and future filtering. */
|
|
88
|
+
group: SeatGlyphGroup;
|
|
84
89
|
/**
|
|
85
90
|
* Filled SVG path `d` on a 0 0 24 24 viewBox, or `null` for the circle, which
|
|
86
91
|
* every renderer already draws natively (and which stays the LOD fallback).
|
|
@@ -88,7 +93,7 @@ interface SeatGlyph {
|
|
|
88
93
|
path: string | null;
|
|
89
94
|
/**
|
|
90
95
|
* The rectangle the glyph's ink actually occupies inside the viewBox — never
|
|
91
|
-
* the viewBox itself, because the
|
|
96
|
+
* the viewBox itself, because the glyphs do not fill it equally (the
|
|
92
97
|
* bench is 23 units wide, the stool 20). Renderers fit THIS box to the seat,
|
|
93
98
|
* so a bench and a stool carry the same visual weight beside a circle.
|
|
94
99
|
*/
|
|
@@ -102,7 +107,7 @@ declare const SEAT_GLYPH_VIEWBOX = 24;
|
|
|
102
107
|
* the plain circle — the same "simplify when small" rule the seat number and the
|
|
103
108
|
* accessibility mark already follow. Seat NUMBERS keep their own independent LOD.
|
|
104
109
|
*
|
|
105
|
-
* Chosen by rendering
|
|
110
|
+
* Chosen by rendering the catalog at 12/14/16/18px (owner look-pass, 2026-08-20).
|
|
106
111
|
* At 12 and 14 a chair is a smudge and a row of them is noise — plain dots read
|
|
107
112
|
* strictly better there. 16 is the first size at which every glyph, the bench
|
|
108
113
|
* and the stool included, is identifiable as itself.
|
|
@@ -177,4 +182,4 @@ declare function shapeArrowMetrics(strokeWidth: number): {
|
|
|
177
182
|
pointerWidth: number;
|
|
178
183
|
};
|
|
179
184
|
|
|
180
|
-
export { DECOR_STAMP_ICON_PATHS, DEFAULT_SHAPE_LINE_CAP, DEFAULT_SHAPE_LINE_ENDING, DEFAULT_SHAPE_LINE_JOIN, SEAT_GLYPHS, SEAT_GLYPH_DETAIL_MIN_PX, SEAT_GLYPH_INSET, SEAT_GLYPH_ORDER, SEAT_GLYPH_VIEWBOX, SHAPE_LINE_CAPS, SHAPE_LINE_ENDINGS, SHAPE_LINE_JOINS, type SeatGlyph, type SeatGlyphBounds, VENUE_ICONS, VENUE_ICON_GROUP_LABELS, VENUE_ICON_GROUP_ORDER, VENUE_ICON_KEYS, VENUE_ICON_STROKE, VENUE_ICON_VIEWBOX, type VenueIcon, type VenueIconGroup, buyerBackgroundImage, buyerFacingChartDoc, hasConflictingLegacyTrace, isOpenShapeKind, isPointShapeKind, isSeatGlyphKind, isVenueIconKey, migrateLegacyBackgroundLayersInPlace, resolveSeatGlyph, resolvedShapeLineStyle, seatGlyph, seatGlyphFit, seatGlyphLabel, seatGlyphPath, shapeArrowMetrics, traceReferenceImage, venueIcon, venueIconPath };
|
|
185
|
+
export { DECOR_STAMP_ICON_PATHS, DEFAULT_SHAPE_LINE_CAP, DEFAULT_SHAPE_LINE_ENDING, DEFAULT_SHAPE_LINE_JOIN, SEAT_GLYPHS, SEAT_GLYPH_DETAIL_MIN_PX, SEAT_GLYPH_INSET, SEAT_GLYPH_ORDER, SEAT_GLYPH_VIEWBOX, SHAPE_LINE_CAPS, SHAPE_LINE_ENDINGS, SHAPE_LINE_JOINS, type SeatGlyph, type SeatGlyphBounds, type SeatGlyphGroup, VENUE_ICONS, VENUE_ICON_GROUP_LABELS, VENUE_ICON_GROUP_ORDER, VENUE_ICON_KEYS, VENUE_ICON_STROKE, VENUE_ICON_VIEWBOX, type VenueIcon, type VenueIconGroup, buyerBackgroundImage, buyerFacingChartDoc, hasConflictingLegacyTrace, isOpenShapeKind, isPointShapeKind, isSeatGlyphKind, isVenueIconKey, migrateLegacyBackgroundLayersInPlace, resolveSeatGlyph, resolvedShapeLineStyle, seatGlyph, seatGlyphFit, seatGlyphLabel, seatGlyphPath, shapeArrowMetrics, traceReferenceImage, venueIcon, venueIconPath };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as o,b as r,c as e,d as f,e as m,f as k,g as l,h as n,i as q,j as s,k as u,l as v,m as w,n as y,o as z,p as A,q as B,r as C,s as D,t as E,u as F,v as G,w as H,x as I,y as J}from"../../chunk-DNGP2HDT.js";import{a as p,b as t,c as x,d as a,e as b,f as c,g as d,h as g,i as h,j as i,k as j}from"../../chunk-UL5OIGIF.js";export{u as DECOR_STAMP_ICON_PATHS,D as DEFAULT_SHAPE_LINE_CAP,F as DEFAULT_SHAPE_LINE_ENDING,E as DEFAULT_SHAPE_LINE_JOIN,a as SEAT_GLYPHS,t as SEAT_GLYPH_DETAIL_MIN_PX,x as SEAT_GLYPH_INSET,b as SEAT_GLYPH_ORDER,p as SEAT_GLYPH_VIEWBOX,A as SHAPE_LINE_CAPS,C as SHAPE_LINE_ENDINGS,B as SHAPE_LINE_JOINS,s as VENUE_ICONS,n as VENUE_ICON_GROUP_LABELS,q as VENUE_ICON_GROUP_ORDER,z as VENUE_ICON_KEYS,l as VENUE_ICON_STROKE,k as VENUE_ICON_VIEWBOX,r as buyerBackgroundImage,f as buyerFacingChartDoc,m as hasConflictingLegacyTrace,G as isOpenShapeKind,H as isPointShapeKind,i as isSeatGlyphKind,y as isVenueIconKey,e as migrateLegacyBackgroundLayersInPlace,j as resolveSeatGlyph,I as resolvedShapeLineStyle,c as seatGlyph,h as seatGlyphFit,d as seatGlyphLabel,g as seatGlyphPath,J as shapeArrowMetrics,o as traceReferenceImage,v as venueIcon,w as venueIconPath};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { P as Point, R as RowObject, S as SeatOverride } from '../../types-
|
|
2
|
-
export { D as DEFAULT_SECTION_CORNER_SMOOTHING, M as MAX_EDGE_SAGITTA_RATIO, R as RelabelOptions, S as SectionOutlineDerivation, c as cornerSmoothingThresholdDeg, i as indexLabel, r as relabelRows, a as reverseSectionOutlinePath, s as sampleSectionOutlinePath, b as sectionCornerSmoothingPath, d as sectionOutlinePathFrom, e as sectionPathSegmentEnd, t as toBijectiveBase, f as toLetters, g as toRoman, h as transformSectionOutlinePath, j as translateSectionOutlinePath, v as validSectionOutlinePath } from '../../labeling-
|
|
1
|
+
import { P as Point, R as RowObject, S as SeatOverride } from '../../types-DmgX-iuD.cjs';
|
|
2
|
+
export { D as DEFAULT_SECTION_CORNER_SMOOTHING, M as MAX_EDGE_SAGITTA_RATIO, R as RelabelOptions, S as SectionOutlineDerivation, c as cornerSmoothingThresholdDeg, i as indexLabel, r as relabelRows, a as reverseSectionOutlinePath, s as sampleSectionOutlinePath, b as sectionCornerSmoothingPath, d as sectionOutlinePathFrom, e as sectionPathSegmentEnd, t as toBijectiveBase, f as toLetters, g as toRoman, h as transformSectionOutlinePath, j as translateSectionOutlinePath, v as validSectionOutlinePath } from '../../labeling-DRFC35VK.cjs';
|
|
3
3
|
export { SeatConfidenceDisclosure, seatConfidenceDisclosure } from '../seatConfidence.cjs';
|
|
4
|
-
import { S as SegmentedRowPlacement } from '../../segmentedRowModel-
|
|
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-
|
|
6
|
-
import { E as ExpandedSeat } from '../../renderer-
|
|
4
|
+
import { S as SegmentedRowPlacement } from '../../segmentedRowModel-BQYSdf7k.cjs';
|
|
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-BNzVBOBW.cjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THE bowl resolver — whether a floor's stands wrap a centre, and the smooth
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { P as Point, R as RowObject, S as SeatOverride } from '../../types-
|
|
2
|
-
export { D as DEFAULT_SECTION_CORNER_SMOOTHING, M as MAX_EDGE_SAGITTA_RATIO, R as RelabelOptions, S as SectionOutlineDerivation, c as cornerSmoothingThresholdDeg, i as indexLabel, r as relabelRows, a as reverseSectionOutlinePath, s as sampleSectionOutlinePath, b as sectionCornerSmoothingPath, d as sectionOutlinePathFrom, e as sectionPathSegmentEnd, t as toBijectiveBase, f as toLetters, g as toRoman, h as transformSectionOutlinePath, j as translateSectionOutlinePath, v as validSectionOutlinePath } from '../../labeling-
|
|
1
|
+
import { P as Point, R as RowObject, S as SeatOverride } from '../../types-DmgX-iuD.js';
|
|
2
|
+
export { D as DEFAULT_SECTION_CORNER_SMOOTHING, M as MAX_EDGE_SAGITTA_RATIO, R as RelabelOptions, S as SectionOutlineDerivation, c as cornerSmoothingThresholdDeg, i as indexLabel, r as relabelRows, a as reverseSectionOutlinePath, s as sampleSectionOutlinePath, b as sectionCornerSmoothingPath, d as sectionOutlinePathFrom, e as sectionPathSegmentEnd, t as toBijectiveBase, f as toLetters, g as toRoman, h as transformSectionOutlinePath, j as translateSectionOutlinePath, v as validSectionOutlinePath } from '../../labeling-DTHo03rf.js';
|
|
3
3
|
export { SeatConfidenceDisclosure, seatConfidenceDisclosure } from '../seatConfidence.js';
|
|
4
|
-
import { S as SegmentedRowPlacement } from '../../segmentedRowModel-
|
|
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-
|
|
6
|
-
import { E as ExpandedSeat } from '../../renderer-
|
|
4
|
+
import { S as SegmentedRowPlacement } from '../../segmentedRowModel-Cl3X8SKt.js';
|
|
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-Bhc5CgOS.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THE bowl resolver — whether a floor's stands wrap a centre, and the smooth
|