{"version":3,"sources":["webpack:///v2-2/production.js","webpack:///webpack/bootstrap 8f75577750834b628ab5","webpack:///./v2-2/production.js","webpack:///./v2-2/template.html"],"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","tmpl","adv","AdBase","extend","init","options","this","base","emit","ENUM","EVENTS","inited","setup","data","setuped","play","opts","ads","$el","$","advid","len","length","item","row","col","exStyle","hotSpot","icon","find","replaceWith","razor","ipaCode","util","sendIpa","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;IEpEA,IAAI2B,IAAO3B,EAAQ;IACnB4B,IAAIC,OAAOC,OAAO;QAChBC,QAAM,SAAUC;YACdC,KAAKC,KAAKF,IACVC,KAAKE,KAAKP,IAAIQ,KAAKC,OAAOC;;QAE5BC,SAAO,SAAUC;YACfP,KAAKO,OAAOA,GACZP,KAAKE,KAAKP,IAAIQ,KAAKC,OAAOI;;QAE5BC,QAAM;YACJ,IAAIC,IAAOV,KAAKD,eACZY,IAAMX,KAAKO,KAAKI;YACpBX,KAAKY,MAAMC,EAAE,MAAMH,EAAKI;YAExB,KAAK,IAAI1C,IAAI,GAAG2C,IAAMJ,EAAIK,QAAQ5C,IAAI2C,GAAK3C,KAAK;gBAC9C,IAAI6C,IAAON,EAAIvC,IACX8C,IAAMD,EAAKC,MAAMD,EAAKC,MAAM,IAAI,GAClCC,IAAMF,EAAKE,MAAMF,EAAKE,MAAM,IAAI;gBAGlCF,EAAKG,UAAU,OACXH,EAAKI,WAAWJ,EAAKK,SACvBL,EAAKG,UAAU;gBAGjBpB,KAAKY,IAAIW,KAAK,sBAAsBL,IAAM,gBAAgBC,IAAM,KAAKK,YAAY7B,IAAI8B,MAAM/B,GAAKuB;gBAE1FA,EAAKS,WACT/B,IAAIgC,KAAKC,QAAQ5B,KAAKY,IAAIW,KAAK,sBAAsBL,IAAM,gBAAgBC,IAAM,MAAMF,EAAKS,UAAS;;YAIzG1B,KAAKE,KAAKP,IAAIQ,KAAKC,OAAOyB;;;GF4ExB,SAAU1D,GAAQD;IG9GxBC,EAAAD,UAAA","file":"v2-2/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\nvar tmpl = __webpack_require__(1);\nadv.AdBase.extend('AdYeyouIndexHotGameMark', {\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 play: function play() {\n var opts = this.options || {};\n var ads = this.data.ads || [];\n this.$el = $('.' + opts.advid);\n\n for (var i = 0, len = ads.length; i < len; i++) {\n var item = ads[i];\n var row = item.row ? item.row - 1 : 0,\n col = item.col ? item.col - 1 : 0;\n\n item.exStyle = '111';\n if (item.hotSpot && item.icon) {\n item.exStyle = ' style=\"margin-left:-8px;\"';\n }\n\n this.$el.find('.list-channel:eq(' + row + ') .item:eq(' + col + ')').replaceWith(adv.razor(tmpl, item));\n\n if (!!item.ipaCode) {\n adv.util.sendIpa(this.$el.find('.list-channel:eq(' + row + ') .item:eq(' + col + ')'), item.ipaCode, true);\n }\n }\n\n this.emit(adv.ENUM.EVENTS.played);\n }\n});\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports) {\n\nmodule.exports = \"
  • \\n \\n @if(icon){}@key @if(hotSpot){}\\n @gameType\\n @if(isZq){}\\n \\n
  • \"\n\n/***/ })\n/******/ ]);\n\n\n// WEBPACK FOOTER //\n// v2-2/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 8f75577750834b628ab5","\nlet tmpl = require('./template.html');\nadv.AdBase.extend('AdYeyouIndexHotGameMark', {\n init: function (options) {\n this.base(options);\n this.emit(adv.ENUM.EVENTS.inited);\n }, \n setup: function (data) {\n this.data = data\n this.emit(adv.ENUM.EVENTS.setuped);\n }, \n play: function () {\n var opts = this.options || {};\n var ads = this.data.ads || [];\n this.$el = $('.' + opts.advid);\n\n for (var i = 0, len = ads.length; i < len; i++) {\n var item = ads[i];\n var row = item.row ? item.row - 1 : 0,\n col = item.col ? item.col - 1 : 0;\n\n // 当icon和热点同时设置时,为该位置适当增加一些左偏移,使展示美观\n item.exStyle = '111'\n if (item.hotSpot && item.icon) {\n item.exStyle = ' style=\"margin-left:-8px;\"';\n }\n \n this.$el.find('.list-channel:eq(' + row + ') .item:eq(' + col + ')').replaceWith(adv.razor(tmpl,item));\n // 每个推荐位单独统计代码,统计码在子模版中配置\n if (!!item.ipaCode) {\n adv.util.sendIpa(this.$el.find('.list-channel:eq(' + row + ') .item:eq(' + col + ')'), item.ipaCode, true);\n }\n }\n\n this.emit(adv.ENUM.EVENTS.played);\n }\n});\n\n\n// WEBPACK FOOTER //\n// ./v2-2/production.js","module.exports = \"
  • \\n \\n @if(icon){}@key @if(hotSpot){}\\n @gameType\\n @if(isZq){}\\n \\n
  • \"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./v2-2/template.html\n// module id = 1\n// module chunks = 0 1"],"sourceRoot":""}