PageSourceSearch

https://fxnx.com/_next/static/chunks/1443.04aa6b0898acd1be.js

js fxnx.com collected 2026-10-02 15:26:53 UTC 11,653 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1443],{41443:(t,s,e)=>{e.r(s),e.d(s,{default:()=>a});let a=(0,e(69499).E8)("upgrades/comes-back",function(t,s,e,a,n,i,o,r,c,f,l,p,d,u,h,m,v,g,b,w,y,L,E,x,k){function A(t){return s.i18n.t("upgrades.comes-back."+t)}function M(s){return t.querySelector(s)}function C(s){return[].slice.call(t.querySelectorAll(s))}var D="cubic-bezier(.22,1,.36,1)",U="cubic-bezier(.65,0,.35,1)",H=s.truth.flex.PUBLISHED_ACCOUNTS,P={one:H["nx-one"].commissionUsd,pro:H["nx-pro"].commissionUsd},R=["com","spr","swp"],_="EURUSD",S={acct:"one",sel:"com",armed:!1,drawn:!1,ready:!1,compact:!1},F=M(".cb-stage"),T=M(".cb-svg"),q=M(".cb-screen"),I=M(".cb-mt5"),N={},W={},O={},z={},B={},V={};R.forEach(function(t){N[t]=M('.cb-row[data-side="m"][data-fam="'+t+'"]'),W[t]=M('.cb-row[data-side="w"][data-fam="'+t+'"]'),O[t]=M('.cb-lab[data-fam="'+t+'"]')}),B.spr=M('[data-tx="m-spr"]'),B.swp=M('[data-tx="m-swp"]'),V.spr=M('[data-tx="w-spr"]'),V.swp=M('[data-tx="w-swp"]');var Y={},G=M("[data-live]"),$=M(".cb-cap");R.forEach(function(t){Y[t]=M('[data-cap="'+t+'"]')});var j=new s.Flap(M('[data-amt="m"]'),0),J=new s.Flap(M('[data-amt="w"]'),6);function K(t){return t+"$"+P[S.acct].toFixed(2)}function Q(t,s,e){var n=a.createElementNS("http://www.w3.org/2000/svg",t);return s&&n.setAttribute("class",s),e.appendChild(n),n}j.build(K("−")),J.build(K("+"));var X=Q("defs","",T);function Z(t,s){var e=Q("linearGradient","",X);return e.id=t,e.setAttribute("gradientUnits","userSpaceOnUse"),e.setAttribute("x1","0"),e.setAttribute("x2","0"),s.forEach(function(t){var s=Q("stop","",e);s.setAttribute("offset",t[0]),s.style.stopColor=t[1],s.style.stopOpacity=t[2]}),e}R.forEach(function(t,s){var e=Q("g","cb-loop",T);e.setAttribute("data-fam",t),e.style.setProperty("--k",s);var a={g:e};a.gl=Z("comes-back-g-"+t,[[0,"var(--on-2)",.62],[.36,"var(--on-2)",.74],[.64,"var(--signal)",1],[1,"var(--signal)",1]]),a.gb=Z("comes-back-b-"+t,[[0,"var(--signal)",0],[.42,"var(--signal)",0],[.72,"var(--signal)",1],[1,"var(--signal)",1]]),["track","dash","bloom","lit","pb","ph","chev","hit"].forEach(function(t){a[t]=Q("path","cb-"+t,e)}),a.pm=Q("circle","cb-port cb-port--m",e),a.pw=Q("circle","cb-port cb-port--w",e),["bloom","lit","pb","ph"].forEach(function(t){a[t].setAttribute("pathLength","1")}),a.dl=.08,z[t]=a});var tt=M(".cb-wal"),ts=!1;function te(t,e,n,i){var o=[].slice.call(t.children),r=o[o.length-1];if(!r||r.innerHTML!==e||i){var c=a.createElement("span");if(c.innerHTML=e,!n||s.RM||!ts||a.hidden){t.textContent="",t.appendChild(c);return}t.appendChild(c),o.forEach(function(t){t._out||(t._out=!0,t.getAnimations().forEach(function(t){t.finish()}),t.animate([{transform:"none",opacity:1},{transform:"translateY(-65%)",opacity:0}],{duration:300,easing:D,fill:"forwards"}).onfinish=function(){t.parentNode&&t.remove()})}),c.animate([{transform:"translateY(65%)",opacity:0},{transform:"none",opacity:1}],{duration:440,easing:D,fill:"backwards"}),i&&c.classList.add("is-flash")}}var ta=function(){return"pro"===S.acct};function tn(t){return"spr"===t?A("mt5.spr"):A("mt5.swp")}function ti(t){return"spr"===t?ta()?S.compact?A("pro.none"):A("none"):A("wal.spr"):A("wal.swp")}function to(){C("[data-lot]").forEach(function(t){t.textContent=A("lot")}),te(B.spr,tn("spr"),!1),te(B.swp,tn("swp"),!1),["spr","swp"].forEach(function(t){te(V[t],W[t].classList.contains("is-pend")?A("none"):ti(t),!1)})}var tr=0,tc=0,tf=!1,tl=0;function tp(t){for(var s=0,e=0;t&&t!==F;)s+=t.offsetLeft,e+=t.offsetTop,t=t.offsetParent;return{x:s,y:e}}function td(t){return Math.round(10*t)/10}function tu(t){return td(tf?tr-t:t)}function th(){var e,n;if(e=parseFloat(t.style.getPropertyValue("--cb-capgap"))||0,n=0,m("(min-width: 1000px)").matches&&(n=Math.max(0,Math.ceil(e+(tp(W.com).y+W.com.offsetHeight/2)+14-tp($).y))),n!==e&&t.style.setProperty("--cb-capgap",n+"px"),tr=F.clientWidth,tc=F.clientHeight,tr&&tc){tf="rtl"===a.documentElement.dir;var i=m("(max-width: 719px)").matches;T.setAttribute("viewBox","0 0 "+tr+" "+tc);var o=tp(I),r=i?3:3.5;tl=(tf?tr-o.x:o.x+I.offsetWidth)+r+1.5;var c={},f={};R.forEach(function(t){var s=tp(N[t]).y+N[t].offsetHeight/2,e=tp(W[t]).y+W[t].offsetHeight/2;c[t]=[s,e],f[t]=(e-s)/2});var l,p,d,u,h={},v=0,g={},b={},w=i,y=16;if(!i){var L=1,E=0;for(t.style.setProperty("--cb-ls","1"),U();u<0&&L>.72&&E++<4;)L=s.clamp(L*(1+u/(.6*(h.swp+h.spr+h.com)))-.01,.72,1),t.style.setProperty("--cb-ls",L.toFixed(3)),U();if(u<0)w=!0,t.style.setProperty("--cb-ls","1");else{var x=Math.min(210,l+u/2),k=Math.min(210,p+u/2);g={com:d,spr:d-k,swp:d-k-x},R.forEach(function(t){b[t]=f[t]})}}if(w){var u=tr-tl,M=i?s.clamp((u-10)/3.1,8,15):s.clamp((u-24)/3.2,20,120);g={swp:tl+1.1*M,spr:tl+2.1*M,com:tl+3.1*M},R.forEach(function(t){b[t]=i?Math.min(f[t],(g[t]-tl)*.9):f[t]})}w!==S.compact&&(S.compact=w,t.classList.toggle("is-compact",w),te(V.spr,W.spr.classList.contains("is-pend")?A("none"):ti("spr"),!1));var C=+!tf;R.forEach(function(t){var e=c[t][0],a=c[t][1],n=g[t],o=Math.max(2,Math.min(b[t],f[t],n-tl-2)),l=z[t],p="M"+tu(tl)+" "+td(e)+"H"+tu(n-o)+"A"+td(o)+" "+td(o)+" 0 0 "+C+" "+tu(n)+" "+td(e+o)+"V"+td(a-o)+"A"+td(o)+" "+td(o)+" 0 0 "+C+" "+tu(n-o)+" "+td(a)+"H"+tu(tl);["track","dash","bloom","lit","pb","ph","hit"].forEach(function(t){l[t].setAttribute("d",p)}),[l.gl,l.gb].forEach(function(t){t.setAttribute("y1",td(e)),t.setAttribute("y2",td(a))});var d=2*(n-o-tl)+Math.PI*o+Math.max(0,a-e-2*o);l.dl=s.clamp(58/d,.04,.3),l.pb.style.strokeDasharray=l.ph.style.strokeDasharray=l.dl+" 2",l.pb.style.strokeDashoffset=l.ph.style.strokeDashoffset=l.dl,[[l.pm,e],[l.pw,a]].forEac
1h(function(t){t[0].setAttribute("cx",tu(tl)),t[0].setAttribute("cy",td(t[1])),t[0].setAttribute("r",r)});var u=i?3:4,h=tl+(i?7:9);l.chev.setAttribute("d","M"+tu(h+u)+" "+td(a-u)+"L"+tu(h)+" "+td(a)+"L"+tu(h+u)+" "+td(a+u)),w||(O[t].style.insetInlineStart=td(n+16)+"px",O[t].style.top=td((e+a)/2)+"px")})}function D(t,s){return t>s?t-Math.sqrt(t*t-s*s):t}function U(){v=0,R.forEach(function(t){h[t]=O[t].offsetWidth,v=Math.max(v,O[t].offsetHeight)});var t=Math.max(24,v/2+2);l=y+h.swp+14+D(f.spr,t),p=y+h.spr+14+D(f.com,t),u=(d=tr-4-h.com-y)-(tl+f.swp+36)-l-p}}var tm=0;function tv(){tm||(tm=l(function(){tm=0,th(),tM()}))}function tg(t,e){s.RM||t.animate([{transform:"scale(1)"},{transform:"scale(2)",offset:.35},{transform:"scale(1)"}],{duration:700,delay:e||0,easing:D})}function tb(t,e){if(!("spr"===t&&ta())){var a=W[t],n=z[t];a.classList.remove("is-pend"),n.g.classList.add("is-lit"),tt.classList.add("is-lit"),O[t].classList.add("is-set"),"com"===t?(e&&J.build(K("−")),J.set(K("+"),1)):te(V[t],ti(t),e,e),e&&!s.RM&&(a.classList.remove("is-land"),a.offsetWidth,a.classList.add("is-land"),r(a._lt),a._lt=o(function(){a.classList.remove("is-land")},1e3),tg(n.pw,0))}}function tw(){if(!S.drawn){if(S.drawn=!0,t.classList.add("is-drawn"),s.RM){R.forEach(function(t){O[t].classList.add("is-set"),"spr"===t&&ta()||tb(t,!1)}),t.classList.add("is-ready"),S.ready=!0;return}R.forEach(function(t,s){if("spr"===t&&ta())return void o(function(){O.spr.classList.add("is-set"),ta()&&(W.spr.classList.remove("is-pend"),te(V.spr,ti("spr"),!0))},1040+160*s);tg(z[t].pm,160*s),o(function(){tb(t,!0)},1040+160*s)}),o(function(){t.classList.add("is-ready"),S.ready=!0},1500)}}var ty=-1e4,tL=-1e4;function tE(t,e){S.sel!==t&&(S.sel=t,R.forEach(function(s){var e=s===t;N[s].setAttribute("aria-pressed",e?"true":"false"),N[s].classList.toggle("is-on",e),W[s].classList.toggle("is-on",e),O[s].classList.toggle("is-on",e),z[s].g.classList.toggle("is-on",e)}),R.forEach(function(s){var e=Y[s];r(e._t),s===t?(e.classList.remove("is-out"),e.classList.add("is-on")):e.classList.contains("is-on")&&(e.classList.remove("is-on"),e.classList.add("is-out"),e._t=o(function(){e.classList.remove("is-out")},460))}),G.textContent=Y[t].textContent),e&&function(t){var e=performance.now(),n=z[t];if(!(!S.ready||s.RM||!ts||a.hidden||"spr"===t&&ta())&&!(e-ty<1400)){ty=e;var i=n.dl;n.ph.animate([{strokeDashoffset:i,opacity:0},{opacity:1,offset:.06},{opacity:1,offset:.92},{strokeDashoffset:-1,opacity:0}],{duration:1050,easing:U}),n.pb.animate([{strokeDashoffset:i,opacity:0},{opacity:.32,offset:.06},{opacity:.32,offset:.92},{strokeDashoffset:-1,opacity:0}],{duration:1050,easing:U}),tg(n.pm,0),r(n.lt),n.lt=o(function(){tb(t,!0)},980)}}(t)}n("scroll",function(){tL=performance.now()},{passive:!0});var tx=0;R.forEach(function(t){[N[t],W[t],O[t],z[t].hit].forEach(function(e){e.addEventListener("click",function(){tE(t,!0)}),s.fine&&(e.addEventListener("pointerenter",function(){r(tx),tx=o(function(){performance.now()-tL>260&&S.sel!==t&&tE(t,!0)},130)}),e.addEventListener("pointerleave",function(){r(tx)}))})}),R.forEach(function(t){var s=t===S.sel;N[t].classList.toggle("is-on",s),W[t].classList.toggle("is-on",s),O[t].classList.toggle("is-on",s),z[t].g.classList.toggle("is-on",s)});var tk=M(".cb-seg"),tA={one:M('[data-acct="one"]'),pro:M('[data-acct="pro"]')};function tM(){var t=tA[S.acct];tk.style.setProperty("--tx",t.offsetLeft+"px"),tk.style.setProperty("--tw",t.offsetWidth+"px")}var tC=0;function tD(e,n){if(("one"===e||"pro"===e)&&e!==S.acct){S.acct=e,["one","pro"].forEach(function(t){tA[t].setAttribute("aria-checked",t===e?"true":"false"),tA[t].tabIndex=t===e?0:-1}),tM();var i=S.drawn&&ts&&!s.RM,c=ta();t.classList.toggle("is-pro",c),j.set(K("−"),1),W.com.classList.contains("is-pend")?J.build(K("−")):J.set(K("+"),1),z.spr.g.classList.toggle("is-cut",c),W.spr.classList.toggle("is-off",c),r(tC),r(z.spr.lt),c?(z.spr.g.classList.remove("is-lit"),W.spr.classList.contains("is-pend")||te(V.spr,ti("spr"),i)):S.drawn&&(i?(tg(z.spr.pm,0),tC=o(function(){tb("spr",!0)},700)):tb("spr",!1)),tv(),n&&a.dispatchEvent(new CustomEvent("upg:account",{detail:e}))}}["one","pro"].forEach(function(t){tA[t].addEventListener("click",function(){tD(t,!0)})}),tk.addEventListener("keydown",function(t){if(!(0>["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].indexOf(t.key))){t.preventDefault();var s="one"===S.acct?"pro":"one";tD(s,!0),tA[s].focus()}}),a.addEventListener("upg:account",function(t){tD(t.detail,!1)});var tU=[[],[[5,1440]],[[5,1440]],[[5,1440]],[[5,1440]],[[5,1440]],[]];function tH(){var t=new Date(Date.now()+108e5),s=60*t.getUTCHours()+t.getUTCMinutes();return tU[t.getUTCDay()].some(function(t){return s>=t[0]&&s<t[1]})}var tP=M(".cb-q"),tR=M(".cb-stt"),t_=C(".live-dot"),tS=new s.Flap(M('[data-q="bid"]')),tF=new s.Flap(M('[data-q="ask"]')),tT=s.feed.live?"live":"connecting",tq=s.feed.live,tI=!tH(),tN=null;function tW(){var t=s.feed.has(_),e=t&&tI?"closed":"live"!==tT||t?tT:"connecting";tR.textContent=A("st."+e),t_.forEach(function(t){t.classList.toggle("on","live"===e)}),tP.classList.toggle("is-closed","closed"===e)}a.addEventListener("fx:live",function(t){t.detail?(tq=!0,tT="live"):tT=tq?"reconnecting":"connecting",tW()}),c(function(){var t=!tH();
1t!==tI&&(tI=t,tW())},3e4),s.feed.subscribe(function(t){var e,a,n;t.symbol===_&&(e=s.feed.fmt(t.bid,_),a=s.feed.fmt(t.ask,_),n=null==tN||t.bid>=tN?1:-1,tN=t.bid,tS.set(e,n),tF.set(a,n),tP.classList.contains("has")||(tP.classList.add("has"),tW(),tv()))}),a.addEventListener("fx:lang",function(){to(),tW(),tv()}),"function"==typeof h&&new h(tv).observe(F),n("resize",tv),a.fonts&&a.fonts.ready&&a.fonts.ready.then(tv),s.RM?R.forEach(function(t){O[t].classList.add("is-set")}):(W.com.classList.add("is-pend"),J.build(K("−")),["spr","swp"].forEach(function(t){W[t].classList.add("is-pend")})),to(),tW(),th(),tM(),new d(function(t){t.forEach(function(t){ts=t.isIntersecting,t.isIntersecting&&t.intersectionRatio>=.3&&!S.armed&&(S.armed=!0,tv(),o(tw,420*!s.RM))})},{threshold:[0,.3]}).observe(q)})}}]);

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.