{"version":3,"sources":["webpack:///v1-0/production.js","webpack:///webpack/bootstrap 626ffb91eeef5dcaba44","webpack:///./v1-0/production.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","adv","AdBase","extend","init","options","this","base","timer","emit","ENUM","EVENTS","inited","setup","data","pos","cookie","getCookie","advid","util","random","sources","length","currentIndex","setCookie","DAY","setuped","render","advEl","$","selector","append","tabPnEl","link","img","adskey","sendIpa","find","slide","tabEl","nextIndex","bindEvent","self","hide","eq","show","setInterval","on","remove","play","played"],"mappings":"CAAS,SAAUA;ICInB,SAAAC,EAAAC;QAGA,IAAAC,EAAAD,IACA,OAAAC,EAAAD,GAAAE;QAGA,IAAAC,IAAAF,EAAAD;YACAI,KAAAJ;YACAK,MAAA;YACAH;;QAUA,OANAJ,EAAAE,GAAAM,KAAAH,EAAAD,SAAAC,KAAAD,SAAAH,IAGAI,EAAAE,KAAA,GAGAF,EAAAD;;IAvBA,IAAAD;IA4BAF,EAAAQ,IAAAT,GAGAC,EAAAS,IAAAP,GAGAF,EAAAU,IAAA,SAAAP,GAAAQ,GAAAC;QACAZ,EAAAa,EAAAV,GAAAQ,MACAG,OAAAC,eAAAZ,GAAAQ;YACAK,iBAAA;YACAC,eAAA;YACAC,OAAAN;;OAMAZ,EAAAmB,IAAA,SAAAf;QACA,IAAAQ,IAAAR,OAAAgB,aACA;YAA2B,OAAAhB,EAAA;YAC3B;YAAiC,OAAAA;;QAEjC,OADAJ,EAAAU,EAAAE,GAAA,KAAAA,IACAA;OAIAZ,EAAAa,IAAA,SAAAQ,GAAAC;QAAsD,OAAAR,OAAAS,UAAAC,eAAAjB,KAAAc,GAAAC;OAGtDtB,EAAAyB,IAAA,IAGAzB,IAAA0B,IAAA;IDMM,SAAUtB,GAAQD,GAASH;IAEjC;IErEA2B,IAAIC,OAAOC,OAAO;QAChBC,QAAM,SAAUC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K,mCACLU,GAAG,SAAS;gBACXlB,EAAE,MAAMa,EAAKrC,QAAQa,OAAO8B;;;QAIlCC,QAAM;YAEO3C,KAAKQ;YAChBR,KAAKqB,UACLrB,KAAKmC,aACLnC,KAAKG,KAAKR,IAAIS,KAAKC,OAAOuC","file":"v1-0/production.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \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// 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 = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nadv.AdBase.extend('AdNewsFinalRightDialog', {\n init: function init(options) {\n this.base(options);\n this.timer = null;\n this.emit(adv.ENUM.EVENTS.inited);\n },\n setup: function setup(data) {\n this.data = data;\n var pos = adv.cookie.getCookie(this.options.advid);\n pos = pos || adv.util.random(data.sources);\n pos = pos >= data.sources.length ? 0 : pos;\n this.currentIndex = 1 * pos;\n pos++;\n adv.cookie.setCookie(this.options.advid, pos, adv.cookie.DAY);\n this.emit(adv.ENUM.EVENTS.setuped);\n },\n render: function render() {\n this.advEl = $(this.options.selector);\n this.advEl.append(\"
');\n var tabPnEl = this.tabPnEl = $('.ad17173carousel-pn');\n var sources = this.data.sources;\n for (var i = 0; i < sources.length; i++) {\n tabPnEl.append('');\n\n sources[i].adskey && adv.util.sendIpa(tabPnEl.find('.ad17173carousel-tab:eq(' + i + ')'), sources[i].adskey, true);\n }\n },\n slide: function slide() {\n var tabEl = $('.ad17173carousel-tab');\n var currentIndex = this.currentIndex;\n var nextIndex = currentIndex + 1;\n if (nextIndex >= tabEl.length) {\n nextIndex = 0;\n }\n this.currentIndex = nextIndex;\n },\n bindEvent: function bindEvent() {\n var self = this;\n var tabEl = $('.ad17173carousel-tab');\n tabEl.hide().eq(this.currentIndex).show();\n this.timer = setInterval(function () {\n self.slide();\n }, 5000);\n $('.' + self.options.advid).find('.final-right-fixed-dialog-close').on('click', function () {\n $('.' + self.options.advid).remove();\n });\n },\n\n play: function play() {\n var me = this;\n var data = this.data;\n this.render();\n this.bindEvent();\n this.emit(adv.ENUM.EVENTS.played);\n }\n});\n\n/***/ })\n/******/ ]);\n\n\n// WEBPACK FOOTER //\n// v1-0/production.js"," \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// 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 = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 626ffb91eeef5dcaba44","adv.AdBase.extend('AdNewsFinalRightDialog', {\r\n init: function (options) {\r\n this.base(options)\r\n this.timer = null\r\n this.emit(adv.ENUM.EVENTS.inited)\r\n },\r\n setup: function (data) {\r\n this.data = data\r\n var pos = adv.cookie.getCookie(this.options.advid)\r\n pos = pos || adv.util.random(data.sources)\r\n pos = pos >= data.sources.length ? 0 : pos\r\n this.currentIndex = 1 * pos\r\n pos++\r\n adv.cookie.setCookie(this.options.advid, pos, adv.cookie.DAY)\r\n this.emit(adv.ENUM.EVENTS.setuped)\r\n },\r\n render: function () {\r\n this.advEl = $(this.options.selector)\r\n this.advEl.append(\r\n \"'\r\n )\r\n var tabPnEl = (this.tabPnEl = $('.ad17173carousel-pn'))\r\n var sources = this.data.sources\r\n for (var i = 0; i < sources.length; i++) {\r\n tabPnEl.append(\r\n ''\r\n )\r\n\r\n sources[i].adskey &&\r\n adv.util.sendIpa(\r\n tabPnEl.find('.ad17173carousel-tab:eq(' + i + ')'),\r\n sources[i].adskey,\r\n true\r\n )\r\n }\r\n },\r\n slide: function () {\r\n var tabEl = $('.ad17173carousel-tab')\r\n var currentIndex = this.currentIndex\r\n var nextIndex = currentIndex + 1\r\n if (nextIndex >= tabEl.length) {\r\n nextIndex = 0\r\n }\r\n this.currentIndex = nextIndex\r\n },\r\n bindEvent: function () {\r\n var self = this\r\n var tabEl = $('.ad17173carousel-tab')\r\n tabEl.hide().eq(this.currentIndex).show()\r\n this.timer = setInterval(function () {\r\n self.slide()\r\n }, 5000)\r\n $('.' + self.options.advid)\r\n .find('.final-right-fixed-dialog-close')\r\n .on('click', function () {\r\n $('.' + self.options.advid).remove()\r\n })\r\n },\r\n\r\n play: function () {\r\n let me = this\r\n let data = this.data\r\n this.render()\r\n this.bindEvent()\r\n this.emit(adv.ENUM.EVENTS.played)\r\n },\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./v1-0/production.js"],"sourceRoot":""}