var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); define(["jQuery","AppContext"],function(o,t){var e={init:function(o,t){this.div=o,this.config=t,this.checkShowCustom()},closeEvents:function(t){var e=this,i=this.config.context.uid,n=e.firstCharToUpper(t);o(".close",this.div).on("click",function(o){o.preventDefault(),o.stopPropagation(),e.div.remove(),localStorage.setItem(n+"-"+i,(new Date).getTime())})},checkShowCustom:function(){var o=this,t=this.config.context.uid;if(o.config.showNewCustomerPro){var e=localStorage.getItem("newCustomerPromotion-"+t);if(!e)return this.showApp("new-customer-promotion");var i=864e5;if((new Date).getTime()-e>i)return this.showApp("new-customer-promotion");o.checkShowCoupon()}else o.checkShowCoupon()},checkShowCoupon:function(){var o=this,t=this.config.context.uid;if(o.config.showCouponLayer){var e=localStorage.getItem("couponLayer-"+t);if(!e)return this.showApp("coupon-layer");var i=864e5;if((new Date).getTime()-e>i)return this.showApp("coupon-layer")}},firstCharToUpper:function(o){if(!o)return o;for(var t=o.split("-"),e=1;e