@datagrok/peptides 1.25.1 → 1.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Peptides changelog
2
2
 
3
+ ## 1.26.1 (2025-11-07)
4
+
5
+ * Sequence mutation cliffs viewer: Initial release
6
+
7
+ ## 1.26.0 (2025-11-05)
8
+
9
+ * Full filter reactivity for all panels, tooltips, aggregations and viewers
10
+ * Corrected aggregate calculations, statistics and mean difference comparisons
11
+ * Fix MCL viewer premature shutdown on loading
12
+
3
13
  ## 1.25.1 (2025-11-05)
4
14
 
5
15
  * Fix distribution tooltips not showing on weblogo hover
package/dist/216.js CHANGED
@@ -1,2 +1,2 @@
1
- var peptides;(()=>{"use strict";var t,e,r={2216:(t,e,r)=>{var n=r(8774);onmessage=t=>{return e=void 0,r=void 0,a=function*(){const{startIdx:e,endIdx:r,activityArray:o,monomerInfoArray:a,settings:i}=t.data,s=i.filter,c=s?new n.A(s,32*s.length):null,p=[],f=[],l=[],u=r-e;let h=0;const v=o.length-2-Math.floor(Math.sqrt(-8*e+4*o.length*(o.length-1)-7)/2-.5);let g=v,d=e-o.length*v+Math.floor((v+1)*(v+2)/2);const w=new Array(a.length);for(;h<u;){if(!c||c.getBit(g)&&c.getBit(d)){let t=0;const e=o[g]-o[d];if(Math.abs(e)>=i.minActivityDelta){let e=!1,r=0;for(const n of a)if(n.rawData[g]!==n.rawData[d]){if(t++,e=t>i.maxMutations,e)break;w[r++]={pos:n.name,seq1Idx:g,seq2Idx:d}}if(!e&&0!==t)for(let t=0;t<r;t++){const e=w[t].pos;p.push(e),f.push(g),l.push(d)}}}h++,d++,d===o.length&&(g++,d=g+1)}postMessage({pos:p,seq1Idxs:new Uint32Array(f),seq2Idxs:new Uint32Array(l)})},new((o=void 0)||(o=Promise))((function(t,n){function i(t){try{c(a.next(t))}catch(t){n(t)}}function s(t){try{c(a.throw(t))}catch(t){n(t)}}function c(e){var r;e.done?t(e.value):(r=e.value,r instanceof o?r:new o((function(t){t(r)}))).then(i,s)}c((a=a.apply(e,r||[])).next())}));var e,r,o,a}}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var a=n[t]={exports:{}};return r[t](a,a.exports,o),a.exports}o.m=r,o.x=()=>{var t=o.O(void 0,[774],(()=>o(2216)));return o.O(t)},t=[],o.O=(e,r,n,a)=>{if(!r){var i=1/0;for(f=0;f<t.length;f++){for(var[r,n,a]=t[f],s=!0,c=0;c<r.length;c++)(!1&a||i>=a)&&Object.keys(o.O).every((t=>o.O[t](r[c])))?r.splice(c--,1):(s=!1,a<i&&(i=a));if(s){t.splice(f--,1);var p=n();void 0!==p&&(e=p)}}return e}a=a||0;for(var f=t.length;f>0&&t[f-1][2]>a;f--)t[f]=t[f-1];t[f]=[r,n,a]},o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,r)=>(o.f[r](t,e),e)),[])),o.u=t=>t+".js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=r[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{var t={216:1};o.f.i=(e,r)=>{t[e]||importScripts(o.p+o.u(e))};var e=self.webpackChunkpeptides=self.webpackChunkpeptides||[],r=e.push.bind(e);e.push=e=>{var[n,a,i]=e;for(var s in a)o.o(a,s)&&(o.m[s]=a[s]);for(i&&i(o);n.length;)t[n.pop()]=1;r(e)}})(),e=o.x,o.x=()=>o.e(774).then(e);var a=o.x();peptides=a})();
1
+ var peptides;(()=>{"use strict";var t,e,r={2216:(t,e,r)=>{var n=r(8774);onmessage=t=>{return e=void 0,r=void 0,i=function*(){const{startIdx:e,endIdx:r,activityArray:o,monomerInfoArray:i,settings:a}=t.data,s=a.filter,c=a.singlePosition,p=c?c.position:-1,l=s?new n.A(s,32*s.length):null,f=[],u=[],h=[],v=r-e;let g=0;const d=o.length-2-Math.floor(Math.sqrt(-8*e+4*o.length*(o.length-1)-7)/2-.5);let w=d,y=e-o.length*d+Math.floor((d+1)*(d+2)/2);const m=new Array(i.length);for(;g<v;){if(!l||l.getBit(w)&&l.getBit(y)){let t=0;const e=o[w]-o[y];if(Math.abs(e)>=a.minActivityDelta){let e=!1,r=0;for(let n=0;n<i.length;n++){const o=i[n];if(o.rawData[w]!==o.rawData[y]){if(t++,e=t>a.maxMutations||-1!==p&&n!==p,e)break;m[r++]={pos:o.name,seq1Idx:w,seq2Idx:y}}}if(!e&&0!==t)for(let t=0;t<r;t++){const e=m[t].pos;f.push(e),u.push(w),h.push(y)}}}g++,y++,y===o.length&&(w++,y=w+1)}postMessage({pos:f,seq1Idxs:new Uint32Array(u),seq2Idxs:new Uint32Array(h)})},new((o=void 0)||(o=Promise))((function(t,n){function a(t){try{c(i.next(t))}catch(t){n(t)}}function s(t){try{c(i.throw(t))}catch(t){n(t)}}function c(e){var r;e.done?t(e.value):(r=e.value,r instanceof o?r:new o((function(t){t(r)}))).then(a,s)}c((i=i.apply(e,r||[])).next())}));var e,r,o,i}}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var i=n[t]={exports:{}};return r[t](i,i.exports,o),i.exports}o.m=r,o.x=()=>{var t=o.O(void 0,[774],(()=>o(2216)));return o.O(t)},t=[],o.O=(e,r,n,i)=>{if(!r){var a=1/0;for(l=0;l<t.length;l++){for(var[r,n,i]=t[l],s=!0,c=0;c<r.length;c++)(!1&i||a>=i)&&Object.keys(o.O).every((t=>o.O[t](r[c])))?r.splice(c--,1):(s=!1,i<a&&(a=i));if(s){t.splice(l--,1);var p=n();void 0!==p&&(e=p)}}return e}i=i||0;for(var l=t.length;l>0&&t[l-1][2]>i;l--)t[l]=t[l-1];t[l]=[r,n,i]},o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,r)=>(o.f[r](t,e),e)),[])),o.u=t=>t+".js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=r[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{var t={216:1};o.f.i=(e,r)=>{t[e]||importScripts(o.p+o.u(e))};var e=self.webpackChunkpeptides=self.webpackChunkpeptides||[],r=e.push.bind(e);e.push=e=>{var[n,i,a]=e;for(var s in i)o.o(i,s)&&(o.m[s]=i[s]);for(a&&a(o);n.length;)t[n.pop()]=1;r(e)}})(),e=o.x,o.x=()=>o.e(774).then(e);var i=o.x();peptides=i})();
2
2
  //# sourceMappingURL=216.js.map
package/dist/216.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"216.js","mappings":"oCAAIA,ECAAC,E,gCCEJC,UAAmBC,IAAyB,O,OAAD,E,OAAA,E,E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ID,IAAKP,EAAW,MAAM,IAAIW,MAAM,yDAChCX,EAAYA,EAAUY,QAAQ,OAAQ,IAAIA,QAAQ,QAAS,IAAIA,QAAQ,YAAa,KACpF7D,EAAoB8D,EAAIb,C,WCdxB,IAAIc,EAAkB,CACrB,IAAK,GAgBN/D,EAAoB+B,EAAErC,EAAI,CAACuC,EAASI,KAE/B0B,EAAgB9B,IAElBiB,cAAclD,EAAoB8D,EAAI9D,EAAoBsC,EAAEL,GAE9D,EAGD,IAAI+B,EAAqBC,KAA2B,qBAAIA,KAA2B,sBAAK,GACpFC,EAA6BF,EAAmBpE,KAAKuE,KAAKH,GAC9DA,EAAmBpE,KAvBC9B,IACnB,IAAK8C,EAAUwD,EAAaC,GAAWvG,EACvC,IAAI,IAAImC,KAAYmE,EAChBpE,EAAoB2B,EAAEyC,EAAanE,KACrCD,EAAoBO,EAAEN,GAAYmE,EAAYnE,IAIhD,IADGoE,GAASA,EAAQrE,GACdY,EAAS3C,QACd8F,EAAgBnD,EAAS0D,OAAS,EACnCJ,EAA2BpG,EAAK,C,KTnB7BR,EAAO0C,EAAoBQ,EAC/BR,EAAoBQ,EAAI,IAChBR,EAAoBgC,EAAE,KAAKuC,KAAKjH,GUDxC,IAAImD,EAAsBT,EAAoBQ,I","sources":["webpack://peptides/webpack/runtime/chunk loaded","webpack://peptides/webpack/runtime/startup chunk dependencies","webpack://peptides/./src/workers/mutation-cliffs-worker.ts","webpack://peptides/webpack/bootstrap","webpack://peptides/webpack/runtime/define property getters","webpack://peptides/webpack/runtime/ensure chunk","webpack://peptides/webpack/runtime/get javascript chunk filename","webpack://peptides/webpack/runtime/global","webpack://peptides/webpack/runtime/hasOwnProperty shorthand","webpack://peptides/webpack/runtime/publicPath","webpack://peptides/webpack/runtime/importScripts chunk loading","webpack://peptides/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var next = __webpack_require__.x;\n__webpack_require__.x = () => {\n\treturn __webpack_require__.e(774).then(next);\n};","import BitArray from '@datagrok-libraries/utils/src/bit-array';\n\nonmessage = async (event): Promise<void> => {\n const {startIdx, endIdx, activityArray, monomerInfoArray, settings} = event.data;\n const filterArray: Uint32Array = settings.filter;\n const filter = filterArray ? new BitArray(filterArray, filterArray.length * 32) : null;\n\n const pos: string[] = [];\n const seq1Idxs: number[] = [];\n const seq2Idxs: number[] = [];\n const chunkSize = endIdx - startIdx;\n let cnt = 0;\n const startRow = activityArray.length - 2 - Math.floor(\n Math.sqrt(-8 * startIdx + 4 * activityArray.length * (activityArray.length - 1) - 7) / 2 - 0.5);\n const startCol = startIdx - activityArray.length * startRow + Math.floor((startRow + 1) * (startRow + 2) / 2);\n let seq1Idx = startRow;\n let seq2Idx = startCol;\n const tempData = new Array(monomerInfoArray.length);\n while (cnt < chunkSize) {\n if (!filter || (filter.getBit(seq1Idx) && filter.getBit(seq2Idx))) {\n let substCounter = 0;\n const activityValSeq1 = activityArray[seq1Idx];\n const activityValSeq2 = activityArray[seq2Idx];\n const delta = activityValSeq1 - activityValSeq2;\n if (Math.abs(delta) >= settings.minActivityDelta) {\n let substCounterFlag = false;\n let tempDataIdx = 0;\n for (const monomerInfo of monomerInfoArray) {\n const seq1categoryIdx = monomerInfo.rawData[seq1Idx];\n const seq2categoryIdx = monomerInfo.rawData[seq2Idx];\n if (seq1categoryIdx === seq2categoryIdx)\n continue;\n\n substCounter++;\n substCounterFlag = substCounter > settings.maxMutations;\n if (substCounterFlag)\n break;\n\n tempData[tempDataIdx++] = {\n pos: monomerInfo.name,\n seq1Idx: seq1Idx,\n seq2Idx: seq2Idx,\n };\n }\n if (!(substCounterFlag || substCounter === 0)) {\n for (let i = 0; i < tempDataIdx; i++) {\n const tempDataElement = tempData[i];\n const position = tempDataElement.pos;\n pos.push(position);\n seq1Idxs.push(seq1Idx);\n seq2Idxs.push(seq2Idx);\n }\n }\n }\n }\n cnt++;\n seq2Idx++;\n if (seq2Idx === activityArray.length) {\n seq1Idx++;\n seq2Idx = seq1Idx + 1;\n }\n }\n postMessage({\n pos: pos,\n seq1Idxs: new Uint32Array(seq1Idxs),\n seq2Idxs: new Uint32Array(seq2Idxs),\n });\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// the startup function\n__webpack_require__.x = () => {\n\t// Load entry module and return exports\n\t// This entry module depends on other loaded chunks and execution need to be delayed\n\tvar __webpack_exports__ = __webpack_require__.O(undefined, [774], () => (__webpack_require__(2216)))\n\t__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n\treturn __webpack_exports__;\n};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded chunks\n// \"1\" means \"already loaded\"\nvar installedChunks = {\n\t216: 1\n};\n\n// importScripts chunk loading\nvar installChunk = (data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\twhile(chunkIds.length)\n\t\tinstalledChunks[chunkIds.pop()] = 1;\n\tparentChunkLoadingFunction(data);\n};\n__webpack_require__.f.i = (chunkId, promises) => {\n\t// \"1\" is the signal for \"already loaded\"\n\tif(!installedChunks[chunkId]) {\n\t\tif(true) { // all chunks have JS\n\t\t\timportScripts(__webpack_require__.p + __webpack_require__.u(chunkId));\n\t\t}\n\t}\n};\n\nvar chunkLoadingGlobal = self[\"webpackChunkpeptides\"] = self[\"webpackChunkpeptides\"] || [];\nvar parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);\nchunkLoadingGlobal.push = installChunk;\n\n// no HMR\n\n// no HMR manifest","// run startup\nvar __webpack_exports__ = __webpack_require__.x();\n"],"names":["deferred","next","onmessage","event","startIdx","endIdx","activityArray","monomerInfoArray","settings","data","filterArray","filter","length","pos","seq1Idxs","seq2Idxs","chunkSize","cnt","startRow","Math","floor","sqrt","seq1Idx","seq2Idx","tempData","Array","getBit","substCounter","delta","abs","minActivityDelta","substCounterFlag","tempDataIdx","monomerInfo","rawData","maxMutations","name","i","position","push","postMessage","Uint32Array","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","x","__webpack_exports__","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","key","splice","r","d","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","reduce","promises","u","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","call","scriptUrl","importScripts","location","document","currentScript","tagName","toUpperCase","src","scripts","getElementsByTagName","test","Error","replace","p","installedChunks","chunkLoadingGlobal","self","parentChunkLoadingFunction","bind","moreModules","runtime","pop","then"],"sourceRoot":""}
1
+ {"version":3,"file":"216.js","mappings":"oCAAIA,ECAAC,E,gCCGJC,UAAmBC,IAAyB,O,OAAD,E,OAAA,E,EAAA,YACzC,MAAM,SAACC,EAAQ,OAAEC,EAAM,cAAEC,EAAa,iBAAEC,EAAgB,SAAEC,GAAYL,EAAMM,KACtEC,EAA2BF,EAASG,OACpCC,EAAiDJ,EAASI,eAC1DC,EAAsBD,EAAiBA,EAAeE,UAAY,EAClEH,EAASD,EAAc,IAAI,IAASA,EAAkC,GAArBA,EAAYK,QAAe,KAE5EC,EAAgB,GAChBC,EAAqB,GACrBC,EAAqB,GACrBC,EAAYd,EAASD,EAC3B,IAAIgB,EAAM,EACV,MAAMC,EAAWf,EAAcS,OAAS,EAAIO,KAAKC,MAC/CD,KAAKE,MAAM,EAAIpB,EAAW,EAAIE,EAAcS,QAAUT,EAAcS,OAAS,GAAK,GAAK,EAAI,IAE7F,IAAIU,EAAUJ,EACVK,EAFatB,EAAWE,EAAcS,OAASM,EAAWC,KAAKC,OAAOF,EAAW,IAAMA,EAAW,GAAK,GAG3G,MAAMM,EAAW,IAAIC,MAAMrB,EAAiBQ,QAC5C,KAAOK,EAAMD,GAAW,CACtB,IAAKR,GAAWA,EAAOkB,OAAOJ,IAAYd,EAAOkB,OAAOH,GAAW,CACjE,IAAII,EAAe,EACnB,MAEMC,EAFkBzB,EAAcmB,GACdnB,EAAcoB,GAEtC,GAAIJ,KAAKU,IAAID,IAAUvB,EAASyB,iBAAkB,CAChD,IAAIC,GAAmB,EACnBC,EAAc,EAClB,IAAK,IAAIC,EAAgB,EAAGA,EAAgB7B,EAAiB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EAAoBgC,EAAE,KAAKuC,KAAKpH,GUDxC,IAAIsD,EAAsBT,EAAoBQ,I","sources":["webpack://peptides/webpack/runtime/chunk loaded","webpack://peptides/webpack/runtime/startup chunk dependencies","webpack://peptides/./src/workers/mutation-cliffs-worker.ts","webpack://peptides/webpack/bootstrap","webpack://peptides/webpack/runtime/define property getters","webpack://peptides/webpack/runtime/ensure chunk","webpack://peptides/webpack/runtime/get javascript chunk filename","webpack://peptides/webpack/runtime/global","webpack://peptides/webpack/runtime/hasOwnProperty shorthand","webpack://peptides/webpack/runtime/publicPath","webpack://peptides/webpack/runtime/importScripts chunk loading","webpack://peptides/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var next = __webpack_require__.x;\n__webpack_require__.x = () => {\n\treturn __webpack_require__.e(774).then(next);\n};","/* eslint-disable max-len */\nimport BitArray from '@datagrok-libraries/utils/src/bit-array';\n\nonmessage = async (event): Promise<void> => {\n const {startIdx, endIdx, activityArray, monomerInfoArray, settings} = event.data;\n const filterArray: Uint32Array = settings.filter;\n const singlePosition: {position: number} | undefined = settings.singlePosition;\n const singlePositionIndex = singlePosition ? singlePosition.position : -1;\n const filter = filterArray ? new BitArray(filterArray, filterArray.length * 32) : null;\n\n const pos: string[] = [];\n const seq1Idxs: number[] = [];\n const seq2Idxs: number[] = [];\n const chunkSize = endIdx - startIdx;\n let cnt = 0;\n const startRow = activityArray.length - 2 - Math.floor(\n Math.sqrt(-8 * startIdx + 4 * activityArray.length * (activityArray.length - 1) - 7) / 2 - 0.5);\n const startCol = startIdx - activityArray.length * startRow + Math.floor((startRow + 1) * (startRow + 2) / 2);\n let seq1Idx = startRow;\n let seq2Idx = startCol;\n const tempData = new Array(monomerInfoArray.length);\n while (cnt < chunkSize) {\n if (!filter || (filter.getBit(seq1Idx) && filter.getBit(seq2Idx))) {\n let substCounter = 0;\n const activityValSeq1 = activityArray[seq1Idx];\n const activityValSeq2 = activityArray[seq2Idx];\n const delta = activityValSeq1 - activityValSeq2;\n if (Math.abs(delta) >= settings.minActivityDelta) {\n let substCounterFlag = false;\n let tempDataIdx = 0;\n for (let positionIndex = 0; positionIndex < monomerInfoArray.length; positionIndex++) {\n const monomerInfo = monomerInfoArray[positionIndex];\n const seq1categoryIdx = monomerInfo.rawData[seq1Idx];\n const seq2categoryIdx = monomerInfo.rawData[seq2Idx];\n if (seq1categoryIdx === seq2categoryIdx)\n continue;\n\n substCounter++;\n substCounterFlag = substCounter > settings.maxMutations || (singlePositionIndex !== -1 && positionIndex !== singlePositionIndex);\n if (substCounterFlag)\n break;\n\n tempData[tempDataIdx++] = {\n pos: monomerInfo.name,\n seq1Idx: seq1Idx,\n seq2Idx: seq2Idx,\n };\n }\n if (!(substCounterFlag || substCounter === 0)) {\n for (let i = 0; i < tempDataIdx; i++) {\n const tempDataElement = tempData[i];\n const position = tempDataElement.pos;\n pos.push(position);\n seq1Idxs.push(seq1Idx);\n seq2Idxs.push(seq2Idx);\n }\n }\n }\n }\n cnt++;\n seq2Idx++;\n if (seq2Idx === activityArray.length) {\n seq1Idx++;\n seq2Idx = seq1Idx + 1;\n }\n }\n postMessage({\n pos: pos,\n seq1Idxs: new Uint32Array(seq1Idxs),\n seq2Idxs: new Uint32Array(seq2Idxs),\n });\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// the startup function\n__webpack_require__.x = () => {\n\t// Load entry module and return exports\n\t// This entry module depends on other loaded chunks and execution need to be delayed\n\tvar __webpack_exports__ = __webpack_require__.O(undefined, [774], () => (__webpack_require__(2216)))\n\t__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n\treturn __webpack_exports__;\n};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded chunks\n// \"1\" means \"already loaded\"\nvar installedChunks = {\n\t216: 1\n};\n\n// importScripts chunk loading\nvar installChunk = (data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\twhile(chunkIds.length)\n\t\tinstalledChunks[chunkIds.pop()] = 1;\n\tparentChunkLoadingFunction(data);\n};\n__webpack_require__.f.i = (chunkId, promises) => {\n\t// \"1\" is the signal for \"already loaded\"\n\tif(!installedChunks[chunkId]) {\n\t\tif(true) { // all chunks have JS\n\t\t\timportScripts(__webpack_require__.p + __webpack_require__.u(chunkId));\n\t\t}\n\t}\n};\n\nvar chunkLoadingGlobal = self[\"webpackChunkpeptides\"] = self[\"webpackChunkpeptides\"] || [];\nvar parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);\nchunkLoadingGlobal.push = installChunk;\n\n// no HMR\n\n// no HMR manifest","// run startup\nvar __webpack_exports__ = __webpack_require__.x();\n"],"names":["deferred","next","onmessage","event","startIdx","endIdx","activityArray","monomerInfoArray","settings","data","filterArray","filter","singlePosition","singlePositionIndex","position","length","pos","seq1Idxs","seq2Idxs","chunkSize","cnt","startRow","Math","floor","sqrt","seq1Idx","seq2Idx","tempData","Array","getBit","substCounter","delta","abs","minActivityDelta","substCounterFlag","tempDataIdx","positionIndex","monomerInfo","rawData","maxMutations","name","i","push","postMessage","Uint32Array","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","x","__webpack_exports__","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","key","splice","r","d","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","reduce","promises","u","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","call","scriptUrl","importScripts","location","document","currentScript","tagName","toUpperCase","src","scripts","getElementsByTagName","test","Error","replace","p","installedChunks","chunkLoadingGlobal","self","parentChunkLoadingFunction","bind","moreModules","runtime","pop","then"],"sourceRoot":""}