var chem;(()=>{"use strict";var e,r,t={5855:(e,r,t)=>{var o=t(9048),n=t(1542),a=t(6465);onmessage=async e=>{const{values:r,startIdx:t,endIdx:s,sampleLength:c,fnName:l,opts:i}=e.data;try{let e=new Float32Array(c);const h=s-t;if((0,n.sQ)(l))for(let e=0;e<r.length;++e)(0,o.k)(r[e])||(r[e]=new a.Z(r[e]._data,r[e]._length));let p=0;const f=Math.floor(h/c),g=new n.UH(l).getMeasure(i),u=r.length-2-Math.floor(Math.sqrt(-8*t+4*r.length*(r.length-1)-7)/2-.5),v=t-r.length*u+Math.floor((u+1)*(u+2)/2);let m=u,d=v,b=0;for(;p<h&&b<c;){const t=(0,o.k)(r[m])||(0,o.k)(r[d])?1:g(r[m],r[d]);for(e[b]=t,b++,p+=f,d+=f;d>=r.length&&p<h;)m++,d=m+1+(d-r.length)}b<c&&(e=e.slice(0,b)),postMessage({distance:e})}catch(e){postMessage({error:e})}}}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.m=t,n.x=()=>{var e=n.O(void 0,[942,542],(()=>n(5855)));return n.O(e)},e=[],n.O=(r,t,o,a)=>{if(!t){var s=1/0;for(h=0;h<e.length;h++){for(var[t,o,a]=e[h],c=!0,l=0;l<t.length;l++)(!1&a||s>=a)&&Object.keys(n.O).every((e=>n.O[e](t[l])))?t.splice(l--,1):(c=!1,a<s&&(s=a));if(c){e.splice(h--,1);var i=o();void 0!==i&&(r=i)}}return r}a=a||0;for(var h=e.length;h>0&&e[h-1][2]>a;h--)e[h]=e[h-1];e[h]=[t,o,a]},n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((r,t)=>(n.f[t](e,r),r)),[])),n.u=e=>e+".js",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var r=n.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");t.length&&(e=t[t.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={855:1};n.f.i=(r,t)=>{e[r]||importScripts(n.p+n.u(r))};var r=self.webpackChunkchem=self.webpackChunkchem||[],t=r.push.bind(r);r.push=r=>{var[o,a,s]=r;for(var c in a)n.o(a,c)&&(n.m[c]=a[c]);for(s&&s(n);o.length;)e[o.pop()]=1;t(r)}})(),r=n.x,n.x=()=>Promise.all([n.e(942),n.e(542)]).then(r);var a=n.x();chem=a})();
//# sourceMappingURL=855.js.map