@johnmorrisdotca/kyogijo-stadiums 0.44.2 → 0.45.1
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 +91 -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/context.d.ts +2 -0
- package/dist/context.js +17 -0
- 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/district.turn.js +61 -6
- 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/judging.mount.js +7 -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.dom.d.ts +5 -0
- package/dist/outside.dom.js +13 -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 +110 -0
- package/dist/quality.js +160 -0
- 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 +3 -0
- package/dist/turn-entry.js +2 -0
- package/dist/turn.dom.d.ts +7 -0
- package/dist/turn.dom.js +186 -20
- package/dist/turn.markup.d.ts +10 -7
- package/dist/turn.markup.js +28 -15
- package/dist/turn.model.d.ts +13 -0
- package/dist/turn.style.js +6 -0
- 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/parks.js
CHANGED
|
@@ -1,27 +1,9 @@
|
|
|
1
|
-
import { FEET_PER_METRE, fenceAt, fencePoints, DEFAULT_FENCE } from "./geometry.js";
|
|
2
1
|
import { PARK_DATA } from "./parks.data.js";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
return `https://${language}.wikipedia.org/w/index.php?title=${encodeURIComponent(source.title.replace(/ /g, "_"))}&oldid=${source.revision}`;
|
|
7
|
-
}
|
|
8
|
-
const toFeet = (data) => {
|
|
9
|
-
const { points, unit, periods, walls, ...rest } = data;
|
|
10
|
-
const scale = unit === "m" ? FEET_PER_METRE : 1;
|
|
11
|
-
const feet = (list) => list.map(([angle, distance]) => [angle, Math.round(distance * scale * 10) / 10]);
|
|
12
|
-
const high = (wall) => {
|
|
13
|
-
const { height, ...stretch } = wall;
|
|
14
|
-
return { ...stretch, height_ft: Math.round(height * scale * 1000) / 1000 };
|
|
15
|
-
};
|
|
16
|
-
return {
|
|
17
|
-
...rest,
|
|
18
|
-
points: feet(points),
|
|
19
|
-
...(periods === undefined ? {} : { periods: periods.map((period) => ({ ...period, points: feet(period.points) })) }),
|
|
20
|
-
...(walls === undefined ? {} : { walls: walls.map(high) }),
|
|
21
|
-
};
|
|
22
|
-
};
|
|
2
|
+
import { parkNameIn, parkOfficialName, parkPointsIn, parkQuirksIn, parkSourceUrl, parkWallsIn, fenceFor, registerParks } from "./parks.core.js";
|
|
3
|
+
import { placesNamed } from "./names.js";
|
|
4
|
+
export { fenceFor, parkNameIn, parkOfficialName, parkPointsIn, parkQuirksIn, parkSourceUrl, parkWallsIn };
|
|
23
5
|
/** Every park by its key: the thirty current MLB ballparks, forty-three past ones, the twelve NPB home parks, and eight secondary or past NPB grounds. */
|
|
24
|
-
export const PARKS = Object.freeze(Object.fromEntries(PARK_DATA.map((
|
|
6
|
+
export const PARKS = Object.freeze(Object.fromEntries(registerParks(PARK_DATA).map((park) => [park.id, park])));
|
|
25
7
|
/** The keys of `PARKS`: the current MLB parks, then the past ones by their first season, then the NPB's, each in the order of the sources. */
|
|
26
8
|
export const PARK_IDS = Object.freeze(PARK_DATA.map((data) => data.id));
|
|
27
9
|
/** The unit a park's figures were published in: metres for the parks of Japan (converted to feet once, in `PARKS`), feet for the rest. `undefined` for a key that is not a park. */
|
|
@@ -39,54 +21,7 @@ export const parkUnit = (id) => PARK_DATA.find((data) => data.id === id)?.unit;
|
|
|
39
21
|
export const parksByName = (name) => placesNamed(Object.values(PARKS), name);
|
|
40
22
|
/** The park a name belongs to (see `parksByName`; the best match when several answer to it), or `undefined`. */
|
|
41
23
|
export const parkByName = (name) => parksByName(name)[0];
|
|
42
|
-
/** A park's name in a language: the everyday name in English, or in Japanese. */
|
|
43
|
-
export const parkNameIn = (park, language = "en") => (language === "ja" ? park.nameJa : park.name);
|
|
44
|
-
/** The name a park officially has in a language, when it is not the everyday name (`Hanshin Koshien Stadium` for `Koshien Stadium`), in the year given or today; else `undefined`. */
|
|
45
|
-
export const parkOfficialName = (park, language = "en", year) => officialName(park, language, undefined, Number.isFinite(year) ? year : undefined);
|
|
46
24
|
/** The park with a key, or `undefined`. */
|
|
47
25
|
export const parkById = (id) => (id === undefined ? undefined : PARKS[id]);
|
|
48
26
|
/** The park whose Wikidata item is `Q49136`, or `undefined`. */
|
|
49
27
|
export const parkByWikidata = (wikidata) => Object.values(PARKS).find((park) => park.wikidata === wikidata);
|
|
50
|
-
/** A park's fence in a season: the period that names the season, else the park's last fence. */
|
|
51
|
-
export function parkPointsIn(park, year) {
|
|
52
|
-
if (year === undefined || !Number.isFinite(year))
|
|
53
|
-
return park.points;
|
|
54
|
-
return park.periods?.find((period) => period.from <= year && year <= period.to)?.points ?? park.points;
|
|
55
|
-
}
|
|
56
|
-
/** True when something dated by its `first` and `last` season stands in `year`; without a year, what stands today (has no `last`). */
|
|
57
|
-
const standsIn = (dated, year) => {
|
|
58
|
-
if (year === undefined || !Number.isFinite(year))
|
|
59
|
-
return dated.last === undefined;
|
|
60
|
-
return (dated.first === undefined || dated.first <= year) && (dated.last === undefined || year <= dated.last);
|
|
61
|
-
};
|
|
62
|
-
/** The stretches of fence a park has in a season, with their heights in feet: the heights the article dates for that season, else those of today. */
|
|
63
|
-
export function parkWallsIn(park, year) {
|
|
64
|
-
return (park.walls ?? []).filter((wall) => standsIn(wall, year));
|
|
65
|
-
}
|
|
66
|
-
/** The quirks a park has in a season: those the article dates for that season, else those of today. */
|
|
67
|
-
export function parkQuirksIn(park, year) {
|
|
68
|
-
return (park.quirks ?? []).filter((quirk) => standsIn(quirk, year));
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* The fence points a drawing uses: a park's (as it stood in `year`, when the park has dated fences), with any of the
|
|
72
|
-
* five usual distances in `fence` laid over them, or the usual 330, 375, 400, 375 and 330 feet of a generic field (or the
|
|
73
|
-
* `generic` points a league's rules give).
|
|
74
|
-
*/
|
|
75
|
-
export function fenceFor(park, fence, year, generic = fencePoints(DEFAULT_FENCE)) {
|
|
76
|
-
const base = park === undefined ? [...generic] : parkPointsIn(park, year);
|
|
77
|
-
if (fence === undefined)
|
|
78
|
-
return base;
|
|
79
|
-
const keys = [["left", -45], ["leftCenter", -22.5], ["center", 0], ["rightCenter", 22.5], ["right", 45]];
|
|
80
|
-
const given = keys.filter(([key]) => typeof fence[key] === "number" && Number.isFinite(fence[key]) && fence[key] > 0);
|
|
81
|
-
if (given.length === 0)
|
|
82
|
-
return base;
|
|
83
|
-
// The caller's distances stand at their angles; the park's own points that fall near one of them give way.
|
|
84
|
-
const mine = given.map(([key, angle]) => [angle, fence[key]]);
|
|
85
|
-
const kept = base.filter(([angle]) => !mine.some(([chosen]) => Math.abs(chosen - angle) < 11));
|
|
86
|
-
const filled = [...kept, ...mine];
|
|
87
|
-
if (!filled.some(([angle]) => angle === -45))
|
|
88
|
-
filled.push([-45, fenceAt(base, -45)]);
|
|
89
|
-
if (!filled.some(([angle]) => angle === 45))
|
|
90
|
-
filled.push([45, fenceAt(base, 45)]);
|
|
91
|
-
return filled.sort((a, b) => a[0] - b[0]);
|
|
92
|
-
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PARK_IDS_WITHOUT_WALLS: readonly string[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// Made by scripts/build-parks.mjs from scripts/parks.data.json: do not edit by hand.
|
|
2
|
+
// The keys of the parks whose article gives no wall height anywhere on the fence (`PARKS_WITHOUT_WALL_HEIGHTS`), kept apart from the table of parks so that a page that needs the list does not carry the table.
|
|
3
|
+
export const PARK_IDS_WITHOUT_WALLS = ["tropicana-field", "rogers-centre", "target-field", "sutter-health-park", "t-mobile-park", "globe-life-field", "truist-park", "loandepot-park", "citizens-bank-park", "nationals-park", "great-american-ball-park", "american-family-field", "busch-stadium", "chase-field", "dodger-stadium", "exposition-park-pittsburgh", "polo-grounds", "south-end-grounds", "huntington-avenue-grounds", "league-park-cleveland", "sportsmans-park", "hilltop-park", "comiskey-park", "crosley-field", "tiger-stadium", "ebbets-field", "braves-field", "yankee-stadium-1923", "cleveland-stadium", "milwaukee-county-stadium", "baltimore-memorial-stadium", "municipal-stadium-kansas-city", "seals-stadium", "candlestick-park", "wrigley-field-los-angeles", "colt-stadium", "robert-f-kennedy-memorial-stadium", "shea-stadium", "astrodome", "atlanta-fulton-county-stadium", "busch-memorial-stadium", "oakland-coliseum", "sicks-stadium", "jarry-park-stadium", "veterans-stadium", "arlington-stadium", "exhibition-stadium", "olympic-stadium-montreal", "globe-life-park-in-arlington", "turner-field", "hanshin-koshien-stadium", "yokohama-stadium", "es-con-field-hokkaido", "rakuten-mobile-park-miyagi", "sapporo-dome", "korakuen-stadium", "heiwadai-stadium", "kawasaki-stadium", "nagoya-stadium"];
|
package/dist/plot-entry.d.ts
CHANGED
package/dist/plot-entry.js
CHANGED
package/dist/png-entry.d.ts
CHANGED
package/dist/png-entry.js
CHANGED
package/dist/pointer-entry.d.ts
CHANGED
package/dist/pointer-entry.js
CHANGED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/** The tiers of detail, from the most to the least. */
|
|
2
|
+
export type QualityTier = "high" | "medium" | "low";
|
|
3
|
+
/** What a view is asked for: one tier, or `auto`, which chooses by the frames the view makes. */
|
|
4
|
+
export type Quality = "auto" | QualityTier;
|
|
5
|
+
/** The tiers, highest first: a step down is one place later in this list. */
|
|
6
|
+
export declare const QUALITY_TIERS: readonly QualityTier[];
|
|
7
|
+
/** The values a page can ask for: `auto` and the tiers. */
|
|
8
|
+
export declare const QUALITIES: readonly Quality[];
|
|
9
|
+
/** What a tier draws. */
|
|
10
|
+
export interface TierProfile {
|
|
11
|
+
tier: QualityTier;
|
|
12
|
+
/** The most buildings of a district's context that stand up as blocks in the 3D view (the tallest and widest first); the rest are the floor's flat footprints, which every tier draws. */
|
|
13
|
+
blocks: number;
|
|
14
|
+
/** The share of the context's trees that are drawn, 0 to 1. */
|
|
15
|
+
trees: number;
|
|
16
|
+
/** A venue whose longest side is under this share of the plan's longest side is drawn as its footprint standing up to its height, one block, in place of its stands and roof; 0 draws every venue in full. */
|
|
17
|
+
proxy: number;
|
|
18
|
+
/** The small parts of a venue (benches, glass, posts, goals, the fascia and its fittings) are left out, and the crowd in its stands is drawn as blocks of colour. */
|
|
19
|
+
simple: boolean;
|
|
20
|
+
/** The share of the crowd outside that is drawn, 0 to 1 (0 hides it), and the width of its canvas as a share of the usual. */
|
|
21
|
+
outside: {
|
|
22
|
+
people: number;
|
|
23
|
+
width: number;
|
|
24
|
+
};
|
|
25
|
+
/** The pixel ratio the layers are rastered at, at most: on a phone or a tablet, and elsewhere. `Infinity` leaves the device's own. */
|
|
26
|
+
ratio: {
|
|
27
|
+
handheld: number;
|
|
28
|
+
other: number;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/** The profile of each tier. `high` leaves everything as it always was (the cap on a handheld's pixel ratio is the mode `auto`'s and is made in `rasterOf`). */
|
|
32
|
+
export declare const TIER_PROFILES: Record<QualityTier, TierProfile>;
|
|
33
|
+
/** Whether a value is one of the qualities. */
|
|
34
|
+
export declare const isQuality: (value: unknown) => value is Quality;
|
|
35
|
+
/** A quality from whatever a page or an address gave: the same if it is one, else `fallback`. */
|
|
36
|
+
export declare const qualityOf: (value: unknown, fallback?: Quality) => Quality;
|
|
37
|
+
/** The tier a view with no frames to go by is drawn at: the tier asked for, and `high` for `auto` (a page made on a server, a first draw). */
|
|
38
|
+
export declare const tierOf: (quality: Quality | undefined) => QualityTier;
|
|
39
|
+
/** The tier one step lower or higher than `tier`, or the same at the end. */
|
|
40
|
+
export declare const lower: (tier: QualityTier) => QualityTier;
|
|
41
|
+
export declare const higher: (tier: QualityTier) => QualityTier;
|
|
42
|
+
/** What decides whether the device is a phone or a tablet: it has a coarse pointer, or its screen is small. It is asked of the page's own window, never of the browser's name. */
|
|
43
|
+
export declare function handheld(win: {
|
|
44
|
+
matchMedia?: (query: string) => {
|
|
45
|
+
matches: boolean;
|
|
46
|
+
};
|
|
47
|
+
screen?: {
|
|
48
|
+
width: number;
|
|
49
|
+
height: number;
|
|
50
|
+
};
|
|
51
|
+
innerWidth?: number;
|
|
52
|
+
} | null | undefined): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* The share of its size a layer is made at, from the device's pixel ratio `dpr`: a layer is made `share` times as wide and as high in CSS pixels and turned back to its size by its matrix, so that it holds `share` squared as many device
|
|
55
|
+
* pixels, as far as the engine keeps a layer's pixels to its own box (the layers of a district at a ratio of 3 are hundreds of megabytes, which a phone's browser does not always keep). An engine that draws a layer again at the scale its matrix has
|
|
56
|
+
* (Chromium does) makes the same pixels from it, so there it changes nothing, and the sizes this package reports are the boxes times the ratio squared, not what an engine allocates. 1 when the ratio is within the cap. The mode `auto` caps a handheld
|
|
57
|
+
* at 2 even at `high`; a tier asked for by name is exactly that tier's, and `high` asked for by name is the device's own ratio, as it always was.
|
|
58
|
+
*/
|
|
59
|
+
export declare function rasterOf(quality: Quality, tier: QualityTier, dpr: number, isHandheld: boolean): number;
|
|
60
|
+
/**
|
|
61
|
+
* The most device pixels one layer may hold in a tier: a flat floor of a building is a layer as big as the building's box (the Kodokan's fourteen plates are 47 megabytes each at a ratio of 3), so a layer past the budget is made smaller
|
|
62
|
+
* still (see `rasterOf`). `Infinity` at `high`, by name or in `auto`.
|
|
63
|
+
*/
|
|
64
|
+
export declare function layerBudget(tier: QualityTier, isHandheld: boolean): number;
|
|
65
|
+
/**
|
|
66
|
+
* The share of its size each layer is made at, from the sizes the layers would have at full size (their boxes in CSS pixels), the share every layer is made at (`rasterOf`), the device's pixel ratio and the layer budget: a layer is
|
|
67
|
+
* made at the smaller of the share and the one that holds `budget` device pixels, never under a fifth. The floor comes first, then the planes, as `layoutOf` takes them.
|
|
68
|
+
*/
|
|
69
|
+
export declare function rasterShares(sizes: readonly (readonly [number, number])[], share: number, dpr: number, budget: number): number[];
|
|
70
|
+
/** How the governor judges the frames. Times are in milliseconds. */
|
|
71
|
+
export interface GovernorTuning {
|
|
72
|
+
/** The frames in a window it keeps (the oldest are dropped past twice this), and the fewest it judges: a window is also at least `settleMs` long, so a view at 60 frames a second judges 42 frames and one at 6 frames a second judges 8. */
|
|
73
|
+
frames: number;
|
|
74
|
+
minFrames: number;
|
|
75
|
+
settleMs: number;
|
|
76
|
+
/** The first frames after the view is mounted are slow whatever it holds (scripts are still compiling, the page is still being laid out): they are not judged. */
|
|
77
|
+
warmMs: number;
|
|
78
|
+
/** The mean interval between frames above which the view is over budget (21 is below 48 frames a second: a view that misses a refresh in three does not hold 60; it widens on a display that refreshes slower than 60 Hz), and the mean at or under which it is steady (18.5 holds 60 frames a second). */
|
|
79
|
+
budgetMs: number;
|
|
80
|
+
steadyMs: number;
|
|
81
|
+
/** How long the view must stay steady before it tries the tier above, and the most that wait grows to after steps that were taken back. */
|
|
82
|
+
upAfterMs: number;
|
|
83
|
+
maxUpAfterMs: number;
|
|
84
|
+
/** Frames are ignored for this long after a step, while the view is drawn again. */
|
|
85
|
+
quietMs: number;
|
|
86
|
+
/** A gap longer than this between two frames is a pause (a hidden page, a stopped turn), not a slow frame. */
|
|
87
|
+
pauseMs: number;
|
|
88
|
+
}
|
|
89
|
+
export declare const GOVERNOR_TUNING: GovernorTuning;
|
|
90
|
+
/** What the governor does with a frame. */
|
|
91
|
+
export interface Governor {
|
|
92
|
+
/** The tier now. */
|
|
93
|
+
readonly tier: QualityTier;
|
|
94
|
+
/** Give it the time since the last frame and the time now; it gives the new tier when it steps, else `undefined`. */
|
|
95
|
+
frame(interval: number, now: number): QualityTier | undefined;
|
|
96
|
+
/** The interval of the display, in milliseconds, as the page measured it with nothing else going on (16.7 for 60 Hz, 33.3 for a phone in a power-saving mode): a display that refreshes slower than 60 Hz is not taken for a view that is too slow. 16.7 until told. */
|
|
97
|
+
display(interval: number): void;
|
|
98
|
+
/** Forget the frames so far (the turn stopped, the page was hidden). */
|
|
99
|
+
pause(): void;
|
|
100
|
+
/** Put it on a tier without a step (a page chose one). */
|
|
101
|
+
set(tier: QualityTier, now?: number): void;
|
|
102
|
+
/** How long it now waits, steady, before it tries a tier up. */
|
|
103
|
+
readonly wait: number;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The governor of a view that turns. It keeps a window of frame intervals; when their mean is over budget it steps one tier down, and when the mean has been steady for `wait` it tries one tier up. A try that goes over budget
|
|
107
|
+
* is taken back, and every step down within thirty seconds of a step up doubles the wait (up to `maxUpAfterMs`), so a device on the edge between two tiers settles on the lower one and stays there. A step up that holds (steady
|
|
108
|
+
* for `settleMs` after it) leaves the wait as it was.
|
|
109
|
+
*/
|
|
110
|
+
export declare function createGovernor(start: QualityTier, tuning?: Partial<GovernorTuning>): Governor;
|
package/dist/quality.js
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
// How much a 3D view draws, so that it turns well on every device. A view has three tiers of detail, `high` (everything, as it always was), `medium` and `low`, and a mode, `auto`, that chooses the tier by watching the frames
|
|
2
|
+
// the view really makes while it turns: nothing here looks at the browser's name or the device's model. A tier says what is left out or made smaller (the buildings round a district stand up fewer, the trees and the crowd are thinner, a
|
|
3
|
+
// small or far venue is a block with its height, the layers are rastered at a lower pixel ratio); the governor steps a tier down when the frames run over budget for a while and back up when they have been steady for longer, with a wait
|
|
4
|
+
// after a step up that fails that doubles each time, so that the view never flickers between two tiers. Pure: numbers in, numbers out; `turn.dom.ts` feeds it frames and `district.turn.ts` reads the tier's profile.
|
|
5
|
+
/** The tiers, highest first: a step down is one place later in this list. */
|
|
6
|
+
export const QUALITY_TIERS = ["high", "medium", "low"];
|
|
7
|
+
/** The values a page can ask for: `auto` and the tiers. */
|
|
8
|
+
export const QUALITIES = ["auto", ...QUALITY_TIERS];
|
|
9
|
+
/** The profile of each tier. `high` leaves everything as it always was (the cap on a handheld's pixel ratio is the mode `auto`'s and is made in `rasterOf`). */
|
|
10
|
+
export const TIER_PROFILES = {
|
|
11
|
+
high: { tier: "high", blocks: 130, trees: 1, proxy: 0, simple: false, outside: { people: 1, width: 1 }, ratio: { handheld: Infinity, other: Infinity } },
|
|
12
|
+
medium: { tier: "medium", blocks: 24, trees: 0.5, proxy: 0.12, simple: true, outside: { people: 0.5, width: 0.7 }, ratio: { handheld: 1.5, other: 2 } },
|
|
13
|
+
low: { tier: "low", blocks: 0, trees: 0.25, proxy: 0.4, simple: true, outside: { people: 0, width: 0.5 }, ratio: { handheld: 1, other: 1 } },
|
|
14
|
+
};
|
|
15
|
+
/** Whether a value is one of the qualities. */
|
|
16
|
+
export const isQuality = (value) => typeof value === "string" && QUALITIES.includes(value);
|
|
17
|
+
/** A quality from whatever a page or an address gave: the same if it is one, else `fallback`. */
|
|
18
|
+
export const qualityOf = (value, fallback = "auto") => (isQuality(value) ? value : fallback);
|
|
19
|
+
/** The tier a view with no frames to go by is drawn at: the tier asked for, and `high` for `auto` (a page made on a server, a first draw). */
|
|
20
|
+
export const tierOf = (quality) => (quality === undefined || quality === "auto" ? "high" : quality);
|
|
21
|
+
/** The tier one step lower or higher than `tier`, or the same at the end. */
|
|
22
|
+
export const lower = (tier) => QUALITY_TIERS[Math.min(QUALITY_TIERS.length - 1, QUALITY_TIERS.indexOf(tier) + 1)];
|
|
23
|
+
export const higher = (tier) => QUALITY_TIERS[Math.max(0, QUALITY_TIERS.indexOf(tier) - 1)];
|
|
24
|
+
/** What decides whether the device is a phone or a tablet: it has a coarse pointer, or its screen is small. It is asked of the page's own window, never of the browser's name. */
|
|
25
|
+
export function handheld(win) {
|
|
26
|
+
if (win === null || win === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (win.matchMedia?.("(pointer: coarse)").matches === true)
|
|
29
|
+
return true;
|
|
30
|
+
const sides = [win.screen?.width, win.screen?.height, win.innerWidth].filter((n) => typeof n === "number" && n > 0);
|
|
31
|
+
return sides.length > 0 && Math.min(...sides) <= 820;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The share of its size a layer is made at, from the device's pixel ratio `dpr`: a layer is made `share` times as wide and as high in CSS pixels and turned back to its size by its matrix, so that it holds `share` squared as many device
|
|
35
|
+
* pixels, as far as the engine keeps a layer's pixels to its own box (the layers of a district at a ratio of 3 are hundreds of megabytes, which a phone's browser does not always keep). An engine that draws a layer again at the scale its matrix has
|
|
36
|
+
* (Chromium does) makes the same pixels from it, so there it changes nothing, and the sizes this package reports are the boxes times the ratio squared, not what an engine allocates. 1 when the ratio is within the cap. The mode `auto` caps a handheld
|
|
37
|
+
* at 2 even at `high`; a tier asked for by name is exactly that tier's, and `high` asked for by name is the device's own ratio, as it always was.
|
|
38
|
+
*/
|
|
39
|
+
export function rasterOf(quality, tier, dpr, isHandheld) {
|
|
40
|
+
const cap = quality === "auto" && tier === "high" ? (isHandheld ? 2 : Infinity) : TIER_PROFILES[tier].ratio[isHandheld ? "handheld" : "other"];
|
|
41
|
+
if (!(dpr > 0) || dpr <= cap)
|
|
42
|
+
return 1;
|
|
43
|
+
return Math.max(0.25, Math.round((cap / dpr) * 1000) / 1000);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The most device pixels one layer may hold in a tier: a flat floor of a building is a layer as big as the building's box (the Kodokan's fourteen plates are 47 megabytes each at a ratio of 3), so a layer past the budget is made smaller
|
|
47
|
+
* still (see `rasterOf`). `Infinity` at `high`, by name or in `auto`.
|
|
48
|
+
*/
|
|
49
|
+
export function layerBudget(tier, isHandheld) {
|
|
50
|
+
if (tier === "high")
|
|
51
|
+
return Infinity;
|
|
52
|
+
return { medium: isHandheld ? 2e6 : 4e6, low: isHandheld ? 1e6 : 2e6 }[tier];
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The share of its size each layer is made at, from the sizes the layers would have at full size (their boxes in CSS pixels), the share every layer is made at (`rasterOf`), the device's pixel ratio and the layer budget: a layer is
|
|
56
|
+
* made at the smaller of the share and the one that holds `budget` device pixels, never under a fifth. The floor comes first, then the planes, as `layoutOf` takes them.
|
|
57
|
+
*/
|
|
58
|
+
export function rasterShares(sizes, share, dpr, budget) {
|
|
59
|
+
const ratio = dpr > 0 ? dpr : 1;
|
|
60
|
+
return sizes.map(([w, h]) => {
|
|
61
|
+
const area = w * h * ratio * ratio;
|
|
62
|
+
const own = area > budget ? Math.sqrt(budget / area) : 1;
|
|
63
|
+
return Math.max(0.2, Math.round(Math.min(share, own) * 1000) / 1000);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
export const GOVERNOR_TUNING = { frames: 24, minFrames: 8, settleMs: 700, warmMs: 600, budgetMs: 21, steadyMs: 18.5, upAfterMs: 5000, maxUpAfterMs: 300000, quietMs: 600, pauseMs: 250 };
|
|
67
|
+
/**
|
|
68
|
+
* The governor of a view that turns. It keeps a window of frame intervals; when their mean is over budget it steps one tier down, and when the mean has been steady for `wait` it tries one tier up. A try that goes over budget
|
|
69
|
+
* is taken back, and every step down within thirty seconds of a step up doubles the wait (up to `maxUpAfterMs`), so a device on the edge between two tiers settles on the lower one and stays there. A step up that holds (steady
|
|
70
|
+
* for `settleMs` after it) leaves the wait as it was.
|
|
71
|
+
*/
|
|
72
|
+
export function createGovernor(start, tuning = {}) {
|
|
73
|
+
const t = { ...GOVERNOR_TUNING, ...tuning };
|
|
74
|
+
let tier = start;
|
|
75
|
+
let wait = t.upAfterMs;
|
|
76
|
+
let window = [];
|
|
77
|
+
let since = 0;
|
|
78
|
+
let quietUntil = 0;
|
|
79
|
+
let steadyFrom;
|
|
80
|
+
let lastUp = -Infinity;
|
|
81
|
+
let firstAt;
|
|
82
|
+
// The interval of the display: told by the page, which measures it with nothing else going on (a view that cannot keep up looks, from its frames alone, like a screen that refreshes more slowly).
|
|
83
|
+
let refresh = 16.7;
|
|
84
|
+
const reset = (now) => {
|
|
85
|
+
window = [];
|
|
86
|
+
since = now;
|
|
87
|
+
steadyFrom = undefined;
|
|
88
|
+
};
|
|
89
|
+
const step = (to, now) => {
|
|
90
|
+
tier = to;
|
|
91
|
+
quietUntil = now + t.quietMs;
|
|
92
|
+
reset(now);
|
|
93
|
+
return tier;
|
|
94
|
+
};
|
|
95
|
+
return {
|
|
96
|
+
get tier() {
|
|
97
|
+
return tier;
|
|
98
|
+
},
|
|
99
|
+
get wait() {
|
|
100
|
+
return wait;
|
|
101
|
+
},
|
|
102
|
+
display(interval) {
|
|
103
|
+
if (Number.isFinite(interval))
|
|
104
|
+
refresh = Math.min(34, Math.max(6, interval));
|
|
105
|
+
},
|
|
106
|
+
pause() {
|
|
107
|
+
window = [];
|
|
108
|
+
steadyFrom = undefined;
|
|
109
|
+
},
|
|
110
|
+
set(next, now = 0) {
|
|
111
|
+
tier = next;
|
|
112
|
+
quietUntil = now + t.quietMs;
|
|
113
|
+
reset(now);
|
|
114
|
+
},
|
|
115
|
+
frame(interval, now) {
|
|
116
|
+
if (interval > t.pauseMs || interval <= 0) {
|
|
117
|
+
window = [];
|
|
118
|
+
steadyFrom = undefined;
|
|
119
|
+
return undefined;
|
|
120
|
+
}
|
|
121
|
+
firstAt ?? (firstAt = now);
|
|
122
|
+
if (now < quietUntil || now - firstAt < t.warmMs)
|
|
123
|
+
return undefined;
|
|
124
|
+
if (window.length === 0)
|
|
125
|
+
since = now - interval;
|
|
126
|
+
window.push(interval);
|
|
127
|
+
if (window.length > t.frames * 2)
|
|
128
|
+
window.shift();
|
|
129
|
+
if (window.length < t.minFrames || now - since < t.settleMs)
|
|
130
|
+
return undefined;
|
|
131
|
+
const mean = window.reduce((s, x) => s + x, 0) / window.length;
|
|
132
|
+
const slow = refresh / 16.7;
|
|
133
|
+
const budget = Math.max(t.budgetMs, t.budgetMs * slow);
|
|
134
|
+
// Steady is steady on any display: only a view that really holds 60 frames a second tries a tier up.
|
|
135
|
+
const steady = t.steadyMs;
|
|
136
|
+
// Over budget is judged without the slowest frames of the window (a hitch, a script that ran in the middle of a turn is not a slow view); steady is judged with all of them.
|
|
137
|
+
const sorted = [...window].sort((x, y) => x - y).slice(0, window.length - Math.max(1, Math.floor(window.length / 12)));
|
|
138
|
+
const trimmed = sorted.reduce((sum, x) => sum + x, 0) / sorted.length;
|
|
139
|
+
if (trimmed > budget && tier !== "low") {
|
|
140
|
+
// A step down soon after a step up is a try that failed: the next try waits longer.
|
|
141
|
+
if (now - lastUp < 30000)
|
|
142
|
+
wait = Math.min(t.maxUpAfterMs, wait * 2);
|
|
143
|
+
return step(lower(tier), now);
|
|
144
|
+
}
|
|
145
|
+
if (mean <= steady) {
|
|
146
|
+
steadyFrom ?? (steadyFrom = now);
|
|
147
|
+
if (tier !== "high" && now - steadyFrom >= wait) {
|
|
148
|
+
lastUp = now;
|
|
149
|
+
return step(higher(tier), now);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
else
|
|
153
|
+
steadyFrom = undefined;
|
|
154
|
+
// Window turned over: judge the next frames afresh once it is full of them.
|
|
155
|
+
if (window.length >= t.frames * 2)
|
|
156
|
+
window = window.slice(t.frames);
|
|
157
|
+
return undefined;
|
|
158
|
+
},
|
|
159
|
+
};
|
|
160
|
+
}
|
package/dist/react-entry.d.ts
CHANGED
package/dist/react-entry.js
CHANGED
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
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import "./full.ts";
|
|
1
2
|
export { mountKyogijoTurn, mountTurn, turnSupported } from "./turn.dom.ts";
|
|
2
3
|
export type { KyogijoTurn } from "./turn.dom.ts";
|
|
3
4
|
export { buildTurn, floorOptions, openingView } from "./turn.model.ts";
|
|
4
5
|
export { turnDirection } from "./turn.camera.ts";
|
|
5
6
|
export type { TurnDirection } from "./turn.camera.ts";
|
|
6
7
|
export type { TurnModel, TurnSettings } from "./turn.model.ts";
|
|
8
|
+
export { GOVERNOR_TUNING, QUALITIES, QUALITY_TIERS, TIER_PROFILES, createGovernor, handheld, isQuality, qualityOf, rasterOf, tierOf } from "./quality.ts";
|
|
9
|
+
export type { Governor, GovernorTuning, Quality, QualityTier, TierProfile } from "./quality.ts";
|
|
7
10
|
export { layoutOf, planeMarkup, planeMatrix, turnMarkup, turnMarkupOf } from "./turn.markup.ts";
|
|
8
11
|
export type { Layout } from "./turn.markup.ts";
|
|
9
12
|
export { KYOGIJO_TURN_STYLE } from "./turn.style.ts";
|
package/dist/turn-entry.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
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";
|
|
6
|
+
export { GOVERNOR_TUNING, QUALITIES, QUALITY_TIERS, TIER_PROFILES, createGovernor, handheld, isQuality, qualityOf, rasterOf, tierOf } from "./quality.js";
|
|
5
7
|
export { layoutOf, planeMarkup, planeMatrix, turnMarkup, turnMarkupOf } from "./turn.markup.js";
|
|
6
8
|
export { KYOGIJO_TURN_STYLE } from "./turn.style.js";
|
|
7
9
|
export { CURLING_PRESETS, LONG_PRESETS, NET_PRESETS, PITCH_MAX, STEP, TURN_DEFAULT, TURN_PRESETS, TURN_PRESET_NAMES, ZOOM_MAX, ZOOM_MIN, cameraMatrix, clampView, depthOf, drag, eyeDistance, fit, matrix3d, multiply, nudge, presetOf, presetView, presetsFor, project, step } from "./turn.camera.js";
|