PATH:
home
/
lab2454c
/
costbloc.com
/
public
/
dist
/
js
/
custom
/
site
"use strict";function clickOnSaveForm(a=null,b=null,c=[],d=null,e=null){$.ajax({type:b,url:SITE_URL+a,data:c,dataType:"JSON",contentType:!1,cache:!1,processData:!1,success:function(a){const b=Swal.mixin({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,timerProgressBar:!0,didOpen:a=>{a.addEventListener("mouseenter",Swal.stopTimer),a.addEventListener("mouseleave",Swal.resumeTimer)}});1==a.status?(null!=d&&0<d.length?b.fire({icon:"success",title:jsLang(d)}):b.fire({icon:"success",title:jsLang("Successfully Saved")}),null!=e&&0<e.length&&(window.location.href=SITE_URL+e)):typeof(a.error!=null)?b.fire({icon:"error",title:a.error}):b.fire({icon:"error",title:jsLang("Something went wrong, please try again.")})}})}function setCookie(a,b,c){const e=new Date;e.setTime(e.getTime()+1e3*(60*(60*(24*c))));let d="expires="+e.toUTCString();document.cookie=a+"="+b+";"+d+";path=/"}function getCookie(a){let b=a+"=",d=document.cookie.split(";");for(let e,c=0;c<d.length;c++){for(e=d[c];" "==e.charAt(0);)e=e.substring(1);if(0==e.indexOf(b))return e.substring(b.length,e.length)}return""}setTimeout(function(){getCookie("cookiePermission")||$(".cookies-modal").show()},500);function cookiesModalHidden(){setCookie("cookiePermission",!0,30),$(".cookies-modal").hide()}if($(".main-body .page-wrapper").find("#user-dashboard-container").length){$("#removeWelcome").on('click',function(){$.ajax({url:SITE_URL+"/user/hide-welcome-message",type:"GET"})});var currentTime=new Date,hours=currentTime.getHours();1<=hours&&11>=hours?$(".welcome-message").text(jsLang("Good Morning")):11<hours&&14>=hours?$(".welcome-message").text(jsLang("Good Noon")):14<hours&&17>=hours?$(".welcome-message").text(jsLang("Good Afternoon")):$(".welcome-message").text(jsLang("Good Evening"))}
[-] checkout.js
[edit]
[-] be-seller.min.js
[edit]
[-] res-filter.min.js
[edit]
[-] sign_up.js
[edit]
[-] wishlist.min.js
[edit]
[-] filter.min.js
[edit]
[-] home.js
[edit]
[-] notification-popup.js
[edit]
[-] order-track.js
[edit]
[-] notification-popup.min.js
[edit]
[-] wishlist.js
[edit]
[-] description-tabs.js
[edit]
[-] vendor-profile.js
[edit]
[-] seller-registration.min.js
[edit]
[-] formatting.min.js
[edit]
[-] product-details.js
[edit]
[+]
..
[-] cart.min.js
[edit]
[-] be-seller.js
[edit]
[-] animation.min.js
[edit]
[-] product-view.min.js
[edit]
[-] address.js
[edit]
[-] lang.js
[edit]
[-] alpine.js
[edit]
[-] product-details.min.js
[edit]
[-] common.min.js
[edit]
[-] res-filter.js
[edit]
[-] order-track.min.js
[edit]
[-] common.js
[edit]
[-] drawer.js
[edit]
[-] seller.min.js
[edit]
[-] settings.js
[edit]
[-] checkout.min.js
[edit]
[-] coupon.js
[edit]
[-] login.js
[edit]
[-] seller.js
[edit]
[-] user_download.js
[edit]
[-] site.min.js
[edit]
[-] lang.min.js
[edit]
[-] seller-registration.js
[edit]
[-] password-validation.js
[edit]
[-] drawer.min.js
[edit]
[-] login.min.js
[edit]
[-] delivery-address.min.js
[edit]
[-] home.min.js
[edit]
[-] compare.js
[edit]
[-] description-tabs.min.js
[edit]
[-] all-categories.min.js
[edit]
[-] flatpickr.min.js
[edit]
[-] filter.js
[edit]
[-] cart.js
[edit]
[-] site.js
[edit]
[-] compare.min.js
[edit]
[-] animation.js
[edit]
[-] user_download.min.js
[edit]
[-] settings.min.js
[edit]
[-] vendor-profile.min.js
[edit]
[-] product-view.js
[edit]
[-] password-validation.min.js
[edit]
[-] address.min.js
[edit]
[-] formatting.js
[edit]
[-] coupon.min.js
[edit]
[-] delivery-address.js
[edit]
[-] sign_up.min.js
[edit]
[-] all-categories.js
[edit]