{"version":3,"sources":["webpack:///v1-3/production.js","webpack:///webpack/bootstrap f3505a10057642364fbc","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","coverTimer","topTmpl","coverTmpl","closeTmpl","setup","data","setuped","render","advEl","$","selector","parent","css","topEl","razor","sourceCover","sourceContent","image","indexOf","coverEl","append","flash","embed","source","allowNet","width","height","sourceCoverHeight","offset","top","on","e","button","window","STATUS_LTIE8","open","link","closeEl","before","util","poll","ue","instances","slideshow","add","thumb","title","desc","text","ipaCode","sendIpa","bindEvent","me","hide","stopPropagation","find","show","$w","coverShowTop","length","_firstShow","scrollTop","unbind","scroll","time","clearTimeout","setTimeout","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,eA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kC;eACVW;;QAELG,QAAM;YACMzE,KAAKD;YACfC,KAAKa,UACLb,KAAKyD,aACLzD,KAAKE,KAAKP,IAAIQ,KAAKC,OAAOsE","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('Ad17173FocusCover', {\n init: function init(options) {\n this.base(options);\n this.emit(adv.ENUM.EVENTS.inited);\n },\n coverTimer: null,\n topTmpl: '
',\n coverTmpl: '
',\n closeTmpl: '
',\n setup: function setup(data) {\n this.data = data;\n this.emit(adv.ENUM.EVENTS.setuped);\n },\n render: function render() {\n var advEl = $(this.options.selector),\n data = this.data;\n\n advEl.parent().css('position', 'relative');\n this.topEl = $(adv.razor(this.topTmpl, data));\n this.closeTmpl = '
×
';\n data.sourceCover = data.sourceCover || data.sourceContent.image;\n if (~data.sourceCover.indexOf('swf')) {\n this.coverEl = $(this.coverTmpl).append(adv.flash.embed({\n source: data.sourceCover,\n allowNet: 'none',\n width: data.width,\n height: data.sourceCoverHeight\n }));\n } else {\n this.coverEl = $(this.coverTmpl).append(adv.razor('\"\"', {\n source: data.sourceCover,\n width: data.width,\n height: data.sourceCoverHeight\n }));\n }\n this.coverEl.css('top', $(this.options.selector).offset().top - $(this.options.selector).parent().offset().top);\n\n this.coverEl.on('mouseup', function (e) {\n if (0 === e.button || window.STATUS_LTIE8 && 1 === e.button) {\n window.open(data.link);\n }\n });\n this.closeEl = $(this.closeTmpl);\n this.coverEl.append(this.closeEl);\n this.topEl.append(this.coverEl);\n advEl.before(this.topEl);\n\n if (data.sourceContent.image) {\n adv.util.poll(function () {\n return ue.instances && ue.instances.slideshow;\n }, function () {\n ue.instances.slideshow.add({\n thumb: data.sourceContent.thumb,\n image: data.sourceContent.image,\n link: data.link,\n title: '',\n desc: '',\n text: data.text,\n ipaCode: data.ipaCode\n });\n }, null, 8000, 200);\n }\n this.data.ipaCode && adv.util.sendIpa(this.topEl[0], this.data.ipaCode, true);\n this.data.ipaCode && adv.util.sendIpa($('.focus-con-item .img-box a'), this.data.ipaCode, false);\n },\n bindEvent: function bindEvent() {\n var me = this;\n this.closeEl.on('click', function (e) {\n me.coverEl.hide();\n }).on('mouseup', function (e) {\n e.stopPropagation();\n });\n\n this.topEl.find('.tg-focus-top').on('mouseover', function () {\n me.show();\n });\n\n var $w = $(window),\n coverShowTop = $('.pn-rss').length ? $('.pn-rss').offset().top - 50 : 0;\n var _firstShow = function _firstShow() {\n if ($w.scrollTop() >= coverShowTop) {\n me.show(5000);\n $w.unbind('scroll', _firstShow);\n }\n };\n $(window).scroll(_firstShow);\n _firstShow();\n },\n show: function show(time) {\n var me = this;\n time = time || 8000;\n me.coverEl.show();\n clearTimeout(this.coverTimer);\n this.coverTimer = setTimeout(function () {\n me.coverEl.hide();\n }, time);\n },\n play: function play() {\n var opt = this.options;\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-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 f3505a10057642364fbc","adv.AdBase.extend('Ad17173FocusCover', {\r\n init: function (options) {\r\n this.base(options)\r\n this.emit(adv.ENUM.EVENTS.inited)\r\n },\r\n coverTimer: null,\r\n topTmpl: '
',\r\n coverTmpl:\r\n '
',\r\n closeTmpl:\r\n '
',\r\n setup: function (data) {\r\n this.data = data\r\n this.emit(adv.ENUM.EVENTS.setuped)\r\n },\r\n render: function () {\r\n let advEl = $(this.options.selector),\r\n data = this.data\r\n\r\n advEl.parent().css('position', 'relative')\r\n this.topEl = $(adv.razor(this.topTmpl, data))\r\n this.closeTmpl =\r\n '
×
'\r\n data.sourceCover = data.sourceCover || data.sourceContent.image\r\n if (~data.sourceCover.indexOf('swf')) {\r\n this.coverEl = $(this.coverTmpl).append(\r\n adv.flash.embed({\r\n source: data.sourceCover,\r\n allowNet: 'none',\r\n width: data.width,\r\n height: data.sourceCoverHeight,\r\n })\r\n )\r\n } else {\r\n this.coverEl = $(this.coverTmpl).append(\r\n adv.razor(\r\n '\"\"',\r\n {\r\n source: data.sourceCover,\r\n width: data.width,\r\n height: data.sourceCoverHeight,\r\n }\r\n )\r\n )\r\n }\r\n this.coverEl.css(\r\n 'top',\r\n $(this.options.selector).offset().top -\r\n $(this.options.selector).parent().offset().top\r\n )\r\n\r\n this.coverEl.on('mouseup', function (e) {\r\n if (0 === e.button || (window.STATUS_LTIE8 && 1 === e.button)) {\r\n window.open(data.link)\r\n }\r\n })\r\n this.closeEl = $(this.closeTmpl)\r\n this.coverEl.append(this.closeEl)\r\n this.topEl.append(this.coverEl)\r\n advEl.before(this.topEl)\r\n\r\n if (data.sourceContent.image) {\r\n adv.util.poll(\r\n function () {\r\n return ue.instances && ue.instances.slideshow\r\n },\r\n function () {\r\n ue.instances.slideshow.add({\r\n thumb: data.sourceContent.thumb,\r\n image: data.sourceContent.image,\r\n link: data.link,\r\n title: '',\r\n desc: '',\r\n text: data.text,\r\n ipaCode: data.ipaCode,\r\n })\r\n },\r\n null,\r\n 8000,\r\n 200\r\n )\r\n }\r\n this.data.ipaCode &&\r\n adv.util.sendIpa(this.topEl[0], this.data.ipaCode, true)\r\n this.data.ipaCode &&\r\n adv.util.sendIpa(\r\n $('.focus-con-item .img-box a'),\r\n this.data.ipaCode,\r\n false\r\n )\r\n },\r\n bindEvent: function () {\r\n let me = this\r\n this.closeEl\r\n .on('click', function (e) {\r\n me.coverEl.hide()\r\n })\r\n .on('mouseup', function (e) {\r\n e.stopPropagation()\r\n })\r\n\r\n this.topEl.find('.tg-focus-top').on('mouseover', function () {\r\n me.show()\r\n })\r\n\r\n let $w = $(window),\r\n coverShowTop = $('.pn-rss').length ? $('.pn-rss').offset().top - 50 : 0\r\n let _firstShow = function () {\r\n if ($w.scrollTop() >= coverShowTop) {\r\n me.show(5000)\r\n $w.unbind('scroll', _firstShow)\r\n }\r\n }\r\n $(window).scroll(_firstShow)\r\n _firstShow()\r\n },\r\n show: function (time) {\r\n let me = this\r\n time = time || 8000\r\n me.coverEl.show()\r\n clearTimeout(this.coverTimer)\r\n this.coverTimer = setTimeout(function () {\r\n me.coverEl.hide()\r\n }, time)\r\n },\r\n play: function () {\r\n let opt = this.options\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-3/production.js"],"sourceRoot":""}