1 line
34 KiB
Plaintext
1 line
34 KiB
Plaintext
|
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/node.png","webpack:///./src/LineConnection.ts","webpack:///./src/utils.ts","webpack:///./src/Direction.ts","webpack:///./src/Station.ts","webpack:///./src/Line.ts","webpack:///./src/Train.ts","webpack:///./src/transport.ts"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","1","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","r","value","n","__esModule","default","object","property","p","jsonpArray","window","webpackJsonp","oldJsonpFunction","bind","slice","110","t","e","LineConnection","[object Object]","station","line","this","utils_randomInt","min","max","Math","floor","random","utils_weightedRandom","choices","weights","totalWeight","reduce","a","b","rand","cumulWeight","utils_randomPoint","lib","Point","innerWidth","innerHeight","utils_pointsAlmostEqual","pointA","pointB","abs","x","y","utils_distance","distX","distY","sqrt","utils_rangeMap","num","inMin","inMax","outMin","outMax","Direction_Direction","Direction","North","Northeast","East","Southeast","South","Southwest","West","Northwest","Direction_getPointDirection","angle","atan2","PI","utils_angleDegrees","direction","Error","Station_stationCount","Station_Station","stations","largest","population","point","radius","filter","location","prev","curr","closeStations","stationsWithinRadius","closeStationWeights","map","minDistance","tries","isPointDistant","color","connections","id","label","PIXI","Text","fill","fontFamily","fontSize","Line_CONNECTION_RADIUS","pow","Line_Line","currentStation","visitedStations","connectionLimit","otherStations","largestStation","indexOf","connectedStation","connectStations","trainCount","Train","speed","passengers","origin","destination","sprite","Sprite","loader","resources","nodeImg","texture","add","node","load","app","Application","antialias","height","width","viewport","dist_viewport","screenHeight","screenWidth","worldHeight","worldWidth","stats","stats_min","showPanel","document","body","appendChild","dom","ticker","Ticker","graphics","Graphics","numStations","randomDistantPoint","tinycolor","trains","numLines","lines","isDark","stationsWithoutConnections","centralHub","stationsLeft","numTrains","stationsWithConnections","originStation","stop","deltaTime","begin","train","conn","boardingPassengers","mix","round","disembarkingPassengers","journeyLeft","progress","clear","lineStyle","beginFill","parseInt","toHex","drawCircle","endFill","scale","tint","connection","twoWay","moveTo","lineTo","end","start","addChild","view","stage","drag","pinch","wheel","clampZoom","maxHeight","maxWidth","minHeight","minWidth","decelerate","addEventListener","renderer","resize"],"mappings":"aACA,SAAAA,EAAAC,GAOA,IANA,IAKAC,EAAAC,EALAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAGAM,EAAA,EAAAC,KACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAIA,IADAe,KAAAhB,GACAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,OAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,KACAC,EAAA,EAAkBA,EAAAF,EAAAd,OAA2BgB,IAAA,CAC7C,IAAAC,EAAAH,EAAAE,GACA,IAAAf,EAAAgB,KAAAF,MAEAA,IACAL,EAAAQ,OAAApB,IAAA,GACAe,EAAAM,IAAAC,EAAAN,EAAA,KAGA,OAAAD,EAIA,IAAAQ,KAGApB,GACAqB,EAAA,GAGAZ,KAGA,SAAAS,EAAA1B,GAGA,GAAA4B,EAAA5B,GACA,OAAA4B,EAAA5B,GAAA8B,QAGA,IAAAC,EAAAH,EAAA5B,IACAK,EAAAL,EACAgC,KACAF,YAUA,OANAhB,EAAAd,GAAAa,KAAAkB,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,KAGAD,EAAAD,QAKAJ,EAAAO,EAAAnB,EAGAY,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACA1B,OAAA6B,eAAAT,EAAAM,GACAI,gBACAC,cACAC,I
|