@johnmorrisdotca/kyogijo-stadiums 0.45.0 → 0.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +83 -0
- package/dist/arenas/69th-regiment-armory.data.d.ts +2 -0
- package/dist/arenas/69th-regiment-armory.data.js +19 -0
- package/dist/arenas/alexander-memorial-coliseum.data.d.ts +2 -0
- package/dist/arenas/alexander-memorial-coliseum.data.js +27 -0
- package/dist/arenas/allen-county-war-memorial-coliseum.data.d.ts +2 -0
- package/dist/arenas/allen-county-war-memorial-coliseum.data.js +20 -0
- package/dist/arenas/allstate-arena.data.d.ts +2 -0
- package/dist/arenas/allstate-arena.data.js +23 -0
- package/dist/arenas/amerant-bank-arena.data.d.ts +2 -0
- package/dist/arenas/amerant-bank-arena.data.js +23 -0
- package/dist/arenas/american-airlines-center.data.d.ts +2 -0
- package/dist/arenas/american-airlines-center.data.js +19 -0
- package/dist/arenas/arco-arena-1985.data.d.ts +2 -0
- package/dist/arenas/arco-arena-1985.data.js +21 -0
- package/dist/arenas/arco-arena.data.d.ts +2 -0
- package/dist/arenas/arco-arena.data.js +23 -0
- package/dist/arenas/arizona-veterans-memorial-coliseum.data.d.ts +2 -0
- package/dist/arenas/arizona-veterans-memorial-coliseum.data.js +21 -0
- package/dist/arenas/ball-arena.data.d.ts +2 -0
- package/dist/arenas/ball-arena.data.js +26 -0
- package/dist/arenas/baltimore-civic-center.data.d.ts +2 -0
- package/dist/arenas/baltimore-civic-center.data.js +19 -0
- package/dist/arenas/baltimore-coliseum.data.d.ts +2 -0
- package/dist/arenas/baltimore-coliseum.data.js +20 -0
- package/dist/arenas/barclays-center.data.d.ts +2 -0
- package/dist/arenas/barclays-center.data.js +19 -0
- package/dist/arenas/barton-street-arena.data.d.ts +2 -0
- package/dist/arenas/barton-street-arena.data.js +23 -0
- package/dist/arenas/bell-centre.data.d.ts +2 -0
- package/dist/arenas/bell-centre.data.js +27 -0
- package/dist/arenas/benchmark-international-arena.data.d.ts +2 -0
- package/dist/arenas/benchmark-international-arena.data.js +19 -0
- package/dist/arenas/big-e-coliseum.data.d.ts +2 -0
- package/dist/arenas/big-e-coliseum.data.js +18 -0
- package/dist/arenas/bill-graham-civic-auditorium.data.d.ts +2 -0
- package/dist/arenas/bill-graham-civic-auditorium.data.js +23 -0
- package/dist/arenas/bok-center.data.d.ts +2 -0
- package/dist/arenas/bok-center.data.js +18 -0
- package/dist/arenas/boston-garden.data.d.ts +2 -0
- package/dist/arenas/boston-garden.data.js +25 -0
- package/dist/arenas/bradley-center.data.d.ts +2 -0
- package/dist/arenas/bradley-center.data.js +23 -0
- package/dist/arenas/bridgestone-arena.data.d.ts +2 -0
- package/dist/arenas/bridgestone-arena.data.js +26 -0
- package/dist/arenas/buffalo-memorial-auditorium.data.d.ts +2 -0
- package/dist/arenas/buffalo-memorial-auditorium.data.js +24 -0
- package/dist/arenas/calihan-hall.data.d.ts +2 -0
- package/dist/arenas/calihan-hall.data.js +22 -0
- package/dist/arenas/canada-life-centre.data.d.ts +2 -0
- package/dist/arenas/canada-life-centre.data.js +26 -0
- package/dist/arenas/canadian-tire-centre.data.d.ts +2 -0
- package/dist/arenas/canadian-tire-centre.data.js +28 -0
- package/dist/arenas/capital-centre.data.d.ts +2 -0
- package/dist/arenas/capital-centre.data.js +26 -0
- package/dist/arenas/capital-one-arena.data.d.ts +2 -0
- package/dist/arenas/capital-one-arena.data.js +26 -0
- package/dist/arenas/carefirst-arena.data.d.ts +2 -0
- package/dist/arenas/carefirst-arena.data.js +22 -0
- package/dist/arenas/charlotte-coliseum.data.d.ts +2 -0
- package/dist/arenas/charlotte-coliseum.data.js +21 -0
- package/dist/arenas/chase-center.data.d.ts +2 -0
- package/dist/arenas/chase-center.data.js +18 -0
- package/dist/arenas/chicago-coliseum.data.d.ts +2 -0
- package/dist/arenas/chicago-coliseum.data.js +16 -0
- package/dist/arenas/chicago-stadium.data.d.ts +2 -0
- package/dist/arenas/chicago-stadium.data.js +23 -0
- package/dist/arenas/cincinnati-gardens.data.d.ts +2 -0
- package/dist/arenas/cincinnati-gardens.data.js +20 -0
- package/dist/arenas/civic-arena.data.d.ts +2 -0
- package/dist/arenas/civic-arena.data.js +29 -0
- package/dist/arenas/cleveland-arena.data.d.ts +2 -0
- package/dist/arenas/cleveland-arena.data.js +20 -0
- package/dist/arenas/climate-pledge-arena.data.d.ts +2 -0
- package/dist/arenas/climate-pledge-arena.data.js +27 -0
- package/dist/arenas/cobo-arena.data.d.ts +2 -0
- package/dist/arenas/cobo-arena.data.js +25 -0
- package/dist/arenas/coca-cola-coliseum.data.d.ts +2 -0
- package/dist/arenas/coca-cola-coliseum.data.js +27 -0
- package/dist/arenas/colisee-de-quebec.data.d.ts +2 -0
- package/dist/arenas/colisee-de-quebec.data.js +29 -0
- package/dist/arenas/college-park-center.data.d.ts +2 -0
- package/dist/arenas/college-park-center.data.js +18 -0
- package/dist/arenas/cow-palace.data.d.ts +2 -0
- package/dist/arenas/cow-palace.data.js +24 -0
- package/dist/arenas/credit-union-1-arena.data.d.ts +2 -0
- package/dist/arenas/credit-union-1-arena.data.js +23 -0
- package/dist/arenas/crypto-com-arena.data.d.ts +2 -0
- package/dist/arenas/crypto-com-arena.data.js +25 -0
- package/dist/arenas/delta-center.data.d.ts +2 -0
- package/dist/arenas/delta-center.data.js +31 -0
- package/dist/arenas/denver-auditorium-arena.data.d.ts +2 -0
- package/dist/arenas/denver-auditorium-arena.data.js +19 -0
- package/dist/arenas/desert-diamond-arena.data.d.ts +2 -0
- package/dist/arenas/desert-diamond-arena.data.js +28 -0
- package/dist/arenas/detroit-olympia.data.d.ts +2 -0
- package/dist/arenas/detroit-olympia.data.js +21 -0
- package/dist/arenas/duquesne-gardens.data.d.ts +2 -0
- package/dist/arenas/duquesne-gardens.data.js +24 -0
- package/dist/arenas/edgerton-park-arena.data.d.ts +2 -0
- package/dist/arenas/edgerton-park-arena.data.js +19 -0
- package/dist/arenas/enterprise-center.data.d.ts +2 -0
- package/dist/arenas/enterprise-center.data.js +27 -0
- package/dist/arenas/expo-hall.data.d.ts +2 -0
- package/dist/arenas/expo-hall.data.js +22 -0
- package/dist/arenas/fedexforum.data.d.ts +2 -0
- package/dist/arenas/fedexforum.data.js +18 -0
- package/dist/arenas/first-horizon-coliseum.data.d.ts +2 -0
- package/dist/arenas/first-horizon-coliseum.data.js +24 -0
- package/dist/arenas/fiserv-forum.data.d.ts +2 -0
- package/dist/arenas/fiserv-forum.data.js +20 -0
- package/dist/arenas/frost-bank-center.data.d.ts +2 -0
- package/dist/arenas/frost-bank-center.data.js +27 -0
- package/dist/arenas/gainbridge-fieldhouse.data.d.ts +2 -0
- package/dist/arenas/gainbridge-fieldhouse.data.js +25 -0
- package/dist/arenas/golden-1-center.data.d.ts +2 -0
- package/dist/arenas/golden-1-center.data.js +20 -0
- package/dist/arenas/grand-casino-arena.data.d.ts +2 -0
- package/dist/arenas/grand-casino-arena.data.js +23 -0
- package/dist/arenas/hemisfair-arena.data.d.ts +2 -0
- package/dist/arenas/hemisfair-arena.data.js +22 -0
- package/dist/arenas/hinkle-fieldhouse.data.d.ts +2 -0
- package/dist/arenas/hinkle-fieldhouse.data.js +22 -0
- package/dist/arenas/hofheinz-pavilion.data.d.ts +2 -0
- package/dist/arenas/hofheinz-pavilion.data.js +18 -0
- package/dist/arenas/honda-center.data.d.ts +2 -0
- package/dist/arenas/honda-center.data.js +25 -0
- package/dist/arenas/international-amphitheatre.data.d.ts +2 -0
- package/dist/arenas/international-amphitheatre.data.js +26 -0
- package/dist/arenas/intuit-dome.data.d.ts +2 -0
- package/dist/arenas/intuit-dome.data.js +19 -0
- package/dist/arenas/joe-louis-arena.data.d.ts +2 -0
- package/dist/arenas/joe-louis-arena.data.js +20 -0
- package/dist/arenas/jubilee-arena.data.d.ts +2 -0
- package/dist/arenas/jubilee-arena.data.js +19 -0
- package/dist/arenas/kaseya-center.data.d.ts +2 -0
- package/dist/arenas/kaseya-center.data.js +29 -0
- package/dist/arenas/kemper-arena.data.d.ts +2 -0
- package/dist/arenas/kemper-arena.data.js +21 -0
- package/dist/arenas/keybank-center.data.d.ts +2 -0
- package/dist/arenas/keybank-center.data.js +28 -0
- package/dist/arenas/kia-center.data.d.ts +2 -0
- package/dist/arenas/kia-center.data.js +23 -0
- package/dist/arenas/kia-forum.data.d.ts +2 -0
- package/dist/arenas/kia-forum.data.js +23 -0
- package/dist/arenas/kiel-auditorium.data.d.ts +2 -0
- package/dist/arenas/kiel-auditorium.data.js +27 -0
- package/dist/arenas/lenovo-center.data.d.ts +2 -0
- package/dist/arenas/lenovo-center.data.js +28 -0
- package/dist/arenas/little-caesars-arena.data.d.ts +2 -0
- package/dist/arenas/little-caesars-arena.data.js +20 -0
- package/dist/arenas/los-angeles-memorial-sports-arena.data.d.ts +2 -0
- package/dist/arenas/los-angeles-memorial-sports-arena.data.js +22 -0
- package/dist/arenas/loyola-field-house.data.d.ts +2 -0
- package/dist/arenas/loyola-field-house.data.js +19 -0
- package/dist/arenas/madison-square-garden-1925.data.d.ts +2 -0
- package/dist/arenas/madison-square-garden-1925.data.js +25 -0
- package/dist/arenas/madison-square-garden.data.d.ts +2 -0
- package/dist/arenas/madison-square-garden.data.js +24 -0
- package/dist/arenas/maple-leaf-gardens.data.d.ts +2 -0
- package/dist/arenas/maple-leaf-gardens.data.js +20 -0
- package/dist/arenas/market-square-arena.data.d.ts +2 -0
- package/dist/arenas/market-square-arena.data.js +20 -0
- package/dist/arenas/massmutual-center.data.d.ts +2 -0
- package/dist/arenas/massmutual-center.data.js +23 -0
- package/dist/arenas/matthews-arena.data.d.ts +2 -0
- package/dist/arenas/matthews-arena.data.js +29 -0
- package/dist/arenas/mcnichols-sports-arena.data.d.ts +2 -0
- package/dist/arenas/mcnichols-sports-arena.data.js +19 -0
- package/dist/arenas/meadowlands-arena.data.d.ts +2 -0
- package/dist/arenas/meadowlands-arena.data.js +29 -0
- package/dist/arenas/memphis-pyramid.data.d.ts +2 -0
- package/dist/arenas/memphis-pyramid.data.js +19 -0
- package/dist/arenas/met-center.data.d.ts +2 -0
- package/dist/arenas/met-center.data.js +23 -0
- package/dist/arenas/miami-arena.data.d.ts +2 -0
- package/dist/arenas/miami-arena.data.js +19 -0
- package/dist/arenas/michelob-ultra-arena.data.d.ts +2 -0
- package/dist/arenas/michelob-ultra-arena.data.js +23 -0
- package/dist/arenas/milwaukee-arena.data.d.ts +2 -0
- package/dist/arenas/milwaukee-arena.data.js +27 -0
- package/dist/arenas/minneapolis-armory.data.d.ts +2 -0
- package/dist/arenas/minneapolis-armory.data.js +17 -0
- package/dist/arenas/minneapolis-auditorium.data.d.ts +2 -0
- package/dist/arenas/minneapolis-auditorium.data.js +20 -0
- package/dist/arenas/moda-center.data.d.ts +2 -0
- package/dist/arenas/moda-center.data.js +23 -0
- package/dist/arenas/mohegan-sun-arena.data.d.ts +2 -0
- package/dist/arenas/mohegan-sun-arena.data.js +19 -0
- package/dist/arenas/montreal-arena.data.d.ts +2 -0
- package/dist/arenas/montreal-arena.data.js +22 -0
- package/dist/arenas/montreal-forum.data.d.ts +2 -0
- package/dist/arenas/montreal-forum.data.js +24 -0
- package/dist/arenas/moody-coliseum.data.d.ts +2 -0
- package/dist/arenas/moody-coliseum.data.js +22 -0
- package/dist/arenas/mortgage-matchup-center.data.d.ts +2 -0
- package/dist/arenas/mortgage-matchup-center.data.js +36 -0
- package/dist/arenas/mount-royal-arena.data.d.ts +2 -0
- package/dist/arenas/mount-royal-arena.data.js +19 -0
- package/dist/arenas/mullett-arena.data.d.ts +2 -0
- package/dist/arenas/mullett-arena.data.js +18 -0
- package/dist/arenas/municipal-auditorium-kansas-city.data.d.ts +2 -0
- package/dist/arenas/municipal-auditorium-kansas-city.data.js +21 -0
- package/dist/arenas/municipal-auditorium-new-orleans.data.d.ts +2 -0
- package/dist/arenas/municipal-auditorium-new-orleans.data.js +19 -0
- package/dist/arenas/mutual-street-arena.data.d.ts +2 -0
- package/dist/arenas/mutual-street-arena.data.js +19 -0
- package/dist/arenas/nassau-coliseum.data.d.ts +2 -0
- package/dist/arenas/nassau-coliseum.data.js +20 -0
- package/dist/arenas/nationwide-arena.data.d.ts +2 -0
- package/dist/arenas/nationwide-arena.data.js +18 -0
- package/dist/arenas/northlands-coliseum.data.d.ts +2 -0
- package/dist/arenas/northlands-coliseum.data.js +28 -0
- package/dist/arenas/oakland-arena.data.d.ts +2 -0
- package/dist/arenas/oakland-arena.data.js +28 -0
- package/dist/arenas/omaha-civic-auditorium.data.d.ts +2 -0
- package/dist/arenas/omaha-civic-auditorium.data.js +20 -0
- package/dist/arenas/omni-coliseum.data.d.ts +2 -0
- package/dist/arenas/omni-coliseum.data.js +22 -0
- package/dist/arenas/onondaga-county-war-memorial.data.d.ts +2 -0
- package/dist/arenas/onondaga-county-war-memorial.data.js +23 -0
- package/dist/arenas/orlando-arena.data.d.ts +2 -0
- package/dist/arenas/orlando-arena.data.js +28 -0
- package/dist/arenas/ottawa-auditorium.data.d.ts +2 -0
- package/dist/arenas/ottawa-auditorium.data.js +18 -0
- package/dist/arenas/pacific-coliseum.data.d.ts +2 -0
- package/dist/arenas/pacific-coliseum.data.js +20 -0
- package/dist/arenas/palace-of-auburn-hills.data.d.ts +2 -0
- package/dist/arenas/palace-of-auburn-hills.data.js +21 -0
- package/dist/arenas/paycom-center.data.d.ts +2 -0
- package/dist/arenas/paycom-center.data.js +30 -0
- package/dist/arenas/pechanga-arena.data.d.ts +2 -0
- package/dist/arenas/pechanga-arena.data.js +25 -0
- package/dist/arenas/peoplesbank-arena.data.d.ts +2 -0
- package/dist/arenas/peoplesbank-arena.data.js +27 -0
- package/dist/arenas/philadelphia-arena.data.d.ts +2 -0
- package/dist/arenas/philadelphia-arena.data.js +30 -0
- package/dist/arenas/philadelphia-convention-hall-and-civic-center.data.d.ts +2 -0
- package/dist/arenas/philadelphia-convention-hall-and-civic-center.data.js +23 -0
- package/dist/arenas/place-bell.data.d.ts +2 -0
- package/dist/arenas/place-bell.data.js +19 -0
- package/dist/arenas/ppg-paints-arena.data.d.ts +2 -0
- package/dist/arenas/ppg-paints-arena.data.js +24 -0
- package/dist/arenas/prudential-center.data.d.ts +2 -0
- package/dist/arenas/prudential-center.data.js +18 -0
- package/dist/arenas/quebec-arena.data.d.ts +2 -0
- package/dist/arenas/quebec-arena.data.js +19 -0
- package/dist/arenas/reliant-arena.data.d.ts +2 -0
- package/dist/arenas/reliant-arena.data.js +24 -0
- package/dist/arenas/reunion-arena.data.d.ts +2 -0
- package/dist/arenas/reunion-arena.data.js +21 -0
- package/dist/arenas/rhode-island-auditorium.data.d.ts +2 -0
- package/dist/arenas/rhode-island-auditorium.data.js +19 -0
- package/dist/arenas/richfield-coliseum.data.d.ts +2 -0
- package/dist/arenas/richfield-coliseum.data.js +20 -0
- package/dist/arenas/rochester-community-war-memorial.data.d.ts +2 -0
- package/dist/arenas/rochester-community-war-memorial.data.js +24 -0
- package/dist/arenas/rocket-arena.data.d.ts +2 -0
- package/dist/arenas/rocket-arena.data.js +28 -0
- package/dist/arenas/rogers-arena.data.d.ts +2 -0
- package/dist/arenas/rogers-arena.data.js +20 -0
- package/dist/arenas/rogers-place.data.d.ts +2 -0
- package/dist/arenas/rogers-place.data.js +18 -0
- package/dist/arenas/rutgers-athletic-center.data.d.ts +2 -0
- package/dist/arenas/rutgers-athletic-center.data.js +23 -0
- package/dist/arenas/salt-palace.data.d.ts +2 -0
- package/dist/arenas/salt-palace.data.js +20 -0
- package/dist/arenas/sap-center.data.d.ts +2 -0
- package/dist/arenas/sap-center.data.js +30 -0
- package/dist/arenas/scotiabank-arena.data.d.ts +2 -0
- package/dist/arenas/scotiabank-arena.data.js +21 -0
- package/dist/arenas/scotiabank-saddledome.data.d.ts +2 -0
- package/dist/arenas/scotiabank-saddledome.data.js +27 -0
- package/dist/arenas/sheboygan-armory.data.d.ts +2 -0
- package/dist/arenas/sheboygan-armory.data.js +17 -0
- package/dist/arenas/smoothie-king-center.data.d.ts +2 -0
- package/dist/arenas/smoothie-king-center.data.js +24 -0
- package/dist/arenas/spectrum-center.data.d.ts +2 -0
- package/dist/arenas/spectrum-center.data.js +27 -0
- package/dist/arenas/spectrum.data.d.ts +2 -0
- package/dist/arenas/spectrum.data.js +27 -0
- package/dist/arenas/st-louis-arena.data.d.ts +2 -0
- package/dist/arenas/st-louis-arena.data.js +25 -0
- package/dist/arenas/stampede-corral.data.d.ts +2 -0
- package/dist/arenas/stampede-corral.data.js +21 -0
- package/dist/arenas/state-farm-arena.data.d.ts +2 -0
- package/dist/arenas/state-farm-arena.data.js +24 -0
- package/dist/arenas/t-mobile-arena.data.d.ts +2 -0
- package/dist/arenas/t-mobile-arena.data.js +20 -0
- package/dist/arenas/tacoma-dome.data.d.ts +2 -0
- package/dist/arenas/tacoma-dome.data.js +19 -0
- package/dist/arenas/target-center.data.d.ts +2 -0
- package/dist/arenas/target-center.data.js +18 -0
- package/dist/arenas/td-garden.data.d.ts +2 -0
- package/dist/arenas/td-garden.data.js +21 -0
- package/dist/arenas/td-place-arena.data.d.ts +2 -0
- package/dist/arenas/td-place-arena.data.js +29 -0
- package/dist/arenas/the-arena-ottawa.data.d.ts +2 -0
- package/dist/arenas/the-arena-ottawa.data.js +20 -0
- package/dist/arenas/the-hippodrome.data.d.ts +2 -0
- package/dist/arenas/the-hippodrome.data.js +24 -0
- package/dist/arenas/the-summit.data.d.ts +2 -0
- package/dist/arenas/the-summit.data.js +26 -0
- package/dist/arenas/total-mortgage-arena.data.d.ts +2 -0
- package/dist/arenas/total-mortgage-arena.data.js +25 -0
- package/dist/arenas/toyota-center.data.d.ts +2 -0
- package/dist/arenas/toyota-center.data.js +20 -0
- package/dist/arenas/toyota-coliseum.data.d.ts +2 -0
- package/dist/arenas/toyota-coliseum.data.js +17 -0
- package/dist/arenas/tsongas-center.data.d.ts +2 -0
- package/dist/arenas/tsongas-center.data.js +22 -0
- package/dist/arenas/ubs-arena.data.d.ts +2 -0
- package/dist/arenas/ubs-arena.data.js +19 -0
- package/dist/arenas/uline-arena.data.d.ts +2 -0
- package/dist/arenas/uline-arena.data.js +19 -0
- package/dist/arenas/united-center.data.d.ts +2 -0
- package/dist/arenas/united-center.data.js +21 -0
- package/dist/arenas/verdun-auditorium.data.d.ts +2 -0
- package/dist/arenas/verdun-auditorium.data.js +20 -0
- package/dist/arenas/veterans-memorial-coliseum.data.d.ts +2 -0
- package/dist/arenas/veterans-memorial-coliseum.data.js +21 -0
- package/dist/arenas/war-memorial-gymnasium.data.d.ts +2 -0
- package/dist/arenas/war-memorial-gymnasium.data.js +19 -0
- package/dist/arenas/westchester-county-center.data.d.ts +2 -0
- package/dist/arenas/westchester-county-center.data.js +18 -0
- package/dist/arenas/wharton-field-house.data.d.ts +2 -0
- package/dist/arenas/wharton-field-house.data.js +18 -0
- package/dist/arenas/windsor-arena.data.d.ts +2 -0
- package/dist/arenas/windsor-arena.data.js +23 -0
- package/dist/arenas/winnipeg-arena.data.d.ts +2 -0
- package/dist/arenas/winnipeg-arena.data.js +20 -0
- package/dist/arenas/wintrust-arena.data.d.ts +2 -0
- package/dist/arenas/wintrust-arena.data.js +19 -0
- package/dist/arenas/xfinity-mobile-arena.data.d.ts +2 -0
- package/dist/arenas/xfinity-mobile-arena.data.js +23 -0
- package/dist/arenas.core.d.ts +107 -0
- package/dist/arenas.core.js +59 -0
- package/dist/arenas.d.ts +3 -103
- package/dist/arenas.data.d.ts +1 -1
- package/dist/arenas.index.d.ts +8 -0
- package/dist/arenas.index.js +169 -0
- package/dist/arenas.js +4 -50
- package/dist/athletics/plan.js +2 -2
- package/dist/athletics-entry.d.ts +1 -0
- package/dist/athletics-entry.js +1 -0
- package/dist/ballpark.d.ts +1 -1
- package/dist/ballpark.js +2 -2
- package/dist/budo-entry.d.ts +1 -0
- package/dist/budo-entry.js +1 -0
- package/dist/canvas-entry.d.ts +1 -0
- package/dist/canvas-entry.js +1 -0
- package/dist/charts-entry.d.ts +1 -0
- package/dist/charts-entry.js +1 -0
- package/dist/charts.baseball.js +2 -2
- package/dist/d3-entry.d.ts +1 -0
- package/dist/d3-entry.js +1 -0
- package/dist/district-entry.d.ts +2 -20
- package/dist/district-entry.js +3 -12
- package/dist/district-lean-entry.d.ts +7 -0
- package/dist/district-lean-entry.js +8 -0
- package/dist/district.api.d.ts +20 -0
- package/dist/district.api.js +13 -0
- package/dist/district.d.ts +5 -0
- package/dist/district.js +22 -2
- package/dist/draw.js +21 -19
- package/dist/draw.parts.d.ts +12 -0
- package/dist/draw.parts.js +14 -0
- package/dist/element-entry.d.ts +1 -0
- package/dist/element-entry.js +1 -0
- package/dist/events-entry.d.ts +1 -0
- package/dist/events-entry.js +1 -0
- package/dist/events.js +4 -4
- package/dist/flythrough-entry.d.ts +1 -0
- package/dist/flythrough-entry.js +1 -0
- package/dist/flythrough.dom.js +2 -2
- package/dist/full.d.ts +3 -0
- package/dist/full.js +10 -0
- package/dist/geojson-entry.d.ts +1 -0
- package/dist/geojson-entry.js +1 -0
- package/dist/grounds/allianz-arena.data.d.ts +2 -0
- package/dist/grounds/allianz-arena.data.js +30 -0
- package/dist/grounds/allianz-stadium-turin.data.d.ts +2 -0
- package/dist/grounds/allianz-stadium-turin.data.js +25 -0
- package/dist/grounds/anfield.data.d.ts +2 -0
- package/dist/grounds/anfield.data.js +22 -0
- package/dist/grounds/arrowhead-stadium.data.d.ts +2 -0
- package/dist/grounds/arrowhead-stadium.data.js +27 -0
- package/dist/grounds/att-stadium.data.d.ts +2 -0
- package/dist/grounds/att-stadium.data.js +30 -0
- package/dist/grounds/bc-place.data.d.ts +2 -0
- package/dist/grounds/bc-place.data.js +27 -0
- package/dist/grounds/bmo-field.data.d.ts +2 -0
- package/dist/grounds/bmo-field.data.js +28 -0
- package/dist/grounds/camp-nou.data.d.ts +2 -0
- package/dist/grounds/camp-nou.data.js +33 -0
- package/dist/grounds/celtic-park.data.d.ts +2 -0
- package/dist/grounds/celtic-park.data.js +23 -0
- package/dist/grounds/dignity-health-sports-park.data.d.ts +2 -0
- package/dist/grounds/dignity-health-sports-park.data.js +30 -0
- package/dist/grounds/emirates-stadium.data.d.ts +2 -0
- package/dist/grounds/emirates-stadium.data.js +23 -0
- package/dist/grounds/estadio-akron.data.d.ts +2 -0
- package/dist/grounds/estadio-akron.data.js +30 -0
- package/dist/grounds/estadio-azteca.data.d.ts +2 -0
- package/dist/grounds/estadio-azteca.data.js +37 -0
- package/dist/grounds/estadio-bbva.data.d.ts +2 -0
- package/dist/grounds/estadio-bbva.data.js +31 -0
- package/dist/grounds/estadio-centenario.data.d.ts +2 -0
- package/dist/grounds/estadio-centenario.data.js +28 -0
- package/dist/grounds/estadio-da-luz.data.d.ts +2 -0
- package/dist/grounds/estadio-da-luz.data.js +26 -0
- package/dist/grounds/estadio-nacional-santiago.data.d.ts +2 -0
- package/dist/grounds/estadio-nacional-santiago.data.js +32 -0
- package/dist/grounds/etihad-stadium.data.d.ts +2 -0
- package/dist/grounds/etihad-stadium.data.js +26 -0
- package/dist/grounds/gillette-stadium.data.d.ts +2 -0
- package/dist/grounds/gillette-stadium.data.js +29 -0
- package/dist/grounds/groupama-stadium.data.d.ts +2 -0
- package/dist/grounds/groupama-stadium.data.js +32 -0
- package/dist/grounds/hampden-park.data.d.ts +2 -0
- package/dist/grounds/hampden-park.data.js +24 -0
- package/dist/grounds/hard-rock-stadium.data.d.ts +2 -0
- package/dist/grounds/hard-rock-stadium.data.js +34 -0
- package/dist/grounds/hongkou-football-stadium.data.d.ts +2 -0
- package/dist/grounds/hongkou-football-stadium.data.js +26 -0
- package/dist/grounds/ibrox.data.d.ts +2 -0
- package/dist/grounds/ibrox.data.js +26 -0
- package/dist/grounds/japan-national-stadium.data.d.ts +2 -0
- package/dist/grounds/japan-national-stadium.data.js +27 -0
- package/dist/grounds/johan-cruyff-arena.data.d.ts +2 -0
- package/dist/grounds/johan-cruyff-arena.data.js +29 -0
- package/dist/grounds/kashima-soccer-stadium.data.d.ts +2 -0
- package/dist/grounds/kashima-soccer-stadium.data.js +31 -0
- package/dist/grounds/la-bombonera.data.d.ts +2 -0
- package/dist/grounds/la-bombonera.data.js +32 -0
- package/dist/grounds/levis-stadium.data.d.ts +2 -0
- package/dist/grounds/levis-stadium.data.js +28 -0
- package/dist/grounds/lincoln-financial-field.data.d.ts +2 -0
- package/dist/grounds/lincoln-financial-field.data.js +28 -0
- package/dist/grounds/lumen-field.data.d.ts +2 -0
- package/dist/grounds/lumen-field.data.js +30 -0
- package/dist/grounds/lusail.data.d.ts +2 -0
- package/dist/grounds/lusail.data.js +26 -0
- package/dist/grounds/luzhniki.data.d.ts +2 -0
- package/dist/grounds/luzhniki.data.js +34 -0
- package/dist/grounds/maracana.data.d.ts +2 -0
- package/dist/grounds/maracana.data.js +33 -0
- package/dist/grounds/mercedes-benz-stadium.data.d.ts +2 -0
- package/dist/grounds/mercedes-benz-stadium.data.js +28 -0
- package/dist/grounds/metlife-stadium.data.d.ts +2 -0
- package/dist/grounds/metlife-stadium.data.js +29 -0
- package/dist/grounds/monumental.data.d.ts +2 -0
- package/dist/grounds/monumental.data.js +33 -0
- package/dist/grounds/nissan-stadium-yokohama.data.d.ts +2 -0
- package/dist/grounds/nissan-stadium-yokohama.data.js +36 -0
- package/dist/grounds/nrg-stadium.data.d.ts +2 -0
- package/dist/grounds/nrg-stadium.data.js +30 -0
- package/dist/grounds/old-trafford.data.d.ts +2 -0
- package/dist/grounds/old-trafford.data.js +25 -0
- package/dist/grounds/olympiastadion-berlin.data.d.ts +2 -0
- package/dist/grounds/olympiastadion-berlin.data.js +30 -0
- package/dist/grounds/olympiastadion-munich.data.d.ts +2 -0
- package/dist/grounds/olympiastadion-munich.data.js +29 -0
- package/dist/grounds/parc-des-princes.data.d.ts +2 -0
- package/dist/grounds/parc-des-princes.data.js +27 -0
- package/dist/grounds/rasunda.data.d.ts +2 -0
- package/dist/grounds/rasunda.data.js +28 -0
- package/dist/grounds/rose-bowl.data.d.ts +2 -0
- package/dist/grounds/rose-bowl.data.js +27 -0
- package/dist/grounds/saitama-stadium-2002.data.d.ts +2 -0
- package/dist/grounds/saitama-stadium-2002.data.js +30 -0
- package/dist/grounds/san-siro.data.d.ts +2 -0
- package/dist/grounds/san-siro.data.js +38 -0
- package/dist/grounds/santiago-bernabeu.data.d.ts +2 -0
- package/dist/grounds/santiago-bernabeu.data.js +33 -0
- package/dist/grounds/seoul-world-cup-stadium.data.d.ts +2 -0
- package/dist/grounds/seoul-world-cup-stadium.data.js +27 -0
- package/dist/grounds/signal-iduna-park.data.d.ts +2 -0
- package/dist/grounds/signal-iduna-park.data.js +32 -0
- package/dist/grounds/soccer-city.data.d.ts +2 -0
- package/dist/grounds/soccer-city.data.js +30 -0
- package/dist/grounds/sofi-stadium.data.d.ts +2 -0
- package/dist/grounds/sofi-stadium.data.js +26 -0
- package/dist/grounds/stade-de-france.data.d.ts +2 -0
- package/dist/grounds/stade-de-france.data.js +28 -0
- package/dist/grounds/stade-yves-du-manoir.data.d.ts +2 -0
- package/dist/grounds/stade-yves-du-manoir.data.js +32 -0
- package/dist/grounds/stadio-nazionale-pnf.data.d.ts +2 -0
- package/dist/grounds/stadio-nazionale-pnf.data.js +28 -0
- package/dist/grounds/stadio-olimpico-rome.data.d.ts +2 -0
- package/dist/grounds/stadio-olimpico-rome.data.js +34 -0
- package/dist/grounds/stadium-australia.data.d.ts +2 -0
- package/dist/grounds/stadium-australia.data.js +31 -0
- package/dist/grounds/stamford-bridge.data.d.ts +2 -0
- package/dist/grounds/stamford-bridge.data.js +23 -0
- package/dist/grounds/tianhe-stadium.data.d.ts +2 -0
- package/dist/grounds/tianhe-stadium.data.js +29 -0
- package/dist/grounds/tottenham-hotspur-stadium.data.d.ts +2 -0
- package/dist/grounds/tottenham-hotspur-stadium.data.js +23 -0
- package/dist/grounds/waldstadion-frankfurt.data.d.ts +2 -0
- package/dist/grounds/waldstadion-frankfurt.data.js +38 -0
- package/dist/grounds/wankdorf.data.d.ts +2 -0
- package/dist/grounds/wankdorf.data.js +25 -0
- package/dist/grounds/wembley-1923.data.d.ts +2 -0
- package/dist/grounds/wembley-1923.data.js +28 -0
- package/dist/grounds/wembley.data.d.ts +2 -0
- package/dist/grounds/wembley.data.js +25 -0
- package/dist/grounds.core.d.ts +108 -0
- package/dist/grounds.core.js +51 -0
- package/dist/grounds.d.ts +3 -104
- package/dist/grounds.data.d.ts +1 -1
- package/dist/grounds.index.d.ts +8 -0
- package/dist/grounds.index.js +66 -0
- package/dist/grounds.js +4 -40
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/judging-entry.d.ts +1 -0
- package/dist/judging-entry.js +1 -0
- package/dist/kodokan.d.ts +5 -0
- package/dist/kodokan.js +3 -1
- package/dist/layers-entry.d.ts +1 -0
- package/dist/layers-entry.js +1 -0
- package/dist/layouts-entry.d.ts +1 -0
- package/dist/layouts-entry.js +1 -0
- package/dist/leagues-entry.d.ts +2 -1
- package/dist/leagues-entry.js +2 -1
- package/dist/leagues.d.ts +0 -2
- package/dist/leagues.js +0 -2
- package/dist/mount-entry.d.ts +1 -0
- package/dist/mount-entry.js +1 -0
- package/dist/multi-entry.d.ts +1 -0
- package/dist/multi-entry.js +1 -0
- package/dist/outline.js +5 -5
- package/dist/outside.js +3 -3
- package/dist/parks/american-family-field.data.d.ts +2 -0
- package/dist/parks/american-family-field.data.js +33 -0
- package/dist/parks/angel-stadium.data.d.ts +2 -0
- package/dist/parks/angel-stadium.data.js +51 -0
- package/dist/parks/arlington-stadium.data.d.ts +2 -0
- package/dist/parks/arlington-stadium.data.js +35 -0
- package/dist/parks/astrodome.data.d.ts +2 -0
- package/dist/parks/astrodome.data.js +40 -0
- package/dist/parks/atlanta-fulton-county-stadium.data.d.ts +2 -0
- package/dist/parks/atlanta-fulton-county-stadium.data.js +62 -0
- package/dist/parks/baker-bowl.data.d.ts +2 -0
- package/dist/parks/baker-bowl.data.js +43 -0
- package/dist/parks/baltimore-memorial-stadium.data.d.ts +2 -0
- package/dist/parks/baltimore-memorial-stadium.data.js +60 -0
- package/dist/parks/belluna-dome.data.d.ts +2 -0
- package/dist/parks/belluna-dome.data.js +73 -0
- package/dist/parks/braves-field.data.d.ts +2 -0
- package/dist/parks/braves-field.data.js +38 -0
- package/dist/parks/busch-memorial-stadium.data.d.ts +2 -0
- package/dist/parks/busch-memorial-stadium.data.js +51 -0
- package/dist/parks/busch-stadium.data.d.ts +2 -0
- package/dist/parks/busch-stadium.data.js +32 -0
- package/dist/parks/candlestick-park.data.d.ts +2 -0
- package/dist/parks/candlestick-park.data.js +44 -0
- package/dist/parks/chase-field.data.d.ts +2 -0
- package/dist/parks/chase-field.data.js +34 -0
- package/dist/parks/citi-field.data.d.ts +2 -0
- package/dist/parks/citi-field.data.js +49 -0
- package/dist/parks/citizens-bank-park.data.d.ts +2 -0
- package/dist/parks/citizens-bank-park.data.js +35 -0
- package/dist/parks/cleveland-stadium.data.d.ts +2 -0
- package/dist/parks/cleveland-stadium.data.js +37 -0
- package/dist/parks/colt-stadium.data.d.ts +2 -0
- package/dist/parks/colt-stadium.data.js +35 -0
- package/dist/parks/comerica-park.data.d.ts +2 -0
- package/dist/parks/comerica-park.data.js +39 -0
- package/dist/parks/comiskey-park.data.d.ts +2 -0
- package/dist/parks/comiskey-park.data.js +50 -0
- package/dist/parks/coors-field.data.d.ts +2 -0
- package/dist/parks/coors-field.data.js +47 -0
- package/dist/parks/crosley-field.data.d.ts +2 -0
- package/dist/parks/crosley-field.data.js +52 -0
- package/dist/parks/daikin-park.data.d.ts +2 -0
- package/dist/parks/daikin-park.data.js +60 -0
- package/dist/parks/dodger-stadium.data.d.ts +2 -0
- package/dist/parks/dodger-stadium.data.js +37 -0
- package/dist/parks/ebbets-field.data.d.ts +2 -0
- package/dist/parks/ebbets-field.data.js +47 -0
- package/dist/parks/es-con-field-hokkaido.data.d.ts +2 -0
- package/dist/parks/es-con-field-hokkaido.data.js +40 -0
- package/dist/parks/exhibition-stadium.data.d.ts +2 -0
- package/dist/parks/exhibition-stadium.data.js +37 -0
- package/dist/parks/exposition-park-pittsburgh.data.d.ts +2 -0
- package/dist/parks/exposition-park-pittsburgh.data.js +32 -0
- package/dist/parks/fenway-park.data.d.ts +2 -0
- package/dist/parks/fenway-park.data.js +61 -0
- package/dist/parks/forbes-field.data.d.ts +2 -0
- package/dist/parks/forbes-field.data.js +65 -0
- package/dist/parks/globe-life-field.data.d.ts +2 -0
- package/dist/parks/globe-life-field.data.js +31 -0
- package/dist/parks/globe-life-park-in-arlington.data.d.ts +2 -0
- package/dist/parks/globe-life-park-in-arlington.data.js +39 -0
- package/dist/parks/great-american-ball-park.data.d.ts +2 -0
- package/dist/parks/great-american-ball-park.data.js +32 -0
- package/dist/parks/griffith-stadium.data.d.ts +2 -0
- package/dist/parks/griffith-stadium.data.js +54 -0
- package/dist/parks/hanshin-koshien-stadium.data.d.ts +2 -0
- package/dist/parks/hanshin-koshien-stadium.data.js +42 -0
- package/dist/parks/heiwadai-stadium.data.d.ts +2 -0
- package/dist/parks/heiwadai-stadium.data.js +40 -0
- package/dist/parks/hilltop-park.data.d.ts +2 -0
- package/dist/parks/hilltop-park.data.js +35 -0
- package/dist/parks/hiroshima-municipal-stadium.data.d.ts +2 -0
- package/dist/parks/hiroshima-municipal-stadium.data.js +45 -0
- package/dist/parks/hotto-motto-field-kobe.data.d.ts +2 -0
- package/dist/parks/hotto-motto-field-kobe.data.js +59 -0
- package/dist/parks/huntington-avenue-grounds.data.d.ts +2 -0
- package/dist/parks/huntington-avenue-grounds.data.js +47 -0
- package/dist/parks/jarry-park-stadium.data.d.ts +2 -0
- package/dist/parks/jarry-park-stadium.data.js +37 -0
- package/dist/parks/kauffman-stadium.data.d.ts +2 -0
- package/dist/parks/kauffman-stadium.data.js +51 -0
- package/dist/parks/kawasaki-stadium.data.d.ts +2 -0
- package/dist/parks/kawasaki-stadium.data.js +35 -0
- package/dist/parks/korakuen-stadium.data.d.ts +2 -0
- package/dist/parks/korakuen-stadium.data.js +41 -0
- package/dist/parks/kyocera-dome-osaka.data.d.ts +2 -0
- package/dist/parks/kyocera-dome-osaka.data.js +50 -0
- package/dist/parks/league-park-cleveland.data.d.ts +2 -0
- package/dist/parks/league-park-cleveland.data.js +36 -0
- package/dist/parks/loandepot-park.data.d.ts +2 -0
- package/dist/parks/loandepot-park.data.js +36 -0
- package/dist/parks/mazda-stadium-hiroshima.data.d.ts +2 -0
- package/dist/parks/mazda-stadium-hiroshima.data.js +64 -0
- package/dist/parks/meiji-jingu-stadium.data.d.ts +2 -0
- package/dist/parks/meiji-jingu-stadium.data.js +49 -0
- package/dist/parks/metrodome.data.d.ts +2 -0
- package/dist/parks/metrodome.data.js +75 -0
- package/dist/parks/metropolitan-stadium.data.d.ts +2 -0
- package/dist/parks/metropolitan-stadium.data.js +45 -0
- package/dist/parks/mile-high-stadium.data.d.ts +2 -0
- package/dist/parks/mile-high-stadium.data.js +42 -0
- package/dist/parks/milwaukee-county-stadium.data.d.ts +2 -0
- package/dist/parks/milwaukee-county-stadium.data.js +78 -0
- package/dist/parks/mizuho-paypay-dome-fukuoka.data.d.ts +2 -0
- package/dist/parks/mizuho-paypay-dome-fukuoka.data.js +64 -0
- package/dist/parks/municipal-stadium-kansas-city.data.d.ts +2 -0
- package/dist/parks/municipal-stadium-kansas-city.data.js +37 -0
- package/dist/parks/nagoya-stadium.data.d.ts +2 -0
- package/dist/parks/nagoya-stadium.data.js +40 -0
- package/dist/parks/nationals-park.data.d.ts +2 -0
- package/dist/parks/nationals-park.data.js +30 -0
- package/dist/parks/oakland-coliseum.data.d.ts +2 -0
- package/dist/parks/oakland-coliseum.data.js +49 -0
- package/dist/parks/olympic-stadium-montreal.data.d.ts +2 -0
- package/dist/parks/olympic-stadium-montreal.data.js +51 -0
- package/dist/parks/oracle-park.data.d.ts +2 -0
- package/dist/parks/oracle-park.data.js +71 -0
- package/dist/parks/oriole-park-at-camden-yards.data.d.ts +2 -0
- package/dist/parks/oriole-park-at-camden-yards.data.js +56 -0
- package/dist/parks/osaka-stadium.data.d.ts +2 -0
- package/dist/parks/osaka-stadium.data.js +74 -0
- package/dist/parks/petco-park.data.d.ts +2 -0
- package/dist/parks/petco-park.data.js +48 -0
- package/dist/parks/pnc-park.data.d.ts +2 -0
- package/dist/parks/pnc-park.data.js +56 -0
- package/dist/parks/polo-grounds.data.d.ts +2 -0
- package/dist/parks/polo-grounds.data.js +89 -0
- package/dist/parks/progressive-field.data.d.ts +2 -0
- package/dist/parks/progressive-field.data.js +54 -0
- package/dist/parks/rakuten-mobile-park-miyagi.data.d.ts +2 -0
- package/dist/parks/rakuten-mobile-park-miyagi.data.js +57 -0
- package/dist/parks/rate-field.data.d.ts +2 -0
- package/dist/parks/rate-field.data.js +48 -0
- package/dist/parks/riverfront-stadium.data.d.ts +2 -0
- package/dist/parks/riverfront-stadium.data.js +47 -0
- package/dist/parks/robert-f-kennedy-memorial-stadium.data.d.ts +2 -0
- package/dist/parks/robert-f-kennedy-memorial-stadium.data.js +37 -0
- package/dist/parks/rogers-centre.data.d.ts +2 -0
- package/dist/parks/rogers-centre.data.js +35 -0
- package/dist/parks/sapporo-dome.data.d.ts +2 -0
- package/dist/parks/sapporo-dome.data.js +41 -0
- package/dist/parks/seals-stadium.data.d.ts +2 -0
- package/dist/parks/seals-stadium.data.js +47 -0
- package/dist/parks/shea-stadium.data.d.ts +2 -0
- package/dist/parks/shea-stadium.data.js +58 -0
- package/dist/parks/shibe-park.data.d.ts +2 -0
- package/dist/parks/shibe-park.data.js +82 -0
- package/dist/parks/sicks-stadium.data.d.ts +2 -0
- package/dist/parks/sicks-stadium.data.js +33 -0
- package/dist/parks/south-end-grounds.data.d.ts +2 -0
- package/dist/parks/south-end-grounds.data.js +38 -0
- package/dist/parks/sportsmans-park.data.d.ts +2 -0
- package/dist/parks/sportsmans-park.data.js +91 -0
- package/dist/parks/sutter-health-park.data.d.ts +2 -0
- package/dist/parks/sutter-health-park.data.js +31 -0
- package/dist/parks/t-mobile-park.data.d.ts +2 -0
- package/dist/parks/t-mobile-park.data.js +36 -0
- package/dist/parks/target-field.data.d.ts +2 -0
- package/dist/parks/target-field.data.js +31 -0
- package/dist/parks/three-rivers-stadium.data.d.ts +2 -0
- package/dist/parks/three-rivers-stadium.data.js +43 -0
- package/dist/parks/tiger-stadium.data.d.ts +2 -0
- package/dist/parks/tiger-stadium.data.js +53 -0
- package/dist/parks/tokyo-dome.data.d.ts +2 -0
- package/dist/parks/tokyo-dome.data.js +57 -0
- package/dist/parks/tropicana-field.data.d.ts +2 -0
- package/dist/parks/tropicana-field.data.js +34 -0
- package/dist/parks/truist-park.data.d.ts +2 -0
- package/dist/parks/truist-park.data.js +32 -0
- package/dist/parks/turner-field.data.d.ts +2 -0
- package/dist/parks/turner-field.data.js +35 -0
- package/dist/parks/vantelin-dome-nagoya.data.d.ts +2 -0
- package/dist/parks/vantelin-dome-nagoya.data.js +57 -0
- package/dist/parks/veterans-stadium.data.d.ts +2 -0
- package/dist/parks/veterans-stadium.data.js +35 -0
- package/dist/parks/wrigley-field-los-angeles.data.d.ts +2 -0
- package/dist/parks/wrigley-field-los-angeles.data.js +35 -0
- package/dist/parks/wrigley-field.data.d.ts +2 -0
- package/dist/parks/wrigley-field.data.js +124 -0
- package/dist/parks/yankee-stadium-1923.data.d.ts +2 -0
- package/dist/parks/yankee-stadium-1923.data.js +42 -0
- package/dist/parks/yankee-stadium.data.d.ts +2 -0
- package/dist/parks/yankee-stadium.data.js +49 -0
- package/dist/parks/yokohama-stadium.data.d.ts +2 -0
- package/dist/parks/yokohama-stadium.data.js +40 -0
- package/dist/parks/zozo-marine-stadium.data.d.ts +2 -0
- package/dist/parks/zozo-marine-stadium.data.js +51 -0
- package/dist/parks.core.d.ts +180 -0
- package/dist/parks.core.js +80 -0
- package/dist/parks.d.ts +3 -176
- package/dist/parks.data.d.ts +1 -1
- package/dist/parks.index.d.ts +8 -0
- package/dist/parks.index.js +96 -0
- package/dist/parks.js +4 -69
- package/dist/parks.walls.d.ts +1 -0
- package/dist/parks.walls.js +3 -0
- package/dist/plot-entry.d.ts +1 -0
- package/dist/plot-entry.js +1 -0
- package/dist/png-entry.d.ts +1 -0
- package/dist/png-entry.js +1 -0
- package/dist/pointer-entry.d.ts +1 -0
- package/dist/pointer-entry.js +1 -0
- package/dist/quality.d.ts +20 -2
- package/dist/quality.js +25 -4
- package/dist/react-entry.d.ts +1 -0
- package/dist/react-entry.js +1 -0
- package/dist/replay-entry.d.ts +1 -0
- package/dist/replay-entry.js +1 -0
- package/dist/rules.d.ts +1 -1
- package/dist/rules.js +6 -5
- package/dist/scene-entry.d.ts +1 -0
- package/dist/scene-entry.js +1 -0
- package/dist/skating-entry.d.ts +1 -0
- package/dist/skating-entry.js +1 -0
- package/dist/special.js +2 -2
- package/dist/stadiums-entry.d.ts +1 -0
- package/dist/stadiums-entry.js +1 -0
- package/dist/stadiums.d.ts +1 -1
- package/dist/stadiums.js +4 -4
- package/dist/target-entry.d.ts +1 -0
- package/dist/target-entry.js +1 -0
- package/dist/turn-entry.d.ts +1 -0
- package/dist/turn-entry.js +1 -0
- package/dist/turn.camera.d.ts +5 -0
- package/dist/turn.camera.js +8 -0
- package/dist/turn.dom.js +55 -5
- package/dist/uprights.fields.d.ts +1 -1
- package/dist/uprights.js +2 -2
- package/dist/venue-data-entry.d.ts +5 -0
- package/dist/venue-data-entry.js +2 -0
- package/dist/venue-data.d.ts +64 -0
- package/dist/venue-data.js +115 -0
- package/dist/venue.js +2 -2
- package/dist/venues-entry.d.ts +1 -0
- package/dist/venues-entry.js +1 -0
- package/dist/venues.d.ts +1 -1
- package/dist/venues.js +3 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zones-entry.d.ts +1 -0
- package/dist/zones-entry.js +1 -0
- package/package.json +19 -3
package/dist/replay-entry.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./full.ts";
|
|
1
2
|
export { activeEvents, describeEvent, drawFrame, eventsBetween, interpolate, possession, replayClock, replayEvents, replayInfo, replayLayers, replaySnapshot, replaySummary, replayTable, replayTimes, trails } from "./replay.ts";
|
|
2
3
|
export type { ReplaySnapshot } from "./replay.ts";
|
|
3
4
|
export { alongPool, distanceAt, progressOf, raceTimeline } from "./pool.replay.ts";
|
package/dist/replay-entry.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// Replay: tracking data over time on a surface. The frame, the clock and the pure functions between them; the controls and the animation
|
|
2
2
|
// are in the mount (`mountKyogijo(...).replay(...)`) and in `<kyogijo-field>`.
|
|
3
|
+
import "./full.js";
|
|
3
4
|
export { activeEvents, describeEvent, drawFrame, eventsBetween, interpolate, possession, replayClock, replayEvents, replayInfo, replayLayers, replaySnapshot, replaySummary, replayTable, replayTimes, trails } from "./replay.js";
|
|
4
5
|
export { alongPool, distanceAt, progressOf, raceTimeline } from "./pool.replay.js";
|
|
5
6
|
export { formatTime, parseTime } from "./pool.race.js";
|
package/dist/rules.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Attacking, type Frame, type SurfaceSize } from "./frames.ts";
|
|
2
2
|
import "./frames.providers.ts";
|
|
3
3
|
import "./surfaces/soccer-providers.ts";
|
|
4
|
-
import { type Park } from "./parks.ts";
|
|
4
|
+
import { type Park } from "./parks.core.ts";
|
|
5
5
|
import type { Language, Sport, SurfaceOptions } from "./types.ts";
|
|
6
6
|
export { RULE_IDS } from "./rules.types.ts";
|
|
7
7
|
export type { RuleId } from "./rules.types.ts";
|
package/dist/rules.js
CHANGED
|
@@ -20,7 +20,8 @@ import "./frames.providers.js";
|
|
|
20
20
|
import "./surfaces/soccer-providers.js";
|
|
21
21
|
import { buildZoneSet, infieldReach, ZONE_SETS, ZONE_SET_IDS } from "./heat.zones.js";
|
|
22
22
|
import { feetFence, lengthUnit } from "./common.js";
|
|
23
|
-
import { fenceFor,
|
|
23
|
+
import { fenceFor, heldPark, parkWallsIn } from "./parks.core.js";
|
|
24
|
+
import { PARK_IDS_WITHOUT_WALLS } from "./parks.walls.js";
|
|
24
25
|
import { frameSizeOf, outlineOf } from "./outline.js";
|
|
25
26
|
import { soccerSpec } from "./surfaces/soccer-spec.js";
|
|
26
27
|
import { KYOGIJO_STRINGS } from "./strings.js";
|
|
@@ -210,8 +211,8 @@ export function wallHeightAt(park, angle, year) {
|
|
|
210
211
|
}
|
|
211
212
|
function baseJudge(o, league) {
|
|
212
213
|
const generic = league?.family === "baseball" ? diamondFence(diamondOf(league, o.year)) : undefined;
|
|
213
|
-
const points = fenceFor(
|
|
214
|
-
const track =
|
|
214
|
+
const points = fenceFor(heldPark(o.park), feetFence(o.fence, lengthUnit(o)), o.year, generic);
|
|
215
|
+
const track = heldPark(o.park)?.track_ft ?? MLB.warningTrack;
|
|
215
216
|
return (x, y) => {
|
|
216
217
|
const flags = [];
|
|
217
218
|
// The foul lines are the fair territory's edges, and a ball on one is fair: fair is out from home plate between them.
|
|
@@ -468,7 +469,7 @@ export const onWarningTrack = holds("mlb", "warning-track");
|
|
|
468
469
|
* The ballparks whose wall heights the package holds nowhere in their fence: of the 94 parks, the 35 whose article gives heights have them for some stretch,
|
|
469
470
|
* and for the rest the height is not known here, so a decision that needs it is undecided (`homeRun: undefined`), never guessed.
|
|
470
471
|
*/
|
|
471
|
-
export const PARKS_WITHOUT_WALL_HEIGHTS = Object.freeze(
|
|
472
|
+
export const PARKS_WITHOUT_WALL_HEIGHTS = Object.freeze([...PARK_IDS_WITHOUT_WALLS]);
|
|
472
473
|
/**
|
|
473
474
|
* Whether a ball is a home run, from the park's own fence: the fence's distance at the bearing and, when the height of the ball is given, the wall's height there
|
|
474
475
|
* (`wall` data of the park: the stretches of fence with their heights). A ball in fair territory that came down beyond the fence is a home run; one that was
|
|
@@ -484,7 +485,7 @@ export const PARKS_WITHOUT_WALL_HEIGHTS = Object.freeze(Object.values(PARKS).fil
|
|
|
484
485
|
* ```
|
|
485
486
|
*/
|
|
486
487
|
export function homeRun(park, point, options = {}) {
|
|
487
|
-
const found = typeof park === "string" ?
|
|
488
|
+
const found = typeof park === "string" ? heldPark(park) : park;
|
|
488
489
|
if (found === undefined)
|
|
489
490
|
throw new RangeError(`Unknown park "${String(park)}": use a key of PARKS`);
|
|
490
491
|
const o = { ...options, park: found.id };
|
package/dist/scene-entry.d.ts
CHANGED
package/dist/scene-entry.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// A drawing as plain data: the shapes it is painted with, in order, their colours worked out for light or dark; and the SVG that needs no stylesheet.
|
|
2
|
+
import "./full.js";
|
|
2
3
|
export { sceneFromSvg, sceneOf } from "./scene.js";
|
|
3
4
|
export { sceneToSvg } from "./scene.flat.js";
|
|
4
5
|
export { pathCommands } from "./scene.path.js";
|
package/dist/skating-entry.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./full.ts";
|
|
1
2
|
export { skatingPairs, skatingGrid, skatingResults, skatingReplay, figureElements, formatTime, distanceSkated } from "./charts.skating.ts";
|
|
2
3
|
export type { DrawTotals, ElementTotals, FigureElementsOptions, SkatingElement, SkatingEntry, SkatingPair, SkatingRaceOptions, SkatingReplay, SkatingReplayOptions, SkatingResult, SkatingResultsTotals, SkatingRunner, SkatingStarter } from "./charts.skating.ts";
|
|
3
4
|
export { ELEMENT_KINDS, ELEMENT_NAMES, LONG_TRACK_RACES, LONG_TRACK_RACE_IDS, RACES, RACE_IDS, SHORT_TRACK_RACES, SHORT_TRACK_RACE_IDS, raceById } from "./skating/events.ts";
|
package/dist/skating-entry.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// The ice skating rinks: the standard 400 m speed skating track, the short track oval and the figure skating rink, with the plan of each, the track's geometry (a point of a lane, the start of a race, the
|
|
2
2
|
// lap of the crossing), the races and the elements, and the data: the pairs of a race, the starting positions of a short track race, the results, a replay and the elements of a programme as marks.
|
|
3
|
+
import "./full.js";
|
|
3
4
|
export { skatingPairs, skatingGrid, skatingResults, skatingReplay, figureElements, formatTime, distanceSkated } from "./charts.skating.js";
|
|
4
5
|
export { ELEMENT_KINDS, ELEMENT_NAMES, LONG_TRACK_RACES, LONG_TRACK_RACE_IDS, RACES, RACE_IDS, SHORT_TRACK_RACES, SHORT_TRACK_RACE_IDS, raceById } from "./skating/events.js";
|
|
5
6
|
export { disciplineOf, furnitureOf, racesOf, skatingLeague, skatingPlan } from "./skating/plan.js";
|
package/dist/special.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { convertLength } from "./units.js";
|
|
5
5
|
import { num, el } from "./format.js";
|
|
6
6
|
import { MLB } from "./geometry.js";
|
|
7
|
-
import {
|
|
7
|
+
import { heldGround } from "./grounds.core.js";
|
|
8
8
|
import { lengthUnit } from "./common.js";
|
|
9
9
|
import { lineLook, restyleLines } from "./restyle.js";
|
|
10
10
|
import { outlineOf } from "./outline.js";
|
|
@@ -15,7 +15,7 @@ export function hostSurfaceOptions(host, o) {
|
|
|
15
15
|
if (host.park !== undefined)
|
|
16
16
|
return { ...common, sport: "mlb", park: host.park };
|
|
17
17
|
if (host.ground !== undefined || host.pitch !== undefined) {
|
|
18
|
-
const ground =
|
|
18
|
+
const ground = heldGround(host.ground);
|
|
19
19
|
const pitch = host.pitch ?? (ground === undefined || ground.pitchSize === "default" ? undefined : { ...ground.pitch, unit: "m" });
|
|
20
20
|
return { ...common, sport: "soccer", ground: host.ground, pitch };
|
|
21
21
|
}
|
package/dist/stadiums-entry.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import "./full.ts";
|
|
1
2
|
export { VENUE_ATTRIBUTION, STADIUMS, STADIUM_IDS, groundOfStadium, planPark, planStadium, stadiumBowl, stadiumBowlInside, stadiumById, stadiumByWikidata, stadiumConfigOf, stadiumConfigs, stadiumFrameHeading, stadiumKind, stadiumNames, stadiumOrientation, stadiumSeats } from "./stadiums.ts";
|
|
2
3
|
export type { ParkPlan, RealStadium, RealStadiumData, StadiumBasis, StadiumConfigData, StadiumConfigId, StadiumKind, StadiumOrientation, StadiumOsm, StadiumPlan, StadiumRoof } from "./stadiums.ts";
|
package/dist/stadiums-entry.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
// The real stadiums and ballparks: the outline of each building and the way its field lies (OpenStreetMap, ODbL 1.0) and a plausible bowl from the seats of each configuration, the bowls and the roof the sources give (Wikidata, Wikipedia).
|
|
2
|
+
import "./full.js";
|
|
2
3
|
export { VENUE_ATTRIBUTION, STADIUMS, STADIUM_IDS, groundOfStadium, planPark, planStadium, stadiumBowl, stadiumBowlInside, stadiumById, stadiumByWikidata, stadiumConfigOf, stadiumConfigs, stadiumFrameHeading, stadiumKind, stadiumNames, stadiumOrientation, stadiumSeats } from "./stadiums.js";
|
package/dist/stadiums.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Box, type CrowdStands, type Pt, type RealBowl } from "./crowd.ts";
|
|
2
2
|
import { type ParkInput } from "./crowd.park.ts";
|
|
3
|
-
import { type Ground } from "./grounds.ts";
|
|
3
|
+
import { type Ground } from "./grounds.core.ts";
|
|
4
4
|
import { VENUE_ATTRIBUTION } from "./venues.ts";
|
|
5
5
|
export { VENUE_ATTRIBUTION };
|
|
6
6
|
/** How a fact is known: `documented` is what a source cited with it says; `plausible` is ours, for a bowl no source describes. */
|
package/dist/stadiums.js
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
import { NORTH_ROOM, aisleParameters, aislesOf, areaOfOutline, outlinePoints, sectorPolygon } from "./crowd.js";
|
|
7
7
|
import { parkLayout } from "./crowd.park.js";
|
|
8
8
|
import { FEET_PER_METRE, FOOTBALL } from "./geometry.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { heldGround } from "./grounds.core.js";
|
|
10
|
+
import { heldPark } from "./parks.core.js";
|
|
11
11
|
import { GAP, HALL, MAX_RAKE, SEAT_AREAS, WALL, VENUE_ATTRIBUTION } from "./venues.js";
|
|
12
12
|
import { boxOf, edgeDistance, inside, metresFrom, middleOf, northOn, turnedTo } from "./venues.geo.js";
|
|
13
13
|
import { clipConvex } from "./venue.geom.js";
|
|
@@ -28,7 +28,7 @@ export const stadiumKind = (stadium) => stadium.kind ?? "stadium";
|
|
|
28
28
|
export const stadiumConfigs = (stadium) => Object.keys(stadium.configs);
|
|
29
29
|
/** The ground a stadium is (its name, place and pitch). Throws for a ballpark, which has a park, and for a hall, which has none. */
|
|
30
30
|
export const groundOfStadium = (stadium) => {
|
|
31
|
-
const ground =
|
|
31
|
+
const ground = heldGround(stadium.ground);
|
|
32
32
|
if (ground === undefined)
|
|
33
33
|
throw new Error(`${stadium.id} has no ground ${String(stadium.ground)}`);
|
|
34
34
|
return ground;
|
|
@@ -41,7 +41,7 @@ export function stadiumNames(stadium) {
|
|
|
41
41
|
return { en: stadium.names.en, ja: stadium.names.ja };
|
|
42
42
|
}
|
|
43
43
|
if (stadiumKind(stadium) === "park") {
|
|
44
|
-
const park =
|
|
44
|
+
const park = heldPark(stadium.park);
|
|
45
45
|
if (park === undefined)
|
|
46
46
|
throw new Error(`${stadium.id} has no park ${String(stadium.park)}`);
|
|
47
47
|
return { en: park.name, ja: park.nameJa };
|
package/dist/target-entry.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import "./full.ts";
|
|
1
2
|
export { GOAL_SPORTS, KYOGIJO_TARGET_STYLE, LENGTH_ZONES, TARGET_SPORTS, drawGoalMouth, drawStrikeZone, drawStumps, drawTarget, goalSize, goalZoneIds, lengthZoneOf, targetZoneAt } from "./target.ts";
|
|
2
3
|
export type { GoalSport, TargetDrawing, TargetFrame, TargetOptions, TargetPlace, TargetShot, TargetSport, TargetUnit } from "./target.ts";
|
package/dist/target-entry.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
// The targets seen end-on: the mouth of a goal from the shooter's side, the stumps from the bowler's end and the strike zone from the catcher's, with the shots, deliveries and pitches on them.
|
|
2
|
+
import "./full.js";
|
|
2
3
|
export { GOAL_SPORTS, KYOGIJO_TARGET_STYLE, LENGTH_ZONES, TARGET_SPORTS, drawGoalMouth, drawStrikeZone, drawStumps, drawTarget, goalSize, goalZoneIds, lengthZoneOf, targetZoneAt } from "./target.js";
|
package/dist/turn-entry.d.ts
CHANGED
package/dist/turn-entry.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// The 3D view: a surface as a floor that turns, with a net, a basket, a goal or a pair of posts standing on it.
|
|
2
|
+
import "./full.js";
|
|
2
3
|
export { mountKyogijoTurn, mountTurn, turnSupported } from "./turn.dom.js";
|
|
3
4
|
export { buildTurn, floorOptions, openingView } from "./turn.model.js";
|
|
4
5
|
export { turnDirection } from "./turn.camera.js";
|
package/dist/turn.camera.d.ts
CHANGED
|
@@ -114,6 +114,11 @@ export declare function covered(b: Box3, view: TurnView, at: Placement, distance
|
|
|
114
114
|
* extent of the scene on the screen changes with the pitch. The perspective bends the sum, so it is found by a few rounds of scaling and re-centring; six is plenty.
|
|
115
115
|
*/
|
|
116
116
|
export declare function fit(b: Box3, view: TurnView, w: number, h: number, distance: number, pad?: number): Placement;
|
|
117
|
+
/**
|
|
118
|
+
* The scale (screen pixels for a pixel of the scene, at a zoom of 1) a scene's box is fitted at in a container, the largest any tip of the view makes it: a view tipped towards the horizon is fitted larger, and the layers are made
|
|
119
|
+
* for the largest so that tipping the view does not make them again.
|
|
120
|
+
*/
|
|
121
|
+
export declare function viewScale(b: Box3, w: number, h: number, lens?: number): number;
|
|
117
122
|
/** A 4 by 4 matrix, as CSS writes it in `matrix3d`: sixteen numbers, a column after a column. */
|
|
118
123
|
export type Mat4 = readonly number[];
|
|
119
124
|
/** Two matrices as one: `b` first, then `a`. */
|
package/dist/turn.camera.js
CHANGED
|
@@ -179,6 +179,14 @@ export function fit(b, view, w, h, distance, pad = 0.03) {
|
|
|
179
179
|
lastFit = { key, at: { ...at } };
|
|
180
180
|
return at;
|
|
181
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* The scale (screen pixels for a pixel of the scene, at a zoom of 1) a scene's box is fitted at in a container, the largest any tip of the view makes it: a view tipped towards the horizon is fitted larger, and the layers are made
|
|
184
|
+
* for the largest so that tipping the view does not make them again.
|
|
185
|
+
*/
|
|
186
|
+
export function viewScale(b, w, h, lens) {
|
|
187
|
+
const distance = eyeDistance(w, h, lens);
|
|
188
|
+
return Math.max(...[0, 30, 58, 70, PITCH_MAX].map((pitch) => fit(b, { yaw: 0, pitch, zoom: 1 }, w, h, distance).k));
|
|
189
|
+
}
|
|
182
190
|
/** Two matrices as one: `b` first, then `a`. */
|
|
183
191
|
export function multiply(a, b) {
|
|
184
192
|
const out = new Array(16);
|
package/dist/turn.dom.js
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
// reduced motion gets jumps for glides, and where the browser cannot draw in 3D the flat drawing stays. Nothing is polled and nothing runs while the view is
|
|
4
4
|
// still: the elements' `transform`s are written when the view changes, and a glide between viewpoints is a short run of animation frames.
|
|
5
5
|
import { drawKyogijo } from "./draw.js";
|
|
6
|
-
import { STEP, TURN_PRESET_NAMES, clampView, drag, nearest, nudge, presetOf, presetView, step, turnDirection, wheelTip } from "./turn.camera.js";
|
|
6
|
+
import { STEP, TURN_PRESET_NAMES, clampView, drag, nearest, nudge, presetOf, presetView, step, turnDirection, viewScale, wheelTip } from "./turn.camera.js";
|
|
7
7
|
import { buildTurn, floorOptions, openingView, turnWords } from "./turn.model.js";
|
|
8
8
|
import { controlsMarkup, layoutOf, turnMarkupOf, worldMarkup } from "./turn.markup.js";
|
|
9
9
|
import { KYOGIJO_TURN_STYLE } from "./turn.style.js";
|
|
10
10
|
import { esc } from "./format.js";
|
|
11
11
|
import { turnBoardMarkup } from "./overlay.js";
|
|
12
12
|
import { attachOutside3d } from "./outside.dom.js";
|
|
13
|
-
import { TIER_PROFILES, createGovernor, handheld, layerBudget, qualityOf, rasterOf, rasterShares, tierOf } from "./quality.js";
|
|
13
|
+
import { TIER_PROFILES, createGovernor, handheld, layerBudget, qualityOf, rasterOf, rasterShares, tierOf, viewShare, FLOOR_SHARE } from "./quality.js";
|
|
14
14
|
import { size } from "./turn.kit.js";
|
|
15
15
|
/** True where the page can draw a plane in 3D by one `matrix3d`: that is, nearly everywhere with a stylesheet. */
|
|
16
16
|
export function turnSupported(win = typeof window === "undefined" ? undefined : window) {
|
|
@@ -50,6 +50,12 @@ export function mountTurn(host, options, settings, build) {
|
|
|
50
50
|
let tier = tierOf(quality);
|
|
51
51
|
// (Set again below, once the model is built, for a view that has no tiers.)
|
|
52
52
|
const isHandheld = handheld(win);
|
|
53
|
+
/**
|
|
54
|
+
* The share of its size a layer needs to be as fine as this screen shows it (`viewShare`): a district on a phone is drawn at a sixth of the scene's own size, so its layers need a quarter as many pixels on a side. It is worked out from the container's
|
|
55
|
+
* size and the zoom, and held while they are as they are: `settleRaster` draws the layers again when they change enough to need another.
|
|
56
|
+
*/
|
|
57
|
+
let ceiling = 1;
|
|
58
|
+
const ceilingFor = (of, width, height, zoom) => (of.tiered === true ? viewShare(viewScale(of.box, width, height, settings.lens ?? of.lens), zoom) : 1);
|
|
53
59
|
/** The share of its size each layer is made at for a model, now: one number when they all are, one each when the biggest are held to a budget of pixels. */
|
|
54
60
|
const rasterFor = (of) => {
|
|
55
61
|
// (Only a model that has tiers is made smaller: a surface on its own is small, and nothing of it would be left out.)
|
|
@@ -58,16 +64,21 @@ export function mountTurn(host, options, settings, build) {
|
|
|
58
64
|
const dpr = win?.devicePixelRatio ?? 1;
|
|
59
65
|
const share = rasterOf(quality, tier, dpr, isHandheld);
|
|
60
66
|
const budget = layerBudget(tier, isHandheld);
|
|
61
|
-
if (share === 1 && budget === Infinity)
|
|
67
|
+
if (share === 1 && budget === Infinity && ceiling === 1)
|
|
62
68
|
return 1;
|
|
63
69
|
const boxes = [[of.viewBox.w * of.scale, of.viewBox.h * of.scale], ...of.planes.map((p) => { const [w, h] = size(p); return [w * of.scale, h * of.scale]; })];
|
|
64
|
-
return rasterShares(boxes, share, dpr, budget);
|
|
70
|
+
return rasterShares(boxes, share, dpr, budget, ceiling, FLOOR_SHARE);
|
|
65
71
|
};
|
|
66
72
|
const sameRaster = (a, b) => (typeof a === "number" || typeof b === "number" ? a === b : a.length === b.length && a.every((x, i) => x === b[i]));
|
|
67
73
|
let current = options;
|
|
68
74
|
let model = build(options, { ...settings, quality: tier });
|
|
69
75
|
if (model.tiered !== true)
|
|
70
76
|
tier = "high";
|
|
77
|
+
// (The container is not written yet: its width is the host's and its height the one the stylesheet gives it, 16 by 10 or 5 by 4 on a phone; `settleRaster` corrects it once the view is in the page.)
|
|
78
|
+
{
|
|
79
|
+
const width = host.clientWidth > 0 ? host.clientWidth : (settings.size?.width ?? 960);
|
|
80
|
+
ceiling = ceilingFor(model, width, Math.max(260, width * (width <= 560 ? 0.8 : 0.625)), model.view.zoom);
|
|
81
|
+
}
|
|
71
82
|
let raster = rasterFor(model);
|
|
72
83
|
/** The models built at each tier for the options now, so that a step back to a tier is not built again. */
|
|
73
84
|
let made = new Map([[tier, model]]);
|
|
@@ -155,6 +166,7 @@ export function mountTurn(host, options, settings, build) {
|
|
|
155
166
|
crowd();
|
|
156
167
|
root.dataset.quality = quality;
|
|
157
168
|
root.dataset.tier = tier;
|
|
169
|
+
root.dataset.share = String(ceiling);
|
|
158
170
|
// ---- Quality: in `auto`, the frames the view makes while it turns decide the tier. ----
|
|
159
171
|
let governor = quality === "auto" && win !== null && model.tiered === true ? createGovernor(tier, settings.qualityTuning) : undefined;
|
|
160
172
|
let meterFrame;
|
|
@@ -230,6 +242,7 @@ export function mountTurn(host, options, settings, build) {
|
|
|
230
242
|
const known = made.get(tier);
|
|
231
243
|
model = known ?? build(current, { ...settings, quality: tier, id: settings.id ?? baseId, venue, preset: undefined, view });
|
|
232
244
|
made.set(tier, model);
|
|
245
|
+
ceiling = ceilingFor(model, stage.clientWidth || 960, stage.clientHeight || 600, shown.zoom);
|
|
233
246
|
raster = rasterFor(model);
|
|
234
247
|
const layout = layoutOf(model, shown, stage.clientWidth || 960, stage.clientHeight || 600, settings.lens, false, raster);
|
|
235
248
|
const world = root.querySelector(".ky-turn-world");
|
|
@@ -249,6 +262,7 @@ export function mountTurn(host, options, settings, build) {
|
|
|
249
262
|
crowd();
|
|
250
263
|
root.dataset.quality = quality;
|
|
251
264
|
root.dataset.tier = tier;
|
|
265
|
+
root.dataset.share = String(ceiling);
|
|
252
266
|
};
|
|
253
267
|
/** The governor stepped: draw at the new tier. */
|
|
254
268
|
const retier = (next) => {
|
|
@@ -273,6 +287,30 @@ export function mountTurn(host, options, settings, build) {
|
|
|
273
287
|
if (glyph !== null)
|
|
274
288
|
glyph.textContent = playing ? "❚❚" : "▶";
|
|
275
289
|
};
|
|
290
|
+
// ---- The pixels of the layers follow the view: a zoom or a new size of the container may need a finer or allow a coarser share, and the layers are drawn again at it. ----
|
|
291
|
+
let seenZoom = shown.zoom;
|
|
292
|
+
let settling;
|
|
293
|
+
/** Draw the layers again if the view needs another share than they were made at. */
|
|
294
|
+
const settleRaster = () => {
|
|
295
|
+
settling = undefined;
|
|
296
|
+
if (!alive || model.tiered !== true)
|
|
297
|
+
return;
|
|
298
|
+
if (ceilingFor(model, stage.clientWidth || 960, stage.clientHeight || 600, shown.zoom) === ceiling)
|
|
299
|
+
return;
|
|
300
|
+
renderWorld();
|
|
301
|
+
paint(shown);
|
|
302
|
+
};
|
|
303
|
+
/**
|
|
304
|
+
* The view changed in a way that may change the share it needs. A finer share is drawn soon (a moment after the zoom has stopped, so that a pinch is not drawn again at every step), a coarser one only after a while at rest: until
|
|
305
|
+
* then the layers are finer than needed, which costs memory and nothing to the eye.
|
|
306
|
+
*/
|
|
307
|
+
const wantRaster = () => {
|
|
308
|
+
if (!alive || model.tiered !== true || win === null)
|
|
309
|
+
return;
|
|
310
|
+
clearTimeout(settling);
|
|
311
|
+
const next = ceilingFor(model, stage.clientWidth || 960, stage.clientHeight || 600, shown.zoom);
|
|
312
|
+
settling = next === ceiling ? undefined : win.setTimeout(settleRaster, next > ceiling ? 160 : 1500);
|
|
313
|
+
};
|
|
276
314
|
/** Put a view on the screen. */
|
|
277
315
|
const paint = (now) => {
|
|
278
316
|
const width = stage.clientWidth || 960;
|
|
@@ -298,6 +336,10 @@ export function mountTurn(host, options, settings, build) {
|
|
|
298
336
|
if (faded[i] !== o)
|
|
299
337
|
one.style.opacity = faded[i] = o;
|
|
300
338
|
});
|
|
339
|
+
if (now.zoom !== seenZoom) {
|
|
340
|
+
seenZoom = now.zoom;
|
|
341
|
+
wantRaster();
|
|
342
|
+
}
|
|
301
343
|
touched();
|
|
302
344
|
};
|
|
303
345
|
const label = () => {
|
|
@@ -308,6 +350,8 @@ export function mountTurn(host, options, settings, build) {
|
|
|
308
350
|
};
|
|
309
351
|
paint(shown);
|
|
310
352
|
label();
|
|
353
|
+
// The container is in the page now: the share its layers need, at its real size.
|
|
354
|
+
settleRaster();
|
|
311
355
|
const stop = () => {
|
|
312
356
|
if (flight !== undefined)
|
|
313
357
|
win?.cancelAnimationFrame(flight.frame);
|
|
@@ -602,7 +646,12 @@ export function mountTurn(host, options, settings, build) {
|
|
|
602
646
|
// ---- The size of the box. ----
|
|
603
647
|
let observer;
|
|
604
648
|
if (typeof ResizeObserver === "function") {
|
|
605
|
-
observer = new ResizeObserver(() =>
|
|
649
|
+
observer = new ResizeObserver(() => {
|
|
650
|
+
if (!alive)
|
|
651
|
+
return;
|
|
652
|
+
paint(shown);
|
|
653
|
+
wantRaster();
|
|
654
|
+
});
|
|
606
655
|
observer.observe(stage);
|
|
607
656
|
}
|
|
608
657
|
// Nothing moves until the reader asks, unless the page did: `autoPlay` starts it, but not for a reader who prefers reduced motion (`"force"` does).
|
|
@@ -719,6 +768,7 @@ export function mountTurn(host, options, settings, build) {
|
|
|
719
768
|
if (!alive)
|
|
720
769
|
return;
|
|
721
770
|
alive = false;
|
|
771
|
+
clearTimeout(settling);
|
|
722
772
|
outside?.destroy();
|
|
723
773
|
stop();
|
|
724
774
|
stopTick();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FieldPlan } from "./fields.types.ts";
|
|
2
2
|
import { type FencePoint, type FootballSpec } from "./geometry.ts";
|
|
3
3
|
import type { SoccerSpec } from "./surfaces/soccer-spec.ts";
|
|
4
|
-
import type { ParkWall } from "./parks.ts";
|
|
4
|
+
import type { ParkWall } from "./parks.core.ts";
|
|
5
5
|
import { type Plane, type Upright } from "./turn.kit.ts";
|
|
6
6
|
/**
|
|
7
7
|
* The crossbar of a football post is 10 ft over the ground (NFL 2026 Rule 1-3-1: "the top face of which is 10 feet above the ground"; CFL 2026 Rule 1-1-1:
|
package/dist/uprights.js
CHANGED
|
@@ -11,7 +11,7 @@ import { diamondFence } from "./leagues/baseball.js";
|
|
|
11
11
|
import { NBA_COURT } from "./leagues/basketball.js";
|
|
12
12
|
import { NHL_RINK } from "./leagues/hockey.js";
|
|
13
13
|
import { chooseLeague, courtOf, diamondOf, fieldOf, rinkOf } from "./leagues.js";
|
|
14
|
-
import { fenceFor,
|
|
14
|
+
import { fenceFor, heldPark, parkWallsIn } from "./parks.core.js";
|
|
15
15
|
import { fenceOutline } from "./surfaces/baseball.js";
|
|
16
16
|
import { KYOGIJO_STRINGS, fill } from "./strings.js";
|
|
17
17
|
import { soccerSpec } from "./surfaces/soccer-spec.js";
|
|
@@ -65,7 +65,7 @@ export function uprightsFor(o, settings = {}) {
|
|
|
65
65
|
}
|
|
66
66
|
else if (sport === "mlb") {
|
|
67
67
|
const diamond = league?.family === "baseball" ? diamondOf(league, o.year) : undefined;
|
|
68
|
-
const park =
|
|
68
|
+
const park = heldPark(o.park);
|
|
69
69
|
const points = fenceFor(park, feetFence(o.fence, unit), o.year, diamond === undefined ? undefined : diamondFence(diamond));
|
|
70
70
|
thin = 0.4;
|
|
71
71
|
items = ballparkUprights(points, park === undefined ? [] : parkWallsIn(park, o.year), thin);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { loadArena, loadGround, loadPark, loadVenueDataFor, venueDataKeysFor, venueName } from "./venue-data.ts";
|
|
2
|
+
export type { VenueDataKeys } from "./venue-data.ts";
|
|
3
|
+
export type { Arena } from "./arenas.core.ts";
|
|
4
|
+
export type { Ground } from "./grounds.core.ts";
|
|
5
|
+
export type { Park } from "./parks.core.ts";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// The data of the venues a page shows, one file each, read when asked for: `loadVenueDataFor` for the venues of a district, `loadArena`, `loadPark` and `loadGround` for one, `venueName` to list the venues by name without reading any of them.
|
|
2
|
+
export { loadArena, loadGround, loadPark, loadVenueDataFor, venueDataKeysFor, venueName } from "./venue-data.js";
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type Arena } from "./arenas.core.ts";
|
|
2
|
+
import { type Ground } from "./grounds.core.ts";
|
|
3
|
+
import { type Park } from "./parks.core.ts";
|
|
4
|
+
import type { Language } from "./types.ts";
|
|
5
|
+
/**
|
|
6
|
+
* An arena by its key, read from its own file the first time and held for the drawing after: asking again gives the same promise. A key that is not an arena rejects, naming the keys there are.
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* import { loadArena } from "@johnmorrisdotca/kyogijo-stadiums/venue-data";
|
|
10
|
+
* const arena = await loadArena("rogers-arena");
|
|
11
|
+
* console.log(arena.name, arena.city);
|
|
12
|
+
* // Rogers Arena Vancouver
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare const loadArena: (id: string) => Promise<Arena>;
|
|
16
|
+
/** A park by its key, read from its own file the first time and held for the drawing after (see `loadArena`). */
|
|
17
|
+
export declare const loadPark: (id: string) => Promise<Park>;
|
|
18
|
+
/** A ground by its key, read from its own file the first time and held for the drawing after (see `loadArena`). */
|
|
19
|
+
export declare const loadGround: (id: string) => Promise<Ground>;
|
|
20
|
+
/** The keys of the arenas, parks and grounds whose records the drawing of some venues reads. */
|
|
21
|
+
export interface VenueDataKeys {
|
|
22
|
+
arenas: string[];
|
|
23
|
+
parks: string[];
|
|
24
|
+
grounds: string[];
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The records the drawing of some venues of a district reads, by kind: an arena's own, a ballpark's park, a stadium's ground, and nothing for a hall (which carries its own names) or the Kodokan. The keys are a district's (`rogers-arena`,
|
|
28
|
+
* `bc-place:cfl`).
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* import { venueDataKeysFor } from "@johnmorrisdotca/kyogijo-stadiums/venue-data";
|
|
32
|
+
* console.log(venueDataKeysFor(["rogers-arena", "bc-place:cfl", "t-mobile-park:mlb"]));
|
|
33
|
+
* // {
|
|
34
|
+
* // arenas: [ 'rogers-arena' ],
|
|
35
|
+
* // parks: [ 't-mobile-park' ],
|
|
36
|
+
* // grounds: [ 'bc-place' ]
|
|
37
|
+
* // }
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare function venueDataKeysFor(venues: readonly string[]): VenueDataKeys;
|
|
41
|
+
/**
|
|
42
|
+
* The records of the venues a page is about to draw, each read from its own file and no other, and held for the drawing: what `planDistrict`, `drawDistrict` and `mountDistrictTurn` of the lean district read. Await it before the
|
|
43
|
+
* first call and again when the venues change; a venue whose records are held is not read twice.
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* import { loadVenueDataFor, planDistrict } from "@johnmorrisdotca/kyogijo-stadiums/district-lean";
|
|
47
|
+
* const venues = ["bc-place:cfl", "rogers-arena"];
|
|
48
|
+
* await loadVenueDataFor(venues);
|
|
49
|
+
* console.log(planDistrict({ venues }).members.length);
|
|
50
|
+
* // 2
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function loadVenueDataFor(venues: readonly string[]): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* The name of a venue of a district in a language, from the lists of names alone: no record is read, so a page can list every venue to choose from and read only the records of those chosen. It is the name `districtMember(key, language).name[language]` gives.
|
|
56
|
+
* `undefined` for a key that is not a venue of a district.
|
|
57
|
+
* @example
|
|
58
|
+
* ```ts
|
|
59
|
+
* import { venueName } from "@johnmorrisdotca/kyogijo-stadiums/venue-data";
|
|
60
|
+
* console.log(venueName("rogers-arena", "en"), venueName("bc-place:cfl", "ja"));
|
|
61
|
+
* // Rogers Arena BCプレイス
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
export declare function venueName(key: string, language?: Language): string | undefined;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
// The data of the venues a page shows, one file each, read when asked for. The drawing reads an arena, a park or a ground from a table (`heldArena`, `heldPark`, `heldGround`) that the full lists fill (`full.ts`, which every
|
|
2
|
+
// entry but the lean district imports); a page that imports the lean district holds none until `loadVenueDataFor` has read the files of the venues it is about to draw. Nothing here holds a record: `arenas.index.ts`, `parks.index.ts`
|
|
3
|
+
// and `grounds.index.ts` list every key with its names and the `import()` of its file, and the files are `arenas/<key>.data.ts` and so on, made by `pnpm arenas`, `pnpm parks` and `pnpm grounds`.
|
|
4
|
+
import { registerArenas } from "./arenas.core.js";
|
|
5
|
+
import { ARENA_INDEX } from "./arenas.index.js";
|
|
6
|
+
import { registerGrounds } from "./grounds.core.js";
|
|
7
|
+
import { GROUND_INDEX } from "./grounds.index.js";
|
|
8
|
+
import { registerParks } from "./parks.core.js";
|
|
9
|
+
import { PARK_INDEX } from "./parks.index.js";
|
|
10
|
+
import { KODOKAN_NAME } from "./kodokan.js";
|
|
11
|
+
import { STADIUMS, stadiumKind } from "./stadiums.js";
|
|
12
|
+
/** The files read, by kind and key, each once: asking again gives the same promise, and one that failed (the network) is asked for again next time. */
|
|
13
|
+
const kept = new Map();
|
|
14
|
+
function read(kind, index, id, keep) {
|
|
15
|
+
const key = `${kind}:${id}`;
|
|
16
|
+
const found = kept.get(key);
|
|
17
|
+
if (found !== undefined)
|
|
18
|
+
return found;
|
|
19
|
+
const entry = Object.hasOwn(index, id) ? index[id] : undefined;
|
|
20
|
+
if (entry === undefined)
|
|
21
|
+
return Promise.reject(new Error(`no ${kind} ${JSON.stringify(id)}: the ${kind}s are ${Object.keys(index).join(", ")}`));
|
|
22
|
+
const promise = entry.load().then(keep);
|
|
23
|
+
kept.set(key, promise);
|
|
24
|
+
promise.catch(() => kept.delete(key));
|
|
25
|
+
return promise;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* An arena by its key, read from its own file the first time and held for the drawing after: asking again gives the same promise. A key that is not an arena rejects, naming the keys there are.
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* import { loadArena } from "@johnmorrisdotca/kyogijo-stadiums/venue-data";
|
|
32
|
+
* const arena = await loadArena("rogers-arena");
|
|
33
|
+
* console.log(arena.name, arena.city);
|
|
34
|
+
* // Rogers Arena Vancouver
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export const loadArena = (id) => read("arena", ARENA_INDEX, id, (m) => registerArenas([m.ARENA])[0]);
|
|
38
|
+
/** A park by its key, read from its own file the first time and held for the drawing after (see `loadArena`). */
|
|
39
|
+
export const loadPark = (id) => read("park", PARK_INDEX, id, (m) => registerParks([m.PARK])[0]);
|
|
40
|
+
/** A ground by its key, read from its own file the first time and held for the drawing after (see `loadArena`). */
|
|
41
|
+
export const loadGround = (id) => read("ground", GROUND_INDEX, id, (m) => registerGrounds([m.GROUND])[0]);
|
|
42
|
+
/**
|
|
43
|
+
* The records the drawing of some venues of a district reads, by kind: an arena's own, a ballpark's park, a stadium's ground, and nothing for a hall (which carries its own names) or the Kodokan. The keys are a district's (`rogers-arena`,
|
|
44
|
+
* `bc-place:cfl`).
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* import { venueDataKeysFor } from "@johnmorrisdotca/kyogijo-stadiums/venue-data";
|
|
48
|
+
* console.log(venueDataKeysFor(["rogers-arena", "bc-place:cfl", "t-mobile-park:mlb"]));
|
|
49
|
+
* // {
|
|
50
|
+
* // arenas: [ 'rogers-arena' ],
|
|
51
|
+
* // parks: [ 't-mobile-park' ],
|
|
52
|
+
* // grounds: [ 'bc-place' ]
|
|
53
|
+
* // }
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export function venueDataKeysFor(venues) {
|
|
57
|
+
const keys = { arenas: [], parks: [], grounds: [] };
|
|
58
|
+
const add = (list, id) => {
|
|
59
|
+
if (id !== undefined && !list.includes(id))
|
|
60
|
+
list.push(id);
|
|
61
|
+
};
|
|
62
|
+
for (const venue of venues) {
|
|
63
|
+
const id = venue.split(":")[0];
|
|
64
|
+
const stadium = Object.hasOwn(STADIUMS, id) ? STADIUMS[id] : undefined;
|
|
65
|
+
if (stadium !== undefined) {
|
|
66
|
+
const kind = stadiumKind(stadium);
|
|
67
|
+
if (kind === "park")
|
|
68
|
+
add(keys.parks, stadium.park);
|
|
69
|
+
else if (kind === "stadium")
|
|
70
|
+
add(keys.grounds, stadium.ground);
|
|
71
|
+
}
|
|
72
|
+
else if (Object.hasOwn(ARENA_INDEX, id))
|
|
73
|
+
add(keys.arenas, id);
|
|
74
|
+
}
|
|
75
|
+
return keys;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* The records of the venues a page is about to draw, each read from its own file and no other, and held for the drawing: what `planDistrict`, `drawDistrict` and `mountDistrictTurn` of the lean district read. Await it before the
|
|
79
|
+
* first call and again when the venues change; a venue whose records are held is not read twice.
|
|
80
|
+
* @example
|
|
81
|
+
* ```ts
|
|
82
|
+
* import { loadVenueDataFor, planDistrict } from "@johnmorrisdotca/kyogijo-stadiums/district-lean";
|
|
83
|
+
* const venues = ["bc-place:cfl", "rogers-arena"];
|
|
84
|
+
* await loadVenueDataFor(venues);
|
|
85
|
+
* console.log(planDistrict({ venues }).members.length);
|
|
86
|
+
* // 2
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
export async function loadVenueDataFor(venues) {
|
|
90
|
+
const keys = venueDataKeysFor(venues);
|
|
91
|
+
await Promise.all([...keys.arenas.map(loadArena), ...keys.parks.map(loadPark), ...keys.grounds.map(loadGround)]);
|
|
92
|
+
}
|
|
93
|
+
const nameIn = (index, id, language) => (id !== undefined && Object.hasOwn(index, id) ? (language === "ja" ? index[id].nameJa : index[id].name) : undefined);
|
|
94
|
+
/**
|
|
95
|
+
* The name of a venue of a district in a language, from the lists of names alone: no record is read, so a page can list every venue to choose from and read only the records of those chosen. It is the name `districtMember(key, language).name[language]` gives.
|
|
96
|
+
* `undefined` for a key that is not a venue of a district.
|
|
97
|
+
* @example
|
|
98
|
+
* ```ts
|
|
99
|
+
* import { venueName } from "@johnmorrisdotca/kyogijo-stadiums/venue-data";
|
|
100
|
+
* console.log(venueName("rogers-arena", "en"), venueName("bc-place:cfl", "ja"));
|
|
101
|
+
* // Rogers Arena BCプレイス
|
|
102
|
+
* ```
|
|
103
|
+
*/
|
|
104
|
+
export function venueName(key, language = "en") {
|
|
105
|
+
const id = key.split(":")[0];
|
|
106
|
+
if (id === "kodokan")
|
|
107
|
+
return KODOKAN_NAME[language];
|
|
108
|
+
const stadium = Object.hasOwn(STADIUMS, id) ? STADIUMS[id] : undefined;
|
|
109
|
+
if (stadium === undefined)
|
|
110
|
+
return nameIn(ARENA_INDEX, id, language);
|
|
111
|
+
const kind = stadiumKind(stadium);
|
|
112
|
+
if (kind === "hall")
|
|
113
|
+
return stadium.names === undefined ? undefined : stadium.names[language];
|
|
114
|
+
return kind === "park" ? nameIn(PARK_INDEX, stadium.park, language) : nameIn(GROUND_INDEX, stadium.ground, language);
|
|
115
|
+
}
|
package/dist/venue.js
CHANGED
|
@@ -6,7 +6,7 @@ import { densityOf, resolveCrowd } from "./crowd.js";
|
|
|
6
6
|
import { patterns } from "./crowd.draw.js";
|
|
7
7
|
import { crowdStands } from "./draw.js";
|
|
8
8
|
import { NHL } from "./geometry.js";
|
|
9
|
-
import {
|
|
9
|
+
import { heldGround } from "./grounds.core.js";
|
|
10
10
|
import { ARC_STEPS, clipAround, clipConvex, clipSegment, areaOf, pointList, raked, slopeOf, stripsOf, tidy } from "./venue.geom.js";
|
|
11
11
|
import { APRON_RISE, apronPlanes, backEdges, backWall, concourseFloor, rimAt, suiteWall } from "./venue.fill.js";
|
|
12
12
|
import { firstHit, realBuilding } from "./venue.real.js";
|
|
@@ -47,7 +47,7 @@ export function standsVenue(o, v, lift) {
|
|
|
47
47
|
export function standsVenueOf(stands, crowd, o, v, lift) {
|
|
48
48
|
const cut = v.detail ?? "auto";
|
|
49
49
|
const fine = crowd.detail !== "plain" && o.detail !== "simple";
|
|
50
|
-
const density = densityOf(crowd, stands.seats,
|
|
50
|
+
const density = densityOf(crowd, stands.seats, heldGround(o.ground)?.capacity);
|
|
51
51
|
const tifo = { home: stands.sectors.some((s) => s.kind === "tifo-home"), away: stands.sectors.some((s) => s.kind === "tifo-away") };
|
|
52
52
|
const pid = `${v.id}-v`;
|
|
53
53
|
const defs = fine ? patterns(pid, crowd, density, tifo.home || tifo.away ? tifo : undefined, stands.real !== undefined, true, stands.rings.some((r) => r.closed === true) || stands.sectors.some((s) => s.kind === "closed")) : "";
|
package/dist/venues-entry.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import "./full.ts";
|
|
1
2
|
export { VENUE_ATTRIBUTION, VENUE_CONFERENCES, VENUE_DIVISIONS, VENUE_IDS, VENUES, arenaOfVenue, bowlInside, conferenceOf, planVenue, venueBowl, venueById, venueByWikidata, venueOrientation, venueRink, venuesIn, venuesInConference } from "./venues.ts";
|
|
2
3
|
export type { RealVenue, RealVenueData, VenueBasis, VenueConference, VenueDivision, VenueOrientation, VenueOsm, VenuePlan, VenueRoof } from "./venues.ts";
|
package/dist/venues-entry.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
// The real venues of the NHL's arenas: the outline of each building and the way its rink lies (OpenStreetMap, ODbL 1.0) and a plausible bowl from the seats, tiers and roof the sources give (Wikidata, Wikipedia).
|
|
2
|
+
import "./full.js";
|
|
2
3
|
export { VENUE_ATTRIBUTION, VENUE_CONFERENCES, VENUE_DIVISIONS, VENUE_IDS, VENUES, arenaOfVenue, bowlInside, conferenceOf, planVenue, venueBowl, venueById, venueByWikidata, venueOrientation, venueRink, venuesIn, venuesInConference } from "./venues.js";
|
package/dist/venues.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Arena, type ArenaSource } from "./arenas.ts";
|
|
1
|
+
import { type Arena, type ArenaSource } from "./arenas.core.ts";
|
|
2
2
|
import { type Box, type Pt, type RealBowl } from "./crowd.ts";
|
|
3
3
|
import { VENUE_ATTRIBUTION } from "./venues.osm.data.ts";
|
|
4
4
|
export { VENUE_ATTRIBUTION };
|