PageSourceSearch

https://webtrader.cmsprime.com/web/assets/js/4426.chunk.f36bdff9.js

js cmsprime.com collected 2026-10-01 16:31:56 UTC 15,204 bytes, 1 lines download raw bytes

1(self.webpackChunk_aqx_member_web=self.webpackChunk_aqx_member_web||[]).push([["4426"],{26833:function(e,t,n){var r=n(82109),o=n(44699).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},33526:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>en});var r=n(74512),o=n(32735),i=n(10281),a=n(71028),c=n(57753),l=n(53695);n(57327),n(41539),n(92222),n(15306),n(74916),n(21249);var s=n(81182),u=n(96838),f=n(82647),d=n(51008),p=n(62715),g=n(71225),h=n(80199),O=n(38074),y=n(15226),m=n(43545),I=n(21312),T=n(6807),C=n(479),b=n(14485),P=n(33007);n(26833);var E=n(1403),w={CURRENCY:function(){return{TITLE:C.ag.t("Currency"),DESCRIPTION:[C.ag.t("The currency of the Risk Account into which all transactions are translated.")]}},ACCOUNT_BALANCE:function(){return{TITLE:C.ag.t("Account Balance"),DESCRIPTION:[C.ag.t("The available balance of the Risk Account"),C.ag.t("Balance = Deposit + Realised P/L")]}},PROFIT_LOSS:function(){return{TITLE:C.ag.t("Profit/Loss"),DESCRIPTION:[C.ag.t("The real-time floating PL of the Risk Account")]}},EQUITY:function(){return{TITLE:C.ag.t("Equity"),DESCRIPTION:[C.ag.t("The real-time Equity of the Risk Account"),C.ag.t("Equity = Balance + running PL")]}},BLOCKED_MARGIN:function(){return{TITLE:C.ag.t("Blocked Margin"),DESCRIPTION:[C.ag.t("The amount of used Margin in Account Currency (USD)"),C.ag.t("Blocked Margin = Volume * (margin/100) * avg price")]}},MARGIN_LEVEL:function(){return{TITLE:C.ag.t("Margin Level"),DESCRIPTION:[C.ag.t("The Margin Level Percentage of the Risk Account"),C.ag.t("Margin Level = Equity/Margin blocked x 100")]}},NOTIONAL:function(){return{TITLE:C.ag.t("Notional"),DESCRIPTION:[C.ag.t("The total USD exposure of the Risk Account in Notional Volume")]}},COMMISSION:function(){return{TITLE:C.ag.t("Commission"),DESCRIPTION:[C.ag.t("The Commission charged in USD on the Risk Account on a per Symbol basis, if any. Commissions remain unrealized (only affect Equity) until the Position is partially or fully closed, which will affect the Balance based on the closed Volume.")]}},SWAPS:function(){return{TITLE:C.ag.t("Swaps"),DESCRIPTION:[C.ag.t("Swaps are charged in USD per symbol for keeping positions overnight, if any. Swaps remain unrealised (they will only affect equity) until the position is partially or fully closed. Upon closing, they will affect the Balance based on the closed volume.")]}},AVAILABLE_TO_WITHDRAW:function(){return{TITLE:C.ag.t("Available to Withdraw"),DESCRIPTION:[C.ag.t("The available amount for withdrawal which is equivalent to the Free Margin"),C.ag.t("Available to Withdraw = Equity – Margin Blocked - Credit")]}},CREDIT:function(){return{TITLE:C.ag.t("Credit"),DESCRIPTION:[C.ag.t("The available credit granted to the Risk Account in USD, if any")]}},STOP_OUT_LEVEL:function(){return{TITLE:C.ag.t("Stop Out Level"),DESCRIPTION:[C.ag.t("The margin percentage level at which point the Risk Account will get stopped out and positions will get closed automatically")]}},MARGIN_CALL_LEVEL:function(){return{TITLE:C.ag.t("Margin Call Level"),DESCRIPTION:[C.ag.t("The Margin percentage level at which point no Orders that would further increase the exposure would be allowed")]}}},x={EQUITY:function(){return{TITLE:C.ag.t("Equity"),DESCRIPTION:[C.ag.t("Current value of trading account."),C.ag.t("Equity : Account Balance + Unrealized P/L")]}},PROFIT_LOSS:function(){return{TITLE:C.ag.t("Profit/Loss"),DESCRIPTION:[C.ag.t("Floating profit or loss of all open positions")]}},FREE_MARGIN:function(){return{TITLE:C.ag.t("Free Margin"),DESCRIPTION:[C.ag.t("Funds not currently being used for open trades."),C.ag.t("Free Margin = Equity - Margin Used")]}},MARGIN_LEVEL:function(){return{TITLE:C.ag.t("Margin Level"),DESCRIPTION:[C.ag.t("The percentage of your equity relative to the margin used."),C.ag.t("Margin Level = (Equity / Margin Used) \xd7 100")]}},ACCOUNT_BALANCE:function(){return{TITLE:C.ag.t("Account Balance"),DESCRIPTION:[C.ag.t("Total cash balance in your account")]}},MARGIN_USED:function(){return{TITLE:C.ag.t("Margin Used"),DESCRIPTION:[C.ag.t("Funds required in trading account to guarantee current open positions."),C.ag.t("Margin Used = Trade Size / Leverage * Account Currency Exchange Rate")]}}};let j=function(e){var t,n,o=(0,E.jO)().isCentroid?Object.values(w):Object.values(x);return(0,r.jsx)(y.Z,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e),n=n={placement:(0,C.dZ)()?"left":"right",popperOptions:{strategy:"fixed"},content:(0,r.jsx)(v,{children:(0,r.jsx)(A,{children:o.map(function(e){var t=e(),n=t.TITLE,o=t.DESCRIPTION;return(0,r.jsxs)(L,{children:[(0,r.jsx)(R,{typography:p.wZ.TEXT_M_SEMIBOLD,children:n}),(0,r.jsx)(S,{children:o.map(function(e){return(0,r.jsx)(_,{typography:p.wZ.TEXT_M_REGULAR,children:e},e)})})]},n)})})}),offset:[0,16],onShown:function(){a.q.page.actionClick({action:c.pW.ACCOUNT_BA
1LANCE_TOOLTIP_CLICKED})},children:e.children},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};var v=i.ZP.div.withConfig({componentId:"sc-ea839ee2-0"})(["padding:","px;display:flex;flex-direction:column;align-items:flex-start;max-height:60vh;overflow-y:auto;"],g.A.L),A=i.ZP.div.withConfig({componentId:"sc-ea839ee2-1"})([""]),L=i.ZP.div.withConfig({componentId:"sc-ea839ee2-2"})(["padding-bottom:","px;&:last-child{padding-bottom:0;}"],g.A.M),R=(0,i.ZP)(O.ZP).withConfig({componentId:"sc-ea839ee2-3"})(["color:",";"],function(e){return e.theme.themeColors.white}),S=i.ZP.div.withConfig({componentId:"sc-ea839ee2-4"})([""]),_=(0,i.ZP)(O.ZP).withConfig({componentId:"sc-ea839ee2-5"})(["color:",";padding-bottom:","px;&:last-child{padding-bottom:0;}"],function(e){return e.theme.themeColors.white},g.A.XXS),N=n(39574),D=function(e){var t=e.isPinned,n=e.assetType,o=(0,s.$G)().t,i=(0,P.VC)().theme,a=(0,l.xV)(),c=a.pinnedAssets,f=a.editPinnedAsset,d=t||c.filter(function(e){return e.isPinned}).length<l.fd,p=t?h.Ro.PIN:h.Ro.UNPIN,g=t?i.themeColors.pnl.neutral.default:i.themeColors.icon.default;return(0,r.jsx)(y.Z,{variant:y.q.BASE,content:(0,r.jsx)(M,{children:o("You can pin up to 3 items.")}),placement:"right",trigger:"mouseenter",popperOptions:{strategy:"fixed"},disabled:d,children:(0,r.jsx)(u.ZP,{variant:u.eF.ICON_ONLY,icon:p,textColor:g,hoverTextColor:g,iconSize:h.sk.S,onClick:function(e){e.stopPropagation(),e.preventDefault(),f(n)},dataTestId:"".concat(T.Of.ACCOUNT_INFO,"-").concat(n.toLocaleLowerCase().replace("_","-"),"-").concat(t?"pin":"unpin")})})};let Z=function(e){var t,n,o=(0,s.$G)().t,i=(0,P.VC)().theme,a=(0,l.xV)().pinnedAssets,c=(0,b.K$)(m.Gt.SHOW_HOME_ACCOUNT_BALANCE),g=(0,N.LR)();return(0,r.jsx)(f.ZP,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({dropdownWidth:"250px",dropdownPlacement:(0,C.dZ)()?f.s1.BOTTOM_START:f.s1.BOTTOM_END,shadow:d.G.HIGH},e),n=n={children:(0,r.jsx)(U,{"data-testid":T.Of.ACCOUNT_INFO_DROPDOWN,children:(0,r.jsxs)(k,{children:[(0,r.jsxs)(B,{children:[(0,r.jsxs)(G,{children:[(0,r.jsxs)(F,{children:[(0,r.jsx)(q,{typography:p.wZ.TEXT_S_MEDIUM,children:o("Account Information")}),(0,r.jsx)(u.ZP,{icon:c?h.Ro.VISIBILITY:h.Ro.VISIBILITY_OFF,variant:u.eF.ICON_ONLY,textColor:i.themeColors.primary,hoverTextColor:i.themeColors.primary,onClick:function(){b.HZ.toggleAccountBalanceVisibility(m.Gt.SHOW_HOME_ACCOUNT_BALANCE)}})]}),(0,r.jsx)(j,{children:(0,r.jsx)(h.ZP,{icon:h.Ro.INFO,size:h.sk.SM,color:i.themeColors.text.muted})})]}),a.map(function(e){var t=e.type,n=e.label,o=e.valueRenderer,i=e.isPinned;return(0,r.jsxs)(G,{children:[(0,r.jsxs)(V,{children:[(0,r.jsx)(X,{dataTestId:"".concat(T.Of.ACCOUNT_INFO,"-").concat(t.toLocaleLowerCase().replace("_","-"),"-label"),typography:p.wZ.TEXT_M_REGULAR,children:n}),(0,r.jsx)(W,{dataTestId:"".concat(T.Of.ACCOUNT_INFO,"-").concat(t.toLocaleLowerCase().replace("_","-"),"-value"),typography:p.wZ.TEXT_M_REGULAR,children:c?(0,r.jsx)(o,{}):I.A})]}),(0,r.jsx)(D,{isPinned:i,assetType:t})]},t)})]}),(0,r.jsx)(H,{}),(0,r.jsx)(B,{children:g.map(function(e){var t=e.label,n=e.value,o=e.dataTestId;return n?(0,r.jsx)(G,{children:(0,r.jsxs)(V,{children:[(0,r.jsx)(X,{dataTestId:"".concat(o,"-label"),typography:p.wZ.TEXT_M_REGULAR,children:t}),(0,r.jsx)(W,{dataTestId:"".concat(o,"-value"),typography:p.wZ.TEXT_M_REGULAR,children:c?"".concat(n,"%"):I.A})]})},t):null})})]})})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}
1)(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};var M=i.ZP.span.withConfig({componentId:"sc-e984e256-0"})(["display:flex;align-items:center;justify-content:center;padding:","px ","px;color:",";"],g.A.XXS,g.A.XS,function(e){return e.theme.themeColors.white}),U=i.ZP.div.withConfig({componentId:"sc-e984e256-1"})(["width:250px;"]),k=i.ZP.div.withConfig({componentId:"sc-e984e256-2"})(["display:flex;padding:","px;flex-direction:column;gap:","px;"],g.A.REGULAR,g.A.REGULAR),B=i.ZP.div.withConfig({componentId:"sc-e984e256-3"})(["display:flex;flex-direction:column;gap:","px;width:100%;"],g.A.XS),G=i.ZP.div.withConfig({componentId:"sc-e984e256-4"})(["display:flex;width:100%;justify-content:space-between;align-items:center;gap:","px;"],g.A.XS),F=i.ZP.div.withConfig({componentId:"sc-e984e256-5"})(["display:flex;align-items:center;gap:","px;"],g.A.XXS),q=(0,i.ZP)(O.ZP).withConfig({componentId:"sc-e984e256-6"})(["color:",";"],function(e){return e.theme.themeColors.text.subtle}),V=i.ZP.div.withConfig({componentId:"sc-e984e256-7"})(["display:flex;width:100%;justify-content:space-between;align-items:center;"]),X=(0,i.ZP)(O.ZP).withConfig({componentId:"sc-e984e256-8"})(["color:",";"],function(e){return e.theme.themeColors.text.muted}),W=(0,i.ZP)(O.ZP).withConfig({componentId:"sc-e984e256-9"})(["color:",";"],function(e){return e.theme.themeColors.text.default}),H=i.ZP.span.withConfig({componentId:"sc-e984e256-10"})(["border:none;width:100%;background-color:",";height:1px;"],function(e){return e.theme.themeColors.border.default}),Y=n(72939);let $=function(e){var t,n,i=e.isOpen,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["isOpen"]),c=(0,s.$G)().t,u=(0,l.xV)().pinnedAssets,f=(0,b.K$)(m.Gt.SHOW_HOME_ACCOUNT_BALANCE),d=(0,o.useMemo)(function(){return u.every(function(e){return!e.isPinned})},[u]);return(0,r.jsxs)(z,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},a),n=n={children:[(0,r.jsx)(K,{"data-testid":T.Of.ACCOUNT_INFO,children:d?(0,r.jsx)(J,{typography:p.wZ.TEXT_M_REGULAR,children:c("Account Information")}):u.map(function(e){var t=e.type,n=e.label,o=e.isPinned,i=e.valueRenderer;return o?(0,r.jsx)(Y.Z,{title:n,type:t,children:(0,r.jsx)(Q,{typography:p.wZ.TEXT_M_REGULAR,dataTestId:"".concat(T.Of.ACCOUNT_INFO,"-").concat(t.toLocaleLowerCase().replace("_","-"),"-value"),children:f?(0,r.jsx)(i,{}):I.A})},t):null})}),(0,r.jsx)(ee,{icon:i?h.Ro.CHEVRON_UP:h.Ro.CHEVRON_DOWN,dataTestId:T.Of.ACCOUNT_INFO_DROPDOWN_ICON})]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};var z=i.ZP.div.withConfig({componentId:"sc-764699f8-0"})(["display:flex;padding:","px;justify-content:flex-end;align-items:flex-start;flex-shrink:1;min-width:0;cursor:pointer;&:hover{background-color:",";}"],g.A.REGULAR,function(e){return e.theme.themeColors.background.subtle}),K=i.ZP.div.withConfig({componentId:"sc-764699f8-1"})(["display:flex;gap:","px;overflow:hidden;min-width:0;& > *{flex-shrink:0;}"],g.A.M),Q=(0,i.ZP)(O.ZP).withConfig({componentId:"sc-764699f8-2"})(["color:",";text-align:end;justify-content:flex-end;"],function(e){return e.theme.themeColors.text.strong}),J=(0,i.ZP)(O.ZP).withConfig({componentId:"sc-764699f8-3"})(["color:",";"],function(e){return e.theme.themeColors.text.muted}),ee=(0,i.ZP)(h.ZP).withConfig({componentId:"sc-764699f8-4"})(["padding-left:","px;flex-shrink:0;"],g.A.M);function et(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}let en=function(){var e,t=(0,o.useRef)(null),n=(e=(0,o.useState)(!1),function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,c=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(c)throw r}}return i}}(e,2)||function(e,t){if(e){if("string"==typeof e)return et(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return et(e,t)}}
1(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=n[0],s=n[1];return(0,r.jsx)(l._H,{children:(0,r.jsxs)(er,{ref:t,children:[(0,r.jsx)($,{isOpen:i,onClick:function(){a.q.page.actionClick({action:c.pW.ACCOUNT_BALANCE_DROP_DOWN_CLICKED}),s(!i)}}),(0,r.jsx)(Z,{isVisible:i,parentRef:t,onClose:function(){s(!1)}})]})})};var er=i.ZP.div.withConfig({componentId:"sc-f102f21f-0"})(["display:flex;position:relative;min-width:0;"])}}]);

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.