"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6432],{41160:(e,r,i)=>{i.r(r),i.d(r,{LineToolTriangle:()=>o});var t=i(78176),n=i(41414),s=i(65045);class o extends n.LineDataSource{constructor(e,r,t,n){super(e,r??o.createProperties(e.backgroundTheme().spawnOwnership()),t,n),Promise.all([i.e(6290),i.e(986),i.e(6668),i.e(1583)]).then(i.bind(i,41762)).then((({TrianglePaneView:e})=>{this._setPaneViews([new e(this,this._model)])}))}pointsCount(){return 3}name(){return"Triangle"}static createProperties(e,r){const i=new t.DefaultProperty({defaultName:"linetooltriangle",state:r,theme:e});return this._configureProperties(i),i}async _getPropertyDefinitionsViewModelClass(){return(await Promise.all([i.e(3198),i.e(5410),i.e(2745),i.e(8823),i.e(8537)]).then(i.bind(i,27877))).GeneralFiguresDefinitionsViewModelBase}static _configureProperties(e){super._configureProperties(e),e.addChild("linesColors",new s.LineToolColorsProperty([e.childs().color]))}}}}]);