1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="37e11b4d-2d24-53f4-8352-8415d7d4a941")}catch(e){}}(); 3var i=class{constructor(t){this.value=t,this.next=null,this.prev=null}},l=class{constructor(){this.head=null,this.tail=null,this._length=0,this.onChange=()=>{}}setOnChange(t){this.onChange=()=>{t(this.toArray())}}append(t){let e=new i(t);return this.head?(e.prev=this.tail,this.tail.next=e,this.tail=e):(this.head=e,this.tail=e),this._length++,this.onChange(),this}prepend(t){let e=new i(t);return this.head?(e.next=this.head,this.head.prev=e,this.head=e):(this.head=e,this.tail=e),this._length++,this.onChange(),this}insertAfter(t,e){let n=this.find(t);if(!n)return!1;let r=new i(e);return r.prev=n,r.next=n.next,n.next?n.next.prev=r:this.tail=r,n.next=r,this._length++,this.onChange(),!0}insertBefore(t,e){let n=this.find(t);if(!n)return!1;let r=new i(e);return r.prev=n.prev,r.next=n,n.prev?n.prev.next=r:this.head=r,n.prev=r,this._length++,this.onChange(),!0}removeBy(t){if(!this.head)return!1;let e=this.head;for(;e;){if(t(e.value))return e.prev?e.prev.next=e.next:this.head=e.next,e.next?e.next.prev=e.prev:this.tail=e.prev,this._length--,this.onChange(),!0;e=e.next}return!1}remove(t){return this.removeBy(e=>e===t)}find(t){if(!this.head)return null;let e=this.head;for(;e;){if(e.value===t)return e;e=e.next}return null}findBy(t){if(!this.head)return null;let e=this.head;for(;e;){if(t(e.value))return e;e=e.next}return null}get length(){return this._length}toArray(){let t=[],e=this.head;for(;e;)t.push(e.value),e=e.next;return t}serialize(){let t=this.toArray();return JSON.stringify(t,null,2)}static fromArray(t){let e=new l;for(let n of t)e.append(n);return e}static deserialize(t){let e=JSON.parse(t);return this.fromArray(e)}};export{l as a}; 4//# sourceMappingURL=https://assets.solvhealth.com/turbo/4a8c0e24376ad2028c1df7bd47d98b943818b514/build/_shared/chunk-FIG6P6D7.js.map 5 6//# debugId=37e11b4d-2d24-53f4-8352-8415d7d4a941
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.