1import{V as r,a as i,b as h}from"./prod-mIAyMzef.js";import"./vendor-viem-ArXx0jqs.js";const c=/,/g,a="-->";class n extends r{parse(s,e){if(s==="")this.c&&(this.l.push(this.c),this.h.onCue?.(this.c),this.c=null),this.e=i.None;else if(this.e===i.Cue)this.c.text+=(this.c.text?` 2`:"")+s;else if(s.includes(a)){const t=this.q(s,e);t&&(this.c=new h(t[0],t[1],t[2].join(" ")),this.c.id=this.n,this.e=i.Cue)}this.n=s}q(s,e){return super.q(s.replace(c,"."),e)}}function f(){return new n}export{n as SRTParser,f as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.