4ca3e6aff2a6e5fa3ba7b7947189c8ecf6688a6849502029af730ebd7598716a

Source Code:

!function(j,i,h){var g=j(i),l=g.width()<=640,k=i.matchMedia?i.matchMedia("(max-width: 768px)").matches:g.width()<=768;mobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent),mobilePhone=mobile&&l,tablet=mobile&&!l,j.fn.setEqualHeight=function(c,b,a){return this.each(function(){function o(){var p=0;d.each(function(){d.css("height",""),j(this).outerHeight()>p&&(p=j(this).outerHeight())}),d.css("height",p),a&&a.css("height",p)}function m(q){var p=new j.Deferred;return j(q).bind("load",function(){p.resolve()}),p.promise()}var e,d=c?j(this).find(c):j(this).children(),n=d.find("img"),f=[];!l||b?o():d.css("height",""),n.length>0&&(n.each(function(){f.push(m(this))}),j.when.apply(null,f).then(o)),g.on("resize",function(){clearTimeout(e),e=setTimeout(function(){!l||b?o():d.css("height","")},500)})})},j.fn.setFaqHeight=function(){var c,a=0,d=0,b=new Array;j(this).each(function(){if(c=j(this),j(this).css("height",""),topPostion=c.position().top,d!=topPostion){for(currentDiv=0;currentDiv<b.length;currentDiv++){b[currentDiv].height(a)}b.length=0,d=topPostion,a=c.height(),b.push(c)}else{b.push(c),a=a<c.height()?c.height():a}for(currentDiv=0;currentDiv<b.length;currentDiv++){b[currentDiv].height(a)}})},j.fn.accordion=function(a){return this.each(function(){function d(r){var q=r,p=q.next();q.addClass("opened"),p.show()}function c(q){var r=q,p=r.next();r.toggleClass("opened"),r.hasClass("opened")?p.slideDown("fast",function(){p.children().each(function(){var m=j(this).data("slider");m&&m.reloadSlider()})}):p.slideUp("fast")}var b=j(this),e=i.location.hash;if(0!=b.find(e).length){var f=b.find(e);d(f.hasClass("item")?f.children(".head"):f.hasClass("head")?f:f.parents(".body").prev())}b.find(".head").each(function(){j(this).on("click",function(p){if(p.preventDefault(),c(j(this)),b.hasClass("c-importantNotes-01")&&b.find(".head").hasClass("opened")){var o=j("#flg-importance").offset().top;o=o-$(".st-headerPc-change").outerHeight();j("html,body").animate({scrollTop:o},"slow")}})})})},j.fn.tabs=function(a){return this.each(function(){function f(p){e.find("li").removeClass("current"),p.parent().addClass("current")}function d(p){c.children("div").hide(),c.children("div").eq(p).show()}function b(q,p){var r=c.children("div").eq(q).find(".c-steps-02");r.each(function(){var s=j(this).data("slider");s&&(s.reloadSlider(),p&&s.goToSlide(p))})}var n=j(this),e=n.children(".tabs"),c=n.children(".content"),m=i.location.hash;if(0!=c.find(m).length){var o;c.children("div").each(function(p){(0!=j(this).find(m).length||j(this).is(m))&&(o=p,f(e.find("li:eq("+o+") a")),d(o))})}else{f(e.find("li:eq(0) a")),d(0)}e.find("a").on("click",function(p){p.preventDefault(),p.stopPropagation(),i.location.hash=this.hash,f(j(this)),d(j(this).parent().index()),b(j(this).parent().index())})})},j.fn.tabs2=function(a){return this.each(function(){function f(v,u){for(var t=0;t<e.find("select option").length;t++){e.find("select option").eq(t).attr("data-period")==v&&e.find("select").prop("selectedIndex",t)}for(var s=0;s<c.find("select option").length;s++){c.find("select option").eq(s).attr("data-tech")==u&&c.find("select").prop("selectedIndex",s)}o="30minutes"==periodId||"5minutes"==periodId?"/pc/guidance/service/foreign_deposit/resources/chart_images_5/":"/pc/guidance/service/foreign_deposit/resources/chart_images/";var x=o+chartData.contryDATA[countryId][0]+chartData.techDATA[u][0]+chartData.periodDATA[v][0]+"_"+deviceId+".png",w="[図]"+chartData.contryDATA[countryId][1]+chartData.periodDATA[v][1]+" "+chartData.techDATA[u][1];m.find("figure > img.img-responsive").attr({src:x,alt:w})}function d(){$(window).load(function(){var p=j(".c-exchangeTabs-02").offset().top;p=p-$(".st-headerPc-change").outerHeight();j(i).scrollTop(p)})}var b=j(this),n=b.find(".countryTabs > ul.tabs"),e=b.find(".changeChart .period"),c=b.find(".changeChart .tech"),m=b.children(".content"),o=b.children(".content").find(".img-responsive").attr("src");hash=i.location.hash,dirPass=i.location.href,windowSize=j(i).width(),countryId=null,periodId=null,techId=null,deviceId=b.children(".content").find(".img-responsive").attr("data-device"),chartData={contryDATA:{usd:["USDJPY","米ドル"],eur:["EURJPY","ユーロ"],aud:["AUDJPY","豪ドル"],cny:["CNYJPY","中国元"],brl:["BRLJPY","レアル"],krw:["KRWJPY","ウォン"],zar:["ZARJPY","ランド"],nzd:["NZDJPY","NZドル"]},techDATA:{sma:["_SMA","単純移動平均線"],bb:["_BB","ボリンジャーバンド"],rsi:["_RSI","RSI"],macd:["_MACD","MACD"],stc:["_STC","ストキャスティクス"]},periodDATA:{month:["_M","月足チャート"],week:["_W","週足チャート"],day:["_D","日足チャート"],hour:["_60","時間足チャート"],"30minutes":["_30","30分足チャート"],"5minutes":["_05","5分足チャート"]}},hash=hash.split("-"),countryId=dirPass.split("/")[dirPass.split("/").length-2],dirPass=dirPass.substring(0,dirPass.indexOf(countryId)),o=o.substring(0,o.indexOf(chartData.contryDATA[countryId][0])),"sp"!=deviceId&&(deviceId="pc"),hash.length<2?(periodId="5minutes",techId="sma",f(periodId,techId)):2==hash.length?(periodId=hash[1],techId="sma",f(periodId,techId)):(periodId=hash[1],techId=hash[2],f(periodId,techId)),hash.length>1&&d(),e.find("select").change(function(p){p.preventDefault(),p.stopPropagation(),j(this).find("option:selected").each(function(){periodId=j(this).attr("data-period"),f(periodId,techId)})}),c.find("select").change(function(p){p.preventDefault(),p.stopPropagation(),j(this).find("option:selected").each(function(){techId=j(this).attr("data-tech"),f(periodId,techId)})}),windowSize>640?n.find("li").on("click",function(p){p.preventDefault(),p.stopPropagation(),periodId="5minutes",techId="sma";var q=j(this).attr("class").replace(countryId,"");" current"!=q&&(countryId=j(this).attr("class"),i.location.href=dirPass+countryId+"/#flg-"+periodId+"-"+techId)}):(n=b.find(".countryTabs > .changeChart"),n.find("select").change(function(p){p.preventDefault(),p.stopPropagation(),periodId="5minutes",techId="sma";var r=countryId;j(this).find("option:selected").each(function(){countryId=j(this).attr("data-contry"),i.location.href=dirPass+countryId+"/#flg-"+periodId+"-"+techId});for(var q=0;q<n.find("select option").length;q++){n.find("select option").eq(q).attr("data-contry")==r&&n.find("select").prop("selectedIndex",q)}}))})},j.fn.chartTabs=function(a){return this.each(function(){function f(n){c.find("li").removeClass("current"),n.parent().addClass("current")}function e(n){b.children("figure").hide(),b.children("figure").eq(n).show()}var d=j(this),c=d.children(".tabs"),b=d.children(".content");f(c.find("li:eq(0) a")),e(0),c.find("a").on("click",function(n){n.preventDefault(),f(j(this)),e(j(this).parent().index())})})},j.fn.brandingArea=function(a){return this.each(function(){var s,r,q=j(this),p=q.find("figure"),o=p.find("img"),f=p.find("img").attr("src").slice(0,-8),e=q.find(".content"),d=j("div.loader"),c=function(w){var m=w,z=g.width(),y=g.height(),x=l?j("#jbk-header-area").outerHeight():j("#jbk-header-area").outerHeight()+j("#jbk-globalnav-area").outerHeight();e.height()>=q.height()-20?wrapperHeight=e.height()+20:wrapperHeight=y-x-(mobilePhone?60:120);var m=w,n=Math.floor(z*r),v=Math.floor(wrapperHeight*s);z>v&&(e.height()>wrapperHeight-20?(m.css({width:z,height:n,marginTop:n>wrapperHeight?Math.floor((n-wrapperHeight)/2*-1):0,marginLeft:0}),e.css({top:10,left:(z-980)/2})):(q.height(wrapperHeight),m.css({width:z,height:n,marginTop:n>wrapperHeight?Math.floor((n-wrapperHeight)/2*-1):0,marginLeft:0}),e.css({top:wrapperHeight/2-e.height()/2,left:(z-980)/2}))),980>z&&(e.height()>=wrapperHeight-20?(m.css({width:z,height:n,marginTop:n>wrapperHeight?Math.floor((n-wrapperHeight)/2*-1):0,marginLeft:0}),e.css({top:10,left:10})):(q.height(wrapperHeight),m.css({width:z,height:n,marginTop:n>wrapperHeight?Math.floor((n-wrapperHeight)/2*-1):0,marginLeft:0}),e.css({top:wrapperHeight/2-e.height()/2,left:10}))),v>z&&(e.height()>=wrapperHeight-20?(q.height(wrapperHeight),m.css({width:z,height:wrapperHeight,marginTop:0}),e.css({top:10,left:"10px"})):(q.height(n),m.css({width:z,height:n,marginTop:0}),e.css({top:n/2-e.height()/2,left:"10px"})))},b=new Image;b.onload=function(){var m=o.show(),u=this.height,t=this.width;s=t/u,r=u/t,d.remove(),e.show(),c(m),j(i).on("resize",function(){c(m)});var n=new Image;n.onload=function(){o.attr("src",this.src)},n.src=f+(mobilePhone?"@x2.jpg":i.devicePixelRatio>1?"@x2.jpg":".jpg")},b.src=o.attr("src")})},j.fn.brandingAreaCategory=function(a){return this.each(function(){var q,p,o=j(this),n=o.children("figure"),f=n.find("img"),e=n.find("img").attr("src").slice(0,-8),d=o.find(".content"),c=j("div.loader"),b=function(s){var m=s,u=g.width(),v=o.height(),t=Math.floor(u*p);Math.floor(v*q);m.css({width:"100%",height:"auto",marginTop:t>v?Math.floor((t-v)/2*-1):0,marginLeft:0}),980>u?d.css({top:v/2-d.height()/2,left:"10px"}):d.css({top:v/2-d.height()/2,left:(u-980)/2})},r=new Image;r.onload=function(){var u=f.show(),t=this.height,s=this.width;q=s/t,p=t/s,c.remove(),d.show(),b(u),j(i).on("resize",function(){b(u)});var m=new Image;m.onload=function(){f.attr("src",this.src)},m.src=e+(mobilePhone?"@x2.jpg":i.devicePixelRatio>1?"@x2.jpg":".jpg")},r.src=f.attr("src")})},j.fn.brandingAreaMovie=function(a){var c=document.createElement("script");c.src="https://www.youtube.com/iframe_api";var b=document.getElementsByTagName("script")[0];return b.parentNode.insertBefore(c,b),this.each(function(){function r(m){w(),d.remove(),f.show(),m.target.seekTo(0),m.target.playVideo()}function p(m){0===m.data&&s.seekTo(0)}function w(){var o,m,z,x=j(i).width(),y=j(i).height(),n=l?j("#jbk-header-area").outerHeight():j("#jbk-header-area").outerHeight()+j("#jbk-globalnav-area").outerHeight(),A=j("#mainVideo");z=f.height()>=q.height()-20?f.height()+20:y-n-(mobilePhone?60:120),z>x/t?(o=Math.ceil(z*t),A.width(o).height(z).css({left:(x-o)/2,top:0}),q.height(z)):(m=Math.ceil(x/t),A.width(x).height(m).css({left:0,top:(z-m)/2}),q.height(z)),980>x?f.css({top:z/2-f.height()/2,left:10}):f.css({top:z/2-f.height()/2,left:(x-980)/2})}var q=j(this),f=q.find(".content").css("zIndex",3),e=q.find("figure"),d=j("div.loader"),v=j(i).width(),u=j(i).height(),t=16/9;if(mobile){return e.show(),void q.brandingArea()}j('<div class="videoWrapper"></div>').css({position:"absolute",top:0,right:0,bottom:0,left:0,zIndex:2,zoom:1,backgroundColor:"rgba(255,255,255,0)"}).insertAfter("#mainVideo");var s;i.onYouTubeIframeAPIReady=function(){s=new YT.Player("mainVideo",{width:v,height:u,videoId:a.videoId,events:{onReady:r,onStateChange:p},playerVars:{controls:0,showinfo:0,rel:0,modestbranding:1,wmode:"transparent"}})},j(i).on("resize",function(){w()})})},j(function(){if(j.support.placeholder="placeholder" in document.createElement("input"),!j.support.placeholder){var c=document.activeElement;j(":text").focus(function(){""!=j(this).attr("placeholder")&&j(this).val()==j(this).attr("placeholder")&&j(this).val("").removeClass("hasPlaceholder")}).blur(function(){""==j(this).attr("placeholder")||""!=j(this).val()&&j(this).val()!=j(this).attr("placeholder")||j(this).val(j(this).attr("placeholder")).addClass("hasPlaceholder")}),j(":text").blur(),j(c).focus(),j("form").submit(function(){j(this).find(".hasPlaceholder").each(function(){j(this).val("")})})}g.on("resize",function(){j("#jbk-footlink-area li").setFaqHeight()}).trigger("resize"),j(".campaign-group").setEqualHeight(),j(".campaign-block .campaign-pull-left, .campaign-block .campaign-pull-right").find(".campaign-inner").setEqualHeight(),j(".c-importantNotes-01").accordion(),j(".c-importantNotes-03").accordion(),j(".c-accordion-01").accordion(),j(".c-tabs-01").tabs(),j(".toTabs").click(function(){var m=j(this).attr("href");j(".c-tabs-01").each(function(p){j(this).find('.tabs li [href="'+m+'"]').click()})}),j(".c-exchangeTabs-01").tabs(),j(".c-exchangeTabs-01").find(".chartTabs").chartTabs(),j(".c-exchangeTabs-02").tabs2(),j(".c-blockLinks-01").setEqualHeight(),j(".c-ground-02").setEqualHeight(),j(".c-cnvBlock-02").setEqualHeight(),j(".cnv-type05 .cnvBlock-pull-right, .cnv-type05 .cnvBlock-pull-left").find(".inner").setEqualHeight(),j(".c-mainImage-01").brandingArea(),j(".c-mainImage-02").brandingAreaCategory();var a=j("#jbk-globalnav-area"),o=a.find(".navi"),e=o.find("#gnav-02, #gnav-03, #gnav-07, #gnav-06"),d=function(){if(k){if(1==o.data("mobileView")){return}a.is(":visible")&&a.hide(),o.removeClass("opened"),e.removeClass("opened"),e.children("a").off("click.subnavi"),j(document).off("click.subnavi"),e.off("click.subnavi"),o.data("mobileView",!0)}else{if(0==o.data("mobileView")){return}a.is(":hidden")&&a.show(),e.children("a").on("click.subnavi",function(p){p.preventDefault(),p.stopPropagation();var m=j(this).parent();m.siblings().removeClass("opened"),m.toggleClass("opened"),m.hasClass("opened")?o.addClass("opened"):o.removeClass("opened")}),j(document).on("click.subnavi",function(m){m.stopPropagation(),e.removeClass("opened"),o.removeClass("opened")}),e.on("click.subnavi",function(m){m.stopPropagation()}),o.data("mobileView",!1)}};d();var b=j("#jbk-search-area"),n=function(){var p=b.find(".toggle i"),m=b.children("form");if(k){if(1==b.data("mobileView")){return}p.off("click.search"),m.css("right",""),p.parent().removeClass("close"),j("#jbk-globalnav-area .link-utility").show(),b.data("mobileView",!0)}else{if(0==b.data("mobileView")){return}p.on("click.search",function(q){q.stopPropagation(),j(this).parent().toggleClass("close"),parseInt(m.css("right"),10)>-1?(m.animate({right:-330},350),j("#jbk-globalnav-area .link-utility").fadeIn("fast")):(m.animate({right:0},350),j("#jbk-globalnav-area .link-utility").fadeOut("fast"))}),b.data("mobileView",!1)}};n(),j("#jbk-header-area .btn-menu").on("click",function(p){p.stopPropagation();var m=j("#jbk-globalnav-area");m.is(":visible")?m.slideUp():m.slideDown()});var f=j(".c-steps-02 .contents");f.each(function(){var t=j(this),s=t.parent(),r=i.location.hash;if(0!=t.find(r).length){var q=t.find(r),m=q.parents(".step").index()}var u=t.bxSlider({pager:!1,controls:!0,infiniteLoop:!1,hideControlOnEnd:!0,touchEnabled:!0,useCSS:!i.navigator.msPointerEnabled,startSlide:m||0,nextText:"",prevText:"",onSliderLoad:function(p){t.find(".step").eq(p).addClass("active-slide"),t.setEqualHeight(".inner",!0,t.parent())},onSlideBefore:function(v,p,w){v.siblings().removeClass("active-slide"),v.addClass("active-slide")}});s.data("slider",u)}),mobilePhone||j("a[href^=tel]").replaceWith(function(){return j("<span />",{html:j(this).html(),"class":"c-tel-01"})}),j(i).on("resize",function(){l=g.width()<=640,k=i.matchMedia?i.matchMedia("(max-width: 768px)").matches:g.width()<=768,d(),n()})}),j(function(){var a=i.location.hash;a&&setTimeout(function(){i.location.hash=a},0)})}(jQuery,this);
function uniqueAccordion(o,s){var e=o,t=e.next();!0===e.hasClass("opened")?t.children().each(function(){var o=$(this).data("slider");if(o){var e=o.find(s).parents(".step").index();o.reloadSlider(),o.goToSlide(e)}}):(e.addClass("opened"),t.slideDown("fast",function(){t.children().each(function(){var o=$(this).data("slider");if(o){var e=o.find(s).parents(".step").index();o.reloadSlider(),o.goToSlide(e)}})}))}function defaultAccordion(o){var e=o,s=e.next();!1===e.hasClass("opened")&&(e.toggleClass("opened"),s.slideDown("fast",function(){s.children().each(function(){var o=$(this).data("slider");o&&o.reloadSlider()})}))}$(function(){$(".st-globalNav-link-drop").on("click",function(){$(this).toggleClass("st-globalNav-link-drop-open"),$(this).next(".st-contentsDrop").stop(!1,!0).slideToggle(),$(".st-globalNav-link-drop").not($(this)).next(".st-contentsDrop").stop(!1,!0).slideUp(),$(".st-globalNav-link-drop").not($(this)).removeClass("st-globalNav-link-drop-open"),$(".st-contentsDrop-second").hide(),$(".st-globalNavSecond-drop").removeClass("st-globalNavSecond-drop-open")}),$(".st-globalNavSecond-link-drop").on("click",function(){$(this).parent(".st-globalNavSecond-drop").toggleClass("st-globalNavSecond-drop-open"),$(this).next(".st-contentsDrop").stop(!1,!0).slideToggle(),$(".st-globalNavSecond-link-drop").not($(this)).next(".st-contentsDrop").stop(!1,!0).slideUp(),$(".st-globalNavSecond-link-drop").not($(this)).parent(".st-globalNavSecond-drop").removeClass("st-globalNavSecond-drop-open")}),$(document).on("click",function(o){$(o.target).closest(".st-globalNav-item").length||$(o.target).closest(".st-globalNavSecond-item").length||($(".st-contentsDrop").stop().slideUp(),$(".st-globalNav-link").removeClass("st-globalNav-link-drop-open"),$(".st-globalNavSecond-drop").removeClass("st-globalNavSecond-drop-open"))}),$(window).on("scroll",function(){$(".st-contentsDrop").slideUp(),$(".st-globalNav-link-drop").removeClass("st-globalNav-link-drop-open"),$(".st-globalNavSecond-drop").removeClass("st-globalNavSecond-drop-open")})}),$(function(){var o,e;$(window).on("load resize",function(){e=$(".st-headerSp").outerHeight()}),$(window).on("scroll load resize",function(){0<$(window).scrollTop()?$(".st-globalNavAreaSp-menuTrigger-text").hide():($(".overlay-bg").css("top",e),$(".st-globalNavAreaSp-menuTrigger-text").show())}),$(".st-globalNavAreaSp-menuTrigger").on("click",function(){$(this).toggleClass("st-globalNavAreaSp-menu-close"),$(this).hasClass("st-globalNavAreaSp-menu-close")?(o=$(window).scrollTop(),$(".overlay-bg").addClass("is-active"),$(".st-globalNavAreaSp-menuTrigger-text").css("visibility","visible"),$(".st-globalNavAreaSp-menuTrigger-text").text("閉じる"),$(".st-globalNavAreaSp-menu").stop(!1,!0).slideDown(),$("body").addClass("noScroll")):($("body").removeClass("noScroll"),$(".overlay-bg").removeClass("is-active"),$(".st-globalNavAreaSp-menuTrigger-text").text("メニュー"),$(".st-globalNavAreaSp-menu").stop(!1,!0).slideUp(),$(window).scrollTop(o))}),$(".st-globalNavAreaSp-menu .st-globalNav-link").on("click",function(){$(this).next(".st-accordionContents").stop(!1,!0).slideToggle(),$(this).toggleClass("is-open")}),$(".st-accordionNav-text").on("click",function(){$(this).next(".st-accordionNavSecond").stop(!1,!0).slideToggle(),$(this).toggleClass("is-open")})}),$(function(){var o=$(".tp-topNews"),e=$(".st-headerPc"),s=$(".st-headerPc-change"),t=$(".st-globalNavAreaPc-pageTop"),a=e.eq(0).height(),l=$(".st-globalNavAreaPc").height(),n=o.height(),p=s.height(),i=a+l+n,r=window.innerWidth;o.length&&(s.addClass("st-headerPc-top"),e.eq(0).css("margin-top",n)),$(window).on("scroll load",function(){$(window).scrollTop()>i?(s.addClass("show"),e.eq(0).css("visibility","hidden"),t.css("visibility","hidden"),$(".st-globalNavAreaPc-pageTop .st-contentsDrop").hide(),$(".st-globalNavAreaPc-pageTop .st-globalNav-link").removeClass("st-globalNav-link-drop-open"),$(".st-globalNavAreaPc-pageTop .st-globalNavSecond-item").removeClass("st-globalNavSecond-drop-open")):(s.removeClass("show"),e.eq(0).css("visibility","visible"),t.css("visibility","visible"),$(".st-headerPc-change .st-contentsDrop").hide(),$(".st-headerPc-change .st-globalNav-link").removeClass("st-globalNav-link-drop-open"),$(".st-headerPc-change .st-globalNavSecond-item").removeClass("st-globalNavSecond-drop-open"))}),$('a[href*="#"]:not(.js-commonAnchor-none), area[href*="#"]:not(.js-commonAnchor-none)').click(function(){if(void 0===$(this).parents(".remodal").get(0)){var o=$(this).attr("href"),e=o.replace(/#.*/,""),s=!0;if(""!==e){var t=location.pathname;e!==(t=t.replace(/[^/]+\.([^.]+$)/,""))&&(s=!1)}if(!1===/^#tab/.test(o)&&!0===s){var a=o.replace(/.*#/,"#"),l=$(a).closest(".c-accordion-01, .c-importantNotes-01, .c-importantNotes-03, .c-tabs-01, .c-exchangeTabs-01");if("none"!==l){if(l.hasClass("c-accordion-01")||l.hasClass("c-importantNotes-01")||l.hasClass("c-importantNotes-03")){var n=l.find(a);!0===n.hasClass("item")?defaultAccordion(n.children(".head"),a):!0===n.hasClass("head")?defaultAccordion(n,a):uniqueAccordion(n.parents(".body").prev(),a)}if(l.hasClass("c-tabs-01")||l.hasClass("c-exchangeTabs-01")||l.closest(".c-tabs-01").length){var i;l.closest(".c-tabs-01").length&&(l=l.closest(".c-tabs-01"));var r=l.children(".content"),c=l.children(".tabs");r.children("div").each(function(o){0===$(this).find(a).length&&!$(this).is(a)||(i=o,c.find("li").removeClass("current"),c.find("li:eq("+i+")").addClass("current"),r.children("div").hide(),r.children("div").eq(i).show(),r.children("div").eq(i).find(".c-steps-02").each(function(){var o=$(this).data("slider");o&&o.reloadSlider()}))})}}a=a.replace(".","\\.");var d=$("#"===a||""===a?"html":a).offset().top-p;return $("html, body").scrollTop(d),!1}}}),$(window).on("load",function(){var o=location.hash,e=location.pathname;if("/products/foreign_deposit/simulator/"!==e&&"/products/foreign_deposit/simulator/index.html"!==e&&""!==o){var s=$(o).offset().top-p;$("html").scrollTop(s)}}),$(window).on("resize",function(){window.innerWidth!==r&&(p=s.height())})});