PageSourceSearch

https://parturikampaamoclou.com/wp-content/plugins/wish-list-for-w…rc_js_modules_multi-wishlist_js.8b31e2d3.js

js parturikampaamoclou.com collected 2026-10-08 06:22:00 UTC 5,147 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["src_js_modules_multi-wishlist_js"],{892:i=>{var s=jQuery,t={defaults:{algwcwishlistmodal:".js-algwcwishlistmodal",algwcwishlistmodalBtn:".alg-wc-wl-toggle-btn",algwcwishlistmodalThumbBtn:".alg-wc-wl-thumb-btn,.alg-wc-wl-thumb-btn-shortcode-wrapper .alg-wc-wl-btn",algwcwishlistmodalBtnClose:".js-algwcwishlistmodal-btn-close",algwcwishlistmodalContainer:".js-algwcwishlistmodal-container",algwcwishlistmodalOverlay:".js-algwcwishlistmodal-overlay",algwcwishlistmodalCreate:".js-algwcwishlistmodal-btn-create",algwcwishlistmodalSaveWishlist:".js-algwcwishlistmodal-btn-save-wishlist",algwcwishlistmodalSave:".js-algwcwishlistmodal-btn-save",algwcwishlistmodalCancel:".js-algwcwishlistmodal-btn-cancel",algwcwishlistmodalForm:".create-wishlist-form",algwcwishlistmodalSelect:".select-wishlist",algwcwishlistContainer:".algwc-wishlist-collections-wrapper",algwcwishlistDeleteWishlist:".delete-customized-wishlist"},init:function(i){this.settings=s.extend({},this.defaults,i),this.bindEvents()},isTouchScreen:function(){return window.matchMedia("(pointer: coarse)").matches},bindEvents:function(){var i=this,t=i.settings,l=i.isTouchScreen()?alg_wc_wl_ajax.toggle_item_events.touchscreen.join(" "):alg_wc_wl_ajax.toggle_item_events.default.join(" ");s(document).on("click",t.algwcwishlistmodalBtn,(function(){i.openModal();var t=s(this).data("item_id");s("#wishlist_form_product_id").val(t),i.loadWishlist(),s("input#wishlist_name").val("")})),s(document).on(l,t.algwcwishlistmodalThumbBtn,(function(){if("yes"===alg_wc_wl_ajax.allow_unlogged_user_add_remove){i.openModal();var t=s(this).data("item_id");s("#wishlist_form_product_id").val(t),i.loadWishlist(),s("input#wishlist_name").val("")}})),s(document).on("click",t.algwcwishlistmodalBtnClose,(function(){i.closeModal()})),s(document).on("click",t.algwcwishlistmodalContainer,(function(){i.closeModal()})),s(document).on("click",t.algwcwishlistmodalCreate,(function(){i.hideSelect(),i.showForm()})),s(document).on("click",t.algwcwishlistmodalCancel,(function(){i.showSelect(),i.hideForm()})),s(document).on("click",t.algwcwishlistmodalSave,(function(){var t=i.getSaveWishlistData();s.post(alg_wc_wl.ajaxurl,t,(function(t){t.success&&(i.showSelect(),i.hideForm(),i.loadWishlist(),s("input#wishlist_name").val(""))}))})),s(document).on("click",t.algwcwishlistmodalSaveWishlist,(function(){var t=i.getSaveMultipleWishlistItemData(),l=s(alg_wc_wl_toggle_btn.btn_class+'[data-item_id="'+t.item_id+'"]');s.post(alg_wc_wl.ajaxurl,t,(function(s){s.success&&(i.closeModal(),window.alg_wc_wish_list.show_notification(s),l.removeClass("remove add"),"removed"===s.data.added_or_removed?l.addClass("add"):"added"===s.data.added_or_removed&&l.addClass("remove"))}))})),s(document).on("click",t.algwcwishlistDeleteWishlist,(function(){var t=i.getDeleteWishlistData();s.post(alg_wc_wl.ajaxurl,t,(function(i){i.success&&(window.location.href=i.data.redirect_url)}))})),s(document).on("click",t.algwcwishlistmodal,(function(i){i.stopPropagation()}))},getSaveWishlistData:function(){return{action:alg_wc_wl_ajax.action_save_wishlist,security:alg_wc_wl_ajax.nonce,value:s("input#wishlist_name").val()}},getSaveMultipleWishlistItemData:function(){var i=[];return s("input.whichlist-check:checkbox:checked").each((function(){i.push(s(this).val())})),{action:alg_wc_wl_ajax.action_save_multiple_wishlist,security:alg_wc_wl_ajax.nonce,value:i,item_id:s("#wishlist_form_product_id").val()}},getDeleteWishlistData:function(){var i=s(".delete-customized-wishlist");return{action:alg_wc_wl_ajax.action_delete_multiple_wishlist,security:alg_wc_wl_ajax.nonce,wishlist_tab_id:i.data("wishlist_tab_id"),wishlist_page_id:i.data("page")}},loadWishlist:function(){var i=this.settings;s(i.algwcwishlistContainer).html('<li><i class="loading fas fa-sync-alt fa-spin fa-fw"></i></li>'),s.post(alg_wc_wl.ajaxurl,{action:alg_wc_wl_ajax.action_get_multiple_wishlist,security:alg_wc_wl_ajax.nonce,item_id:s("#wishlist_form_product_id").val()},(function(t){t.success&&s(i.algwcwishlistContainer).html(t.data.list_html)}))},show:function(){s(this.settings.algwcwishlistmodal).addClass("is-open")},hide:function(){s(this.settings.algwcwishlistmodal).removeClass("is-open")},showContainer:function(){s(this.settings.algwcwishlistmodalContainer).addClass("is-open")},hideContainer:function(){s(this.settings.algwcwishlistmodalContainer).removeClass("is-open")},showOverlay:function(){s(this.settings.algwcwishlistmodalOverlay).addClass("is-open")},hideOverlay:function(){s(this.settings.algwcwishlistmodalOverlay).removeClass("is-open")},showSelect:function(){s(this.settings.algwcwishlistmodalSelect).removeClass("is-hidden")},hideSelect:function(){s(this.settings.algwcwishlistmodalSelect).addClass("is-hidden")},showForm:function(){s(this.settings.algwcwishlistmodalForm).removeClass("is-hidden")},hideForm:function(){s(this.settings.algwcwishlistmodalForm).addClass("is-hidden")},openModal:function(){var i=this;setTimeout((function(){i.show(),i.showContainer(),i.showOverlay()}),10)},closeModal:function(){this.hide(),this.hideContainer(),this.hideOverlay()}};i.exports=t}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.