PageSourceSearch

https://webtrader.cmsprime.com/web/assets/js/6897.chunk.68cca425.js

js cmsprime.com collected 2026-10-01 16:32:28 UTC 11,522 bytes, 1 lines download raw bytes

1(self.webpackChunk_aqx_member_web=self.webpackChunk_aqx_member_web||[]).push([["6897"],{31530:function(e,r,t){"use strict";var n=t(28710).charAt;e.exports=function(e,r,t){return r+(t?n(e,r).length:1)}},10647:function(e,r,t){var n=t(1702),o=t(47908),i=Math.floor,a=n("".charAt),l=n("".replace),c=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,r,t,n,f,d){var p=t+e.length,b=n.length,y=s;return void 0!==f&&(f=o(f),y=u),l(d,y,function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(r,0,t);case"'":return c(r,p);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>b){var d=i(s/10);if(0===d)return o;if(d<=b)return void 0===n[d-1]?a(l,1):n[d-1]+a(l,1);return o}u=n[s-1]}return void 0===u?"":u})}},15306:function(e,r,t){"use strict";var n=t(22104),o=t(46916),i=t(1702),a=t(27007),l=t(47293),c=t(19670),u=t(60614),s=t(68554),f=t(19303),d=t(17466),p=t(41340),b=t(84488),y=t(31530),v=t(58173),g=t(10647),m=t(97651),h=t(5112)("replace"),T=Math.max,P=Math.min,O=i([].concat),S=i([].push),L=i("".indexOf),C=i("".slice),I="$0"==="a".replace(/./,"$0"),j=!!/./[h]&&""===/./[h]("a","$0");a("replace",function(e,r,t){var i=j?"$":"$0";return[function(e,t){var n=b(this),i=s(e)?void 0:v(e,h);return i?o(i,e,n,t):o(r,p(n),e,t)},function(e,o){var a=c(this),l=p(e);if("string"==typeof o&&-1===L(o,i)&&-1===L(o,"$<")){var s=t(r,a,l,o);if(s.done)return s.value}var b=u(o);b||(o=p(o));var v=a.global;if(v){var h=a.unicode;a.lastIndex=0}for(var I=[];;){var j=m(a,l);if(null===j||(S(I,j),!v))break;""===p(j[0])&&(a.lastIndex=y(l,d(a.lastIndex),h))}for(var E="",x=0,_=0;_<I.length;_++){for(var k,w=p((j=I[_])[0]),D=T(P(f(j.index),l.length),0),M=[],$=1;$<j.length;$++)S(M,void 0===(k=j[$])?k:String(k));var F=j.groups;if(b){var z=O([w],M,D,l);void 0!==F&&S(z,F);var Z=p(n(o,void 0,z))}else Z=g(w,l,D,M,F,o);D>=x&&(E+=C(l,x,D)+Z,x=D+w.length)}return E+C(l,x)}]},!!l(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!I||j)},62648:function(e,r,t){"use strict";t.d(r,{e:()=>j}),t(42295);var n=t(32735),o=t(99773),i=t(84823),a=t(48881),l=t(36333),c=t(57358),u=t(19554),s=t(1403),f=t(50255),d=t(13266),p=t(58822),b=t(48260),y=t(61856),v=t(37402),g=t(18699),m=t(92963),h=t(64989),T=t(20231),P=t(3827),O=t(24936),S=t(59395);function L(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function C(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(t=o.next()).done)&&(i.push(t.value),!r||i.length!==r);a=!0);}catch(e){l=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw n}}return i}}(e,r)||function(e,r){if(e){if("string"==typeof e)return L(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return L(e,r)}}(e,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var I=i.Ry().shape({lotSize:(0,S.sT)(i.Z_()),fillPolicy:(0,S.Ke)(i.nK()),price:i.Z_().test("test-price",h.UF,function(e){return(0,h.FY)(e)}).when(["$orderTypeLabel","$priceLabel"],function(e,r){var t=C(e,2),n=t[0],o=t[1];return n!==g.Zk.MARKET_TO_LIMIT?r.required((0,h.$A)({label:o||""})):r}),priceTrigger:i.Z_().test("test-price-trigger",h.UF,function(e){return(0,h.FY)(e)}).when(["$orderTypeLabel","$priceTriggerLabel"],function(e,r){var t=C(e,2),n=t[0],o=t[1];return n===g.Zk.STOP_LIMIT?r.required((0,h.$A)({label:o||""})):r}),stopLoss:i.Z_().test("test-stop-loss",h.UF,function(e){return(0,h.FY)(e)}).test((0,S.wQ)(v.Qr.STOP_LOSS)),takeProfit:i.Z_().test("test-take-profit",h.UF,function(e){return(0,h.FY)(e)}).test((0,S.wQ)(v.Qr.TAKE_PROFIT)),expiration:i.hT().transform(h.mf).when(["fillPolicy","$expirationLabel"],function(e,r){var t=C(e,2),n=t[0],o=t[1];return n===a.T3.GTD?r.required((0,h.$A)({label:o||""})):r}),centroidDeviation:(0,S.zA)(i.Z_())}),j=function(e){var r=e.disablePreservedValues,t=e.onSuccess,i=e.onError,a=e.showTradeConfirmationModal,v=(0,s.jO)(),g=v.isCentroid,m=v.isMT4,h=(0,c.K)(),P=(0,d._f)(["lotSizeStep","type","symbol","maxContractLotSize","minContractLotSize","contractSize"]),S=P.lotSizeStep,L=P.type,C=P.symbol,j=P.maxContractLotSize,x=P.minContractLotSize,_=P.contractSize,k=(0,u.Q9)(),w=(0,f.d6)(null!=C?C:"")||{}
1,D=w.maxQuantity,M=w.minQuantity,$=E(),F=$.expirationLabel,z=$.orderTypeLabel,Z=$.priceLabel,R=$.priceTriggerLabel,A=$.sizeLabel,V=(0,y.GM)().lotSizeMode,q=(0,p.tl)(),B=(0,p.zi)(),Q=(0,T.A)(),K=Q.fillPolicyOptions,U=Q.initialFillPolicy,H=(0,n.useMemo)(function(){return(0,o.X)(I)},[]),G=(0,l.w)({resolver:H,mode:"onBlur",context:{orderTypeLabel:z,lotSizeStep:S,maxContractLotSize:j,minContractLotSize:x,contractSize:_,sizeLabel:A,lotSizeMode:V,isFillPolicyRequired:!m,isCentroid:g,hasMarketRange:g,hasQuoteboardHandling:h,quoteboardMinQuantity:M,quoteboardMaxQuantity:D,priceLabel:Z,priceTriggerLabel:R,expirationLabel:F,buySellType:q},shouldFocusError:!1,defaultValues:{lotSize:B.lotSize,units:B.units,fillPolicy:U}}),N=G.handleSubmit,X=G.reset,Y=G.setValue,W=G.trigger,J=(0,n.useCallback)(function(e){var r=function(r){b._.createOrder({formData:e,onSuccess:function(){var n;t(),null==r||r(),X({fillPolicy:null!=(n=null==K?void 0:K[0])?n:b._.getFillPolicyDefaultValue({orderTypeLabel:z,symbolCategory:L}),tradeExpiry:b._.getTradeExpiryDefaultValue(),lotSize:e.lotSize,units:e.units})},onError:function(e){i(e),null==r||r()}})};k?r():a({formValues:e,formMethods:G,onConfirm:function(e){r(e)}})},[k,i,t,X,z,a,L,G,K]),ee=(0,n.useCallback)(function(e){N(J)(e)},[N,J]);return(0,n.useEffect)(function(){var e;Y("fillPolicy",null!=(e=null==K?void 0:K[0])?e:b._.getFillPolicyDefaultValue({orderTypeLabel:z,symbolCategory:L})),Y("tradeExpiry",b._.getTradeExpiryDefaultValue())},[K,z,Y,L,C]),(0,n.useEffect)(function(){W(["stopLoss","takeProfit"])},[q,W]),(0,O.Z)(G,void 0!==r&&r),{formMethods:G,onSubmit:ee}},E=function(){var e=(0,s.$X)(),r=(0,p.XT)(),t=(0,P.h)();return(0,n.useMemo)(function(){var n=(0,m.qn)(m.tV.PRICE,e),o=(0,m.qn)(m.tV.PRICE_TRIGGER,e);return{expirationLabel:(0,m.qn)(m.tV.EXPIRATION,e),priceLabel:n,priceTriggerLabel:o,orderTypeLabel:r,sizeLabel:t}},[e,r,t])}},95072:function(e,r,t){"use strict";t.d(r,{Z:()=>p});var n=t(74512),o=t(32735),i=t(81182),a=t(18354),l=t(18909),c=t(82391),u=t(13266),s=t(35636),f=t(57753),d=function(){var e=(0,c.g)(),r=e.modalType,t=e.isEditing,n=(0,u.LH)(t,["symbol"]).symbol;return{onTrackStopLimitPriceClick:(0,o.useCallback)(function(){s.Z.order.orderFieldClick({action:f.mN.STOP_LIMIT_PRICE_FIELD_CLICKED,symbol:n,modalType:r})},[r,n])}};let p=function(e){var r,t,u=e.label,s=e.variant,f=void 0===s?a.vI.ITEM_WITH_FIELD_LABEL:s,p=e.tooltipPlacement,b=e.tooltipContentSections,y=e.dataTestId,v=(0,i.$G)().t,g=(0,c.g)(),m=g.formState,h=g.handlePriceTriggerIncrease,T=g.handlePriceTriggerDecrease,P=g.handlePriceTriggerBlur,O=g.register,S=g.watch,L=g.setValue,C=d().onTrackStopLimitPriceClick,I=S("priceTrigger"),j=m.errors.priceTrigger,E=(0,o.useCallback)(function(e){L("priceTrigger",e.target.value,{shouldValidate:!0,shouldDirty:!0})},[L]);return(0,n.jsx)(a.e1,{variant:f,label:null!=u?u:v("Stop Price"),tooltipPlacement:void 0===p?"top":p,tooltipContentSections:void 0===b?void 0:b,tooltipTrigger:"mouseenter",children:(0,n.jsx)(l.ZP,(r=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({variant:l.Bv.BORDERED_NUMERIC},O("priceTrigger")),t=t={placeholder:"$",value:I,error:null==j?void 0:j.message,onClickPlus:h,onClickSubtract:T,onBlur:P,onFocus:C,onChange:E,dataTestId:y},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}),r))})}},41530:function(e,r,t){"use strict";t.d(r,{Z:()=>p});var n=t(74512),o=t(32735),i=t(18354),a=t(18909),l=t(82391),c=t(13266),u=t(35636),s=t(57753),f=function(){var e=(0,l.g)(),r=e.modalType,t=e.isEditing,n=(0,c.LH)(t,["symbol"]).symbol;return{onTrackPriceClick:(0,o.useCallback)(function(){u.Z.order.orderFieldClick({action:s.mN.PRICE_FIELD_CLICKED,symbol:n,modalType:r})},[r,n])}},d=t(55869);let p=function(e){var r,t,c=e.label,u=void 0===c?"":c,s=e.variant,p=void 0===s?i.vI.ITEM_WITH_FIELD_LABEL:s,b=e.tooltipPlacement,y=e.tooltipContentSections,v=e.dataTestId,g=(0,l.g)(),m=g.formState,h=g.tradeFormOrderTypeLabel,T=g.handlePriceIncrease,P=g.handlePriceDecrease,O=g.handlePriceBlur,S=g.register,L=g.watch,C=g.setValue,I=f().onTrackPriceClick,j=L("price"),E=(0,o.useMemo)(function(){return u||(h?(0,d.dM)(h):"")},[u,h]),x=m.errors.price,_=(0,o.useCallback)(function(e){C("price",e.target.value,{shouldValidate:!0,shouldDirty:!0})},[C]);return(0,n.jsx)(i.e1,{variant:p,label:E,tooltipPlacement:void 0===b?"top":b,tooltipContentSections:void 0===y?void 0:y,tooltipTrigger:"mouseenter",children:(0,n.jsx)(a.ZP,(r=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}
1))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({variant:a.Bv.BORDERED_NUMERIC},S("price")),t=t={placeholder:"$",value:j,error:null==x?void 0:x.message,onClickPlus:T,onClickSubtract:P,onFocus:I,onBlur:O,onChange:_,dataTestId:v},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):(function(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}),r))})}},99460:function(e,r,t){"use strict";t.r(r),t.d(r,{default:()=>m});var n=t(74512),o=t(82391),i=t(62648),a=t(57753),l=t(13266),c=t(65528),u=t(15861),s=t(32735),f=t(18699),d=t(41530),p=t(95072);let b=function(){var e=(0,o.g)().tradeFormOrderTypeLabel;return(0,n.jsxs)(s.Fragment,{children:[e===f.Zk.STOP_LIMIT&&(0,n.jsx)(p.Z,{}),(e===f.Zk.STOP||e===f.Zk.LIMIT||e===f.Zk.STOP_LIMIT)&&(0,n.jsx)(d.Z,{})]})};var y=t(32964),v=t(16208),g=t(44536);let m=function(){var e=(0,l._f)(["symbol","type","expiration"]),r=e.symbol,t=e.type,s=e.expiration,f=(0,u.R)(),d=f.onError,p=f.onSuccessDefault,m=(0,i.e)({onSuccess:p,onError:d,showTradeConfirmationModal:c.d}),h=m.formMethods,T=m.onSubmit;return(0,n.jsxs)(o.q,{modalType:a.XV.OPW,methods:h,children:[(0,n.jsx)(y.Z,{}),(0,n.jsx)(b,{}),(0,n.jsx)(v.Z,{symbolId:r,symbolCategory:t,symbolMaturityDate:s}),(0,n.jsx)(g.Z,{forceHidePretradeDetails:!0,onSubmit:T})]})}}}]);

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.