1jQuery(document).ready(function(){var success=!1;if(Cookies.get("country_code")){var crntCntry_cookie=Cookies.get("country_code");crntCntry_cookie=="HK"?(setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".hk-shipping").show()},5e3),jQuery(".contact-locationHK").show(),jQuery(".contact-phoneHK").show(),jQuery(".shippingHK").show(),jQuery(".sing_guide").hide(),jQuery(".us_guide").show()):crntCntry_cookie=="MY"?(setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".my-shipping").show()},5e3),jQuery(".contact-locationMY").show(),jQuery(".contact-phoneMY").show(),jQuery(".shippingMY").show(),jQuery(".sing_guide").hide(),jQuery(".us_guide").show()):crntCntry_cookie=="ID"?(setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".id-shipping").show()},5e3),jQuery(".contact-locationID").show(),jQuery(".contact-phoneID").show(),jQuery(".shippingID").show(),jQuery(".sing_guide").hide(),jQuery(".us_guide").show()):crntCntry_cookie=="TW"?(setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".tw-shipping").show()},5e3),jQuery(".contact-locationTW").show(),jQuery(".contact-phoneTW").show(),jQuery(".shippingTW").show(),jQuery(".sing_guide").hide(),jQuery(".us_guide").show()):crntCntry_cookie=="AU"?(setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".au-shipping").show()},5e3),jQuery(".contact-locationAU").show(),jQuery(".contact-phoneAU").show(),jQuery(".shippingAU").show(),jQuery(".sing_guide").hide(),jQuery(".us_guide").show()):crntCntry_cookie=="BN"?(setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".bn-shipping").show()},5e3),jQuery(".contact-locationBN").show(),jQuery(".contact-phoneBN").show(),jQuery(".shippingBN").show(),jQuery(".sing_guide").hide(),jQuery(".us_guide").show()):crntCntry_cookie=="SG"?(jQuery(".contact-locationSG").show(),jQuery(".contact-phoneSG").show(),jQuery(".shippingSG").show(),jQuery(".sing_guide").show(),jQuery(".us_guide").hide()):(setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".global-shipping").show()},5e3),jQuery(".contact-location").show(),jQuery(".contact-phone").show(),jQuery(".shipping").show(),jQuery(".sing_guide").hide(),jQuery(".us_guide").show()),$("body").on("DOMSubtreeModified","#sidebar-cart form.Drawer__Content",function(){crntCntry_cookie=="HK"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".hk-shipping").show()},500):crntCntry_cookie=="MY"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".my-shipping").show()},500):crntCntry_cookie=="ID"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".id-shipping").show()},500):crntCntry_cookie=="TW"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".tw-shipping").show()},500):crntCntry_cookie=="AU"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".au-shipping").show()},500):crntCntry_cookie=="BN"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".bn-shipping").show()},500):setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".global-shipping").show()},500)}),jQuery(".Drawer__Content").bind("contentchanged",function(){crntCntry_cookie=="HK"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".hk-shipping").show()},1500):crntCntry_cookie=="MY"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".my-shipping").show()},1500):crntCntry_cookie=="ID"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".id-shipping").show()},1500):crntCntry_cookie=="TW"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".tw-shipping").show()},1500):crntCntry_cookie=="AU"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".au-shipping").show()},1500):crntCntry_cookie=="BN"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".bn-shipping").show()},1500):setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".global-shipping").show()},1500)}),jQuery(document).on("click",".Drawer__Content",function(){jQuery(".Drawer__Content").trigger("contentchanged")}),jQuery(".shopify-section-IPAPI-bar").find(".section").each(function(){var dataSectionCounty=jQuery(this).attr("data-section-county");
1crntCntry_cookie=="HK"||crntCntry_cookie=="MY"||crntCntry_cookie=="ID"||crntCntry_cookie=="TW"||crntCntry_cookie=="AU"||crntCntry_cookie=="BN"?(jQuery("body").attr("country-selected","FROM SELECTED 6 - "+crntCntry_cookie),crntCntry_cookie==dataSectionCounty?jQuery(this).show():jQuery(this).remove()):(jQuery("body").attr("country-selected","FROM GLOBAL COUNTRY - "+crntCntry_cookie),jQuery(".shopify-section-IPAPI-bar").find(".County-Not-GLOBAL").remove(),jQuery(".shopify-section-IPAPI-bar").find(".County-GLOBAL").show())})}else{var crntCntry=null;$.getJSON("http://ipapi.co/json",function(data){var crntCntry_a=data.country;Cookies.set("country_code",crntCntry_a,{expires:30,path:""});var crntCntry2=Cookies.get("country_code");jQuery(".shopify-section-IPAPI-bar").find(".section").each(function(){var dataSectionCounty=jQuery(this).attr("data-section-county");crntCntry2=="HK"||crntCntry2=="MY"||crntCntry2=="ID"||crntCntry2=="TW"||crntCntry2=="AU"||crntCntry2=="BN"?(jQuery("body").attr("country-selected","FROM SELECTED 6 - "+crntCntry2),crntCntry2==dataSectionCounty?jQuery(this).show():jQuery(this).remove()):(jQuery("body").attr("country-selected","FROM GLOBAL COUNTRY - "+crntCntry2),jQuery(".shopify-section-IPAPI-bar").find(".County-Not-GLOBAL").remove(),jQuery(".shopify-section-IPAPI-bar").find(".County-GLOBAL").show())}),success=!0,jQuery(".shopify-section-IPAPI-bar").removeClass(".global-type-main-yes-GLOBAL")}),setTimeout(function(){success||(console.log("IPAPI Yup, 404"),jQuery(".shopify-section-IPAPI-bar").addClass("global-type-main-yes-GLOBAL"))},600),crntCntry=="HK"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".hk-shipping").show()},5e3):crntCntry=="MY"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".my-shipping").show()},5e3):crntCntry=="ID"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".id-shipping").show()},5e3):crntCntry=="TW"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".tw-shipping").show()},5e3):crntCntry=="AU"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".au-shipping").show()},5e3):crntCntry=="BN"?setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".bn-shipping").show()},5e3):setTimeout(function(){jQuery(".custom_shipping_currency").hide(),jQuery(".global-shipping").show()},5e3)}}),jQuery(document).on("click",".info_click_1",function(){jQuery(".custom_1_pop").show()}),jQuery(document).on("click",".info_click_2",function(){jQuery(".custom_2_pop").show()}),jQuery(window).on("load",function(){setInterval(function(){jQuery(".shopify-section-IPAPI-bar").show()},1500),jQuery('section#section-announcement[data-section-county="HK"]').attr("style")=="display: block;"&&jQuery('section#section-announcement[data-section-county="MY"]').attr("style")=="display: block;"&&jQuery('section#section-announcement[data-section-county="ID"]').attr("style")=="display: block;"&&jQuery('section#section-announcement[data-section-county="TW"]').attr("style")=="display: block;"&&jQuery('section#section-announcement[data-section-county="AU"]').attr("style")=="display: block;"&&jQuery('section#section-announcement[data-section-county="BN"]').attr("style")=="display: block;"&&(console.log("hidden"),jQuery("section.County-Not-GLOBAL.section").addClass("hide hidden hide_hidden"))});
2//# sourceMappingURL=/cdn/shop/t/41/assets/ipapi-jtpl.js.map?v=106726679046716479601667365534
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.