1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2024-11-26 18:04:20 +00:00
triennale-appunti-steffo/docs/route-basiDiDati.chunk.0e8d8.js.map

1 line
10 KiB
Text
Raw Normal View History

2020-05-23 22:54:19 +00:00
{"version":3,"sources":["webpack:///./components/old/timer.js","webpack:///./components/old/timer.less","webpack:///./components/old/panel.js","webpack:///./routes/basiDiDati.js","webpack:///./components/old/split.css","webpack:///./components/old/split.js","webpack:///./components/old/panel.less"],"names":["Timer","state","Date","now","timer","componentDidMount","this","setInterval","setState","componentWillUnmount","clearInterval","render","dateTo","className","style","parts","milliseconds","seconds","minutes","hours","days","props","to","timeLeft","Math","floor","expired","unknown","class","title","count","text","remaining","Component","module","exports","Panel","getStyle","panel","undefined","id","children","BasiDiDati","href","Split","Array","isArray","map","element","splitchild","split","splitparent"],"mappings":"+KAIqBA,E,YACjB,aAAc,aACV,sBACKC,MAAQ,CACT,IAAOC,KAAKC,OAEhB,EAAKC,MAAQ,KALH,E,0HAQdC,kBAAA,WAAoB,WAChBC,KAAKF,MAAQG,aAAY,WACrB,EAAKC,SAAS,CAAC,IAAON,KAAKC,UAC5B,M,EAGPM,qBAAA,WACsB,OAAfH,KAAKF,OACJM,cAAcJ,KAAKF,Q,EAI3BO,OAAA,WACI,IAAIC,EAAS,eACTC,EAAYC,IAAMV,MAElBW,EAAQ,CACRC,aAAc,IACdC,QAAS,IACTC,QAAS,IACTC,MAAO,IACPC,KAAM,KAGV,GAAGd,KAAKe,MAAMC,GAAI,CAEd,IAAIC,GADJX,EAAS,IAAIV,KAAKI,KAAKe,MAAMC,KACLhB,KAAKL,MAAME,IAEhCoB,EAAW,EACVR,EAAQ,CACJC,aAAcO,EAAW,IACzBN,QAASO,KAAKC,MAAMF,EAAW,KAAQ,GACvCL,QAASM,KAAKC,MAAMF,EAAW,KAAS,GACxCJ,MAAOK,KAAKC,MAAMF,EAAW,MAAW,GACxCH,KAAMI,KAAKC,MAAMF,EAAW,SAKhCR,EAAQ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V,2CAGA,YACI,kDACA,2CACA,+BACI,YACI,oCACA,oCACA,sCAIZ,gCAGA,EAAC,IAAD,OAEJ,EAAC,IAAD,CAAOA,MAAO,YACV,wDAC8C,OAAGc,KAAM,gCAAT,UAD9C,gBAGA,8CAGA,EAAC,IAAD,CAAOrB,GAAI,wBACX,sFAGA,EAAC,IAAD,CAAOA,GAAI,wBACX,qDAGA,YACI,YAAI,OAAGqB,KAAM,gCAAT,cACJ,YAAI,OAAGA,KAAM,gCAAT,eAER,+D,GA7CgBV,c,yCCNxCC,EAAOC,QAAU,CAAC,MAAQ,eAAe,YAAc,qBAAqB,WAAa,sB,0GCEpES,E,gLACpBjC,OAAA,WACI,IAKO8B,EALHZ,EAAQ,KAcf,YAb2BU,IAArBjC,KAAKe,MAAMQ,QACPA,EAAS,YAAKvB,KAAKe,MAAMQ,QAKzBY,EADDI,MAAMC,QAAQxC,KAAKe,MAAMoB,UACbnC,KAAKe,MAAMoB,SAASM,KAAI,SAAAC,GAC/B,OAAQ,SAAKpB,MAAOd,IAAMmC,YAAaD,MAIhC,SAAKpB,MAAOd,IAAMmC,YAAa3C,KAAKe,MAAMoB,UAGxD,SAAKb,MAAOd,IAAMoC,OACVrB,EACD,SAAKD,MAAOd,IAAMqC,aAAcV,K,aAnBbR,a,yCCFnCC,EAAOC,QAAU,CAAC,MAAQ","file":"route-basiDiDati.chunk.0e8d8.js","sourcesContent":["import {Component} from 'preact'\nimport style from \"./timer.less\"\n\n\nexport default class Timer extends Component {\n constructor() {\n super();\n this.state = {\n \"now\": Date.now()\n };\n this.timer = null;\n }\n\n componentDidMount() {\n this.timer = setInterval(() => {\n this.setState({\"now\": Date.now()})\n }, 1000)\n }\n\n componentWillUnmount() {\n if(this.timer !== null) {\n clearInterval(this.timer)\n }\n }\n\n render() {\n let dateTo = \"Unknown date\";\n let className = style.timer;\n\n let parts = {\n milliseconds: \"?\",\n seconds: \"?\",\n minutes: \"?\",\n hours: \"?\",\n days: \"?\",\n };\n\n if(this.props.to) {\n