PageSourceSearch

https://www.theentertainerme.com/js/main_v2.js?v=1785170799

js theentertainerme.com collected 2026-09-24 09:48:43 UTC 5,733 bytes, 1 lines download raw bytes

1"use strict";function ajaxRequest(t,e,a,n){jQuery.ajax({data:t,dataType:"json",success:function(t){"function"==typeof n&&n(t)},statusCode:{500:function(){if("function"==typeof n){n({success:!1})}}},type:e,url:a})}var Shop={addToCart:function(t,e,a,n,r,o,i){var c={id:t,quantity:void 0!==e?e:1};""!=a&&(c._iet=a),r&&(c._gf=r),o&&(c._noChr=o),""!=n&&(c._addOn=n),jQuery.ajax({data:c,dataType:"json",success:function(t){"function"==typeof i&&i(t)},type:"get",url:"/cart/addproduct"})},validateCart:function(t){jQuery.ajax({data:{},dataType:"json",success:function(e){"function"==typeof t&&t(e)},type:"get",url:"/cart/get-count"})},applePay:function(t,e,a,n,r,o,s){var i={amount:t,payment_data:e,payment_type:a,payment_id:n,card_info:r,payment_gateway:o};jQuery.ajax({data:i,dataType:"json",success:function(t){"function"==typeof s&&s(t)},type:"get",url:"/cart/confirm-order-apple-pay"})},logErrorApplePay:function(t,e,a,n){var r={payment_type:t,payment_id:e,card_info:a};jQuery.ajax({data:r,dataType:"json",success:function(t){"function"==typeof n&&n(t)},type:"get",url:"/cart/error-log-apple-pay"})},confirmOrder:function(t,e,a,n,r){ajaxRequest({token:t,name:e,walletPayment:a,saveWallet:n},"post","/cart/confirm-order",r)},changeAmount:function(t,e,a){var n={id:t,quantity:e};jQuery.ajax({data:n,dataType:"json",success:function(t){"function"==typeof a&&a(t)},type:"post",url:"/cart/change-quantity"})},updateDemographicsEntertainer:function(t,e,a,n){var r={dob:t,nationality:e,gender:a};jQuery.ajax({data:r,dataType:"json",success:function(t){"function"==typeof n&&n(t)},statusCode:{500:function(){if("function"==typeof n){n({success:!1})}}},type:"get",url:"/default/user-profile-update-entertainer"})},updateDemographics:function(t,e,a,n,r){var o={dob:t,nationality:e,gender:a,is_cheer:void 0!==n?n:"false"};jQuery.ajax({data:o,dataType:"json",success:function(t){"function"==typeof r&&r(t)},statusCode:{500:function(){if("function"==typeof r){r({success:!1})}}},type:"get",url:"/default/user-profile-update"})},leftPad:function(t){var e=t+"";return e<10&&(e=0+e),e}},DotPlant={setPreference:function(t,e){return jQuery.ajax({data:{key:t,value:e},dataType:"json",success:function(t){return location.reload(!0),!1},url:"/user-preferences/set"}),!1},setCookie:function(t,e,a,n,r,o){a instanceof Date?a=a.toGMTString():"number"==typeof a&&(a=new Date(+new Date+1e3*a).toGMTString());var i,c,s=[t+"="+escape(e)];for(c in i={expires:a,path:n,domain:r})i[c]&&s.push(c+"="+i[c]);return o&&s.push("secure"),document.cookie=s.join(";"),!0},getCookie:function(t){var e=document.cookie.match(new RegExp("(?:^|; )"+t.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return e?decodeURIComponent(e[1]):void 0}},Order={getDeliveryPrice:function(t){var e=this;$.ajax({data:{shipping_option_id:t},dataType:"json",success:function(t){e.setContentDeliveryPrice(t)},type:"post",url:"/cart/get-delivery-price"})},setContentDeliveryPrice:function(t){!0===t.success&&($(".shipping-data .name").html(t.name),$(".shipping-data .price").html(t.shipping_price+" "+t.currency),$(".total-price").html(t.full_price),$(".shipping-data").show())},setCartAddress:function(t,e,a){var n={billing_address:t,shipping_address:e};jQuery.ajax({data:n,dataType:"json",success:function(t){"function"==typeof a&&a(t)},type:"post",url:"/cart/add-billing-address"})},setCartShippingAddress:function(t,e){var a={shipping_address:t};jQuery.ajax({data:a,dataType:"json",success:function(t){"function"==typeof e&&e(t)},type:"post",url:"/cart/add-shipping-address"})},setNewCartAddress:function(t,e){jQuery.ajax({data:t,dataType:"json",success:function(t){"function"==typeof e&&e(t)},type:"post",url:"/cart/add-new-address"})},setCartDeliveryInstruction:function(t,e){var a={delivery_instruction:t};jQuery.ajax({data:a,dataType:"json",success:function(t){"function"==typeof e&&e(t)},type:"post",url:"/cart/add-delivery-instruction"})},setCartPaymentType:function(t,e){jQuery.ajax({data:t,dataType:"json",success:function(t){"function"==typeof e&&e(t)},type:"post",url:"/cart/add-payment"})},setCartConfirmOrder:function(t,e){var a=t;jQuery.ajax({data:a,dataType:"json",success:function(t){"function"==typeof e&&e(t)},type:"post",url:"/cart/confirm-order"})},setCartConfirmOrderMobile:function(t){jQuery.ajax({data:{},dataType:"json",success:function(e){"function"==typeof t&&t(e)},type:"get",url:"/shop/confirm-order/checkout.php"})}};jQuery(function(){jQuery("#print-page").click(function(){return window.print(),!1}),jQuery("[data-action=delete]").click(function(){var t=jQuery(this);return jQuery.ajax({dataType:"json",success:function(t){t.success&&location.reload()},url:t.data("url")}),!1}),jQuery('[data-action="add-to-cart"]').click(function(){var t=jQuery(this),e=void 0!==t.attr("data-quantity")?parseFloat(t.attr("data-quantity")):1;return(isNaN(e)||e<1)&&(e=1),Shop.addToCart(t.attr("data-id"),e,function(e){var a=jQuery("#cart-info-widget");a.find(".total-price").text(e.totalPrice),a.find(".items-count").text(e.itemsCount);var n=jQuery(t.closest('div[itemtype="http://schema.org/Product"]'));
1n.length&&n.clone().offset({top:n.offset().top,left:n.offset().left}).css({opacity:"0.2",position:"absolute",background:"white","z-index":"1000",transform:"scale(0.5,0.5)"}).appendTo($("body")).animate({top:a.offset().top+10,left:a.offset().left+30,width:50,height:50},1e3,"linear").animate({width:0,height:0},function(){jQuery(this).detach()});return!1}),!1}),jQuery("[data-dotplant-listViewType]").click(function(){var t=jQuery(this);return DotPlant.setPreference("listViewType",t.data("dotplantListviewtype")),!1}),jQuery("select[data-userpreference]").change(function(){var t=jQuery(this);return DotPlant.setPreference(t.data("userpreference"),t.val()),!1})});

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.