{"version":3,"sources":["webpack:///webpack/universalModuleDefinition?5ca6********","webpack:///webpack/bootstrap dabb840152cd8bb1508f?2631********","webpack:///external \"React\"?9de9********","webpack:///./Views/src/banner-list-view.tsx"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA,2CAA2C,cAAc;;QAEzD;QACA;QACA;QACA;QACA;QACA;QACA;QACA,KAAK;QACL;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA;;;;;;;AChEA,+C;;;;;;;;;;;;;;;;;;;;;;ACAA,mCAA8B;AAsB9B;IAMI;QACI,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,EAAK,CAAC;IAChC,CAAC;IACL,0BAAC;AAAD,CAAC;AAED;IAAA;IASA,CAAC;IAAD,8BAAC;AAAD,CAAC;AAED;IAAoC,kCAAmF;IACnH,wBAAY,KAA2B;QAAvC,YACI,kBAAM,KAAK,CAAC,SAEf;QADG,KAAI,CAAC,KAAK,GAAG,CAAC,CAAC,KAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,mBAAmB,EAA2B,CAAC,CAAC,CAAC,KAAI,CAAC,KAAK,CAAC,YAAY,CAAC;;IAC3H,CAAC;IAED,0CAAiB,GAAjB;QACI,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,gBAAgB,EAAE;YACnC,UAAU,EAAE;gBACR,EAAE,EAAE,oBAAoB;gBACxB,SAAS,EAAE,CAAC,CAAC;aAChB;YACD,UAAU,EAAE;gBACR,MAAM,EAAE,4BAA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ory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"React\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"React\"], factory);\n\telse {\n\t\tvar a = typeof exports === 'object' ? factory(require(\"React\")) : factory(root[\"React\"]);\n\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n\t}\n})(this, function(__WEBPACK_EXTERNAL_MODULE_0__) {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap dabb840152cd8bb1508f","module.exports = __WEBPACK_EXTERNAL_MODULE_0__;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"React\"\n// module id = 0\n// module chunks = 0 1 2 3 4 5 6 7 8 9","import * as React from \"react\"\r\nimport * as ReactDOM from \"react-dom\"\r\n\r\ninterface IBannerListViewProps {\r\n Autoplay: boolean,\r\n AutoplaySpeed: string;\r\n RenditionId: string;\r\n LinkTitle: string;\r\n itemProperties: {\r\n Title: string;\r\n Description: string;\r\n Link: string;\r\n OpenInNewWindow: string;\r\n ImageSource: string;\r\n VideoSource: string;\r\n EmbedSource: string;\r\n VideoThumbnail: string;\r\n\r\n };\r\n initialState: BannerListViewModel;\r\n}\r\n\r\nclass BannerListViewModel {\r\n Autoplay: boolean;\r\n AutoplaySpeed: number;\r\n RenditionId: number;\r\n LinkTitle: string;\r\n items: Array;\r\n constructor() {\r\n this.items = new Array();\r\n }\r\n}\r\n\r\nclass BannerListViewItemModel {\r\n Title: string;\r\n Description: string;\r\n Link: string;\r\n OpenInNewWindow: string;\r\n ImageSource: string;\r\n VideoSource: string;\r\n EmbedSource: string;\r\n VideoThumbnail: string;\r\n}\r\n\r\nexport class BannerListView extends React.Component>{\r\n constructor(props: IBannerListViewProps) {\r\n super(props);\r\n this.state = (!this.props.initialState) ? new BannerListViewModel() : this.props.initialState;\r\n }\r\n\r\n componentDidMount() {\r\n new window[\"Swiper\"](\"#banner-slider\", {\r\n pagination: {\r\n el: \".swiper-pagination\",\r\n clickable: !0\r\n },\r\n navigation: {\r\n nextEl: \".swiper-button-next-custom\",\r\n prevEl: \".swiper-button-prev-custom\"\r\n }\r\n })\r\n\r\n }\r\n\r\n private createMarkup(text: string): { __html: string } {\r\n return { __html: text };\r\n };\r\n\r\n private carouselElement: HTMLElement;\r\n\r\n render() {\r\n return
\r\n
\r\n {this.state.items.map((value, index, array) => {\r\n return
\r\n
\r\n
\r\n
\r\n

{value.Title}

\r\n

{value.Description}

\r\n \r\n {this.state.LinkTitle}\r\n \r\n \r\n
\r\n
\r\n \"\"\r\n\r\n
\r\n
\r\n
\r\n
\r\n })}\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./Views/src/banner-list-view.tsx"],"sourceRoot":""}