PageSourceSearch

https://account.bandainamcoid.com/js/bnidv3.js?20260630

js bandainamcoid.com collected 2026-09-24 22:23:22 UTC 13,896 bytes, 1 lines download raw bytes

1var modal_close_lock=0;const target_lang=["ja","ko","zh-cn","zh-tw"];var webAppType="";function getLanguage(e){var a="",a=void 0!==e&&""!=e?convertLang(e):$.cookie("language")?$.cookie("language"):convertLang(a=window.navigator.userLanguage||window.navigator.language||window.navigator.browserLanguage||"");return $.cookie("language",a,{expires:3650}),a}function convertLang(e){var a=["ja","en","ko","fr","de","it","ru","es","pt","pl","ar","th"],t=["zh-cht","zh-hant","zh-min-nan-tw","zh-tw","zh-hk","zh-mo"];if(""!=(e=e.toLowerCase())){if("zh"!=e.substr(0,2))for(var n in a){if(e.substr(0,2)==a[n]){var i=a[n];break}i=$.cookie("language")?$.cookie("language"):"en"}else for(var o in t){if(e==t[o]){i="zh-tw";break}i="zh-cn"}e=i}else e=$.cookie("language")?$.cookie("language"):"ja";return e}function replaceFunc(e){return e=e.replace(/(\r)?\n|(\\r)?\\n/g,"<br>")}function errorFunc(e){$("#error").html(""),$("[aria-invalid]").removeAttr("aria-invalid");var a=e.error_msg;if(!a||0===Object.keys(a).length)return"";var t,n=e.is_world||!1;let i="";for(const o in a)i+='<div class="c-message c-message--warning" role="alert" aria-live="assertive"><p class="c-message__title">Error</p><div class="c-message__item"><p class="c-text">'+a[o]+"</p></div></div>",/^\d+$/.test(o)||("birthday"===o||/^birthday-/.test(o)?($("#id_year").attr("aria-invalid","true"),$("#id_month").attr("aria-invalid","true"),$("#id_day").attr("aria-invalid","true")):"serial"===o||/^serial-/.test(o)?[1,2,3,4].forEach(function(e){$("#pincode"+e).attr("aria-invalid","true")}):(/^gender-/.test(o)?$('[id^="gender-"]'):(t=o.match(/^(w-[^-]+)-(.+)$/)||o.match(/^([^-]+)-(.+)$/))&&t[1]?(t=t[1],$("#"+t)):(t=n?o+"-world":o,$("#"+t))).attr("aria-invalid","true"));return i}function changeArea(e,a,t,n){var i=location.pathname,o=location.search,r=0<(o=o.replace(/(&|\?)disp=.+/,"")).length?"&":"?";history.pushState(null,null,i+o+r+"disp="+t);i="#"+a;$("#"+e).addClass("u-hide"),$(i).removeClass("u-hide"),"main-area"==a?document.title=n["head-title"]:(key="head-title-"+a,document.title=n[key])}function modalFunc(e,a,t){void 0===a&&(a=1),void 0===t&&(t=0);var n=window.innerWidth-document.body.clientWidth-15,i=($("._scroll-size").css({"margin-right":n+"px"}),$("html, body").addClass("_modal-lock"),"#"+e),n=($(i).wrap('<div class="_modal-wrap"></div>'),1==a?(close_bg="_modal-wrap",$("body").append('<div class="_modal-overlay"></div>'),$(i).on("click",function(e){e.stopPropagation()})):2==a&&(close_bg="_modal-overlay",$("._modal-wrap").prepend('<div class="_modal-overlay"></div>')),$("._modal-overlay").fadeIn("normal"),(document.documentElement.clientHeight-$(i).css("height").replace("px",""))/2);n<20&&(n=20),$("._modal-content-2s").css("margin",n+"px auto"),$(i).fadeIn("normal"),$("#modal-close, ._modal-close").off().on("click",function(){if(modal_close_lock)return!1;$(i).fadeOut("normal"),$("._modal-overlay").fadeOut("normal",function(){$("html, body").removeClass("_modal-lock"),$("._modal-overlay").remove(),$(i).unwrap(),$("._scroll-size").css({"margin-right":""})}),$("._content").css("position","static")}),$("."+close_bg).off().on("click",function(){if(modal_close_lock||t)return!1;$(i).fadeOut("normal"),$("._modal-overlay").fadeOut("normal",function(){$("html, body").removeClass("_modal-lock"),$("._modal-overlay").remove(),$(i).unwrap(),$("._scroll-size").css({"margin-right":""})}),$("._content").css("position","static")})}function modalChildFunc(e,a,t){var n="#"+e,i="#"+a;void 0===t&&(t=0),$(n).fadeOut("normal",function(){modal_close_lock=0,$(i).wrap('<div class="_modal-wrap2"></div>');var e=(document.documentElement.clientHeight-$(i).css("height").replace("px",""))/2;e<20&&(e=20),$("._modal-content-2s").css("margin",e+"px auto"),$(i).fadeIn("normal"),$(n).unwrap(),$(i).on("click",function(e){e.stopPropagation()}),$("._modal-wrap2, ._modal-close2").off().on("click",function(){if(modal_close_lock||t)return!1;$(i).fadeOut("normal"),$("._modal-overlay").fadeOut("normal",function(){$("html, body").removeClass("_modal-lock"),$("._modal-overlay").remove(),$(i).unwrap(),$("._scroll-size").css({"margin-right":""})}),$("._content").css("position","static")})})}function snsFunc(e,a,t){$.ajax({url:API_URL+"v3/"+e+"/sns",type:"GET",data:a,dataType:"json",success:function(e){cookie_processing(e);e.data;e.redirect?location.href=e.redirect:e["redirect_no-cache"]?location.replace(e["redirect_no-cache"]):(btn_enabled(),input_enabled()),void 0!==t&&t(e)},error:function(e){}})}function snsAuthFunc(e,a,t){$.ajax({url:API_URL+"v3/"+e+"/auth_sns",type:"GET",data:a,dataType:"json",success:function(e){cookie_processing(e);e.data;e.redirect?location.href=e.redirect:e["redirect_no-cache"]?location.replace(e["redirect_no-cache"]):(btn_enabled(),input_enabled()),void 0!==t&&t(e)},error:function(e){}})}function base_build(e,a,t){void 0===a&&(a=0);var n,i,o,r,l="",l=void 0===t?getLanguage():getLanguage(t),c=e.data;if(c.js_var){var s,d="";for(s in c.js_var)d+="var "+s+' = "'+c.js_var[s]+'";';$("body").prepend("<script>"+d+"<\/script>")}if(c.language){var u,m="";for(u in c.language)m+='<option value="'+u+'">'+c.language[u]+"</option>";$("#language").html(m).val(l)}if("ja"!=l&&$("#g-link-tokusyouhou").addClass("u-hide"),e.isBanacoin&&(l="ja"),$("html").attr("lang",l),c.text_global)for(var p in c.text_global){let e=null;-1!=p.indexOf("@")?(n=p.split("@"),o=c.text_global[p].replace(/<br>/g,"\r\n"),$("#"+n[0]).attr(n[1],o)):0===p.indexOf("aria-label-")?e="aria-label":$("#"+p).html(c.text_global[p]),e&&$(`[${p}]`).each(function(){$(this).removeAttr(p).attr(e,c.text_global[p])})}if(c.text)for(var g in c.text){let e=null;-1!=g.indexOf("@")?(i=g.split("@"),o=c.text[g].replace(/<br>/g,"\r\n"),$("#"+i[0]).attr(i[1],o)):0===g.indexOf("aria-label-")?e="aria-label":0===g.indexOf("alt-")?e="alt":0===g.indexOf("data-label-")?e=g:$("#"+g).html(c.text[g]),e&&$(`[${g}]`).each(function(){$(this).removeAttr(g).attr(e,c.text[g])})}if(c.view&&(t="",(r=c.view).header&&(t=r.header),l="",r.footer&&(l=r.footer),r.script?$.when($("#header").html(t),$("#footer").html(l)).done(function(){$("head").append(r.script)}):($("#header").html(t),$("#footer").html(l)),r.bg&&(r.bg.color?$("#content").css({background:r.bg.color}):r.bg.image&&$("#content").css({"background-image":"url("+r.bg.image+")","background-size":"cover"})),"cookie_setting_display_flg"in r&&"1"!=r.cookie_setting_display_flg||$("#onetrust-consent-sdk").fadeIn(1e3)),c.customer_id&&$("#text-customer-id").html(c.customer_id),c.account_id&&$("#text-label").html(c.account_id),c.link)for(var h in c.link)c.link[h].blank?$("#"+h).attr("onClick","window.open('"+c.link[h].url+"', '_blank')"):$("#"+h).attr("onClick","location.href='"+c.link[h].url+"'"),c.link[h].show&&$("#"+h).removeClass("u-hide");if(c.btn)for(var f in c.btn)c.btn[f].show&&$("#"+f).parent().removeClass("u-hide"),c.btn[f].url&&$("#"+f).on("click",function(){btn_disabled($(this)),location.href=c.btn[$(this).attr("id")].url});if(c.show)for(var _ in c.show)$("#"+c.show[_]).removeClass("u-hide");$.getScript("/assets/js/function.js"),e.redirect?location.href=e.redirect:e["redirect_no-cache"]?location.replace(e["redirect_no-cache"]):0==a&&$("html").removeClass("is-loading")}function cookie_processing(e){var a,t,n=e.cookie;for(a in n)"value"in n[a]||(t={expires:-1},n[a].path&&(t.path=n[a].path),n[a].domain&&(t.domain=n[a].domain),$.cookie(n[a].name,"",t));for(const a in n)if("value"in n[a])if(n[a].samesite){let e="";n[a].expires&&((i=new Date).setTime(i.getTime()+24*n[a].expires*60*60*1e3),e="; expires="+i.toUTCString());var i="; path="+(n[a].path||"/"),o=n[a].domain?"; domain="+n[a].domain:"";document.cookie=n[a].name+"="+n[a].value+e+i+o+"; Secure; SameSite="+n[a].samesite}else{o={};o.expires=n[a].expires,n[a].path&&(o.path=n[a].path),n[a].domain&&(o.domain=n[a].domain),o.secure=!0,$.cookie(n[a].name,n[a].value,o)}}function date_format(e,a,t){e=("000"+e).slice(-4)+"-"+("0"+a).slice(-2)+"-"+("0"+t).slice(-2);return e="000-0-0"==e?"":e}function btn_disabled(e){e.prop("disabled",!0),e.addClass("is-loading")}function btn_enabled(){$("button").prop("disabled",!1),$("button").removeClass("is-loading")}function input_disabled(){$(".c-select__select").prop("disabled",!0),$(".c-input-label").prop("disabled",!0)}function input_enabled(){$(".c-select__select").prop("disabled",!1),$(".c-input-label").prop("disabled",!1)}function birthday_ctrl(e){e.value.length>e.maxLength&&(e.value=e.value.slice(0,e.maxLength))}function calculate_age(e){var e=e.split("-"),a=new Date,e=Number(e[0]+adjust_digits(e[1],2)+adjust_digits(e[2],2)),a=Number(a.getFullYear()+adjust_digits(a.getMonth()+1,2)+adjust_digits(a.getDate(),2));return Math.floor((a-e)/1e4)}function adjust_digits(e,a){for(var t=String(e);t.length<a;)t="0"+t;return t}function gtm(e,a,t,n,i){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});e=a.getElementsByTagName(t)[0],a=a.createElement(t),t="dataLayer"!=n?"&l="+n:"";a.async=!0,a.src="https://www.googletagmanager.com/gtm.js?id="+i+t,e.parentNode.insertBefore(a,e)}
1function gaSend(e,a){window.dataLayer=window.dataLayer||[],t=""!=e.client_id?e.client_id:"v3portal","1"===a?((t=a="")!=e.birthday&&(a=calculate_age(e.birthday)),dataLayer.push({age:String(a),gender:String(e.gender),mbid:String(e.mbid),pagetype:"v3portalpage",client_id:t,cstmid:e.customer_id})):dataLayer.push({pagetype:"v3portalpage",client_id:t});var t,a=getLanguage();-1!==["de","es","fr","it","en","pt","pl"].indexOf(a)?gtm(window,document,"script","dataLayer","GTM-TW3DK5K"):gtm(window,document,"script","dataLayer","GTM-T8V6FJB")}function escapeText(e){return $("<p />").text(e).html()}function modalMargin(e){var a=0,a="undefined"==typeof modalh?$(e).outerHeight():modalh,a=(document.documentElement.clientHeight-a)/2;a<20&&(a=20),$(e).css("margin",a+"px auto")}function sort_YMD(){var e=getLanguage();target_lang.includes(e)||$("#day").after($("#year"))}function sort_name(e,a){target_lang.includes(e)||a||($("#first_name"+a).parent().parent(".c-form-item").after($("#family_name"+a).parent().parent(".c-form-item")),$("#first_yomi"+a).parent().parent(".c-form-item").after($("#family_yomi"+a).parent().parent(".c-form-item"))),""==a&&($("._yomi").removeClass("u-hide"),$("#family_yomi").attr("must","1"),$("#first_yomi").attr("must","1")),"ar"==e&&$(".c-input-label").parent(".c-input").addClass("c-input--rtl")}function sort_address(e,a){if(target_lang.includes(e)||a||($("#form-zip-search").after($("#form-address_3")),$("#form-zip-search").after($("#form-address_3-2")),$("#form-address_2").after($("#form-address_1"))),"ar"==e){for(let e=1;e<6;e++)$("#address_"+String(e)+a).parent().addClass("c-input--rtl");$("#address_3-2"+a).parent().addClass("c-input--rtl")}}function checkPassword(e){$(".c-passwd-status").removeClass("is-checked");var a=e.length,t=(7<a&&$("._len").addClass("is-checked"),/[a-zA-Z]/.test(e)),n=(t&&$("._alp").addClass("is-checked"),/\d/.test(e)),e=(n&&$("._num").addClass("is-checked"),/[!@#$%^&*()_+={}[\]:;<>,.?~]/.test(e));return e&&$("._sym").addClass("is-checked"),2<=Number(t)+Number(n)+Number(e)&&$("._status").addClass("is-checked"),2<=Number(t)+Number(n)+Number(e)&&7<a}function checkZxcvbn(e,a){var t,n=zxcvbn(e).score;$("#pass_score").removeClass("is-veryweak is-weak is-strong"),$("#score-text").html(""),0<e.length&&(0==n?t="is-veryweak":1==n||2==n?t="is-weak":3!=n&&4!=n||(t="is-strong"),$("#pass_score").addClass(t),$("#score-text").html(a[t]))}function consent_modal(e,a,t,n){var i=e[n+"-consents"],o=e[n+"-consent-url"],r=($("#c-form-all").append($("#form-tmp").html()),$("#c-form").attr("id",n+"-div"),$("#"+n+"-div > #c-title-check").attr("id",n+"-title-check"),$("#"+n+"-div > #"+n+"-title-check").html(t),$("#"+n+"-div > #agree_check").attr("id",n+"-agree_check"),e["bnid-consent-url"]);for(const s in o)if(s!=a&&($("#"+n+"-div > .c-form-unit").append($("#form-item-list-tmp").html()),$("#"+n+"-div").find("#form-item-tmp").attr("id",s+"_check_area"),$("#"+s+"_check_area").find(".c-checkbox__input").attr("name",s)),$("#"+s+"_check_area").find(".c-checkbox__text").append(i[s]),!e.bnid_consent_view||"bnid"==n||!checkValueExists(r,o[s])){var l="c-menu_"+s,c='<a id="'+l+'" class="c-menu" href="javascript:void(0)">'+i[s]+"</a>",c=($("#c-menu-list").append(c),ACCOUNT_URL+"loginServiceTermsDocs.html");let e=location.search.substring(1);e=e.replace(/(&|\?)disp=.+/,""),c+="?"+(e+="bnea"==n?"&name="+n+"&key="+s:"&url="+encodeURIComponent(o[s])+"&title="+encodeURIComponent(i[s])),$("#"+l).attr("onClick","window.open('"+c+"', '_blank')")}}function checkValueExists(e,a){try{if("object"!=typeof e||null===e)throw new Error("第一引数はオブジェクトでなければなりません");return Object.values(e).includes(a)}catch(e){return console.error("エラーが発生しました:",e.message),!1}}!0===window.navigator.standalone?webAppType="ios":!0===window.matchMedia("(display-mode: standalone)").matches&&(webAppType="android"),$(function(){$("html").addClass("is-loading"),$("#btn-lang-select").on("click",function(){if($("#language").val()===$.cookie("language"))return!1;btn_disabled($(this)),$.cookie("language",$("#language").val(),{expires:3650}
1),window.location.href="";var e=new URL(window.location.href);e.searchParams.delete("lang"),location.replace(e)}),$(document).on("keypress","input:not(.allow_submit)",function(e){13===e.which&&void 0!==(e=$(":focus").attr("event"))&&(e=e.split(":"),$(e[1]).is(":disabled")||$(e[1]).trigger(e[0]))}),$("input[type='checkbox']").change(function(){$("input[type='checkbox']").each(function(){$(this).is(":checked")?$(this).parent().addClass("selected"):$(this).parent().removeClass("selected")})}),$(".c-icon-pass").on("click",function(){$(this).toggleClass("c-icon-pass--off");var e=$(this).prevAll("input");"text"==e.attr("type")?e.attr("type","password"):e.attr("type","text")})}),window.onpageshow=function(e){e.persisted&&window.location.reload()};

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.