1(self.webpackChunk_aqx_member_web=self.webpackChunk_aqx_member_web||[]).push([["9670"],{31530:function(e,t,r){"use strict";var n=r(28710).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},10647:function(e,t,r){var n=r(1702),o=r(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,t,r,n,d,f){var p=r+e.length,b=n.length,y=s;return void 0!==d&&(d=o(d),y=u),l(f,y,function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,r);case"'":return c(t,p);case"<":u=d[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>b){var f=i(s/10);if(0===f)return o;if(f<=b)return void 0===n[f-1]?a(l,1):n[f-1]+a(l,1);return o}u=n[s-1]}return void 0===u?"":u})}},15306:function(e,t,r){"use strict";var n=r(22104),o=r(46916),i=r(1702),a=r(27007),l=r(47293),c=r(19670),u=r(60614),s=r(68554),d=r(19303),f=r(17466),p=r(41340),b=r(84488),y=r(31530),v=r(58173),g=r(10647),m=r(97651),O=r(5112)("replace"),T=Math.max,h=Math.min,P=i([].concat),I=i([].push),S=i("".indexOf),E=i("".slice),_="$0"==="a".replace(/./,"$0"),L=!!/./[O]&&""===/./[O]("a","$0");a("replace",function(e,t,r){var i=L?"$":"$0";return[function(e,r){var n=b(this),i=s(e)?void 0:v(e,O);return i?o(i,e,n,r):o(t,p(n),e,r)},function(e,o){var a=c(this),l=p(e);if("string"==typeof o&&-1===S(o,i)&&-1===S(o,"$<")){var s=r(t,a,l,o);if(s.done)return s.value}var b=u(o);b||(o=p(o));var v=a.global;if(v){var O=a.unicode;a.lastIndex=0}for(var _=[];;){var L=m(a,l);if(null===L||(I(_,L),!v))break;""===p(L[0])&&(a.lastIndex=y(l,f(a.lastIndex),O))}for(var j="",C=0,D=0;D<_.length;D++){for(var w,k=p((L=_[D])[0]),M=T(h(d(L.index),l.length),0),x=[],R=1;R<L.length;R++)I(x,void 0===(w=L[R])?w:String(w));var F=L.groups;if(b){var A=P([k],x,M,l);void 0!==F&&I(A,F);var Z=p(n(o,void 0,A))}else Z=g(k,l,M,x,F,o);M>=C&&(j+=E(l,C,M)+Z,C=M+k.length)}return j+E(l,C)}]},!!l(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!_||L)},62648:function(e,t,r){"use strict";r.d(t,{e:()=>L}),r(42295);var n=r(32735),o=r(99773),i=r(84823),a=r(48881),l=r(36333),c=r(57358),u=r(19554),s=r(1403),d=r(50255),f=r(13266),p=r(58822),b=r(48260),y=r(61856),v=r(37402),g=r(18699),m=r(92963),O=r(64989),T=r(20231),h=r(3827),P=r(24936),I=r(59395);function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,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=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(e,t)}}(e,t)||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.Ry().shape({lotSize:(0,I.sT)(i.Z_()),fillPolicy:(0,I.Ke)(i.nK()),price:i.Z_().test("test-price",O.UF,function(e){return(0,O.FY)(e)}).when(["$orderTypeLabel","$priceLabel"],function(e,t){var r=E(e,2),n=r[0],o=r[1];return n!==g.Zk.MARKET_TO_LIMIT?t.required((0,O.$A)({label:o||""})):t}),priceTrigger:i.Z_().test("test-price-trigger",O.UF,function(e){return(0,O.FY)(e)}).when(["$orderTypeLabel","$priceTriggerLabel"],function(e,t){var r=E(e,2),n=r[0],o=r[1];return n===g.Zk.STOP_LIMIT?t.required((0,O.$A)({label:o||""})):t}),stopLoss:i.Z_().test("test-stop-loss",O.UF,function(e){return(0,O.FY)(e)}).test((0,I.wQ)(v.Qr.STOP_LOSS)),takeProfit:i.Z_().test("test-take-profit",O.UF,function(e){return(0,O.FY)(e)}).test((0,I.wQ)(v.Qr.TAKE_PROFIT)),expiration:i.hT().transform(O.mf).when(["fillPolicy","$expirationLabel"],function(e,t){var r=E(e,2),n=r[0],o=r[1];return n===a.T3.GTD?t.required((0,O.$A)({label:o||""})):t}),centroidDeviation:(0,I.zA)(i.Z_())}),L=function(e){var t=e.disablePreservedValues,r=e.onSuccess,i=e.onError,a=e.showTradeConfirmationModal,v=(0,s.jO)(),g=v.isCentroid,m=v.isMT4,O=(0,c.K)(),h=(0,f._f)(["lotSizeStep","type","symbol","maxContractLotSize","minContractLotSize","contractSize"]),I=h.lotSizeStep,S=h.type,E=h.symbol,L=h.maxContractLotSize,C=h.minContractLotSize,D=h.contractSize,w=(0,u.Q9)(),k=(0,d.d6)(null!=E?E:"")||{},M=k.maxQuantity,x=k.minQuantity,R=j(),F=R.expirationLabel,A=R.orderTypeLabel,Z=R.priceLabel,$=R.priceTriggerLabel,z=R.sizeLabel,B=(0,y.GM)().lotSizeMode,N=(0,p.tl)(),V=(0,p.zi)(),U=(0,T.A)(),q=U.fillPolicyOptions,K=U.initialFillPolicy,Q=(0,n.useMemo)(function(){return(0,o.X)(_)},[]),G=(0,l.w)({resolver:Q,mode:"onBlur",context:{orderTypeLabel:A,lotSizeStep:I,maxContractLotSize:L,minContractLotSize:C,contractSize:D,sizeLabel:z,lotSizeMode:B,isFillPolicyRequired:!m,isCentroid:g,hasMarketRange:g,hasQuoteboardHandling:O,quoteboardMinQuantity:x,quoteboardMaxQuantity:M,priceLabel:Z,priceTriggerLabel:$,expirationLabel:F,buySellType:N},shouldFocusError:!1,defaultValues:{lotSize:V.lotSize,units:V.units,fillPolicy:K}}),H=G.handleSubmit,W=G.reset,X=G.setValue,Y=G.trigger,J=(0,n.useCallback)(function(e){var t=function(t){b._.createOrder({formData:e,onSuccess:function(){var n;r(),null==t||t(),W({fillPolicy:null!=(n=null==q?void 0:q[0])?n:b._.getFillPolicyDefaultValue({orderTypeLabel:A,symbolCategory:S}),tradeExpiry:b._.getTradeExpiryDefaultValue(),lotSize:e.lotSize,units:e.units})},onError:function(e){i(e),null==t||t()}})};w?t():a({formValues:e,formMethods:G,onConfirm:function(e){t(e)}})},[w,i,r,W,A,a,S,G,q]),ee=(0,n.useCallback)(function(e){H(J)(e)},[H,J]);return(0,n.useEffect)(function(){var e;X("fillPolicy",null!=(e=null==q?void 0:q[0])?e:b._.getFillPolicyDefaultValue({orderTypeLabel:A,symbolCategory:S})),X("tradeExpiry",b._.getTradeExpiryDefaultValue())},[q,A,X,S,E]),(0,n.useEffect)(function(){Y(["stopLoss","takeProfit"])},[N,Y]),(0,P.Z)(G,void 0!==t&&t),{formMethods:G,onSubmit:ee}},j=function(){var e=(0,s.$X)(),t=(0,p.XT)(),r=(0,h.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:t,sizeLabel:r}},[e,t,r])}},85029:function(e,t,r){"use strict";r.d(t,{Z:()=>p});
1var n=r(74512),o=r(32735),i=r(81182),a=r(18354),l=r(82391),c=r(6807),u=r(1403),s=r(18699),d=r(41530),f=r(95072);let p=function(){var e=(0,i.$G)().t,t=(0,l.g)(),r=t.tradeFormOrderTypeLabel,p=t.getPriceDesc,b=(0,u.jO)().isCentroid,y=b?void 0:[{paragraphs:[p()||""]}],v=b?void 0:[{paragraphs:[p(!0)||""]}];return(0,n.jsxs)(o.Fragment,{children:[(r===s.Zk.LIMIT||r===s.Zk.STOP||r===s.Zk.STOP_LIMIT)&&(0,n.jsx)(d.Z,{tooltipContentSections:y,variant:a.vI.ITEM_WITH_FIELD_LABEL_INFO,label:e("Price"),dataTestId:c.Of.EDIT_INPUT_PRICE}),r===s.Zk.STOP_LIMIT&&(0,n.jsx)(f.Z,{label:e("Stop Limit Price"),tooltipContentSections:v,variant:a.vI.ITEM_WITH_FIELD_LABEL_INFO,dataTestId:c.Of.EDIT_INPUT_STOP_LIMIT_PRICE})]})}},95072:function(e,t,r){"use strict";r.d(t,{Z:()=>p});var n=r(74512),o=r(32735),i=r(81182),a=r(18354),l=r(18909),c=r(82391),u=r(13266),s=r(35636),d=r(57753),f=function(){var e=(0,c.g)(),t=e.modalType,r=e.isEditing,n=(0,u.LH)(r,["symbol"]).symbol;return{onTrackStopLimitPriceClick:(0,o.useCallback)(function(){s.Z.order.orderFieldClick({action:d.mN.STOP_LIMIT_PRICE_FIELD_CLICKED,symbol:n,modalType:t})},[t,n])}};let p=function(e){var t,r,u=e.label,s=e.variant,d=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,O=g.handlePriceTriggerIncrease,T=g.handlePriceTriggerDecrease,h=g.handlePriceTriggerBlur,P=g.register,I=g.watch,S=g.setValue,E=f().onTrackStopLimitPriceClick,_=I("priceTrigger"),L=m.errors.priceTrigger,j=(0,o.useCallback)(function(e){S("priceTrigger",e.target.value,{shouldValidate:!0,shouldDirty:!0})},[S]);return(0,n.jsx)(a.e1,{variant:d,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,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({variant:l.Bv.BORDERED_NUMERIC},P("priceTrigger")),r=r={placeholder:"$",value:_,error:null==L?void 0:L.message,onClickPlus:O,onClickSubtract:T,onBlur:h,onFocus:E,onChange:j,dataTestId:y},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))})}},41530:function(e,t,r){"use strict";r.d(t,{Z:()=>p});var n=r(74512),o=r(32735),i=r(18354),a=r(18909),l=r(82391),c=r(13266),u=r(35636),s=r(57753),d=function(){var e=(0,l.g)(),t=e.modalType,r=e.isEditing,n=(0,c.LH)(r,["symbol"]).symbol;return{onTrackPriceClick:(0,o.useCallback)(function(){u.Z.order.orderFieldClick({action:s.mN.PRICE_FIELD_CLICKED,symbol:n,modalType:t})},[t,n])}},f=r(55869);let p=function(e){var t,r,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,O=g.tradeFormOrderTypeLabel,T=g.handlePriceIncrease,h=g.handlePriceDecrease,P=g.handlePriceBlur,I=g.register,S=g.watch,E=g.setValue,_=d().onTrackPriceClick,L=S("price"),j=(0,o.useMemo)(function(){return u||(O?(0,f.dM)(O):"")},[u,O]),C=m.errors.price,D=(0,o.useCallback)(function(e){E("price",e.target.value,{shouldValidate:!0,shouldDirty:!0})},[E]);return(0,n.jsx)(i.e1,{variant:p,label:j,tooltipPlacement:void 0===b?"top":b,tooltipContentSections:void 0===y?void 0:y,tooltipTrigger:"mouseenter",children:(0,n.jsx)(a.ZP,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
1))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({variant:a.Bv.BORDERED_NUMERIC},I("price")),r=r={placeholder:"$",value:L,error:null==C?void 0:C.message,onClickPlus:T,onClickSubtract:h,onFocus:_,onBlur:P,onChange:D,dataTestId:v},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))})}},88107:function(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>I});var n=r(74512),o=r(32735),i=r(82391),a=r(62648),l=r(57358),c=r(57753),u=r(13266),s=r(65528),d=r(15861),f=r(58118),p=r(81182),b=r(18354),y=r(18909),v=r(81002),g=r(6807),m=r(64989);let O=function(e){var t,r,o=e.disabled,a=(0,p.$G)().t,l=(0,i.g)(),c=l.formState,u=l.register,s=l.watch,d=l.handleMarketRangeBlur,f=l.handleMarketRangeIncrease,O=l.handleMarketRangeDecrease,T=l.setValue,h=s("centroidDeviation"),P=c.errors.centroidDeviation,I=[{paragraphs:[a("Specifies the allowable price market range for Limit and Stop orders in pips. For example, with a buy limit order at 1.13850 and a market range of 1, the order can be executed at a worse price down to 1.13840. Prices above 1.13840 are acceptable, but if the price drops below, the order will be rejected.")]}];return(0,n.jsx)(b.e1,{variant:b.vI.ITEM_WITH_FIELD_LABEL_INFO,label:a("Market Range"),tooltipPlacement:"top",tooltipContentSections:I,tooltipTrigger:"mouseenter",children:(0,n.jsx)(y.ZP,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({variant:y.Bv.BORDERED_NUMERIC},u("centroidDeviation")),r=r={inputDataTestId:g.Of.TRADE_INPUT_MARKETRANGE_POINT,addButtonDataTestId:g.Of.TRADE_INPUT_MARKETRANGE_INCREASE,subtractButtonDataTestId:g.Of.TRADE_INPUT_MARKETRANGE_DECREASE,placeholder:a("Min: {{value}}",{value:v.uj}),value:h,error:null==P?void 0:P.message,onChange:function(e){var t=e.target.value;(!(t.length>0)||(0,m.Zi)(t))&&T("centroidDeviation",t,{shouldValidate:!0,shouldDirty:!0})},disabled:o,onBlur:d,onClickPlus:f,onClickSubtract:O},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))})};var T=r(85029),h=r(16208),P=r(44536);let I=function(e){var t=e.customLimitFormMethods,r=e.customLimitSubmit,p=(0,u._f)(["type","symbol","expiration"]),b=p.type,y=p.symbol,v=p.expiration,g=(0,l.K)(),m=(0,d.R)(),I=m.onError,S=m.onSuccessDefault,E=(0,a.e)({onSuccess:S,onError:I,showTradeConfirmationModal:s.d}),_=E.formMethods,L=E.onSubmit,j=(0,o.useMemo)(function(){return null!=t?t:_},[t,_]),C=(0,o.useMemo)(function(){return null!=r?r:L},[r,L]);return(0,n.jsxs)(i.q,{modalType:c.XV.OPW,hasQuoteboardHandling:g,methods:j,children:[(0,n.jsx)(f.Z,{}),(0,n.jsx)(T.Z,{}),(0,n.jsx)(O,{}),(0,n.jsx)(h.Z,{symbolId:y,symbolCategory:b,symbolMaturityDate:v}),(0,n.jsx)(P.Z,{onSubmit:C})]})}}}]);
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.