(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/app-popup-ad/app-popup-ad"],{2871:function(t,i,n){"use strict";n.r(i);var e=n("546b"),o=n("623a8");for(var p in o)"default"!==p&&function(t){n.d(i,t,(function(){return o[t]}))}(p);n("863d");var s,u=n("f0c5"),a=Object(u["a"])(o["default"],e["b"],e["c"],!1,null,"160c059a",null,!1,e["a"],s);i["default"]=a.exports},"546b":function(t,i,n){"use strict";var e,o=function(){var t=this,i=t.$createElement;t._self._c},p=[];n.d(i,"b",(function(){return o})),n.d(i,"c",(function(){return p})),n.d(i,"a",(function(){return e}))},"623a8":function(t,i,n){"use strict";n.r(i);var e=n("f8c6"),o=n.n(e);for(var p in e)"default"!==p&&function(t){n.d(i,t,(function(){return e[t]}))}(p);i["default"]=o.a},"863d":function(t,i,n){"use strict";var e=n("b8d5"),o=n.n(e);o.a},b8d5:function(t,i,n){},f8c6:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=function(){Promise.all([n.e("common/vendor"),n.e("components/basic-component/app-jump-button/app-jump-button")]).then(function(){return resolve(n("9e5c"))}.bind(null,n)).catch(n.oe)},o={name:"app-model-ad",components:{"app-jump-button":e},props:{opened:{type:Boolean,default:function(){return!0}},times:{type:Number,default:function(){return 1}},list:{type:Array,default:function(){return[]}},multiple:{type:Boolean,default:function(){return!1}},mark:{type:String,default:function(){return"fxhb"}},is_storage:Boolean},data:function(){return{newList:[],popupActive:-1}},computed:{listenChange:function(){return{multiple:this.multiple,list:this.list,is_storage:this.is_storage,times:this.times}}},watch:{listenChange:{handler:function(t){this.init()},immediate:!0}},methods:{init:function(){var t=this;this.multiple?this.newList=this.list:this.newList=[this.list],this.opened&&("undefined"===typeof this.$popupAd.list[this.mark]&&(this.$popupAd.list[this.mark]=!0,this.$event.on(this.$const.EVENT_POPUP,!1).then((function(i){i===t.mark&&t.showPopupModal()}))),this.showPopupModal())},showPopupModal:function(){if(!this.$popupAd.show){var t="popUpFirst"+this.mark;this.$popupAd.show=this.mark;var i=-1;i=0===this.times?0:this.$popupAd.first[t]?-1:0,this.is_storage||(this.$popupAd.first[t]=!0),this.popupActive=i,this.nextModal()}},nextModal:function(){if(this.list.length<=this.popupActive||-1===this.popupActive){var t=this.$popupAd.list,i=!1;for(var n in t){if(i){i=!1,this.$event.trigger(this.$const.EVENT_POPUP,n);break}n===this.mark&&(i=!0)}i||(this.$popupAd.show=null)}},closePopupModal:function(){var t=this.popupActive;t+=1,this.popupActive=t,this.$popupAd.show=null,this.nextModal()}}};i.default=o}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/page-component/app-popup-ad/app-popup-ad-create-component',
    {
        'components/page-component/app-popup-ad/app-popup-ad-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("2871"))
        })
    },
    [['components/page-component/app-popup-ad/app-popup-ad-create-component']]
]);
