{"version":3,"sources":["webpack:///./src/components/HeaderUcl.js","webpack:///./node_modules/react-bootstrap/esm/Table.js","webpack:///./src/components/SnackAd2.js","webpack:///./src/images/ucl_banner.png","webpack:///./src/components/Ucl.module.scss","webpack:///./src/components/Sky.js","webpack:///./src/components/Headtags6.js","webpack:///./src/pages/skyff.js","webpack:///./src/components/SnackAd.js"],"names":["Header","React","createElement","Fragment","src","fpl_alerts_banner","alt","width","Navbar","collapseOnSelect","expand","bg","variant","sticky","style","margin","Brand","href","logo","height","className","Toggle","aria-controls","Collapse","id","Nav","Link","NavDropdown","title","Item","twitter_logo","fpl_logo","Table","forwardRef","_ref","ref","bsPrefix","striped","bordered","borderless","hover","size","responsive","props","decoratedBsPrefix","classes","table","responsiveClass","SnackAd","_React$Component","call","_inheritsLoose","_proto","prototype","componentDidMount","sn_cb","snack_hb","Date","getMonth","document","body","appendChild","onerror","removeChild","snack_hb2","render","ad_type","this","ad_num","ad_style","minHeight","textAlign","ad_id","ad_container","desktop","position","top","Component","module","exports","axios","require","GwInfo","gameWeek","gwPage","Container","fluid","styles","gwInfo","Row","Col","xs","GwButton","button_type","setUrl","newUrl","gameweekh1","updateh5","newGW","dirGW","hideGW","btnClass","btnRight","btnLeft","Button","onClick","visibility","GameHeader","src_home","game_details","h_fpl_tcode","src_away","a_fpl_tcode","src_default","ko_f2","period","ko_time","matchTime","score","h_sc","a_sc","key","indx","paddingLeft","float","onError","e","target","homeh1","homeName","sc","awayh1","awayName","paddingRight","PlayersTable","players","length","fid","type","players_table","map","plyr","padding","name","actions","name2","i","displayName2","lastName","goals","assists","yellow_cards","red_cards","pen_save","pen_miss","own_goals","motm","pts","ActionsTable","acts_new2","summary","show","fid2","actions_table","Object","entries","value","include","h","label","a","displayName","h_a_input","h_a_type","star","BonusTable","bonus_rank","bonus_table","bonus","last_name","rat7","h_a","rat","gwLive","Matches","gwTime","fixtures","useMatchesState","url","useState","responseData","setResponseData","keys","status","gw_live","gw","upd_time","console","log","fetchFpl","async","response","get","data","useEffect","intervalId","setInterval","clearInterval","gw_x","fixLength","fix0","slice","fix1","fixrem","span","order","xl","marginLeft","App2","marginBottom","item","index","match_all","marginRight","sm","home_col","home_players","away_col","away_players","actions_col","acts_new","HeadTags","Helmet","content","property","rel","sizes","SkyPage","backgroundColor","SnackAd2","Footer","isMobile","window","innerWidth","ad_show"],"mappings":"8FAAA,uKAkFeA,IAtEAA,IACfC,IAAAC,cAAAD,IAAAE,SAAA,KACIF,IAAAC,cAAA,WACED,IAAAC,cAAA,OACEE,IAAKC,IAAmBC,IAAI,oBAC5BC,MAAM,UAGVN,IAAAC,cAACM,IAAM,CAACC,kBAAgB,EAACC,OAAO,KAAKC,GAAG,OAAOC,QAAQ,OAAQC,OAAO,MAAMC,MAAQ,CAACC,OAAO,eAC1Fd,IAAAC,cAACM,IAAOQ,MAAK,CAACC,KAAK,KACjBhB,IAAAC,cAAA,OACEE,IAAKc,IAAMZ,IAAI,OACfC,MAAM,KACNY,OAAO,KACPC,UAAU,6BACT,IAAI,gBAGTnB,IAAAC,cAACM,IAAOa,OAAM,CAACC,gBAAc,0BAC7BrB,IAAAC,cAACM,IAAOe,SAAQ,CAACC,GAAG,yBAClBvB,IAAAC,cAACuB,IAAG,CAACL,UAAU,WACbnB,IAAAC,cAACuB,IAAIC,KAAI,CAACT,KAAK,iBAAgB,eAC/BhB,IAAAC,cAACyB,IAAW,CAACC,MAAM,UAAUJ,GAAG,2BAC9BvB,IAAAC,cAACyB,IAAYE,KAAI,CAACZ,KAAK,cAAa,cACpChB,IAAAC,cAACyB,IAAYE,KAAI,CAACZ,KAAK,gBAAe,wBACtChB,IAAAC,cAACyB,IAAYE,KAAI,CAACZ,KAAK,aAAY,kBACnChB,IAAAC,cAACyB,IAAYE,KAAI,CAACZ,KAAK,oBAAmB,sBAC1ChB,IAAAC,cAACyB,IAAYE,KAAI,CAACZ,KAAK,kBAAiB,gBACxChB,IAAAC,cAACyB,IAAYE,KAAI,CAACZ,KAAK,sBAAqB,oBA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C7B,IAAlBC,KAAK8K,UAAiC,eAAZ/K,IACR,IAAlBC,KAAK8K,UAAiC,IAAX7K,GAA4B,WAAZF,IACzB,IAAlBC,KAAK8K,UAAiC,IAAX7K,EAF0B,WAGrD,OAEAK,EAA0B,WAAXP,IACG,IAAlBC,KAAK8K,SADgC,CAAClO,OAAQ,QAE9C,CAACA,OAAQ,OAAQ2D,QAAS,0BAA2BC,SAAU,SAAUC,IAAK,QAEtF,MAAa,SAAVwK,EAECnP,IAAAC,cAAA,OAAKY,MAAS2D,GACZxE,IAAAC,cAAA,OAAKsB,GAAIgD,EAAO1D,MAAOuD,KAKpB,MAGRrB,EAxDY,CAAS/C,IAAM4E,WA2Db7B","file":"component---src-pages-skyff-js-65803f8183990c498653.js","sourcesContent":["import React from \"react\"\nimport {Link} from \"gatsby\"\n// import {Link, StaticQuery, graphql} from 'gatsby'\nimport styles from \"./Header.module.scss\"\nimport { Navbar, Nav, NavDropdown } from \"react-bootstrap\"\nimport logo from \"../images/fpl_green.png\"\nimport twitter_logo from \"../images/twitter-white3.png\"\nimport fpl_logo from \"../images/pl-logo-white.png\"\nimport fpl_alerts_banner from \"../images/ucl_banner.png\"\n\n //
\n\nconst Header = () => (\n<>\n
\n \n
\n \n \n {' '}\n   FPL Alerts\n \n \n \n \n \n \n \n \n\n\n)\n\nexport default Header\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nvar Table = React.forwardRef(function (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n className = _ref.className,\n striped = _ref.striped,\n bordered = _ref.bordered,\n borderless = _ref.borderless,\n hover = _ref.hover,\n size = _ref.size,\n variant = _ref.variant,\n responsive = _ref.responsive,\n props = _objectWithoutPropertiesLoose(_ref, [\"bsPrefix\", \"className\", \"striped\", \"bordered\", \"borderless\", \"hover\", \"size\", \"variant\", \"responsive\"]);\n var decoratedBsPrefix = useBootstrapPrefix(bsPrefix, 'table');\n var classes = classNames(className, decoratedBsPrefix, variant && decoratedBsPrefix + \"-\" + variant, size && decoratedBsPrefix + \"-\" + size, striped && decoratedBsPrefix + \"-striped\", bordered && decoratedBsPrefix + \"-bordered\", borderless && decoratedBsPrefix + \"-borderless\", hover && decoratedBsPrefix + \"-hover\");\n var table = /*#__PURE__*/React.createElement(\"table\", _extends({}, props, {\n className: classes,\n ref: ref\n }));\n if (responsive) {\n var responsiveClass = decoratedBsPrefix + \"-responsive\";\n if (typeof responsive === 'string') {\n responsiveClass = responsiveClass + \"-\" + responsive;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: responsiveClass\n }, table);\n }\n return table;\n});\nexport default Table;","import React from \"react\"\n\n// const SnackAd = (props) => {\n//\n// const ad_type = props.ad_type;\n// const ad_num = props.ad_num;\n// const ad_style = ad_type ===\"leader\" ? {minHeight: \"250px\", textAlign: \"center\"}\n// : {minHeight: \"600px\", textAlign:\"center\"};\n// const ad_id =\n// ad_type === \"leader\" && ad_num === 1 ? \"snack_ldb\"\n// : ad_type === \"leader\" && ad_num === 2 ? \"snack_dex2\"\n// : ad_type === \"leader\" && ad_num === 5 ? \"snack_dex3\"\n// : ad_type === \"leader\" && ad_num === 4 ? \"snack_dex4\"\n// : ad_type === \"skyscraper\" && ad_num === 1 ? \"snack_dmpu\"\n// : ad_type === \"skyscraper\" && ad_num === 2 ? \"snack_dex5\"\n// : \"other\";\n//\n// const ad_container = ad_type ===\"leader\" ? {margin: \"auto\"}\n// : {margin: \"auto\", desktop: \"position:-webkit-sticky\", position: \"sticky\", top: \"65px\"};\n//\n// return (\n//
\n//
\n//
\n// )\n//\n// }\n\nclass SnackAd extends React.Component {\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount () {\n (function(){\n\n var site_id = 2511;\n var data_site_id = 0;\n\n var sn_cb = new Date().getMonth();\n var snack_hb = document.createElement('script');\n snack_hb.src = 'https://cdn-header-bidding.snack-media.com/assets/js/snack-loader/'+site_id+'?cb='+sn_cb;\n snack_hb.id = 'snack_ads';\n if(data_site_id){\n snack_hb.setAttribute('data-site-id',data_site_id);\n }\n\n document.body.appendChild(snack_hb);\n snack_hb.onerror = function(){\n document.body.removeChild(snack_hb);\n var snack_hb2 = document.createElement('script');\n snack_hb2.src = 'https://cdn2-header-bidding.snack-media.com/assets/js/snack-loader/'+site_id+'?cb='+sn_cb;\n snack_hb2.id = 'snack_ads';\n if(data_site_id){\n snack_hb2.setAttribute('data-site-id',data_site_id);\n }\n document.body.appendChild(snack_hb2);\n };\n })();\n }\n\nrender () {\n const ad_type = this.props.ad_type;\n const ad_num = this.props.ad_num;\n const ad_style = ad_type ===\"leader\" ? {minHeight: \"250px\", textAlign: \"center\"}\n : {minHeight: \"600px\", textAlign:\"center\"};\n const ad_id =\n ad_type === \"leader\" && ad_num === 1 ? \"snack_ldb\"\n : ad_type === \"leader\" && ad_num === 2 ? \"snack_dex2\"\n : ad_type === \"leader\" && ad_num === 5 ? \"snack_dex3\"\n : ad_type === \"leader\" && ad_num === 4 ? \"snack_dex4\"\n : ad_type === \"skyscraper\" && ad_num === 1 ? \"snack_dmpu\"\n : ad_type === \"skyscraper\" && ad_num === 2 ? \"snack_dex5\"\n : \"other\";\n\n const ad_container = ad_type ===\"leader\" ? {margin: \"auto\"}\n : {margin: \"auto\", desktop: \"position:-webkit-sticky\", position: \"sticky\", top: \"65px\"};\n\n return (\n
\n
\n
\n );\n }\n}\n\nexport default SnackAd\n\n\n// AD UNITS\n\n// Leaderboard/Billboard #1 (D 970x250, 970x90, 728x90 / M 300x250, 320x50, 320x100)\n//\n//
\n//\n// Leaderboard/Billboard #2 (D 970x250, 970x90, 728x90 / M 300x250, 320x50, 320x100)\n//\n//
\n//\n// Leaderboard/Billboard #3 (D 970x250, 970x90, 728x90 / M 300x250, 320x50, 320x100)\n//\n//
\n//\n// Leaderboard/Billboard #4 (D 970x250, 970x90, 728x90 / M 300x250, 320x50, 320x100)\n//\n//
\n//\n// Sidebar DMPU/Skyscraper #1 (D 300x600, 300x250, 160x600, 120x600)\n//\n//
\n//\n// Sidebar DMPU/Skyscraper #2 (D 300x600, 300x250, 160x600, 120x600)\n//\n//
\n","module.exports = __webpack_public_path__ + \"static/ucl_banner-40ac2d1844dba613c51de9d300eae1f2.png\";","// extracted by mini-css-extract-plugin\nmodule.exports = {\"App2\":\"Ucl-module--App2--2aUdS\",\"gwInfo\":\"Ucl-module--gwInfo--2vRZH\",\"btnLeft\":\"Ucl-module--btnLeft--2Dxdo\",\"btnRight\":\"Ucl-module--btnRight--3WRQw\",\"gameweekh1\":\"Ucl-module--gameweekh1--2kKrH\",\"updateh5\":\"Ucl-module--updateh5--3x_aY\",\"match_all\":\"Ucl-module--match_all--1IX1E\",\"homeh1\":\"Ucl-module--homeh1--1pdEx\",\"awayh1\":\"Ucl-module--awayh1--1uOxx\",\"sc\":\"Ucl-module--sc--2C3qW\",\"home_col\":\"Ucl-module--home_col--3GnqG\",\"actions_col\":\"Ucl-module--actions_col--1nrY9\",\"away_col\":\"Ucl-module--away_col--31rYG\",\"players_table\":\"Ucl-module--players_table--NxHu7\",\"actions_table\":\"Ucl-module--actions_table--190M0\",\"bonus_table\":\"Ucl-module--bonus_table--1j575\",\"stats_title\":\"Ucl-module--stats_title--3VnN3\"};","import React, { useState, useEffect, useCallback } from \"react\";\nimport styles from './Ucl.module.scss';\nimport {Table,Container,Row,Col,Button} from \"react-bootstrap\"\n\nimport SnackAd from '../components/SnackAd'\n\nconst axios = require(\"axios\");\n\nfunction GwInfo(props) {\n\n const gameWeek = props.gwPage>0 ? (\"Gameweek \" + props.gwPage) : null\n\n return(\n \n \n \n \n \n \n

\n {gameWeek}\n

\n \n \n \n \n
\n \n \n
\n Page automatically refreshes\n
\n \n
\n
\n )\n}\n\nfunction GwButton(props) {\n const newGW = props.button_type === \"up\" ? props.gwPage + 1 : props.gwPage - 1;\n const dirGW = props.button_type === \"up\" ? \">>\" : \"<<\";\n const hideGW = newGW === 0 ? \"hidden\" : newGW === 46 ? \"hidden\" :\"visible\";\n const btnClass = props.button_type === \"up\" ? styles.btnRight : styles.btnLeft;\n return ;\n}\n\nfunction GameHeader(props) {\n // const src_home = \"https://platform-static-files.s3.amazonaws.com/premierleague/badges/t\"+ {props.game_details.t1no_code}+\".svg\";\n const src_home = \"https://platform-static-files.s3.amazonaws.com/premierleague/badges/t\" +\n props.game_details.h_fpl_tcode +\n \".svg\";\n // \"https://cdn.ff.sbgservices.com/teams/\"+props.game_details.homeUuid+\".png\"\n const src_away = \"https://platform-static-files.s3.amazonaws.com/premierleague/badges/t\" +\n props.game_details.a_fpl_tcode +\n \".svg\";\n // \"https://cdn.ff.sbgservices.com/teams/\"+props.game_details.awayUuid+\".png\"\n const src_default =\n \"https://www.dreamteamfc.com/g/img/squads/logo/default_5.png\";\n const ko_f2 =\n props.game_details.period === \"FullTime\"\n ? \"Full Time\"\n : props.game_details.period === \"PreMatch\"\n ? props.game_details.ko_time\n : props.game_details.matchTime + \" Mins\";\n const score =\n props.game_details.period === \"PreMatch\"\n ? \"v\"\n :props.game_details.h_sc + \"-\"+props.game_details.a_sc\n\n\n return (\n \n \n \n {e.target.onerror = null; e.target.src=src_default}}\n />\n \n \n

{props.game_details.homeName}

\n \n \n

{score}

\n \n \n

{props.game_details.awayName}

\n \n \n {e.target.onerror = null; e.target.src=src_default}}\n />\n \n
\n \n \n
{ko_f2}
\n \n
\n
\n );\n}\n\n// className={\n// plyr.red_cards !== 0\n// ? \"table-danger\"\n// : plyr.yellow_cards !== 0\n// ? \"table-warning\"\n// : null\n// }\n\nfunction PlayersTable(props) {\n\n if(props.players.length==0){\n return null\n }\n else{\n\n return (\n \n \n \n Player\n Pts\n \n \n \n {props.players.map(plyr => (\n \n \n {displayName2(plyr.lastName,[plyr.goals,plyr.assists,plyr.yellow_cards,plyr.red_cards,plyr.pen_save,plyr.pen_miss,plyr.own_goals,plyr.motm])}\n \n 0 || plyr.assists > 0\n ? \"table-success font-weight-bold\"\n : null\n }\n >\n {plyr.pts}\n \n \n ))}\n \n \n );\n}\n}\n\nfunction ActionsTable(props) {\n // if(props.acts_new2.length==0 || props.acts_new2==null || props.acts_new2==\"\"){\n // if(Object.keys(props.acts_new2).length == 0){\n if(props.acts_new2.summary.show == 0){\n return null;\n }\n else {\n return (\n \n \n \n \n \n \n \n \n \n {Object.entries(props.acts_new2).map(([key, value]) => {\n if(value.include==0){\n return null;\n }\n else {\n return (\n \n \n \n \n \n )}})}\n \n
HomeAway
{value.h}\n {value.label}\n {value.a}
\n );\n}\n}\n\nfunction displayName(h_a_input, h_a_type, name, star) {\n if (h_a_input === h_a_type && star == 1) {\n return '\\u2B50 ' + name + ' \\u2B50';\n }\n else if (h_a_input === h_a_type) {\n return name;\n } else {\n return null;\n }\n}\n\nfunction displayName2(name, actions) {\n var name2=name;\n if(actions[0]>0){\n for (let i = 0; i < actions[0]; i++) {\n name2+=\" \\u26BD\"\n }\n }\n if(actions[1]>0){\n for (let i = 0; i < actions[1]; i++) {\n name2+=\" \\u2197\"\n }\n }\n if(actions[2]>0){\n name2+=\" \\ud83d\\udfe8\"\n }\n if(actions[3]>0){\n name2+=\" \\ud83d\\udfe5\"\n }\n if(actions[4]>0){\n for (let i = 0; i < actions[4]; i++) {\n // name2+=\" \\ud83d\\udd90\"\n name2+=\" \\ud83e\\udde4\"\n }\n }\n if(actions[5]>0){\n for (let i = 0; i < actions[5]; i++) {\n name2+=\" \\u274c\"\n }\n }\n if(actions[6]>0){\n for (let i = 0; i < actions[6]; i++) {\n name2+=\" \\u2B55\"\n }\n }\n\n if(actions[7]>0){\n name2+=\" \\u2B50\"\n }\n\nreturn name2;\n}\n\n\nfunction BonusTable(props) {\n\nif(props.bonus_rank.length==0){\n return null;\n}\n else{\n\n return (\n \n \n \n \n \n \n \n \n \n {props.bonus_rank.map(bonus => (\n 0\n ? \"d-flex table-success font-weight-bold\"\n : bonus.rat7 > 0\n ? \"d-flex fw-bold\"\n : \"d-flex\"\n }\n >\n \n \n \n \n ))}\n \n
HomeRatingAway
\n {displayName(bonus.h_a, \"h\", bonus.last_name, bonus.star)}\n {bonus.rat}\n {displayName(bonus.h_a, \"a\", bonus.last_name, bonus.star)}\n
\n );\n}\n}\n\n\nvar gwLiveFlag = 1;\nvar gwLive = 0;\nvar gwPage = 0;\n// const live_url = 'https://o8bbxwfg8k.execute-api.eu-west-1.amazonaws.com/dev/api/fpl_alerts_aws_live_19';\nconst live_url = 'https://o8bbxwfg8k.execute-api.eu-west-1.amazonaws.com/dev/api/sky_live';\n\nconst useMatchesState = () => {\n // const [gw, setGW] = useState(0);\n const [url, setUrl] = useState(live_url)\n const [responseData, setResponseData] = useState([]);\n\n //PLAYER POP UP STATE\n // const [show, setShow] = useState(false);\n // const [playerData, setPlayerData] = useState([]);\n //\n // const handleClose = () => setShow(false);\n // const handleShow = (newPlayerData) => {\n //\n // setPlayerData(newPlayerData);\n // setShow(true);\n // };\n\n//END\n\n const newUrl = (gw_x) => {\n if(gw_x === gwLive){\n return 'https://o8bbxwfg8k.execute-api.eu-west-1.amazonaws.com/dev/api/sky_live';\n }\n else {\n return 'https://o8bbxwfg8k.execute-api.eu-west-1.amazonaws.com/dev/api/sky_live?gw='+gw_x;\n }\n }\n var fixtures = [];\n var gwTime = \"\";\n\n\n if (Object.keys(responseData).length > 0) {\n\n fixtures = responseData.fixtures;\n gwLiveFlag = responseData.status.gw_live;\n // gwLiveFlag = 1;\n\n if(gwLiveFlag===1){\n gwLive=responseData.status.gw;\n // gwLive=10;\n }\n\n gwPage = responseData.status.gw*1;\n // gwPage = 10;\n gwTime = responseData.upd_time;\n console.log(\"gwPage:\" + gwPage);\n }\n\n const fetchFpl = async (url) => {\n\n console.log('fetch_url:'+url)\n\n const response = await axios.get(url);\n setResponseData(response.data);\n console.log(\"fetchran\");\n // setGW(response.data.status.gw);\n };\n\n useEffect(() => {\n fetchFpl(url);\n // setGW(responseData.data.status.gw);\n console.log(\"useeffect ran\");\n const intervalId = setInterval(() => { //assign interval to a variaable to clear it\n fetchFpl(url);\n console.log(\"useeffect ran again\");\n }, 60000)\n\n return () => {\n clearInterval(intervalId); //This is important\n console.log(\"clearInterval\");\n }\n\n }, [url])\n // },)\n\n// return {gwPage, gwTime, setUrl, newUrl, fixtures,show,handleShow,handleClose,playerData};\nreturn {gwPage, gwTime, setUrl, newUrl, fixtures};\n}\n\nconst Matches = () => {\n\n const {\n gwPage,\n gwTime,\n setUrl,\n newUrl,\n fixtures,\n } = useMatchesState();\n\n const fixLength = fixtures.length;\n const fix0 = fixtures.slice(0, 1);\n // const fix00 = fix0[0];\n const fix1 = fixtures.slice(1, 2);\n const fixrem = fixtures.slice(2, fixLength);\n\n\n return (\n \n \n \n \n \n \n \n \n \n

Sky Fantasy Football

\n \n
\n
\n \n
\n {fix0.map((item, index) => {\n return (\n \n\n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )})}\n
\n\n \n \n \n

\n \n
\n\n
\n {fix1.map((item, index) => {\n return (\n \n\n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )})}\n
\n\n \n \n \n

\n \n
\n\n
\n {fixrem.map((item, index) => {\n return (\n \n\n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )})}\n
\n\n \n \n \n \n
\n
\n );\n}\n\nexport default Matches;\n","import React from \"react\"\nimport Helmet from \"react-helmet\"\n\nconst HeadTags = () => (\n \n {/* */}\n FPL Alerts\n \n \n\n {/* */}\n \n \n \n \n \n\n {/* */}\n \n \n \n \n \n \n\n {/* */}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/* */}\n \n)\n\nexport default HeadTags;\n","import React from 'react'\n\nimport Header from '../components/HeaderUcl'\nimport Footer from '../components/Footer'\nimport Matches from '../components/Sky'\n// import Matches from '../components/MatchesEuro'\nimport HeadTags from '../components/Headtags6'\n// import GoogleAd from '../components/GoogleAd'\nimport SnackAd2 from '../components/SnackAd2'\nimport SnackAd from '../components/SnackAd'\nimport {Container,Row} from \"react-bootstrap\"\n\n\nconst SkyPage = () => (\n <>\n \n
\n \n \n \n
\n \n \n \n \n \n \n
\n
\n \n)\n\nexport default SkyPage\n","import React from \"react\"\nimport PropTypes from 'prop-types';\n\nclass SnackAd extends React.Component {\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount () {\n this.isMobile = window.innerWidth < 1200;\n // this.isMobile = window.innerWidth < 480;\n }\n\nrender () {\n\n const ad_type = this.props.ad_type;\n const ad_num = this.props.ad_num;\n\n // console.log(\"window:\"+window.innerWidth);\n // console.log(\"windowisMobile:\"+isMobile);\n\n const ad_style = ad_type ===\"leader\" ? {minHeight: \"250px\", textAlign: \"center\"}\n : this.isMobile === true ? {minHeight: \"250px\", textAlign: \"center\"}\n : {minHeight: \"600px\", textAlign:\"center\"};\n const ad_id =\n ad_type === \"leader\" && ad_num === 1 ? \"snack_ldb\"\n : ad_type === \"leader\" && ad_num === 2 ? \"snack_dex2\"\n : ad_type === \"leader\" && ad_num === 5 ? \"snack_dex3\"\n : ad_type === \"leader\" && ad_num === 4 ? \"snack_dex4\"\n : ad_type === \"skyscraper\" && ad_num === 1 ? \"snack_dmpu\"\n : ad_type === \"skyscraper\" && ad_num === 2 ? \"snack_dex5\"\n : \"other\";\n\n // : ad_type === \"skyscraper\" && ad_num === 1 && this.isMobile === true ? \"snack_dex3\"\n // : ad_type === \"skyscraper\" && ad_num === 2 && this.isMobile === true ? \"snack_dex4\"\n\n const ad_show =\n this.isMobile === true && ad_type === \"leader\" ? \"show\"\n : this.isMobile === true && ad_type === \"skyscraper\" ? \"dontshow\"\n : this.isMobile === false && ad_num === 2 && ad_type === \"leader\" ? \"dontshow\"\n : this.isMobile === false && ad_num === 5 ? \"dontshow\"\n : \"show\";\n\n const ad_container = ad_type ===\"leader\" ? {margin: \"auto\"}\n : this.isMobile === true ? {margin: \"auto\"}\n : {margin: \"auto\", desktop: \"position:-webkit-sticky\", position: \"sticky\", top: \"65px\"};\n\nif(ad_show===\"show\"){\n return (\n
\n
\n
\n )\n}\nelse {\n return null;\n}\n\n}\n}\n\nexport default SnackAd\n\nSnackAd.propTypes = {\n ad_type: PropTypes.string,\n ad_num:PropTypes.number\n};\n\n\n// AD UNITS\n\n// Leaderboard/Billboard #1 (D 970x250, 970x90, 728x90 / M 300x250, 320x50, 320x100)\n//\n//
\n//\n// Leaderboard/Billboard #2 (D 970x250, 970x90, 728x90 / M 300x250, 320x50, 320x100)\n//\n//
\n//\n// Leaderboard/Billboard #3 (D 970x250, 970x90, 728x90 / M 300x250, 320x50, 320x100)\n//\n//
\n//\n// Leaderboard/Billboard #4 (D 970x250, 970x90, 728x90 / M 300x250, 320x50, 320x100)\n//\n//
\n//\n// Sidebar DMPU/Skyscraper #1 (D 300x600, 300x250, 160x600, 120x600)\n//\n//
\n//\n// Sidebar DMPU/Skyscraper #2 (D 300x600, 300x250, 160x600, 120x600)\n//\n//
\n"],"sourceRoot":""}