@seatlayer/core 0.68.1 → 0.70.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/ar-R52D47QC.js +1 -0
- package/dist/be-P34NRZPF.js +1 -0
- package/dist/bg-4TEE6DSQ.js +1 -0
- package/dist/ca-V4A6DRPR.js +1 -0
- package/dist/{categoryInventory-DLDU-RSw.d.ts → categoryInventory-BiUDSvBt.d.ts} +1 -1
- package/dist/{categoryInventory-DZapeGK6.d.cts → categoryInventory-DBqgM5in.d.cts} +1 -1
- package/dist/{chunk-6JWYLLWU.js → chunk-5AHUGRHH.js} +1 -1
- package/dist/{chunk-RMNTGICO.js → chunk-652LV66L.js} +1 -1
- package/dist/{chunk-BV6FHURE.js → chunk-7OJ6SB6V.js} +1 -1
- package/dist/{chunk-HZT2U5IY.js → chunk-A27USMF7.js} +1 -1
- package/dist/{chunk-YYRUKI7A.js → chunk-AWPHGLTU.js} +1 -1
- package/dist/{chunk-WZ6ZNPNT.js → chunk-UHPX2P7O.js} +1 -1
- package/dist/{chunk-QYZ3P5L6.js → chunk-WXWJZ5DO.js} +1 -1
- package/dist/chunk-X3K36XZM.js +1 -0
- package/dist/core/chart-ops/index.cjs +1 -1
- package/dist/core/chart-ops/index.d.cts +4 -4
- package/dist/core/chart-ops/index.d.ts +4 -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/inventory/index.js +1 -1
- package/dist/core/layout/index.cjs +1 -1
- package/dist/core/layout/index.d.cts +4 -4
- package/dist/core/layout/index.d.ts +4 -4
- package/dist/core/layout/index.js +1 -1
- package/dist/core/quality/index.d.cts +3 -3
- package/dist/core/quality/index.d.ts +3 -3
- package/dist/core/render-assets/index.d.cts +1 -1
- package/dist/core/render-assets/index.d.ts +1 -1
- 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/core/sections/index.js +1 -1
- package/dist/cs-GR5H3ZRU.js +1 -0
- package/dist/cy-XWYNMRNE.js +1 -0
- package/dist/da-NOYMEVP6.js +1 -0
- package/dist/de-LFHFC2XO.js +1 -0
- package/dist/el-AS3436E6.js +1 -0
- package/dist/es-IWBWYUHH.js +1 -0
- package/dist/et-VV7YGFEV.js +1 -0
- package/dist/{eventConfigurations-kZpADDdx.d.ts → eventConfigurations-CA2XhDig.d.ts} +1 -1
- package/dist/{eventConfigurations-C_dst7Ro.d.cts → eventConfigurations-Csdxe89O.d.cts} +1 -1
- package/dist/fa-JYLN4BIM.js +1 -0
- package/dist/fi-TXRN726I.js +1 -0
- package/dist/fr-PKEU6NKI.js +1 -0
- package/dist/he-H53ZPEAF.js +1 -0
- package/dist/hr-AIG6RMUY.js +1 -0
- package/dist/hu-KE64252D.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +259 -94
- package/dist/index.d.ts +259 -94
- package/dist/index.js +1 -1
- package/dist/it-GVT7VIKV.js +1 -0
- package/dist/ja-WMRRUDVD.js +1 -0
- package/dist/ku-77V6NTW7.js +1 -0
- package/dist/{labeling-Br0U7E-5.d.ts → labeling-CxZWjZBN.d.ts} +1 -1
- package/dist/{labeling-B07AFOvn.d.cts → labeling-DG-Sc8VW.d.cts} +1 -1
- package/dist/{layout-BjkVhn52.d.cts → layout-BxJIZjPm.d.cts} +19 -5
- package/dist/{layout-BdeBpWf8.d.ts → layout-C6YaCOnZ.d.ts} +19 -5
- package/dist/localeLoaders-2KZHFEV7.js +1 -0
- package/dist/lt-7ICKT4ED.js +1 -0
- package/dist/lv-NTO2456Y.js +1 -0
- package/dist/nl-IYEEWC4A.js +1 -0
- package/dist/no-CKH6R5N2.js +1 -0
- package/dist/pl-ALK57HKB.js +1 -0
- package/dist/pt-EYFSXBVZ.js +1 -0
- package/dist/{renderedQuality-Dn6GyPPj.d.ts → renderedQuality-CWwy14lb.d.ts} +1 -1
- package/dist/{renderedQuality-C-L_RuPB.d.cts → renderedQuality-CgBQYezj.d.cts} +1 -1
- package/dist/{renderer-BGmZn_bq.d.ts → renderer-DIcDImOu.d.ts} +85 -4
- package/dist/{renderer-BHInJ52w.d.cts → renderer-DmG3C8vD.d.cts} +85 -4
- package/dist/ro-EUFVCBVY.js +1 -0
- package/dist/ru-XAIYWENX.js +1 -0
- package/dist/{sections-DCRfHaw4.d.ts → sections-87qiciyN.d.ts} +1 -1
- package/dist/{sections-BjzyfqGZ.d.cts → sections-Bb0L9lDT.d.cts} +1 -1
- package/dist/{segmentedRowModel-jfYcGWPd.d.cts → segmentedRowModel-BqiM0U65.d.cts} +1 -1
- package/dist/{segmentedRowModel-DQggl3UO.d.ts → segmentedRowModel-CEP6crcl.d.ts} +1 -1
- package/dist/sk-QIOFO4TV.js +1 -0
- package/dist/sl-37I57K2X.js +1 -0
- package/dist/sr-HE5DILFD.js +1 -0
- package/dist/sv-7SVBFLY3.js +1 -0
- package/dist/{ticketRestrictions-CtgOd-2p.d.ts → ticketRestrictions-B_qXQobd.d.ts} +2 -2
- package/dist/{ticketRestrictions-mnICaF5t.d.cts → ticketRestrictions-Bj8PBX_x.d.cts} +2 -2
- package/dist/tr-JNA4YJEJ.js +1 -0
- package/dist/{types-BjTzKc2D.d.cts → types-DNztpn7q.d.cts} +9 -0
- package/dist/{types-BjTzKc2D.d.ts → types-DNztpn7q.d.ts} +9 -0
- package/dist/uk-2723G7DI.js +1 -0
- package/dist/view3d/crossfade/panorama.d.cts +1 -1
- package/dist/view3d/crossfade/panorama.d.ts +1 -1
- package/dist/view3d/index.cjs +31 -31
- package/dist/view3d/index.d.cts +86 -4
- package/dist/view3d/index.d.ts +86 -4
- package/dist/view3d/index.js +29 -29
- package/dist/zh-Hans-ONBXTDHV.js +1 -0
- package/dist/zh-Hant-LVTMHA6P.js +1 -0
- package/package.json +1 -1
- package/dist/ar-QWMSVFMH.js +0 -1
- package/dist/be-3GMEVW5Q.js +0 -1
- package/dist/bg-W46PKTS7.js +0 -1
- package/dist/ca-FS3NR6VL.js +0 -1
- package/dist/chunk-I6DNJFRF.js +0 -1
- package/dist/cs-I4AKSFRV.js +0 -1
- package/dist/cy-ABRR65RX.js +0 -1
- package/dist/da-HNKK3PNG.js +0 -1
- package/dist/de-QUOPPJF7.js +0 -1
- package/dist/el-DUXSH2LY.js +0 -1
- package/dist/es-57EA3CTI.js +0 -1
- package/dist/et-RBSHG6OS.js +0 -1
- package/dist/fa-MJIJUBSS.js +0 -1
- package/dist/fi-HKF3AVOV.js +0 -1
- package/dist/fr-4U5K5VNS.js +0 -1
- package/dist/he-MIVDM6KS.js +0 -1
- package/dist/hr-G7RZP6DQ.js +0 -1
- package/dist/hu-QZE26B6N.js +0 -1
- package/dist/it-L2XL6VR7.js +0 -1
- package/dist/ja-Q64SRIIE.js +0 -1
- package/dist/ku-OG466MA5.js +0 -1
- package/dist/localeLoaders-V5HTIO2J.js +0 -1
- package/dist/lt-P2CZWZZL.js +0 -1
- package/dist/lv-IRHTS7ME.js +0 -1
- package/dist/nl-6WSAK5IB.js +0 -1
- package/dist/no-3G67YZZR.js +0 -1
- package/dist/pl-DUYWY7BZ.js +0 -1
- package/dist/pt-FNIRQMIZ.js +0 -1
- package/dist/ro-BBYEYZIK.js +0 -1
- package/dist/ru-NMG7W5QE.js +0 -1
- package/dist/sk-HI2H44DR.js +0 -1
- package/dist/sl-RBLBICUL.js +0 -1
- package/dist/sr-SNARC3RS.js +0 -1
- package/dist/sv-R7ZWBQIL.js +0 -1
- package/dist/tr-2JJXM4IM.js +0 -1
- package/dist/uk-GTBKSNLF.js +0 -1
- package/dist/zh-Hans-4V7ZG3GP.js +0 -1
- package/dist/zh-Hant-XWV277CF.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-DNztpn7q.cjs';
|
|
2
|
+
import { E as ExpandedSeat, S as SeatStatus } from '../../renderer-DmG3C8vD.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-DBqgM5in.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-Bj8PBX_x.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-DNztpn7q.js';
|
|
2
|
+
import { E as ExpandedSeat, S as SeatStatus } from '../../renderer-DIcDImOu.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-BiUDSvBt.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_qXQobd.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Best-available seat selection — a PURE, fully unit-testable ranking function.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as H,b as V,c as Z,d as tt,e as et,f as ot,g as rt,h as nt,i as at,j as it,k as st}from"../../chunk-
|
|
1
|
+
import{a as H,b as V,c as Z,d as tt,e as et,f as ot,g as rt,h as nt,i as at,j as it,k as st}from"../../chunk-652LV66L.js";import{a as ct,b as lt,c as ut,d as pt,e as ft,h as P}from"../../chunk-5AHUGRHH.js";import"../../chunk-GXMGOWKB.js";import"../../chunk-JBGLFOJO.js";import{a as L,b as z,c as F,d as J,e as Q,f as U,g as Y,h as $,i as q}from"../../chunk-A27USMF7.js";import"../../chunk-AWPHGLTU.js";import{l as C,ma as v,oa as g,pa as R,ra as S,sa as _,w,xa as O}from"../../chunk-X3K36XZM.js";import"../../chunk-CXF32VPG.js";import"../../chunk-CRCGO52K.js";function b(t){return t.floors?.length?t.floors.flatMap(e=>e.objects):t.objects}function I(t){return b(t).reduce((e,r)=>r.type==="row"?e+v(r):r.type==="table"?e+S(r):r.type==="gaArea"?e+Math.max(0,Math.floor(r.capacity)):r.type==="booth"?e+1:e,0)}function bt(t){let e={};for(let o of t.categories??[])e[o.key]=0;let r=(o,a)=>{a>0&&(e[o]=(e[o]??0)+a)};for(let o of b(t))if(o.type==="row")for(let a of g(o))r(a.categoryKey,1);else if(o.type==="table")if(o.bookAsWhole||o.variableOccupancy)r(o.categoryKey,Math.max(0,Math.round(o.seatCount)));else for(let a of _(o))r(a.categoryKey,1);else o.type==="gaArea"?r(o.categoryKey,Math.max(0,Math.floor(o.capacity))):o.type==="booth"&&r(o.categoryKey,1);return e}function G(t){if(!t.template)return null;let e=b(t),r=e.filter(l=>l.type==="row"||l.type==="table"||l.type==="gaArea");if(!r.length)return null;let a=e.filter(l=>l.type==="booth").length+r.reduce((l,f)=>l+(f.type==="table"?2:1),0),s=I(t),c=Math.max(a+1,Math.min(5e4,s*4)),u=[.5,1,1.5,2].map(l=>w(Math.round(s*l),a,c));return{family:t.template.family,display:t.template.family.replace(/-/g," ").replace(/\b\w/g,l=>l.toUpperCase()),min:a,max:c,presets:["S","M","L","XL"].map((l,f)=>({size:l,seats:u[f]}))}}function A(t){let e=g(t);return e.length?C(e):{...t.origin}}function dt(t,e){let r=G(t);if(!r)return structuredClone(t);let o=structuredClone(t),a=b(o),s=a.filter(n=>n.type==="row"||n.type==="table"||n.type==="gaArea"),c=a.filter(n=>n.type==="booth").length,u=Math.max(r.min,Math.min(r.max,Math.round(e))),l=u-c,f=s.map((n,i)=>{let m=n.type==="gaArea"?Math.max(0,Math.floor(n.capacity)):n.seatCount,x=n.type==="table"?2:1;return{object:n,index:i,current:m,minimum:x,value:x,fraction:0}}),E=f.reduce((n,i)=>n+i.minimum,0),d=Math.max(0,l-E),T=f.reduce((n,i)=>n+Math.max(1,i.current-i.minimum),0);for(let n of f){let i=d*Math.max(1,n.current-n.minimum)/T,m=Math.floor(i);n.value+=m,n.fraction=i-m}d=l-f.reduce((n,i)=>n+i.value,0),f.sort((n,i)=>i.fraction-n.fraction||n.index-i.index);for(let n=0;n<d;n++)f[n%f.length].value++;f.sort((n,i)=>n.index-i.index);for(let n of f)if(n.object.type==="row"){let i=A(n.object);n.object.seatCount=n.value;let m=A(n.object);n.object.origin.x+=i.x-m.x,n.object.origin.y+=i.y-m.y}else if(n.object.type==="table"){let i=n.object;if(i.seatCountsBySide){let m=["top","bottom","left","right"],x=R(i),N=m.reduce((p,y)=>p+x[y],0)||1,h=m.map((p,y)=>{let M=n.value*x[p]/N;return{side:p,index:y,value:Math.floor(M),fraction:M-Math.floor(M)}}),k=n.value-h.reduce((p,y)=>p+y.value,0);h.sort((p,y)=>y.fraction-p.fraction||p.index-y.index);for(let p=0;p<k;p++)h[p%h.length].value+=1;h.sort((p,y)=>p.index-y.index),i.seatCountsBySide={top:h[0].value,bottom:h[1].value,left:h[2].value,right:h[3].value},i.sides=m.filter(p=>i.seatCountsBySide[p]>0)}i.seatCount=n.value,i.overrides&&(i.overrides=i.overrides.filter(m=>m.index<n.value),i.overrides.length||delete i.overrides)}else n.object.capacity=n.value;return o.floors?.length&&(o.objects=o.floors[0].objects),o.template={family:o.template.family,targetSeats:u},o=P(o).doc,o.template={family:t.template.family,targetSeats:I(o)},o}var W=1,B=100;function X(t,e){if(!Number.isInteger(e)||e<W||e>B)return null;let r=t.rotation*Math.PI/180,o={x:Math.cos(r),y:Math.sin(r)},a={x:-o.y,y:o.x};return Array.from({length:e},(s,c)=>{let u=t.style==="intertwined"&&c%2===1?t.seatSpacing/2:0;return{type:"row",id:`__block_preview_${c}`,label:"",origin:{x:t.origin.x+a.x*c*t.rowGap+o.x*u,y:t.origin.y+a.y*c*t.rowGap+o.y*u},rotation:t.rotation,curve:t.curve,seatCount:t.seatsPerRow,seatSpacing:t.seatSpacing,categoryKey:"__preview__"}})}function j(t,e=t.rowCount){let r=X(t,e);return r?.length?O(r[r.length-1]):null}function Ct(t,e){if(!Number.isFinite(e.x)||!Number.isFinite(e.y)||t.rowGap<=0)return null;let r=j(t,1);if(!r)return null;let o=t.rotation*Math.PI/180,a={x:-Math.sin(o),y:Math.cos(o)},s=(e.x-r.x)*a.x+(e.y-r.y)*a.y,c=Math.max(W,Math.min(B,Math.round(s/t.rowGap)+1)),u=j(t,c);return u?{rowCount:c,edgePoint:u}:null}function wt(t,e){return t.length!==e.rowCount?!1:[...t].sort((o,a)=>(o.rowBlockGeneration?.rowIndex??1/0)-(a.rowBlockGeneration?.rowIndex??1/0)).every((o,a)=>{let s=o.rowBlockGeneration;return s?.kind==="row-block-v1"&&s.groupId===e.groupId&&s.rowIndex===a&&s.signature===e.signature&&JSON.stringify(s)===JSON.stringify({...e,rowIndex:a})})}var Rt=1,St=300,_t=330;function D(t,e){if(t.path||!Number.isInteger(e)||e<1||e>300)return null;let r=t.seatCount>1?t.curve/(t.seatCount-1):0;return{...t,seatCount:e,curve:r*(e-1)}}function K(t,e=t.seatCount){let r=D(t,e);if(!r)return null;if(e===1)return{...r.origin};let o=r.rotation*Math.PI/180,a=r.curve/(e-1)*Math.PI/180,s,c;if(Math.abs(a)<1e-9)s=(e-1)*r.seatSpacing,c=0;else{let u=r.seatSpacing/(2*Math.sin(Math.abs(a)/2)),l=a*(e-1);s=u*Math.sin(l),c=-u+u*Math.cos(l)}return{x:r.origin.x+s*Math.cos(o)-c*Math.sin(o),y:r.origin.y+s*Math.sin(o)+c*Math.cos(o)}}function Ot(t,e){if(t.path||!Number.isFinite(e.x)||!Number.isFinite(e.y))return null;let r=t.seatCount>1?t.curve/(t.seatCount-1):0,o=Math.abs(r)<1e-9?300:Math.min(300,Math.floor(330/Math.abs(r))+1),a=null;for(let s=1;s<=Math.max(1,o);s+=1){let c=K(t,s);if(!c)continue;let u=Math.hypot(c.x-e.x,c.y-e.y),l=r*(s-1);(!a||u<a.distance||u===a.distance&&s<a.seatCount)&&(a={seatCount:s,curve:l,endpoint:c,distance:u})}return a}export{ct as CATEGORY_INVENTORY_FAMILIES,it as GroupedTableProjectionError,_t as MAX_DIRECT_ROW_SWEEP,z as MAX_EVENT_INVENTORY,L as MAX_GA_CAPACITY,B as MAX_ROW_BLOCK_ROWS,St as MAX_ROW_SEATS,W as MIN_ROW_BLOCK_ROWS,Rt as MIN_ROW_SEATS,ot as applicableTicketTiers,G as capacityControl,bt as categoryCapacity,I as chartCapacity,nt as companionSelectionIssue,pt as describeCategoryInventoryConflict,lt as effectiveSeatOwnerCategoryCounts,$ as gaAreasOf,Q as gaInventorySegments,F as gaUnitLabel,U as gaUnitLabels,st as groupedTableInventory,Y as growJoinedGAInventory,ut as inspectCategoryInventoryConflicts,wt as intactRowBlockMembers,q as isGaUnitLabel,V as pickBestAvailable,Z as pickBestAvailableInventory,ft as remediateCategoryInventoryConflicts,dt as resizeChartCapacity,Ct as resolveRowBlockCount,Ot as resolveRowTerminalCapacity,rt as resolveTicketTierForSeat,j as rowBlockEdgePoint,X as rowBlockPreviewRows,K as rowTerminalEndpoint,D as rowWithTerminalCapacity,H as strandedSingles,tt as ticketOptionNotApplicableIssue,at as ticketSelectionIssue,et as ticketTierAppliesToSeat,J as validGAInventorySegments};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var Z=Object.defineProperty;var We=Object.getOwnPropertyDescriptor;var qe=Object.getOwnPropertyNames;var Qe=Object.prototype.hasOwnProperty;var Je=(e,t)=>{for(var n in t)Z(e,n,{get:t[n],enumerable:!0})},Ze=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of qe(t))!Qe.call(e,r)&&r!==n&&Z(e,r,{get:()=>t[r],enumerable:!(o=We(t,r))||o.enumerable});return e};var et=e=>Ze(Z({},"__esModule",{value:!0}),e);var fn={};Je(fn,{DEFAULT_SEAT_RADIUS:()=>Ke,TABLE_SEAT_OFFSET:()=>N,TEXT_BACKGROUND_PADDING_MAX:()=>vn,TEXT_BACKGROUND_RADIUS_MAX:()=>In,TEXT_LETTER_SPACING_MAX:()=>wn,TEXT_LETTER_SPACING_MIN:()=>Sn,TEXT_LINE_HEIGHT_MAX:()=>Mn,TEXT_LINE_HEIGHT_MIN:()=>gn,TEXT_OPACITY_MIN:()=>Pn,TEXT_WIDTH_MAX:()=>bn,TEXT_WIDTH_MIN:()=>xn,allObjects:()=>Ye,applyAffine:()=>Qt,buildAisleHoles:()=>ot,buildSeatIndex:()=>sn,buildSectionShell:()=>nt,chartBounds:()=>q,composeAffine:()=>Zt,createPerspectiveCamera:()=>qt,cubicPoint:()=>G,decomposeAffineLinear:()=>tn,distanceToRings:()=>ve,distributeAlongCubic:()=>ee,expandBooth:()=>Xe,expandChart:()=>Wt,expandRow:()=>pe,expandRowSlots:()=>Be,expandTable:()=>He,expandTableSlots:()=>xe,floorObjects:()=>Vt,floorOverviewTranslations:()=>ze,floorsOf:()=>Ve,floorsShareFootprint:()=>Kt,gridStats:()=>un,hitTest:()=>cn,invertAffine:()=>Jt,layoutFloorOverview:()=>zt,layoutFloorRings:()=>$t,nearestWithin:()=>an,objectCenter:()=>H,owningSectionForObject:()=>Ge,perspectiveTangentAffine:()=>en,pointInPolygon:()=>me,pointInPolygonWithHoles:()=>U,polygonArea:()=>oe,polygonInscribedAnchor:()=>re,polygonLabelPoint:()=>Xt,polygonNetArea:()=>ct,projectPerspectivePoint:()=>Q,queryRect:()=>ln,resolveSegmentedRowGroups:()=>ie,rowInventoryCount:()=>Bt,rowSeatPositions:()=>ye,segmentedRowComponentSeats:()=>ut,segmentedRowComponents:()=>lt,segmentedRowSeatTotal:()=>ft,smoothCubicThroughMiddle:()=>tt,stackFloors:()=>Yt,tableInventoryCount:()=>Ut,tableSeatCountsBySide:()=>Ue,textLayoutMetrics:()=>te,translateObject:()=>W});module.exports=et(fn);var hn=Math.PI/180;function j(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function L(e,t,n){return{x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n}}function G(e,t){let n=1-t,o=n*n*n,r=3*n*n*t,i=3*n*t*t,s=t*t*t;return{x:o*e.start.x+r*e.control1.x+i*e.control2.x+s*e.end.x,y:o*e.start.y+r*e.control1.y+i*e.control2.y+s*e.end.y}}function tt(e,t,n){let o={x:(e.x+t.x)/2,y:(e.y+t.y)/2},r={x:(n.x-o.x)*4/3,y:(n.y-o.y)*4/3};return{start:{...e},control1:{x:e.x+(t.x-e.x)/3+r.x,y:e.y+(t.y-e.y)/3+r.y},control2:{x:e.x+(t.x-e.x)*2/3+r.x,y:e.y+(t.y-e.y)*2/3+r.y},end:{...t}}}function ee(e,t,n=192){if(!Number.isInteger(t)||t<1)throw new Error("Path point count must be a positive integer");if(t===1)return[G(e,.5)];let o=Array.from({length:n+1},(l,y)=>G(e,y/n)),r=new Float64Array(o.length);for(let l=1;l<o.length;l+=1){let y=o[l].x-o[l-1].x,a=o[l].y-o[l-1].y;r[l]=r[l-1]+Math.hypot(y,a)}let i=r[r.length-1];if(i<=1e-9)return Array.from({length:t},()=>({...e.start}));let s=[],c=1;for(let l=0;l<t;l+=1){let y=i*l/(t-1);for(;c<r.length-1&&r[c]<y;)c+=1;let a=r[c-1],m=r[c],h=m===a?0:(y-a)/(m-a);s.push({x:o[c-1].x+(o[c].x-o[c-1].x)*h,y:o[c-1].y+(o[c].y-o[c-1].y)*h})}return s}function _(e,t){return{x:e.x+t.x,y:e.y+t.y}}function B(e,t){return{x:e.x-t.x,y:e.y-t.y}}function k(e,t){return{x:e.x*t,y:e.y*t}}function V(e,t=13){return Array.from({length:t},(n,o)=>G(e,o/(t-1)))}function be(e,t){let n=Math.max(0,Math.min(1,t))*(e.length-1),o=Math.min(e.length-2,Math.floor(n));return L(e[o],e[o+1],n-o)}function ge(e,t,n){let o=Math.max(0,Math.min(1,t)),r=Math.max(o,Math.min(1,n)),i=[be(e,o)];for(let s=1;s<e.length-1;s+=1){let c=s/(e.length-1);c>o+1e-9&&c<r-1e-9&&i.push(e[s])}return i.push(be(e,r)),i}function Me(e,t){let n=[[0,1],[1,2],[2,3],[3,0]],o=0,r=Number.POSITIVE_INFINITY;n.forEach(([h,x],d)=>{let f=j(L(e[h],e[x],.5),t);f<r&&(r=f,o=d)});let i=e[o],s=e[(o+1)%4],c=e[(o+2)%4],l=e[(o+3)%4],y=L(i,s,.5),a=B(t,y),m=Math.max(1e-9,Math.hypot(a.x,a.y));return{p0:i,p1:s,p2:c,p3:l,normal:k(a,1/m),depth:(j(i,l)+j(s,c))/2}}function Se(e){let{p0:t,p1:n,p2:o,p3:r,normal:i,depth:s}=e,c=B(n,t),l=B(o,r),y=s*.22,a=s*.12;return{nearPath:{start:t,control1:_(_(t,k(c,1/3)),k(i,y)),control2:_(_(t,k(c,2/3)),k(i,y)),end:n},farPath:{start:o,control1:_(_(r,k(l,2/3)),k(i,a)),control2:_(_(r,k(l,1/3)),k(i,a)),end:r}}}function nt(e,t,n){if(e.length!==4)throw new Error("A section shell requires four mapped bounds corners");let o=e.reduce((d,f)=>_(d,f),{x:0,y:0});o.x/=4,o.y/=4;let r=j(e[0],e[1]),i=j(e[0],e[3]),s=n==="auto"?r>i*1.25&&j(o,t)>i?"bezier":"tapered":n;if(s==="rectangle")return{mode:s,outline:e.map(d=>({...d}))};let c=Me(e,t),{p0:l,p1:y,p2:a,p3:m}=c;if(s==="tapered")return{mode:s,outline:[_(l,k(B(y,l),.14)),_(l,k(B(y,l),1-.14)),a,m]};let{nearPath:h,farPath:x}=Se(c);return{mode:s,outline:[...V(h),...V(x).slice(1)]}}function ot(e,t,n,o){if(e.length!==4)throw new Error("Aisle generation requires four mapped bounds corners");if(!Number.isInteger(n)||n<0||n>3)throw new Error("Aisle count must be an integer from 0 to 3");if(n===0)return[];let r=Me(e,t),{p0:i,p1:s,p2:c,p3:l}=r,y=o==="bezier"?Se(r):null,a=y?V(y.nearPath):null,m=y?V(y.farPath).reverse():null,h=Math.min(.055,.18/(n+1));return Array.from({length:n},(x,d)=>{let f=(d+1)/(n+1),u=f-h/2,b=f+h/2;return a&&m?[...ge(a,u,b),...ge(m,u,b).reverse()]:[L(i,s,u),L(i,s,b),L(l,c,b),L(l,c,u)]})}var xn=40,bn=1200,gn=.8,Mn=3,Sn=-2,wn=20,Pn=.1,vn=40,In=40,we=e=>Math.max(1,e.fontSize*.6+(e.letterSpacing??0));function rt(e,t){let n=e.text.split(/\r?\n/);if(!e.width)return Math.max(1,n.length);let o=Math.max(1,Math.floor(t/we(e))),r=0;for(let i of n){if(!i.length){r+=1;continue}let s=0;for(let c of i.split(/\s+/)){let l=c.length;s&&s+1+l<=o?s+=1+l:(r+=Math.max(1,Math.ceil(l/o)),s=l%o)}}return Math.max(1,r)}function te(e){let t=e.background?.padding??0,n=e.text.split(/\r?\n/),o=Math.max(1,...n.map(c=>c.length))*we(e),r=e.width??o+t*2,i=Math.max(1,r-t*2),s=rt(e,i);return{width:r,height:s*e.fontSize*(e.lineHeight??1.2)+t*2,lineCount:s,padding:t}}function it(e,t,n){let o=n.x-t.x,r=n.y-t.y,i=o*o+r*r,s=i?Math.max(0,Math.min(1,((e.x-t.x)*o+(e.y-t.y)*r)/i)):0;return Math.hypot(e.x-(t.x+s*o),e.y-(t.y+s*r))}function ve(e,t){let n=1/0;for(let o of t)if(!(o.length<2))for(let r=0,i=o.length-1;r<o.length;i=r++){let s=it(e,o[i],o[r]);s<n&&(n=s)}return n}function Pe(e,t){let n=!1;for(let o=0,r=t.length-1;o<t.length;r=o++){let i=t[o].x,s=t[o].y,c=t[r].x,l=t[r].y;s>e.y!=l>e.y&&e.x<(c-i)*(e.y-s)/(l-s)+i&&(n=!n)}return n}function st(e,t,n){let o=Pe(e,t)&&!n.some(i=>Pe(e,i)),r=ve(e,[t,...n]);return o?r:-r}function F(e,t,n,o,r){let i=st({x:e,y:t},o,r);return{x:e,y:t,h:n,d:i,max:i+n*Math.SQRT2}}var ne=class{constructor(){this.items=[]}get size(){return this.items.length}push(t){let n=this.items;n.push(t);let o=n.length-1;for(;o>0;){let r=o-1>>1;if(n[r].max>=n[o].max)break;[n[r],n[o]]=[n[o],n[r]],o=r}}pop(){let t=this.items,n=t[0],o=t.pop();if(t.length&&o){t[0]=o;let r=0;for(;;){let i=r*2+1,s=i+1,c=r;if(i<t.length&&t[i].max>t[c].max&&(c=i),s<t.length&&t[s].max>t[c].max&&(c=s),c===r)break;[t[c],t[r]]=[t[r],t[c]],r=c}}return n}};function oe(e){if(e.length<3)return 0;let t=0;for(let n=0,o=e.length-1;n<e.length;o=n++)t+=(e[o].x+e[n].x)*(e[o].y-e[n].y);return Math.abs(t)/2}function ct(e,t){return Math.max(0,oe(e)-(t??[]).reduce((n,o)=>n+oe(o),0))}function re(e,t){let n=t??[];if(!e.length)return{point:{x:0,y:0},radius:0};if(e.length<3){let f=e.reduce((b,S)=>b+S.x,0)/e.length,u=e.reduce((b,S)=>b+S.y,0)/e.length;return{point:{x:f,y:u},radius:0}}let o=1/0,r=1/0,i=-1/0,s=-1/0;for(let f of e)f.x<o&&(o=f.x),f.y<r&&(r=f.y),f.x>i&&(i=f.x),f.y>s&&(s=f.y);let c=i-o,l=s-r,y=Math.min(c,l);if(!(y>0))return{point:{x:(o+i)/2,y:(r+s)/2},radius:0};let a=Math.max(c,l)/150,m=new ne,h=y/2;for(let f=o;f<i;f+=y)for(let u=r;u<s;u+=y)m.push(F(f+h,u+h,h,e,n));let x=F(o+c/2,r+l/2,0,e,n),d=0;for(;m.size;){let f=m.pop();if(!f)break;f.d>x.d&&(x=f),!(f.max-x.d<=a)&&(d>=4e3||(d+=1,h=f.h/2,m.push(F(f.x-h,f.y-h,h,e,n)),m.push(F(f.x+h,f.y-h,h,e,n)),m.push(F(f.x-h,f.y+h,h,e,n)),m.push(F(f.x+h,f.y+h,h,e,n))))}return{point:{x:x.x,y:x.y},radius:Math.max(0,x.d)}}function D(e,t,n){return e<t?t:e>n?n:e}var An=Math.PI*2;function Ie(e,t,n){return at(e,r=>({x:r.x+t,y:r.y+n}))}function at(e,t,n=1,o=!1){return{...e,start:t(e.start),segments:e.segments.map(r=>r.kind==="line"?{...r,end:t(r.end)}:r.kind==="arc"?{...r,center:t(r.center),radius:r.radius*Math.abs(n),clockwise:o?!r.clockwise:r.clockwise,end:t(r.end)}:{...r,control1:t(r.control1),control2:t(r.control2),end:t(r.end)})}}var Rn=4/3;function lt(e,t,n){let o=[];for(let r=0;r<e.length-1;r+=1){let i=e[r],s=e[r+1],c=Math.hypot(s.x-i.x,s.y-i.y);if(c<=0)continue;let l=Math.max(1,Math.round(c/n)),y=c/l,a=Math.atan2(s.y-i.y,s.x-i.x),m=r===0,x=(r>0?t[r-1]:void 0)==="break"?2:1,d=m?{...i}:{x:i.x+Math.cos(a)*y*x,y:i.y+Math.sin(a)*y*x},f=m?l+1:Math.max(1,l-(x-1));o.push({origin:d,rotation:a*180/Math.PI,seatCount:f,seatSpacing:y})}return o}function ut(e){let t=e.rotation*Math.PI/180,n={x:Math.cos(t),y:Math.sin(t)};return Array.from({length:e.seatCount},(o,r)=>({x:e.origin.x+n.x*r*e.seatSpacing,y:e.origin.y+n.y*r*e.seatSpacing}))}function ft(e){return e.reduce((t,n)=>t+n.seatCount,0)}function ie(e){let t=new Map,n=new Map;for(let o of e){if(o.type!=="row"||!o.segmentedRow)continue;let r=n.get(o.segmentedRow.groupId)??[];r.push(o),n.set(o.segmentedRow.groupId,r)}for(let[o,r]of n){let i=r.slice().sort((h,x)=>h.segmentedRow.componentIndex-x.segmentedRow.componentIndex),s=i[0]?.segmentedRow?.componentCount??0,c=i[0]?.segmentedRow;if(!c||!(s>=2&&i.length===s&&c?.boundaryBefore==="start"&&i.every((h,x)=>h.segmentedRow?.kind==="segmented-row-v1"&&h.segmentedRow.groupId===o&&h.segmentedRow.componentCount===s&&h.segmentedRow.componentIndex===x&&h.segmentedRow.repeatLabelOnComponents===c.repeatLabelOnComponents&&(x===0?h.segmentedRow.boundaryBefore==="start":h.segmentedRow.boundaryBefore!=="start")&&h.segmentedRow.displayLabel===c.displayLabel)))continue;let y=i.reduce((h,x)=>h+x.seatCount,0),a=0,m=0;for(let h of i)h.segmentedRow.boundaryBefore==="break"&&(a+=1),t.set(h.id,{groupId:o,adjacencyOffset:a,displayOffset:m,displayLabel:c.displayLabel,totalSeats:y,canonical:i[0],viewFromSeatUrl:c.viewFromSeatUrl,viewFromSeatMeta:c.viewFromSeatMeta,confidenceEvidence:c.confidenceEvidence}),a+=h.seatCount,m+=h.seatCount}return t}var dt="ABCDEFGHIJKLMNOPQRSTUVWXYZ";var ht="abcdefghijklmnopqrstuvwxyz";function mt(e,t){let n=t.length,o=e+1,r="";for(;o>0;){o-=1;let i=o%n;r=t[i]+r,o=Math.floor(o/n)}return r}function se(e,t=!1){let n=t?ht:dt;return mt(Math.max(0,Math.floor(e)-1),n)}var yt=[[1e3,"M"],[900,"CM"],[500,"D"],[400,"CD"],[100,"C"],[90,"XC"],[50,"L"],[40,"XL"],[10,"X"],[9,"IX"],[5,"V"],[4,"IV"],[1,"I"]];function Ce(e){if(!Number.isFinite(e)||e<=0)return String(e);let t=Math.floor(e),n="";for(let[o,r]of yt)for(;t>=o;)n+=r,t-=o;return n}function pt(e){let t=new Array(e);return Array.from({length:e},(n,o)=>o).sort((n,o)=>Math.abs(2*n-(e-1))-Math.abs(2*o-(e-1))||n-o).forEach((n,o)=>t[n]=o),t}function ce(e,t){let n=e.seatLabelStart??1,o=e.seatNumbering?.direction??"ltr",r=e.seatNumbering?.step??1,i=e.seatNumbering?.scheme??"decimal",s=e.seatNumbering?.prefix??"",c=e.seatNumbering?.endAt,l=e.seatCount;if(i==="updown"||i==="updown-descending"){let x=Math.ceil(l/2),d=i==="updown"?t<x?n+2*t:n-1+2*(l-t):t<x?n+2*(x-1-t):n+1+2*(t-x);return`${s}${d}`}let y=i==="odd"||i==="even"?2:r,a=c!=null&&Number.isFinite(c)?c-(l-1)*y:n,m=o==="center"?pt(l)[t]:o==="rtl"?l-1-t:t,h;switch(i){case"odd":{let x=a%2===1?a:a+1;h=String(x+m*2);break}case"even":{let x=a%2===0?a:a+1;h=String(x+m*2);break}case"roman":h=Ce(a+m*r);break;case"letters-upper":h=se(a+m*r,!1);break;case"letters-lower":h=se(a+m*r,!0);break;default:h=String(a+m*r);break}return`${s}${h}`}function xt(e){return{...e.canonical,seatCount:e.totalSeats,label:e.displayLabel,displayLabel:e.displayLabel}}function Ee(e,t,n){return n?.label??`${e.label}-${ce(e,t)}`}function ae(e,t,n,o){if(o?.displayLabel)return o.displayLabel;if(!n)return`${e.displayLabel??e.label}-${ce(e,t)}`;let r=xt(n),i=n.displayOffset+t;return`${n.displayLabel}-${ce(r,i)}`}var Y=.02291666666666667,jn=1/Y,bt=58,gt=bt*Y;var Mt=3,Oe=0,le=120,St=0,wt=45,Pt=7,z=1.2;function ue(e,t,n,o){return Number.isFinite(e)?Math.max(t,Math.min(n,e)):o}function vt(e){return!Number.isFinite(e)||!Number.isInteger(e)||e<0?0:e<=Pt?e:Mt}function Ae(e,t={}){let n=ue(t.floorBaseHeightM,Oe,le,0),o=Math.min(le,n+vt(e.elevation)*gt),r=e.height===void 0?o:ue(e.height,Oe,le,o),i=ue(e.rake,St,wt,0);return{height:r,rake:i}}function Re(e){let t=e.length;return t<=3?[...e]:[e[Math.floor(t*.25)],e[Math.floor(t*.5)],e[Math.floor(t*.75)]]}function Te(e,t,n){if(!e.length)return 1/0;if(e.length===1)return Math.hypot(t-e[0].x,n-e[0].y);let o=1/0;for(let r=0;r+1<e.length;r++){let i=e[r],s=e[r+1],c=s.x-i.x,l=s.y-i.y,y=c*c+l*l,a=y>1e-12?((t-i.x)*c+(n-i.y)*l)/y:0;a<0?a=0:a>1&&(a=1);let m=Math.hypot(t-(i.x+a*c),n-(i.y+a*l));m<o&&(o=m)}return o}function It(e){let t=0,n=0;for(let i of e)t+=i.x,n+=i.y;let o=e.length||1;t/=o,n/=o;let r=0;for(let i of e){let s=Math.hypot(i.x-t,i.y-n);s>r&&(r=s)}return{cx:t,cy:n,r}}function _e(e,t){return Math.hypot(e.cx-t.cx,e.cy-t.cy)-e.r-t.r}function fe(e,t){let n=1/0;for(let o of Re(e)){let r=Te(t,o.x,o.y);r<n&&(n=r)}for(let o of Re(t)){let r=Te(e,o.x,o.y);r<n&&(n=r)}return n}function Ct(e,t){if(e.length<3)return{pts:e,seatIndices:t};let n=0,o=0;for(let a of e)n+=a.x,o+=a.y;n/=e.length,o/=e.length;let r=-1,i=e[0];for(let a of e){let m=Math.hypot(a.x-n,a.y-o);m>r&&(r=m,i=a)}let s=i.x-n,c=i.y-o,l=Math.hypot(s,c);l>1e-9?(s/=l,c/=l):(s=1,c=0);let y=e.map((a,m)=>({p:a,i:m,t:(a.x-n)*s+(a.y-o)*c})).sort((a,m)=>a.t-m.t);return{pts:y.map(a=>a.p),seatIndices:y.map(a=>t[a.i])}}function Et(e){let t=e.length;if(t<3)return null;let n=0,o=0;for(let S of e)n+=S.x,o+=S.y;n/=t,o/=t;let r=0,i=0,s=0,c=0,l=0,y=0,a=0;for(let S of e){let g=S.x-n,p=S.y-o;r+=g*g,s+=p*p,i+=g*p,c+=g*g*g,l+=p*p*p,y+=g*p*p,a+=p*g*g}let m=r*s-i*i;if(Math.abs(m)<1e-9)return null;let h=(c+y)/2,x=(l+a)/2,d=(h*s-x*i)/m,f=(x*r-h*i)/m,u=d+n,b=f+o;return!Number.isFinite(u)||!Number.isFinite(b)?null:{cx:u,cy:b}}var Ot=.15;function At(e){if(e.length<2)return null;let t=e.map(S=>{let g=0,p=0;for(let P of S.pts)g+=P.x,p+=P.y;return{x:g/S.pts.length,y:p/S.pts.length}}),n=0,o=0;for(let S of t)n+=S.x,o+=S.y;n/=t.length,o/=t.length;let r=0,i=0,s=0;for(let S of t){let g=S.x-n,p=S.y-o;r+=g*g,i+=g*p,s+=p*p}let c=r+s,l=r*s-i*i,y=c/2+Math.sqrt(Math.max(0,c*c/4-l)),a,m;Math.abs(i)>1e-12?(a=y-s,m=i):r>=s?(a=1,m=0):(a=0,m=1);let h=Math.hypot(a,m);if(!(h>1e-12))return null;a/=h,m/=h;let x=1/0,d=-1/0,f=[];for(let S of e){let g=1/0,p=-1/0;for(let P of S.pts){let M=P.x*a+P.y*m;M<g&&(g=M),M>p&&(p=M),M<x&&(x=M),M>d&&(d=M)}f.push(p-g)}let u=d-x;return u>1e-9?(f.sort((S,g)=>S-g),f[Math.min(f.length-1,Math.floor(f.length*.9))]/u<=Rt?{x:a,y:m}:null):null}var Rt=.35;function ke(e,t,n,o){let r=new Map;for(let u of n){let b=t[u],S=b.rowId||`__seat-${u}`,g=r.get(S);g||(g={pts:[],idx:[]},r.set(S,g)),g.pts.push({x:b.x,y:b.y}),g.idx.push(u)}if(!r.size)return{sectionId:e,rows:[],blockCount:0};let i=[];for(let[u,b]of r){let S=Ct(b.pts,b.idx),g=0;for(let p of S.pts)g+=Math.hypot(p.x-o.x,p.y-o.y);i.push({id:u,pts:S.pts,seatIndices:S.seatIndices,blockId:-1,ordinal:0,blockDepth:0,focalDistance:g/S.pts.length})}let s=i.map(u=>It(u.pts)),c=[];for(let u=0;u<i.length;u++){let b=1/0;for(let S=0;S<i.length;S++){if(u===S||_e(s[u],s[S])>=b)continue;let g=fe(i[u].pts,i[S].pts);g<b&&(b=g)}Number.isFinite(b)&&c.push(b)}c.sort((u,b)=>u-b);let l=c.length?c[Math.floor(c.length/2)]:1,y=Math.max(l*1.8,1e-6),a=i.map(()=>[]);for(let u=0;u<i.length;u++)for(let b=u+1;b<i.length;b++)_e(s[u],s[b])>y||fe(i[u].pts,i[b].pts)<=y&&(a[u].push(b),a[b].push(u));let m=0;for(let u=0;u<i.length;u++){if(i[u].blockId!==-1)continue;let b=m++,S=[u];for(i[u].blockId=b;S.length;){let g=S.pop();for(let p of a[g])i[p].blockId===-1&&(i[p].blockId=b,S.push(p))}}let h=new Map;for(let u of i){let b=h.get(u.blockId)??[];b.push(u),h.set(u.blockId,b)}let x=[];for(let u of i){if(u.pts.length<4)continue;let b=Et(u.pts);b&&(!Number.isFinite(b.cx)||!Number.isFinite(b.cy)||x.push({x:b.cx,y:b.cy}))}let d=x.length>=2?(()=>{let u=x.map(g=>g.x).sort((g,p)=>g-p),b=x.map(g=>g.y).sort((g,p)=>g-p),S=Math.floor(x.length/2);return{cx:u[S],cy:b[S]}})():null;if(d){let u=M=>Math.hypot(M.x-d.cx,M.y-d.cy),b=1/0,S=-1/0,g=[];for(let M of i){let w=1/0,I=-1/0;for(let C of M.pts){let v=u(C);v<w&&(w=v),v>I&&(I=v)}g.push(I-w),w<b&&(b=w),I>S&&(S=I)}let p=S-b;g.sort((M,w)=>M-w);let P=g[Math.min(g.length-1,Math.floor(g.length*.9))];if(p>1e-9&&P/p<=Ot){let M=i.map(E=>{let X=0;for(let $e of E.pts)X+=u($e);return{row:E,radius:X/E.pts.length}}),w=0,I=0;for(let E of M)w+=E.radius,I+=E.row.focalDistance;w/=M.length,I/=M.length;let C=0;for(let E of M)C+=(E.radius-w)*(E.row.focalDistance-I);if(C<0)for(let E of M)E.radius=-E.radius;let T=1/0;for(let E of M)E.radius<T&&(T=E.radius);M.sort((E,X)=>E.radius-X.radius);let A=-1,O=-1/0,R=p/Math.max(1,M.length)*.5,J=[];for(let E of M)E.radius-O>R&&(A++,O=E.radius),E.row.ordinal=A,E.row.blockDepth=E.radius-T,J.push(E.row);return{sectionId:e,rows:J,blockCount:m}}}let f=[];for(let[,u]of h){let b=At(u);if(b){let S=p=>{let P=0;for(let M of p.pts)P+=M.x*b.x+M.y*b.y;return P/p.pts.length};u.sort((p,P)=>S(p)-S(P)),u.length>=2&&u[0].focalDistance>u[u.length-1].focalDistance&&u.reverse();let g=0;for(let p=0;p<u.length;p++)p>0&&(g+=fe(u[p-1].pts,u[p].pts)),u[p].ordinal=p,u[p].blockDepth=g,f.push(u[p])}else{let S=1/0;for(let g of u)g.focalDistance<S&&(S=g.focalDistance);u.sort((g,p)=>g.focalDistance-p.focalDistance);for(let g=0;g<u.length;g++)u[g].ordinal=g,u[g].blockDepth=Math.max(0,u[g].focalDistance-S),f.push(u[g])}}return{sectionId:e,rows:f,blockCount:m}}var Tt=/^\d{4}-\d{2}-\d{2}$/;function _t(e){let t=Date.parse(e);return Number.isFinite(t)?Tt.test(e)?t+864e5:t:null}function kt(e,t=Date.now()){if(e.validUntil===void 0){if(e.status!=="approved")return!0;let o=e.assessedAt?Date.parse(e.assessedAt):Number.NaN;return Number.isFinite(o)&&(t instanceof Date?t.getTime():t)<=o+366*864e5}let n=_t(e.validUntil);return n===null?!1:(t instanceof Date?t.getTime():t)<n}function Dt(e,t,n){return!(e.eventConfigurationId&&e.eventConfigurationId!==t||e.eventConfigurationVersion!==void 0&&e.eventConfigurationVersion!==n)}function Lt(e){return e.status!=="draft"&&e.status!=="retracted"}function jt(e,t){return e.status===void 0?t===void 0:e.status!=="approved"?!0:typeof t=="string"&&typeof e.basisSha256=="string"&&e.basisSha256===t}function De(e,t={}){return!!e&&Lt(e)&&Dt(e,t.activeConfigurationId,t.activeConfigurationVersion)&&jt(e,t.activeBasisSha256)&&kt(e,t.now)}function Fe(e){return e?e.accessibility&&e.accessibility.length?e.wheelchairSpaceType&&!e.accessibility.includes("wheelchair")?["wheelchair",...e.accessibility]:e.accessibility:e.wheelchairSpaceType?["wheelchair"]:e.accessible?["wheelchair"]:[]:[]}var $=Math.PI/180,Nt=9,N=16;function he(e,t,n,o){let r=n*$,i=Math.cos(r),s=Math.sin(r);return{x:o.x+e*i-t*s,y:o.y+e*s+t*i}}function ye(e){let{seatCount:t,seatSpacing:n,curve:o,rotation:r,origin:i}=e,s=[];if(e.path)return ee(e.path,t);if(t<=1)return t===1&&s.push({x:i.x,y:i.y}),s;if(o===0){for(let y=0;y<t;y++)s.push(he(y*n,0,r,i));return s}let c=o/(t-1)*$,l=n/(2*Math.sin(Math.abs(c)/2));for(let y=0;y<t;y++){let a=y*c,m=l*Math.sin(a),h=-l+l*Math.cos(a);s.push(he(m,h,r,i))}return s}function Ft(e){let t=new Map;if(e.overrides)for(let n of e.overrides)t.set(n.index,n);return t}function Bt(e){let t=new Set((e.overrides??[]).filter(n=>n.skip&&Number.isInteger(n.index)&&n.index>=0&&n.index<e.seatCount).map(n=>n.index));return Math.max(0,e.seatCount-t.size)}function Be(e,t){let n=Ft(e);return ye(e).map((o,r)=>{let i=n.get(r),s=Fe(i),c=Ee(e,r,i),l={...e.commercial,...i?.commercial};return{index:r,x:o.x+(i?.dx??0),y:o.y+(i?.dy??0),label:c,displayLabel:ae(e,r,t,i),categoryKey:i?.categoryKey??e.categoryKey,skipped:!!i?.skip,accessible:s.length>0,accessibility:s,wheelchairSpaceType:i?.wheelchairSpaceType,commercial:Object.values(l).some(y=>y!==void 0&&y!==!1&&y!=="")?l:void 0,glyph:i?.glyph,viewUrl:i?.viewFromSeatUrl??e.viewFromSeatUrl,viewMeta:i?.viewFromSeatUrl?i.viewFromSeatMeta:e.viewFromSeatMeta,labelStyle:i?.labelStyle}})}function pe(e){let t=[];for(let n of Be(e))n.skipped||t.push({id:`${e.id}:${n.index}`,label:n.label,displayLabel:n.displayLabel===n.label?void 0:n.displayLabel,x:n.x,y:n.y,rowId:e.id,categoryKey:n.categoryKey,accessible:n.accessible||void 0,accessibility:n.accessibility.length?n.accessibility:void 0,wheelchairSpaceType:n.wheelchairSpaceType,commercial:n.commercial,glyph:n.glyph,viewUrl:n.viewUrl,viewMeta:n.viewMeta,labelStyle:n.labelStyle});return t}function Ue(e){if(e.seatCountsBySide)return{...e.seatCountsBySide};let t=e.sides&&e.sides.length?e.sides:["top","bottom"],n=["top","bottom","left","right"].filter(i=>t.includes(i)),o={top:0,bottom:0,left:0,right:0};if(!n.length)return o;let r=Math.max(0,Math.round(e.seatCount));for(let i=0;i<r;i++)o[n[i%n.length]]+=1;return o}function xe(e){let t=[],n=Math.max(0,Math.round(e.seatCount));if(n===0)return t;let o=new Map((e.overrides??[]).map(a=>[a.index,a])),r=(a,m,h,x)=>{let d=o.get(a),f=Fe(d),u=d?.label??`${e.label}-${a+1}`,b=e.displayLabel??e.label;return{index:a,label:u,displayLabel:d?.displayLabel??`${b}-${a+1}`,x:m+(d?.dx??0),y:h+(d?.dy??0),categoryKey:d?.categoryKey??e.categoryKey,skipped:!!d?.skip,accessible:f.length>0,accessibility:f,wheelchairSpaceType:d?.wheelchairSpaceType,commercial:d?.commercial,glyph:d?.glyph,viewUrl:d?.viewFromSeatUrl,viewMeta:d?.viewFromSeatUrl?d.viewFromSeatMeta:void 0,labelStyle:d?.labelStyle,...x?{side:x}:{}}};if(e.shape==="round"){let a=(e.radius??40)+N,m=e.rotation*$,h=Math.max(0,Math.min(360,e.seatArc??360));if(h>=360||n===1){for(let u=0;u<n;u++){let b=m+u/n*2*Math.PI;t.push(r(u,e.center.x+a*Math.cos(b),e.center.y+a*Math.sin(b)))}return t}let x=h*$,d=(2*Math.PI-x)/2,f=m+d;for(let u=0;u<n;u++){let b=f+u/(n-1)*x;t.push(r(u,e.center.x+a*Math.cos(b),e.center.y+a*Math.sin(b)))}return t}let i=e.width??80,s=e.height??50,c=Ue(e),l=["top","bottom","left","right"],y=0;for(let a of l){let m=c[a];for(let h=0;h<m;h++){let x,d;a==="top"?(x=-i/2+(h+.5)*i/m,d=-s/2-N):a==="bottom"?(x=-i/2+(h+.5)*i/m,d=s/2+N):a==="left"?(x=-i/2-N,d=-s/2+(h+.5)*s/m):(x=i/2+N,d=-s/2+(h+.5)*s/m);let f=he(x,d,e.rotation,e.center);t.push(r(y++,f.x,f.y,a))}}return t}function Ut(e){return e.bookAsWhole||e.variableOccupancy?Math.max(0,Math.round(e.seatCount)):xe(e).filter(t=>!t.skipped).length}function He(e){return xe(e).filter(t=>!t.skipped).map(t=>({id:`${e.id}:${t.index}`,label:t.label,...t.displayLabel!==t.label?{displayLabel:t.displayLabel}:{},x:t.x,y:t.y,rowId:e.id,categoryKey:t.categoryKey,...t.accessible?{accessible:!0}:{},...t.accessibility.length?{accessibility:t.accessibility}:{},...t.wheelchairSpaceType?{wheelchairSpaceType:t.wheelchairSpaceType}:{},...t.commercial?{commercial:t.commercial}:{},...t.glyph?{glyph:t.glyph}:{},...t.viewUrl?{viewUrl:t.viewUrl}:{},...t.viewUrl&&t.viewMeta?{viewMeta:t.viewMeta}:{},...t.labelStyle?{labelStyle:t.labelStyle}:{}}))}function Xe(e){return[{id:`${e.id}:0`,label:e.label,...e.displayLabel&&e.displayLabel!==e.label?{displayLabel:e.displayLabel}:{},x:e.center.x,y:e.center.y,rowId:e.id,categoryKey:e.categoryKey,kind:"booth"}]}function me(e,t){let n=!1;for(let o=0,r=t.length-1;o<t.length;r=o++){let i=t[o].x,s=t[o].y,c=t[r].x,l=t[r].y;s>e.y!=l>e.y&&e.x<(c-i)*(e.y-s)/(l-s)+i&&(n=!n)}return n}function Ht(e,t){return t.some((n,o)=>{let r=t[(o+1)%t.length],i=(e.y-n.y)*(r.x-n.x)-(e.x-n.x)*(r.y-n.y);if(Math.abs(i)>1e-7)return!1;let s=(e.x-n.x)*(r.x-n.x)+(e.y-n.y)*(r.y-n.y),c=(r.x-n.x)**2+(r.y-n.y)**2;return s>=-1e-7&&s<=c+1e-7})}function U(e,t,n){return me(e,t)&&!(n??[]).some(o=>me(e,o)||Ht(e,o))}function Xt(e,t){return re(e,t).point}function de(e){if(!e.length)return{x:0,y:0};let t=0,n=0;for(let o of e)t+=o.x,n+=o.y;return{x:t/e.length,y:n/e.length}}function H(e){switch(e.type){case"row":{let t=pe(e);if(!t.length)return{x:e.origin.x,y:e.origin.y};let n=0,o=0;for(let r of t)n+=r.x,o+=r.y;return{x:n/t.length,y:o/t.length}}case"table":case"booth":return{x:e.center.x,y:e.center.y};case"gaArea":return de(e.points);case"section":return de(e.outline);case"text":return{x:e.position.x,y:e.position.y};case"shape":return e.points&&e.points.length?de(e.points):e.x!=null&&e.y!=null&&e.width!=null&&e.height!=null?{x:e.x+e.width/2,y:e.y+e.height/2}:{x:e.x??0,y:e.y??0};case"decorImage":return{x:e.x+e.width/2,y:e.y+e.height/2}}}function Le(e,t){return e.length===t.length&&e.every((n,o)=>n.x===t[o].x&&n.y===t[o].y)}function Gt(e,t){if(e.type!=="gaArea"||!Le(e.points,t.outline))return!1;let n=e.holes??[],o=t.holes??[];return n.length===o.length&&n.every((r,i)=>Le(r,o[i]))}function Ge(e,t){let n=e.filter(s=>s.type==="section"),o="referenceInventorySource"in t?t.referenceInventorySource?.logicalSectionId:void 0,r=H(t);return(o?n.find(s=>(s.logicalSectionId??s.id)===o&&(Gt(t,s)||U(r,s.outline,s.holes))):void 0)??n.find(s=>U(r,s.outline,s.holes))}function Ve(e){return e.floors&&e.floors.length?e.floors:[{id:"floor-0",name:"Main",objects:e.objects,focalPoint:e.focalPoint,referenceImage:e.referenceImage,backgroundImage:e.backgroundImage}]}function Vt(e,t){let n=Ve(e);return(t?n.find(o=>o.id===t):n[0])?.objects??[]}function Ye(e){return e.floors&&e.floors.length?e.floors.flatMap(t=>t.objects):e.objects}function W(e,t,n){let o=i=>({x:i.x+t,y:i.y+n}),r=i=>i.map(o);switch(e.type){case"row":return{...e,origin:o(e.origin)};case"table":case"booth":return{...e,center:o(e.center)};case"gaArea":return{...e,points:r(e.points),...e.holes?{holes:e.holes.map(r)}:{}};case"section":return{...e,outline:r(e.outline),...e.outlinePath?{outlinePath:Ie(e.outlinePath,t,n)}:{},...e.holes?{holes:e.holes.map(r)}:{}};case"text":return{...e,position:o(e.position)};case"shape":return{...e,...e.points?{points:r(e.points)}:{},...e.x!=null?{x:e.x+t}:{},...e.y!=null?{y:e.y+n}:{}};case"decorImage":return{...e,x:e.x+t,y:e.y+n}}}function Yt(e,t=900){if(!e.floors||e.floors.length<2)return e;let n=[];return e.floors.forEach((o,r)=>{let i=-r*t;for(let s of o.objects)n.push(i===0?s:W(s,0,i))}),{...e,objects:n,floors:void 0}}function zt(e){let t=e.floors;if(!t||t.length<2)return e;let n=ze(e),o=[];return t.forEach((r,i)=>{let{x:s,y:c}=n[i];for(let l of r.objects)o.push(W(l,s,c))}),{...e,objects:o,floors:void 0,referenceImage:void 0,backgroundImage:void 0}}function Kt(e){let t=e.floors;if(!t||t.length<2)return!1;let n=t.map(l=>q({...e,objects:l.objects,floors:void 0,focalPoint:l.focalPoint,referenceImage:void 0,backgroundImage:void 0}));if(n.some(l=>l.width<=0||l.height<=0))return!1;let[o,...r]=n;if(!r.every(l=>{let y=Math.min(o.x+o.width,l.x+l.width)-Math.max(o.x,l.x),a=Math.min(o.y+o.height,l.y+l.height)-Math.max(o.y,l.y);return y<=0||a<=0?!1:y>=Math.min(o.width,l.width)*.7&&a>=Math.min(o.height,l.height)*.7}))return!1;let s={x:o.x+o.width/2,y:o.y+o.height/2},c=Math.hypot(o.width,o.height)/2;return t.every(l=>l.objects.length?l.objects.filter(a=>{let m=H(a);return Math.hypot(m.x-s.x,m.y-s.y)>=c*.25}).length>=l.objects.length*.6:!1)}function $t(e){let t=e.floors;if(!t||t.length<2)return e;let n=t.map((l,y)=>({floor:l,index:y,height:l.baseHeightM??0})).sort((l,y)=>l.height-y.height||l.index-y.index),o=q({...e,objects:n[0].floor.objects,floors:void 0,focalPoint:n[0].floor.focalPoint,referenceImage:void 0,backgroundImage:void 0}),r={x:o.x+o.width/2,y:o.y+o.height/2},i=Math.max(48,Math.min(200,Math.max(o.width,o.height)*.06)),s=[],c=0;return n.forEach((l,y)=>{let a=l.floor.objects.map(f=>{let u=H(f);return Math.hypot(u.x-r.x,u.y-r.y)}),m=a.filter(f=>Number.isFinite(f)),h=m.length?Math.min(...m):0,x=m.length?Math.max(...m):0,d=y===0?0:Math.max(0,c+i-h);c=x+d,l.floor.objects.forEach((f,u)=>{if(y>0&&f.type==="shape"&&f.role==="stage")return;if(d===0){s.push(f);return}let b=a[u];if(!Number.isFinite(b)||b<1e-6){s.push(f);return}let S=H(f);s.push(W(f,(S.x-r.x)/b*d,(S.y-r.y)/b*d))})}),{...e,objects:s,floors:void 0,referenceImage:void 0,backgroundImage:void 0}}function ze(e){let t=e.floors;if(!t?.length)return[{x:0,y:0}];if(t.length<2)return t.map(()=>({x:0,y:0}));let n=t.map(h=>q({...e,objects:h.objects,floors:void 0,focalPoint:h.focalPoint,referenceImage:void 0,backgroundImage:void 0})),o=Math.max(1,...n.map(h=>Math.max(h.width,h.height))),r=Math.max(64,Math.min(240,o*.08)),i=16/10,s=null;for(let h=1;h<=t.length;h+=1){let x=Math.ceil(t.length/h),d=new Array(h).fill(0),f=new Array(x).fill(0);n.forEach((p,P)=>{let M=P%h,w=Math.floor(P/h);d[M]=Math.max(d[M],p.width),f[w]=Math.max(f[w],p.height)});let u=d.reduce((p,P)=>p+P,0)+r*(h-1),b=f.reduce((p,P)=>p+P,0)+r*(x-1),S=h*x-t.length,g=Math.abs(Math.log(u/Math.max(1,b)/i))+S*.04;(!s||g<s.score)&&(s={columns:h,columnWidths:d,rowHeights:f,score:g})}let{columns:c,columnWidths:l,rowHeights:y}=s,a=[],m=[];return l.reduce((h,x,d)=>(a[d]=h,h+x+r),0),y.reduce((h,x,d)=>(m[d]=h,h+x+r),0),t.map((h,x)=>{let d=n[x],f=x%c,u=Math.floor(x/c),b=a[f]+(l[f]-d.width)/2,S=m[u]+(y[u]-d.height)/2;return{x:b-d.x,y:S-d.y}})}function je(e,t,n,o,r,i,s,c,l){let y=[],a=ie(e),m=d=>!d?.eventConfigurationId||d.eventConfigurationId===o&&(d.eventConfigurationVersion===void 0||d.eventConfigurationVersion===l),h=d=>De(d,{activeConfigurationId:o,activeConfigurationVersion:l,activeBasisSha256:r,now:c}),x=(d,f)=>h(d)?{...d,coverage:f}:void 0;for(let d of e){let f=[];if(d.type==="row"?f=pe(d):d.type==="table"?f=He(d):d.type==="booth"&&(f=Xe(d)),!f.length)continue;for(let p of f)p.viewUrl&&!m(p.viewMeta)&&(p.viewUrl=void 0,p.viewMeta=void 0);if(d.type==="row"){let p=a.get(d.id);if(p){let P=new Map((d.overrides??[]).map(M=>[M.index,M]));for(let M of f){let w=Number(M.id.slice(M.id.lastIndexOf(":")+1));if(!Number.isInteger(w))continue;M.logicalRowId=p.groupId,M.logicalSeatIndex=p.adjacencyOffset+w,P.get(w)?.displayLabel||(M.displayLabel=ae(d,w,p)),!M.viewUrl&&p.viewFromSeatUrl&&m(p.viewFromSeatMeta)&&(M.viewUrl=p.viewFromSeatUrl,M.viewMeta=p.viewFromSeatMeta);let I=P.get(w)?.confidenceEvidence;M.confidenceEvidence=x(I,"exact-seat")??x(d.confidenceEvidence,"row-representative")??x(p.confidenceEvidence,"row-representative")}}}let u=Ge(e,d),b=u?.viewFromSeatUrl,g=(u?.zone?t?.find(p=>p.id===u.zone):void 0)?.focalPoint??n;for(let p of f){if(!p.confidenceEvidence){let P=Number(p.id.slice(p.id.lastIndexOf(":")+1)),M=(d.type==="row"||d.type==="table")&&Number.isInteger(P)?d.overrides?.find(w=>w.index===P)?.confidenceEvidence:void 0;p.confidenceEvidence=x(M,"exact-seat")??(d.type==="row"?x(d.confidenceEvidence,"row-representative"):void 0)}p.confidenceEvidence??=x(u?.confidenceEvidence,"section-representative")??(s?x(s.evidence,s.coverage):void 0),!p.viewUrl&&b&&m(u?.viewFromSeatMeta)&&(p.viewUrl=b,p.viewMeta=u?.viewFromSeatMeta),!p.viewUrl&&i&&m(i.meta)&&(p.viewUrl=i.url,p.viewMeta=i.meta),u&&(p.sectionId=u.logicalSectionId??u.id),u?.zone&&(p.zoneId=u.zone),g&&(p.focalPoint={...g})}y.push(...f)}return y}function Wt(e,t={}){if(e.floors?.length){let o=[];for(let r of e.floors){let i=r.focalPoint??e.focalPoint,s=r.viewFromSeatUrl?{url:r.viewFromSeatUrl,meta:r.viewFromSeatMeta}:e.viewFromSeatUrl?{url:e.viewFromSeatUrl,meta:e.viewFromSeatMeta}:void 0,c=r.confidenceEvidence?{evidence:r.confidenceEvidence,coverage:"floor-representative"}:e.confidenceEvidence?{evidence:e.confidenceEvidence,coverage:"venue-representative"}:void 0,l=je(r.objects,e.zones,i,e.eventConfigurationId,e.confidenceBasisSha256,s,c,t.now,t.eventConfigurationVersion??e.eventConfigurationVersion);t.resolveEyeHeights!==!1&&Ne(r.objects,r.focalPoint??e.focalPoint,r.baseHeightM??0,l);for(let y of l)y.floorId=r.id;o.push(...l)}return o}let n=je(e.objects,e.zones,e.focalPoint,e.eventConfigurationId,e.confidenceBasisSha256,e.viewFromSeatUrl?{url:e.viewFromSeatUrl,meta:e.viewFromSeatMeta}:void 0,e.confidenceEvidence?{evidence:e.confidenceEvidence,coverage:"venue-representative"}:void 0,t.now,t.eventConfigurationVersion??e.eventConfigurationVersion);return t.resolveEyeHeights!==!1&&Ne(e.objects,e.focalPoint,t.floorBaseHeightM??0,n),n}function Ne(e,t,n,o){let r=e.filter(a=>a.type==="section"),i=n>0||r.some(a=>a.height!==void 0||a.rake!==void 0||(a.elevation??0)>0);if(!r.length||!i||!t){for(let a of o)a.eyeHeightM=n+z;return}let s=new Array(o.length),c=new Map,l=new Map;for(let a=0;a<o.length;a++){let m=o[a],x=(m.sectionId?r.find(f=>f.id===m.sectionId)??r.find(f=>f.logicalSectionId===m.sectionId&&U({x:m.x,y:m.y},f.outline,f.holes)):void 0)??r.find(f=>U({x:m.x,y:m.y},f.outline,f.holes))??null;if(s[a]=x,!x)continue;c.has(x.id)||c.set(x.id,Ae(x,{floorBaseHeightM:n}));let d=l.get(x.id);d?d.push(a):l.set(x.id,[a])}let y=new Array(o.length).fill(void 0);for(let[a,m]of l){let h=c.get(a);if(!h)continue;let x=h.rake>0?Math.tan(h.rake*Math.PI/180):0,d=ke(a,o,m,t);for(let f of d.rows){let u=f.blockDepth*Y*x,b=h.height+u;for(let S of f.seatIndices)y[S]=b}}for(let a=0;a<o.length;a++){let m=o[a],h=s[a];if(!h){m.eyeHeightM=n+z;continue}let x=c.get(h.id);m.eyeHeightM=(y[a]??x.height)+z}}var K=40;function q(e){let t=1/0,n=1/0,o=-1/0,r=-1/0,i=(s,c)=>{s<t&&(t=s),c<n&&(n=c),s>o&&(o=s),c>r&&(r=c)};for(let s of Ye(e))if(s.type==="row"){let c=new Map((s.overrides??[]).map(l=>[l.index,l]));ye(s).forEach((l,y)=>{let a=c.get(y);a?.skip||i(l.x+(a?.dx??0),l.y+(a?.dy??0))})}else if(s.type==="gaArea")for(let c of s.points)i(c.x,c.y);else if(s.type==="section")for(let c of s.outline)i(c.x,c.y);else if(s.type==="decorImage")i(s.x,s.y),i(s.x+s.width,s.y+s.height);else if(s.type==="shape")if(s.points&&s.points.length)for(let c of s.points)i(c.x,c.y);else s.x!=null&&s.y!=null&&s.width!=null&&s.height!=null&&(i(s.x,s.y),i(s.x+s.width,s.y+s.height));else if(s.type==="table"){let c=N+Nt,l=s.shape==="round"?(s.radius??40)+c:Math.max((s.width??80)/2,(s.height??50)/2)+c;i(s.center.x-l,s.center.y-l),i(s.center.x+l,s.center.y+l)}else if(s.type==="booth"){let c=Math.max(s.width,s.height)/2;i(s.center.x-c,s.center.y-c),i(s.center.x+c,s.center.y+c)}else if(s.type==="text"){let c=te(s);i(s.position.x,s.position.y),i(s.position.x+c.width,s.position.y+c.height)}for(let s of[e.referenceImage,e.backgroundImage]){if(!s)continue;let{center:c,width:l}=s,y=l*3/4;i(c.x-l/2,c.y-y/2),i(c.x+l/2,c.y+y/2)}if(!isFinite(t)){let s=e.focalPoint??{x:0,y:0};return{x:s.x-200,y:s.y-200,width:400,height:400}}return{x:t-K,y:n-K,width:o-t+K*2,height:r-n+K*2}}function qt(e,t=0){let n=Math.max(1,e.width,e.height),o={x:e.x+e.width/2,y:e.y+e.height/2},r=n*1.55,i=Math.max(n*.82,Math.max(0,t)+n*.45);return{target:o,distance:r,height:i,focalLength:Math.hypot(r,i),yawRad:-8*Math.PI/180}}function Q(e,t,n=0){let o=t.x-e.target.x,r=t.y-e.target.y,i=Math.cos(e.yawRad),s=Math.sin(e.yawRad),c=o*i-r*s,y=o*s+r*i-e.distance,a=n-e.height,m=Math.hypot(e.distance,e.height),h=(-e.distance*y-e.height*a)/m,x=(-e.height*y+e.distance*a)/m,d=Math.max(m*.08,h),f=e.focalLength/d;return{x:e.target.x+c*f,y:e.target.y-x*f,depth:d,scale:f}}function Qt(e,t){return{x:e.a*t.x+e.c*t.y+e.e,y:e.b*t.x+e.d*t.y+e.f}}function Jt(e){let t=e.a*e.d-e.b*e.c;if(!Number.isFinite(t)||Math.abs(t)<1e-9)throw new Error("perspective projection produced a singular affine");let n=e.d/t,o=-e.b/t,r=-e.c/t,i=e.a/t;return{a:n,b:o,c:r,d:i,e:-(n*e.e+r*e.f),f:-(o*e.e+i*e.f)}}function Zt(e,t){return{a:e.a*t.a+e.c*t.b,b:e.b*t.a+e.d*t.b,c:e.a*t.c+e.c*t.d,d:e.b*t.c+e.d*t.d,e:e.a*t.e+e.c*t.f+e.e,f:e.b*t.e+e.d*t.f+e.f}}function en(e,t,n=()=>0){let o=Q(e,t,n(t)),r={x:t.x+1,y:t.y},i={x:t.x,y:t.y+1},s=Q(e,r,n(r)),c=Q(e,i,n(i)),l=s.x-o.x,y=s.y-o.y,a=c.x-o.x,m=c.y-o.y;return{a:l,b:y,c:a,d:m,e:o.x-l*t.x-a*t.y,f:o.y-y*t.x-m*t.y}}function tn(e){let t=Math.hypot(e.a,e.b),n=e.a*e.d-e.b*e.c;return{rotationDeg:Math.atan2(e.b,e.a)*180/Math.PI,scaleX:t,scaleY:n/Math.max(t,1e-9),skewX:(e.a*e.c+e.b*e.d)/Math.max(n,1e-9)}}var Ke=9;function nn(e){if(e.kind==="circle")return{hx:e.r,hy:e.r};let t=e.width/2,n=e.height/2,o=e.rotation??0;if(!o)return{hx:t,hy:n};let r=o*Math.PI/180,i=Math.abs(Math.cos(r)),s=Math.abs(Math.sin(r));return{hx:t*i+n*s,hy:t*s+n*i}}function on(e,t,n){let o=t-e.seat.x,r=n-e.seat.y;if(e.shape.kind==="circle")return o*o+r*r<=e.shape.r*e.shape.r;let i=e.shape.rotation??0,s=o,c=r;if(i){let l=-i*Math.PI/180,y=Math.cos(l),a=Math.sin(l);s=o*y-r*a,c=o*a+r*y}return Math.abs(s)<=e.shape.width/2&&Math.abs(c)<=e.shape.height/2}function rn(e,t,n,o,r){if(e.shape.kind==="circle"){let d=Math.min(Math.max(e.seat.x,t),o),f=Math.min(Math.max(e.seat.y,n),r),u=e.seat.x-d,b=e.seat.y-f;return u*u+b*b<=e.shape.r*e.shape.r}let i=e.shape.rotation??0;if(!i)return e.seat.x-e.hx<=o&&e.seat.x+e.hx>=t&&e.seat.y-e.hy<=r&&e.seat.y+e.hy>=n;let s=i*Math.PI/180,c=Math.cos(s),l=Math.sin(s),y=e.shape.width/2,a=e.shape.height/2,m=[[-y,-a],[y,-a],[y,a],[-y,a]].map(([d,f])=>[e.seat.x+d*c-f*l,e.seat.y+d*l+f*c]),h=[[t,n],[o,n],[o,r],[t,r]],x=[[1,0],[0,1],[c,l],[-l,c]];for(let[d,f]of x){let u=1/0,b=-1/0;for(let[p,P]of m){let M=p*d+P*f;M<u&&(u=M),M>b&&(b=M)}let S=1/0,g=-1/0;for(let[p,P]of h){let M=p*d+P*f;M<S&&(S=M),M>g&&(g=M)}if(b<S||g<u)return!1}return!0}function sn(e,t={}){let n=t.seatRadius??Ke,o=e.length,r=new Array(o),i=1/0,s=1/0,c=-1/0,l=-1/0,y=0;for(let M=0;M<o;M++){let w=e[M],I=t.shapeOf?.(w)??{kind:"circle",r:n},{hx:C,hy:v}=nn(I);r[M]={seat:w,shape:I,hx:C,hy:v},w.x-C<i&&(i=w.x-C),w.y-v<s&&(s=w.y-v),w.x+C>c&&(c=w.x+C),w.y+v>l&&(l=w.y+v),C>y&&(y=C),v>y&&(y=v)}o===0&&(i=0,s=0,c=0,l=0);let a=y>0?y*4:1,m=Math.max(c-i,0),h=Math.max(l-s,0),x=Math.max(64,t.maxCells??o*4),d=a,f=Math.max(1,Math.ceil(m/d)||1),u=Math.max(1,Math.ceil(h/d)||1);for(;f*u>x&&(f>1||u>1);)d*=2,f=Math.max(1,Math.ceil(m/d)||1),u=Math.max(1,Math.ceil(h/d)||1);let b=f*u,S=new Int32Array(b+1),g=0;for(let M=0;M<o;M++){let w=r[M],I=D(Math.floor((w.seat.x-w.hx-i)/d),0,f-1),C=D(Math.floor((w.seat.x+w.hx-i)/d),0,f-1),v=D(Math.floor((w.seat.y-w.hy-s)/d),0,u-1),T=D(Math.floor((w.seat.y+w.hy-s)/d),0,u-1);for(let A=v;A<=T;A++)for(let O=I;O<=C;O++)S[A*f+O+1]++,g++}for(let M=0;M<b;M++)S[M+1]+=S[M];let p=new Int32Array(g),P=S.slice(0,b);for(let M=0;M<o;M++){let w=r[M],I=D(Math.floor((w.seat.x-w.hx-i)/d),0,f-1),C=D(Math.floor((w.seat.x+w.hx-i)/d),0,f-1),v=D(Math.floor((w.seat.y-w.hy-s)/d),0,u-1),T=D(Math.floor((w.seat.y+w.hy-s)/d),0,u-1);for(let A=v;A<=T;A++)for(let O=I;O<=C;O++){let R=A*f+O;p[P[R]++]=M}}return{seats:e,entries:r,minX:i,minY:s,cell:d,cols:f,rows:u,cellStart:S,items:p,stamp:new Int32Array(o),epoch:0}}function cn(e,t,n={}){let{cols:o,rows:r,cell:i,minX:s,minY:c,cellStart:l,items:y,entries:a}=e,m=Math.floor((t.x-s)/i),h=Math.floor((t.y-c)/i);if(m<0||h<0||m>=o||h>=r)return null;let x=h*o+m,d=l[x+1],f=-1,u=1/0;for(let b=l[x];b<d;b++){let S=y[b],g=a[S];if(n.filter&&!n.filter(g.seat.id,g.seat)||!on(g,t.x,t.y))continue;let p=t.x-g.seat.x,P=t.y-g.seat.y,M=p*p+P*P;(M<u||M===u&&S<f)&&(u=M,f=S)}return f<0?null:a[f].seat.id}function an(e,t,n,o={}){if(!(n>0))return null;let{cols:r,rows:i,cell:s,minX:c,minY:l,cellStart:y,items:a,entries:m}=e,h=Math.max(0,Math.floor((t.x-n-c)/s)),x=Math.min(r-1,Math.floor((t.x+n-c)/s)),d=Math.max(0,Math.floor((t.y-n-l)/s)),f=Math.min(i-1,Math.floor((t.y+n-l)/s));if(h>x||d>f)return null;let u=-1,b=n*n,S=e.stamp,g=++e.epoch;for(let p=d;p<=f;p++){let P=p*r;for(let M=h;M<=x;M++){let w=P+M,I=y[w+1];for(let C=y[w];C<I;C++){let v=a[C];if(S[v]===g)continue;S[v]=g;let T=m[v];if(o.filter&&!o.filter(T.seat.id,T.seat))continue;let A=t.x-T.seat.x,O=t.y-T.seat.y,R=A*A+O*O;(R<b||R===b&&v<u)&&(b=R,u=v)}}}return u<0?null:m[u].seat.id}function ln(e,t,n={}){let o=Math.min(t.x,t.x+t.width),r=Math.max(t.x,t.x+t.width),i=Math.min(t.y,t.y+t.height),s=Math.max(t.y,t.y+t.height),c=n.mode??"center",{cols:l,rows:y,cell:a,minX:m,minY:h,cellStart:x,items:d,entries:f}=e,u=Math.max(0,Math.floor((o-m)/a)),b=Math.min(l-1,Math.floor((r-m)/a)),S=Math.max(0,Math.floor((i-h)/a)),g=Math.min(y-1,Math.floor((s-h)/a));if(u>b||S>g)return[];let p=[],P=e.stamp,M=++e.epoch;for(let w=S;w<=g;w++){let I=w*l;for(let C=u;C<=b;C++){let v=I+C,T=x[v+1];for(let A=x[v];A<T;A++){let O=d[A];if(P[O]===M)continue;P[O]=M;let R=f[O];if(n.filter&&!n.filter(R.seat.id,R.seat))continue;(c==="center"?R.seat.x>=o&&R.seat.x<=r&&R.seat.y>=i&&R.seat.y<=s:rn(R,o,i,r,s))&&p.push(O)}}}return p.sort((w,I)=>w-I),p.map(w=>f[w].seat.id)}function un(e){let t=e.cols*e.rows,n=0,o=0;for(let i=0;i<t;i++){let s=e.cellStart[i+1]-e.cellStart[i];s>0&&n++,s>o&&(o=s)}let r=e.items.length;return{cell:e.cell,cols:e.cols,rows:e.rows,cells:t,occupiedCells:n,refs:r,maxPerCell:o,meanPerOccupiedCell:n?r/n:0}}0&&(module.exports={DEFAULT_SEAT_RADIUS,TABLE_SEAT_OFFSET,TEXT_BACKGROUND_PADDING_MAX,TEXT_BACKGROUND_RADIUS_MAX,TEXT_LETTER_SPACING_MAX,TEXT_LETTER_SPACING_MIN,TEXT_LINE_HEIGHT_MAX,TEXT_LINE_HEIGHT_MIN,TEXT_OPACITY_MIN,TEXT_WIDTH_MAX,TEXT_WIDTH_MIN,allObjects,applyAffine,buildAisleHoles,buildSeatIndex,buildSectionShell,chartBounds,composeAffine,createPerspectiveCamera,cubicPoint,decomposeAffineLinear,distanceToRings,distributeAlongCubic,expandBooth,expandChart,expandRow,expandRowSlots,expandTable,expandTableSlots,floorObjects,floorOverviewTranslations,floorsOf,floorsShareFootprint,gridStats,hitTest,invertAffine,layoutFloorOverview,layoutFloorRings,nearestWithin,objectCenter,owningSectionForObject,perspectiveTangentAffine,pointInPolygon,pointInPolygonWithHoles,polygonArea,polygonInscribedAnchor,polygonLabelPoint,polygonNetArea,projectPerspectivePoint,queryRect,resolveSegmentedRowGroups,rowInventoryCount,rowSeatPositions,segmentedRowComponentSeats,segmentedRowComponents,segmentedRowSeatTotal,smoothCubicThroughMiddle,stackFloors,tableInventoryCount,tableSeatCountsBySide,textLayoutMetrics,translateObject});
|
|
1
|
+
"use strict";var Z=Object.defineProperty;var We=Object.getOwnPropertyDescriptor;var qe=Object.getOwnPropertyNames;var Qe=Object.prototype.hasOwnProperty;var Je=(e,t)=>{for(var n in t)Z(e,n,{get:t[n],enumerable:!0})},Ze=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of qe(t))!Qe.call(e,r)&&r!==n&&Z(e,r,{get:()=>t[r],enumerable:!(o=We(t,r))||o.enumerable});return e};var et=e=>Ze(Z({},"__esModule",{value:!0}),e);var fn={};Je(fn,{DEFAULT_SEAT_RADIUS:()=>Ke,TABLE_SEAT_OFFSET:()=>N,TEXT_BACKGROUND_PADDING_MAX:()=>vn,TEXT_BACKGROUND_RADIUS_MAX:()=>In,TEXT_LETTER_SPACING_MAX:()=>wn,TEXT_LETTER_SPACING_MIN:()=>Sn,TEXT_LINE_HEIGHT_MAX:()=>Mn,TEXT_LINE_HEIGHT_MIN:()=>gn,TEXT_OPACITY_MIN:()=>Pn,TEXT_WIDTH_MAX:()=>bn,TEXT_WIDTH_MIN:()=>xn,allObjects:()=>Ye,applyAffine:()=>Qt,buildAisleHoles:()=>ot,buildSeatIndex:()=>sn,buildSectionShell:()=>nt,chartBounds:()=>q,composeAffine:()=>Zt,createPerspectiveCamera:()=>qt,cubicPoint:()=>G,decomposeAffineLinear:()=>tn,distanceToRings:()=>ve,distributeAlongCubic:()=>ee,expandBooth:()=>Xe,expandChart:()=>Wt,expandRow:()=>pe,expandRowSlots:()=>Be,expandTable:()=>He,expandTableSlots:()=>xe,floorObjects:()=>Vt,floorOverviewTranslations:()=>ze,floorsOf:()=>Ve,floorsShareFootprint:()=>Kt,gridStats:()=>un,hitTest:()=>cn,invertAffine:()=>Jt,layoutFloorOverview:()=>zt,layoutFloorRings:()=>$t,nearestWithin:()=>an,objectCenter:()=>H,owningSectionForObject:()=>Ge,perspectiveTangentAffine:()=>en,pointInPolygon:()=>me,pointInPolygonWithHoles:()=>U,polygonArea:()=>oe,polygonInscribedAnchor:()=>re,polygonLabelPoint:()=>Xt,polygonNetArea:()=>ct,projectPerspectivePoint:()=>Q,queryRect:()=>ln,resolveSegmentedRowGroups:()=>ie,rowInventoryCount:()=>Bt,rowSeatPositions:()=>ye,segmentedRowComponentSeats:()=>ut,segmentedRowComponents:()=>lt,segmentedRowSeatTotal:()=>ft,smoothCubicThroughMiddle:()=>tt,stackFloors:()=>Yt,tableInventoryCount:()=>Ut,tableSeatCountsBySide:()=>Ue,textLayoutMetrics:()=>te,translateObject:()=>W});module.exports=et(fn);var hn=Math.PI/180;function j(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function L(e,t,n){return{x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n}}function G(e,t){let n=1-t,o=n*n*n,r=3*n*n*t,i=3*n*t*t,c=t*t*t;return{x:o*e.start.x+r*e.control1.x+i*e.control2.x+c*e.end.x,y:o*e.start.y+r*e.control1.y+i*e.control2.y+c*e.end.y}}function tt(e,t,n){let o={x:(e.x+t.x)/2,y:(e.y+t.y)/2},r={x:(n.x-o.x)*4/3,y:(n.y-o.y)*4/3};return{start:{...e},control1:{x:e.x+(t.x-e.x)/3+r.x,y:e.y+(t.y-e.y)/3+r.y},control2:{x:e.x+(t.x-e.x)*2/3+r.x,y:e.y+(t.y-e.y)*2/3+r.y},end:{...t}}}function ee(e,t,n=192){if(!Number.isInteger(t)||t<1)throw new Error("Path point count must be a positive integer");if(t===1)return[G(e,.5)];let o=Array.from({length:n+1},(s,u)=>G(e,u/n)),r=new Float64Array(o.length);for(let s=1;s<o.length;s+=1){let u=o[s].x-o[s-1].x,a=o[s].y-o[s-1].y;r[s]=r[s-1]+Math.hypot(u,a)}let i=r[r.length-1];if(i<=1e-9)return Array.from({length:t},()=>({...e.start}));let c=[],l=1;for(let s=0;s<t;s+=1){let u=i*s/(t-1);for(;l<r.length-1&&r[l]<u;)l+=1;let a=r[l-1],y=r[l],d=y===a?0:(u-a)/(y-a);c.push({x:o[l-1].x+(o[l].x-o[l-1].x)*d,y:o[l-1].y+(o[l].y-o[l-1].y)*d})}return c}function _(e,t){return{x:e.x+t.x,y:e.y+t.y}}function B(e,t){return{x:e.x-t.x,y:e.y-t.y}}function k(e,t){return{x:e.x*t,y:e.y*t}}function V(e,t=13){return Array.from({length:t},(n,o)=>G(e,o/(t-1)))}function be(e,t){let n=Math.max(0,Math.min(1,t))*(e.length-1),o=Math.min(e.length-2,Math.floor(n));return L(e[o],e[o+1],n-o)}function ge(e,t,n){let o=Math.max(0,Math.min(1,t)),r=Math.max(o,Math.min(1,n)),i=[be(e,o)];for(let c=1;c<e.length-1;c+=1){let l=c/(e.length-1);l>o+1e-9&&l<r-1e-9&&i.push(e[c])}return i.push(be(e,r)),i}function Me(e,t){let n=[[0,1],[1,2],[2,3],[3,0]],o=0,r=Number.POSITIVE_INFINITY;n.forEach(([d,x],m)=>{let h=j(L(e[d],e[x],.5),t);h<r&&(r=h,o=m)});let i=e[o],c=e[(o+1)%4],l=e[(o+2)%4],s=e[(o+3)%4],u=L(i,c,.5),a=B(t,u),y=Math.max(1e-9,Math.hypot(a.x,a.y));return{p0:i,p1:c,p2:l,p3:s,normal:k(a,1/y),depth:(j(i,s)+j(c,l))/2}}function Se(e){let{p0:t,p1:n,p2:o,p3:r,normal:i,depth:c}=e,l=B(n,t),s=B(o,r),u=c*.22,a=c*.12;return{nearPath:{start:t,control1:_(_(t,k(l,1/3)),k(i,u)),control2:_(_(t,k(l,2/3)),k(i,u)),end:n},farPath:{start:o,control1:_(_(r,k(s,2/3)),k(i,a)),control2:_(_(r,k(s,1/3)),k(i,a)),end:r}}}function nt(e,t,n){if(e.length!==4)throw new Error("A section shell requires four mapped bounds corners");let o=e.reduce((m,h)=>_(m,h),{x:0,y:0});o.x/=4,o.y/=4;let r=j(e[0],e[1]),i=j(e[0],e[3]),c=n==="auto"?r>i*1.25&&j(o,t)>i?"bezier":"tapered":n;if(c==="rectangle")return{mode:c,outline:e.map(m=>({...m}))};let l=Me(e,t),{p0:s,p1:u,p2:a,p3:y}=l;if(c==="tapered")return{mode:c,outline:[_(s,k(B(u,s),.14)),_(s,k(B(u,s),1-.14)),a,y]};let{nearPath:d,farPath:x}=Se(l);return{mode:c,outline:[...V(d),...V(x).slice(1)]}}function ot(e,t,n,o){if(e.length!==4)throw new Error("Aisle generation requires four mapped bounds corners");if(!Number.isInteger(n)||n<0||n>3)throw new Error("Aisle count must be an integer from 0 to 3");if(n===0)return[];let r=Me(e,t),{p0:i,p1:c,p2:l,p3:s}=r,u=o==="bezier"?Se(r):null,a=u?V(u.nearPath):null,y=u?V(u.farPath).reverse():null,d=Math.min(.055,.18/(n+1));return Array.from({length:n},(x,m)=>{let h=(m+1)/(n+1),f=h-d/2,b=h+d/2;return a&&y?[...ge(a,f,b),...ge(y,f,b).reverse()]:[L(i,c,f),L(i,c,b),L(s,l,b),L(s,l,f)]})}var xn=40,bn=1200,gn=.8,Mn=3,Sn=-2,wn=20,Pn=.1,vn=40,In=40,we=e=>Math.max(1,e.fontSize*.6+(e.letterSpacing??0));function rt(e,t){let n=e.text.split(/\r?\n/);if(!e.width)return Math.max(1,n.length);let o=Math.max(1,Math.floor(t/we(e))),r=0;for(let i of n){if(!i.length){r+=1;continue}let c=0;for(let l of i.split(/\s+/)){let s=l.length;c&&c+1+s<=o?c+=1+s:(r+=Math.max(1,Math.ceil(s/o)),c=s%o)}}return Math.max(1,r)}function te(e){let t=e.background?.padding??0,n=e.text.split(/\r?\n/),o=Math.max(1,...n.map(l=>l.length))*we(e),r=e.width??o+t*2,i=Math.max(1,r-t*2),c=rt(e,i);return{width:r,height:c*e.fontSize*(e.lineHeight??1.2)+t*2,lineCount:c,padding:t}}function it(e,t,n){let o=n.x-t.x,r=n.y-t.y,i=o*o+r*r,c=i?Math.max(0,Math.min(1,((e.x-t.x)*o+(e.y-t.y)*r)/i)):0;return Math.hypot(e.x-(t.x+c*o),e.y-(t.y+c*r))}function ve(e,t){let n=1/0;for(let o of t)if(!(o.length<2))for(let r=0,i=o.length-1;r<o.length;i=r++){let c=it(e,o[i],o[r]);c<n&&(n=c)}return n}function Pe(e,t){let n=!1;for(let o=0,r=t.length-1;o<t.length;r=o++){let i=t[o].x,c=t[o].y,l=t[r].x,s=t[r].y;c>e.y!=s>e.y&&e.x<(l-i)*(e.y-c)/(s-c)+i&&(n=!n)}return n}function st(e,t,n){let o=Pe(e,t)&&!n.some(i=>Pe(e,i)),r=ve(e,[t,...n]);return o?r:-r}function F(e,t,n,o,r){let i=st({x:e,y:t},o,r);return{x:e,y:t,h:n,d:i,max:i+n*Math.SQRT2}}var ne=class{constructor(){this.items=[]}get size(){return this.items.length}push(t){let n=this.items;n.push(t);let o=n.length-1;for(;o>0;){let r=o-1>>1;if(n[r].max>=n[o].max)break;[n[r],n[o]]=[n[o],n[r]],o=r}}pop(){let t=this.items,n=t[0],o=t.pop();if(t.length&&o){t[0]=o;let r=0;for(;;){let i=r*2+1,c=i+1,l=r;if(i<t.length&&t[i].max>t[l].max&&(l=i),c<t.length&&t[c].max>t[l].max&&(l=c),l===r)break;[t[l],t[r]]=[t[r],t[l]],r=l}}return n}};function oe(e){if(e.length<3)return 0;let t=0;for(let n=0,o=e.length-1;n<e.length;o=n++)t+=(e[o].x+e[n].x)*(e[o].y-e[n].y);return Math.abs(t)/2}function ct(e,t){return Math.max(0,oe(e)-(t??[]).reduce((n,o)=>n+oe(o),0))}function re(e,t){let n=t??[];if(!e.length)return{point:{x:0,y:0},radius:0};if(e.length<3){let h=e.reduce((b,S)=>b+S.x,0)/e.length,f=e.reduce((b,S)=>b+S.y,0)/e.length;return{point:{x:h,y:f},radius:0}}let o=1/0,r=1/0,i=-1/0,c=-1/0;for(let h of e)h.x<o&&(o=h.x),h.y<r&&(r=h.y),h.x>i&&(i=h.x),h.y>c&&(c=h.y);let l=i-o,s=c-r,u=Math.min(l,s);if(!(u>0))return{point:{x:(o+i)/2,y:(r+c)/2},radius:0};let a=Math.max(l,s)/150,y=new ne,d=u/2;for(let h=o;h<i;h+=u)for(let f=r;f<c;f+=u)y.push(F(h+d,f+d,d,e,n));let x=F(o+l/2,r+s/2,0,e,n),m=0;for(;y.size;){let h=y.pop();if(!h)break;h.d>x.d&&(x=h),!(h.max-x.d<=a)&&(m>=4e3||(m+=1,d=h.h/2,y.push(F(h.x-d,h.y-d,d,e,n)),y.push(F(h.x+d,h.y-d,d,e,n)),y.push(F(h.x-d,h.y+d,d,e,n)),y.push(F(h.x+d,h.y+d,d,e,n))))}return{point:{x:x.x,y:x.y},radius:Math.max(0,x.d)}}function D(e,t,n){return e<t?t:e>n?n:e}var An=Math.PI*2;function Ie(e,t,n){return at(e,r=>({x:r.x+t,y:r.y+n}))}function at(e,t,n=1,o=!1){return{...e,start:t(e.start),segments:e.segments.map(r=>r.kind==="line"?{...r,end:t(r.end)}:r.kind==="arc"?{...r,center:t(r.center),radius:r.radius*Math.abs(n),clockwise:o?!r.clockwise:r.clockwise,end:t(r.end)}:{...r,control1:t(r.control1),control2:t(r.control2),end:t(r.end)})}}var Rn=4/3;function lt(e,t,n){let o=[];for(let r=0;r<e.length-1;r+=1){let i=e[r],c=e[r+1],l=Math.hypot(c.x-i.x,c.y-i.y);if(l<=0)continue;let s=Math.max(1,Math.round(l/n)),u=l/s,a=Math.atan2(c.y-i.y,c.x-i.x),y=r===0,x=(r>0?t[r-1]:void 0)==="break"?2:1,m=y?{...i}:{x:i.x+Math.cos(a)*u*x,y:i.y+Math.sin(a)*u*x},h=y?s+1:Math.max(1,s-(x-1));o.push({origin:m,rotation:a*180/Math.PI,seatCount:h,seatSpacing:u})}return o}function ut(e){let t=e.rotation*Math.PI/180,n={x:Math.cos(t),y:Math.sin(t)};return Array.from({length:e.seatCount},(o,r)=>({x:e.origin.x+n.x*r*e.seatSpacing,y:e.origin.y+n.y*r*e.seatSpacing}))}function ft(e){return e.reduce((t,n)=>t+n.seatCount,0)}function ie(e){let t=new Map,n=new Map;for(let o of e){if(o.type!=="row"||!o.segmentedRow)continue;let r=n.get(o.segmentedRow.groupId)??[];r.push(o),n.set(o.segmentedRow.groupId,r)}for(let[o,r]of n){let i=r.slice().sort((d,x)=>d.segmentedRow.componentIndex-x.segmentedRow.componentIndex),c=i[0]?.segmentedRow?.componentCount??0,l=i[0]?.segmentedRow;if(!l||!(c>=2&&i.length===c&&l?.boundaryBefore==="start"&&i.every((d,x)=>d.segmentedRow?.kind==="segmented-row-v1"&&d.segmentedRow.groupId===o&&d.segmentedRow.componentCount===c&&d.segmentedRow.componentIndex===x&&d.segmentedRow.repeatLabelOnComponents===l.repeatLabelOnComponents&&(x===0?d.segmentedRow.boundaryBefore==="start":d.segmentedRow.boundaryBefore!=="start")&&d.segmentedRow.displayLabel===l.displayLabel)))continue;let u=i.reduce((d,x)=>d+x.seatCount,0),a=0,y=0;for(let d of i)d.segmentedRow.boundaryBefore==="break"&&(a+=1),t.set(d.id,{groupId:o,adjacencyOffset:a,displayOffset:y,displayLabel:l.displayLabel,totalSeats:u,canonical:i[0],viewFromSeatUrl:l.viewFromSeatUrl,viewFromSeatMeta:l.viewFromSeatMeta,confidenceEvidence:l.confidenceEvidence}),a+=d.seatCount,y+=d.seatCount}return t}var dt="ABCDEFGHIJKLMNOPQRSTUVWXYZ";var ht="abcdefghijklmnopqrstuvwxyz";function mt(e,t){let n=t.length,o=e+1,r="";for(;o>0;){o-=1;let i=o%n;r=t[i]+r,o=Math.floor(o/n)}return r}function se(e,t=!1){let n=t?ht:dt;return mt(Math.max(0,Math.floor(e)-1),n)}var yt=[[1e3,"M"],[900,"CM"],[500,"D"],[400,"CD"],[100,"C"],[90,"XC"],[50,"L"],[40,"XL"],[10,"X"],[9,"IX"],[5,"V"],[4,"IV"],[1,"I"]];function Ce(e){if(!Number.isFinite(e)||e<=0)return String(e);let t=Math.floor(e),n="";for(let[o,r]of yt)for(;t>=o;)n+=r,t-=o;return n}function pt(e){let t=new Array(e);return Array.from({length:e},(n,o)=>o).sort((n,o)=>Math.abs(2*n-(e-1))-Math.abs(2*o-(e-1))||n-o).forEach((n,o)=>t[n]=o),t}function ce(e,t){let n=e.seatLabelStart??1,o=e.seatNumbering?.direction??"ltr",r=e.seatNumbering?.step??1,i=e.seatNumbering?.scheme??"decimal",c=e.seatNumbering?.prefix??"",l=e.seatNumbering?.endAt,s=e.seatCount;if(i==="updown"||i==="updown-descending"){let x=Math.ceil(s/2),m=i==="updown"?t<x?n+2*t:n-1+2*(s-t):t<x?n+2*(x-1-t):n+1+2*(t-x);return`${c}${m}`}let u=i==="odd"||i==="even"?2:r,a=l!=null&&Number.isFinite(l)?l-(s-1)*u:n,y=o==="center"?pt(s)[t]:o==="rtl"?s-1-t:t,d;switch(i){case"odd":{let x=a%2===1?a:a+1;d=String(x+y*2);break}case"even":{let x=a%2===0?a:a+1;d=String(x+y*2);break}case"roman":d=Ce(a+y*r);break;case"letters-upper":d=se(a+y*r,!1);break;case"letters-lower":d=se(a+y*r,!0);break;default:d=String(a+y*r);break}return`${c}${d}`}function xt(e){return{...e.canonical,seatCount:e.totalSeats,label:e.displayLabel,displayLabel:e.displayLabel}}function Ee(e,t,n){return n?.label??`${e.label}-${ce(e,t)}`}function ae(e,t,n,o){if(o?.displayLabel)return o.displayLabel;if(!n)return`${e.displayLabel??e.label}-${ce(e,t)}`;let r=xt(n),i=n.displayOffset+t;return`${n.displayLabel}-${ce(r,i)}`}var Y=.02291666666666667,jn=1/Y,bt=58,gt=bt*Y;var Mt=3,Oe=0,le=120,St=0,wt=45,Pt=7,z=1.2;function ue(e,t,n,o){return Number.isFinite(e)?Math.max(t,Math.min(n,e)):o}function vt(e){return!Number.isFinite(e)||!Number.isInteger(e)||e<0?0:e<=Pt?e:Mt}function Ae(e,t={}){let n=ue(t.floorBaseHeightM,Oe,le,0),o=Math.min(le,n+vt(e.elevation)*gt),r=e.height===void 0?o:ue(e.height,Oe,le,o),i=ue(e.rake,St,wt,0);return{height:r,rake:i}}function Re(e){let t=e.length;return t<=3?[...e]:[e[Math.floor(t*.25)],e[Math.floor(t*.5)],e[Math.floor(t*.75)]]}function Te(e,t,n){if(!e.length)return 1/0;if(e.length===1)return Math.hypot(t-e[0].x,n-e[0].y);let o=1/0;for(let r=0;r+1<e.length;r++){let i=e[r],c=e[r+1],l=c.x-i.x,s=c.y-i.y,u=l*l+s*s,a=u>1e-12?((t-i.x)*l+(n-i.y)*s)/u:0;a<0?a=0:a>1&&(a=1);let y=Math.hypot(t-(i.x+a*l),n-(i.y+a*s));y<o&&(o=y)}return o}function It(e){let t=0,n=0;for(let i of e)t+=i.x,n+=i.y;let o=e.length||1;t/=o,n/=o;let r=0;for(let i of e){let c=Math.hypot(i.x-t,i.y-n);c>r&&(r=c)}return{cx:t,cy:n,r}}function _e(e,t){return Math.hypot(e.cx-t.cx,e.cy-t.cy)-e.r-t.r}function fe(e,t){let n=1/0;for(let o of Re(e)){let r=Te(t,o.x,o.y);r<n&&(n=r)}for(let o of Re(t)){let r=Te(e,o.x,o.y);r<n&&(n=r)}return n}function Ct(e,t){if(e.length<3)return{pts:e,seatIndices:t};let n=0,o=0;for(let a of e)n+=a.x,o+=a.y;n/=e.length,o/=e.length;let r=-1,i=e[0];for(let a of e){let y=Math.hypot(a.x-n,a.y-o);y>r&&(r=y,i=a)}let c=i.x-n,l=i.y-o,s=Math.hypot(c,l);s>1e-9?(c/=s,l/=s):(c=1,l=0);let u=e.map((a,y)=>({p:a,i:y,t:(a.x-n)*c+(a.y-o)*l})).sort((a,y)=>a.t-y.t);return{pts:u.map(a=>a.p),seatIndices:u.map(a=>t[a.i])}}function Et(e){let t=e.length;if(t<3)return null;let n=0,o=0;for(let S of e)n+=S.x,o+=S.y;n/=t,o/=t;let r=0,i=0,c=0,l=0,s=0,u=0,a=0;for(let S of e){let g=S.x-n,p=S.y-o;r+=g*g,c+=p*p,i+=g*p,l+=g*g*g,s+=p*p*p,u+=g*p*p,a+=p*g*g}let y=r*c-i*i;if(Math.abs(y)<1e-9)return null;let d=(l+u)/2,x=(s+a)/2,m=(d*c-x*i)/y,h=(x*r-d*i)/y,f=m+n,b=h+o;return!Number.isFinite(f)||!Number.isFinite(b)?null:{cx:f,cy:b}}var Ot=.15;function At(e){if(e.length<2)return null;let t=e.map(S=>{let g=0,p=0;for(let P of S.pts)g+=P.x,p+=P.y;return{x:g/S.pts.length,y:p/S.pts.length}}),n=0,o=0;for(let S of t)n+=S.x,o+=S.y;n/=t.length,o/=t.length;let r=0,i=0,c=0;for(let S of t){let g=S.x-n,p=S.y-o;r+=g*g,i+=g*p,c+=p*p}let l=r+c,s=r*c-i*i,u=l/2+Math.sqrt(Math.max(0,l*l/4-s)),a,y;Math.abs(i)>1e-12?(a=u-c,y=i):r>=c?(a=1,y=0):(a=0,y=1);let d=Math.hypot(a,y);if(!(d>1e-12))return null;a/=d,y/=d;let x=1/0,m=-1/0,h=[];for(let S of e){let g=1/0,p=-1/0;for(let P of S.pts){let M=P.x*a+P.y*y;M<g&&(g=M),M>p&&(p=M),M<x&&(x=M),M>m&&(m=M)}h.push(p-g)}let f=m-x;return f>1e-9?(h.sort((S,g)=>S-g),h[Math.min(h.length-1,Math.floor(h.length*.9))]/f<=Rt?{x:a,y}:null):null}var Rt=.35;function ke(e,t,n,o){let r=new Map;for(let f of n){let b=t[f],S=b.rowId||`__seat-${f}`,g=r.get(S);g||(g={pts:[],idx:[]},r.set(S,g)),g.pts.push({x:b.x,y:b.y}),g.idx.push(f)}if(!r.size)return{sectionId:e,rows:[],blockCount:0};let i=[];for(let[f,b]of r){let S=Ct(b.pts,b.idx),g=0;for(let p of S.pts)g+=Math.hypot(p.x-o.x,p.y-o.y);i.push({id:f,pts:S.pts,seatIndices:S.seatIndices,blockId:-1,ordinal:0,blockDepth:0,focalDistance:g/S.pts.length})}let c=i.map(f=>It(f.pts)),l=[];for(let f=0;f<i.length;f++){let b=1/0;for(let S=0;S<i.length;S++){if(f===S||_e(c[f],c[S])>=b)continue;let g=fe(i[f].pts,i[S].pts);g<b&&(b=g)}Number.isFinite(b)&&l.push(b)}l.sort((f,b)=>f-b);let s=l.length?l[Math.floor(l.length/2)]:1,u=Math.max(s*1.8,1e-6),a=i.map(()=>[]);for(let f=0;f<i.length;f++)for(let b=f+1;b<i.length;b++)_e(c[f],c[b])>u||fe(i[f].pts,i[b].pts)<=u&&(a[f].push(b),a[b].push(f));let y=0;for(let f=0;f<i.length;f++){if(i[f].blockId!==-1)continue;let b=y++,S=[f];for(i[f].blockId=b;S.length;){let g=S.pop();for(let p of a[g])i[p].blockId===-1&&(i[p].blockId=b,S.push(p))}}let d=new Map;for(let f of i){let b=d.get(f.blockId)??[];b.push(f),d.set(f.blockId,b)}let x=[];for(let f of i){if(f.pts.length<4)continue;let b=Et(f.pts);b&&(!Number.isFinite(b.cx)||!Number.isFinite(b.cy)||x.push({x:b.cx,y:b.cy}))}let m=x.length>=2?(()=>{let f=x.map(g=>g.x).sort((g,p)=>g-p),b=x.map(g=>g.y).sort((g,p)=>g-p),S=Math.floor(x.length/2);return{cx:f[S],cy:b[S]}})():null;if(m){let f=M=>Math.hypot(M.x-m.cx,M.y-m.cy),b=1/0,S=-1/0,g=[];for(let M of i){let w=1/0,I=-1/0;for(let C of M.pts){let v=f(C);v<w&&(w=v),v>I&&(I=v)}g.push(I-w),w<b&&(b=w),I>S&&(S=I)}let p=S-b;g.sort((M,w)=>M-w);let P=g[Math.min(g.length-1,Math.floor(g.length*.9))];if(p>1e-9&&P/p<=Ot){let M=i.map(E=>{let X=0;for(let $e of E.pts)X+=f($e);return{row:E,radius:X/E.pts.length}}),w=0,I=0;for(let E of M)w+=E.radius,I+=E.row.focalDistance;w/=M.length,I/=M.length;let C=0;for(let E of M)C+=(E.radius-w)*(E.row.focalDistance-I);if(C<0)for(let E of M)E.radius=-E.radius;let T=1/0;for(let E of M)E.radius<T&&(T=E.radius);M.sort((E,X)=>E.radius-X.radius);let A=-1,O=-1/0,R=p/Math.max(1,M.length)*.5,J=[];for(let E of M)E.radius-O>R&&(A++,O=E.radius),E.row.ordinal=A,E.row.blockDepth=E.radius-T,J.push(E.row);return{sectionId:e,rows:J,blockCount:y}}}let h=[];for(let[,f]of d){let b=At(f);if(b){let S=p=>{let P=0;for(let M of p.pts)P+=M.x*b.x+M.y*b.y;return P/p.pts.length};f.sort((p,P)=>S(p)-S(P)),f.length>=2&&f[0].focalDistance>f[f.length-1].focalDistance&&f.reverse();let g=0;for(let p=0;p<f.length;p++)p>0&&(g+=fe(f[p-1].pts,f[p].pts)),f[p].ordinal=p,f[p].blockDepth=g,h.push(f[p])}else{let S=1/0;for(let g of f)g.focalDistance<S&&(S=g.focalDistance);f.sort((g,p)=>g.focalDistance-p.focalDistance);for(let g=0;g<f.length;g++)f[g].ordinal=g,f[g].blockDepth=Math.max(0,f[g].focalDistance-S),h.push(f[g])}}return{sectionId:e,rows:h,blockCount:y}}var Tt=/^\d{4}-\d{2}-\d{2}$/;function _t(e){let t=Date.parse(e);return Number.isFinite(t)?Tt.test(e)?t+864e5:t:null}function kt(e,t=Date.now()){if(e.validUntil===void 0){if(e.status!=="approved")return!0;let o=e.assessedAt?Date.parse(e.assessedAt):Number.NaN;return Number.isFinite(o)&&(t instanceof Date?t.getTime():t)<=o+366*864e5}let n=_t(e.validUntil);return n===null?!1:(t instanceof Date?t.getTime():t)<n}function Dt(e,t,n){return!(e.eventConfigurationId&&e.eventConfigurationId!==t||e.eventConfigurationVersion!==void 0&&e.eventConfigurationVersion!==n)}function Lt(e){return e.status!=="draft"&&e.status!=="retracted"}function jt(e,t){return e.status===void 0?t===void 0:e.status!=="approved"?!0:typeof t=="string"&&typeof e.basisSha256=="string"&&e.basisSha256===t}function De(e,t={}){return!!e&&Lt(e)&&Dt(e,t.activeConfigurationId,t.activeConfigurationVersion)&&jt(e,t.activeBasisSha256)&&kt(e,t.now)}function Fe(e){return e?e.accessibility&&e.accessibility.length?e.wheelchairSpaceType&&!e.accessibility.includes("wheelchair")?["wheelchair",...e.accessibility]:e.accessibility:e.wheelchairSpaceType?["wheelchair"]:e.accessible?["wheelchair"]:[]:[]}var $=Math.PI/180,Nt=9,N=16;function he(e,t,n,o){let r=n*$,i=Math.cos(r),c=Math.sin(r);return{x:o.x+e*i-t*c,y:o.y+e*c+t*i}}function ye(e){let{seatCount:t,seatSpacing:n,curve:o,rotation:r,origin:i}=e,c=[];if(e.path)return ee(e.path,t);if(t<=1)return t===1&&c.push({x:i.x,y:i.y}),c;if(o===0){for(let u=0;u<t;u++)c.push(he(u*n,0,r,i));return c}let l=o/(t-1)*$,s=n/(2*Math.sin(Math.abs(l)/2));for(let u=0;u<t;u++){let a=u*l,y=s*Math.sin(a),d=-s+s*Math.cos(a);c.push(he(y,d,r,i))}return c}function Ft(e){let t=new Map;if(e.overrides)for(let n of e.overrides)t.set(n.index,n);return t}function Bt(e){let t=new Set((e.overrides??[]).filter(n=>n.skip&&Number.isInteger(n.index)&&n.index>=0&&n.index<e.seatCount).map(n=>n.index));return Math.max(0,e.seatCount-t.size)}function Be(e,t){let n=Ft(e);return ye(e).map((o,r)=>{let i=n.get(r),c=Fe(i),l=Ee(e,r,i),s={...e.commercial,...i?.commercial};return{index:r,x:o.x+(i?.dx??0),y:o.y+(i?.dy??0),label:l,displayLabel:ae(e,r,t,i),categoryKey:i?.categoryKey??e.categoryKey,skipped:!!i?.skip,accessible:c.length>0,accessibility:c,wheelchairSpaceType:i?.wheelchairSpaceType,commercial:Object.values(s).some(u=>u!==void 0&&u!==!1&&u!=="")?s:void 0,glyph:i?.glyph,viewUrl:i?.viewFromSeatUrl??e.viewFromSeatUrl,viewMeta:i?.viewFromSeatUrl?i.viewFromSeatMeta:e.viewFromSeatMeta,labelStyle:i?.labelStyle}})}function pe(e){let t=[];for(let n of Be(e))n.skipped||t.push({id:`${e.id}:${n.index}`,label:n.label,displayLabel:n.displayLabel===n.label?void 0:n.displayLabel,x:n.x,y:n.y,rowId:e.id,categoryKey:n.categoryKey,accessible:n.accessible||void 0,accessibility:n.accessibility.length?n.accessibility:void 0,wheelchairSpaceType:n.wheelchairSpaceType,commercial:n.commercial,glyph:n.glyph,viewUrl:n.viewUrl,viewMeta:n.viewMeta,labelStyle:n.labelStyle});return t}function Ue(e){if(e.seatCountsBySide)return{...e.seatCountsBySide};let t=e.sides&&e.sides.length?e.sides:["top","bottom"],n=["top","bottom","left","right"].filter(i=>t.includes(i)),o={top:0,bottom:0,left:0,right:0};if(!n.length)return o;let r=Math.max(0,Math.round(e.seatCount));for(let i=0;i<r;i++)o[n[i%n.length]]+=1;return o}function xe(e){let t=[],n=Math.max(0,Math.round(e.seatCount));if(n===0)return t;let o=new Map((e.overrides??[]).map(a=>[a.index,a])),r=(a,y,d,x)=>{let m=o.get(a),h=Fe(m),f=m?.label??`${e.label}-${a+1}`,b=e.displayLabel??e.label;return{index:a,label:f,displayLabel:m?.displayLabel??`${b}-${a+1}`,x:y+(m?.dx??0),y:d+(m?.dy??0),categoryKey:m?.categoryKey??e.categoryKey,skipped:!!m?.skip,accessible:h.length>0,accessibility:h,wheelchairSpaceType:m?.wheelchairSpaceType,commercial:m?.commercial,glyph:m?.glyph,viewUrl:m?.viewFromSeatUrl,viewMeta:m?.viewFromSeatUrl?m.viewFromSeatMeta:void 0,labelStyle:m?.labelStyle,...x?{side:x}:{}}};if(e.shape==="round"){let a=(e.radius??40)+N,y=e.rotation*$,d=Math.max(0,Math.min(360,e.seatArc??360));if(d>=360||n===1){for(let f=0;f<n;f++){let b=y+f/n*2*Math.PI;t.push(r(f,e.center.x+a*Math.cos(b),e.center.y+a*Math.sin(b)))}return t}let x=d*$,m=(2*Math.PI-x)/2,h=y+m;for(let f=0;f<n;f++){let b=h+f/(n-1)*x;t.push(r(f,e.center.x+a*Math.cos(b),e.center.y+a*Math.sin(b)))}return t}let i=e.width??80,c=e.height??50,l=Ue(e),s=["top","bottom","left","right"],u=0;for(let a of s){let y=l[a];for(let d=0;d<y;d++){let x,m;a==="top"?(x=-i/2+(d+.5)*i/y,m=-c/2-N):a==="bottom"?(x=-i/2+(d+.5)*i/y,m=c/2+N):a==="left"?(x=-i/2-N,m=-c/2+(d+.5)*c/y):(x=i/2+N,m=-c/2+(d+.5)*c/y);let h=he(x,m,e.rotation,e.center);t.push(r(u++,h.x,h.y,a))}}return t}function Ut(e){return e.bookAsWhole||e.variableOccupancy?Math.max(0,Math.round(e.seatCount)):xe(e).filter(t=>!t.skipped).length}function He(e){return xe(e).filter(t=>!t.skipped).map(t=>({id:`${e.id}:${t.index}`,label:t.label,...t.displayLabel!==t.label?{displayLabel:t.displayLabel}:{},x:t.x,y:t.y,rowId:e.id,categoryKey:t.categoryKey,...t.accessible?{accessible:!0}:{},...t.accessibility.length?{accessibility:t.accessibility}:{},...t.wheelchairSpaceType?{wheelchairSpaceType:t.wheelchairSpaceType}:{},...t.commercial?{commercial:t.commercial}:{},...t.glyph?{glyph:t.glyph}:{},...t.viewUrl?{viewUrl:t.viewUrl}:{},...t.viewUrl&&t.viewMeta?{viewMeta:t.viewMeta}:{},...t.labelStyle?{labelStyle:t.labelStyle}:{}}))}function Xe(e){return[{id:`${e.id}:0`,label:e.label,...e.displayLabel&&e.displayLabel!==e.label?{displayLabel:e.displayLabel}:{},x:e.center.x,y:e.center.y,rowId:e.id,categoryKey:e.categoryKey,kind:"booth"}]}function me(e,t){let n=!1;for(let o=0,r=t.length-1;o<t.length;r=o++){let i=t[o].x,c=t[o].y,l=t[r].x,s=t[r].y;c>e.y!=s>e.y&&e.x<(l-i)*(e.y-c)/(s-c)+i&&(n=!n)}return n}function Ht(e,t){return t.some((n,o)=>{let r=t[(o+1)%t.length],i=(e.y-n.y)*(r.x-n.x)-(e.x-n.x)*(r.y-n.y);if(Math.abs(i)>1e-7)return!1;let c=(e.x-n.x)*(r.x-n.x)+(e.y-n.y)*(r.y-n.y),l=(r.x-n.x)**2+(r.y-n.y)**2;return c>=-1e-7&&c<=l+1e-7})}function U(e,t,n){return me(e,t)&&!(n??[]).some(o=>me(e,o)||Ht(e,o))}function Xt(e,t){return re(e,t).point}function de(e){if(!e.length)return{x:0,y:0};let t=0,n=0;for(let o of e)t+=o.x,n+=o.y;return{x:t/e.length,y:n/e.length}}function H(e){switch(e.type){case"row":{let t=pe(e);if(!t.length)return{x:e.origin.x,y:e.origin.y};let n=0,o=0;for(let r of t)n+=r.x,o+=r.y;return{x:n/t.length,y:o/t.length}}case"table":case"booth":return{x:e.center.x,y:e.center.y};case"gaArea":return de(e.points);case"section":return de(e.outline);case"text":return{x:e.position.x,y:e.position.y};case"shape":return e.points&&e.points.length?de(e.points):e.x!=null&&e.y!=null&&e.width!=null&&e.height!=null?{x:e.x+e.width/2,y:e.y+e.height/2}:{x:e.x??0,y:e.y??0};case"decorImage":return{x:e.x+e.width/2,y:e.y+e.height/2}}}function Le(e,t){return e.length===t.length&&e.every((n,o)=>n.x===t[o].x&&n.y===t[o].y)}function Gt(e,t){if(e.type!=="gaArea"||!Le(e.points,t.outline))return!1;let n=e.holes??[],o=t.holes??[];return n.length===o.length&&n.every((r,i)=>Le(r,o[i]))}function Ge(e,t){let n=e.filter(c=>c.type==="section"),o="referenceInventorySource"in t?t.referenceInventorySource?.logicalSectionId:void 0,r=H(t);return(o?n.find(c=>(c.logicalSectionId??c.id)===o&&(Gt(t,c)||U(r,c.outline,c.holes))):void 0)??n.find(c=>U(r,c.outline,c.holes))}function Ve(e){return e.floors&&e.floors.length?e.floors:[{id:"floor-0",name:"Main",objects:e.objects,focalPoint:e.focalPoint,referenceImage:e.referenceImage,backgroundImage:e.backgroundImage}]}function Vt(e,t){let n=Ve(e);return(t?n.find(o=>o.id===t):n[0])?.objects??[]}function Ye(e){return e.floors&&e.floors.length?e.floors.flatMap(t=>t.objects):e.objects}function W(e,t,n){let o=i=>({x:i.x+t,y:i.y+n}),r=i=>i.map(o);switch(e.type){case"row":return{...e,origin:o(e.origin)};case"table":case"booth":return{...e,center:o(e.center)};case"gaArea":return{...e,points:r(e.points),...e.holes?{holes:e.holes.map(r)}:{}};case"section":return{...e,outline:r(e.outline),...e.outlinePath?{outlinePath:Ie(e.outlinePath,t,n)}:{},...e.holes?{holes:e.holes.map(r)}:{}};case"text":return{...e,position:o(e.position)};case"shape":return{...e,...e.points?{points:r(e.points)}:{},...e.x!=null?{x:e.x+t}:{},...e.y!=null?{y:e.y+n}:{}};case"decorImage":return{...e,x:e.x+t,y:e.y+n}}}function Yt(e,t=900){if(!e.floors||e.floors.length<2)return e;let n=[];return e.floors.forEach((o,r)=>{let i=-r*t;for(let c of o.objects)n.push(i===0?c:W(c,0,i))}),{...e,objects:n,floors:void 0}}function zt(e){let t=e.floors;if(!t||t.length<2)return e;let n=ze(e),o=[];return t.forEach((r,i)=>{let{x:c,y:l}=n[i];for(let s of r.objects)o.push(W(s,c,l))}),{...e,objects:o,floors:void 0,referenceImage:void 0,backgroundImage:void 0}}function Kt(e){let t=e.floors;if(!t||t.length<2)return!1;let n=t.map(s=>q({...e,objects:s.objects,floors:void 0,focalPoint:s.focalPoint,referenceImage:void 0,backgroundImage:void 0}));if(n.some(s=>s.width<=0||s.height<=0))return!1;let[o,...r]=n;if(!r.every(s=>{let u=Math.min(o.x+o.width,s.x+s.width)-Math.max(o.x,s.x),a=Math.min(o.y+o.height,s.y+s.height)-Math.max(o.y,s.y);return u<=0||a<=0?!1:u>=Math.min(o.width,s.width)*.7&&a>=Math.min(o.height,s.height)*.7}))return!1;let c={x:o.x+o.width/2,y:o.y+o.height/2},l=Math.hypot(o.width,o.height)/2;return t.every(s=>s.objects.length?s.objects.filter(a=>{let y=H(a);return Math.hypot(y.x-c.x,y.y-c.y)>=l*.25}).length>=s.objects.length*.6:!1)}function $t(e){let t=e.floors;if(!t||t.length<2)return e;let n=t.map((s,u)=>({floor:s,index:u,height:s.baseHeightM??0})).sort((s,u)=>s.height-u.height||s.index-u.index),o=q({...e,objects:n[0].floor.objects,floors:void 0,focalPoint:n[0].floor.focalPoint,referenceImage:void 0,backgroundImage:void 0}),r={x:o.x+o.width/2,y:o.y+o.height/2},i=Math.max(48,Math.min(200,Math.max(o.width,o.height)*.06)),c=[],l=0;return n.forEach((s,u)=>{let a=s.floor.objects.map(h=>{let f=H(h);return Math.hypot(f.x-r.x,f.y-r.y)}),y=a.filter(h=>Number.isFinite(h)),d=y.length?Math.min(...y):0,x=y.length?Math.max(...y):0,m=u===0?0:Math.max(0,l+i-d);l=x+m,s.floor.objects.forEach((h,f)=>{if(u>0&&h.type==="shape"&&h.role==="stage")return;if(m===0){c.push(h);return}let b=a[f];if(!Number.isFinite(b)||b<1e-6){c.push(h);return}let S=H(h);c.push(W(h,(S.x-r.x)/b*m,(S.y-r.y)/b*m))})}),{...e,objects:c,floors:void 0,referenceImage:void 0,backgroundImage:void 0}}function ze(e){let t=e.floors;if(!t?.length)return[{x:0,y:0}];if(t.length<2)return t.map(()=>({x:0,y:0}));let n=t.map(d=>q({...e,objects:d.objects,floors:void 0,focalPoint:d.focalPoint,referenceImage:void 0,backgroundImage:void 0})),o=Math.max(1,...n.map(d=>Math.max(d.width,d.height))),r=Math.max(64,Math.min(240,o*.08)),i=16/10,c=null;for(let d=1;d<=t.length;d+=1){let x=Math.ceil(t.length/d),m=new Array(d).fill(0),h=new Array(x).fill(0);n.forEach((p,P)=>{let M=P%d,w=Math.floor(P/d);m[M]=Math.max(m[M],p.width),h[w]=Math.max(h[w],p.height)});let f=m.reduce((p,P)=>p+P,0)+r*(d-1),b=h.reduce((p,P)=>p+P,0)+r*(x-1),S=d*x-t.length,g=Math.abs(Math.log(f/Math.max(1,b)/i))+S*.04;(!c||g<c.score)&&(c={columns:d,columnWidths:m,rowHeights:h,score:g})}let{columns:l,columnWidths:s,rowHeights:u}=c,a=[],y=[];return s.reduce((d,x,m)=>(a[m]=d,d+x+r),0),u.reduce((d,x,m)=>(y[m]=d,d+x+r),0),t.map((d,x)=>{let m=n[x],h=x%l,f=Math.floor(x/l),b=a[h]+(s[h]-m.width)/2,S=y[f]+(u[f]-m.height)/2;return{x:b-m.x,y:S-m.y}})}function je(e,t,n,o,r,i,c,l,s){let u=[],a=ie(e),y=m=>!m?.eventConfigurationId||m.eventConfigurationId===o&&(m.eventConfigurationVersion===void 0||m.eventConfigurationVersion===s),d=m=>De(m,{activeConfigurationId:o,activeConfigurationVersion:s,activeBasisSha256:r,now:l}),x=(m,h)=>d(m)?{...m,coverage:h}:void 0;for(let m of e){let h=[];if(m.type==="row"?h=pe(m):m.type==="table"?h=He(m):m.type==="booth"&&(h=Xe(m)),!h.length)continue;for(let p of h)p.viewUrl&&!y(p.viewMeta)&&(p.viewUrl=void 0,p.viewMeta=void 0);if(m.type==="row"){let p=a.get(m.id);if(p){let P=new Map((m.overrides??[]).map(M=>[M.index,M]));for(let M of h){let w=Number(M.id.slice(M.id.lastIndexOf(":")+1));if(!Number.isInteger(w))continue;M.logicalRowId=p.groupId,M.logicalSeatIndex=p.adjacencyOffset+w,P.get(w)?.displayLabel||(M.displayLabel=ae(m,w,p)),!M.viewUrl&&p.viewFromSeatUrl&&y(p.viewFromSeatMeta)&&(M.viewUrl=p.viewFromSeatUrl,M.viewMeta=p.viewFromSeatMeta);let I=P.get(w)?.confidenceEvidence;M.confidenceEvidence=x(I,"exact-seat")??x(m.confidenceEvidence,"row-representative")??x(p.confidenceEvidence,"row-representative")}}}let f=Ge(e,m),b=f?.viewFromSeatUrl,g=(f?.zone?t?.find(p=>p.id===f.zone):void 0)?.focalPoint??n;for(let p of h){if(!p.confidenceEvidence){let P=Number(p.id.slice(p.id.lastIndexOf(":")+1)),M=(m.type==="row"||m.type==="table")&&Number.isInteger(P)?m.overrides?.find(w=>w.index===P)?.confidenceEvidence:void 0;p.confidenceEvidence=x(M,"exact-seat")??(m.type==="row"?x(m.confidenceEvidence,"row-representative"):void 0)}p.confidenceEvidence??=x(f?.confidenceEvidence,"section-representative")??(c?x(c.evidence,c.coverage):void 0),!p.viewUrl&&b&&y(f?.viewFromSeatMeta)&&(p.viewUrl=b,p.viewMeta=f?.viewFromSeatMeta),!p.viewUrl&&i&&y(i.meta)&&(p.viewUrl=i.url,p.viewMeta=i.meta),f&&(p.sectionId=f.logicalSectionId??f.id),f?.zone&&(p.zoneId=f.zone),g&&(p.focalPoint={...g})}u.push(...h)}return u}function Wt(e,t={}){if(e.floors?.length){let o=[];for(let r of e.floors){let i=r.focalPoint??e.focalPoint,c=r.viewFromSeatUrl?{url:r.viewFromSeatUrl,meta:r.viewFromSeatMeta}:e.viewFromSeatUrl?{url:e.viewFromSeatUrl,meta:e.viewFromSeatMeta}:void 0,l=r.confidenceEvidence?{evidence:r.confidenceEvidence,coverage:"floor-representative"}:e.confidenceEvidence?{evidence:e.confidenceEvidence,coverage:"venue-representative"}:void 0,s=je(r.objects,e.zones,i,e.eventConfigurationId,e.confidenceBasisSha256,c,l,t.now,t.eventConfigurationVersion??e.eventConfigurationVersion);t.resolveEyeHeights!==!1&&Ne(r.objects,r.focalPoint??e.focalPoint,r.baseHeightM??0,s);for(let u of s)u.floorId=r.id;o.push(...s)}return o}let n=je(e.objects,e.zones,e.focalPoint,e.eventConfigurationId,e.confidenceBasisSha256,e.viewFromSeatUrl?{url:e.viewFromSeatUrl,meta:e.viewFromSeatMeta}:void 0,e.confidenceEvidence?{evidence:e.confidenceEvidence,coverage:"venue-representative"}:void 0,t.now,t.eventConfigurationVersion??e.eventConfigurationVersion);return t.resolveEyeHeights!==!1&&Ne(e.objects,e.focalPoint,t.floorBaseHeightM??0,n),n}function Ne(e,t,n,o){let r=e.filter(a=>a.type==="section"),i=n>0||r.some(a=>a.height!==void 0||a.rake!==void 0||(a.elevation??0)>0);if(!r.length||!i||!t){for(let a of o)a.eyeHeightM=n+z;return}let c=new Array(o.length),l=new Map,s=new Map;for(let a=0;a<o.length;a++){let y=o[a],x=(y.sectionId?r.find(h=>h.id===y.sectionId)??r.find(h=>h.logicalSectionId===y.sectionId&&U({x:y.x,y:y.y},h.outline,h.holes)):void 0)??r.find(h=>U({x:y.x,y:y.y},h.outline,h.holes))??null;if(c[a]=x,!x)continue;l.has(x.id)||l.set(x.id,Ae(x,{floorBaseHeightM:n}));let m=s.get(x.id);m?m.push(a):s.set(x.id,[a])}let u=new Array(o.length).fill(void 0);for(let[a,y]of s){let d=l.get(a);if(!d)continue;let x=d.rake>0?Math.tan(d.rake*Math.PI/180):0,m=ke(a,o,y,t);for(let h of m.rows){let f=h.blockDepth*Y*x,b=d.height+f;for(let S of h.seatIndices)u[S]=b}}for(let a=0;a<o.length;a++){let y=o[a],d=c[a];if(!d){y.eyeHeightM=n+z;continue}let x=l.get(d.id);y.eyeHeightM=(u[a]??x.height)+z}}var K=40;function q(e,t){let n=t?.freeText==="exclude",o=1/0,r=1/0,i=-1/0,c=-1/0,l=(s,u)=>{s<o&&(o=s),u<r&&(r=u),s>i&&(i=s),u>c&&(c=u)};for(let s of Ye(e))if(s.type==="row"){let u=new Map((s.overrides??[]).map(a=>[a.index,a]));ye(s).forEach((a,y)=>{let d=u.get(y);d?.skip||l(a.x+(d?.dx??0),a.y+(d?.dy??0))})}else if(s.type==="gaArea")for(let u of s.points)l(u.x,u.y);else if(s.type==="section")for(let u of s.outline)l(u.x,u.y);else if(s.type==="decorImage")l(s.x,s.y),l(s.x+s.width,s.y+s.height);else if(s.type==="shape")if(s.points&&s.points.length)for(let u of s.points)l(u.x,u.y);else s.x!=null&&s.y!=null&&s.width!=null&&s.height!=null&&(l(s.x,s.y),l(s.x+s.width,s.y+s.height));else if(s.type==="table"){let u=N+Nt,a=s.shape==="round"?(s.radius??40)+u:Math.max((s.width??80)/2,(s.height??50)/2)+u;l(s.center.x-a,s.center.y-a),l(s.center.x+a,s.center.y+a)}else if(s.type==="booth"){let u=Math.max(s.width,s.height)/2;l(s.center.x-u,s.center.y-u),l(s.center.x+u,s.center.y+u)}else if(s.type==="text"){if(n)continue;let u=te(s);l(s.position.x,s.position.y),l(s.position.x+u.width,s.position.y+u.height)}for(let s of[e.referenceImage,e.backgroundImage]){if(!s)continue;let{center:u,width:a}=s,y=a*3/4;l(u.x-a/2,u.y-y/2),l(u.x+a/2,u.y+y/2)}if(!isFinite(o)){let s=e.focalPoint??{x:0,y:0};return{x:s.x-200,y:s.y-200,width:400,height:400}}return{x:o-K,y:r-K,width:i-o+K*2,height:c-r+K*2}}function qt(e,t=0){let n=Math.max(1,e.width,e.height),o={x:e.x+e.width/2,y:e.y+e.height/2},r=n*1.55,i=Math.max(n*.82,Math.max(0,t)+n*.45);return{target:o,distance:r,height:i,focalLength:Math.hypot(r,i),yawRad:-8*Math.PI/180}}function Q(e,t,n=0){let o=t.x-e.target.x,r=t.y-e.target.y,i=Math.cos(e.yawRad),c=Math.sin(e.yawRad),l=o*i-r*c,u=o*c+r*i-e.distance,a=n-e.height,y=Math.hypot(e.distance,e.height),d=(-e.distance*u-e.height*a)/y,x=(-e.height*u+e.distance*a)/y,m=Math.max(y*.08,d),h=e.focalLength/m;return{x:e.target.x+l*h,y:e.target.y-x*h,depth:m,scale:h}}function Qt(e,t){return{x:e.a*t.x+e.c*t.y+e.e,y:e.b*t.x+e.d*t.y+e.f}}function Jt(e){let t=e.a*e.d-e.b*e.c;if(!Number.isFinite(t)||Math.abs(t)<1e-9)throw new Error("perspective projection produced a singular affine");let n=e.d/t,o=-e.b/t,r=-e.c/t,i=e.a/t;return{a:n,b:o,c:r,d:i,e:-(n*e.e+r*e.f),f:-(o*e.e+i*e.f)}}function Zt(e,t){return{a:e.a*t.a+e.c*t.b,b:e.b*t.a+e.d*t.b,c:e.a*t.c+e.c*t.d,d:e.b*t.c+e.d*t.d,e:e.a*t.e+e.c*t.f+e.e,f:e.b*t.e+e.d*t.f+e.f}}function en(e,t,n=()=>0){let o=Q(e,t,n(t)),r={x:t.x+1,y:t.y},i={x:t.x,y:t.y+1},c=Q(e,r,n(r)),l=Q(e,i,n(i)),s=c.x-o.x,u=c.y-o.y,a=l.x-o.x,y=l.y-o.y;return{a:s,b:u,c:a,d:y,e:o.x-s*t.x-a*t.y,f:o.y-u*t.x-y*t.y}}function tn(e){let t=Math.hypot(e.a,e.b),n=e.a*e.d-e.b*e.c;return{rotationDeg:Math.atan2(e.b,e.a)*180/Math.PI,scaleX:t,scaleY:n/Math.max(t,1e-9),skewX:(e.a*e.c+e.b*e.d)/Math.max(n,1e-9)}}var Ke=9;function nn(e){if(e.kind==="circle")return{hx:e.r,hy:e.r};let t=e.width/2,n=e.height/2,o=e.rotation??0;if(!o)return{hx:t,hy:n};let r=o*Math.PI/180,i=Math.abs(Math.cos(r)),c=Math.abs(Math.sin(r));return{hx:t*i+n*c,hy:t*c+n*i}}function on(e,t,n){let o=t-e.seat.x,r=n-e.seat.y;if(e.shape.kind==="circle")return o*o+r*r<=e.shape.r*e.shape.r;let i=e.shape.rotation??0,c=o,l=r;if(i){let s=-i*Math.PI/180,u=Math.cos(s),a=Math.sin(s);c=o*u-r*a,l=o*a+r*u}return Math.abs(c)<=e.shape.width/2&&Math.abs(l)<=e.shape.height/2}function rn(e,t,n,o,r){if(e.shape.kind==="circle"){let m=Math.min(Math.max(e.seat.x,t),o),h=Math.min(Math.max(e.seat.y,n),r),f=e.seat.x-m,b=e.seat.y-h;return f*f+b*b<=e.shape.r*e.shape.r}let i=e.shape.rotation??0;if(!i)return e.seat.x-e.hx<=o&&e.seat.x+e.hx>=t&&e.seat.y-e.hy<=r&&e.seat.y+e.hy>=n;let c=i*Math.PI/180,l=Math.cos(c),s=Math.sin(c),u=e.shape.width/2,a=e.shape.height/2,y=[[-u,-a],[u,-a],[u,a],[-u,a]].map(([m,h])=>[e.seat.x+m*l-h*s,e.seat.y+m*s+h*l]),d=[[t,n],[o,n],[o,r],[t,r]],x=[[1,0],[0,1],[l,s],[-s,l]];for(let[m,h]of x){let f=1/0,b=-1/0;for(let[p,P]of y){let M=p*m+P*h;M<f&&(f=M),M>b&&(b=M)}let S=1/0,g=-1/0;for(let[p,P]of d){let M=p*m+P*h;M<S&&(S=M),M>g&&(g=M)}if(b<S||g<f)return!1}return!0}function sn(e,t={}){let n=t.seatRadius??Ke,o=e.length,r=new Array(o),i=1/0,c=1/0,l=-1/0,s=-1/0,u=0;for(let M=0;M<o;M++){let w=e[M],I=t.shapeOf?.(w)??{kind:"circle",r:n},{hx:C,hy:v}=nn(I);r[M]={seat:w,shape:I,hx:C,hy:v},w.x-C<i&&(i=w.x-C),w.y-v<c&&(c=w.y-v),w.x+C>l&&(l=w.x+C),w.y+v>s&&(s=w.y+v),C>u&&(u=C),v>u&&(u=v)}o===0&&(i=0,c=0,l=0,s=0);let a=u>0?u*4:1,y=Math.max(l-i,0),d=Math.max(s-c,0),x=Math.max(64,t.maxCells??o*4),m=a,h=Math.max(1,Math.ceil(y/m)||1),f=Math.max(1,Math.ceil(d/m)||1);for(;h*f>x&&(h>1||f>1);)m*=2,h=Math.max(1,Math.ceil(y/m)||1),f=Math.max(1,Math.ceil(d/m)||1);let b=h*f,S=new Int32Array(b+1),g=0;for(let M=0;M<o;M++){let w=r[M],I=D(Math.floor((w.seat.x-w.hx-i)/m),0,h-1),C=D(Math.floor((w.seat.x+w.hx-i)/m),0,h-1),v=D(Math.floor((w.seat.y-w.hy-c)/m),0,f-1),T=D(Math.floor((w.seat.y+w.hy-c)/m),0,f-1);for(let A=v;A<=T;A++)for(let O=I;O<=C;O++)S[A*h+O+1]++,g++}for(let M=0;M<b;M++)S[M+1]+=S[M];let p=new Int32Array(g),P=S.slice(0,b);for(let M=0;M<o;M++){let w=r[M],I=D(Math.floor((w.seat.x-w.hx-i)/m),0,h-1),C=D(Math.floor((w.seat.x+w.hx-i)/m),0,h-1),v=D(Math.floor((w.seat.y-w.hy-c)/m),0,f-1),T=D(Math.floor((w.seat.y+w.hy-c)/m),0,f-1);for(let A=v;A<=T;A++)for(let O=I;O<=C;O++){let R=A*h+O;p[P[R]++]=M}}return{seats:e,entries:r,minX:i,minY:c,cell:m,cols:h,rows:f,cellStart:S,items:p,stamp:new Int32Array(o),epoch:0}}function cn(e,t,n={}){let{cols:o,rows:r,cell:i,minX:c,minY:l,cellStart:s,items:u,entries:a}=e,y=Math.floor((t.x-c)/i),d=Math.floor((t.y-l)/i);if(y<0||d<0||y>=o||d>=r)return null;let x=d*o+y,m=s[x+1],h=-1,f=1/0;for(let b=s[x];b<m;b++){let S=u[b],g=a[S];if(n.filter&&!n.filter(g.seat.id,g.seat)||!on(g,t.x,t.y))continue;let p=t.x-g.seat.x,P=t.y-g.seat.y,M=p*p+P*P;(M<f||M===f&&S<h)&&(f=M,h=S)}return h<0?null:a[h].seat.id}function an(e,t,n,o={}){if(!(n>0))return null;let{cols:r,rows:i,cell:c,minX:l,minY:s,cellStart:u,items:a,entries:y}=e,d=Math.max(0,Math.floor((t.x-n-l)/c)),x=Math.min(r-1,Math.floor((t.x+n-l)/c)),m=Math.max(0,Math.floor((t.y-n-s)/c)),h=Math.min(i-1,Math.floor((t.y+n-s)/c));if(d>x||m>h)return null;let f=-1,b=n*n,S=e.stamp,g=++e.epoch;for(let p=m;p<=h;p++){let P=p*r;for(let M=d;M<=x;M++){let w=P+M,I=u[w+1];for(let C=u[w];C<I;C++){let v=a[C];if(S[v]===g)continue;S[v]=g;let T=y[v];if(o.filter&&!o.filter(T.seat.id,T.seat))continue;let A=t.x-T.seat.x,O=t.y-T.seat.y,R=A*A+O*O;(R<b||R===b&&v<f)&&(b=R,f=v)}}}return f<0?null:y[f].seat.id}function ln(e,t,n={}){let o=Math.min(t.x,t.x+t.width),r=Math.max(t.x,t.x+t.width),i=Math.min(t.y,t.y+t.height),c=Math.max(t.y,t.y+t.height),l=n.mode??"center",{cols:s,rows:u,cell:a,minX:y,minY:d,cellStart:x,items:m,entries:h}=e,f=Math.max(0,Math.floor((o-y)/a)),b=Math.min(s-1,Math.floor((r-y)/a)),S=Math.max(0,Math.floor((i-d)/a)),g=Math.min(u-1,Math.floor((c-d)/a));if(f>b||S>g)return[];let p=[],P=e.stamp,M=++e.epoch;for(let w=S;w<=g;w++){let I=w*s;for(let C=f;C<=b;C++){let v=I+C,T=x[v+1];for(let A=x[v];A<T;A++){let O=m[A];if(P[O]===M)continue;P[O]=M;let R=h[O];if(n.filter&&!n.filter(R.seat.id,R.seat))continue;(l==="center"?R.seat.x>=o&&R.seat.x<=r&&R.seat.y>=i&&R.seat.y<=c:rn(R,o,i,r,c))&&p.push(O)}}}return p.sort((w,I)=>w-I),p.map(w=>h[w].seat.id)}function un(e){let t=e.cols*e.rows,n=0,o=0;for(let i=0;i<t;i++){let c=e.cellStart[i+1]-e.cellStart[i];c>0&&n++,c>o&&(o=c)}let r=e.items.length;return{cell:e.cell,cols:e.cols,rows:e.rows,cells:t,occupiedCells:n,refs:r,maxPerCell:o,meanPerOccupiedCell:n?r/n:0}}0&&(module.exports={DEFAULT_SEAT_RADIUS,TABLE_SEAT_OFFSET,TEXT_BACKGROUND_PADDING_MAX,TEXT_BACKGROUND_RADIUS_MAX,TEXT_LETTER_SPACING_MAX,TEXT_LETTER_SPACING_MIN,TEXT_LINE_HEIGHT_MAX,TEXT_LINE_HEIGHT_MIN,TEXT_OPACITY_MIN,TEXT_WIDTH_MAX,TEXT_WIDTH_MIN,allObjects,applyAffine,buildAisleHoles,buildSeatIndex,buildSectionShell,chartBounds,composeAffine,createPerspectiveCamera,cubicPoint,decomposeAffineLinear,distanceToRings,distributeAlongCubic,expandBooth,expandChart,expandRow,expandRowSlots,expandTable,expandTableSlots,floorObjects,floorOverviewTranslations,floorsOf,floorsShareFootprint,gridStats,hitTest,invertAffine,layoutFloorOverview,layoutFloorRings,nearestWithin,objectCenter,owningSectionForObject,perspectiveTangentAffine,pointInPolygon,pointInPolygonWithHoles,polygonArea,polygonInscribedAnchor,polygonLabelPoint,polygonNetArea,projectPerspectivePoint,queryRect,resolveSegmentedRowGroups,rowInventoryCount,rowSeatPositions,segmentedRowComponentSeats,segmentedRowComponents,segmentedRowSeatTotal,smoothCubicThroughMiddle,stackFloors,tableInventoryCount,tableSeatCountsBySide,textLayoutMetrics,translateObject});
|
|
@@ -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-DNztpn7q.cjs';
|
|
2
|
+
export { C as ChartBoundsOptions, 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-BxJIZjPm.cjs';
|
|
3
|
+
export { a as SegmentedRowComponent, S as SegmentedRowPlacement, r as resolveSegmentedRowGroups, s as segmentedRowComponentSeats, b as segmentedRowComponents, c as segmentedRowSeatTotal } from '../../segmentedRowModel-BqiM0U65.cjs';
|
|
4
|
+
import { E as ExpandedSeat } from '../../renderer-DmG3C8vD.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-DNztpn7q.js';
|
|
2
|
+
export { C as ChartBoundsOptions, 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-C6YaCOnZ.js';
|
|
3
|
+
export { a as SegmentedRowComponent, S as SegmentedRowPlacement, r as resolveSegmentedRowGroups, s as segmentedRowComponentSeats, b as segmentedRowComponents, c as segmentedRowSeatTotal } from '../../segmentedRowModel-CEP6crcl.js';
|
|
4
|
+
import { E as ExpandedSeat } from '../../renderer-DIcDImOu.js';
|
|
5
5
|
|
|
6
6
|
type SectionShellMode = 'auto' | 'rectangle' | 'tapered' | 'bezier';
|
|
7
7
|
declare function cubicPoint(path: CubicPath, t: number): Point;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as X,b as Y,c as Z,d as _,e as $,f as oo,g as ro,h as eo,i as fo,j as mo,k as po,l as to,m as xo}from"../../chunk-
|
|
1
|
+
import{a as X,b as Y,c as Z,d as _,e as $,f as oo,g as ro,h as eo,i as fo,j as mo,k as po,l as to,m as xo}from"../../chunk-WXWJZ5DO.js";import{Aa as N,Ba as O,Ca as P,Da as Q,Ea as R,Fa as S,Ga as T,Ha as U,Ia as V,J as q,Ja as W,K as s,L as u,M as v,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,ka as w,la as y,ma as z,n as c,na as A,o as d,oa as B,p as g,pa as C,q as h,qa as D,r as i,ra as E,s as j,sa as F,t as k,ta as G,u as l,ua as H,v as n,va as I,wa as J,xa as K,ya as L,za as M}from"../../chunk-X3K36XZM.js";import"../../chunk-CRCGO52K.js";export{X as DEFAULT_SEAT_RADIUS,w as TABLE_SEAT_OFFSET,x as TEXT_BACKGROUND_PADDING_MAX,a as TEXT_BACKGROUND_RADIUS_MAX,p as TEXT_LETTER_SPACING_MAX,m as TEXT_LETTER_SPACING_MIN,f as TEXT_LINE_HEIGHT_MAX,e as TEXT_LINE_HEIGHT_MIN,t as TEXT_OPACITY_MIN,r as TEXT_WIDTH_MAX,o as TEXT_WIDTH_MIN,O as allObjects,fo as applyAffine,i as buildAisleHoles,Y as buildSeatIndex,h as buildSectionShell,W as chartBounds,po as composeAffine,ro as createPerspectiveCamera,c as cubicPoint,xo as decomposeAffineLinear,j as distanceToRings,g as distributeAlongCubic,G as expandBooth,V as expandChart,B as expandRow,A as expandRowSlots,F as expandTable,D as expandTableSlots,N as floorObjects,U as floorOverviewTranslations,M as floorsOf,S as floorsShareFootprint,oo as gridStats,Z as hitTest,mo as invertAffine,R as layoutFloorOverview,T as layoutFloorRings,_ as nearestWithin,K as objectCenter,L as owningSectionForObject,to as perspectiveTangentAffine,H as pointInPolygon,I as pointInPolygonWithHoles,k as polygonArea,n as polygonInscribedAnchor,J as polygonLabelPoint,l as polygonNetArea,eo as projectPerspectivePoint,$ as queryRect,v as resolveSegmentedRowGroups,z as rowInventoryCount,y as rowSeatPositions,s as segmentedRowComponentSeats,q as segmentedRowComponents,u as segmentedRowSeatTotal,d as smoothCubicThroughMiddle,Q as stackFloors,E as tableInventoryCount,C as tableSeatCountsBySide,b as textLayoutMetrics,P as translateObject};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AccessibilityType } from '../../types-
|
|
1
|
+
import { A as AccessibilityType } from '../../types-DNztpn7q.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-CgBQYezj.cjs';
|
|
4
|
+
import '../../renderer-DmG3C8vD.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-DNztpn7q.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-CWwy14lb.js';
|
|
4
|
+
import '../../renderer-DIcDImOu.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Rendering constants that quality inspection must agree with.
|
|
@@ -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-DNztpn7q.cjs';
|
|
2
2
|
|
|
3
3
|
type BackgroundOwner = Pick<ChartDoc, 'referenceImage' | 'backgroundImage'> | Pick<Floor, 'referenceImage' | 'backgroundImage'>;
|
|
4
4
|
/**
|
|
@@ -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-DNztpn7q.js';
|
|
2
2
|
|
|
3
3
|
type BackgroundOwner = Pick<ChartDoc, 'referenceImage' | 'backgroundImage'> | Pick<Floor, 'referenceImage' | 'backgroundImage'>;
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as d,b as g,c as h,d as i,e as j,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-JBGLFOJO.js";import{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}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,f as SEAT_GLYPHS,r as SEAT_GLYPH_DETAIL_MIN_PX,e as SEAT_GLYPH_INSET,m as SEAT_GLYPH_ORDER,o 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,g as buyerBackgroundImage,i as buyerFacingChartDoc,j as hasConflictingLegacyTrace,G as isOpenShapeKind,H as isPointShapeKind,b as isSeatGlyphKind,y as isVenueIconKey,h as migrateLegacyBackgroundLayersInPlace,c as resolveSeatGlyph,I as resolvedShapeLineStyle,p as seatGlyph,a as seatGlyphFit,t as seatGlyphLabel,x as seatGlyphPath,J as shapeArrowMetrics,d 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-DNztpn7q.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-DG-Sc8VW.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-BqiM0U65.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-Bb0L9lDT.cjs';
|
|
6
|
+
import { E as ExpandedSeat } from '../../renderer-DmG3C8vD.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-DNztpn7q.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-CxZWjZBN.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-CEP6crcl.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-87qiciyN.js';
|
|
6
|
+
import { E as ExpandedSeat } from '../../renderer-DIcDImOu.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THE bowl resolver — whether a floor's stands wrap a centre, and the smooth
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as E}from"../../chunk-Y2J55NLS.js";import{a as F,b as G,c as H,d as I}from"../../chunk-
|
|
1
|
+
import{a as E}from"../../chunk-Y2J55NLS.js";import{a as F,b as G,c as H,d as I}from"../../chunk-7OJ6SB6V.js";import{j as z,k as A,l as B,m as C,n as D}from"../../chunk-A27USMF7.js";import{A as e,B as f,C as m,D as p,E as t,F as x,G as a,H as b,I as c,N as d,O as g,P as h,Q as i,R as j,S as k,T as l,U as n,V as q,Y as s,ga as u,ha as v,ia as w,ja as y,y as o,z as r}from"../../chunk-X3K36XZM.js";import"../../chunk-CRCGO52K.js";export{p as DEFAULT_SECTION_CORNER_SMOOTHING,a as MAX_EDGE_SAGITTA_RATIO,s as TIER_HEIGHT_M,z as UNGROUPED_ID,D as applyHidden,I as arcLevelAt,G as bearingDeg,F as buildSectionRake,A as computeSections,t as cornerSmoothingThresholdDeg,v as distanceToPolyline,H as fitBowlProfile,w as fitCircle,C as hiddenObjectIds,g as indexLabel,B as isSectionHidden,l as logicalNumberingRow,j as relabelRows,y as resolveSection,c as reverseSectionOutlinePath,e as sampleSectionOutlinePath,E as seatConfidenceDisclosure,q as seatDisplayLabel,n as seatInventoryLabel,k as seatLabelPart,x as sectionCornerSmoothingPath,u as sectionGeometry,b as sectionOutlinePathFrom,o as sectionPathSegmentEnd,d as toBijectiveBase,h as toLetters,i as toRoman,m as transformSectionOutlinePath,f as translateSectionOutlinePath,r as validSectionOutlinePath};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={"common.cancel":"Zru\u0161it","common.close":"Zav\u0159\xEDt","common.done":"Hotovo","common.copied":"\u2713 Zkop\xEDrov\xE1no","picker.holdExpired":"Va\u0161e rezervace vypr\u0161ela \u2014 m\xEDsta byla uvoln\u011Bna. Vyberte znovu.","picker.poweredBy":"B\u011B\u017E\xED na SeatLayer","picker.testMode":"TESTOVAC\xCD RE\u017DIM","picker.orphanHint":"Takto z\u016Fstane jedno m\xEDsto osamocen\xE9 \u2014 zva\u017Ete posun o jedno m\xEDsto.","picker.companionRequiresWheelchair":"Vy\u017Eaduje sousedn\xED m\xEDsto pro voz\xEDk","picker.companionPairRequired":"Ke ka\u017Ed\xE9 vstupence pro doprovod vyberte sousedn\xED m\xEDsto pro voz\xEDk.","map.aria":"Pl\xE1n m\xEDst. \u0160ipkami se pohybujte mezi m\xEDsty, Enterem vyberte.","map.seatsLeft":"ZB\xDDV\xC1 {count}","map.soldOut":"VYPROD\xC1NO","map.fromPrice":"OD {price}","map.statusHeld":"Rezervov\xE1no","map.statusTaken":"Obsazeno","picker.floor":"Patro","picker.zoomLevel":"\xDArove\u0148 p\u0159ibl\xED\u017Een\xED","picker.rungTip.zones":"P\u0159ehled are\xE1lu \u2014 skupiny sektor\u016F jako Severn\xED tribuna nebo VIP","picker.rungTip.sections":"Bloky sektor\u016F \u2014 vyprodan\xE9 a t\xE9m\u011B\u0159 pln\xE9 sektory tmavnou, aby byla dostupnost vid\u011Bt na prvn\xED pohled","picker.rungTip.seats":"Jednotliv\xE1 m\xEDsta \u2014 bloky se rozpadaj\xED na te\u010Dky","picker.rungLabel.zones":"Z\xD3NY","picker.rungLabel.sections":"SEKTORY","picker.rungLabel.seats":"M\xCDSTA","picker.sectionSummaryAria":"Souhrn sektoru {label}","picker.closeSectionSummary":"Zav\u0159\xEDt souhrn sektoru","picker.seatsLeftInSection.one":"Zb\xFDv\xE1 {count} m\xEDsto","picker.seatsLeftInSection.few":"Zb\xFDvaj\xED {count} m\xEDsta","picker.seatsLeftInSection.many":"Zb\xFDv\xE1 {count} m\xEDsta","picker.seatsLeftInSection.other":"Zb\xFDv\xE1 {count} m\xEDst","picker.seatsLeftShort":"Zb\xFDv\xE1 {count}","picker.overview":"P\u0159ehled","picker.entrance":"Vchod","picker.turnOffAccessibilityFilter":"Vypn\u011Bte filtr pro voz\xED\u010Dk\xE1\u0159e, abyste mohli vybrat toto m\xEDsto","picker.tapSeatHint":"Klepnut\xEDm na m\xEDsto si zobraz\xEDte v\xFDhled","picker.ticketTierFor":"Typ vstupenky pro {label}","picker.viewFromSeat":"V\xFDhled z m\xEDsta {label}","picker.real360":"SKUTE\u010CN\xDDCH 360\xB0","picker.preview":"N\xC1HLED","picker.sightline":"\u2248 {m} m k p\xF3diu","picker.panorama360":"Fotka are\xE1lu ve 360\xB0","picker.illustrationCaption":"ilustrace \xB7 \u2248 {m} m od p\xF3dia","picker.restrictedView":"Omezen\xFD v\xFDhled","picker.obstructedView":"Zakryt\xFD v\xFDhled","picker.premiumSeat":"Pr\xE9miov\xE9 m\xEDsto","picker.hideLimitedView":"Skr\xFDt m\xEDsta s omezen\xFDm v\xFDhledem","picker.bestSeatsPremium":"Nejlep\u0161\xED m\xEDsta","picker.premiumFallbackNote":"\u017D\xE1dn\xFD pr\xE9miov\xFD blok pro {count} \u2014 zobrazujeme nejlep\u0161\xED dostupnou variantu","picker.loading3d":"Sestavujeme are\xE1l ve 3D\u2026","picker.unavailable3d":"3D se nepoda\u0159ilo spustit. Pl\xE1n m\xEDst je d\xE1l dostupn\xFD.","picker.jumpToSection":"P\u0159ej\xEDt na sektor","picker.salesClosedPill":"Prodej ukon\u010Den","picker.salesClosedCopy":"Prodej vstupenek na tuto akci skon\u010Dil.","picker.salesClosedCta":"Prodej ukon\u010Den","picker.salesClosedToast":"Prodej na tuto akci je ukon\u010Den.","picker.holdReassurance":"Va\u0161e po dobu {time} \u2014 zat\xEDm v\xE1m nic nestrhneme.","picker.securingSeats":"Zaji\u0161\u0165ujeme va\u0161e m\xEDsta\u2026","picker.openingCheckout":"Otev\xEDr\xE1me zabezpe\u010Denou platbu\u2026","picker.peekSecured":"\u2713 {count} zaji\u0161t\u011Bno \xB7 {total} \u2014 zat\xEDm v\xE1m nic nestrhneme","picker.priceHint":"Barvy v pl\xE1nu jsou typy vstupenek \u2014 klepnut\xEDm na n\u011Bkter\xFD n\xED\u017Ee zobraz\xEDte jen ta m\xEDsta.","picker.findTogetherInstead":"Rad\u011Bji naj\xEDt m\xEDsta vedle sebe","picker.keepMyPicks":"Ponechat m\u016Fj v\xFDb\u011Br","picker.accessExpiredBody":"P\u0159ihlaste se znovu nebo obnovte str\xE1nku, a\u0165 si m\u016F\u017Eete tato m\xEDsta d\xE1l prohl\xED\u017Eet. Co u\u017E m\xE1te rezervov\xE1no, z\u016Fst\xE1v\xE1 va\u0161e.","picker.accessExpiredTitle":"Va\u0161e relace p\u0159\xEDstupu skon\u010Dila","picker.accessInvalidBody":"St\xE1le si m\u016F\u017Eete koupit v\u0161e, co je zobrazeno jako dostupn\xE9. O p\u0159\xEDstup ke zbytku po\u017E\xE1dejte toho, kdo v\xE1m poslal odkaz.","picker.accessInvalidTitle":"Nepoda\u0159ilo se n\xE1m ov\u011B\u0159it v\xE1\u0161 p\u0159\xEDstup","picker.accessPausedBody":"Po\u0159adatel tento v\xFDb\u011Br pozastavil. Zkuste to za p\xE1r minut znovu.","picker.accessPausedTitle":"Tato m\xEDsta jsou pr\xE1v\u011B blokovan\xE1","picker.accessRetry":"Zkusit znovu","picker.accessRevokedBody":"Po\u017E\xE1dejte toho, kdo v\xE1m poslal odkaz, o nov\xFD, a\u0165 m\u016F\u017Eete tato m\xEDsta d\xE1l rezervovat.","picker.accessRevokedTitle":"Tento p\u0159\xEDstupov\xFD odkaz u\u017E nen\xED aktivn\xED","picker.accessiblePhysicalSeat":"Bezbari\xE9rov\xE9 fyzick\xE9 m\xEDsto","picker.addTime":"P\u0159idat \u010Das","picker.accessibilityOptions":"P\u0159\xEDstupnost a barvy","picker.addingEllipsis":"P\u0159id\xE1v\xE1n\xED\u2026","picker.allLevels":"V\u0161echny \xFArovn\u011B","picker.allPlacesBookedTogether":"V\u0161ech {count} m\xEDst se rezervuje spole\u010Dn\u011B jako jeden exkluzivn\xED st\u016Fl.","picker.allPrices":"V\u0161echny ceny","picker.allSeats":"V\u0161echna m\xEDsta","picker.allSetTitle":"V\u0161e je p\u0159ipraveno","picker.anyTicketType":"Jak\xFDkoli typ vstupenky","picker.anyVenueZone":"Jak\xE1koli z\xF3na are\xE1lu","picker.areas":"Oblasti","picker.available":"Dostupn\xE9","picker.backToMap":"Zp\u011Bt na pl\xE1n","picker.backToVenue":"Zp\u011Bt do are\xE1lu","picker.bestSeatsStar":"\u2726 Nejlep\u0161\xED m\xEDsta","picker.booth":"St\xE1nek","picker.capacityGuests":"{count} host\u016F","picker.change":"Zm\u011Bnit","picker.chartDerivedModel":"Model odvozen\xFD z pl\xE1nu","picker.chartDerivedSeatEye":"\u017Div\xE9 3D \xB7 pohled z v\xFD\u0161ky o\u010D\xED odvozen\xFD z pl\xE1nu \xB7 nezam\u011B\u0159eno na m\xEDst\u011B","picker.checkConnection":"Zkontrolujte p\u0159ipojen\xED a zkuste to znovu.","picker.checkoutCouldNotBeOpened":"Platbu se nepoda\u0159ilo otev\u0159\xEDt. Va\u0161e m\xEDsta jsou st\xE1le rezervovan\xE1 \u2014 zkuste to pros\xEDm znovu.","picker.chooseAnotherToCompare":"Vyberte dal\u0161\xED m\xEDsto k porovn\xE1n\xED.","picker.chooseGuestsCopy":"Vyberte, kolik host\u016F bude sed\u011Bt spolu. Tento st\u016Fl je rezervov\xE1n v\xFDhradn\u011B pro va\u0161i spole\u010Dnost.","picker.chooseMinMaxGuests":"Vyberte {min}\u2013{max} host\u016F","picker.clearSavedSeatComparison":"Vymazat ulo\u017Een\xE9 porovn\xE1n\xED m\xEDst","picker.close":"Zav\u0159\xEDt","picker.closeSeatStatus":"Zav\u0159\xEDt stav m\xEDsta","picker.closestGroupChosenInstantly":"Nejbli\u017E\u0161\xED dostupn\xE1 skupina, vybran\xE1 okam\u017Eit\u011B.","picker.collapseTicketPanel":"Sbalit panel vstupenek","picker.colorblindColors":"Barvy vhodn\xE9 pro barvoslep\xE9","picker.companionSeatsNote":"Sousedn\xED m\xEDsta pro doprovod z\u016Fst\xE1vaj\xED voliteln\xE1","picker.compareCount":"Porovnat {count}","picker.compareWithSaved":"Porovnat s ulo\u017Een\xFDm","picker.confirmOrCancelSeat":"Potvrdit nebo zru\u0161it toto m\xEDsto","picker.confirmSeatLabel":"Potvrdit m\xEDsto {label}","picker.confirmYourTable":"Potvr\u010Fte sv\u016Fj st\u016Fl","picker.confirmedAndOnWay":"potvrzeno. Potvrzen\xED je na cest\u011B.","picker.continue":"Pokra\u010Dovat","picker.continueToCheckout":"Pokra\u010Dovat k platb\u011B","picker.couldNotAddMoreTime":"Nepoda\u0159ilo se p\u0159idat \u010Das \u2014 p\u0159ejd\u011Bte pros\xEDm k platb\u011B hned.","picker.couldNotFindSeatsTogether":"Nena\u0161li jsme {count} m\xEDst vedle sebe. Zkuste m\xE9n\u011B m\xEDst nebo jin\xFD typ vstupenky.","picker.couldNotReleaseTickets":"Va\u0161e vstupenky se nepoda\u0159ilo uvolnit. Rezervace z\u016Fst\xE1v\xE1 beze zm\u011Bny.","picker.couldNotRemoveLabel":"Nepoda\u0159ilo se odebrat {label}. Rezervace z\u016Fst\xE1v\xE1 beze zm\u011Bny.","picker.currentOffer":"Aktu\xE1ln\xED nab\xEDdka","picker.currentTicketOffer":"Aktu\xE1ln\xED nab\xEDdka vstupenek","picker.dragToLookAround":"Ta\u017Een\xEDm se rozhl\xE9dnete \xB7 kole\u010Dkem p\u0159ibl\xED\u017E\xEDte","picker.emptyWheelchairSpace":"Voln\xE9 m\xEDsto pro voz\xEDk","picker.exitFullScreen":"Ukon\u010Dit celou obrazovku","picker.fewer":"M\xE9n\u011B","picker.fewerGuests":"M\xE9n\u011B host\u016F","picker.fewerSeats":"M\xE9n\u011B m\xEDst","picker.filterAndFocusByPrice":"Filtrovat a zv\xFDraznit m\xEDsta podle ceny","picker.filters":"Filtry","picker.findBestSeatsCount.one":"Naj\xEDt {count} nejlep\u0161\xED m\xEDsto","picker.findBestSeatsCount.few":"Naj\xEDt {count} nejlep\u0161\xED m\xEDsta","picker.findBestSeatsCount.many":"Naj\xEDt {count} nejlep\u0161\xEDho m\xEDsta","picker.findBestSeatsCount.other":"Naj\xEDt {count} nejlep\u0161\xEDch m\xEDst","picker.findBestSeatsTogether":"Naj\xEDt nejlep\u0161\xED m\xEDsta vedle sebe","picker.findNewSeats":"Naj\xEDt nov\xE1 m\xEDsta","picker.findingBestSeats":"Hled\xE1me nejlep\u0161\xED m\xEDsta\u2026","picker.findingEllipsis":"Hled\xE1n\xED\u2026","picker.fitToScreen":"P\u0159izp\u016Fsobit obrazovce","picker.flat2dMap":"Ploch\xFD 2D pl\xE1n","picker.flexiblePartyTypeWord":"Flexibiln\xED spole\u010Dnost \xB7 {typeWord}","picker.fullScreen":"Cel\xE1 obrazovka","picker.generalAdmission":"Voln\xFD vstup","picker.guestCountCouldNotBeSecured":"Tento po\u010Det host\u016F se nepoda\u0159ilo zajistit. Va\u0161e rezervace stolu z\u016Fst\xE1v\xE1 beze zm\u011Bny.","picker.guestCountNoLongerAvailable":"Tento po\u010Det host\u016F u\u017E nen\xED dostupn\xFD. Va\u0161e rezervace z\u016Fst\xE1v\xE1 beze zm\u011Bny.","picker.guests":"Host\xE9","picker.guestsCount":"{count} host\u016F","picker.guestsCountEdit":"{count} host\u016F \xB7 Upravit","picker.held":"Rezervov\xE1no","picker.heldByOther":"Rezervov\xE1no jin\xFDm kupuj\xEDc\xEDm \u2014 m\u016F\u017Ee se uvolnit","picker.heldForYou":"Rezervov\xE1no pro v\xE1s","picker.heldSeatExplanation":"Toto m\xEDsto dr\u017E\xED jin\xFD kupuj\xEDc\xED. M\u016F\u017Ee se znovu uvolnit.","picker.heldTicketsReleased":"Rezervovan\xE9 vstupenky uvoln\u011Bny. Vyberte si nov\xE1 m\xEDsta.","picker.heldTicketsRestored":"Va\u0161e rezervovan\xE9 vstupenky byly obnoveny.","picker.hidePanel":"Skr\xFDt panel","picker.hideTicketPanel":"Skr\xFDt panel vstupenek","picker.holdSeatsAndCheckout":"Rezervovat m\xEDsta a zaplatit","picker.howOfferWorks":"Jak funguje nab\xEDdka {name}","picker.interactive3dVenueView":"Interaktivn\xED 3D pohled na are\xE1l","picker.keepMine":"Ponechat moje","picker.labelNoLongerAvailable":"{label} u\u017E nen\xED dostupn\xE9.","picker.labelRemoved":"{label} odebr\xE1no.","picker.labelRemovedFromHold":"{label} odebr\xE1no z va\u0161\xED rezervace.","picker.labelRestored":"{label} obnoveno.","picker.labelsNoLongerAvailable.one":"{labels} u\u017E nen\xED dostupn\xE9. Vyberte jin\xE9 m\xEDsto.","picker.labelsNoLongerAvailable.few":"{labels} u\u017E nejsou dostupn\xE1. Vyberte jinou skupinu.","picker.labelsNoLongerAvailable.many":"{labels} u\u017E nejsou dostupn\xE1. Vyberte jinou skupinu.","picker.labelsNoLongerAvailable.other":"{labels} u\u017E nejsou dostupn\xE1. Vyberte jinou skupinu.","picker.leftCount.one":"zb\xFDv\xE1 {count}","picker.leftCount.few":"zb\xFDvaj\xED {count}","picker.leftCount.many":"zb\xFDv\xE1 {count}","picker.leftCount.other":"zb\xFDv\xE1 {count}","picker.levelNumber":"\xDArove\u0148 {number}","picker.levels":"\xDArovn\u011B","picker.liveAvailability":"\u017Div\xE1 dostupnost \u2014 m\xEDsta se aktualizuj\xED v re\xE1ln\xE9m \u010Dase","picker.loadingSeatMap":"Na\u010D\xEDt\xE1n\xED pl\xE1nu m\xEDst\u2026","picker.lookAroundLive3d":"Rozhl\xE9dn\u011Bte se v \u017Eiv\xE9m 3D","picker.manualTicketsRemovedNote":"Ru\u010Dn\u011B vybran\xE9 vstupenky odebereme a\u017E pot\xE9, co zajist\xEDme novou skupinu.","picker.map":"Pl\xE1n","picker.mapDidNotLoad":"Pl\xE1n m\xEDst se nena\u010Detl","picker.maxTicketsForOrder":"Do t\xE9to objedn\xE1vky m\u016F\u017Eete vybrat nejv\xFD\u0161e {count} vstupenek.","picker.selectExactMore":"Vyberte je\u0161t\u011B {count}","picker.selectExactCount":"Vyberte p\u0159esn\u011B {count} vstupenek","picker.selectMinimumMore":"Vyberte je\u0161t\u011B {count}","picker.adjustSeatSelection":"Upravit v\xFDb\u011Br m\xEDst","picker.selectSeatsTogether":"Vyberte m\xEDsta vedle sebe ve stejn\xE9 \u0159ad\u011B a kategorii vstupenky.","picker.minToMaxGuests":"{min} a\u017E {max} host\u016F","picker.more":"V\xEDce","picker.moreCount":"+{count} dal\u0161\xEDch","picker.showLess":"Zobrazit m\xE9n\u011B","picker.moreGuests":"V\xEDce host\u016F","picker.moreSeats":"V\xEDce m\xEDst","picker.moreSelectedCount":"vybr\xE1no o {count} v\xEDce","picker.moreTimeAdded":"\u010Cas prodlou\u017Een \u2014 va\u0161e m\xEDsta jsou st\xE1le rezervovan\xE1.","picker.noAccessibilityMetadata":"Nebyly poskytnuty \xFAdaje o p\u0159\xEDstupnosti","picker.noAuthoredRestriction":"Po\u0159adatel neuvedl \u017E\xE1dn\xE9 omezen\xED","picker.noSeatsSelected":"Nevybr\xE1na \u017E\xE1dn\xE1 m\xEDsta","picker.notChargedYet":"Zat\xEDm v\xE1m nic nestrhneme.","picker.notForSale":"Nen\xED v prodeji","picker.notForSaleExplanation":"Toto m\xEDsto nen\xED sou\u010D\xE1st\xED aktu\xE1ln\xEDho prodeje.","picker.numberOfGuests":"Po\u010Det host\u016F","picker.offerDetailActive":"Tato cena se automaticky vztahuje na zp\u016Fsobil\xE1 m\xEDsta. Vstupenky v aktivn\xEDch ko\u0161\xEDc\xEDch do\u010Dasn\u011B sni\u017Euj\xED dostupn\xE9 mno\u017Estv\xED; uvoln\u011Bn\xE9 nebo vypr\u0161el\xE9 rezervace ho vracej\xED. Po skon\u010Den\xED nab\xEDdky nastupuje dal\u0161\xED odpov\xEDdaj\xEDc\xED nab\xEDdka nebo b\u011B\u017En\xE1 cena vstupenky.","picker.offerDetailUpcoming":"Vstupenky jsou nyn\xED k dispozici za b\u011B\u017Enou cenu. Tato napl\xE1novan\xE1 nab\xEDdka se na zp\u016Fsobil\xE1 m\xEDsta uplatn\xED automaticky, jakmile za\u010Dne.","picker.offerRemainingAvailable":"dostupn\xFDch: {count}","picker.offerStarts":"za\u010D\xEDn\xE1 {time}","picker.offerUntil":"do {time}","picker.oneSeatSaved":"Ulo\u017Eeno 1 m\xEDsto","picker.oneSeatSavedChooseAnother":"Jedno m\xEDsto ulo\u017Eeno; vyberte dal\u0161\xED k porovn\xE1n\xED","picker.openAuthored360":"Otev\u0159\xEDt are\xE1l ve 360\xB0","picker.openComparison":"Otev\u0159\xEDt porovn\xE1n\xED","picker.openComparisonOfSeats":"Otev\u0159\xEDt porovn\xE1n\xED {count} m\xEDst","picker.openTicketPanel":"Otev\u0159\xEDt panel vstupenek","picker.peekFromPrice":"Od {price}","picker.peekTicketsTotal.one":"{count} vstupenka \xB7 {total}","picker.peekTicketsTotal.few":"{count} vstupenky \xB7 {total}","picker.peekTicketsTotal.many":"{count} vstupenky \xB7 {total}","picker.peekTicketsTotal.other":"{count} vstupenek \xB7 {total}","picker.perGuestPrice":"{price} za hosta","picker.pickYourSeats":"Vyberte si m\xEDsta","picker.preferredTicketType":"Preferovan\xFD typ vstupenky","picker.preferredVenueZone":"Preferovan\xE1 z\xF3na are\xE1lu","picker.priceNotSupplied":"Cena neuvedena","picker.releaseHeldTickets":"Uvolnit rezervovan\xE9 vstupenky a vybrat jin\xE1 m\xEDsta","picker.releasingEllipsis":"Uvol\u0148ov\xE1n\xED\u2026","picker.removeHeldTicketLabel":"Odebrat rezervovanou vstupenku {label}","picker.removeSeatLabel":"Odebrat {label}","picker.removeTicketsUntilOrFewer":"Odeb\xEDrejte vstupenky, dokud jich v objedn\xE1vce nebude {count} nebo m\xE9n\u011B.","picker.replaceCurrentChoices":"Nahradit v\xE1\u0161 sou\u010Dasn\xFD v\xFDb\u011Br?","picker.review":"Zkontrolovat","picker.row":"\u0158ada","picker.rowLabel":"\u0158ada {label}","picker.saveToCompare":"Ulo\u017Eit k porovn\xE1n\xED","picker.savedForComparison":"Ulo\u017Eeno k porovn\xE1n\xED","picker.savedSeatComparison":"Ulo\u017Een\xE9 porovn\xE1n\xED m\xEDst","picker.scheduledOffer":"Napl\xE1novan\xE1 nab\xEDdka","picker.seat":"M\xEDsto","picker.seatCount.one":"{count} m\xEDsto","picker.seatCount.few":"{count} m\xEDsta","picker.seatCount.many":"{count} m\xEDsta","picker.seatCount.other":"{count} m\xEDst","picker.seatJustTakenByAnother":"M\xEDsto {label} pr\xE1v\u011B obsadil jin\xFD kupuj\xEDc\xED.","picker.seatLabel":"M\xEDsto {label}","picker.seatNoLongerAvailable":"Toto m\xEDsto u\u017E nen\xED dostupn\xE9.","picker.seatNoLongerYours":"N\u011Bkter\xE1 m\xEDsta u\u017E pro v\xE1s nejsou dostupn\xE1. Byla odebr\xE1na z va\u0161\xED objedn\xE1vky.","picker.seatNumberLower":"m\xEDsto {label}","picker.seatSalesClosedForEvent":"Prodej m\xEDst na tuto akci byl ukon\u010Den.","picker.seatSelection":"V\xFDb\u011Br m\xEDst","picker.seatStatusLegend":"Legenda stav\u016F m\xEDst","picker.seatTaken":"N\u011Bkdo jin\xFD obsadil m\xEDsto, kter\xE9 jste si vybrali. Bylo odebr\xE1no z va\u0161\xED objedn\xE1vky.","picker.seatsHeldForNeedMoreTime":"Va\u0161e m\xEDsta jsou rezervovan\xE1 na <b>{time}</b>. Pot\u0159ebujete v\xEDce \u010Dasu?","picker.seatsJustTaken":"Jedno nebo v\xEDce m\xEDst bylo pr\xE1v\u011B obsazeno. Vyberte pros\xEDm znovu.","picker.seatsJustTakenInCategory.one":"{count} m\xEDsto pr\xE1v\u011B obsazeno v {label} \xB7 zb\xFDv\xE1 {left}","picker.seatsJustTakenInCategory.few":"{count} m\xEDsta pr\xE1v\u011B obsazena v {label} \xB7 zb\xFDv\xE1 {left}","picker.seatsJustTakenInCategory.many":"{count} m\xEDsta pr\xE1v\u011B obsazena v {label} \xB7 zb\xFDv\xE1 {left}","picker.seatsJustTakenInCategory.other":"{count} m\xEDst pr\xE1v\u011B obsazeno v {label} \xB7 zb\xFDv\xE1 {left}","picker.seatsNoLongerAvailableTryAnother":"Tato m\xEDsta u\u017E nejsou dostupn\xE1. Zkuste jin\xFD po\u010Det nebo typ vstupenky.","picker.seatsSecured":"M\xEDsta zaji\u0161t\u011Bna","picker.seatsSelectedCount.one":"vybr\xE1no {count}","picker.seatsSelectedCount.few":"vybr\xE1ny {count}","picker.seatsSelectedCount.many":"vybr\xE1no {count}","picker.seatsSelectedCount.other":"vybr\xE1no {count}","picker.section":"Sektor","picker.secureMore":"Zajistit v\xEDce","picker.secureMoreAndCheckout":"Zajistit je\u0161t\u011B {count} a zaplatit","picker.securedCount":"zaji\u0161t\u011Bno {count}","picker.seeItIn3d":"Zobrazit ve 3D","picker.select":"Vybrat","picker.selectSeats":"Vybrat m\xEDsta","picker.selectTable":"Vybrat st\u016Fl","picker.selectWholeTable":"Vybrat cel\xFD st\u016Fl","picker.selected":"Vybr\xE1no","picker.selectingEllipsis":"Vyb\xEDr\xE1n\xED\u2026","picker.showAllSeats":"Zobrazit v\u0161echna m\xEDsta","picker.showAllTicketTypes":"Zobrazit v\u0161ech {count} typ\u016F vstupenek","picker.showFewer":"Zobrazit m\xE9n\u011B","picker.showLabelSeatsOnMap":"Zobrazit m\xEDsta {label} v pl\xE1nu","picker.showTicketPanel":"Zobrazit panel vstupenek","picker.sold":"Prod\xE1no","picker.soldOutCopy":"Na tuto akci nejsou moment\xE1ln\u011B dostupn\xE1 \u017E\xE1dn\xE1 \u010D\xEDslovan\xE1 m\xEDsta.","picker.soldOutEyebrow":"Tato akce","picker.soldOutTitle":"Vyprod\xE1no","picker.soldSeatExplanation":"Toto m\xEDsto u\u017E bylo zarezervov\xE1no.","picker.statusAvailable":"dostupn\xE9","picker.statusOnHold":"rezervov\xE1no","picker.statusTaken2":"obsazeno","picker.table":"St\u016Fl","picker.tableCapacity":"Kapacita stolu","picker.tableUpdatedForGuests":"{label} upraveno pro {count} host\u016F.","picker.temporarilyHeld":"Do\u010Dasn\u011B rezervov\xE1no","picker.ticketPrices":"Ceny vstupenek","picker.ticketTypeSoldOut":"Tento typ vstupenky je vyprodan\xFD. Zkuste jin\xFD typ.","picker.tickets":"Vstupenky","picker.ticketsCount.one":"{count} vstupenka","picker.ticketsCount.few":"{count} vstupenky","picker.ticketsCount.many":"{count} vstupenky","picker.ticketsCount.other":"{count} vstupenek","picker.toggleColorblindColors":"P\u0159epnout barvy vhodn\xE9 pro barvoslep\xE9","picker.total":"Celkem","picker.trayHintTapOrBest":"Klepn\u011Bte na m\xEDsto v pl\xE1nu, nebo nechte n\xE1s vybrat nejlep\u0161\xED dostupn\xE1 za v\xE1s.","picker.trayHintTapOrStanding":"Klepn\u011Bte na m\xEDsto v pl\xE1nu \u2014 nebo si n\xED\u017Ee vezm\u011Bte vstupenky na st\xE1n\xED.","picker.undo":"Zp\u011Bt","picker.upcomingTicketOffer":"Nadch\xE1zej\xEDc\xED nab\xEDdka vstupenek","picker.updateTable":"Aktualizovat st\u016Fl","picker.updatingEllipsis":"Aktualizace\u2026","picker.venueView":"Pohled na are\xE1l","picker.recentreOnStage":"Vycentrovat zp\u011Bt na p\xF3dium","picker.stopYourSeat":"Va\u0161e m\xEDsto","picker.stopYourRow":"Va\u0161e \u0159ada","picker.stopYourSection":"V\xE1\u0161 sektor","picker.stopWholeVenue":"Cel\xFD are\xE1l","picker.viewFromHere":"V\xFDhled odsud","picker.viewFromYourSeat":"pohled z va\u0161eho m\xEDsta","picker.fromYourSeat":"z va\u0161eho m\xEDsta","picker.viewFromThisSeat":"V\xFDhled z tohoto m\xEDsta","picker.wholeTypeWord":"Cel\xFD {typeWord}","picker.willChooseClosestGroup":"Vybereme za v\xE1s nejbli\u017E\u0161\xED dostupnou skupinu.","picker.willFindSeatsTogether":"Najdeme {count} m\xEDst vedle sebe.","picker.yourSeats":"Va\u0161e m\xEDsta","picker.zoomIn":"P\u0159ibl\xED\u017Eit","picker.zoomOut":"Odd\xE1lit","picker.closeVenueNav":"Zav\u0159\xEDt","picker.levelsAndAreas":"\xDArovn\u011B a oblasti","picker.gaChooseTickets":"Kolik vstupenek?","picker.gaAdd.one":"P\u0159idat {count} vstupenku \xB7 {price}","picker.gaAdd.few":"P\u0159idat {count} vstupenky \xB7 {price}","picker.gaAdd.many":"P\u0159idat {count} vstupenky \xB7 {price}","picker.gaAdd.other":"P\u0159idat {count} vstupenek \xB7 {price}","picker.gaUpdate.one":"Upravit \xB7 {count} vstupenka","picker.gaUpdate.few":"Upravit \xB7 {count} vstupenky","picker.gaUpdate.many":"Upravit \xB7 {count} vstupenky","picker.gaUpdate.other":"Upravit \xB7 {count} vstupenek","picker.gaRemove":"Odebrat","picker.gaAreasHeading":"Oblasti","picker.gaTrayHintTapArea":"Klepnut\xEDm na oblast v pl\xE1nu vyberete vstupenky.","picker.gaAdded.one":"P\u0159id\xE1na {count} vstupenka {area}, {price}","picker.gaAdded.few":"P\u0159id\xE1ny {count} vstupenky {area}, {price}","picker.gaAdded.many":"P\u0159id\xE1ny {count} vstupenky {area}, {price}","picker.gaAdded.other":"P\u0159id\xE1no {count} vstupenek {area}, {price}","picker.gaRemoved":"Vstupenky {area} odebr\xE1ny","picker.gaChooseForArea":"Vyberte vstupenky pro {area}","picker.holdSeatsForAllPerformances":"Rezervovat m\xEDsta na v\u0161echna {count} p\u0159edstaven\xED","picker.completeAllPerformances":"Dokon\u010Dit v\u0161echna p\u0159edstaven\xED ({complete}/{total})","picker.groupTrayHint":"Vyberte m\xEDsta jednou \u2014 stejn\xE1 m\xEDsta budou rezervov\xE1na na ka\u017Ed\xE9 p\u0159edstaven\xED.","picker.groupPerPerformanceTrayHint":"Vyberte m\xEDsta na toto p\u0159edstaven\xED a pak dokon\u010Dete ka\u017Ed\xFD term\xEDn v\xFD\u0161e.","picker.group.sameSeatSummary":"Vyberte jednou. Stejn\xE1 m\xEDsta budou rezervov\xE1na na v\u0161echna {count} p\u0159edstaven\xED.","picker.group.perPerformanceSummary":"Vyberte m\xEDsta na ka\u017Ed\xE9 p\u0159edstaven\xED. V\u0161ech {count} v\xFDb\u011Br\u016F se rezervuje spole\u010Dn\u011B.","picker.group.allDates":"Zahrnuto v\u0161ech {count} term\xEDn\u016F","picker.group.flexibleDatesInView":"V zobrazen\xED je v\u0161ech {count} term\xEDn\u016F","picker.group.flexibleDatesSelected":"Vybr\xE1no {selected} z {total} term\xEDn\u016F","picker.group.performances":"P\u0159edstaven\xED","picker.group.heldForEveryPerformance":"Rezervov\xE1no na ka\u017Ed\xE9 p\u0159edstaven\xED","picker.group.notStarted":"Neza\u010Dato","picker.group.inProgress":"Prob\xEDh\xE1","picker.group.complete":"Hotovo","picker.group.needsAttention":"Vy\u017Eaduje pozornost","picker.group.previousPerformance":"P\u0159edchoz\xED p\u0159edstaven\xED","picker.group.nextPerformance":"Dal\u0161\xED p\u0159edstaven\xED","picker.group.performanceOpened":"Nyn\xED vyb\xEDr\xE1te m\xEDsta na {performance}.","picker.group.checkingAvailability":"Zji\u0161\u0165ujeme, kter\xE1 m\xEDsta jsou voln\xE1 na ka\u017Ed\xE9 p\u0159edstaven\xED\u2026","picker.group.securing":"Rezervujeme tato m\xEDsta na ka\u017Ed\xE9 p\u0159edstaven\xED. Chv\xEDli strpen\xED.","picker.group.commitPending":"St\xE1le rezervujeme tato m\xEDsta na ka\u017Ed\xE9 p\u0159edstaven\xED. SeatLayer pracuje d\xE1l a tato str\xE1nka sleduje v\xFDsledek.","picker.group.outcomeUnknown":"Ov\u011B\u0159ujeme, zda byla va\u0161e m\xEDsta rezervov\xE1na. Zat\xEDm nevyb\xEDrejte jin\xE1 m\xEDsta.","picker.group.longRunning":"Trv\xE1 to d\xE9le ne\u017E obvykle. St\xE1le ov\u011B\u0159ujeme stejn\xFD po\u017Eadavek. Neodes\xEDlejte ho znovu. Referen\u010Dn\xED \u010D\xEDslo: {reference}.","picker.group.abortPending":"Nepoda\u0159ilo se n\xE1m rezervovat ka\u017Ed\xE9 p\u0159edstaven\xED. Ov\u011B\u0159ujeme, \u017Ee jsou v\u0161echna m\xEDsta uvoln\u011Bna, ne\u017E to zkus\xEDte znovu.","picker.group.secured":"M\xEDsta jsou rezervov\xE1na na ka\u017Ed\xE9 p\u0159edstaven\xED. Pokra\u010Dujte, a\u017E budete cht\xEDt.","picker.group.notSecured":"Tato m\xEDsta se nepoda\u0159ilo rezervovat na ka\u017Ed\xE9 p\u0159edstaven\xED. Nic nen\xED rezervov\xE1no. Zkuste to znovu.","picker.group.retry":"Zkusit znovu","picker.group.salesClosed":"M\xEDsta pro tuto s\xE9rii p\u0159edstaven\xED nejsou nyn\xED dostupn\xE1. Vra\u0165te se na str\xE1nku akce pro dal\u0161\xED mo\u017Enosti.","picker.group.revisionChanged":"Tato s\xE9rie p\u0159edstaven\xED se zm\u011Bnila. P\u0159ed dal\u0161\xEDm v\xFDb\u011Brem m\xEDst si projd\u011Bte zahrnut\xE1 p\u0159edstaven\xED.","picker.group.legendTitle":"Dostupnost m\xEDst","picker.group.legendUnavailable":"Nedostupn\xE9","picker.group.partlyAvailableTitle":"Voln\xE9 jen n\u011Bkter\xE9 ve\u010Dery","picker.group.notAvailableOn":"Nedostupn\xE9 {dates}","picker.group.nightFree":"Voln\xE9","picker.group.nightBlocked":"Nedostupn\xE9","picker.group.pickSeatFreeEveryNight":"Vyberte m\xEDsto, kter\xE9 je voln\xE9 ka\u017Ed\xFD ve\u010Der.","picker.group.chooseNightByNight":"Vybrat m\xEDsta ve\u010Der po ve\u010Deru","picker.group.nightByNightStarted":"Nyn\xED vyb\xEDr\xE1te m\xEDsta pro ka\u017Ed\xE9 p\u0159edstaven\xED zvl\xE1\u0161\u0165. V\xE1\u0161 v\xFDb\u011Br byl zru\u0161en.","picker.group.yourSeatsByNight":"Va\u0161e m\xEDsta po ve\u010Derech","picker.group.noSeatsChosenYet":"Zat\xEDm \u017E\xE1dn\xE1 m\xEDsta","picker.group.chosenOfTotal":"{chosen} z {total}","picker.group.needsMoreSeats":"Chyb\xED je\u0161t\u011B {count}","picker.group.closeSeatDetails":"Zav\u0159\xEDt podrobnosti o m\xEDst\u011B","picker.group.seatPartlyAvailable":"{label}: voln\xE9 na {free} z {total} p\u0159edstaven\xED. Nedostupn\xE9 {dates}.","picker.group.selectAvailableDates":"Vybrat pro {count} dostupn\xFDch term\xEDn\u016F","picker.group.selectedAvailableDates":"Vybr\xE1no pro {count} dostupn\xFDch term\xEDn\u016F.","picker.group.clearBeforePartial":"P\u0159ed volbou jin\xE9 sady term\xEDn\u016F zru\u0161te sv\xE1 st\xE1vaj\xEDc\xED m\xEDsta.","picker.group.legendAvailable":"Dostupn\xE9","picker.group.legendSelected":"Vybran\xE9","picker.group.legendNotEveryDate":"Nen\xED voln\xE9 na v\u0161echny term\xEDny","picker.group.progressLabel":"Kroky rezervace","picker.group.stepPerformances":"P\u0159edstaven\xED","picker.group.stepSeats":"M\xEDsta","picker.group.stepReview":"Kontrola","picker.group.stepDone":"Hotovo","picker.group.stepCurrent":"Aktu\xE1ln\xED krok","picker.group.includedNote":"Zahrnuto je v\u0161ech {count} p\u0159edstaven\xED \xB7 term\xEDny zde nelze odebrat","picker.group.flexibleDatesNote":"Vyberte \u010D\xE1ste\u010Dn\u011B dostupn\xE9 m\xEDsto, aby se zahrnuly jen term\xEDny, kdy je voln\xE9.","picker.group.flexibleSelectedNote":"Pro toto m\xEDsto budou rezervov\xE1ny jen tyto {count} term\xEDny.","picker.group.yourSelection":"V\xE1\u0161 v\xFDb\u011Br","picker.group.pricesPerPerformance":"Ceny jsou uveden\xE9 za jedno p\u0159edstaven\xED","picker.group.total":"Celkem","picker.group.heldTogether":"V\u0161ech {count} v\xFDb\u011Br\u016F p\u0159edstaven\xED se rezervuje spole\u010Dn\u011B \xB7 zb\xFDv\xE1 {time}","picker.group.completeWithSeats":"Hotovo \xB7 {seats}","picker.group.stillNeedsSeat":"St\xE1le chyb\xED m\xEDsto","picker.group.sameSeatMapHelp":"Jeden pl\xE1n ukazuje jen m\xEDsta voln\xE1 na ka\u017Ed\xE9 vybran\xE9 p\u0159edstaven\xED.","picker.group.perPerformanceMapHelp":"Naho\u0159e p\u0159ep\xEDnejte term\xEDny; poloha pl\xE1nu i ka\u017Ed\xFD v\xFDb\u011Br z\u016Fstanou ulo\u017Een\xE9.","picker.group.bookedAll":"Hotovo \u2014 m\xEDsta jsou rezervov\xE1na na v\u0161ech {count} p\u0159edstaven\xED.","picker.group.seatsEveryPerformance.one":"{count} m\xEDsto \xB7 na ka\u017Ed\xE9 p\u0159edstaven\xED","picker.group.seatsEveryPerformance.few":"{count} m\xEDsta \xB7 na ka\u017Ed\xE9 p\u0159edstaven\xED","picker.group.seatsEveryPerformance.many":"{count} m\xEDsta \xB7 na ka\u017Ed\xE9 p\u0159edstaven\xED","picker.group.seatsEveryPerformance.other":"{count} m\xEDst \xB7 na ka\u017Ed\xE9 p\u0159edstaven\xED","picker.group.seatsPerPerformance.one":"{count} m\xEDsto \xB7 {per} na p\u0159edstaven\xED","picker.group.seatsPerPerformance.few":"{count} m\xEDsta \xB7 {per} na p\u0159edstaven\xED","picker.group.seatsPerPerformance.many":"{count} m\xEDsta \xB7 {per} na p\u0159edstaven\xED","picker.group.seatsPerPerformance.other":"{count} m\xEDst \xB7 {per} na p\u0159edstaven\xED","picker.group.performancesChosenOf.one":"Vybr\xE1no {chosen} ze {total} p\u0159edstaven\xED \xB7 {count} m\xEDsto","picker.group.performancesChosenOf.few":"Vybr\xE1no {chosen} ze {total} p\u0159edstaven\xED \xB7 {count} m\xEDsta","picker.group.performancesChosenOf.many":"Vybr\xE1no {chosen} ze {total} p\u0159edstaven\xED \xB7 {count} m\xEDsta","picker.group.performancesChosenOf.other":"Vybr\xE1no {chosen} ze {total} p\u0159edstaven\xED \xB7 {count} m\xEDst","picker.group.ticketsConfirmedAcross.one":"{count} vstupenka potvrzena na {performances} p\u0159edstaven\xED","picker.group.ticketsConfirmedAcross.few":"{count} vstupenky potvrzeny na {performances} p\u0159edstaven\xED","picker.group.ticketsConfirmedAcross.many":"{count} vstupenky potvrzeny na {performances} p\u0159edstaven\xED","picker.group.ticketsConfirmedAcross.other":"{count} vstupenek potvrzeno na {performances} p\u0159edstaven\xED"};export{e as cs};
|