webpackJsonp([3],{1076:function(e,t,o){"use strict";function i(e,t,o){a.call(this,e,t),this._linetool=o,this.prepareLayout()}var n=o(238),a=n.PropertyPage,r=n.GreateTransformer,l=n.LessTransformer,p=n.ToIntTransformer,s=n.SimpleStringBinder;o(241),inherit(i,a),i.BarIndexPastLimit=-5e4,i.BarIndexFutureLimit=15e3,i.prototype.bindBarIndex=function(e,t,o,n){var a=[p(e.value()),r(i.BarIndexPastLimit),l(i.BarIndexFutureLimit)];this.bindControl(this.createStringBinder(t,e,a,!0,o,n))},i.prototype.createPriceEditor=function(e){var t,o,i,n=this._linetool,a=n.ownerSource().formatter(),r=function(e){return a.format(e)},l=function(e){var t=a.parse(e);if(t.res)return t.price?t.price:t.value},p=$(" ");return p.TVTicker({step:a._minMove/a._priceScale||1,formatter:r,parser:l}),e&&(t=[function(t){var o=l(t);return void 0===o?e.value():o}],o="Change "+n.title()+" point price",i=this.createStringBinder(p,e,t,!1,this.model(),o),i.addFormatter(function(e){return a.format(e)}),this.bindControl(i)),p},i.prototype._createPointRow=function(e,t,o){var i,n,a,r,l,p=$("
"),s=$("");return s.html($.t("Price")+o),s.appendTo(p),i=$(" "),i.appendTo(p),n=this.createPriceEditor(t.price),n.appendTo(i),a=$(" "),a.html($.t("Bar #")),a.appendTo(p),r=$(" "),r.appendTo(p),l=$(" "),l.appendTo(r),l.addClass("ticker"),this.bindBarIndex(t.bar,l,this.model(),"Change "+this._linetool.title()+" point bar index"),p},i.prototype.prepareLayoutForTable=function(e){var t,o,i,n,a,r=this._linetool.points(),l=r.length;for(t=0;t1?" "+(t+1):"",a=this._createPointRow(o,i,n),a.appendTo(e))},i.prototype.prepareLayout=function(){this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),this.prepareLayoutForTable(this._table),this.loadData()},i.prototype.widget=function(){return this._table},i.prototype.createStringBinder=function(e,t,o,i,n,a){return new s(e,t,o,i,n,a)},e.exports=i},1078:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.FloatBinder,l=a.BooleanBinder,p=a.SliderBinder,s=a.ColorBinding,d=a.SimpleComboBinder,h=o(372).addColorPicker,c=o(1197).createLineStyleEditor,b=o(1196).createLineWidthEditor,u=o(1198).createTransparencyEditor;inherit(i,n),i.prototype.addLevelEditor=function(e,t){var o,i,n,a,p,d=t||$("").appendTo(this._table),c=$("");return c.appendTo(d),o=$(" "),o.appendTo(c),t&&o.css("margin-left","15px"),i=$(" "),i.appendTo(d),n=$(" "),n.appendTo(i),n.css("width","70px"),this.bindControl(new r(n,e.coeff,!1,this.model(),"Change Pitchfork Line Coeff")),a=$(" "),a.appendTo(d),p=h(a),this.bindControl(new l(o,e.visible,!0,this.model(),"Change Fib Retracement Line Visibility")),this.bindControl(new s(p,e.color,!0,this.model(),"Change Fib Retracement Line Color",0)),d},
i.prototype.prepareLayout=function(){var e,t,o,i,n,a,r,C,y,g,T,w,_,m,f,L,v,k,S,P,x,B,R,E,F,I,D,A,W,V,O,z,M;for(this._div=$(document.createElement("div")).addClass("property-page"),e=this._linetool.properties().trendline,t=$("").appendTo(this._div).css("padding-bottom","3px"),e&&(o=$("").appendTo(t),i=$(" "),$("").append(i).appendTo(o),$(" ").append($.t("Trend Line")).appendTo(o),this.bindControl(new l(i,e.visible,!0,this.model(),"Change Fib Retracement Line Visibility")),n=$(" ").appendTo(o),a=h(n),this.bindControl(new s(a,e.color,!0,this.model(),"Change Fib Retracement Line Color",0)),r=$(" ").appendTo(o),C=b(),C.appendTo(r),this.bindControl(new p(C,e.linewidth,parseInt,this.model(),"Change Fib Retracement Line Width")),y=$(" ").appendTo(o),g=c(),g.render().appendTo(y),this.bindControl(new d(g,e.linestyle,parseInt,!0,this.model(),"Change Fib Retracement Line Style"))),T=this._linetool.properties().levelsStyle,w=$(" ").appendTo(t),$("").appendTo(w),$(" "+$.t("Levels Line")+" ").appendTo(w),$("").appendTo(w),r=$(" ").appendTo(w),C=b(),C.appendTo(r),this.bindControl(new p(C,T.linewidth,parseInt,this.model(),"Change Fib Retracement Line Width")),y=$(" ").appendTo(w),g=c(),g.render().appendTo(y),this.bindControl(new d(g,T.linestyle,parseInt,!0,this.model(),"Change Fib Retracement Line Style")),this._table=$(document.createElement("table")).appendTo(this._div),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),_={},m=0;m<24;m++)f=m%8,w=_[f],L="level"+(m+1),_[f]=this.addLevelEditor(this._linetool.properties()[L],w);this.addOneColorPropertyWidget(this._table),v=$("").appendTo(this._div),k=$("").appendTo(v),this._linetool.properties().extendLines&&(S=$(" "),P=$("").append(S).append($.t("Extend Lines")),$("").append(P).appendTo(k)),this._linetool.properties().extendLeft&&(x=$(" "),P=$("").append(x).append($.t("Extend Left")),$("").append(P).appendTo(k)),this._linetool.properties().extendRight&&(B=$(" "),P=$("").append(B).append($.t("Extend Right")),$("").append(P).appendTo(k)),this._linetool.properties().reverse&&(R=$(" "),P=$("").append(R).append($.t("Reverse")),$("").append(P).appendTo(k)),E=$(" ").appendTo(v),F=$(" "),P=$("").append(F).append($.t("Levels")),$("").append(P).appendTo(E),I=$(" "),P=$("").append(I).append($.t("Prices")),$("").append(P).appendTo(E),D=$(" "),P=$("").append(D).append($.t("Percents")),$("").append(P).appendTo(E),A=$("").appendTo(this._div),
W=$(""+$.t("left")+" "+$.t("center")+" "+$.t("right")+" "),V=$(""+$.t("top")+" "+$.t("middle")+" "+$.t("bottom")+" "),w=$(""),w.append(""+$.t("Labels")+" ").append(W).append("  ").append(V),w.appendTo(A),O=$("").appendTo(this._div),w=$("").appendTo(O),z=$(" "),$("").append(z).appendTo(w),this.createLabeledCell($.t("Background"),z).appendTo(w),M=u(),$(" ").append(M).appendTo(w),this.bindControl(new l(I,this._linetool.properties().showPrices,!0,this.model(),"Change Gann Fan Prices Visibility")),this.bindControl(new l(F,this._linetool.properties().showCoeffs,!0,this.model(),"Change Gann Fan Levels Visibility")),this.bindControl(new l(z,this._linetool.properties().fillBackground,!0,this.model(),"Change Fib Retracement Background Visibility")),this.bindControl(new p(M,this._linetool.properties().transparency,!0,this.model(),"Change Fib Retracement Background Transparency")),this._linetool.properties().extendLines&&this.bindControl(new l(S,this._linetool.properties().extendLines,!0,this.model(),"Change Fib Retracement Extend Lines")),this._linetool.properties().extendLeft&&this.bindControl(new l(x,this._linetool.properties().extendLeft,!0,this.model(),"Change Fib Retracement Extend Lines")),this._linetool.properties().extendRight&&this.bindControl(new l(B,this._linetool.properties().extendRight,!0,this.model(),"Change Fib Retracement Extend Lines")),this._linetool.properties().reverse&&this.bindControl(new l(R,this._linetool.properties().reverse,!0,this.model(),"Change Fib Retracement Reverse")),this.bindControl(new d(W,this._linetool.properties().horzLabelsAlign,null,!0,this.model(),"Change Fib Labels Horizontal Alignment")),this.bindControl(new d(V,this._linetool.properties().vertLabelsAlign,null,!0,this.model(),"Change Fib Labels Vertical Alignment")),this.bindControl(new l(D,this._linetool.properties().coeffsAsPercents,!0,this.model(),"Change Fib Retracement Coeffs As Percents")),this.loadData()},i.prototype.widget=function(){return this._div},e.exports=i},1083:function(e,t,o){"use strict";(function(t){function i(e,t,o){var i,n,a=t.m_model.properties();l.call(this,a,t),i=this._series=t.mainSeries(),this._chart=t.m_model,this._model=t,this._source=o,this._property=a,this._seriesProperty=i.properties(),this._scaleProperty=i.priceScale().properties(),this._mainSeriesScaleRatioProperty=t.mainSeriesScaleRatioProperty(),n=null,t.m_model.panes().forEach(function(e){e.dataSources().forEach(function(t){if(t===i)return n=e,!1})}),this._pane=n,this.prepareLayout(),this._themes=[],this.supportThemeSwitcher=!1}
var n=o(1234),a=o(1201),r=o(238),l=r.PropertyPage,p=r.GreateTransformer,s=r.LessTransformer,d=r.ToIntTransformer,h=r.SimpleStringBinder,c=r.BooleanBinder,b=r.SliderBinder,u=r.ColorBinding,C=r.SimpleComboBinder,y=r.DisabledBinder,g=r.CheckboxWVBinding,T=r.ToFloatTransformerWithDynamicDefaultValue,w=r.ToFloatLimitedPrecisionTransformer,_=o(49),m=o(22),f=o(372).addColorPicker,L=o(1197).createLineStyleEditor,v=o(1196).createLineWidthEditor,k=(o(133).bindPopupMenu,o(6).DefaultProperty),S=o(171).availableTimezones,P=o(248),x=(o(112).createConfirmDialog,o(40).trackEvent);inherit(i,l),inherit(i,n),i.prototype.setScalesOpenTab=function(){this.scalesTab&&this.scalesTab.data("layout-tab-open",a.TabOpenFrom.Override)},i.prototype.setTmzOpenTab=function(){this.tmzSessTable&&this.tmzSessTable.data("layout-tab-open",a.TabOpenFrom.Override)},i.prototype.prepareLayout=function(){var e,o,i,n,r,l,k,B,R,E,F,I,D,A,W,V,O,z,M,j,H,G,N,U,q,Y,K,Q,J,Z,X,ee,te,oe,ie,ne,ae,re,le,pe,se,de,he,ce,be,ue,Ce,ye,ge,$e,Te,we,_e,me,fe,Le,ve,ke,Se,Pe,xe,Be,Re,Ee,Fe,Ie,De,Ae,We,Ve,Oe,ze,Me,je,He,Ge,Ne,Ue,qe,Ye,Ke,Qe,Je,Ze,Xe,et,tt,ot,it,nt,at,rt,lt,pt,st,dt,ht,ct,bt,ut,Ct,yt,gt,$t,Tt,wt,_t,mt,ft,Lt,vt,kt,St,Pt,xt,Bt,Rt,Et,Ft,It,Dt,At,Wt,Vt,Ot,zt,Mt,jt=this;if(t.enabled("chart_property_page_style")&&(e=$('').data("layout-tab",a.TabNames.style),o=$('').data("layout-tab",a.TabNames.style),i=$('').data("layout-tab",a.TabNames.style),this._prepareSeriesStyleLayout(e,o,i,this._seriesProperty),this._hasSeriesStyleLayout=!0,l=$('').data("layout-tab",a.TabNames.style),W=$(' '),V=this.addLabeledRow(l,$.t("Price Line"),W),$("").append(W).prependTo(V),this.bindControl(new c(W,this._seriesProperty.showPriceLine,!0,this.model(),"Change Price Price Line")),O=f($(" ").appendTo(V)),this.bindControl(new u(O,this._seriesProperty.priceLineColor,!0,this.model(),"Change Price Line Color")),z=v(),$(' ').append(z).appendTo(V),this.bindControl(new b(z,this._seriesProperty.priceLineWidth,!0,this.model(),"Change Price Line Width")),B=$('').data("layout-tab",a.TabNames.style),this._pane&&(-1!==this._pane.leftPriceScale().dataSources().indexOf(this._series)?M="left":-1!==this._pane.rightPriceScale().dataSources().indexOf(this._series)?M="right":this._pane.isOverlay(this._series)&&(M="none")),M&&(j={left:$.t("Scale Left"),right:$.t("Scale Right")},jt._pane.actionNoScaleIsEnabled(jt._series)&&(j.none=$.t("Screen (No Scale)")),H=this.createKeyCombo(j).val(M).change(function(){switch(this.value){case"left":jt._model.move(jt._series,jt._pane,jt._pane.leftPriceScale());break;case"right":jt._model.move(jt._series,jt._pane,jt._pane.rightPriceScale());break;case"none":jt._model.move(jt._series,jt._pane,null)}}),G=this.addRow(B),
$(""+$.t("Scale")+" ").appendTo(G),$("").appendTo(G).append(H))),t.enabled("chart_property_page_scales")&&(N=$('').data("layout-tab",a.TabNames.scales),U=$(' ').change(function(){this.checked&&setTimeout(function(){jt._model.m_model.invalidate(new m(m.LIGHT_UPDATE))},0)}),q=this.addLabeledRow(N,$.t("Auto Scale"),U),Y=function(e){this._undoModel.setAutoScaleProperty(this._property,e,jt._series.priceScale(),this._undoText)},$("").append(U).prependTo(q),this.bindControl(new c(U,this._scaleProperty.autoScale,!0,this.model(),"Auto Scale",Y)),this.bindControl(new y(U,this._scaleProperty.autoScaleDisabled,!0,this.model(),"Auto Scale")),K=$(' '),Q=this.addLabeledRow(N,$.t("Percentage"),K),J=function(e){this._undoModel.setPercentProperty(this._property,e,jt._series.priceScale(),this._undoText)},$(" ").append(K).prependTo(Q),this.bindControl(new c(K,this._scaleProperty.percentage,!0,this.model(),"Scale Percentage",J)),this.bindControl(new y(K,this._scaleProperty.percentageDisabled,!0,this.model(),"Scale Percentage")),Z=$(' '),X=this.addLabeledRow(N,$.t("Log Scale"),Z),ee=function(e){this._undoModel.setLogProperty(this._property,e,jt._series.priceScale(),this._undoText)},$(" ").append(Z).prependTo(X),this.bindControl(new c(Z,this._scaleProperty.log,!0,this.model(),"Log Scale",ee)),this.bindControl(new y(Z,this._scaleProperty.logDisabled,!0,this.model(),"Log Scale")),te=$(' ').change(function(){this.checked&&setTimeout(function(){jt._model.m_model.invalidate(new m(m.LIGHT_UPDATE))},0)}),oe=this.addLabeledRow(N,$.t("Scale Series Only"),te),$(" ").append(te).prependTo(oe),this.bindControl(new c(te,this._property.scalesProperties.scaleSeriesOnly,!0,this.model(),"Scale Series Only")),ie=$(" "),ne=this.addLabeledRow(N,$.t("Lock scale"),ie),ae=function(e){this._undoModel.setLockScaleProperty(this._property,e,jt._series,this._undoText)},re=function(e){ne.toggle(e.value()===_.STYLE_PNF)},$(" ").append(ie).prependTo(ne),this.bindControl(new c(ie,this._scaleProperty.lockScale,!0,this.model(),"Change lock scale",ae)),this._seriesProperty.style.listeners().subscribe(this,re),t.enabled("support_multicharts")&&(le=$(" "),pe=this.addLabeledRow(N,$.t("Track time"),le),$(" ").append(le).prependTo(pe),this.bindControl(new g(le,this._model.trackTime(),null,this.model(),"Change track time"))),se=$('').data("layout-tab",a.TabNames.scales),de=$(' '),he=this.addLabeledRow(se,$.t("Top Margin"),de),$("").appendTo(he).append(de),$(" % ").appendTo(he),ce=[d(this._property.paneProperties.topMargin.value())],ce.push(s(25)),ce.push(p(0)),this.bindControl(new h(de,this._property.paneProperties.topMargin,ce,!0,this.model(),"Top Margin")),be=$(' '),
ue=this.addLabeledRow(se,$.t("Bottom Margin"),be),$("").appendTo(ue).append(be),$(" % ").appendTo(ue),Ce=[d(this._property.paneProperties.bottomMargin.value())],Ce.push(s(25)),Ce.push(p(0)),this.bindControl(new h(be,this._property.paneProperties.bottomMargin,Ce,!0,this.model(),"Bottom Margin")),ye=$(' '),ge=this.addLabeledRow(se,$.t("Right Margin"),ye),$("").appendTo(ge).append(ye),$(" "+$.t("bars",{context:"margin"})+" ").appendTo(ge),$e=this._chart.timeScale(),Te=[d($e.defaultRightOffsetProperty().value())],Te.push(s(~~$e.maxRightOffset())),Te.push(p(0)),this.bindControl(new h(ye,$e.defaultRightOffsetProperty(),Te,!0,this.model(),"Right Margin")),we=$(' '),ge=this.addLabeledRow(se,$.t("Price/Bar Ratio"),we),_e=!0,me=function(e){this._undoModel.setScaleRatioProperty(this._property,e,jt._series,this._undoText),_e&&(x("GUI","Scales","Edit scale ratio value"),_e=!1)},$("").appendTo(ge).append(we),we.TVTicker({step:this._mainSeriesScaleRatioProperty.getStepChangeValue()}),fe=w("",7),Le=[T(this._mainSeriesScaleRatioProperty.value.bind(this._mainSeriesScaleRatioProperty)),p(this._mainSeriesScaleRatioProperty.getMinValue()),s(this._mainSeriesScaleRatioProperty.getMaxValue()),fe],ve=new h(we,this._mainSeriesScaleRatioProperty,Le,!1,this.model(),"Price/Bar Ratio",me),ve.addFormatter(fe),this.bindControl(ve),ke=$('').data("layout-tab",a.TabNames.scales),Se=$(" "),Pe=this.addLabeledRow(ke,$.t("Left Axis"),Se),$("").append(Se).prependTo(Pe),setTimeout(function(){this.bindControl(new c(Se,this._property.scalesProperties.showLeftScale,!0,this.model(),"Show Left Axis"))}.bind(this),0),xe=$(" "),Be=this.addLabeledRow(ke,$.t("Right Axis"),xe),$(" ").append(xe).prependTo(Be),setTimeout(function(){this.bindControl(new c(xe,this._property.scalesProperties.showRightScale,!0,this.model(),"Show Right Axis"))}.bind(this),0),t.enabled("countdown")&&(Re=$(" "),Ee=this.addLabeledRow(ke,$.t("Countdown"),Re),$(" ").append(Re).prependTo(Ee),this.bindControl(new c(Re,this._seriesProperty.showCountdown,!0,this.model(),"Change Show Countdown"))),Fe=$(' '),Ie=this.addLabeledRow(ke,$.t("Symbol Last Value"),Fe),$(" ").append(Fe).prependTo(Ie),this.bindControl(new c(Fe,this._property.scalesProperties.showSeriesLastValue,!0,this.model(),"Change Symbol Last Value Visibility")),De=$(' '),Ae=this.addLabeledRow(ke,$.t("Indicator Last Value"),De),$(" ").append(De).prependTo(Ae),this.bindControl(new c(De,this._property.scalesProperties.showStudyLastValue,!0,this.model(),"Change Indicator Last Value Visibility")),We=$(' '),Ve=this.addLabeledRow(ke,$.t("Symbol Labels"),We),$(" ").append(We).prependTo(Ve),
this.bindControl(new c(We,this._property.scalesProperties.showSymbolLabels,!0,this.model(),"Show Symbol Labels")),Oe=$(' '),ze=this.addLabeledRow(ke,$.t("Indicator Labels"),Oe),$(" ").append(Oe).prependTo(ze),this.bindControl(new c(Oe,this._property.scalesProperties.showStudyPlotLabels,!0,this.model(),"Show Study Plots Labels")),Me=$(" "),je=this.addLabeledRow(ke,$.t("No Overlapping Labels"),Me),$(" ").append(Me).prependTo(je),this.bindControl(new c(Me,this._scaleProperty.alignLabels,!0,this.model(),"No Overlapping Labels")),He=$('').append(N).append(se),Ge=$('
').append(ke),R=$("
").css("min-width","520px").data("layout-tab",a.TabNames.scales),R.append(He).append(Ge),this.scalesTab=R,k=$('
').data("layout-tab",a.TabNames.style),Ne=this.createSeriesMinTickEditor(),Ue=$(""),qe=$(" ").appendTo(ke),Ye=$('').appendTo(qe),$(" "+$.t("Decimal Places")+" ").appendTo(Ue),$("").append(Ne).appendTo(Ue),k.append(Ue).appendTo(Ye),this.bindControl(new C(Ne,this._seriesProperty.minTick,null,!0,this.model(),"Change Decimal Places"))),t.enabled("chart_property_page_background")&&(Ke=$(''),Qe=this.createColorPicker({hideTransparency:!0}),Je=this.addLabeledRow(Ke,$.t("Background")),$('').append(Qe).appendTo(Je),this.bindControl(new u(Qe,this._property.paneProperties.background,!0,this.model(),"Change Chart Background Color")),Ze=this.addLabeledRow(Ke,$.t("Vert Grid Lines")),Xe=this.createColorPicker(),$(" ").append(Xe).appendTo(Ze),this.bindControl(new u(Xe,this._property.paneProperties.vertGridProperties.color,!0,this.model(),"Change Vert Grid Lines Color")),et=L(),$(' ').append(et.render()).appendTo(Ze),this.bindControl(new C(et,this._property.paneProperties.vertGridProperties.style,parseInt,!0,this.model(),"Change Vert Grid Lines Style")),tt=this.addLabeledRow(Ke,$.t("Horz Grid Lines")),ot=this.createColorPicker(),$(" ").append(ot).appendTo(tt),this.bindControl(new u(ot,this._property.paneProperties.horzGridProperties.color,!0,this.model(),"Change Horz Grid Lines Color")),it=L(),$(' ').append(it.render()).appendTo(tt),this.bindControl(new C(it,this._property.paneProperties.horzGridProperties.style,parseInt,!0,this.model(),"Change Horz Grid Lines Style")),nt=this.createColorPicker(),at=this.addLabeledRow(Ke,$.t("Scales Text")),$(" ").append(nt).appendTo(at),this.bindControl(new u(nt,this._property.scalesProperties.textColor,!0,this.model(),"Change Scales Text Color")),rt=this.createFontSizeEditor(),$(" ").append(rt).appendTo(at),this.bindControl(new C(rt,this._property.scalesProperties.fontSize,parseInt,!0,this.model(),"Change Scales Font Size")),lt=this.createColorPicker(),pt=this.addLabeledRow(Ke,$.t("Scales Lines")),$(' ').append(lt).appendTo(pt),
this.bindControl(new u(lt,this._property.scalesProperties.lineColor,!0,this.model(),"Change Scales Lines Color")),st=this.addLabeledRow(Ke,$.t("Watermark")),dt=this.createColorPicker(),$(" ").append(dt).appendTo(st),this.bindControl(new u(dt,this._property.symbolWatermarkProperties.color,!0,this.model(),"Change Symbol Watermark Color",this._property.symbolWatermarkProperties.transparency)),ht=this.addLabeledRow(Ke,$.t("Crosshair")),ct=this.createColorPicker(),$(" ").append(ct).appendTo(ht),this.bindControl(new u(ct,this._property.paneProperties.crossHairProperties.color,!0,this.model(),"Change Crosshair Color",this._property.paneProperties.crossHairProperties.transparency)),bt=L(),$(" ").append(bt.render()).appendTo(ht),this.bindControl(new C(bt,this._property.paneProperties.crossHairProperties.style,parseInt,!0,this.model(),"Change Crosshair Style")),ut=v(),$(" ").append(ut).appendTo(this.addRow(Ke).prepend(" ")),this.bindControl(new b(ut,this._property.paneProperties.crossHairProperties.width,!0,this.model(),"Change Crosshair Width")),Ct=$(''),yt=this.addLabeledRow(Ct,$.t("Navigation Buttons"),null,!0),gt=$(document.createElement("select")),P.availableValues().forEach(function(e){$(document.createElement("option")).attr("value",e.value).text(e.title).appendTo(gt)}),$("").append(gt).appendTo(yt),this.bindControl(new C(gt,P.property(),null,!0,this.model(),"Change Navigation Buttons Visibility")),$t=$(''),Tt=$(' '),wt=this.addLabeledRow($t,$.t("Symbol Description"),Tt),$("").append(Tt).prependTo(wt),this.bindControl(new c(Tt,this._property.paneProperties.legendProperties.showSeriesTitle,!0,this.model(),"Change Symbol Description Visibility")),_t=$(' '),mt=this.addLabeledRow($t,$.t("OHLC Values"),_t),$(" ").append(_t).prependTo(mt),this.bindControl(new c(_t,this._property.paneProperties.legendProperties.showSeriesOHLC,!0,this.model(),"Change OHLC Values Visibility")),ft=$(' '),Lt=this.addLabeledRow($t,$.t("Indicator Titles"),ft),$(" ").append(ft).prependTo(Lt),this.bindControl(new c(ft,this._property.paneProperties.legendProperties.showStudyTitles,!0,this.model(),"Change Indicator Titles Visibility")),vt=$(' '),kt=this.addLabeledRow($t,$.t("Indicator Arguments"),vt),St=function(e){vt.prop("disabled",!e.value())},$(" ").append(vt).prependTo(kt),this.bindControl(new c(vt,this._property.paneProperties.legendProperties.showStudyArguments,!0,this.model(),"Change Indicator Arguments Visibility")),this._property.paneProperties.legendProperties.showStudyTitles.listeners().subscribe(this,St),St(this._property.paneProperties.legendProperties.showStudyTitles),Pt=$(' '),xt=this.addLabeledRow($t,$.t("Indicator Values"),Pt),$(" ").append(Pt).prependTo(xt),
this.bindControl(new c(Pt,this._property.paneProperties.legendProperties.showStudyValues,!0,this.model(),"Change Indicator Values Visibility")),Bt=$('').append(Ke),Rt=$('
').append($t),Et=$('
').append(Ct),E=$("
").css("min-width","520px").data("layout-tab",a.TabNames.background),E.append(Bt).append(Rt).append(Et)),t.enabled("chart_property_page_timezone_sessions")){for(I=$('
').data("layout-tab",a.TabNames.timezoneSessions),this.tmzSessTable=I,ge=$("").appendTo(I),Ft=$("").appendTo(ge),It=$('').appendTo(Ft),Dt=$(""),Dt.appendTo(It),At=$(""),At.appendTo(Dt),At.text($.t("Time Zone")),Wt=$(' '),Wt.appendTo(Dt),Vt="",Ot=0;Ot'+S[Ot].title+"";zt=$(""+Vt+" "),zt.appendTo(Wt),this.bindControl(new C(zt,this._property.timezone,null,!0,this.model(),"Change Timezone")),this._series.createSessStudy(),this.createSessTable(I)}Mt=t.enabled("trading_options")||t.enabled("chart_property_page_trading"),Mt&&(D=this.createTradingTable()),n=$(''),r=$('').css({width:"100%"}).data("layout-separated",!0),F=$('').data("layout-tab",a.TabNames.drawings),this._table=$().add(e).add(o).add(i).add(n).add(r).add(l).add(B).add(R).add(E).add(F).add(I).add(D).add(A),this.loadData()},i.prototype.widget=function(){return this._table},i.prototype.loadData=function(){this.superclass.prototype.loadData.call(this),this.switchStyle()},i.prototype.loadTheme=function(e,t,o){},i.prototype.applyTheme=function(e,t){this._model._chartWidget._chartWidgetCollection.applyTheme(e,t),this.loadData()},i.prototype.createTemplateButton=function(e){return t.enabled("chart_property_page_template_button")?(this,e||(e={}),$(''+$.t("Template")+' ')):$(" ")},i.prototype.switchStyle=function(){if(this._hasSeriesStyleLayout)switch($(this._barsTbody).add(this._barsColorerTbody).add(this._renkoTbody).add(this._pbTbody).add(this._kagiTbody).add(this._pnfTbody).add(this._candlesTbody).add(this._candlesColorerTbody).add(this._hollowCandlesTbody).add(this._lineTbody).add(this._areaTbody).add(this._haTbody).add(this._haColorerTbody).add(this._baselineTbody).css("display","none"),this._seriesProperty.style.value()){case _.STYLE_BARS:this._barsTbody.css("display","table-row-group"),this._barsColorerTbody.css("display","table-row-group");break;case _.STYLE_CANDLES:this._candlesTbody.css("display","table-row-group"),this._candlesColorerTbody.css("display","table-row-group");break;case _.STYLE_HOLLOW_CANDLES:this._hollowCandlesTbody.css("display","table-row-group");break;case _.STYLE_LINE:
this._lineTbody.css("display","table-row-group");break;case _.STYLE_AREA:this._areaTbody.css("display","table-row-group");break;case _.STYLE_RENKO:this._renkoTbody.css("display","table-row-group");break;case _.STYLE_PB:this._pbTbody.css("display","table-row-group");break;case _.STYLE_KAGI:this._kagiTbody.css("display","table-row-group");break;case _.STYLE_PNF:this._pnfTbody.css("display","table-row-group");break;case _.STYLE_HEIKEN_ASHI:this._haTbody.css("display","table-row-group"),this._haColorerTbody.css("display","table-row-group");break;case _.STYLE_BASELINE:this._baselineTbody.css("display","table-row-group")}},i.prototype.onResoreDefaults=function(){var e,t,o=this._model.model().properties().paneProperties.topMargin,i=this._model.model().properties().paneProperties.bottomMargin;o.listeners().fire(o),i.listeners().fire(i),e=this._chart.timeScale(),e.restoreRightOffsetPropertyToDefault(),t=this._model.model().properties().timezone,t.listeners().fire(t)},i.prototype.defaultProperties=function(){var e=this,t=[e._seriesProperty.extendedHours,e._property.scalesProperties.showLeftScale,e._property.scalesProperties.showRightScale].map(function(e){return{property:e,previousValue:e.value()}});return setTimeout(function(){t.forEach(function(e){e.property.value()!==e.previousValue&&e.property.listeners().fire(e.property)});var o=new k("chartproperties.paneProperties.rightAxisProperties");["autoScale","percentage","log"].forEach(function(t){var i=e._scaleProperty[t],n=o[t].value();n!==i.value()&&i.setValue(n)})},0),[this._property,this._seriesProperty]},i.prototype.createSessTable=function(e){var t,o=this._series.sessionsStudy().properties(),i=this.createTableInTable(e),n=o.name.value(),a=$(" "),r=this.addLabeledRow(i,$.t("Session Breaks"),a),l=L(),p=this.createColorPicker(),s=v();return $("").append(a).prependTo(r),$(" ").append(p).appendTo(r),$(" ").append(l.render()).appendTo(r),$(" ").append(s).appendTo(r),this.bindControl(new c(a,o.graphics.vertlines.sessBreaks.visible,!0,this.model(),"Change "+n+" visibility")),this.bindControl(new u(p,o.graphics.vertlines.sessBreaks.color,!0,this.model(),"Change "+n+" color")),this.bindControl(new C(l,o.graphics.vertlines.sessBreaks.style,parseInt,!0,this.model(),"Change "+n+" style")),this.bindControl(new b(s,o.graphics.vertlines.sessBreaks.width,!0,this.model(),"Change "+n+" width")),t=this._series.isIntradayInterval(),a.prop("disabled",!t),i},i.prototype._createStudySessRow=function(e,t,o){var i,n=$(" "),a=this.addLabeledRow(e,t,n),r=f($(" ").appendTo(a));return this.bindControl(new c(n,o.visible,!0,this.model(),"Change "+t+" visibility")),this.bindControl(new u(r,o.color,!0,this.model(),t+" color",o.transparency)),i=$(" "),i.append(n).prependTo(a),a.addClass("offset-row"),n},i.prototype.createTradingTable=function(){
var e,t,o,i,n,r,l,u,y,g,T,w=$('').data("layout-tab",a.TabNames.trading),_=$("").appendTo(w),m=$("").appendTo(_),f=$('').appendTo(m),k=$(' ');return _=this.addLabeledRow(f,$.t("Show Positions"),k),$("").append(k).prependTo(_),this.bindControl(new c(k,this._property.tradingProperties.showPositions,!0,this.model(),"Change Positions Visibility")),e=$(' '),_=this.addLabeledRow(f,$.t("Show Orders"),e),$(" ").append(e).prependTo(_),this.bindControl(new c(e,this._property.tradingProperties.showOrders,!0,this.model(),"Change Orders Visibility")),t=$(' '),o=this.addLabeledRow(f,$.t("Extend Lines Left"),t),$(" ").append(t).prependTo(o),this.bindControl(new c(t,this._property.tradingProperties.extendLeft,!0,this.model(),"Extend Lines Left")),i=v(),this.bindControl(new b(i,this._property.tradingProperties.lineWidth,!0,this.model(),"Change Connecting Line Width")),n=L(),this.bindControl(new C(n,this._property.tradingProperties.lineStyle,parseInt,!0,this.model(),"Change Connecting Line Style")),r=$(' '),l=[d(this._property.tradingProperties.lineLength.value()),s(100),p(0)],this.bindControl(new h(r,this._property.tradingProperties.lineLength,l,!0,this.model(),"Change Connecting Line Length")),u=$(" "),y=this.addLabeledRow(f,$.t("Connecting Line"),u),$("").prependTo(y),$(" ").append(i).appendTo(y),$(' ').append(n.render()).appendTo(y),$(' ').append(r).appendTo(y),$(" % ").appendTo(y),g=$(' '),T=this.addLabeledRow(f,$.t("Show Executions"),g),$("").append(g).prependTo(T),this.bindControl(new c(g,this._property.tradingProperties.showExecutions,!0,this.model(),"Change Executions Visibility")),w},e.exports=i}).call(t,o(5))},1084:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.ColorBinding,l=a.SliderBinder,p=a.SimpleComboBinder,s=a.BooleanBinder,d=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n,a,h,c,b;this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),e=d(),t=this.createColorPicker(),o=this.createColorPicker(),i=$(' '),n=$(' '),a=this.createFontSizeEditor(),h=this.createFontEditor(),c=this.addLabeledRow(this._table,"Border"),c.prepend(" "),$(" ").append(t).appendTo(c),$(" ").append(e).appendTo(c),h=this.createFontEditor(),this.bindControl(new r(t,this._linetool.properties().color,!0,this.model(),"Change Pattern Line Color")),this.bindControl(new r(o,this._linetool.properties().textcolor,!0,this.model(),"Change Pattern Text Color")),
this.bindControl(new l(e,this._linetool.properties().linewidth,!0,this.model(),"Change Pattern Border Width")),this.bindControl(new p(a,this._linetool.properties().fontsize,parseInt,!0,this.model(),"Change Text Font Size")),this.bindControl(new p(h,this._linetool.properties().font,null,!0,this.model(),"Change Text Font")),this.bindControl(new s(i,this._linetool.properties().bold,!0,this.model(),"Change Text Font Bold")),this.bindControl(new s(n,this._linetool.properties().italic,!0,this.model(),"Change Text Font Italic")),b=$('').append($(document.createElement("td")).attr({width:1}).append(o)).append($(document.createElement("td")).attr({width:1}).append(h)).append($(document.createElement("td")).attr({width:1}).append(a)).append($(document.createElement("td")).css("vertical-align","top").attr({width:1}).append(i)).append($(document.createElement("td")).css("vertical-align","top").append(n)).append($("
")),c=this.addLabeledRow(this._table,""),$(' ').append(b).appendTo(c),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1085:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.BooleanBinder,l=a.ColorBinding,p=a.SliderBinder,s=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n;this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),e=s(),t=this.createColorPicker(),o=this.addLabeledRow(this._table,"Border"),o.prepend(" "),$(" ").append(t).appendTo(o),$(" ").append(e).appendTo(o),i=$(' '),n=this.createColorPicker(),o=this.addLabeledRow(this._table,"Background",i),$(" ").append(i).prependTo(o),$(" ").append(n).appendTo(o),this.bindControl(new r(i,this._linetool.properties().fillBackground,!0,this.model(),"Change Arc Filling")),this.bindControl(new l(t,this._linetool.properties().color,!0,this.model(),"Change Arc Line Color")),this.bindControl(new l(n,this._linetool.properties().backgroundColor,!0,this.model(),"Change Arc Background Color",this._linetool.properties().transparency)),this.bindControl(new p(e,this._linetool.properties().linewidth,!0,this.model(),"Change Arc Border Width")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1086:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.SimpleStringBinder,l=a.ColorBinding,p=a.SimpleComboBinder;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n;this._table=$('').css({width:"100%"}),e=$(" ").css({width:"100%"}),t=$('').append(e),o=this.createColorPicker(),i=this.createFontEditor(),n=$("
").appendTo(this._table),$("").css({width:"0"
}).html($.t("Text")).appendTo(n),$(' ').append(t).appendTo(n),n=this.addLabeledRow(this._table,$.t("Text Font")),n.children().css({whiteSpace:"nowrap"}),$(" ").append(o).appendTo(n).css({width:"0"}),$(" ").append(i).appendTo(n),this.bindControl(new l(o,this._linetool.properties().color,!0,this.model(),"Change Arrow Mark Text Color")),this.bindControl(new r(e,this._linetool.properties().text,null,!0,this.model(),"Change Arrow Mark Text")),this.bindControl(new p(i,this._linetool.properties().font,null,!0,this.model(),"Change Arrow Mark Font")),this.loadData(),setTimeout(function(){e.select(),e.focus()},20)},i.prototype.widget=function(){return this._table},e.exports=i},1087:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.SimpleComboBinder,l=a.ColorBinding,p=a.SimpleStringBinder,s=o(1201).TabOpenFrom;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n,a,d,h,c=$('').css({width:"100%"}).data("layout-tab-open",s.Override),b=$('');this._table=c.add(b),e=$(" ").css({width:"100%"}),t=this.createColorPicker(),o=this.createFontSizeEditor(),i=this.createColorPicker(),n=this.createColorPicker(),a=$("").appendTo(c),d=$('').append(e),$("
").append(d).appendTo(a),h=this.addLabeledRow(b,$.t("Text")),$(" ").append(t).appendTo(h),$(" ").append(o).appendTo(h),h=this.addLabeledRow(b,$.t("Background")),$(" ").appendTo(h).append(i),h=this.addLabeledRow(b,$.t("Border")),$(" ").appendTo(h).append(n),$(" "),this.bindControl(new p(e,this._linetool.properties().text,null,!0,this.model(),"Change Balloon Text")),this.bindControl(new l(t,this._linetool.properties().color,!0,this.model(),"Change Baloon Text Color")),this.bindControl(new r(o,this._linetool.properties().fontsize,parseInt,!0,this.model(),"Change Balloon Text Font Size")),this.bindControl(new l(i,this._linetool.properties().backgroundColor,!0,this.model(),"Change Balloon Background Color",this._linetool.properties().transparency)),this.bindControl(new l(n,this._linetool.properties().borderColor,!0,this.model(),"Change Balloon Border Color")),this.loadData(),setTimeout(function(){e.select(),e.focus()},0)},i.prototype.widget=function(){return this._table},e.exports=i},1088:function(e,t,o){"use strict";function i(e,t,o){a.call(this,e,t,o),this.prepareLayout()}function n(e,t,o){r.call(this,e,t,o)}var a=o(1195),r=o(1076),l=o(238),p=l.ToFloatTransformer,s=l.SimpleComboBinder,d=l.ColorBinding,h=l.BooleanBinder,c=l.SimpleStringBinder;inherit(i,a),i.prototype.prepareLayout=function(){var e,t,o,i,n,a;this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),e=$(" ").appendTo(this._table),t=this.createColorPicker(),o=this.addLabeledRow(e,"Color"),$("").append(t).appendTo(o),
i=$(''+$.t("HL Bars")+' '+$.t("OC Bars")+' '+$.t("Line - Close")+' '+$.t("Line - Open")+' '+$.t("Line - High")+' '+$.t("Line - Low")+' '+$.t("Line - HL/2")+" "),o=this.addLabeledRow(e,"Mode"),$(" ").append(i).appendTo(o),o=$(" ").appendTo(e),$(""+$.t("Mirrored")+" ").appendTo(o),n=$(" "),$("").append(n).appendTo(o),o=$(" ").appendTo(e),$(""+$.t("Flipped")+" ").appendTo(o),a=$(" "),$("").append(a).appendTo(o),this.bindControl(new h(n,this._linetool.properties().mirrored,!0,this.model(),"Change Bars Pattern Mirroring")),this.bindControl(new h(a,this._linetool.properties().flipped,!0,this.model(),"Change Bars Pattern Flipping")),this.bindControl(new d(t,this._linetool.properties().color,!0,this.model(),"Change Bars Pattern Color")),this.bindControl(new s(i,this._linetool.properties().mode,null,!0,this.model(),"Change Bars Pattern Mode")),this.loadData()},i.prototype.widget=function(){return this._table},inherit(n,r),n.prototype.prepareLayout=function(){var e,t,o,i,n,a,r,l,s;this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),e=$(" "),e.appendTo(this._table),t=$(""),t.html($.t("Price")),t.appendTo(e),o=$(" "),o.appendTo(e),i=$(" "),i.appendTo(o),n=$(" "),n.html($.t("Bar #")),n.appendTo(e),a=$(" "),a.appendTo(e),r=$(" "),r.appendTo(a),r.addClass("ticker"),l=this._linetool.properties().points[0],s=[p(l.price.value())],this.bindControl(new c(i,l.price,s,!1,this.model(),"Change "+this._linetool+" point price")),this.bindBarIndex(l.bar,r,this.model(),"Change "+this._linetool+" point bar index"),this.loadData()},t.LineToolBarsPatternStylesPropertyPage=i,t.LineToolBarsPatternInputsPropertyPage=n},1089:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.ColorBinding,l=a.SimpleComboBinder,p=a.SliderBinder,s=a.BooleanBinder,d=o(1197).createLineStyleEditor,h=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n,a,c,b,u,C,y,g,T,w,_,m;this._block=$("").addClass("property-page"),e=$('
').appendTo(this._block),t=$("").appendTo(e),o=h(),i=d(),n=this.createColorPicker(),a=this.addLabeledRow(t,$.t("Line")),$("").append(n).appendTo(a),$(" ").append(o).appendTo(a),$(' ').append(i.render()).appendTo(a),c=$('').appendTo(this._block),a=this.addLabeledRow(c,$.t("Background"),b),b=$(' '),u=this.createColorPicker(),$("").append(b).prependTo(a),$(" ").append(u).appendTo(a),C=$('').appendTo(this._block),
y=$(""+$.t("Normal")+" "+$.t("Arrow")+" "),g=$(""+$.t("Normal")+" "+$.t("Arrow")+" "),T=$(""+$.t("Extend")+" ").css({"margin-left":"8px"}),w=$(' ').appendTo(T),_=$(""+$.t("Extend")+" ").css({"margin-left":"8px"}),m=$(' ').appendTo(_),a=this.addLabeledRow(C,$.t("Left End")),$('').appendTo(a).append(y).append(T),a=this.addLabeledRow(C,$.t("Right End")),$(' ').appendTo(a).append(g).append(_),this.bindControl(new r(n,this._linetool.properties().linecolor,!0,this.model(),"Change Curve Line Color")),this.bindControl(new l(i,this._linetool.properties().linestyle,parseInt,!0,this.model(),"Change Curve Line Style")),this.bindControl(new p(o,this._linetool.properties().linewidth,!0,this.model(),"Change Curve Line Width")),this.bindControl(new s(b,this._linetool.properties().fillBackground,!0,this.model(),"Change Curve Filling")),this.bindControl(new r(u,this._linetool.properties().backgroundColor,!0,this.model(),"Change Curve Background Color",this._linetool.properties().transparency)),this.bindControl(new l(y,this._linetool.properties().leftEnd,parseInt,!0,this.model(),"Change Curve Line Left End")),this.bindControl(new l(g,this._linetool.properties().rightEnd,parseInt,!0,this.model(),"Change Curve Line Right End")),this.bindControl(new s(w,this._linetool.properties().extendLeft,!0,this.model(),"Change Curve Line Extending Left")),this.bindControl(new s(m,this._linetool.properties().extendRight,!0,this.model(),"Change Curve Line Extending Right")),this.loadData()},i.prototype.widget=function(){return this._block},e.exports=i},1090:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.SliderBinder,l=a.BooleanBinder,p=a.ColorBinding,s=a.SimpleComboBinder,d=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n,a,h,c;this._table=$(''),e=d(),t=this.createColorPicker(),o=$(' '),i=this.createColorPicker(),n=this.addLabeledRow(this._table,"Line"),$("").prependTo(n),$(" ").append(t).appendTo(n),$(" ").append(e).appendTo(n),n=this.addLabeledRow(this._table,"Background",o),$(" ").append(o).prependTo(n),$(" ").append(i).appendTo(n),a=$(" ").appendTo(this._table),h=$(""+$.t("Normal")+" "+$.t("Arrow")+" "),c=$(""+$.t("Normal")+" "+$.t("Arrow")+" "),n=this.addLabeledRow(a,$.t("Left End")),$("").prependTo(n),$(' ').appendTo(n).append(h),n=this.addLabeledRow(a,$.t("Right End")),$(" ").prependTo(n),$(' ').appendTo(n).append(c),
this.bindControl(new p(t,this._linetool.properties().linecolor,!0,this.model(),"Change Brush Color")),this.bindControl(new r(e,this._linetool.properties().linewidth,!0,this.model(),"Change Brush Line Width")),this.bindControl(new l(o,this._linetool.properties().fillBackground,!0,this.model(),"Change Brush Filling")),this.bindControl(new p(i,this._linetool.properties().backgroundColor,!0,this.model(),"Change Brush Background Color",this._linetool.properties().transparency)),this.bindControl(new s(h,this._linetool.properties().leftEnd,parseInt,!0,this.model(),"Change Trend Line Left End")),this.bindControl(new s(c,this._linetool.properties().rightEnd,parseInt,!0,this.model(),"Change Trend Line Right End")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1091:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.BooleanBinder,l=a.ColorBinding,p=a.SimpleComboBinder,s=a.SliderBinder,d=a.SimpleStringBinder,h=o(1196).createLineWidthEditor,c=o(1201).TabOpenFrom;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n=this.createColorPicker(),a=this.createFontSizeEditor(),b=this.createFontEditor(),u=this.createTextEditor(350,200),C=this.createColorPicker(),y=h(),g=this.createColorPicker(),T=$(' '),w=$(' '),_=$(' ');this.bindControl(new l(n,this._linetool.properties().color,!0,this.model(),"Change Text Color")),this.bindControl(new p(a,this._linetool.properties().fontsize,parseInt,!0,this.model(),"Change Text Font Size")),this.bindControl(new p(b,this._linetool.properties().font,null,!0,this.model(),"Change Text Font")),this.bindControl(new d(u,this._linetool.properties().text,null,!0,this.model(),"Change Text")),this.bindControl(new l(C,this._linetool.properties().backgroundColor,!0,this.model(),"Change Text Background",this._linetool.properties().transparency)),this.bindControl(new l(g,this._linetool.properties().bordercolor,!0,this.model(),"Change Text Color")),this.bindControl(new s(y,this._linetool.properties().linewidth,!0,this.model(),"Change Border Width")),this.bindControl(new r(T,this._linetool.properties().wordWrap,!0,this.model(),"Change Text Wrap")),this.bindControl(new r(w,this._linetool.properties().bold,!0,this.model(),"Change Text Font Bold")),this.bindControl(new r(_,this._linetool.properties().italic,!0,this.model(),"Change Text Font Italic")),e=$('').data("layout-tab-open",c.Override),t=$(''),o=$(''),this._table=e.add(o).add(t),$(document.createElement("tr")).append($(document.createElement("td")).attr({width:1}).append(n)).append($(document.createElement("td")).attr({width:1
}).append(b)).append($(document.createElement("td")).attr({width:1}).append(a)).append($(document.createElement("td")).attr({width:1}).append(w)).append($(document.createElement("td")).append(_)).appendTo(e),$(document.createElement("tr")).append($(document.createElement("td")).attr({colspan:5}).append(u)).appendTo(e),i=this.addLabeledRow(t,"Text Wrap",T),$("").append(T).prependTo(i),i=this.addLabeledRow(o,"Background"),$(" ").append(C).appendTo(i),i=this.addLabeledRow(o,"Border"),$(" ").append(g).appendTo(i),$(" ").append(y).appendTo(i),this.loadData(),setTimeout(function(){u.select(),u.focus()},20)},i.prototype.widget=function(){return this._table},e.exports=i},1092:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.SimpleComboBinder,l=a.ColorBinding,p=a.SliderBinder,s=o(1197).createLineStyleEditor,d=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i;this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),e=d(),t=s(),o=this.createColorPicker(),i=this.addLabeledRow(this._table,"Lines"),$(" ").append(o).appendTo(i),$(" ").append(e).appendTo(i),$(" ").append(t.render()).appendTo(i),this.bindControl(new l(o,this._linetool.properties().linecolor,!0,this.model(),"Change Circle Lines Color")),this.bindControl(new r(t,this._linetool.properties().linestyle,parseInt,!0,this.model(),"Change Circle Lines Style")),this.bindControl(new p(e,this._linetool.properties().linewidth,!0,this.model(),"Change Circle Lines Width")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1093:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.SimpleComboBinder,l=a.ColorBinding,p=a.BooleanBinder,s=a.SliderBinder,d=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n,a,h,c,b,u,C,y,g,T;this._table=$(''),e=$("").appendTo(this._table),t=d(),o=this.createColorPicker(),i=this.addLabeledRow(e,$.t("Line")),$("").prependTo(i),$(" ").append(o).appendTo(i),$(" ").append(t).appendTo(i),n=this.createColorPicker(),a=this.createColorPicker(),h=this.createFontSizeEditor(),c=this.createFontEditor(),b=this.createColorPicker(),u=$(' '),C=this.createColorPicker(),y=$(' '),this.bindControl(new l(n,this._linetool.properties().textcolor,!0,this.model(),"Change Text Color")),this.bindControl(new r(h,this._linetool.properties().fontsize,parseInt,!0,this.model(),"Change Text Font Size")),this.bindControl(new r(c,this._linetool.properties().font,null,!0,this.model(),"Change Text Font")),
this.bindControl(new l(b,this._linetool.properties().labelBackgroundColor,!0,this.model(),"Change Text Background",this._linetool.properties().labelBackgroundTransparency)),this.bindControl(new p(u,this._linetool.properties().fillLabelBackground,!0,this.model(),"Change Text Background Fill")),this.bindControl(new l(C,this._linetool.properties().backgroundColor,!0,this.model(),"Change Text Background",this._linetool.properties().backgroundTransparency)),this.bindControl(new p(y,this._linetool.properties().fillBackground,!0,this.model(),"Change Text Background Fill")),this.bindControl(new l(a,this._linetool.properties().borderColor,!0,this.model(),"Change Text Border Color")),g=this.addLabeledRow(e,$.t("Background"),y),$(" ").append(y).prependTo(g),$(" ").append(C).appendTo(g),T=this.addLabeledRow(e,$.t("Label")),$(" ").prependTo(T),$(" ").append(n).appendTo(T),$(" ").append(c).appendTo(T),$(" ").append(h).appendTo(T),g=this.addLabeledRow(e,$.t("Label Background"),u),$(" ").append(u).prependTo(g),$(" ").append(b).appendTo(g),this.bindControl(new l(o,this._linetool.properties().linecolor,!0,this.model(),"Change Date Range Color")),this.bindControl(new s(t,this._linetool.properties().linewidth,!0,this.model(),"Change Date Range Line Width")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1094:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.SimpleComboBinder,l=a.ColorBinding,p=a.BooleanBinder,s=a.SliderBinder,d=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n,a,h,c,b,u,C,y,g,T,w,_,m,f,L,v,k,S,P;this._table=$(''),e=$("").appendTo(this._table),t=d(),o=this.createColorPicker(),i=this.addLabeledRow(e,$.t("Line")),$("").prependTo(i),$(" ").append(o).appendTo(i),$(" ").append(t).appendTo(i),n=this.createColorPicker(),a=this.createColorPicker(),h=this.createFontSizeEditor(),c=this.createFontEditor(),b=this.createColorPicker(),u=$(' '),C=this.createColorPicker(),y=$(' '),this.bindControl(new l(n,this._linetool.properties().textcolor,!0,this.model(),"Change Text Color")),this.bindControl(new r(h,this._linetool.properties().fontsize,parseInt,!0,this.model(),"Change Text Font Size")),this.bindControl(new r(c,this._linetool.properties().font,null,!0,this.model(),"Change Text Font")),this.bindControl(new l(b,this._linetool.properties().labelBackgroundColor,!0,this.model(),"Change Text Background",this._linetool.properties().labelBackgroundTransparency)),this.bindControl(new p(u,this._linetool.properties().fillLabelBackground,!0,this.model(),"Change Text Background Fill")),this.bindControl(new l(C,this._linetool.properties().backgroundColor,!0,this.model(),"Change Text Background",this._linetool.properties().backgroundTransparency)),
this.bindControl(new p(y,this._linetool.properties().fillBackground,!0,this.model(),"Change Text Background Fill")),this.bindControl(new l(a,this._linetool.properties().borderColor,!0,this.model(),"Change Text Border Color")),g=this.addLabeledRow(e,$.t("Background"),y),$(" ").append(y).prependTo(g),$(" ").append(C).appendTo(g),T=this.addLabeledRow(e,$.t("Label")),$(" ").prependTo(T),$(" ").append(n).appendTo(T),$(" ").append(c).appendTo(T),$(" ").append(h).appendTo(T),g=this.addLabeledRow(e,$.t("Label Background"),u),$(" ").append(u).prependTo(g),$(" ").append(b).appendTo(g),this.bindControl(new l(o,this._linetool.properties().linecolor,!0,this.model(),"Change Date Range Color")),this.bindControl(new s(t,this._linetool.properties().linewidth,!0,this.model(),"Change Date Range Line Width")),w=this._linetool.properties(),void 0!==w.extendTop&&void 0!==w.extendBottom&&(_=$(' '),m=$(' '),this.bindControl(new p(_,this._linetool.properties().extendTop,!0,this.model(),"Change Extend Top")),this.bindControl(new p(m,this._linetool.properties().extendBottom,!0,this.model(),"Change Extend Bottom")),f=this.addLabeledRow(e,$.t("Extend Top"),_),$(" ").append(_).prependTo(f),L=this.addLabeledRow(e,$.t("Extend Bottom"),m),$(" ").append(m).prependTo(L)),void 0!==w.extendLeft&&void 0!==w.extendRight&&(v=$(' '),k=$(' '),this.bindControl(new p(v,this._linetool.properties().extendLeft,!0,this.model(),"Change Extend Left")),this.bindControl(new p(k,this._linetool.properties().extendRight,!0,this.model(),"Change Extend Right")),S=this.addLabeledRow(e,$.t("Extend Left"),v),$(" ").append(v).prependTo(S),P=this.addLabeledRow(e,$.t("Extend Right"),k),$(" ").append(k).prependTo(P)),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1095:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.SimpleComboBinder,l=a.BooleanBinder,p=a.ColorBinding,s=a.SliderBinder,d=o(1197).createLineStyleEditor,h=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n,a,c,b,u,C,y,g,T,w,_,m,f,L,v,k,S,P,x,B;this._table=$(''),e=$("").appendTo(this._table),t=h(),o=d(),i=this.createColorPicker(),n=this.addLabeledRow(e,$.t("Line")),$("").append(i).appendTo(n),$(" ").append(t).appendTo(n),$(' ').append(o.render()).appendTo(n),n=this.addLabeledRow(e,$.t("Text")),a=this.createColorPicker(),c=this.createFontSizeEditor(),b=this.createFontEditor(),u=$(' '),C=$(' '),$(" ").append(a).appendTo(n),$(" ").append(b).appendTo(n),$(" ").append(c).appendTo(n),$(" ").append(u).appendTo(n),$(" ").append(C).appendTo(n),y=$(" ").appendTo(this._table),
g=$(' '),T=this.createColorPicker(),n=this.addLabeledRow(y,$.t("Background"),g),w=$(""),$('').append(w).appendTo(n),n=$(" ").appendTo(w),$("").append(g).appendTo(n),$(" ").append(T).appendTo(n),_=$(" ").appendTo(this._table),m=$(""+$.t("Extend")+" ").css({"margin-left":"8px"}),f=$(' ').appendTo(m),L=$(""+$.t("Extend")+" ").css({"margin-left":"8px"}),v=$(' ').appendTo(L),k=$(""+$.t("Normal")+" "+$.t("Arrow")+" "),S=$(""+$.t("Normal")+" "+$.t("Arrow")+" "),n=this.addLabeledRow(_,$.t("Left End")),$('').appendTo(n).append(k).append(m),n=this.addLabeledRow(_,$.t("Right End")),$(' ').appendTo(n).append(S).append(L),P=$(" ").appendTo(this._table),n=$("").appendTo(P),x=$(" "),B=$("").append(x).append($.t("Show Prices")),$("").append(B).appendTo(n),this.bindControl(new r(c,this._linetool.properties().fontsize,parseInt,!0,this.model(),"Change Text Font Size")),this.bindControl(new r(b,this._linetool.properties().font,null,!0,this.model(),"Change Text Font")),this.bindControl(new p(a,this._linetool.properties().textcolor,!0,this.model(),"Change Text Color")),this.bindControl(new l(u,this._linetool.properties().bold,!0,this.model(),"Change Text Font Bold")),this.bindControl(new l(C,this._linetool.properties().italic,!0,this.model(),"Change Text Font Italic")),this.bindControl(new l(x,this._linetool.properties().showPrices,!0,this.model(),"Change Disjoint Angle Show Prices")),this.bindControl(new l(f,this._linetool.properties().extendLeft,!0,this.model(),"Change Disjoint Angle Extending Left")),this.bindControl(new l(v,this._linetool.properties().extendRight,!0,this.model(),"Change Disjoint Angle Extending Right")),this.bindControl(new p(i,this._linetool.properties().linecolor,!0,this.model(),"Change Disjoint Angle Color")),this.bindControl(new r(o,this._linetool.properties().linestyle,parseInt,!0,this.model(),"Change Disjoint Angle Style")),this.bindControl(new s(t,this._linetool.properties().linewidth,!0,this.model(),"Change Disjoint Angle Width")),this.bindControl(new r(k,this._linetool.properties().leftEnd,parseInt,!0,this.model(),"Change Disjoint Angle Left End")),this.bindControl(new r(S,this._linetool.properties().rightEnd,parseInt,!0,this.model(),"Change Disjoint Angle Right End")),this.bindControl(new l(g,this._linetool.properties().fillBackground,!0,this.model(),"Change Disjoint Angle Filling")),this.bindControl(new p(T,this._linetool.properties().backgroundColor,!0,this.model(),"Change Disjoint Angle Background Color",this._linetool.properties().transparency)),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1096:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),
this.prepareLayout()}var n,a,r,l,p,s,d;o(12),n=o(1195),a=o(238),r=a.SimpleComboBinder,l=a.ColorBinding,p=a.SliderBinder,s=a.BooleanBinder,d=o(1196).createLineWidthEditor,inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n,a;this._table=$(''),e=this._linetool.getDegrees(),t=this.createKeyCombo(e),t.width(300),o=this.createColorPicker(),i=$(' '),n=this.addLabeledRow(this._table,window.t("Degree")),$("").prependTo(n),$(" ").append(t).appendTo(n),n=this.addLabeledRow(this._table,window.t("Line Width")),a=d(),$(" ").prependTo(n),$(" ").append(a).appendTo(n),n=this.addLabeledRow(this._table,window.t("Color")),$(" ").prependTo(n),$(" ").append(o).appendTo(n),n=this.addLabeledRow(this._table,window.t("Show Wave"),i),$(" ").append(i).prependTo(n),this.bindControl(new l(o,this._linetool.properties().color,!0,this.model(),"Change Elliott Label Color")),this.bindControl(new r(t,this._linetool.properties().degree,parseInt,!0,this.model(),"Change Elliott Wave Size")),this.bindControl(new s(i,this._linetool.properties().showWave,!0,this.model(),"Change Elliott Labels Background")),this.bindControl(new p(a,this._linetool.properties().linewidth,parseInt,this.model(),"Change Elliott Wave Line Width")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1097:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.BooleanBinder,l=a.ColorBinding,p=a.SliderBinder,s=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n;this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),e=s(),t=this.createColorPicker(),o=this.addLabeledRow(this._table,$.t("Border")),o.prepend(" "),$(" ").append(t).appendTo(o),$(" ").append(e).appendTo(o),i=$(' '),n=this.createColorPicker(),o=this.addLabeledRow(this._table,$.t("Background"),i),$(" ").append(i).prependTo(o),$(" ").append(n).appendTo(o),this.bindControl(new r(i,this._linetool.properties().fillBackground,!0,this.model(),"Change Ellipse Filling")),this.bindControl(new l(t,this._linetool.properties().color,!0,this.model(),"Change Ellipse Line Color")),this.bindControl(new l(n,this._linetool.properties().backgroundColor,!0,this.model(),"Change Ellipse Background Color",this._linetool.properties().transparency)),this.bindControl(new p(e,this._linetool.properties().linewidth,!0,this.model(),"Change Ellipse Border Width")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1098:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o)}var n=o(1078);inherit(i,n),e.exports=i},1099:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}
var n=o(1195),a=o(238),r=a.FloatBinder,l=a.SimpleComboBinder,p=a.BooleanBinder,s=a.ColorBinding,d=a.SliderBinder,h=o(372).addColorPicker,c=o(1197).createLineStyleEditor,b=o(1196).createLineWidthEditor,u=o(1198).createTransparencyEditor;inherit(i,n),i.prototype.addLevelEditor=function(e,t,o){var i,n,a,u,C,y,g,T,w,_,m=$(" ");m.appendTo(this._table),i=$(""),i.appendTo(m),n=$(" "),n.appendTo(i),e?(a=$(" "),a.appendTo(m),u=$(" "),u.appendTo(a),u.css("width","70px"),this.bindControl(new r(u,t.coeff,!1,this.model(),"Change Pitchfork Line Coeff"))):this.createLabeledCell("Trend Line",n).appendTo(m),C=$(" "),C.appendTo(m),y=h(C),g=$(" "),g.appendTo(m),T=b(),T.appendTo(g),e||(w=$(" "),w.appendTo(m),_=c(),_.render().appendTo(w),this.bindControl(new l(_,t.linestyle,parseInt,!0,this.model(),"Change Fib Circle Style"))),this.bindControl(new p(n,t.visible,!0,this.model(),"Change Fib Circle Visibility")),this.bindControl(new s(y,t.color,!0,this.model(),"Change Fib Circle Line Color",0)),this.bindControl(new d(T,t.linewidth,!0,this.model(),"Change Fib Circle Width"))},i.prototype.prepareLayout=function(){var e,t,o,i,n,a,r;for(this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),this.addLevelEditor(null,this._linetool.properties().trendline,!1),e=1;e<=11;e++)t="level"+e,this.addLevelEditor("Level "+e,this._linetool.properties()[t],!1);this.addOneColorPropertyWidget(this._table),o=$(" "),i=this.addLabeledRow(this._table,"Levels",o),$(" ").append(o).prependTo(i),n=$(" "),i=this.addLabeledRow(this._table,"Coeffs As Percents",n),$(" ").append(n).prependTo(i),this.bindControl(new p(o,this._linetool.properties().showCoeffs,!0,this.model(),"Change Fib Circle Levels Visibility")),i=$(" "),i.appendTo(this._table),a=$(" "),$("").append(a).appendTo(i),this.createLabeledCell("Background",a).appendTo(i),r=u(),$(' ').append(r).appendTo(i),this.bindControl(new p(a,this._linetool.properties().fillBackground,!0,this.model(),"Change Pitchfork Background Visibility")),this.bindControl(new d(r,this._linetool.properties().transparency,!0,this.model(),"Change Pitchfork Background Transparency")),this.bindControl(new p(n,this._linetool.properties().coeffsAsPercents,!0,this.model(),"Change Fib Retracement Coeffs As Percents")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1100:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.FloatBinder,l=a.SimpleComboBinder,p=a.BooleanBinder,s=a.ColorBinding,d=a.SliderBinder,h=o(372).addColorPicker,c=o(1197).createLineStyleEditor,b=o(1196).createLineWidthEditor,u=o(1198).createTransparencyEditor;inherit(i,n),
i.prototype.addLevelEditor=function(e,t,o){var i,n,a,u,C,y,g,T,w,_,m=$(" ");m.appendTo(this._table),i=$(""),i.appendTo(m),n=$(" "),n.appendTo(i),e?(a=$(" "),a.appendTo(m),u=$(" "),u.appendTo(a),u.css("width","70px"),this.bindControl(new r(u,t.coeff,!1,this.model(),"Change Pitchfork Line Coeff"))):$(" "+$.t("Trend Line")+" ").appendTo(m),C=$(""),C.appendTo(m),y=h(C),g=$(" "),g.appendTo(m),T=b(),T.appendTo(g),e||(w=$(" "),w.appendTo(m),_=c(),_.render().appendTo(w),this.bindControl(new l(_,t.linestyle,parseInt,!0,this.model(),"Change Fib Speed Resistance Arcs Style"))),this.bindControl(new p(n,t.visible,!0,this.model(),"Change Fib Speed Resistance Arcs Visibility")),this.bindControl(new s(y,t.color,!0,this.model(),"Change Fib Speed Resistance Arcs Line Color",0)),this.bindControl(new d(T,t.linewidth,!0,this.model(),"Change Fib Speed Resistance Arcs Width"))},i.prototype.prepareLayout=function(){var e,t,o,i,n,a,r;for(this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),this.addLevelEditor(null,this._linetool.properties().trendline,!1),e=1;e<=11;e++)t="level"+e,this.addLevelEditor("Level "+e,this._linetool.properties()[t],!1);this.addOneColorPropertyWidget(this._table),o=$(" "),i=this.addLabeledRow(this._table,$.t("Levels")),$(" ").append(o).prependTo(i),this.bindControl(new p(o,this._linetool.properties().showCoeffs,!0,this.model(),"Change Fib Speed Resistance Arcs Levels Visibility")),n=$(" "),i=this.addLabeledRow(this._table,$.t("Full Circles")),$(" ").append(n).prependTo(i),this.bindControl(new p(n,this._linetool.properties().fullCircles,!0,this.model(),"Change Fib Speed Resistance Arcs Full Cirlces Mode")),i=$(" "),i.appendTo(this._table),a=$(" "),$("").append(a).appendTo(i),$(" "+$.t("Background")+" ").appendTo(i),r=u(),$('').append(r).appendTo(i),this.bindControl(new p(a,this._linetool.properties().fillBackground,!0,this.model(),"Change Fib Arcs Background Visibility")),this.bindControl(new d(r,this._linetool.properties().transparency,!0,this.model(),"Change Fib Arcs Background Transparency")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1101:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.BooleanBinder,l=a.ColorBinding,p=a.FloatBinder,s=a.SimpleComboBinder,d=a.SliderBinder,h=o(372).addColorPicker,c=o(1197).createLineStyleEditor,b=o(1196).createLineWidthEditor,u=o(1198).createTransparencyEditor;inherit(i,n),i.prototype.addLevelEditor=function(e,t,o){var i,n,a,s,d,c,b=$(" ");b.appendTo(e),i=$(""),i.appendTo(b),n=$(" "),n.appendTo(i),a=$(" "),a.appendTo(b),
s=$(" "),s.appendTo(a),s.css("width","70px"),this.bindControl(new r(n,o.visible,!0,this.model(),"Change Gann Square Line Visibility")),this.bindControl(new p(s,o.coeff,!1,this.model(),"Change Pitchfork Line Coeff")),d=$(" "),d.appendTo(b),c=h(d),this.bindControl(new l(c,o.color,!0,this.model(),"Change Gann Square Line Color",0))},i.prototype.prepareLayout=function(){var e,t,o,i,n,a,p,h,C,y,g,T,w,_,m,f,L,v,k,S,P,x,B;for(this._table=$(document.createElement("table")),this._table.addClass("property-page property-page-unpadded"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),this._table.css({width:"100%"}),e=$(" ").appendTo(this._table),t=$(""),t.appendTo(e),o=$(''),o.appendTo(t),i=$(' '),i.appendTo(t),n=$(''),n.appendTo(o),n.addClass("property-page"),a=$(''),a.appendTo(i),a.addClass("property-page"),$(""+$.t("Price Levels")+" ").appendTo(n),$(""+$.t("Time Levels")+" ").appendTo(a),p=1;p<=7;p++)h="hlevel"+p,this.addLevelEditor(n,"Level "+p,this._linetool.properties()[h]);for(p=1;p<=7;p++)h="vlevel"+p,this.addLevelEditor(a,"Level "+p,this._linetool.properties()[h]);this.addOneColorPropertyWidget(n),i.css({"vertical-align":"top"}),C=$(" "),y=$(" "),g=$(" "),T=$(" "),w=$('').css({width:"100%"}),_=$("").appendTo(w),m=$('').appendTo($("").css({width:"50%"}).appendTo(_)),f=$('').appendTo($("").css({width:"50%"}).appendTo(_)),L=this.addLabeledRow(m,$.t("Left Labels"),C),$(" ").append(C).prependTo(L),L=this.addLabeledRow(f,$.t("Right Labels"),y),$(" ").append(y).prependTo(L),L=this.addLabeledRow(m,$.t("Top Labels"),g),$(" ").append(g).prependTo(L),L=this.addLabeledRow(f,$.t("Bottom Labels"),T),$(" ").append(T).prependTo(L),this.bindControl(new r(C,this._linetool.properties().showLeftLabels,!0,this.model(),"Change Gann Square Left Labels Visibility")),this.bindControl(new r(y,this._linetool.properties().showRightLabels,!0,this.model(),"Change Gann Square Right Labels Visibility")),this.bindControl(new r(g,this._linetool.properties().showTopLabels,!0,this.model(),"Change Gann Square Top Labels Visibility")),this.bindControl(new r(T,this._linetool.properties().showBottomLabels,!0,this.model(),"Change Gann Square Bottom Labels Visibility")),v=$(''),k=b(),S=c(),P=this.createColorPicker(),x=$(" "),L=this.addLabeledRow(v,$.t("Grid"),x),
$("").append(x).prependTo(L),$(" ").append(P).appendTo(L),$(" ").append(k).appendTo(L),$(" ").append(S.render()).appendTo(L),this.bindControl(new r(x,this._linetool.properties().grid.visible,!0,this.model(),"Change Fib Speed Resistance Fan Grid Visibility")),this.bindControl(new l(P,this._linetool.properties().grid.color,!0,this.model(),"Change Fib Speed Resistance Fan Grid Line Color",0)),this.bindControl(new s(S,this._linetool.properties().grid.linestyle,parseInt,!0,this.model(),"Change Fib Speed Resistance Fan Grid Line Style")),this.bindControl(new d(k,this._linetool.properties().grid.linewidth,!0,this.model(),"Change Fib Speed Resistance Fan Grid Line Width")),this._table=this._table.add(w).add(v),L=$(" "),L.appendTo(v),x=$(" "),$("").append(x).appendTo(L),this.createLabeledCell("Background",x).appendTo(L),B=u(),$(' ').append(B).appendTo(L),this.bindControl(new r(x,this._linetool.properties().fillBackground,!0,this.model(),"Change Fib Speed/Resistance Fan Background Visibility")),this.bindControl(new d(B,this._linetool.properties().transparency,!0,this.model(),"Change Fib Speed/Resistance Fan Background Transparency")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1102:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.SimpleComboBinder,l=a.ColorBinding,p=a.SliderBinder,s=o(1197).createLineStyleEditor,d=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n;this._table=$(''),e=$("").appendTo(this._table),t=d(),o=s(),i=this.createColorPicker(),n=this.addLabeledRow(e,"Line"),$("").append(i).appendTo(n),$(" ").append(t).appendTo(n),$(' ').append(o.render()).appendTo(n),this.bindControl(new l(i,this._linetool.properties().linecolor,!0,this.model(),"Change Fib Spiral Line Color")),this.bindControl(new r(o,this._linetool.properties().linestyle,parseInt,!0,this.model(),"Change Fib Spiral Line Style")),this.bindControl(new p(t,this._linetool.properties().linewidth,!0,this.model(),"Change Fib Spiral Line Width")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1103:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.FloatBinder,l=a.BooleanBinder,p=a.ColorBinding,s=a.SimpleComboBinder,d=a.SliderBinder,h=o(372).addColorPicker,c=o(1197).createLineStyleEditor,b=o(1196).createLineWidthEditor,u=o(1198).createTransparencyEditor;inherit(i,n),i.prototype.addLevelEditor=function(e,t,o){var i,n,a,u,C,y,g,T,w,_,m=$(" ");m.appendTo(this._table),i=$(""),i.appendTo(m),n=$(" "),n.appendTo(i),e?(a=$(" "),a.appendTo(m),u=$(" "),u.appendTo(a),u.css("width","70px"),
this.bindControl(new r(u,t.coeff,!1,this.model(),"Change Pitchfork Line Coeff"))):this.createLabeledCell($.t("Trend Line"),n).appendTo(m),C=$(" "),C.appendTo(m),y=h(C),g=$(" "),g.appendTo(m),T=b(),T.appendTo(g),w=$(" "),w.appendTo(m),_=c(),_.render().appendTo(w),this.bindControl(new l(n,t.visible,!0,this.model(),"Change Pitchfork Line Visibility")),this.bindControl(new p(y,t.color,!0,this.model(),"Change Pitchfork Line Color",0)),this.bindControl(new s(_,t.linestyle,parseInt,!0,this.model(),"Change Pitchfork Line Style")),this.bindControl(new d(T,t.linewidth,parseInt,this.model(),"Change Pitchfork Line Width"))},i.prototype.prepareLayout=function(){var e,t,o,i,n,a,r,p,h;for(this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),e=1;e<=11;e++)t="level"+e,this.addLevelEditor("Level "+e,this._linetool.properties()[t],!1);this.addOneColorPropertyWidget(this._table),o=$(" "),i=this.addLabeledRow(this._table,$.t("Show Labels"),o),$(" ").append(o).prependTo(i),n=$(""),a=$(""+$.t("left")+" "+$.t("center")+" "+$.t("right")+" "),r=$(""+$.t("top")+" "+$.t("middle")+" "+$.t("bottom")+" "),i=$(""),i.append(""+$.t("Labels")+" ").append(a).append("  ").append(r),i.appendTo(n),i=$(" "),$("").append(n).appendTo(i),i.appendTo(this._table),this.bindControl(new s(a,this._linetool.properties().horzLabelsAlign,null,!0,this.model(),"Change Fib Time Zone Labels Alignment")),this.bindControl(new s(r,this._linetool.properties().vertLabelsAlign,null,!0,this.model(),"Change Fib Time Zone Labels Alignment")),i=$(" "),i.appendTo(this._table),p=$(" "),$("").append(p).appendTo(i),this.createLabeledCell($.t("Background"),p).appendTo(i),h=u(),$(' ').append(h).appendTo(i),this.bindControl(new l(o,this._linetool.properties().showLabels,!0,this.model(),"Change Fib Time Zone Labels Visibility")),this.bindControl(new d(h,this._linetool.properties().transparency,!0,this.model(),"Change Fib Retracement Background Transparency")),this.bindControl(new l(p,this._linetool.properties().fillBackground,!0,this.model(),"Change Fib Retracement Background Visibility")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1104:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.FloatBinder,l=a.BooleanBinder,p=a.ColorBinding,s=a.SliderBinder,d=o(372).addColorPicker,h=o(1196).createLineWidthEditor,c=o(1198).createTransparencyEditor;inherit(i,n),i.prototype.addLevelEditor=function(e,t,o){var i,n,a,c,b,u,C,y,g=$(" ")
;g.appendTo(this._table),i=$(""),i.appendTo(g),n=$(" "),n.appendTo(i),e?(a=$(" "),a.appendTo(g),c=$(" "),c.appendTo(a),c.css("width","70px"),this.bindControl(new r(c,t.coeff,!1,this.model(),"Change Pitchfork Line Coeff"))):this.createLabeledCell("Trend Line",n).appendTo(g),b=$(" "),b.appendTo(g),u=d(b),C=$(" "),C.appendTo(g),y=h(),y.appendTo(C),this.bindControl(new l(n,t.visible,!0,this.model(),"Change Fib Wedge Visibility")),this.bindControl(new p(u,t.color,!0,this.model(),"Change Fib Wedge Line Color",0)),this.bindControl(new s(y,t.linewidth,!0,this.model(),"Change Fib Wedge Width"))},i.prototype.prepareLayout=function(){var e,t,o,i,n,a;for(this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),this.addLevelEditor(null,this._linetool.properties().trendline,!1),e=1;e<=11;e++)t="level"+e,this.addLevelEditor("Level "+e,this._linetool.properties()[t],!1);this.addOneColorPropertyWidget(this._table),o=$(" "),i=this.addLabeledRow(this._table,"Levels",o),$(" ").append(o).prependTo(i),this.bindControl(new l(o,this._linetool.properties().showCoeffs,!0,this.model(),"Change Fib Wedge Levels Visibility")),i=$(" "),i.appendTo(this._table),n=$(" "),$("").append(n).appendTo(i),this.createLabeledCell("Background",n).appendTo(i),a=c(),$(' ').append(a).appendTo(i),this.bindControl(new l(n,this._linetool.properties().fillBackground,!0,this.model(),"Change Wedge Background Visibility")),this.bindControl(new s(a,this._linetool.properties().transparency,!0,this.model(),"Change Wedge Background Transparency")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1105:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.SimpleComboBinder,l=a.ColorBinding,p=a.BooleanBinder,s=a.SliderBinder,d=o(1197).createLineStyleEditor,h=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n,a,c,b,u,C,y,g,T,w,_,m,f,L,v,k,S,P,x,B;this._table=$(''),e=$("").appendTo(this._table),t=h(),o=d(),i=this.createColorPicker(),n=this.addLabeledRow(e,$.t("Line")),$("").append(i).appendTo(n),$(" ").append(t).appendTo(n),$(' ').append(o.render()).appendTo(n),n=this.addLabeledRow(e,$.t("Text")),a=this.createColorPicker(),c=this.createFontSizeEditor(),b=this.createFontEditor(),u=$(' '),C=$(' '),$(" ").append(a).appendTo(n),$(" ").append(b).appendTo(n),$(" ").append(c).appendTo(n),$(" ").append(u).appendTo(n),$(" ").append(C).appendTo(n),
y=$(" ").appendTo(this._table),g=$(' '),T=this.createColorPicker(),n=this.addLabeledRow(y,$.t("Background"),g),w=$(""),$('').append(w).appendTo(n),n=$(" ").appendTo(w),$("").append(g).appendTo(n),$(" ").append(T).appendTo(n),_=$(" ").appendTo(this._table),m=$(""+$.t("Extend")+" ").css({"margin-left":"8px"}),f=$(' ').appendTo(m),L=$(""+$.t("Extend")+" ").css({"margin-left":"8px"}),v=$(' ').appendTo(L),k=$(""+$.t("Normal")+" "+$.t("Arrow")+" "),S=$(""+$.t("Normal")+" "+$.t("Arrow")+" "),n=this.addLabeledRow(_,$.t("Left End")),$('').appendTo(n).append(k).append(m),n=this.addLabeledRow(_,$.t("Right End")),$(' ').appendTo(n).append(S).append(L),P=$(" ").appendTo(this._table),n=$("").appendTo(P),x=$(" "),B=$("").append(x).append($.t("Show Prices")),$("").append(B).appendTo(n),this.bindControl(new r(c,this._linetool.properties().fontsize,parseInt,!0,this.model(),"Change Text Font Size")),this.bindControl(new r(b,this._linetool.properties().font,null,!0,this.model(),"Change Text Font")),this.bindControl(new l(a,this._linetool.properties().textcolor,!0,this.model(),"Change Text Color")),this.bindControl(new p(u,this._linetool.properties().bold,!0,this.model(),"Change Text Font Bold")),this.bindControl(new p(C,this._linetool.properties().italic,!0,this.model(),"Change Text Font Italic")),this.bindControl(new p(x,this._linetool.properties().showPrices,!0,this.model(),"Change Disjoint Angle Show Prices")),this.bindControl(new p(f,this._linetool.properties().extendLeft,!0,this.model(),"Change Disjoint Angle Extending Left")),this.bindControl(new p(v,this._linetool.properties().extendRight,!0,this.model(),"Change Disjoint Angle Extending Right")),this.bindControl(new l(i,this._linetool.properties().linecolor,!0,this.model(),"Change Disjoint Angle Color")),this.bindControl(new r(o,this._linetool.properties().linestyle,parseInt,!0,this.model(),"Change Disjoint Angle Style")),this.bindControl(new s(t,this._linetool.properties().linewidth,!0,this.model(),"Change Disjoint Angle Width")),this.bindControl(new r(k,this._linetool.properties().leftEnd,parseInt,!0,this.model(),"Change Disjoint Angle Left End")),this.bindControl(new r(S,this._linetool.properties().rightEnd,parseInt,!0,this.model(),"Change Disjoint Angle Right End")),this.bindControl(new p(g,this._linetool.properties().fillBackground,!0,this.model(),"Change Disjoint Angle Filling")),this.bindControl(new l(T,this._linetool.properties().backgroundColor,!0,this.model(),"Change Disjoint Angle Background Color",this._linetool.properties().transparency)),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1106:function(e,t,o){"use strict"
;function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.LessTransformer,l=a.GreateTransformer,p=a.ToFloatTransformer,s=a.BooleanBinder,d=a.SliderBinder,h=a.ColorBinding,c=a.SimpleComboBinder,b=a.SimpleStringBinder,u=o(372).addColorPicker,C=o(1196).createLineWidthEditor,y=o(1198).createTransparencyEditor;o(241),inherit(i,n),i.prototype.addOneColorPropertyWidget=function(e){var t=this.createOneColorForAllLinesWidget(),o=$(" ");o.append($("")).append($(" ")).append(t.editor).append($(" ").append(t.label)),o.appendTo(e)},i.prototype.prepareLayout=function(){var e,t,o,i,n,a,g,T,w,_,m,f,L,v,k,S,P,x,B,R,E,F,I,D,A,W,V,O,z,M,j,H,G,N,U,q,Y,K,Q,J,Z;this._table=$(document.createElement("table")),this._table.addClass("property-page property-page-unpadded"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),this._table.css({width:"100%"}),e=$(" "),e.appendTo(this._table),t=this.model(),o=this._linetool,i=o.properties(),n=$(""),$("").append(n).appendTo(e),a=$(" "),$(""+$.t("Levels")+" ").appendTo(a),a.appendTo(n);for(g in i.levels._childs)T=i.levels[g],w=$(" "),w.appendTo(n),$(""+g+" ").appendTo(w),_=$(" "),$("").append(_).appendTo(w),m=$(" "),m.appendTo(w),f=u(m),L=$(" "),L.appendTo(w),v=C(),v.appendTo(L),this.bindControl(new s(_,T.visible,!0,t,"Change Gann Line Visibility")),this.bindControl(new h(f,T.color,!0,t,"Change Gann Line Color",0)),this.bindControl(new d(v,T.width,!0,t,"Change Gann Line Width"));k=$(""),$("").append(k).appendTo(e),S=$(" "),$(""+$.t("Fans")+" ").appendTo(S),S.appendTo(k);for(g in i.fanlines._childs)P=i.fanlines[g],x=$(" "),x.appendTo(k),_=$(" "),$("").append(_).appendTo(x),B=P.x.value()+"x"+P.y.value(),$(" "+B+" ").appendTo(x),m=$(""),m.appendTo(x),f=u(m),L=$(" "),L.appendTo(x),v=C(),v.appendTo(L),this.bindControl(new s(_,P.visible,!0,t,"Change Gann Line Visibility")),this.bindControl(new h(f,P.color,!0,t,"Change Gann Fan Color",0)),this.bindControl(new d(v,P.width,!0,t,"Change Gann Line Width"));R=$(""),$("").append(R).appendTo(e),E=$(" "),$(""+$.t("Arcs")+" ").appendTo(E),E.appendTo(R);for(g in i.arcs._childs)F=i.arcs[g],I=$(" "),I.appendTo(R),_=$(" "),$("").append(_).appendTo(I),B=F.x.value()+"x"+F.y.value(),$(" "+B+" ").appendTo(I),m=$(""),m.appendTo(I),f=u(m),L=$(" "),L.appendTo(I),v=C(),v.appendTo(L),this.bindControl(new s(_,F.visible,!0,t,"Change Gann Line Visibility")),this.bindControl(new h(f,F.color,!0,t,"Change Gann Arc Color",0)),this.bindControl(new d(v,F.width,!0,t,"Change Gann Line Width"));this.addOneColorPropertyWidget(R),D=$(" ").appendTo(this._table),
A=$(' '),W=y(),V=$("").appendTo(D),O=$(""),$('').append(O).appendTo(V),V=$(" ").appendTo(O),$("").append(A).appendTo(V),$(" "+$.t("Background")+" ").appendTo(V),$("").append(W).appendTo(V),i.reverse&&(z=$(" "),V=this.addLabeledRow(O,$.t("Reverse"),z,!0),$(" ").append(z).prependTo(V),M="Change Gann Square Reverse",this.bindControl(new s(z,i.reverse,!0,t,M))),this.bindControl(new s(A,i.arcsBackground.fillBackground,!0,t,"Change Gann Square Filling")),this.bindControl(new d(W,i.arcsBackground.transparency,!0,t,"Change Gann Square Background Transparency")),j=$(' '),V=this.addLabeledRow(O,$.t("Price/Bar Ratio"),j,!0),$(" ").append(j).appendTo(V),j.TVTicker({step:o.getScaleRatioStep()}),M="Change Gann Square Scale Ratio",H=this._getPropertySetter(i.scaleRatio,M),G=[p(i.scaleRatio.value()),l(1e-7),r(1e8)],N=new b(j,i.scaleRatio,G,!1,t,M,H),N.addFormatter(function(e){return o.getScaleRatioFormatter().format(e)}),this.bindControl(N),U=$(' '),V=this.addLabeledRow(O,$.t("Ranges And Ratio"),U,!1),$(" ").append(U).prependTo(V),this.bindControl(new s(U,i.showLabels,!0,t,"Change Gann Square Lables Visibility")),v=C(),f=this.createColorPicker(),q=$(' '),Y=$(' '),K=this.createFontSizeEditor(),Q=this.createFontEditor(),J=i.labelsStyle,this.bindControl(new c(K,J.fontSize,parseInt,!0,t,"Change Text Font Size")),this.bindControl(new c(Q,J.font,null,!0,t,"Change Text Font")),this.bindControl(new s(q,J.bold,!0,t,"Change Text Font Bold")),this.bindControl(new s(Y,J.italic,!0,t,"Change Text Font Italic")),Z=$('').append($(document.createElement("td")).attr({width:1}).append(Q)).append($(document.createElement("td")).attr({width:1}).append(K)).append($(document.createElement("td")).css("vertical-align","top").attr({width:1}).append(q)).append($(document.createElement("td")).css("vertical-align","top").append(Y)).append($("
")),$(' ').append(Z).appendTo(V)},i.prototype.widget=function(){return this._table},i.prototype._getPropertySetter=function(e,t){var o=this.model(),i=this._linetool;return function(n){o.beginUndoMacro(t),o.saveLineToolState(i,"Save Gann Square State"),o.setProperty(e,n,t),o.saveLineToolState(i,"Save Gann Square State"),o.endUndoMacro()}},e.exports.LineToolGannComplexStylesPropertyPage=i},1107:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.BooleanBinder,l=a.SliderBinder,p=a.ColorBinding,s=o(372).addColorPicker,d=o(1196).createLineWidthEditor,h=o(1198).createTransparencyEditor;inherit(i,n),i.prototype.addOneColorPropertyWidget=function(e){
var t=this.createOneColorForAllLinesWidget(),o=$(" ");o.append($("")).append($(" ")).append(t.editor).append($(" ").append(t.label)),o.appendTo(e)},i.prototype.prepareLayout=function(){var e,t,o,i,n,a,c,b,u,C,y,g,T,w,_,m,f,L,v,k,S,P,x,B,R,E,F;this._table=$(document.createElement("table")),this._table.addClass("property-page property-page-unpadded"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),this._table.css({width:"100%"}),e=$(" "),e.appendTo(this._table),t=this._linetool.properties(),o=$(""),$("").append(o).appendTo(e),i=$(" "),$(""+$.t("Levels")+" ").appendTo(i),i.appendTo(o);for(n in t.levels._childs)a=t.levels[n],c=$(" "),c.appendTo(o),$(""+n+" ").appendTo(c),b=$(" "),$("").append(b).appendTo(c),u=$(" "),u.appendTo(c),C=s(u),y=$(" "),y.appendTo(c),g=d(),g.appendTo(y),this.bindControl(new r(b,a.visible,!0,this.model(),"Change Gann Line Visibility")),this.bindControl(new p(C,a.color,!0,this.model(),"Change Gann Line Color",0)),this.bindControl(new l(g,a.width,!0,this.model(),"Change Gann Line Width"));T=$(""),$("").append(T).appendTo(e),w=$(" "),$(""+$.t("Fans")+" ").appendTo(w),w.appendTo(T);for(n in t.fanlines._childs)_=t.fanlines[n],m=$(" "),m.appendTo(T),b=$(" "),$("").append(b).appendTo(m),f=_.x.value()+"x"+_.y.value(),$(" "+f+" ").appendTo(m),u=$(""),u.appendTo(m),C=s(u),y=$(" "),y.appendTo(m),g=d(),g.appendTo(y),this.bindControl(new r(b,_.visible,!0,this.model(),"Change Gann Line Visibility")),this.bindControl(new p(C,_.color,!0,this.model(),"Change Gann Fan Color",0)),this.bindControl(new l(g,_.width,!0,this.model(),"Change Gann Line Width"));L=$(""),$("").append(L).appendTo(e),v=$(" "),$(""+$.t("Arcs")+" ").appendTo(v),v.appendTo(L);for(n in t.arcs._childs)k=t.arcs[n],S=$(" "),S.appendTo(L),b=$(" "),$("").append(b).appendTo(S),f=k.x.value()+"x"+k.y.value(),$(" "+f+" ").appendTo(S),u=$(""),u.appendTo(S),C=s(u),y=$(" "),y.appendTo(S),g=d(),g.appendTo(y),this.bindControl(new r(b,k.visible,!0,this.model(),"Change Gann Line Visibility")),this.bindControl(new p(C,k.color,!0,this.model(),"Change Gann Arc Color",0)),this.bindControl(new l(g,k.width,!0,this.model(),"Change Gann Line Width"));this.addOneColorPropertyWidget(L),P=$(" ").appendTo(this._table),x=$(' '),B=h(),R=$("").appendTo(P),E=$(""),$('').append(E).appendTo(R),R=$(" ").appendTo(E),$("").append(x).appendTo(R),$(" "+$.t("Background")+" ").appendTo(R),$("").append(B).appendTo(R),t.reverse&&(F=$(" "),R=this.addLabeledRow(E,$.t("Reverse"),F,!0),
$(" ").append(F).prependTo(R),this.bindControl(new r(F,t.reverse,!0,this.model(),"Change Gann Square Reverse"))),this.bindControl(new r(x,t.arcsBackground.fillBackground,!0,this.model(),"Change Gann Square Filling")),this.bindControl(new l(B,t.arcsBackground.transparency,!0,this.model(),"Change Gann Square Background Transparency"))},i.prototype.widget=function(){return this._table},e.exports.LineToolGannFixedStylesPropertyPage=i},1108:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.BooleanBinder,l=a.ColorBinding,p=a.SimpleComboBinder,s=a.SliderBinder,d=o(372).addColorPicker,h=o(1197).createLineStyleEditor,c=o(1196).createLineWidthEditor,b=o(1198).createTransparencyEditor;inherit(i,n),i.prototype.addLevelEditor=function(e,t,o,i){var n,a,b,u,C,y,g,T,w,_,m=$(" ");m.appendTo(this._tbody),n="control-level-"+o+"-"+i,a=$(""),a.appendTo(m),b=$(" "),b.appendTo(a),u=this.createLabeledCell(e).appendTo(m),u.find("label").attr("for",n),C=$(" "),C.appendTo(m),y=d(C),g=$(" "),g.appendTo(m),T=c(),T.appendTo(g),w=$(" "),w.appendTo(m),_=h(),_.render().appendTo(w),this.bindControl(new r(b,t.visible,!0,this.model(),"Change Gann Fan Line Visibility")),this.bindControl(new l(y,t.color,!0,this.model(),"Change Gann Fan Line Color",0)),this.bindControl(new p(_,t.linestyle,parseInt,!0,this.model(),"Change Gann Fan Line Style")),this.bindControl(new s(T,t.linewidth,!0,this.model(),"Change Gann Fan Line Width"))},i.prototype.prepareLayout=function(){var e,t,o,i,n,a,l,p,d,h,c=$(''),u=$('');for(this._tbody=$("").appendTo(c),e=1;e<=9;e++)t="level"+e,o=this._linetool.properties()[t],i=o.coeff1.value(),n=o.coeff2.value(),a=""+i+" ⁄"+n+" ",this.addLevelEditor(a,o,i,n);this.addOneColorPropertyWidget(this._tbody),l=$(" "),p=this.addLabeledRow(u,$.t("Labels"),l),$("").append(l).prependTo(p),this.bindControl(new r(l,this._linetool.properties().showLabels,!0,this.model(),"Change Gann Fan Labels Visibility")),this._table=c.add(u),p=$(" "),p.appendTo(this._table),d=$(" "),$("").append(d).appendTo(p),this.createLabeledCell($.t("Background"),d).appendTo(p),h=b(),$(' ').append(h).appendTo(p),this.bindControl(new r(d,this._linetool.properties().fillBackground,!0,this.model(),"Change Pitchfan Background Visibility")),this.bindControl(new s(h,this._linetool.properties().transparency,!0,this.model(),"Change Pitchfan Background Transparency")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1109:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}
var n=o(1195),a=o(238),r=a.BooleanBinder,l=a.FloatBinder,p=a.ColorBinding,s=a.SliderBinder,d=o(372).addColorPicker,h=o(1198).createTransparencyEditor;inherit(i,n),i.prototype.addLevelEditor=function(e,t,o){var i,n,a,s,h,c,b=$(" ");b.appendTo(e),i=$(""),i.appendTo(b),n=$(" "),n.appendTo(i),a=$(" "),a.appendTo(b),s=$(" "),s.appendTo(a),s.css("width","70px"),this.bindControl(new r(n,o.visible,!0,this.model(),"Change Gann Square Line Visibility")),this.bindControl(new l(s,o.coeff,!1,this.model(),"Change Pitchfork Line Coeff")),h=$(" "),h.appendTo(b),c=d(h),this.bindControl(new p(c,o.color,!0,this.model(),"Change Gann Square Line Color",0))},i.prototype.addFannEditor=function(e){var t,o,i=$(" ").appendTo(e),n=$(" ");n.appendTo($("").appendTo(i)),$(" "+$.t("Angles")+" ").appendTo(i),t=$("").appendTo(i),o=d(t),this.bindControl(new r(n,this._linetool.properties().fans.visible,!0,this.model(),"Change Gann Square Angles Visibility")),this.bindControl(new p(o,this._linetool.properties().fans.color,!0,this.model(),"Change Gann Square Angles Color",0))},i.prototype.prepareLayout=function(){var e,t,o,i,n,a,l,p,d,c,b,u,C,y,g,T,w,_,m,f;for(this._table=$(document.createElement("table")),this._table.addClass("property-page property-page-unpadded"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),this._table.css({width:"100%"}),e=$(" ").appendTo(this._table),t=$(""),t.appendTo(e),o=$(''),o.appendTo(t),i=$(' '),i.appendTo(t),n=$(''),n.appendTo(o),n.addClass("property-page"),a=$(''),a.appendTo(i),a.addClass("property-page"),$(""+$.t("Price Levels")+" ").appendTo(n),$(""+$.t("Time Levels")+" ").appendTo(a),l=1;l<=7;l++)p="hlevel"+l,this.addLevelEditor(n,$.t("Level {0}").format(l),this._linetool.properties()[p]);for(l=1;l<=7;l++)p="vlevel"+l,this.addLevelEditor(a,$.t("Level {0}").format(l),this._linetool.properties()[p]);this.addFannEditor(n),this.addOneColorPropertyWidget(a),i.css({"vertical-align":"top"}),o.css({"vertical-align":"top"}),d=$(" "),c=$(" "),b=$(" "),u=$(" "),C=$('').css({width:"100%"}),y=$("").appendTo(C),g=$('').appendTo($("").css({width:"50%","vertical-align":"top"}).appendTo(y)),T=$('').appendTo($("").css({width:"50%","vertical-align":"top"}).appendTo(y)),w=this.addLabeledRow(g,$.t("Left Labels"),d),
$(" ").append(d).prependTo(w),w=this.addLabeledRow(T,$.t("Right Labels"),c),$(" ").append(c).prependTo(w),w=this.addLabeledRow(g,$.t("Top Labels"),b),$(" ").append(b).prependTo(w),w=this.addLabeledRow(T,$.t("Bottom Labels"),u),$(" ").append(u).prependTo(w),this.bindControl(new r(d,this._linetool.properties().showLeftLabels,!0,this.model(),"Change Gann Square Left Labels Visibility")),this.bindControl(new r(c,this._linetool.properties().showRightLabels,!0,this.model(),"Change Gann Square Right Labels Visibility")),this.bindControl(new r(b,this._linetool.properties().showTopLabels,!0,this.model(),"Change Gann Square Top Labels Visibility")),this.bindControl(new r(u,this._linetool.properties().showBottomLabels,!0,this.model(),"Change Gann Square Bottom Labels Visibility")),this._table=this._table.add(C),w=$(" "),w.appendTo(g),_=$(" "),$("").append(_).appendTo(w),m=h(),$(" ").append(m).appendTo(w),this.bindControl(new r(_,this._linetool.properties().fillHorzBackground,!0,this.model(),"Change Gann Square Background Visibility")),this.bindControl(new s(m,this._linetool.properties().horzTransparency,!0,this.model(),"Change Gann Square Background Transparency")),w=$(" "),w.appendTo(T),_=$(" "),$("").append(_).appendTo(w),m=h(),$(" ").append(m).appendTo(w),this.bindControl(new r(_,this._linetool.properties().fillVertBackground,!0,this.model(),"Change Gann Square Background Visibility")),this.bindControl(new s(m,this._linetool.properties().vertTransparency,!0,this.model(),"Change Gann Square Background Transparency")),this._linetool.properties().reverse&&(f=$(" "),w=this.addLabeledRow(g,$.t("Reverse"),f),$(" ").append(f).prependTo(w),this.bindControl(new r(f,this._linetool.properties().reverse,!0,this.model(),"Change Gann Box Reverse"))),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1110:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238).ColorBinding;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i;this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),e=this.createColorPicker(),t=$.t("Color")+":",o=this.addLabeledRow(this._table,t),$(" ").append(e).appendTo(o),i=this._linetool.properties(),this._div=$("").append(this._table),this.bindControl(new a(e,i.color,!0,this.model(),"Change Icon Color")),this.loadData()},i.prototype.widget=function(){return this._div},e.exports=i},1111:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.BooleanBinder,l=a.ColorBinding,p=a.SliderBinder,s=a.SimpleComboBinder,d=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n,a,h,c,b,u,C;this._table=$(document.createElement("table")),
this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),e=d(),t=this.createColorPicker(),o=this.createColorPicker(),i=$('
'),n=$('
'),a=this.createFontSizeEditor(),h=this.createFontEditor(),c=this.addLabeledRow(this._table,"Border"),c.prepend("
"),$(" ").append(t).appendTo(c),$(" ").append(e).appendTo(c),b=$(' '),u=this.createColorPicker(),h=this.createFontEditor(),c=this.addLabeledRow(this._table,"Background",b),$(" ").append(b).prependTo(c),$(" ").append(u).appendTo(c),this.bindControl(new r(b,this._linetool.properties().fillBackground,!0,this.model(),"Change Pattern Filling")),this.bindControl(new l(t,this._linetool.properties().color,!0,this.model(),"Change Pattern Line Color")),this.bindControl(new l(o,this._linetool.properties().textcolor,!0,this.model(),"Change Pattern Text Color")),this.bindControl(new l(u,this._linetool.properties().backgroundColor,!0,this.model(),"Change Pattern Background Color",this._linetool.properties().transparency)),this.bindControl(new p(e,this._linetool.properties().linewidth,!0,this.model(),"Change Pattern Border Width")),this.bindControl(new s(a,this._linetool.properties().fontsize,parseInt,!0,this.model(),"Change Text Font Size")),this.bindControl(new s(h,this._linetool.properties().font,null,!0,this.model(),"Change Text Font")),this.bindControl(new r(i,this._linetool.properties().bold,!0,this.model(),"Change Text Font Bold")),this.bindControl(new r(n,this._linetool.properties().italic,!0,this.model(),"Change Text Font Italic")),C=$('').append($(document.createElement("td")).attr({width:1}).append(o)).append($(document.createElement("td")).attr({width:1}).append(h)).append($(document.createElement("td")).attr({width:1}).append(a)).append($(document.createElement("td")).css("vertical-align","top").attr({width:1}).append(i)).append($(document.createElement("td")).css("vertical-align","top").append(n)).append($("
")),c=this.addLabeledRow(this._table,""),$(' ').append(C).appendTo(c),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1112:function(e,t,o){"use strict";function i(e,t,o){a.call(this,e,t,o),this.prepareLayout()}var n=o(8).Point,a=o(1195),r=o(238),l=r.ColorBinding,p=r.SimpleComboBinder,s=r.SimpleStringBinder,d=r.BooleanBinder,h=o(76);inherit(i,a),i.prototype.prepareLayout=function(){
var e,t,o,i,n=this.createColorPicker(),a=this.createFontSizeEditor(),r=this.createFontEditor(),h=this.createTextEditor(350,200),c=this.createColorPicker(),b=this.createColorPicker(),u=$(' '),C=$(' ');this.bindControl(new l(n,this._linetool.properties().textColor,!0,this.model(),"Change Text Color")),this.bindControl(new p(a,this._linetool.properties().fontSize,parseInt,!0,this.model(),"Change Text Font Size")),this.bindControl(new p(r,this._linetool.properties().font,null,!0,this.model(),"Change Text Font")),this.bindControl(new s(h,this._linetool.properties().text,null,!0,this.model(),"Change Text")),this.bindControl(new l(c,this._linetool.properties().markerColor,!0,this.model(),"Change Marker and Border Color")),this.bindControl(new l(b,this._linetool.properties().backgroundColor,!0,this.model(),"Change Background Color",this._linetool.properties().backgroundTransparency)),this.bindControl(new d(u,this._linetool.properties().bold,!0,this.model(),"Change Text Font Bold")),this.bindControl(new d(C,this._linetool.properties().italic,!0,this.model(),"Change Text Font Italic")),e=$(''),t=$(''),o=$(''),this._table=e.add(o).add(t),$(document.createElement("tr")).append($(document.createElement("td")).attr({width:1}).append(n)).append($(document.createElement("td")).attr({width:1}).append(r)).append($(document.createElement("td")).attr({width:1}).append(a)).append($(document.createElement("td")).attr({width:1}).append(u)).append($(document.createElement("td")).append(C)).appendTo(e),$(document.createElement("tr")).append($(document.createElement("td")).attr({colspan:5}).append(h)).appendTo(e),i=this.addLabeledRow(o,$.t("Label")),$("").attr("colspan",2).append(c).appendTo(i),i=this.addLabeledRow(o,$.t("Background")),$(" ").append(b).appendTo(i),this.loadData(),setTimeout(function(){h.select(),h.focus()},20)},i.prototype.widget=function(){return this._table},i.prototype.dialogPosition=function(e,t){var o,i,a,r,l,p,s,d,c,b;if(e&&t){for(o=0,i=this._linetool._model.paneForSource(this._linetool),a=h.getChartWidget();oc?(e.left-=e.left+b+10-c,e):e.left>c&&e.left").appendTo(this._table),t=h(),o=d(),i=this.createColorPicker(),n=$("").appendTo(e),$(""+$.t("Channel")+" ").appendTo(n),$("").append(i).appendTo(n),$(" ").append(t).appendTo(n),$(" ").append(o.render()).appendTo(n),n=$(" ").appendTo(e),a=$("").appendTo(n),c=$(" "),c.appendTo(a),this.createLabeledCell("Middle",c).appendTo(n),b=h(),u=d(),C=this.createColorPicker(),$(" ").append(C).appendTo(n),$(" ").append(b).appendTo(n),$(" ").append(u.render()).appendTo(n),n=$(" ").appendTo(e),y=$("").appendTo(n),g=$(" "),g.appendTo(y),this.createLabeledCell("Background",g).appendTo(n),T=this.createColorPicker(),$(" ").append(T).appendTo(n),w=$(" ").appendTo(this._table),_=this.addEditorRow(w,"Extend Left",$(" "),2),m=this.addEditorRow(w,"Extend Right",$(" "),2),f=this._linetool.properties(),this.bindControl(new r(g,f.fillBackground,!0,this.model(),"Change Parallel Channel Fill Background")),this.bindControl(new r(c,f.showMidline,!0,this.model(),"Change Parallel Channel Show Center Line")),this.bindControl(new r(_,f.extendLeft,!0,this.model(),"Change Parallel Channel Extending Left")),this.bindControl(new r(m,f.extendRight,!0,this.model(),"Change Parallel Channel Extending Right")),this.bindControl(new l(i,f.linecolor,!0,this.model(),"Change Parallel Channel Color")),this.bindControl(new p(o,f.linestyle,parseInt,!0,this.model(),"Change Parallel Channel Style")),this.bindControl(new s(t,f.linewidth,!0,this.model(),"Change Parallel Channel Width")),this.bindControl(new l(C,f.midlinecolor,!0,this.model(),"Change Parallel Channel Middle Color")),this.bindControl(new p(u,f.midlinestyle,parseInt,!0,this.model(),"Change Parallel Channel Middle Style")),this.bindControl(new s(b,f.midlinewidth,!0,this.model(),"Change Parallel Channel Middle Width")),this.bindControl(new l(T,f.backgroundColor,!0,this.model(),"Change Parallel Channel Back Color",f.transparency)),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1114:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.BooleanBinder,l=a.FloatBinder,p=a.ColorBinding,s=a.SimpleComboBinder,d=a.SliderBinder,h=o(372).addColorPicker,c=o(1197).createLineStyleEditor,b=o(1196).createLineWidthEditor,u=o(1198).createTransparencyEditor;inherit(i,n),i.prototype.addLevelEditor=function(e,t,o){var i,n,a,u,C,y,g,T,w,_,m=$("");m.appendTo(this._table),e?(i=$(""),i.appendTo(m),
n=$(" "),n.appendTo(i),a=$(" "),a.appendTo(m),u=$(" "),u.appendTo(a),u.css("width","70px"),this.bindControl(new r(n,t.visible,!0,this.model(),"Change Pitchfork Line Visibility")),this.bindControl(new l(u,t.coeff,!1,this.model(),"Change Pitchfork Line Coeff"))):$(" "+$.t("Median")+" ").appendTo(m),C=$(""),C.appendTo(m),y=h(C),g=$(" "),g.appendTo(m),T=b(),T.appendTo(g),w=$(" "),w.appendTo(m),_=c(),_.render().appendTo(w),this.bindControl(new p(y,t.color,!0,this.model(),"Change Pitchfork Line Color"),0),this.bindControl(new s(_,t.linestyle,parseInt,!0,this.model(),"Change Pitchfan Line Style")),this.bindControl(new d(T,t.linewidth,!0,this.model(),"Change Pitchfan Line Width"))},i.prototype.prepareLayout=function(){var e,t,o,i,n;for(this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),this.addLevelEditor(null,this._linetool.properties().median,!1),e=0;e<=8;e++)t="level"+e,this.addLevelEditor($.t("Level {0}").format(e+1),this._linetool.properties()[t],!1);this.addOneColorPropertyWidget(this._table),o=$(" "),o.appendTo(this._table),i=$(" "),$("").append(i).appendTo(o),this.createLabeledCell($.t("Background"),i).appendTo(o),n=u(),$(' ').append(n).appendTo(o),this.bindControl(new r(i,this._linetool.properties().fillBackground,!0,this.model(),"Change Pitchfan Background Visibility")),this.bindControl(new d(n,this._linetool.properties().transparency,!0,this.model(),"Change Pitchfan Background Transparency")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1115:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.BooleanBinder,l=a.FloatBinder,p=a.ColorBinding,s=a.SimpleComboBinder,d=a.SliderBinder,h=o(372).addColorPicker,c=o(1197).createLineStyleEditor,b=o(1196).createLineWidthEditor,u=o(1198).createTransparencyEditor;inherit(i,n),i.prototype.onResoreDefaults=function(){this._linetool.properties().style.listeners().fire(this._linetool.properties().style)},i.prototype.addLevelEditor=function(e,t,o){var i,n,a,u,C,y,g,T,w,_,m=$(" ");m.appendTo(this._table),e?(i=$(""),i.appendTo(m),n=$(" "),n.appendTo(i),a=$(" "),a.appendTo(m),u=$(" "),u.appendTo(a),u.css("width","70px"),this.bindControl(new r(n,t.visible,!0,this.model(),"Change Pitchfork Line Visibility")),this.bindControl(new l(u,t.coeff,!1,this.model(),"Change Pitchfork Line Coeff"))):($(" ").appendTo(m),$(""+$.t("Median")+" ").appendTo(m)),C=$(""),C.appendTo(m),y=h(C),g=$(" "),g.appendTo(m),T=b(),T.appendTo(g),w=$(" "),w.appendTo(m),_=c(),_.render().appendTo(w),this.bindControl(new p(y,t.color,!0,this.model(),"Change Pitchfork Line Color",0)),
this.bindControl(new s(_,t.linestyle,parseInt,!0,this.model(),"Change Pitchfork Line Style")),this.bindControl(new d(T,t.linewidth,!0,this.model(),"Change Pitchfork Line Width"))},i.prototype.prepareLayout=function(){var e,t,o,i,n,a;for(this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),this.addLevelEditor(null,this._linetool.properties().median,!1),e=0;e<=8;e++)t="level"+e,this.addLevelEditor($.t("Level {0}").format(e+1),this._linetool.properties()[t],!1);this.addOneColorPropertyWidget(this._table),o=$(" "),o.appendTo(this._table),i=$(" "),$("").append(i).appendTo(o),this.createLabeledCell("Background",i).appendTo(o),n=u(),$(' ').append(n).appendTo(o),a=$(""+$.t("Original")+" "+$.t("Schiff")+" "+$.t("Modified Schiff")+" "+$.t("Inside")+" "),o=$(" "),o.appendTo(this._table),$(""+$.t("Style")+" ").appendTo(o),$("").append(a).appendTo(o),this.bindControl(new s(a,this._linetool.properties().style,parseInt,!0,this.model(),"Change Pitchfork Style")),this.bindControl(new r(i,this._linetool.properties().fillBackground,!0,this.model(),"Change Pitchfork Background Visibility")),this.bindControl(new d(n,this._linetool.properties().transparency,!0,this.model(),"Change Pitchfork Background Transparency")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1116:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.BooleanBinder,l=a.ColorBinding,p=a.SliderBinder,s=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n;this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),e=s(),t=this.createColorPicker(),o=this.addLabeledRow(this._table,"Border"),o.prepend(" "),$(" ").append(t).appendTo(o),$(" ").append(e).appendTo(o),i=$(' '),n=this.createColorPicker(),o=this.addLabeledRow(this._table,"Background",i),$(" ").append(i).prependTo(o),$(" ").append(n).appendTo(o),this.bindControl(new r(i,this._linetool.properties().fillBackground,!0,this.model(),"Change Polyline Filling")),this.bindControl(new l(t,this._linetool.properties().linecolor,!0,this.model(),"Change Polyline Line Color")),this.bindControl(new l(n,this._linetool.properties().backgroundColor,!0,this.model(),"Change Polyline Background Color",this._linetool.properties().transparency)),this.bindControl(new p(e,this._linetool.properties().linewidth,!0,this.model(),"Change Polyline Border Width")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1117:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}
var n=o(1195),a=o(238),r=a.ColorBinding,l=a.SliderBinder,p=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n,a,s,d,h,c,b,u,C,y,g,T,w,_,m=$(''),f=$('').css({width:"100%"}),L=$('');this._table=m.add(f).add(L),e=this.createColorPicker(),t=p(),o=this.addLabeledRow(m,"Line"),$("").append(e).appendTo(o),$(" ").append(t).appendTo(o),i=$(" ").appendTo(f),n=$("").appendTo(i).css({"vertical-align":"top",width:"50%"}),a=$(" ").appendTo(i).css({"vertical-align":"top",width:"50%"}),s=$('').appendTo(n),d=$('').appendTo(a),h=this.addColorPickerRow(s,$.t("Source back color")),c=this.addColorPickerRow(s,$.t("Source text color")),b=this.addColorPickerRow(s,$.t("Source border color")),u=this.addColorPickerRow(s,$.t("Success back color")),C=this.addColorPickerRow(s,$.t("Success text color")),y=this.addColorPickerRow(d,$.t("Target back color")),g=this.addColorPickerRow(d,$.t("Target text color")),T=this.addColorPickerRow(d,$.t("Target border color")),w=this.addColorPickerRow(d,$.t("Failure back color")),_=this.addColorPickerRow(d,$.t("Failure text color")),this.bindControl(new r(e,this._linetool.properties().linecolor,!0,this.model(),"Forecast Line Color")),this.bindControl(new l(t,this._linetool.properties().linewidth,!0,this.model(),"Forecast Line Width")),this.bindControl(new r(e,this._linetool.properties().linecolor,!0,this.model(),"Forecast Line Color")),this.bindControl(new l(t,this._linetool.properties().linewidth,!0,this.model(),"Forecast Line Width")),this.bindControl(new r(h,this._linetool.properties().sourceBackColor,!0,this.model(),"Forecast Source Background Color",this._linetool.properties().transparency)),this.bindControl(new r(b,this._linetool.properties().sourceStrokeColor,!0,this.model(),"Forecast Source Border Color")),this.bindControl(new r(c,this._linetool.properties().sourceTextColor,!0,this.model(),"Forecast Source Text Color")),this.bindControl(new r(y,this._linetool.properties().targetBackColor,!0,this.model(),"Forecast Target Background Color")),this.bindControl(new r(T,this._linetool.properties().targetStrokeColor,!0,this.model(),"Forecast Target Border Color")),this.bindControl(new r(g,this._linetool.properties().targetTextColor,!0,this.model(),"Forecast Target Text Color")),this.bindControl(new r(u,this._linetool.properties().successBackground,!0,this.model(),"Forecast Success Back Color")),this.bindControl(new r(C,this._linetool.properties().successTextColor,!0,this.model(),"Forecast Success Text Color")),this.bindControl(new r(w,this._linetool.properties().failureBackground,!0,this.model(),"Forecast Failure Back Color")),
this.bindControl(new r(_,this._linetool.properties().failureTextColor,!0,this.model(),"Forecast Failure Text Color")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1118:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.SimpleComboBinder,l=a.ColorBinding;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n;this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),e=this.createColorPicker(),t=this.createFontSizeEditor(),o=this.createColorPicker(),i=this.createColorPicker(),n=this.addLabeledRow(this._table,$.t("Text")),$("").append(e).appendTo(n),$(" ").append(t).appendTo(n),n=this.addLabeledRow(this._table,$.t("Background")),$(" ").append(o).appendTo(n),n=this.addLabeledRow(this._table,$.t("Border")),$(" ").append(i).appendTo(n),this.bindControl(new l(e,this._linetool.properties().color,!0,this.model(),"Change Price Text Color")),this.bindControl(new r(t,this._linetool.properties().fontsize,parseInt,!0,this.model(),"Change Price Text Font Size")),this.bindControl(new l(o,this._linetool.properties().backgroundColor,!0,this.model(),"Change Background Color",this._linetool.properties().transparency)),this.bindControl(new l(i,this._linetool.properties().borderColor,!0,this.model(),"Change Border Color")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1119:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.SliderBinder,l=a.ColorBinding,p=o(1196).createLineWidthEditor;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n;this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),e=this.createColorPicker(),t=this.createColorPicker(),o=this.addLabeledRow(this._table,"Background"),$(" ").append(e).appendTo(o),$(" ").append(t).appendTo(o),i=p(),n=this.createColorPicker(),o=this.addLabeledRow(this._table,"Border"),$(" ").append(n).appendTo(o),$(" ").appendTo(o),$(" ").append(i).appendTo(o),this.bindControl(new l(n,this._linetool.properties().trendline.color,!0,this.model(),"Change Projection Line Color")),this.bindControl(new l(e,this._linetool.properties().color1,!0,this.model(),"Change Projection Background Color",this._linetool.properties().transparency)),this.bindControl(new l(t,this._linetool.properties().color2,!0,this.model(),"Change Projection Background Color",this._linetool.properties().transparency)),this.bindControl(new r(i,this._linetool.properties().linewidth,!0,this.model(),"Change Projection Border Width")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1120:function(e,t,o){"use strict";function i(e,t,o){n.call(this,e,t,o),this.prepareLayout()}var n=o(1195),a=o(238),r=a.ColorBinding,l=a.BooleanBinder,p=a.SliderBinder,s=o(1196).createLineWidthEditor
;inherit(i,n),i.prototype.prepareLayout=function(){var e,t,o,i,n;this._table=$(document.createElement("table")),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),e=s(),t=this.createColorPicker(),o=this.addLabeledRow(this._table,"Border"),o.prepend(" "),$(" ").append(t).appendTo(o),$(" ").append(e).appendTo(o),i=$(' '),n=this.createColorPicker(),o=this.addLabeledRow(this._table,"Background",i),$(" ").append(i).prependTo(o),$(" ").append(n).appendTo(o),this.bindControl(new l(i,this._linetool.properties().fillBackground,!0,this.model(),"Change Rectangle Filling")),this.bindControl(new r(t,this._linetool.properties().color,!0,this.model(),"Change Rectangle Line Color")),this.bindControl(new r(n,this._linetool.properties().backgroundColor,!0,this.model(),"Change Rectangle Background Color",this._linetool.properties().transparency)),this.bindControl(new p(e,this._linetool.properties().linewidth,!0,this.model(),"Change Rectangle Border Width")),this.loadData()},i.prototype.widget=function(){return this._table},e.exports=i},1121:function(e,t,o){"use strict";function i(e,t){this._chartWidget=e,this._undoModel=t}function n(e,t,o){a.call(this,e,t,o),this.prepareLayout()}var a=o(1195),r=o(238),l=r.SimpleStringBinder,p=r.SimpleComboBinder,s=r.ColorBinding,d=r.BooleanBinder;i.prototype.attachSource=function(e,t){this._source=e,this._edit=$("