(e3, t3)
| 3368 | return !(t3.length < 2) && (t3[1] ? this._createHyperlink(t3[0], t3[1]) : !t3[0] && this._finishHyperlink()); |
| 3369 | } |
| 3370 | _createHyperlink(e3, t3) { |
| 3371 | this._getCurrentLinkId() && this._finishHyperlink(); |
| 3372 | const i3 = e3.split(":"); |
| 3373 | let s3; |
| 3374 | const r2 = i3.findIndex(((e4) => e4.startsWith("id="))); |
| 3375 | return -1 !== r2 && (s3 = i3[r2].slice(3) || void 0), this._curAttrData.extended = this._curAttrData.extended.clone(), this._curAttrData.extended.urlId = this._oscLinkService.registerLink({ id: s3, uri: t3 }), this._curAttrData.updateExtended(), true; |
| 3376 | } |
| 3377 | _finishHyperlink() { |
| 3378 | return this._curAttrData.extended = this._curAttrData.extended.clone(), this._curAttrData.extended.urlId = 0, this._curAttrData.updateExtended(), true; |
| 3379 | } |
no test coverage detected