(function(window,undefined){/* ral v1.8.12 (ral-1.8.12.js) Copyright (c) @2013-2024 Rakuten, Inc Date : 2024-05-24 Env: prod Rev: 3186b1d */ 'use strict';window.RAL=window.RAL||{}; RAL.live||function(e,h){var l=e.JSON||{};"function"!==typeof l.stringify&&(l.stringify=function(a,b,c){function d(a,b){var c,k,l,q,r=e,p,n=b[a];n&&"object"===typeof n&&"function"===typeof n.toJSON&&(n=n.toJSON(a));"function"===typeof g&&(n=g.call(b,a,n));switch(typeof n){case "string":return f(n);case "number":return isFinite(n)?String(n):"null";case "boolean":case "null":return String(n);case "object":if(!n)return"null";e+=h;p=[];if("[object Array]"===Object.prototype.toString.apply(n)){q=n.length; for(c=0;c=c?f.setTime(0):f.setDate(f.getDate()+c);document.cookie=a+"="+b+"; Expires="+f.toGMTString()+";"+(d?" Domain=."+d+";":"")+" Path=/;"+("https:"===location.protocol?" Secure;":"")}};RAL.Tc=function(a){RAL.la(a,"",0)};RAL.hb=function(){var a,b;for(b=a="";36>a++;b+=51*a&52?(a^15?8^Math.random()*(a^20?16:4):4).toString(16): "-");return b};RAL.Ab=function(a){var b=RAL.T+"TEST";RAL.la(b,b,1,a);var c=RAL.j(b);RAL.la(b,"",0,a);return c===b};RAL.yc=function(){var a,b=RAL.wa,b=RAL.i(b),c=RegExp("^"+b+"=");if(a=a||document.location.search){a=a.replace(/^\?/,"").split("&");for(var d=0;db;++b)a=(a<<4)+c[b]%16; a^=Math.floor(65536*Math.random());return("0000"+a.toString(16)).slice(-4)};RAL.Bb=function(a){try{var b;if(e.Tb&&"function"===typeof e.Tb)b=new CustomEvent(a,{detail:null}),document.dispatchEvent(b);else if(document.createEvent)b=document.createEvent("CustomEvent"),b.initCustomEvent(a,!0,!0,null),document.dispatchEvent(b);else if(document.createEventObject&&document.fireEvent)b=document.createEventObject(),b.detail=null,document.fireEvent("onpropertychange",b);else throw Error("Cannot instantiate event for "+ a);}catch(c){}};RAL._loadWebVitals=function(){ return/* v2.1.4 */function(e){"use strict";var t,n,i,r,a=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},o=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},u=function(e,t){var n=function n(i){"pagehide"!==i.type&&"hidden"!==document.visibilityState||(e(i),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},c=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},f=function(e,t,n){var i;return function(r){t.value>=0&&(r||n)&&(t.delta=t.value-(i||0),(t.delta||void 0===i)&&(i=t.value,e(t)))}},s=-1,m=function(){return"hidden"===document.visibilityState?0:1/0},v=function(){u((function(e){var t=e.timeStamp;s=t}),!0)},d=function(){return s<0&&(s=m(),v(),c((function(){setTimeout((function(){s=m(),v()}),0)}))),{get firstHiddenTime(){return s}}},p=function(e,t){var n,i=d(),r=a("FCP"),u=function(e){"first-contentful-paint"===e.name&&(m&&m.disconnect(),e.startTime=0&&n1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){y(e,t),r()},i=function(){r()},r=function(){removeEventListener("pointerup",n,T),removeEventListener("pointercancel",i,T)};addEventListener("pointerup",n,T),addEventListener("pointercancel",i,T)}(t,e):y(t,e)}},S=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,L,T)}))},w={};return e.getCLS=function(e,t){l||(p((function(e){g=e.value})),l=!0);var n,i=function(t){g>-1&&e(t)},r=a("CLS",0),s=0,m=[],v=function(e){if(!e.hadRecentInput){var t=m[0],i=m[m.length-1];s&&e.startTime-i.startTime<1e3&&e.startTime-t.startTime<5e3?(s+=e.value,m.push(e)):(s=e.value,m=[e]),s>r.value&&(r.value=s,r.entries=m,n())}},d=o("layout-shift",v);d&&(n=f(i,r,t),u((function(){d.takeRecords().map(v),n(!0)})),c((function(){s=0,g=-1,r=a("CLS",0),n=f(i,r,t)})))},e.getFCP=p,e.getFID=function(e,i){var s,m=d(),v=a("FID"),p=function(e){e.startTimeperformance.now())return;n.entries=[t],e(n)}catch(e){}},"complete"===document.readyState?setTimeout(t,0):addEventListener("load",(function(){return setTimeout(t,0)}))},Object.defineProperty(e,"__esModule",{value:!0}),e}({}); };RAL.g=function(a){this.b={};this.ub={};a!==h&&RAL.Oa(this.b,a)};RAL.g.prototype.Pc=function(a){return null==a?!1:RAL.F(a)?""!==RAL.i(a):"number"===typeof a?!isNaN(a)&&isFinite(a):!0};RAL.g.prototype.d=function(a,b){var c=RAL.i(a);null!==c&&""!==c&&this.Pc(b)&&(this.b[c]="string"===typeof b?RAL.i(b):b)};RAL.g.prototype.remove=function(a){a=RAL.i(a);null===a||""===a||a in this.b&&delete this.b[a]};RAL.g.prototype.setParameters=function(a,b){if(RAL.Y(a))for(var c in a)this.d(c, a[c]),b&&(this.ub[c]=!0)};RAL.g.prototype.Gb=function(a){if(RAL.Y(a))for(var b in a)if(!this.e(b)||this.ub[b])this.d(b,a[b]);else{var c=this.get(b);RAL.X(c)&&RAL.X(a[b])?this.d(b,c.concat(a[b])):RAL.Y(c)&&RAL.Y(a[b])?RAL.Oa(c,a[b]):this.d(b,a[b])}};RAL.g.prototype.cd=function(){return l.stringify(this.b)};RAL.g.prototype.get=function(a){a=RAL.i(a);return null===a||""===a?null:a in this.b?this.b[a]:null};RAL.g.prototype.e=function(a){a=RAL.i(a);return null===a||""===a?!1:a in this.b};RAL.g.prototype.ad= function(){var a={},b;for(b in this.b)a[b]=this.b[b];return a};RAL.g.prototype.dd=function(){var a=!1,b=this.get(RAL.a.da);"scroll"==b?a=RAL.J.scroll:"appear"==b?a=RAL.J.appear:"pv"==b?a=RAL.J.pv:"click"==b?a=RAL.J.click:"async"==b&&(a=RAL.J.async);return a};RAL.ra=function(){};RAL.ra.prototype.ca=function(){};RAL.ra.prototype.L=function(){};RAL.ra.prototype.ma=function(){};RAL.ra.prototype.e=function(){};RAL.pa=function(){this.G=RAL.T};RAL.pa.prototype.ca=function(a,b){if(1E3=a&&!d;a++){var f=c.slice(-a).join(".");RAL.Ab(f)&&(d=f)}RAL.la(RAL.wa,b,RAL.hc,d);RAL.Bb("RA_PUBLISH"); if(e===e.parent){"webVitals"in e&&"function"==typeof e.webVitals.getFCP&&"function"==typeof e.webVitals.getLCP&&"function"==typeof e.webVitals.getFID&&"function"==typeof e.webVitals.getCLS&&"function"==typeof e.webVitals.getTTFB?(RAL.B=e.webVitals,RAL.Ja="*.*.*"):RAL.B=RAL._loadWebVitals();try{RAL.c.prototype.H.bd(this)}catch(m){}}};RAL.c.prototype.sc=function(){return 2048-(this.K.length+RAL.xa.length)};RAL.c.prototype.setMainReceiver=function(a){if(!(0b?"0":"")+b+"-"+(10>c?"0":"")+c+" "+(10>d?"0":"")+d+":"+(10>f?"0":"")+f+":"+(10>e?"0":"")+e};RAL.c.prototype.setPageName=function(a){this.p(a)||this.b.d(RAL.a.ac,a)};RAL.c.prototype.setPageType=function(a){this.p(a)||this.b.d(RAL.a.bc,a)};RAL.c.prototype.setGenre=function(a){this.p(a)||this.b.d(RAL.a.Vb,a)};RAL.c.prototype.setCustomParameters=function(a){if(a){var b=a;if(this.b.e(RAL.a.Ca)){var c= this.b.get(RAL.a.Ca);RAL.Oa(c,a)&&(b=c)}this.b.d(RAL.a.Ca,b)}};RAL.c.prototype.setViewImpressions=function(a){this.b.d(RAL.a.fc,a)};RAL.c.prototype.setParameters=function(a){this.b.setParameters(a)};RAL.c.prototype.appendParameters=function(a){if(RAL.Y(a))for(var b in a)if(this.b.e(b)){var c=this.b.get(b);"object"!==typeof c&&(c=[]);this.b.d(b,[].concat(c).concat(a[b]))}else"object"===typeof a[b]?this.b.d(b,a[b]):this.b.d(b,[a[b]])};RAL.c.prototype.setOptions=function(a){if(RAL.X(a)){for(var b={}, c=0,d=a.length;cf)&&this.f.Ba&&(this.f.Ba=parseInt(this.f.Ba,10),!isNaN(parseInt(this.f.Ba,10))&&(this.f.Fb||(this.f.Fb=RAL.fb),this.f.t||this.f.u||this.f.w||this.f.v||this.f.A))){RAL.callQueue=RAL.callQueue||[];b=b();var f= this.f,h=this.Z,g={proceed:!1};a.e(RAL.a.URL)&&(g[RAL.a.URL]=a.get(RAL.a.URL));a.e(RAL.a.N)&&(g[RAL.a.N]=a.get(RAL.a.N));a.e(RAL.a.q)&&(g[RAL.a.q]=a.get(RAL.a.q));a.e(RAL.a.r)&&(g[RAL.a.r]=a.get(RAL.a.r));a.e(RAL.a.sa)&&(g[RAL.a.sa]=a.get(RAL.a.sa));a.e(RAL.a.k)&&(g[RAL.a.k]=a.get(RAL.a.k));a.e(RAL.a.l)&&(g[RAL.a.l]=a.get(RAL.a.l));a.e(RAL.a.m)&&(g[RAL.a.m]=a.get(RAL.a.m));a.e(RAL.a.n)&&(g[RAL.a.n]=a.get(RAL.a.n));a.e(RAL.a.o)&&(g[RAL.a.o]=a.get(RAL.a.o));a.e(RAL.a.na)&&(g[RAL.a.na]=a.get(RAL.a.na)); a.e(RAL.a.ia)&&(g[RAL.a.ia]=a.get(RAL.a.ia));a.e(RAL.a.ha)&&(g[RAL.a.ha]=a.get(RAL.a.ha));f.u&&-1==h.indexOf(RAL.a.P)&&(g[RAL.a.P]=f.u,g.proceed=!0);f.t&&-1==h.indexOf(RAL.a.O)&&(g[RAL.a.O]=f.t,g.proceed=!0);f.w&&-1==h.indexOf(RAL.a.R)&&(g[RAL.a.R]=f.w,g.proceed=!0);f.A&&-1==h.indexOf(RAL.a.S)&&(g[RAL.a.S]=f.A,g.proceed=!0);f.v&&-1==h.indexOf(RAL.a.Q)&&(g[RAL.a.Q]=f.v,g.proceed=!0);g[RAL.a.Ga]=RAL.Ja;g[RAL.a.Ha]=f.ja;b.hasOwnProperty(RAL.a.va)&&(g[RAL.a.va]=b[RAL.a.va]);b.hasOwnProperty(RAL.a.oa)&& (g[RAL.a.oa]=b[RAL.a.oa]);b.hasOwnProperty(RAL.a.qa)&&(g[RAL.a.qa]=b[RAL.a.qa]);b.hasOwnProperty(RAL.a.ta)&&(g[RAL.a.ta]=b[RAL.a.ta]);g[RAL.a.da]="perf";!0==g.proceed&&(delete g.proceed,e.navigator.sendBeacon(c+RAL.xa+encodeURIComponent(l.stringify(g)))&&(2<=++this.Cb?(e.removeEventListener("visibilitychange",d),e.removeEventListener("pagehide",d)):(g.hasOwnProperty(RAL.a.P)&&this.Z.push(RAL.a.P),g.hasOwnProperty(RAL.a.R)&&this.Z.push(RAL.a.R),g.hasOwnProperty(RAL.a.O)&&this.Z.push(RAL.a.O),g.hasOwnProperty(RAL.a.Q)&& this.Z.push(RAL.a.Q),g.hasOwnProperty(RAL.a.S)&&this.Z.push(RAL.a.S))))}}}};RAL.c.prototype.yb=function(a){a&&!a[RAL.a.bb]||this.b.d(RAL.a.bb,this.qc(this.zb));if(!a||a[RAL.a.URL])this.b.e(RAL.a.URL)||this.b.d(RAL.a.URL,this.Gc());if(!a||a[RAL.a.Fa])this.b.e(RAL.a.Fa)||this.b.d(RAL.a.Fa,this.zc());a&&!a[RAL.a.cb]||this.b.d(RAL.a.cb,this.Ec());a&&!a[RAL.a.eb]||this.b.d(RAL.a.eb,this.Fc());a&&!a[RAL.a.ab]||this.b.d(RAL.a.ab,this.Bc());a&&!a[RAL.a.Ya]||this.b.d(RAL.a.Ya,this.Nc());a&&!a[RAL.a.Va]||this.b.d(RAL.a.Va, this.rc());if(!a||a[RAL.a.N])this.b.e(RAL.a.N)||this.b.d(RAL.a.N,this.Hc());a&&!a[RAL.a.$a]||this.b.d(RAL.a.$a,this.Na);a&&!a[RAL.a.VERSION]||this.b.d(RAL.a.VERSION,RAL.nc);if(!a||a[RAL.a.Da])null===this.h?this.b.remove(RAL.a.Da):this.b.d(RAL.a.Da,this.h);a&&!a.perf||this.b.Gb(this.ib());a&&!a[RAL.a.Za]||this.b.d(RAL.a.Za,this.tc());a&&!a[RAL.a.Xa]||this.b.d(RAL.a.Xa,this.Mc());if(!a||a[RAL.a.k])this.b.e(RAL.a.k)||this.b.d(RAL.a.k,this.lb());if(!a||a[RAL.a.l])this.b.e(RAL.a.l)||this.b.d(RAL.a.l,this.mb()); if(!a||a[RAL.a.m])this.b.e(RAL.a.m)||this.b.d(RAL.a.m,this.nb());if(!a||a[RAL.a.I])this.b.e(RAL.a.I)||this.b.d(RAL.a.I,this.ob());if(!a||a[RAL.a.n])this.b.e(RAL.a.n)||this.b.d(RAL.a.n,this.pb());if(!a||a[RAL.a.o])this.b.e(RAL.a.o)||this.b.d(RAL.a.o,this.qb());a&&a[RAL.a.R]&&this.b.d(RAL.a.R,this.H.w);a&&a[RAL.a.P]&&this.b.d(RAL.a.P,this.H.u);a&&a[RAL.a.O]&&this.b.d(RAL.a.O,this.H.t);a&&a[RAL.a.S]&&this.b.d(RAL.a.S,this.H.A);a&&a[RAL.a.Q]&&this.b.d(RAL.a.Q,this.H.v);a&&a[RAL.a.Ha]&&this.b.d(RAL.a.Ha, this.H.ja);a&&a[RAL.a.Ga]&&this.b.d(RAL.a.Ga,this.H.ua)};RAL.c.prototype.Vc=function(a){if(!this.La)return this.Ta([a])?!0:!1;try{var b=this.rb();b&&(b.open("GET",this.K+RAL.xa+encodeURIComponent(a),!0),b.withCredentials=!0,b.send(""))}catch(c){return!1}return!0};RAL.c.prototype.Wc=function(a){try{document.createElement("img").src=this.K+RAL.xa+encodeURIComponent(a)+"&t="+(new Date).getTime()}catch(b){return!1}return!0};RAL.c.prototype.xb=function(a){try{if(0===a.length)return!0;var b=1===a.length? a[0]:"["+a.join(",")+"]",c=this.rb();c&&(c.open("POST",this.K,!0),this.jb()||c.setRequestHeader("Content-type","text/plain; charset=UTF-8"),c.withCredentials=!0,c.send(RAL.Ia+b))}catch(d){return!1}return!0};RAL.c.prototype.Ta=function(a){if(!document.body)return!1;if(0===a.length)return!0;a=1===a.length?a[0]:"["+a.join(",")+"]";var b=document.createElement("iframe");b.name=RAL.T+String(Math.floor(2147483648*Math.random()));b.style.display="none";document.body.appendChild(b);if(b.contentWindow){b.contentWindow.name= b.name;var c=document.createElement("form");c.target=b.name;c.action=this.K.replace("http:","https:");c.method="POST";c.encoding=c.enctype="text/plain";c.style.display="none";var d=document.createElement("input");d.type="hidden";d.name=RAL.Ia.replace("=","");d.value=a;c.appendChild(d);document.body.appendChild(c);c.submit();document.body.removeChild(c);document.body.removeChild(b);return!0}return!1};RAL.c.prototype.Uc=function(a){if(null===a||"object"!==typeof a||0===a.length)return!0;var b=!0;return b= 1===a.length?encodeURIComponent(a[0]).length=RAL.kc&&(d=this.Db(d)||d);c.length+d.join().length>RAL.lc&&this.Db(d);if(this.pc(c)&&(c=null,b))return}if(this.Na){d=this.Ma();c&&d.push(c);for(var c=Math.min(d.length,RAL.jc),c=d.splice(0,c),e=!1,h=0;h