{"version":3,"sources":["webpack:///v1-3/production.js","webpack:///webpack/bootstrap a929350e6e24dc23a29f","webpack:///./v1-3/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","emit","ENUM","EVENTS","inited","setup","data","setuped","renderA","game","$","advid","find","each","trim","text","after","linkA","image","renderB","$n","li","parents","c5","c5Link","remove","css","width","text-align","html","attr","linkB","hasClass","background","color","play","games","length","shift","Math","round","random","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,QADuC,SAClCC;YACHC,KAAKC,KAAKF,IACVC,KAAKE,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QV;;YAGjBV,KAAKE,KAAKP,IAAIQ,KAAKC,OAAOuC","file":"v1-3/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('Ad17173CeShiZhiTong', {\n init: function init(options) {\n this.base(options);\n this.emit(adv.ENUM.EVENTS.inited);\n },\n setup: function setup(data) {\n this.data = data;\n this.emit(adv.ENUM.EVENTS.setuped);\n },\n renderA: function renderA(game) {\n var advEl = $('.' + this.options.advid);\n advEl.find('a').each(function (i, n) {\n if ($.trim($(n).text()) == game.name) {\n $(n).after('\\r\\n\"\"');\n return;\n }\n });\n },\n renderB: function renderB(game) {\n var advEl = $('.' + this.options.advid);\n advEl.find('a').each(function (i, n) {\n var $n = $(n);\n if ($.trim($n.text()) == game.name) {\n var li = $n.parents('li');\n var c5 = li.find('.c5');\n var c5Link = c5.find('a');\n li.find('.c4').remove();\n c5.css({ width: '7em', \"text-align\": 'left' });\n c5Link.css('margin-left', '18px').html('官网直通»').attr('href', game.linkB);\n if (li.find('.c1').hasClass('c-red')) {\n li.css({ background: '#ff5c00' });\n li.find('.c1,.c2,.c3,.c5, a').css('color', '#fff');\n } else {\n c5Link.css({\n color: '#ff5c00'\n });\n }\n return;\n }\n });\n },\n\n play: function play() {\n var games = this.data.games;\n while (games.length) {\n var game = games.shift();\n if (game.linkA && game.linkB) {\n Math.round(Math.random()) ? this.renderA(game) : this.renderB(game);\n } else if (game.linkA) {\n this.renderA(game);\n } else if (game.linkB) {\n this.renderB(game);\n }\n }\n this.emit(adv.ENUM.EVENTS.played);\n }\n});\n\n/***/ })\n/******/ ]);\n\n\n// WEBPACK FOOTER //\n// v1-3/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 a929350e6e24dc23a29f","adv.AdBase.extend('Ad17173CeShiZhiTong', {\n init(options) {\n this.base(options)\n this.emit(adv.ENUM.EVENTS.inited)\n },\n setup(data) {\n this.data = data\n this.emit(adv.ENUM.EVENTS.setuped)\n },\n renderA(game){\n let advEl = $('.' + this.options.advid)\n advEl.find('a').each(function(i,n){\n if($.trim($(n).text()) == game.name){\n $(n).after('\\r\\n\"\"')\n return\n }\n })\n },\n renderB(game){\n //»\n let advEl = $('.' + this.options.advid)\n advEl.find('a').each(function(i,n){\n //width:7em; text-align:right;\n let $n = $(n)\n if($.trim($n.text()) == game.name){\n let li = $n.parents('li')\n let c5 = li.find('.c5')\n let c5Link = c5.find('a')\n li.find('.c4').remove()\n c5.css({ width:'7em',\"text-align\":'left' })\n c5Link.css('margin-left','18px').html('官网直通»').attr('href', game.linkB)\n if(li.find('.c1').hasClass('c-red')){\n li.css({background:'#ff5c00'}) \n li.find('.c1,.c2,.c3,.c5, a').css('color','#fff')\n }\n else{\n c5Link.css({\n color: '#ff5c00'\n })\n }\n return\n }\n })\n },\n play: function() {\n let games = this.data.games\n while(games.length){\n let game = games.shift();\n if(game.linkA && game.linkB){\n Math.round( Math.random()) ? this.renderA(game) : this.renderB(game)\n }\n else if(game.linkA){\n this.renderA(game)\n }\n else if(game.linkB){\n this.renderB(game)\n }\n }\n this.emit(adv.ENUM.EVENTS.played)\n }\n})\n\n\n// WEBPACK FOOTER //\n// ./v1-3/production.js"],"sourceRoot":""}