PageSourceSearch

https://global.one.yomiuri.co.jp/ssc-ym-client.v2.0.js?endpoint=

js yomiuri.co.jp collected 2026-09-24 08:00:02 UTC 12,519 bytes, 1 lines download raw bytes

1!function(){var config={gtd_start:{name:"gtd_start",expire:7},fp:{cookieOld:"_td_ssc_id",cookieNew:"one_td_ssc_id"},tp:{targetOrigin:"https://global.one.yomiuri.co.jp",cookieOld:"_td_global",cookieNew:"one_td_global",cookieDomain:"yomiuri.co.jp"}};var e={227:function(e,n,t){function r(){var e;try{e=n.storage.debug}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(n=e.exports=t(658)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(e){var t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+n.humanize(this.diff),!t)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))})),e.splice(i,0,r)},n.save=function(e){try{null==e?n.storage.removeItem("debug"):n.storage.debug=e}catch(e){}},n.load=r,n.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),n.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],n.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},n.enable(r())},658:function(e,n,t){var r;function o(e){function t(){if(t.enabled){var e=t,o=+new Date,i=o-(r||o);e.diff=i,e.prev=r,e.curr=o,r=o;for(var a=new Array(arguments.length),c=0;c<a.length;c++)a[c]=arguments[c];a[0]=n.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var s=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(function(t,r){if("%%"===t)return t;s++;var o=n.formatters[r];if("function"==typeof o){var i=a[s];t=o.call(e,i),a.splice(s,1),s--}return t})),n.formatArgs.call(e,a);var u=t.log||n.log||console.log.bind(console);u.apply(e,a)}}return t.namespace=e,t.enabled=n.enabled(e),t.useColors=n.useColors(),t.color=function(e){var t,r=0;for(t in e)r=(r<<5)-r+e.charCodeAt(t),r|=0;return n.colors[Math.abs(r)%n.colors.length]}(e),"function"==typeof n.init&&n.init(t),t}(n=e.exports=o.debug=o.default=o).coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){n.enable("")},n.enable=function(e){n.save(e),n.names=[],n.skips=[];for(var t=("string"==typeof e?e:"").split(/[\s,]+/),r=t.length,o=0;o<r;o++)t[o]&&("-"===(e=t[o].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")))},n.enabled=function(e){var t,r;for(t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=t(824),n.names=[],n.skips=[],n.formatters={}},808:function(e,n,t){var r,o;!function(i){if(void 0===(o="function"==typeof(r=i)?r.call(n,t,n,e):r)||(e.exports=o),!0,e.exports=i(),!!0){var a=window.Cookies,c=window.Cookies=i();c.noConflict=function(){return window.Cookies=a,c}}}((function(){function e(){for(var e=0,n={};e<arguments.length;e++){var t=arguments[e];for(var r in t)n[r]=t[r]}return n}function n(e){return e.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent)}return function t(r){function o(){}function i(n,t,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(t);/^[\{\[]/.test(a)&&(t=a)}catch(e){}t=r.write?r.write(t,n):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=encodeURIComponent(String(n)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var c="";for(var s in i)i[s]&&(c+="; "+s,!0!==i[s]&&(c+="="+i[s].split(";")[0]));return document.cookie=n+"="+t+c}}function a(e,t){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var c=i[a].split("="),s=c.slice(1).join("=");t||'"'!==s.charAt(0)||(s=s.slice(1,-1));try{var u=n(c[0]);if(s=(r.read||r)(s,u)||n(s),t)try{s=JSON.parse(s)}catch(e){}if(o[u]=s,e===u)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(n,t){i(n,"",e(t,{expires:-1}))},o.defaults={},o.withConverter=t,o}((function(){}))}))},365:function(e,n,t){var r=t(227)("jsonp");e.exports=function(e,n,t){"function"==typeof n&&(t=n,n={});n||(n={});var a,c,s=n.prefix||"__jp",u=n.name||s+o++,d=n.param||"callback",f=null!=n.timeout?n.timeout:6e4,l=encodeURIComponent,p=document.getElementsByTagName("script")[0]||document.head;f&&(c=setTimeout((function(){m(),t&&t(new Error("Timeout"))}),f));function m(){a.parentNode&&a.parentNode.removeChild(a),window[u]=i,c&&clearTimeout(c)}return window[u]=function(e){r("jsonp got",e),m(),t&&t(null,e)},e=(e+=(~e.indexOf("?")?"&":"?")+d+"="+l(u)).replace("?&","?"),r('jsonp req "%s"',e),(a=document.createElement("script")).src=e,p.parentNode.insertBefore(a,p),function(){window[u]&&m()}};var o=0;function i(){}},824:function(e){var n=1e3,t=60*n,r=60*t,o=24*r,i=365.25*o;function a(e,n,t){if(!(e<n))return e<1.5*n?Math.floor(e/n)+" "+t:Math.ceil(e/n)+" "+t+"s"}e.exports=function(e,c){c=c||{};var s,u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===u&&!1===isNaN(e))return c.long?a(s=e,o,"day")||a(s,r,"hour")||a(s,t,"minute")||a(s,n,"second")||s+" ms":function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=t)return Math.round(e/t)+"m";if(e>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},85:function(){}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={exports:{}};return e[r](i,i.exports,t),i.exports}t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,{a:n}),n},t.d=function(e,n){for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},function(){"use strict";var e=t(808),n=t.n(e),r="GET_TPCOOKIE";function o(e){var n=new Error(e);return n.source="ulid",n}var i="0123456789ABCDEFGHJKMNPQRSTVWXYZ",a=i.length,c=Math.pow(2,48)-1;function s(e){var n=Math.floor(e()*a);return n===a&&(n=a-1),i.charAt(n)}function u(e,n){if(isNaN(e))throw new Error(e+" must be a number");if(e>c)throw o("cannot encode time greater than "+c);if(e<0)throw o("time must be positive");if(!1===(t=e,Number&&Number.isInteger&&Number.isInteger(t)||"number"==typeof t&&isFinite(t)&&Math.floor(t)===t))throw o("time must be an integer");for(var t,r,s="";n>0;n--)s=i.charAt(r=e%a)+s,e=(e-r)/a;return s}function d(e,n){for(var t="";e>0;e--)t=s(n)+t;return t}function f(e,n){void 0===e&&(e=!1),n||(n="undefined"!=typeof window?window:null);var r=n&&(n.crypto||n.msCrypto);if(r)return function(){var e=new Uint8Array(1);return r.getRandomValues(e),e[0]/255};try{var i=t(85);return function(){return i.randomBytes(1).readUInt8()/255}}catch(e){}if(e){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch(e){}return function(){return Math.random()}}throw o("secure crypto unusable, insecure Math.random not allowed")}var l,p,m=(l||(l=f()),function(e){return(void 0===e||isNaN(e))&&(e=Date.now()),u(e,10)+d(16,l)}),g=function(){return g=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e},g.apply(this,arguments)},v=function(e,n,t){e.addEventListener?e.addEventListener(n,t,!1):e.attachEvent?(e["e"+n+t]=t,e[n+t]=function(){e["e"+n+t](window.event)},e.attachEvent("on"+n,e[n+t])):e["on"+n]=e["e"+n+t]},w=function(e){return decodeURIComponent(e||"").replace("+"," ")}
1,h=config,y=t.n(h),b=t(365),_=void 0!==window._gtdgtm,C=!1;_||void 0!==window.tdw_||(C=!0);var k,E,x,N,O=function(e){for(var n,t,r=document.getElementsByTagName("script"),o=0;o<r.length;o++)if((t=(n=r[o]).getAttribute?n.getAttribute("src"):n.src)&&e.test(t))return t;return null}(/\/ssc-ym-client\.v\d+\.\d+\.js/),A=O?function(e){for(var n,t,r,o=e.split("&"),i={},a=0;a<o.length;a++)n=o[a].split("="),t=w(n.shift()),r=w(n?n[0]:null),i[t]=r;return i}(O.replace(/^.*\?/,"")):{},S=A.endpoint,M=y().gtd_start.name,j=y().gtd_start.expire,I=y().fp.cookieOld,T=void 0!==A.fp&&A.fp&&A.fp.length>0&&"undefined"!==A.fp?A.fp:y().fp.cookieNew,D=y().tp.cookieOld,L=void 0!==A.tp&&A.tp&&A.tp.length>0&&"undefined"!==A.tp?A.tp:y().tp.cookieNew,R=y().tp.cookieDomain,U=!1,B=!1,J=function(){var e=n().get(I);return void 0!==e&&null!=e||(e=n().get(T)),void 0!==e&&null!=e||(void 0!==p&&null!=p||(p=m()),e=p),e},F=(J(),function(e,t,r){var o=J();b(S+"/set_cookie?ssc_id="+o+"&new="+T+"&old="+I,{prefix:"__ssc_jp"},(function(o,i){if(null!=o)return B=!0,r&&r(o);var a=n().get(T);void 0!==a?(k=a,B=!0,t&&t(a),U&&e&&e(k,E)):(B=!0,r&&r(new Error("cannot get cookie")),U&&e&&e(k,E))}))}),P=y().tp.targetOrigin,z=function(e,t){if(navigator&&navigator.userAgent&&navigator.userAgent.indexOf("Safari")>-1&&navigator.userAgent.indexOf("Chrome")<=-1)return U=!0,t&&t(new Error("cannot get 3rd party cookie")),void(B&&x&&x(k,E));var o=!1;N?o=!0:N=document.createElement("iframe");var i=n().get(D);void 0!==i&&null!=i||(i="");var a=P+"/tp_cookie.v2.1.html";if(o){var c=JSON.stringify({action:r,global_id:i,new:L,old:D,domain:R});N.contentWindow.postMessage(c,a)}else{v(window,"message",(function(o){if(o.origin===P&&void 0!==o.data&&null!==o.data)try{var i=JSON.parse(o.data);i&&i.action&&i.action===r&&(U=!0,i.value&&36===i.value.length?(E=i.value,n().set(L,i.value,{expires:730,secure:!0,sameSite:"None"}),e&&e(i.value),B&&x&&x(k,E)):(t&&t(new Error("cannot get 3rd party cookie")),B&&x&&x(k,E)))}catch(e){}}));var s=document.getElementsByTagName("body")[0];N.style.display="none",N.src=a,s.appendChild(N),v(N,"load",(function(e){var n=JSON.stringify({action:r,global_id:i,new:L,old:D,domain:R});N.contentWindow.postMessage(n,a)}))}},W=function(){function e(){}return e.prototype.push=function(){for(var e=0;e<arguments.length;e++)try{if("function"==typeof arguments[e])arguments[e]();else switch(arguments[e][0]){case"getFp":var n=arguments[e][1],t=arguments[e][2],r=arguments[e][3];F(x=n,t,r);break;case"getTp":t=arguments[e][1],r=arguments[e][2];z(t,r)}}catch(e){}},e}(),Z=function(){var e=window.__ymCk;window.__ymCk=new W,window.__ymCk.push.apply(window.__ymCk,e);
1window.__ymCk.push(["getFp",function(e,t){!function(e,n,t){void 0===t&&(t=!1),window.dataLayer=window.dataLayer||[],window.dataLayer.push(g({gcp_fpCookie:e,gcp_tpCookie:n,event:"gcp_push"},t?{td_ssc_id:e,td_global_id:n}:{}))}(e,t,!0),n().set(M,"1",{expires:j,secure:!0,sameSite:"None"})},function(){},function(){}]),window.__ymCk.push(["getTp",function(){},function(){}])},$=function(){if(_&&(void 0!==window.tdw_||(C=!0)),!C)return e=window.__ymCk,window.__ymCk=new W,window.__ymCk.push.apply(window.__ymCk,e),void window.__ymCk.push(["getTp",function(){},function(){}]);var e,t=n().get(M);void 0!==t&&"1"===t||Z()};_?"complete"===document.readyState?$():window.addEventListener("DOMContentLoaded",$):"loading"!==document.readyState?$():window.addEventListener("DOMContentLoaded",$)}()}();

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.