"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1155],{77657:(e,t,r)=>{r.r(t),r.d(t,{LineTool5PointsPattern:()=>a});var n=r(50151),i=r(78176),o=r(41414),s=r(65045);class a extends o.LineDataSource{constructor(e,t,r,n){super(e,t??a.createProperties(e.backgroundTheme().spawnOwnership()),r,n),this._loadPaneViews(e)}pointsCount(){return 5}name(){return"XABCD Pattern"}static createProperties(e,t){const r=new i.DefaultProperty({defaultName:"linetool5pointspattern",state:t,theme:e});return this._configureProperties(r),r}_getPropertyDefinitionsViewModelClass(){return Promise.all([r.e(3198),r.e(5410),r.e(2745),r.e(8823),r.e(8537)]).then(r.bind(r,29809)).then((e=>e.PatternWithBackgroundDefinitionViewModel))}_loadPaneViews(e){Promise.all([r.e(6290),r.e(986),r.e(6668),r.e(1583)]).then(r.bind(r,17333)).then((t=>{this._setPaneViews([new t.Pattern5pointsPaneView(this,e)])}))}static _configureProperties(e){super._configureProperties(e),e.addChild("linesColors",new s.LineToolColorsProperty([(0,n.ensureDefined)(e.child("color"))])),e.addChild("textsColors",new s.LineToolColorsProperty([(0,n.ensureDefined)(e.child("textcolor"))]))}}}}]);