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D,KACrCD,EAAoBU,EAAET,GAAYkD,EAAYlD,IAGhD,GAAGmD,EAAS,IAAIxC,EAASwC,EAAQpD,GAGlC,IADGkD,GAA4BA,EAA2BzD,GACrDpE,EAAIwF,EAASK,OAAQ7F,IACzB2H,EAAUnC,EAASxF,GAChB2E,EAAoBgC,EAAEe,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOhD,EAAoBW,EAAEC,IAG1B0C,EAAqBC,KAA0B,oBAAIA,KAA0B,qBAAK,GACtFD,EAAmBE,QAAQP,EAAqBQ,KAAK,KAAM,IAC3DH,EAAmBI,KAAOT,EAAqBQ,KAAK,KAAMH,EAAmBI,KAAKD,KAAKH,QC7CvF,IAAIK,EAAsB3D,EAAoBW,OAAER,EAAW,CAAC,MAAM,IAAOH,EAAoB,QAC7F2D,EAAsB3D,EAAoBW,EAAEgD","sources":["webpack://asp.net/webpack/runtime/chunk loaded","webpack://asp.net/./Components/WeatherInfo/index.js","webpack://asp.net/./Components/TicketShop/index.js","webpack://asp.net/webpack/bootstrap","webpack://asp.net/webpack/runtime/compat get default export","webpack://asp.net/webpack/runtime/define property getters","webpack://asp.net/webpack/runtime/global","webpack://asp.net/webpack/runtime/hasOwnProperty shorthand","webpack://asp.net/webpack/runtime/node module decorator","webpack://asp.net/webpack/runtime/runtimeId","webpack://asp.net/webpack/runtime/jsonp chunk loading","webpack://asp.net/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","import React, { Component, Fragment } from 'react';\r\nimport {DateTime} from \"luxon\";\r\nimport cx from 'classnames';\r\nimport renderComponent from '../../Assets/scripts/composition/renderComponent';\r\nimport { loaderAnimTemplate } from '../../Assets/scripts/utils/loaderAnim';\r\nimport './index.scss';\r\n\r\nconst weatherInfoApiUrlTemplate = (lat, lng, culture, start, end) => `/api/v2/weather/info?lat=${lat}&lng=${lng}&culture=${culture.substring(0, 2)}&start=${start.toFormat('yyyy-MM-dd-HH-mm-ss')}&end=${end ? end.toFormat('yyyy-MM-dd-HH-mm-ss') : ''}`\r\n\r\nclass WeatherInfoComponent extends Component {\r\n constructor(props) {\r\n super(props)\r\n this.state = {\r\n isLoading: false,\r\n weatherInfo: null\r\n }\r\n }\r\n\r\n componentDidMount() {\r\n this.fetchWeatherInfo()\r\n }\r\n\r\n fetchWeatherInfo = async () => {\r\n this.setState({ isLoading: true })\r\n\r\n const options = JSON.parse(this.props.options)\r\n const { latitude, longitude, culture } = options\r\n const periodStart = DateTime.fromISO(options.periodStart)\r\n const periodEnd = options.periodEnd ? DateTime.fromISO(options.periodEnd) : null\r\n const requestUrl = weatherInfoApiUrlTemplate(latitude, longitude, culture, periodStart, periodEnd)\r\n\r\n const response = await fetch(requestUrl)\r\n const weatherInfo = await response.json()\r\n\r\n this.setState({\r\n isLoading: false,\r\n weatherInfo\r\n })\r\n }\r\n\r\n mapWeatherIcon = icon => {\r\n switch (icon) {\r\n case 'ClearSkyDay':\r\n return 'wb_sunny'\r\n case 'ClearSkyNight':\r\n return 'brightness_3'\r\n case 'FewCloudsDay':\r\n case 'FewCloudsNight':\r\n return 'wb_cloudy'\r\n case 'ScatteredCloudsDay':\r\n case 'ScatteredCloudsNight':\r\n return 'wb_cloudy'\r\n case 'BrokenCloudsDay':\r\n case 'BrokenCloudsNight':\r\n return 'wb_cloudy'\r\n case 'ShowerRainDay':\r\n case 'ShowerRainNight':\r\n return 'grain'\r\n case 'RainDay':\r\n case 'RainNight':\r\n return 'grain'\r\n case 'ThunderstormDay':\r\n case 'ThunderstormNight':\r\n return 'flash_on'\r\n case 'SnowDay':\r\n case 'SnowNight':\r\n return 'ac_unit'\r\n case 'MistDay':\r\n case 'MistNight':\r\n return 'blur_on'\r\n default:\r\n return 'brightness_1'\r\n }\r\n }\r\n\r\n renderWeatherForecastItem = item => {\r\n return (\r\n \r\n {this.mapWeatherIcon(item.worstWeatherIcon)}\r\n 25 })}>{Math.ceil(item.maxTemperature)}°C\r\n {item.worstWeatherDescription}\r\n ({DateTime.fromISO(item.date).toLocaleString(DateTime.TIME_SIMPLE)})\r\n \r\n )\r\n }\r\n\r\n render() {\r\n const { isLoading, weatherInfo } = this.state\r\n const options = JSON.parse(this.props.options)\r\n\r\n if (isLoading || !weatherInfo) {\r\n return
\r\n } else if (!weatherInfo.isWeatherinfoAvailable) {\r\n return (\r\n
\r\n
\r\n )\r\n } else {\r\n return (\r\n
\r\n
\r\n {weatherInfo.forecasts.map(this.renderWeatherForecastItem)}\r\n
\r\n \r\n {options.externalWeatherLinkText}\r\n open_in_new\r\n \r\n
\r\n )\r\n }\r\n }\r\n}\r\n\r\nasync function initComponent(element) {\r\n renderComponent(WeatherInfoComponent, element)\r\n}\r\n\r\n$(function () {\r\n const elements = $('div.weather-info-component')\r\n\r\n for (const element of elements) {\r\n initComponent(element)\r\n }\r\n})","import './index.scss';\r\n\r\nconst heightPadding = 10\r\n\r\nfunction setFrameHeight(element, height) {\r\n element.css('height', `${height + heightPadding}px`)\r\n element.addClass('auto-size')\r\n}\r\n\r\n$(function () {\r\n window.addEventListener('message', function (event) {\r\n if (event.origin.includes('eventbrite')) {\r\n console.log(event)\r\n\r\n if (event.data.messageName === 'widgetRenderComplete') {\r\n setFrameHeight($('div.ticket-shop-component iframe'), event.data.widgetHeight)\r\n setTimeout(() => $('div.ticket-shop-component').addClass('loaded'), 1000)\r\n }\r\n }\r\n })\r\n})","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 803;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t803: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkasp_net\"] = self[\"webpackChunkasp_net\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [736], () => (__webpack_require__(5493)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","i","weatherInfoApiUrlTemplate","lat","lng","culture","start","end","substring","toFormat","WeatherInfoComponent","props","setState","isLoading","options","JSON","parse","latitude","longitude","periodStart","DateTime","periodEnd","requestUrl","fetch","response","json","weatherInfo","icon","item","Fragment","key","date","className","mapWeatherIcon","worstWeatherIcon","cx","maxTemperature","Math","ceil","worstWeatherDescription","toLocaleString","state","this","fetchWeatherInfo","dangerouslySetInnerHTML","__html","loaderAnimTemplate","isWeatherinfoAvailable","forecasts","map","renderWeatherForecastItem","href","cityId","rel","target","externalWeatherLinkText","Component","initComponent","element","renderComponent","$","window","addEventListener","event","height","origin","includes","console","log","data","messageName","widgetHeight","css","addClass","setTimeout","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","length","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","Function","e","obj","prop","prototype","hasOwnProperty","nmd","paths","children","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","forEach","bind","push","__webpack_exports__"],"sourceRoot":""}