PageSourceSearch

https://cdn-aitg.widerplanet.com/js/wp_astg_npay.js

js widerplanet.com collected 2026-09-24 10:23:28 UTC 2,462 bytes, 1 lines download raw bytes

1"use strict";!function(e){function t(t){var n,o,a,r,c="",i=t.length,s=0,p=0;for(e.IS_WP_DEBUG&&console.log("getItemQuery",t),n=0;n<i;n++)if(o=t[n],o.i){o.t||(o.t=o.i);for(r in o)if(a=o[r],"function"==typeof a){switch(r){case"q":s=a();break;case"p":p=a()}c+="&"+r+(n+1)+"="+a()}else{switch(r){case"q":s=a;break;case"p":p=a}c+="&"+r+(n+1)+"="+encodeURIComponent(a)}}return s>0&&p>0?c:""}function n(n,c){var s=r(),p="";s&&(p=a());var _=p||o("_wp_uid"),l="https://astg.widerplanet.com/delivery/wpc.php?v=1&ver=npay&r=1&md=bs",u=!!/(mobile|android)/gi.test(navigator.userAgent);l+="&ti="+n,l+="&ty=PurchaseComplete",l+="&device="+(u?"mobile":"web"),l+=document.charset?"&charset="+document.charset:parent.document.characterSet?"&charset="+parent.document.characterSet:"",l+="&tc="+(new Date).getTime();var m=t(c);if(!m)return void(e.IS_WP_DEBUG&&console.log("전환상품이 없어 무시",n,c));if(i===m)return void(e.IS_WP_DEBUG&&console.log("동일한 상품으로 이미 wpc 호출하여 무시",n,c));i=m,l+=m,_&&(l+="&wp_uid="+encodeURIComponent(_)),"undefined"!=typeof amver&&null!=amver&&(l+="&amver="+amver),e.IS_WP_DEBUG&&console.log("WPC 호출",l);var d=document.createElement("script");d.src=l,document.body.appendChild(d)}function o(e){for(var t=e+"=",n=document.cookie.split(";"),o=0;o<n.length;o++){for(var a=n[o];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(t))return a.substring(t.length,a.length)}return""}function a(){var e="";try{e=localStorage.getItem("_wp_uid"),e&&0===e.indexOf("2-")&&(e=decodeURIComponent(e))}catch(t){}return e}function r(){var e,t=!1;try{localStorage&&"function"==typeof localStorage.setItem&&(localStorage.setItem("_wp_uid_tmp","a"),e=localStorage.getItem("_wp_uid_tmp"),localStorage.removeItem("_wp_uid_tmp"),"a"===e&&(t=!0))}catch(n){}return t}function c(t,o){var a=document.getElementsByClassName("npay_btn_pay");if(!(s>10)){if(e.IS_WP_DEBUG&&console.log("NPAY 버튼찾기",s),a&&a[0]&&a[0].getElementsByTagName)return void a[0].addEventListener("click",function(e){n(t,o)});s++,setTimeout(function(){c(t,o)},500)}}if("function"==typeof document.createElement){var i="",s=0;try{if(e.wpts_pay_q=e.wpts_pay_q||[],e.wpts_pay_q&&e.wpts_pay_q.length>0){var p=wpts_pay_q[0];e.IS_WP_DEBUG&&console.log("wpts_pay_q 대기열 처리:",p),c(p.ti,p.items),e.wpts_pay_q=[]}e.wpts_pay_q.push=function(t){e.IS_WP_DEBUG&&console.log("wpts_pay_q 푸시됨:",t),c(t.ti,t.items)}}catch(_){e.IS_WP_DEBUG&&console.log(_)}}}(window);

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.