PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
wilcity
/
assets
/
production
/
js
(window.webpackJsonp=window.webpackJsonp||[]).push([[83],{519:function(t,i,s){"use strict";s.r(i);var o=s(753),a=s(651);for(var e in a)"default"!==e&&function(t){s.d(i,t,function(){return a[t]})}(e);var n=s(0),l=Object(n.a)(a.default,o.a,o.b,!1,null,null,null);l.options.__file="assets/dev/js/shortcodes/QuickNotifications.vue",i.default=l.exports},651:function(t,i,s){"use strict";s.r(i);var o=s(652),a=s.n(o);for(var e in o)"default"!==e&&function(t){s.d(i,t,function(){return o[t]})}(e);i.default=a.a},652:function(t,i,s){"use strict";var o=s(1);Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a={data:function(){return{oTranslation:WILCITY_I18,isShowing:"no",isLoading:"no",needDashboardUrl:"yes",aNotifications:[],errMsg:"",notificationDashboardUrl:"#",countNewNotifications:0,isLoadedCheckUnFocusClick:!1}},components:{BlockLoading:o(s(79)).default},computed:{wrapperNotificationsClass:function(){return"no"==this.isShowing?"header_loginBody__2hz2g":"header_loginBody__2hz2g active"},aCssClass:function(){return"yes"==this.isShowing?"header_loginHead__3HoVP active":"header_loginHead__3HoVP"}},mounted:function(){var t=this;setTimeout(function(){t.fetchNewNotifications(),t.$store.commit("updateTimeout")},this.$store.getters.getTimeout)},methods:{deleteNotification:function(t,i){var s=this;if(!confirm(this.oTranslation.confirmDeleteNotification))return!1;jQuery.ajax({type:"POST",url:WILOKE_GLOBAL.ajaxurl,data:{action:"wilcity_delete_notification",ID:t.ID},success:function(t){t.success?s.aNotifications.splice(i,1):s.errorMsg=t.data.msg}})},fetchNewNotifications:function(){var t=this;jQuery.ajax({type:"POST",url:WILOKE_GLOBAL.ajaxurl,data:{action:"wilcity_count_new_notifications"},success:function(i){t.countNewNotifications=i.data}})},resetNotification:function(){if(this.countNewNotifications<1)return!1;this.countNewNotifications=0,setTimeout(function(){jQuery.ajax({type:"POST",url:WILOKE_GLOBAL.ajaxurl,data:{action:"wilcity_reset_new_notifications"}})},4e3)},hideMenu:function(){this.isShowing="no"},toggleShowing:function(){var t=this;this.isShowing="no"==this.isShowing?"yes":"no",this.isLoadedCheckUnFocusClick||(this.hideWhenOurClick(),this.isLoadedCheckUnFocusClick=!0),this.isLoading="yes",this.errMsg="",this.aNotifications=[],this.resetNotification(),jQuery.ajax({type:"post",url:WILOKE_GLOBAL.ajaxurl,data:{action:"wilcity_fetch_list_notifications",needDashboardUrl:this.needDashboardUrl,limit:5},success:function(i){i.success?(t.aNotifications=i.data.oInfo,"#"===t.notificationDashboardUrl&&(t.notificationDashboardUrl=i.data.dashboardUrl,t.needDashboardUrl="no")):t.errMsg=i.data.msg,t.isLoading="no"}})},hideWhenOurClick:function(){var t=this;jQuery(document).on("click",function(i){"yes"==t.isShowing&&(jQuery(i.target).closest("#"+WHITE_LABEL+"-quick-notifications").length||(t.isShowing="no"))})}}};i.default=a},753:function(t,i,s){"use strict";var o=function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",[s("a",{class:t.aCssClass,attrs:{href:"#","data-toggle-minWidth":"768",dataTooltip:t.oTranslation.notifications,"data-tooltip-placement":"top","data-tooltip-theme":"light"},on:{click:function(i){return i.preventDefault(),t.toggleShowing(i)}}},[s("i",{staticClass:"la la-bell-o"}),s("span",{directives:[{name:"show",rawName:"v-show",value:t.countNewNotifications,expression:"countNewNotifications"}],staticClass:"header_number__1a6F5 bg-color-quaternary"},[t._v(t._s(t.countNewNotifications))])]),t._v(" "),s("div",{class:t.wrapperNotificationsClass},[s("div",{directives:[{name:"show",rawName:"v-show",value:"yes"==t.isLoading,expression:"isLoading=='yes'"}],staticClass:"pos-r",staticStyle:{"min-height":"100px"}},[s("block-loading",{attrs:{"is-loading":t.isLoading,position:"pos-a-center"}})],1),t._v(" "),s("ul",{directives:[{name:"show",rawName:"v-show",value:t.aNotifications.length,expression:"aNotifications.length"}],staticClass:"list-utility_module__32oNg list-none list-utility_abs__OYiyL arrow--top-right"},[t._l(t.aNotifications,function(i){return s("li",{staticClass:"list-utility_list__1DzGk"},[s("a",{staticClass:"list-utility_link__3BRZx",attrs:{href:i.link}},[s("span",{staticClass:"list-utility_remove__1Vlf4 color-primary--hover",attrs:{title:t.oTranslation.deleteMsg},on:{click:function(s){return s.preventDefault(),t.deleteNotification(i,t.order)}}},[s("i",{staticClass:"la la-close"})]),t._v(" "),s("div",{staticClass:"utility-box-1_module__MYXpX utility-box-1_sm__mopok utility-box-1_boxLeft__3iS6b clearfix "},[i.featuredImg?s("div",{staticClass:"utility-box-1_avatar__DB9c_ rounded-circle",style:{"background-image":"url("+i.featuredImg+")"}},[s("img",{attrs:{src:i.featuredImg,alt:i.title}})]):t._e(),t._v(" "),s("div",{staticClass:"utility-box-1_body__8qd9j"},[s("div",{staticClass:"utility-box-1_group__2ZPA2 text-ellipsis"},[i.title?s("h3",{staticClass:"utility-box-1_title__1I925",domProps:{innerHTML:t._s(i.title)}}):t._e(),t._v(" "),s("div",{staticClass:"utility-box-1_content__3jEL7"},[s("span",{domProps:{innerHTML:t._s(i.content)}}),t._v(" "),i.contentHighlight?s("span",{staticClass:"color-dark-1",domProps:{innerHTML:t._s(i.contentHighlight)}}):t._e()])]),t._v(" "),s("div",{staticClass:"utility-box-1_description__2VDJ6"},[s("i",{staticClass:"la la-comments color-primary"}),t._v(" "+t._s(i.time))])])])])])}),t._v(" "),s("li",{directives:[{name:"show",rawName:"v-show",value:t.aNotifications.length,expression:"aNotifications.length"}],staticClass:"list-utility_list__1DzGk"},[s("a",{staticClass:"list-utility_more__2Y_w7 wil-text-center color-primary--hover",attrs:{href:t.notificationDashboardUrl}},[t._v(t._s(t.oTranslation.viewAll))])])],2),t._v(" "),s("ul",{directives:[{name:"show",rawName:"v-show",value:t.errMsg.length,expression:"errMsg.length"}],staticClass:"list-utility_module__32oNg list-none list-utility_abs__OYiyL arrow--top-right"},[s("li",{staticClass:"list-utility_list__1DzGk"},[s("a",{staticClass:"list-utility_link__3BRZx",attrs:{href:"#"}},[s("div",{staticClass:"utility-box-1_module__MYXpX utility-box-1_sm__mopok utility-box-1_boxLeft__3iS6b clearfix"},[s("div",{staticClass:"utility-box-1_body__8qd9j"},[s("div",{staticClass:"utility-box-1_group__2ZPA2 text-ellipsis"},[s("div",{staticClass:"utility-box-1_content__3jEL7",domProps:{innerHTML:t._s(t.errMsg)}})])])])])])])])])},a=[];o._withStripped=!0,s.d(i,"a",function(){return o}),s.d(i,"b",function(){return a})}}]);
[+]
..
[-] vendors~WilAddToCalendar~WilFieldsGroup~WilSearchFormV1.0.js
[edit]
[-] review.min.js
[edit]
[-] 30.min.js
[edit]
[-] WilDateRange.WilDateRange.js
[edit]
[-] 70.min.js
[edit]
[-] 26.min.js
[edit]
[-] 14.14.js
[edit]
[-] map.min.js
[edit]
[-] 66.min.js
[edit]
[-] shortcodes.min.js
[edit]
[-] 91.min.js
[edit]
[-] 24.24.js
[edit]
[-] single-general.min.js
[edit]
[-] WilSingleNavPosts.WilSingleNavPosts.js
[edit]
[-] 51.min.js
[edit]
[-] 11.min.js
[edit]
[-] 2.min.js
[edit]
[-] WilSocialSharingFacebook.WilSocialSharingFacebook.js
[edit]
[-] WilSocialSharingVk.WilSocialSharingVk.js
[edit]
[-] 47.min.js
[edit]
[-] LoginForm.LoginForm.js
[edit]
[-] WilSocialSharingLinkedIn.WilSocialSharingLinkedIn.js
[edit]
[-] 87.min.js
[edit]
[-] vendors~WilMapbox.vendors~WilMapbox.js
[edit]
[-] vendors~UserProfile.vendors~UserProfile.js
[edit]
[-] no-map-search.min.js
[edit]
[-] SearchFormV2.min.js
[edit]
[-] 72.min.js
[edit]
[-] quick-search.min.js
[edit]
[-] WilReviewDiscussionForm.WilReviewDiscussionForm.js
[edit]
[-] .DS_Store
[edit]
[-] 32.min.js
[edit]
[-] 29.min.js
[edit]
[-] WilCheckoutPopup.WilCheckoutPopup.js
[edit]
[-] WilokeStripe.min.js
[edit]
[-] 69.min.js
[edit]
[-] WilAddToCalendar.WilAddToCalendar.js
[edit]
[-] 0.0.js
[edit]
[-] single-event.min.js
[edit]
[-] single-mapbox.min.js
[edit]
[-] WilSocialSharingCopy.WilSocialSharingCopy.js
[edit]
[-] 64.min.js
[edit]
[-] proceedPayment.min.js
[edit]
[-] 24.min.js
[edit]
[-] LoginRegisterPopup.LoginRegisterPopup.js
[edit]
[-] 25.25.js
[edit]
[-] addlisting.min.js
[edit]
[-] 88.min.js
[edit]
[-] 0.min.js
[edit]
[-] 13.min.js
[edit]
[-] 53.min.js
[edit]
[-] vendors~WilFieldsGroup.vendors~WilFieldsGroup.js
[edit]
[-] WilGrid.WilGrid.js
[edit]
[-] WilListingSettingsEditNavigation.WilListingSettingsEditNavigation.js
[edit]
[-] 48.min.js
[edit]
[-] WilBoxesIconItem.WilBoxesIconItem.js
[edit]
[-] WilToggleController.WilToggleController.js
[edit]
[-] WilListingSettingsGeneral.WilListingSettingsGeneral.js
[edit]
[-] 5.5.js
[edit]
[-] 15.15.js
[edit]
[-] WilGridCustomSelectField.WilGridCustomSelectField.js
[edit]
[-] 85.min.js
[edit]
[-] 45.min.js
[edit]
[-] WilPromotionListingStatistic.WilPromotionListingStatistic.js
[edit]
[-] 39.min.js
[edit]
[-] mapbox.min.js
[edit]
[-] 79.min.js
[edit]
[-] 62.min.js
[edit]
[-] WilSingleNavTerm.WilSingleNavTerm.js
[edit]
[-] 22.min.js
[edit]
[-] 74.min.js
[edit]
[-] 17.17.js
[edit]
[-] vendors~WilFieldsGroup~WilSearchFormList.vendors~WilFieldsGroup~WilSearchFormList.js
[edit]
[-] 4.4.js
[edit]
[-] resetPassword.min.js
[edit]
[-] WilReviewDetails.WilReviewDetails.js
[edit]
[-] 34.min.js
[edit]
[-] general.min.js
[edit]
[-] WilokeGoogleMap.min.js
[edit]
[-] WilGoogleMap.WilGoogleMap.js
[edit]
[-] WilIcon.WilIcon.js
[edit]
[-] LoginRegister.min.js
[edit]
[-] WilRestaurantMenuItem.WilRestaurantMenuItem.js
[edit]
[-] 58.min.js
[edit]
[-] 27.27.js
[edit]
[-] UserProfile.UserProfile.js
[edit]
[-] WilCouponPopup.WilCouponPopup.js
[edit]
[-] 18.min.js
[edit]
[-] 83.min.js
[edit]
[-] single-settings-sidebar.min.js
[edit]
[-] 1.1.js
[edit]
[-] single-google-map.min.js
[edit]
[-] 43.min.js
[edit]
[-] customLogin.min.js
[edit]
[-] LostPasswordForm.LostPasswordForm.js
[edit]
[-] 15.min.js
[edit]
[-] 6.min.js
[edit]
[-] 55.min.js
[edit]
[-] WilSingleNavWrapper.WilSingleNavWrapper.js
[edit]
[-] 20.min.js
[edit]
[-] 60.min.js
[edit]
[-] WilCouponListing.WilCouponListing.js
[edit]
[-] 30.30.js
[edit]
[-] WilSocialSharingPinterest.WilSocialSharingPinterest.js
[edit]
[-] 36.min.js
[edit]
[-] WilSingleNavMyProducts.WilSingleNavMyProducts.js
[edit]
[-] vendors~WilDateRange~WilFieldsGroup.vendors~WilDateRange~WilFieldsGroup.js
[edit]
[-] 26.26.js
[edit]
[-] WilSocialSharingTumblr.WilSocialSharingTumblr.js
[edit]
[-] single-listing.min.js
[edit]
[-] 76.min.js
[edit]
[-] activeListItem.min.js
[edit]
[-] 41.min.js
[edit]
[-] FavoriteStatistics.min.js
[edit]
[-] 81.min.js
[edit]
[-] 9.min.js
[edit]
[-] 16.16.js
[edit]
[-] WilListingSettings.WilListingSettings.js
[edit]
[-] WilFavorite.WilFavorite.js
[edit]
[-] 57.min.js
[edit]
[-] 4.min.js
[edit]
[-] 17.min.js
[edit]
[-] WilSocialSharingEmail.WilSocialSharingEmail.js
[edit]
[-] 54.min.js
[edit]
[-] WilokeDirectBankTransfer.min.js
[edit]
[-] dashboard.min.js
[edit]
[-] 7.min.js
[edit]
[-] 14.min.js
[edit]
[-] WilEventDate.WilEventDate.js
[edit]
[-] 28.28.js
[edit]
[-] 19.min.js
[edit]
[-] 82.min.js
[edit]
[-] 12.12.js
[edit]
[-] index.min.js
[edit]
[-] 59.min.js
[edit]
[-] 42.min.js
[edit]
[-] WilReviewAverageRating.WilReviewAverageRating.js
[edit]
[-] WilSocialSharingReddit.WilSocialSharingReddit.js
[edit]
[-] 35.min.js
[edit]
[-] 75.min.js
[edit]
[-] 22.22.js
[edit]
[-] 9.9.js
[edit]
[-] WilSocialSharingDigg.WilSocialSharingDigg.js
[edit]
[-] app.min.js
[edit]
[-] 78.min.js
[edit]
[-] 38.min.js
[edit]
[-] 23.min.js
[edit]
[-] 63.min.js
[edit]
[-] 18.18.js
[edit]
[-] 19.19.js
[edit]
[-] WilGridFeaturedImage.WilGridFeaturedImage.js
[edit]
[-] WilGridTerm.WilGridTerm.js
[edit]
[-] 16.min.js
[edit]
[-] 5.min.js
[edit]
[-] bundle.min.js
[edit]
[-] WilEventWeekly.WilEventWeekly.js
[edit]
[-] MagnificGalleryPopup.min.js
[edit]
[-] 56.min.js
[edit]
[-] WilBoxesColorItems.WilBoxesColorItems.js
[edit]
[-] RegisterForm.RegisterForm.js
[edit]
[-] WilSingleNavPhotos.WilSingleNavPhotos.js
[edit]
[-] 40.min.js
[edit]
[-] 3.3.js
[edit]
[-] 23.23.js
[edit]
[-] 80.min.js
[edit]
[-] vendors~WilGoogleMap.vendors~WilGoogleMap.js
[edit]
[-] 8.min.js
[edit]
[-] WilCountdown.WilCountdown.js
[edit]
[-] AppleLogin.AppleLogin.js
[edit]
[-] vendors~WilAddToCalendar~WilSearchFormV1.vendors~WilAddToCalendar~WilSearchFormV1.js
[edit]
[-] 6.6.js
[edit]
[-] 13.13.js
[edit]
[-] 77.min.js
[edit]
[-] 37.min.js
[edit]
[-] 29.29.js
[edit]
[-] 61.min.js
[edit]
[-] WilokePayPal.min.js
[edit]
[-] 21.min.js
[edit]
[-] WilFieldsGroup.WilFieldsGroup.js
[edit]
[-] WilMapbox.WilMapbox.js
[edit]
[-] WilReviewDiscussionItem.WilReviewDiscussionItem.js
[edit]
[-] 46.min.js
[edit]
[-] WilReviewDetail.WilReviewDetail.js
[edit]
[-] becomeAnAuthor.min.js
[edit]
[-] 86.min.js
[edit]
[-] WilSearchFormPriceRange.WilSearchFormPriceRange.js
[edit]
[-] WilGridAverageRating.WilGridAverageRating.js
[edit]
[-] 90.min.js
[edit]
[-] 11.11.js
[edit]
[-] WilSocialSharingTwitter.WilSocialSharingTwitter.js
[edit]
[-] 3.min.js
[edit]
[-] 10.min.js
[edit]
[-] 7.7.js
[edit]
[-] 50.min.js
[edit]
[-] 67.min.js
[edit]
[-] 2.2.js
[edit]
[-] WilListingSettingsSidebar.WilListingSettingsSidebar.js
[edit]
[-] 27.min.js
[edit]
[-] vendors~WilCountdown.vendors~WilCountdown.js
[edit]
[-] 21.21.js
[edit]
[-] HeroSearchForm.min.js
[edit]
[-] WilSingleNavCustomContent.WilSingleNavCustomContent.js
[edit]
[-] SocialsLogin.SocialsLogin.js
[edit]
[-] WilokeSubmissionCouponCode.min.js
[edit]
[-] Follow.min.js
[edit]
[-] default~WilGoogleMap~WilMapbox.default~WilGoogleMap~WilMapbox.js
[edit]
[-] WilMessageBtn.WilMessageBtn.js
[edit]
[-] WilReportPopup.WilReportPopup.js
[edit]
[-] WilGridSkeleton.WilGridSkeleton.js
[edit]
[-] WilMessagePopup.WilMessagePopup.js
[edit]
[-] WilSocialSharingStumbleupon.WilSocialSharingStumbleupon.js
[edit]
[-] 71.min.js
[edit]
[-] 31.min.js
[edit]
[-] vendors~VueGallerySlideshow.vendors~VueGallerySlideshow.js
[edit]
[-] 84.min.js
[edit]
[-] WilSearchFormV1.WilSearchFormV1.js
[edit]
[-] SearchFormV1.min.js
[edit]
[-] vendors~WilGoogleMap~WilMapbox.vendors~WilGoogleMap~WilMapbox.js
[edit]
[-] WilSearchFormList.WilSearchFormList.js
[edit]
[-] 44.min.js
[edit]
[-] WilLayoutSwitch.WilLayoutSwitch.js
[edit]
[-] WilSingleNavContent.WilSingleNavContent.js
[edit]
[-] WilSocialSharingWhatsapp.WilSocialSharingWhatsapp.js
[edit]
[-] WilGridItem.WilGridItem.js
[edit]
[-] 52.min.js
[edit]
[-] 89.min.js
[edit]
[-] 12.min.js
[edit]
[-] 1.min.js
[edit]
[-] 20.20.js
[edit]
[-] WilFavoriteBtn.WilFavoriteBtn.js
[edit]
[-] 92.min.js
[edit]
[-] WilSingleNavVideos.WilSingleNavVideos.js
[edit]
[-] WilCommentForm.WilCommentForm.js
[edit]
[-] 8.8.js
[edit]
[-] 49.min.js
[edit]
[-] WilPromotionBtn.WilPromotionBtn.js
[edit]
[-] WilSocialSharingLists.WilSocialSharingLists.js
[edit]
[-] WilSingleListProducts.WilSingleListProducts.js
[edit]
[-] googlemap.min.js
[edit]
[-] WilQuickSearchFormPopup.WilQuickSearchFormPopup.js
[edit]
[-] vendors~single-general.min.js
[edit]
[-] 10.10.js
[edit]
[-] 25.min.js
[edit]
[-] WilSingleProductTwo.WilSingleProductTwo.js
[edit]
[-] 65.min.js
[edit]
[-] RegisterLogin.RegisterLogin.js
[edit]
[-] 33.min.js
[edit]
[-] 73.min.js
[edit]
[-] vendors~WilSearchFormV1.vendors~WilSearchFormV1.js
[edit]
[-] 68.min.js
[edit]
[-] 28.min.js
[edit]