@datagrok/ketcher-sketcher 2.2.3 → 2.3.0

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.
@@ -1,2 +1,2 @@
1
- var ketchersketcher_test;(()=>{var t={89133:function(t,e,n){var o;!function(e,i){var s={};!function(t){"use strict";t.__esModule=!0,t.digestLength=32,t.blockSize=64;var e=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function n(t,n,o,i,s){for(var r,a,c,l,u,y,d,f,h,x,p,v,m;s>=64;){for(r=n[0],a=n[1],c=n[2],l=n[3],u=n[4],y=n[5],d=n[6],f=n[7],x=0;x<16;x++)p=i+4*x,t[x]=(255&o[p])<<24|(255&o[p+1])<<16|(255&o[p+2])<<8|255&o[p+3];for(x=16;x<64;x++)v=((h=t[x-2])>>>17|h<<15)^(h>>>19|h<<13)^h>>>10,m=((h=t[x-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3,t[x]=(v+t[x-7]|0)+(m+t[x-16]|0);for(x=0;x<64;x++)v=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&y^~u&d)|0)+(f+(e[x]+t[x]|0)|0)|0,m=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&a^r&c^a&c)|0,f=d,d=y,y=u,u=l+v|0,l=c,c=a,a=r,r=v+m|0;n[0]+=r,n[1]+=a,n[2]+=c,n[3]+=l,n[4]+=u,n[5]+=y,n[6]+=d,n[7]+=f,i+=64,s-=64}return i}var o=function(){function e(){this.digestLength=t.digestLength,this.blockSize=t.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return e.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},e.prototype.clean=function(){for(var t=0;t<this.buffer.length;t++)this.buffer[t]=0;for(t=0;t<this.temp.length;t++)this.temp[t]=0;this.reset()},e.prototype.update=function(t,e){if(void 0===e&&(e=t.length),this.finished)throw new Error("SHA256: can't update because hash was finished.");var o=0;if(this.bytesHashed+=e,this.bufferLength>0){for(;this.bufferLength<64&&e>0;)this.buffer[this.bufferLength++]=t[o++],e--;64===this.bufferLength&&(n(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(e>=64&&(o=n(this.temp,this.state,t,o,e),e%=64);e>0;)this.buffer[this.bufferLength++]=t[o++],e--;return this},e.prototype.finish=function(t){if(!this.finished){var e=this.bytesHashed,o=this.bufferLength,i=e/536870912|0,s=e<<3,r=e%64<56?64:128;this.buffer[o]=128;for(var a=o+1;a<r-8;a++)this.buffer[a]=0;this.buffer[r-8]=i>>>24&255,this.buffer[r-7]=i>>>16&255,this.buffer[r-6]=i>>>8&255,this.buffer[r-5]=i>>>0&255,this.buffer[r-4]=s>>>24&255,this.buffer[r-3]=s>>>16&255,this.buffer[r-2]=s>>>8&255,this.buffer[r-1]=s>>>0&255,n(this.temp,this.state,this.buffer,0,r),this.finished=!0}for(a=0;a<8;a++)t[4*a+0]=this.state[a]>>>24&255,t[4*a+1]=this.state[a]>>>16&255,t[4*a+2]=this.state[a]>>>8&255,t[4*a+3]=this.state[a]>>>0&255;return this},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype._saveState=function(t){for(var e=0;e<this.state.length;e++)t[e]=this.state[e]},e.prototype._restoreState=function(t,e){for(var n=0;n<this.state.length;n++)this.state[n]=t[n];this.bytesHashed=e,this.finished=!1,this.bufferLength=0},e}();t.Hash=o;var i=function(){function t(t){this.inner=new o,this.outer=new o,this.blockSize=this.inner.blockSize,this.digestLength=this.inner.digestLength;var e=new Uint8Array(this.blockSize);if(t.length>this.blockSize)(new o).update(t).finish(e).clean();else for(var n=0;n<t.length;n++)e[n]=t[n];for(n=0;n<e.length;n++)e[n]^=54;for(this.inner.update(e),n=0;n<e.length;n++)e[n]^=106;for(this.outer.update(e),this.istate=new Uint32Array(8),this.ostate=new Uint32Array(8),this.inner._saveState(this.istate),this.outer._saveState(this.ostate),n=0;n<e.length;n++)e[n]=0}return t.prototype.reset=function(){return this.inner._restoreState(this.istate,this.inner.blockSize),this.outer._restoreState(this.ostate,this.outer.blockSize),this},t.prototype.clean=function(){for(var t=0;t<this.istate.length;t++)this.ostate[t]=this.istate[t]=0;this.inner.clean(),this.outer.clean()},t.prototype.update=function(t){return this.inner.update(t),this},t.prototype.finish=function(t){return this.outer.finished?this.outer.finish(t):(this.inner.finish(t),this.outer.update(t,this.digestLength).finish(t)),this},t.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},t}();function s(t){var e=(new o).update(t),n=e.digest();return e.clean(),n}function r(t,e){var n=new i(t).update(e),o=n.digest();return n.clean(),o}function a(t,e,n,o){var i=o[0];if(0===i)throw new Error("hkdf: cannot expand more");e.reset(),i>1&&e.update(t),n&&e.update(n),e.update(o),e.finish(t),o[0]++}t.HMAC=i,t.hash=s,t.default=s,t.hmac=r;var c=new Uint8Array(t.digestLength);t.hkdf=function(t,e,n,o){void 0===e&&(e=c),void 0===o&&(o=32);for(var s=new Uint8Array([1]),l=r(e,t),u=new i(l),y=new Uint8Array(u.digestLength),d=y.length,f=new Uint8Array(o),h=0;h<o;h++)d===y.length&&(a(y,u,n,s),d=0),f[h]=y[d++];return u.clean(),y.fill(0),s.fill(0),f},t.pbkdf2=function(t,e,n,o){for(var s=new i(t),r=s.digestLength,a=new Uint8Array(4),c=new Uint8Array(r),l=new Uint8Array(r),u=new Uint8Array(o),y=0;y*r<o;y++){var d=y+1;a[0]=d>>>24&255,a[1]=d>>>16&255,a[2]=d>>>8&255,a[3]=d>>>0&255,s.reset(),s.update(e),s.update(a),s.finish(l);for(var f=0;f<r;f++)c[f]=l[f];for(f=2;f<=n;f++){s.reset(),s.update(l).finish(l);for(var h=0;h<r;h++)c[h]^=l[h]}for(f=0;f<r&&y*r+f<o;f++)u[y*r+f]=c[f]}for(y=0;y<r;y++)c[y]=l[y]=0;for(y=0;y<4;y++)a[y]=0;return s.clean(),u}}(s);var r=s.default;for(var a in s)r[a]=s[a];"object"==typeof t.exports?t.exports=r:void 0===(o=function(){return r}.call(s,n,s,t))||(t.exports=o)}()}},e={};function n(o){var i=e[o];if(void 0!==i)return i.exports;var s=e[o]={exports:{}};return t[o].call(s.exports,s,s.exports,n),s.exports}n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";n.r(o),n.d(o,{_package:()=>W,initAutoTests:()=>j,test:()=>$,tests:()=>d});const t=DG,e=grok;n(89133);const i=t.DataFrame.fromCsv('countries,fasta,smiles,molregno,LON,Zip Code,Street Address Line 1,ImageUrl,user_id,error_message,xray,flag,magnitude,CS-id,pdb_id,accel_a,time_offset,chart,fit,Questions,empty_number,empty_string\nBelgium,MSNFHNEHVMQFYRNNLKTKGVFGRQ,CC(C(=O)OCCCc1cccnc1)c2cccc(c2)C(=O)c3ccccc3,1480014,36.276729583740234,995042300,14016 ROUTE 31W,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,1,1,1QBS,1,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[2.497360340644872, 1.7058694986686864, 5.278052678195135, 0.16000320889028383],""points"":[{""x"":0.10000000149011612,""y"":2.374499797821045},{""x"":0.6000000238418579,""y"":2.6242473125457764},{""x"":1.100000023841858,""y"":2.367267608642578},{""x"":1.600000023841858,""y"":2.6723148822784424},{""x"":2.0999999046325684,""y"":2.6537344455718994},{""x"":2.5999999046325684,""y"":2.3651671409606934},{""x"":3.0999999046325684,""y"":2.5654284954071045},{""x"":3.5999999046325684,""y"":2.4160959720611572},{""x"":4.099999904632568,""y"":2.286726713180542},{""x"":4.599999904632568,""y"":2.5100042819976807},{""x"":5.099999904632568,""y"":1.6676985025405884},{""x"":5.599999904632568,""y"":0.680136501789093},{""x"":6.099999904632568,""y"":0.3391543924808502},{""x"":6.599999904632568,""y"":0.09038983285427094},{""x"":7.099999904632568,""y"":0.19802775979042053}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[7.525235855508179, 1.3186911876809984, 5.335672608564294, 0.7860743343958098],""points"":[{""x"":0.10000000149011612,""y"":7.988070487976074},{""x"":0.6000000238418579,""y"":7.018453121185303},{""x"":1.100000023841858,""y"":8.115279197692871},{""x"":1.600000023841858,""y"":7.486658096313477},{""x"":2.0999999046325684,""y"":7.396438121795654},{""x"":2.5999999046325684,""y"":7.477052211761475},{""x"":3.0999999046325684,""y"":6.913095474243164},{""x"":3.5999999046325684,""y"":8.01385498046875},{""x"":4.099999904632568,""y"":6.985900402069092},{""x"":4.599999904632568,""y"":6.970335960388184},{""x"":5.099999904632568,""y"":5.448817253112793},{""x"":5.599999904632568,""y"":2.5534818172454834},{""x"":6.099999904632568,""y"":1.893947958946228},{""x"":6.599999904632568,""y"":0.6340042352676392},{""x"":7.099999904632568,""y"":0.8403874039649963}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,100,abc\nBurundi,MDYKETLLMPKTDFPMRGGLPNKEPQIQEKW,COc1ccc2cc(ccc2c1)C(C)C(=O)Oc3ccc(C)cc3OC,1480015,36.276729583740234,995073444,80 STATE HIGHWAY 310,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,2,2,1ZP8,2,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[4.431460753103398, 2.1691498799246745, 5.266445597102774, 0.7825762827017926],""points"":[{""x"":0.10000000149011612,""y"":4.751083850860596},{""x"":0.6000000238418579,""y"":4.203000068664551},{""x"":1.100000023841858,""y"":4.415858745574951},{""x"":1.600000023841858,""y"":4.68414306640625},{""x"":2.0999999046325684,""y"":4.198400974273682},{""x"":2.5999999046325684,""y"":4.179222106933594},{""x"":3.0999999046325684,""y"":4.638473987579346},{""x"":3.5999999046325684,""y"":4.708553314208984},{""x"":4.099999904632568,""y"":4.291589260101318},{""x"":4.599999904632568,""y"":4.038082599639893},{""x"":5.099999904632568,""y"":3.4349939823150635},{""x"":5.599999904632568,""y"":1.2194708585739136},{""x"":6.099999904632568,""y"":1.1920831203460693},{""x"":6.599999904632568,""y"":0.5352635979652405},{""x"":7.099999904632568,""y"":0.3346920311450958}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[2.339458017970126, -1.0734184310171178, 4.746332950550934, 0.2482416857595658],""points"":[{""x"":0.10000000149011612,""y"":0.2139337658882141},{""x"":0.6000000238418579,""y"":0.4269562065601349},{""x"":1.100000023841858,""y"":0.2441573292016983},{""x"":1.600000023841858,""y"":0.146635964512825},{""x"":2.0999999046325684,""y"":0.08818462491035461},{""x"":2.5999999046325684,""y"":0.2560656666755676},{""x"":3.0999999046325684,""y"":0.42434045672416687},{""x"":3.5999999046325684,""y"":0.37111231684684753},{""x"":4.099999904632568,""y"":0.5581737160682678},{""x"":4.599999904632568,""y"":1.183590054512024},{""x"":5.099999904632568,""y"":1.5629843473434448},{""x"":5.599999904632568,""y"":2.3211288452148438},{""x"":6.099999904632568,""y"":2.229961633682251},{""x"":6.599999904632568,""y"":2.2560226917266846},{""x"":7.099999904632568,""y"":2.2142398357391357}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCameroon,MIEVFLFGIVLGLIPITLAGLFVTAYLQYRRGDQLDL,COc1ccc2cc(ccc2c1)C(C)C(=O)OCCCc3cccnc3,1480016,36.26095962524414,995153596,30-56 WHITESTONE EXPY,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,3,3,2BDJ,3,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[4.6760652578642325, 0.9046956320756703, 5.651408971856738, 0.07738846012184185],""points"":[{""x"":0.10000000149011612,""y"":4.32425594329834},{""x"":0.6000000238418579,""y"":4.668442249298096},{""x"":1.100000023841858,""y"":4.379785060882568},{""x"":1.600000023841858,""y"":5.0345139503479},{""x"":2.0999999046325684,""y"":4.878653526306152},{""x"":2.5999999046325684,""y"":4.3451313972473145},{""x"":3.0999999046325684,""y"":4.336992263793945},{""x"":3.5999999046325684,""y"":5.037430286407471},{""x"":4.099999904632568,""y"":5.0092692375183105},{""x"":4.599999904632568,""y"":4.151902675628662},{""x"":5.099999904632568,""y"":3.4066951274871826},{""x"":5.599999904632568,""y"":2.3732759952545166},{""x"":6.099999904632568,""y"":1.673728108406067},{""x"":6.599999904632568,""y"":0.48574790358543396},{""x"":7.099999904632568,""y"":0.2783052325248718}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[2.938395863010111, -1.4658480661392117, 5.462702751996584, 0.3473139023615039],""points"":[{""x"":0.10000000149011612,""y"":0.4941710829734802},{""x"":0.6000000238418579,""y"":0.15323974192142487},{""x"":1.100000023841858,""y"":0.46373432874679565},{""x"":1.600000023841858,""y"":0.3370431363582611},{""x"":2.0999999046325684,""y"":0.5179030299186707},{""x"":2.5999999046325684,""y"":0.27899765968322754},{""x"":3.0999999046325684,""y"":0.22075064480304718},{""x"":3.5999999046325684,""y"":0.5789918899536133},{""x"":4.099999904632568,""y"":0.21169911324977875},{""x"":4.599999904632568,""y"":0.27857646346092224},{""x"":5.099999904632568,""y"":1.0906332731246948},{""x"":5.599999904632568,""y"":1.8520300388336182},{""x"":6.099999904632568,""y"":2.7177059650421143},{""x"":6.599999904632568,""y"":2.8680918216705322},{""x"":7.099999904632568,""y"":3.2413077354431152}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCanada,MMELVLKTIIGPIVVGVVLRIVDKWLNKDK,CC(C(=O)NCCS)c1cccc(c1)C(=O)c2ccccc2,1480017,36.26095962524414,99515,30-56 WHITESTONE EXPY,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,4,4,1IAN,4,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[0.8597390975430008, 1.0957625732481946, 5.260537067987958, 0.07974187998177736],""points"":[{""x"":0.10000000149011612,""y"":0.8190152645111084},{""x"":0.6000000238418579,""y"":0.8421689867973328},{""x"":1.100000023841858,""y"":0.8740922212600708},{""x"":1.600000023841858,""y"":0.8924275040626526},{""x"":2.0999999046325684,""y"":0.8249067664146423},{""x"":2.5999999046325684,""y"":0.9327669143676758},{""x"":3.0999999046325684,""y"":0.8522974252700806},{""x"":3.5999999046325684,""y"":0.8174492716789246},{""x"":4.099999904632568,""y"":0.8394647240638733},{""x"":4.599999904632568,""y"":0.7139387726783752},{""x"":5.099999904632568,""y"":0.5561167597770691},{""x"":5.599999904632568,""y"":0.3276226818561554},{""x"":6.099999904632568,""y"":0.12479474395513535},{""x"":6.599999904632568,""y"":0.13006797432899475},{""x"":7.099999904632568,""y"":0.059702079743146896}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.760930219582546, 1.6591793293833013, 4.667155929720851, 0.7858109544121652],""points"":[{""x"":0.10000000149011612,""y"":6.156993389129639},{""x"":0.6000000238418579,""y"":5.236701965332031},{""x"":1.100000023841858,""y"":6.010560512542725},{""x"":1.600000023841858,""y"":5.495512962341309},{""x"":2.0999999046325684,""y"":6.087770462036133},{""x"":2.5999999046325684,""y"":5.79986572265625},{""x"":3.0999999046325684,""y"":5.597546577453613},{""x"":3.5999999046325684,""y"":5.520902156829834},{""x"":4.099999904632568,""y"":5.360654354095459},{""x"":4.599999904632568,""y"":3.5539746284484863},{""x"":5.099999904632568,""y"":1.577236294746399},{""x"":5.599999904632568,""y"":1.0001264810562134},{""x"":6.099999904632568,""y"":0.9305797815322876},{""x"":6.599999904632568,""y"":0.6033638715744019},{""x"":7.099999904632568,""y"":0.4203685522079468}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nColombia,MDRTDEVSNHTHDKPTLTWFEEIFEEYHSPFHN,FC(F)(F)c1ccc(OC2CCNCC2)cc1,1480029,36.3309440612793,995152050,1 COURT HOUSE SQUARE,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,5,5,4UJ1,5,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[6.4995088314153655, 2.4270351004539914, 5.178659535348579, 0.625653346241577],""points"":[{""x"":0.10000000149011612,""y"":6.496231555938721},{""x"":0.6000000238418579,""y"":6.42543363571167},{""x"":1.100000023841858,""y"":7.040063858032227},{""x"":1.600000023841858,""y"":6.1115403175354},{""x"":2.0999999046325684,""y"":6.680728435516357},{""x"":2.5999999046325684,""y"":6.406774520874023},{""x"":3.0999999046325684,""y"":6.611269474029541},{""x"":3.5999999046325684,""y"":5.889094352722168},{""x"":4.099999904632568,""y"":6.75344705581665},{""x"":4.599999904632568,""y"":6.361435890197754},{""x"":5.099999904632568,""y"":4.1666975021362305},{""x"":5.599999904632568,""y"":1.172118902206421},{""x"":6.099999904632568,""y"":0.801048994064331},{""x"":6.599999904632568,""y"":0.4640021026134491},{""x"":7.099999904632568,""y"":0.0010357667924836278}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[1.4734381347446401, 1.1649805188074196, 4.82958608866421, 0.09500545496710007],""points"":[{""x"":0.10000000149011612,""y"":1.5279096364974976},{""x"":0.6000000238418579,""y"":1.3559974431991577},{""x"":1.100000023841858,""y"":1.5246378183364868},{""x"":1.600000023841858,""y"":1.5567657947540283},{""x"":2.0999999046325684,""y"":1.4114240407943726},{""x"":2.5999999046325684,""y"":1.4045010805130005},{""x"":3.0999999046325684,""y"":1.4769829511642456},{""x"":3.5999999046325684,""y"":1.4875500202178955},{""x"":4.099999904632568,""y"":1.2991987466812134},{""x"":4.599999904632568,""y"":0.922961413860321},{""x"":5.099999904632568,""y"":0.6520044803619385},{""x"":5.599999904632568,""y"":0.15350978076457977},{""x"":6.099999904632568,""y"":0.1078903079032898},{""x"":6.599999904632568,""y"":0.17276449501514435},{""x"":7.099999904632568,""y"":0.14066608250141144}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCosta Rica,MKSTKEEIQTIKTLLKDSRTAKYHKRLQIVL,CC(C)Cc1ccc(cc1)C(C)C(=O)N2CCCC2C(=O)OCCCc3ccccc3,1480018,36.3309440612793,995084218,4041 SOUTHWESTERN BLVD,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,6,6,2BPW,6,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[2.4833641843311227, -1.8945978742090062, 4.671127708092568, 0.24159861311815153],""points"":[{""x"":0.10000000149011612,""y"":0.0969524160027504},{""x"":0.6000000238418579,""y"":0.028483040630817413},{""x"":1.100000023841858,""y"":0.22087176144123077},{""x"":1.600000023841858,""y"":0.0068915546871721745},{""x"":2.0999999046325684,""y"":0.4305879771709442},{""x"":2.5999999046325684,""y"":0.44774115085601807},{""x"":3.0999999046325684,""y"":0.45346319675445557},{""x"":3.5999999046325684,""y"":0.2370593100786209},{""x"":4.099999904632568,""y"":0.4657953977584839},{""x"":4.599999904632568,""y"":1.155200719833374},{""x"":5.099999904632568,""y"":2.2294070720672607},{""x"":5.599999904632568,""y"":2.4311530590057373},{""x"":6.099999904632568,""y"":2.33846116065979},{""x"":6.599999904632568,""y"":2.608201026916504},{""x"":7.099999904632568,""y"":2.8136143684387207}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.224573521642033, 1.4454033924198528, 5.6014197746076535, 0.2823216054197577],""points"":[{""x"":0.10000000149011612,""y"":4.95027494430542},{""x"":0.6000000238418579,""y"":5.1754679679870605},{""x"":1.100000023841858,""y"":5.276752948760986},{""x"":1.600000023841858,""y"":5.589294910430908},{""x"":2.0999999046325684,""y"":5.616994857788086},{""x"":2.5999999046325684,""y"":5.120813846588135},{""x"":3.0999999046325684,""y"":5.340766906738281},{""x"":3.5999999046325684,""y"":4.876471042633057},{""x"":4.099999904632568,""y"":4.94999361038208},{""x"":4.599999904632568,""y"":5.162564754486084},{""x"":5.099999904632568,""y"":4.399557590484619},{""x"":5.599999904632568,""y"":2.7977969646453857},{""x"":6.099999904632568,""y"":1.0229872465133667},{""x"":6.599999904632568,""y"":0.48275601863861084},{""x"":7.099999904632568,""y"":0.10408931970596313}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCuba,MHAILRYFIRRLFYHIFYKIYSLISKKHQSLPSDVRQF,COc1ccc2c(c1)c(CC(=O)N3CCCC3C(=O)Oc4ccc(C)cc4OC)c(C)n2C(=O)c5ccc(Cl)cc5,1480019,36.33115768432617,995081928,1227 US HIGHWAY 11,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,7,7,1QBS,7,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[3.320838679713925, -1.2421619987316728, 4.831325425225256, 0.3236011098403072],""points"":[{""x"":0.10000000149011612,""y"":0.3727470338344574},{""x"":0.6000000238418579,""y"":0.12365014106035233},{""x"":1.100000023841858,""y"":0.48422467708587646},{""x"":1.600000023841858,""y"":0.2264465093612671},{""x"":2.0999999046325684,""y"":0.16821794211864471},{""x"":2.5999999046325684,""y"":0.3879014551639557},{""x"":3.0999999046325684,""y"":0.5470244884490967},{""x"":3.5999999046325684,""y"":0.3419053554534912},{""x"":4.099999904632568,""y"":0.7655120491981506},{""x"":4.599999904632568,""y"":1.2346516847610474},{""x"":5.099999904632568,""y"":2.453336715698242},{""x"":5.599999904632568,""y"":2.9565491676330566},{""x"":6.099999904632568,""y"":3.335299491882324},{""x"":6.599999904632568,""y"":3.240290880203247},{""x"":7.099999904632568,""y"":3.1107218265533447}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[3.6401853521511094, 1.26211588875013, 5.399028074402744, 0.5089580830068091],""points"":[{""x"":0.10000000149011612,""y"":3.8585598468780518},{""x"":0.6000000238418579,""y"":3.6077206134796143},{""x"":1.100000023841858,""y"":3.855252265930176},{""x"":1.600000023841858,""y"":3.619039297103882},{""x"":2.0999999046325684,""y"":3.839388370513916},{""x"":2.5999999046325684,""y"":3.335283041000366},{""x"":3.0999999046325684,""y"":3.571141481399536},{""x"":3.5999999046325684,""y"":3.4155046939849854},{""x"":4.099999904632568,""y"":3.7316646575927734},{""x"":4.599999904632568,""y"":3.0680155754089355},{""x"":5.099999904632568,""y"":2.891066551208496},{""x"":5.599999904632568,""y"":1.6022753715515137},{""x"":6.099999904632568,""y"":0.7652576565742493},{""x"":6.599999904632568,""y"":0.6875326037406921},{""x"":7.099999904632568,""y"":0.5828871726989746}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nItaly,MSNFHNEHVMQFYRNNLKTKGVFGRQ,CC(C)Cc1ccc(cc1)C(C)C(=O)N2CCCC2C(=O)OCCO[N+](=O)[O-],1480020,36.33115768432617,99502,"168-46 91ST AVE., 2ND FLR",https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,8,8,1ZP8,8,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[2.293592105923809, 1.3781586549141835, 5.1025898038676605, 0.03493851245291291],""points"":[{""x"":0.10000000149011612,""y"":2.1287283897399902},{""x"":0.6000000238418579,""y"":2.267972230911255},{""x"":1.100000023841858,""y"":2.398442506790161},{""x"":1.600000023841858,""y"":2.5130622386932373},{""x"":2.0999999046325684,""y"":2.3255116939544678},{""x"":2.5999999046325684,""y"":2.127340793609619},{""x"":3.0999999046325684,""y"":2.47259783744812},{""x"":3.5999999046325684,""y"":2.131181478500366},{""x"":4.099999904632568,""y"":2.090421438217163},{""x"":4.599999904632568,""y"":2.02299165725708},{""x"":5.099999904632568,""y"":1.1105059385299683},{""x"":5.599999904632568,""y"":0.4494485855102539},{""x"":6.099999904632568,""y"":0.1375635862350464},{""x"":6.599999904632568,""y"":0.036351121962070465},{""x"":7.099999904632568,""y"":0.1619771122932434}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.953125499439879, 1.2528620255306528, 5.187637440149802, 0.3110348753260886],""points"":[{""x"":0.10000000149011612,""y"":5.6585283279418945},{""x"":0.6000000238418579,""y"":5.911152362823486},{""x"":1.100000023841858,""y"":5.924920082092285},{""x"":1.600000023841858,""y"":5.8469438552856445},{""x"":2.0999999046325684,""y"":5.929472923278809},{""x"":2.5999999046325684,""y"":6.190037727355957},{""x"":3.0999999046325684,""y"":6.236179828643799},{""x"":3.5999999046325684,""y"":6.141019344329834},{""x"":4.099999904632568,""y"":5.295210838317871},{""x"":4.599999904632568,""y"":5.265801906585693},{""x"":5.099999904632568,""y"":3.3722851276397705},{""x"":5.599999904632568,""y"":1.8299226760864258},{""x"":6.099999904632568,""y"":0.32690900564193726},{""x"":6.599999904632568,""y"":0.6274543404579163},{""x"":7.099999904632568,""y"":0.8441857099533081}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nRwanda,MPNSEPASLLELFNSIATQGELVRSLKAGNASK,CC(C)Cc1ccc(cc1)C(C)C(=O)N2CCCC2C(=O)OCCO,1480021,36.33137130737305,995037247,"168-46 91ST AVE., 2ND FLR",https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,9,9,2BDJ,9,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[3.8209972202654474, 1.3779216716448506, 5.299882228439686, 0.06040645519069608],""points"":[{""x"":0.10000000149011612,""y"":3.7821109294891357},{""x"":0.6000000238418579,""y"":3.542433023452759},{""x"":1.100000023841858,""y"":3.7008674144744873},{""x"":1.600000023841858,""y"":3.717301607131958},{""x"":2.0999999046325684,""y"":4.024452209472656},{""x"":2.5999999046325684,""y"":4.013899326324463},{""x"":3.0999999046325684,""y"":3.945094347000122},{""x"":3.5999999046325684,""y"":3.866621971130371},{""x"":4.099999904632568,""y"":3.7461626529693604},{""x"":4.599999904632568,""y"":3.3454740047454834},{""x"":5.099999904632568,""y"":2.61944317817688},{""x"":5.599999904632568,""y"":0.999405026435852},{""x"":6.099999904632568,""y"":0.46259793639183044},{""x"":6.599999904632568,""y"":0.054134611040353775},{""x"":7.099999904632568,""y"":0.05711187422275543}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.6318079657726035, 1.8495493770000595, 5.391793312471116, 0.17060707587348442],""points"":[{""x"":0.10000000149011612,""y"":5.458079814910889},{""x"":0.6000000238418579,""y"":5.554427146911621},{""x"":1.100000023841858,""y"":5.799983024597168},{""x"":1.600000023841858,""y"":5.364140033721924},{""x"":2.0999999046325684,""y"":5.864485740661621},{""x"":2.5999999046325684,""y"":5.4509806632995605},{""x"":3.0999999046325684,""y"":5.702574729919434},{""x"":3.5999999046325684,""y"":5.7314534187316895},{""x"":4.099999904632568,""y"":5.5123443603515625},{""x"":4.599999904632568,""y"":5.724395751953125},{""x"":5.099999904632568,""y"":4.354506969451904},{""x"":5.599999904632568,""y"":1.7307666540145874},{""x"":6.099999904632568,""y"":0.6305936574935913},{""x"":6.599999904632568,""y"":0.035183437168598175},{""x"":7.099999904632568,""y"":0.7575169205665588}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nSwitzerland,IRVVGRYLIEVWKAAGMDMDKVLFLWSSDEI,CN1CCC(CC1)Oc2ccc(cc2)C(F)(F)F,1480028,36.33137130737305,99504,92-11 179TH PLACE,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,9,10,1IAN,10,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[1.1190255865097471, 2.3163895161544437, 5.4968866182279195, 0.2035204047289052],""points"":[{""x"":0.10000000149011612,""y"":1.1057683229446411},{""x"":0.6000000238418579,""y"":1.1019697189331055},{""x"":1.100000023841858,""y"":1.0818607807159424},{""x"":1.600000023841858,""y"":1.062997817993164},{""x"":2.0999999046325684,""y"":1.046447515487671},{""x"":2.5999999046325684,""y"":1.1217249631881714},{""x"":3.0999999046325684,""y"":1.2166996002197266},{""x"":3.5999999046325684,""y"":1.215477705001831},{""x"":4.099999904632568,""y"":1.0581893920898438},{""x"":4.599999904632568,""y"":1.1747995615005493},{""x"":5.099999904632568,""y"":1.0181127786636353},{""x"":5.599999904632568,""y"":0.5344523191452026},{""x"":6.099999904632568,""y"":0.2569526433944702},{""x"":6.599999904632568,""y"":0.1912207305431366},{""x"":7.099999904632568,""y"":0.15060538053512573}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[3.1038581025805785, 2.0032224204185245, 5.087602825989163, 0.13277988512492753],""points"":[{""x"":0.10000000149011612,""y"":3.0498509407043457},{""x"":0.6000000238418579,""y"":2.805217742919922},{""x"":1.100000023841858,""y"":3.3415253162384033},{""x"":1.600000023841858,""y"":3.0549843311309814},{""x"":2.0999999046325684,""y"":3.250074863433838},{""x"":2.5999999046325684,""y"":3.0432586669921875},{""x"":3.0999999046325684,""y"":3.265852451324463},{""x"":3.5999999046325684,""y"":2.9475724697113037},{""x"":4.099999904632568,""y"":3.1929898262023926},{""x"":4.599999904632568,""y"":2.7460060119628906},{""x"":5.099999904632568,""y"":1.6175861358642578},{""x"":5.599999904632568,""y"":0.3006608486175537},{""x"":6.099999904632568,""y"":0.3444803059101105},{""x"":6.599999904632568,""y"":0.015537971630692482},{""x"":7.099999904632568,""y"":0.5527358055114746}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\n,,,,,,,,,,,,,,,,,,,,,');i.columns.add(t.Column.fromList(t.TYPE.BYTE_ARRAY,"BinaryImage",Array.from(new Uint8Array(11))));var s=function(t,e,n,o){return new(n||(n=Promise))((function(i,s){function r(t){try{c(o.next(t))}catch(t){s(t)}}function a(t){try{c(o.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(r,a)}c((o=o.apply(t,e||[])).next())}))};const r=3e4,a=108e5,c=console.log.bind(console),l=console.info.bind(console),u=console.warn.bind(console),y=console.error.bind(console),d={},f="Auto Tests",h="Demo",x="Detectors",p="Core",v={};let m;var g;!function(t){t.notNull=function(t,e){if(null==t)throw new Error(`${null==e?"Value":e} not defined`)}}(g||(g={}));class C{constructor(t,e){this.catchUnhandled=!0,this.report=!1,void 0!==t&&(this.catchUnhandled=t),void 0!==e&&(this.report=e)}}class b{constructor(t,e,n,o){var i;this.category=t,this.name=e,null!=o||(o={}),null!==(i=o.timeout)&&void 0!==i||(o.timeout=r),this.options=o,this.test=()=>s(this,void 0,void 0,(function*(){return new Promise(((t,e)=>s(this,void 0,void 0,(function*(){let o="";try{o=yield n()}catch(t){e(t)}t(o)}))))}))}}function w(t,e,n){null==d[m]&&(d[m]={}),null==d[m].tests&&(d[m].tests=[]),d[m].tests.push(new b(m,t,e,n))}function O(t,e=!0,n){if(n=n?`${n}, `:"",t!==e)throw new Error(`${n}Expected "${e}", got "${t}"`)}function k(t,e){return t.replace(new RegExp(e.name,"gi"),e.nqName)}function S(n,o){var c,l,u,y,m,g,C;return s(this,void 0,void 0,(function*(){const w=n.id;if(v[w])return;const S=o?o.tests:d;if(void 0!==S[f]||void 0!==S[h]||Object.keys(S).find((t=>t.startsWith(f)||t.startsWith(p))))return void(v[w]=!0);if("DevTools"===n.name||o&&"DevTools"===o._package.name)for(const t of window.dartTests){const e=t.name.split(/\s*\|\s*!/g);let n=null!==(c=e.pop())&&void 0!==c?c:t.name,o=e.length?p+": "+e.join(": "):p,i=n.split(" | ");n=i[i.length-1],i.unshift(o),i.pop(),o=i.join(": "),void 0===S[o]&&(S[o]={tests:[],clear:!0}),S[o].tests.push(new b(o,n,t.test,{isAggregated:!1,timeout:null!==(u=null===(l=t.options)||void 0===l?void 0:l.timeout)&&void 0!==u?u:r,skipReason:null===(y=t.options)||void 0===y?void 0:y.skipReason,owner:null===(m=t.options)||void 0===m?void 0:m.owner}))}const A=[],L=[],T=[],D=yield e.dapi.functions.filter(`package.id = "${w}"`).list(),E=new RegExp(/skip:\s*([^,\s]+)|wait:\s*(\d+)|cat:\s*([^,\s]+)|timeout:\s*(\d+)/g);for(const o of D){const c=o.options.test,l=o.options.demoPath;if(c&&Array.isArray(c)&&c.length)for(let n=0;n<c.length;n++){const i=c[n].matchAll(E),l={};Array.from(i).forEach((t=>{t[0].startsWith("skip")?l.skip=t[1]:t[0].startsWith("wait")?l.wait=parseInt(t[2]):t[0].startsWith("cat")?l.cat=t[3]:t[0].startsWith("timeout")&&(l.timeout=parseInt(t[4]))}));const u=new b(f,1===c.length?o.name:`${o.name} ${n+1}`,(()=>s(this,void 0,void 0,(function*(){const t=yield e.functions.eval(k(c[n],o));if(l.wait&&(yield N(l.wait)),"boolean"==typeof t&&!t)throw`Failed: ${c[n]}, expected true, got ${t}`}))),{skipReason:l.skip,timeout:t.Test.isInBenchmark?null!==(g=l.benchmarkTimeout)&&void 0!==g?g:a:null!==(C=l.timeout)&&void 0!==C?C:r});if(l.cat){const t=f+": "+l.cat;u.category=t,void 0===S[t]&&(S[t]={tests:[],clear:!0}),S[t].tests.push(u)}else A.push(u)}if(l){const n=o.options.demoWait?parseInt(o.options.demoWait):void 0,i=new b(h,o.friendlyName,(()=>s(this,void 0,void 0,(function*(){e.shell.isInDemo=!0,void 0===e.shell.view(t.View.BROWSE)&&(e.shell.v=t.View.createByType(t.View.BROWSE)),yield N(300),e.shell.clearLastError(),yield o.apply(),yield N(n||2e3);const i=yield e.shell.lastError;if(i)throw new Error(i);e.shell.isInDemo=!1}))),{skipReason:o.options.demoSkip});L.push(i)}if(o.hasTag("semTypeDetector")){let t=i;o.options.testData&&(t=yield e.data.files.openTable(`System:AppData/${n.nqName}/${o.options.testData}`));const r=new b(x,o.friendlyName,(()=>s(this,void 0,void 0,(function*(){const e=[];console.log(`System:AppData/${n.nqName}/${o.options.testData}`);for(const n of t.clone().columns){const t=yield o.apply([n]);e.push(t||n.semType)}const i=e.filter((t=>t));O(i.length,1),o.options.testDataColumnName&&O(i[0],o.options.testDataColumnName)}))),{skipReason:o.options.skipTest});T.push(r)}}v[w]=!0,A.length>0&&(S[f]={tests:A,clear:!0}),L.length>0&&(S[h]={tests:L,clear:!0}),T.length>0&&(S[x]={tests:T,clear:!1})}))}function A(e){return s(this,void 0,void 0,(function*(){return`${e.toString()}\n${e.stack?yield t.Logger.translateStackTrace(e.stack):""}`}))}function L(n,o,i,a,l,u){var d,f,h,x,p,v,m,g,C,b;return s(this,void 0,void 0,(function*(){let s;i.length=0;let w="package";const O=null!=o&&n.name.toLowerCase()!==o.toLowerCase();let k=(null===(d=n.options)||void 0===d?void 0:d.skipReason)||O,S=O?"skipped":null===(f=n.options)||void 0===f?void 0:f.skipReason;if(t.Test.isInBenchmark&&!(null===(h=n.options)||void 0===h?void 0:h.benchmark))return void c(`SKIPPED: ${n.category} ${n.name} doesnt available in benchmark mode`);k||c(`Started ${n.category} ${n.name}`);const L=Date.now();try{if(k)s={date:(new Date).toISOString(),success:!0,result:S,ms:0,skipped:!0};else{let t=null!=a?a:r;s={date:(new Date).toISOString(),success:!0,result:null!==(x=yield E(n.test,t))&&void 0!==x?x:"OK",ms:0,skipped:!1}}}catch(t){y(t),s={date:(new Date).toISOString(),success:!1,result:yield A(t),ms:0,skipped:!1}}if((null===(p=n.options)||void 0===p?void 0:p.isAggregated)&&s.result.constructor===t.DataFrame){const t=s.result.col("success");if(t&&(s.success=t.stats.sum===t.length),!u){const t=s.result;t.columns.remove("stack"),t.rows.removeWhere((t=>t.get("success"))),s.result=t}s.result=s.result.toCsv()}if(s.logs=i.join("\n"),s.ms=Date.now()-L,k||c(`Finished ${n.category} ${n.name} for ${s.ms} ms`),s.category=n.category,s.name=n.name,s.owner=null!==(m=null===(v=n.options)||void 0===v?void 0:v.owner)&&void 0!==m?m:"",!O){let o={success:s.success,result:s.result,ms:s.ms,date:s.date,skipped:s.skipped,package:l,category:n.category,name:n.name,logs:s.logs,owner:s.owner,flaking:t.Test.isReproducing&&s.success,timeoutWarning:t.Test.isInBenchmark&&(null===(g=n.options)||void 0===g?void 0:g.benchmarkWarnTimeout)&&s.ms>(null===(C=n.options)||void 0===C?void 0:C.benchmarkWarnTimeout)};if(s.result.constructor==Object){const t=Object.keys(s.result).reduce(((t,e)=>Object.assign(Object.assign({},t),{["result."+e]:s.result[e]})),{});o=Object.assign(Object.assign({},o),t)}o.result instanceof t.DataFrame&&(o.result=JSON.stringify(null===(b=o.result)||void 0===b?void 0:b.toJson())||""),null!=e.shell.reportTest?yield e.shell.reportTest(w,o):yield fetch(`${e.dapi.root}/log/tests/${w}`,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(o)})}return s}))}function T(t){const e=t.slice();return e.sort((()=>Math.random()-.5)),e}function N(t){return s(this,void 0,void 0,(function*(){yield new Promise((e=>setTimeout(e,t)))}))}function D(t,e="Timeout exceeded",n=500,o=50){return s(this,void 0,void 0,(function*(){return new Promise(((i,s)=>{setTimeout((()=>{clearInterval(r),s(new Error(e))}),n);const r=setInterval((()=>{t()&&(clearInterval(r),i())}),o)}))}))}function E(t,e,n="EXECUTION TIMEOUT"){return s(this,void 0,void 0,(function*(){let o=null;const i=new Promise(((t,i)=>{o=setTimeout((()=>{i(n)}),e)}));try{return yield Promise.race([t(),i])}finally{o&&clearTimeout(o)}}))}t.DataFrame.fromColumns([t.Column.fromStrings("col",["val1","val2","val3"])]);const R=ui;var P=function(t,e,n,o){return new(n||(n=Promise))((function(i,s){function r(t){try{c(o.next(t))}catch(t){s(t)}}function a(t){try{c(o.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(r,a)}c((o=o.apply(t,e||[])).next())}))},M=e.chem.Sketcher;const I="c1ccccc1",F="\n Ketcher 8 92217 42D 1 1.00000 0.00000 0 \n\n 6 5 0 0 0 0 0 0 0 0999 V2000\n -3.6828 1.5285 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -4.3973 1.1160 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0\n -5.1117 1.5285 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -3.6828 2.3535 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0\n -2.9683 1.1160 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0\n -2.2339 1.4893 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 2 1 1 0 0 0 0\n 2 3 1 0 0 0 0\n 1 4 2 0 0 0 0\n 1 5 1 0 0 0 0\n 5 6 1 0 0 0 0\nM END",_="[!#6&!#7]1:[#6]:[#6]:[#6]:[#6]:[#6]:1";function K(){return P(this,void 0,void 0,(function*(){const n=yield t.Func.find({tags:["moleculeSketcher"],name:"ketcherSketcher"})[0];e.chem.currentSketcherType=n.friendlyName;const o=new M,i=R.dialog().add(o).show();return yield D((()=>{var t;return!0===(null===(t=o.sketcher)||void 0===t?void 0:t.isInitialized)}),void 0,1e4),{sketcher:o.sketcher,dialog:i}}))}var V,U=function(t,e,n,o){return new(n||(n=Promise))((function(i,s){function r(t){try{c(o.next(t))}catch(t){s(t)}}function a(t){try{c(o.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(r,a)}c((o=o.apply(t,e||[])).next())}))};V=()=>U(void 0,void 0,void 0,(function*(){null==d[m]&&(d[m]={}),d[m].before=()=>U(void 0,void 0,void 0,(function*(){})),w("setSmiles",(()=>U(void 0,void 0,void 0,(function*(){yield function(){return P(this,void 0,void 0,(function*(){const{sketcher:t,dialog:e}=yield K();t.setKetcherMolecule(I),yield D((()=>t._smiles===I),"molecule has not been set",1e4),e.close()}))}()})))),w("setMolfile",(()=>U(void 0,void 0,void 0,(function*(){yield function(){return P(this,void 0,void 0,(function*(){const{sketcher:t,dialog:n}=yield K();t.setKetcherMolecule(F);const o=yield e.functions.call("Chem:getRdKitModule");yield D((()=>{if(t._molV2000){const e=o.get_mol(F),n=o.get_mol(t._molV2000),i=e.get_substruct_match(n),s=n.get_substruct_match(e);return e.delete(),n.delete(),"{}"!==i&&"{}"!==s}return!1}),"molecule has not been set",1e4),n.close()}))}()})))),w("setSmarts",(()=>U(void 0,void 0,void 0,(function*(){yield function(){return P(this,void 0,void 0,(function*(){const{sketcher:t,dialog:n}=yield K();t.setKetcherMolecule(_),yield D((()=>null!==t._molV3000&&""!==t._molV3000),"molecule has not been set",1e4);const o=yield t.getSmarts(),i=yield e.functions.call("Chem:getRdKitModule"),s=i.get_qmol(_),r=s.get_smarts();null==s||s.delete();const a=i.get_qmol(o),c=a.get_smarts();null==a||a.delete(),O(c,r),n.close()}))}()})))),null==d[m]&&(d[m]={}),d[m].after=()=>U(void 0,void 0,void 0,(function*(){}))})),m="ketcher",V(),d[m]&&(d[m].clear=!0,d[m].timeout=void 0,d[m].benchmarks=void 0,d[m].stressTests=void 0,d[m].owner=void 0);var H=function(t,e,n,o){return new(n||(n=Promise))((function(i,s){function r(t){try{c(o.next(t))}catch(t){s(t)}}function a(t){try{c(o.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(r,a)}c((o=o.apply(t,e||[])).next())}))};const W=new t.Package;function $(n,o,i){return H(this,void 0,void 0,(function*(){const f=yield function(n){var o,i,f,h;return s(this,void 0,void 0,(function*(){const x=null===(i=null===(o=e.functions.getCurrentCall())||void 0===o?void 0:o.func)||void 0===i?void 0:i.package;yield S(x);const p=[];console.log("Running tests"),null!=n||(n={}),null!==(f=(h=n).testContext)&&void 0!==f||(h.testContext=new C),e.shell.clearLastError();const v=function(){const t=[];return console.log=(...e)=>{t.push(...e),c(...e)},console.info=(...e)=>{t.push(...e),l(...e)},console.warn=(...e)=>{t.push(...e),u(...e)},console.error=(...e)=>{t.push(...e),y(...e)},t}();yield function(n,o){var i,d,f,h,g,C,b,w,O,k,S,A,D,E,R,P,M,I,F,_;return s(this,void 0,void 0,(function*(){try{for(const[s,l]of Object.entries(n)){if((null==o?void 0:o.category)&&!s.toLowerCase().startsWith(null==o?void 0:o.category.toLowerCase())||(null===(i=o.exclude)||void 0===i?void 0:i.some((t=>s.startsWith(t)))))continue;c(`Started ${s} category`);const n=null===(d=l.tests)||void 0===d?void 0:d.every((t=>{var e;return null===(e=t.options)||void 0===e?void 0:e.skipReason}));n||(l.beforeStatus=yield m(l.before,null!==(f=o.category)&&void 0!==f?f:""));let u=null!==(h=l.tests)&&void 0!==h?h:[];o.stressTest&&(u=u.filter((t=>{var e;return null===(e=t.options)||void 0===e?void 0:e.stressTest})),u=T(u)),(null!==(C=null===(g=o.tags)||void 0===g?void 0:g.length)&&void 0!==C?C:0)>0&&(u=u.filter((t=>{var e,n;return null===(n=null===(e=t.options)||void 0===e?void 0:e.tags)||void 0===n?void 0:n.some((t=>{var e;return(null!==(e=null==o?void 0:o.tags)&&void 0!==e?e:[]).includes(t)}))})));const y=[];if(l.clear)for(let n=0;n<u.length;n++){u[n].options&&void 0===(null===(b=u[n].options)||void 0===b?void 0:b.benchmark)&&(u[n].options||(u[n].options={}),u[n].options.benchmark=null!==(w=l.benchmarks)&&void 0!==w&&w);let i=u[n];(null==i?void 0:i.options)&&(i.options.owner=null!==(k=null===(O=u[n].options)||void 0===O?void 0:O.owner)&&void 0!==k?k:null==l?void 0:l.owner);let s=yield L(i,null==o?void 0:o.test,v,t.Test.isInBenchmark?null!==(A=null===(S=u[n].options)||void 0===S?void 0:S.benchmarkTimeout)&&void 0!==A?A:a:null!==(E=null===(D=u[n].options)||void 0===D?void 0:D.timeout)&&void 0!==E?E:r,x.name,o.verbose);s&&y.push(s),e.shell.closeAll(),t.Balloon.closeAll()}else for(let e=0;e<u.length;e++){let n=u[e];(null==n?void 0:n.options)&&(n.options.owner=null!==(P=null===(R=u[e].options)||void 0===R?void 0:R.owner)&&void 0!==P?P:null==l?void 0:l.owner);let i=yield L(n,null==o?void 0:o.test,v,t.Test.isInBenchmark?null!==(I=null===(M=u[e].options)||void 0===M?void 0:M.benchmarkTimeout)&&void 0!==I?I:a:null===(F=u[e].options)||void 0===F?void 0:F.timeout,x.name,o.verbose);i&&y.push(i)}const N=y.filter((t=>"skipped"!=t.result));n||(l.afterStatus=yield m(l.after,null!==(_=o.category)&&void 0!==_?_:"")),l.afterStatus&&N.push({date:(new Date).toISOString(),logs:"",category:s,name:"after",result:l.afterStatus,success:!1,ms:0,skipped:!1}),l.beforeStatus&&N.push({date:(new Date).toISOString(),logs:"",category:s,name:"before",result:l.beforeStatus,success:!1,ms:0,skipped:!1}),p.push(...N)}}finally{console.log=c,console.info=l,console.warn=u,console.error=y}if(o.testContext.catchUnhandled&&!t.Test.isInBenchmark){yield N(1e3);const n=yield e.shell.lastError,o={logs:"",date:(new Date).toISOString(),category:"Unhandled exceptions",name:"Exception",result:null!=n?n:"",success:!n,ms:0,skipped:!1,flaking:t.Test.isReproducing&&!n};p.push(o),o.package=x.name,null!=e.shell.reportTest?yield e.shell.reportTest("package",o):yield fetch(`${e.dapi.root}/log/tests/package`,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(o)})}}))}(d,n);for(let t of p)t.result=t.result.toString().replace(/"/g,"'"),null!=t.logs&&(t.logs=t.logs.toString().replace(/"/g,"'"));return p;function m(t,e){return s(this,void 0,void 0,(function*(){var n=void 0;try{void 0!==t&&(yield E((()=>s(this,void 0,void 0,(function*(){yield t()}))),1e5,`before ${e}: timeout error`))}catch(t){n=yield A(t)}return n}))}}))}({category:n,test:o,testContext:i});return t.DataFrame.fromObjects(f)}))}function j(){return H(this,void 0,void 0,(function*(){yield S(W,W.getModule("package-test.js"))}))}})(),ketchersketcher_test=o})();
1
+ var ketchersketcher_test;(()=>{var t={89133:function(t,e,n){var o;!function(e,i){var s={};!function(t){"use strict";t.__esModule=!0,t.digestLength=32,t.blockSize=64;var e=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function n(t,n,o,i,s){for(var r,a,c,l,u,d,y,f,h,x,p,v,m;s>=64;){for(r=n[0],a=n[1],c=n[2],l=n[3],u=n[4],d=n[5],y=n[6],f=n[7],x=0;x<16;x++)p=i+4*x,t[x]=(255&o[p])<<24|(255&o[p+1])<<16|(255&o[p+2])<<8|255&o[p+3];for(x=16;x<64;x++)v=((h=t[x-2])>>>17|h<<15)^(h>>>19|h<<13)^h>>>10,m=((h=t[x-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3,t[x]=(v+t[x-7]|0)+(m+t[x-16]|0);for(x=0;x<64;x++)v=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&d^~u&y)|0)+(f+(e[x]+t[x]|0)|0)|0,m=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&a^r&c^a&c)|0,f=y,y=d,d=u,u=l+v|0,l=c,c=a,a=r,r=v+m|0;n[0]+=r,n[1]+=a,n[2]+=c,n[3]+=l,n[4]+=u,n[5]+=d,n[6]+=y,n[7]+=f,i+=64,s-=64}return i}var o=function(){function e(){this.digestLength=t.digestLength,this.blockSize=t.blockSize,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}return e.prototype.reset=function(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this},e.prototype.clean=function(){for(var t=0;t<this.buffer.length;t++)this.buffer[t]=0;for(t=0;t<this.temp.length;t++)this.temp[t]=0;this.reset()},e.prototype.update=function(t,e){if(void 0===e&&(e=t.length),this.finished)throw new Error("SHA256: can't update because hash was finished.");var o=0;if(this.bytesHashed+=e,this.bufferLength>0){for(;this.bufferLength<64&&e>0;)this.buffer[this.bufferLength++]=t[o++],e--;64===this.bufferLength&&(n(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(e>=64&&(o=n(this.temp,this.state,t,o,e),e%=64);e>0;)this.buffer[this.bufferLength++]=t[o++],e--;return this},e.prototype.finish=function(t){if(!this.finished){var e=this.bytesHashed,o=this.bufferLength,i=e/536870912|0,s=e<<3,r=e%64<56?64:128;this.buffer[o]=128;for(var a=o+1;a<r-8;a++)this.buffer[a]=0;this.buffer[r-8]=i>>>24&255,this.buffer[r-7]=i>>>16&255,this.buffer[r-6]=i>>>8&255,this.buffer[r-5]=i>>>0&255,this.buffer[r-4]=s>>>24&255,this.buffer[r-3]=s>>>16&255,this.buffer[r-2]=s>>>8&255,this.buffer[r-1]=s>>>0&255,n(this.temp,this.state,this.buffer,0,r),this.finished=!0}for(a=0;a<8;a++)t[4*a+0]=this.state[a]>>>24&255,t[4*a+1]=this.state[a]>>>16&255,t[4*a+2]=this.state[a]>>>8&255,t[4*a+3]=this.state[a]>>>0&255;return this},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype._saveState=function(t){for(var e=0;e<this.state.length;e++)t[e]=this.state[e]},e.prototype._restoreState=function(t,e){for(var n=0;n<this.state.length;n++)this.state[n]=t[n];this.bytesHashed=e,this.finished=!1,this.bufferLength=0},e}();t.Hash=o;var i=function(){function t(t){this.inner=new o,this.outer=new o,this.blockSize=this.inner.blockSize,this.digestLength=this.inner.digestLength;var e=new Uint8Array(this.blockSize);if(t.length>this.blockSize)(new o).update(t).finish(e).clean();else for(var n=0;n<t.length;n++)e[n]=t[n];for(n=0;n<e.length;n++)e[n]^=54;for(this.inner.update(e),n=0;n<e.length;n++)e[n]^=106;for(this.outer.update(e),this.istate=new Uint32Array(8),this.ostate=new Uint32Array(8),this.inner._saveState(this.istate),this.outer._saveState(this.ostate),n=0;n<e.length;n++)e[n]=0}return t.prototype.reset=function(){return this.inner._restoreState(this.istate,this.inner.blockSize),this.outer._restoreState(this.ostate,this.outer.blockSize),this},t.prototype.clean=function(){for(var t=0;t<this.istate.length;t++)this.ostate[t]=this.istate[t]=0;this.inner.clean(),this.outer.clean()},t.prototype.update=function(t){return this.inner.update(t),this},t.prototype.finish=function(t){return this.outer.finished?this.outer.finish(t):(this.inner.finish(t),this.outer.update(t,this.digestLength).finish(t)),this},t.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},t}();function s(t){var e=(new o).update(t),n=e.digest();return e.clean(),n}function r(t,e){var n=new i(t).update(e),o=n.digest();return n.clean(),o}function a(t,e,n,o){var i=o[0];if(0===i)throw new Error("hkdf: cannot expand more");e.reset(),i>1&&e.update(t),n&&e.update(n),e.update(o),e.finish(t),o[0]++}t.HMAC=i,t.hash=s,t.default=s,t.hmac=r;var c=new Uint8Array(t.digestLength);t.hkdf=function(t,e,n,o){void 0===e&&(e=c),void 0===o&&(o=32);for(var s=new Uint8Array([1]),l=r(e,t),u=new i(l),d=new Uint8Array(u.digestLength),y=d.length,f=new Uint8Array(o),h=0;h<o;h++)y===d.length&&(a(d,u,n,s),y=0),f[h]=d[y++];return u.clean(),d.fill(0),s.fill(0),f},t.pbkdf2=function(t,e,n,o){for(var s=new i(t),r=s.digestLength,a=new Uint8Array(4),c=new Uint8Array(r),l=new Uint8Array(r),u=new Uint8Array(o),d=0;d*r<o;d++){var y=d+1;a[0]=y>>>24&255,a[1]=y>>>16&255,a[2]=y>>>8&255,a[3]=y>>>0&255,s.reset(),s.update(e),s.update(a),s.finish(l);for(var f=0;f<r;f++)c[f]=l[f];for(f=2;f<=n;f++){s.reset(),s.update(l).finish(l);for(var h=0;h<r;h++)c[h]^=l[h]}for(f=0;f<r&&d*r+f<o;f++)u[d*r+f]=c[f]}for(d=0;d<r;d++)c[d]=l[d]=0;for(d=0;d<4;d++)a[d]=0;return s.clean(),u}}(s);var r=s.default;for(var a in s)r[a]=s[a];"object"==typeof t.exports?t.exports=r:void 0===(o=function(){return r}.call(s,n,s,t))||(t.exports=o)}()}},e={};function n(o){var i=e[o];if(void 0!==i)return i.exports;var s=e[o]={exports:{}};return t[o].call(s.exports,s,s.exports,n),s.exports}n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";n.r(o),n.d(o,{_package:()=>W,initAutoTests:()=>G,test:()=>j,tests:()=>y});const t=DG,e=grok;n(89133);const i=t.DataFrame.fromCsv('countries,fasta,smiles,molregno,LON,Zip Code,Street Address Line 1,ImageUrl,user_id,error_message,xray,flag,magnitude,CS-id,pdb_id,accel_a,time_offset,chart,fit,Questions,empty_number,empty_string\nBelgium,MSNFHNEHVMQFYRNNLKTKGVFGRQ,CC(C(=O)OCCCc1cccnc1)c2cccc(c2)C(=O)c3ccccc3,1480014,36.276729583740234,995042300,14016 ROUTE 31W,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,1,1,1QBS,1,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[2.497360340644872, 1.7058694986686864, 5.278052678195135, 0.16000320889028383],""points"":[{""x"":0.10000000149011612,""y"":2.374499797821045},{""x"":0.6000000238418579,""y"":2.6242473125457764},{""x"":1.100000023841858,""y"":2.367267608642578},{""x"":1.600000023841858,""y"":2.6723148822784424},{""x"":2.0999999046325684,""y"":2.6537344455718994},{""x"":2.5999999046325684,""y"":2.3651671409606934},{""x"":3.0999999046325684,""y"":2.5654284954071045},{""x"":3.5999999046325684,""y"":2.4160959720611572},{""x"":4.099999904632568,""y"":2.286726713180542},{""x"":4.599999904632568,""y"":2.5100042819976807},{""x"":5.099999904632568,""y"":1.6676985025405884},{""x"":5.599999904632568,""y"":0.680136501789093},{""x"":6.099999904632568,""y"":0.3391543924808502},{""x"":6.599999904632568,""y"":0.09038983285427094},{""x"":7.099999904632568,""y"":0.19802775979042053}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[7.525235855508179, 1.3186911876809984, 5.335672608564294, 0.7860743343958098],""points"":[{""x"":0.10000000149011612,""y"":7.988070487976074},{""x"":0.6000000238418579,""y"":7.018453121185303},{""x"":1.100000023841858,""y"":8.115279197692871},{""x"":1.600000023841858,""y"":7.486658096313477},{""x"":2.0999999046325684,""y"":7.396438121795654},{""x"":2.5999999046325684,""y"":7.477052211761475},{""x"":3.0999999046325684,""y"":6.913095474243164},{""x"":3.5999999046325684,""y"":8.01385498046875},{""x"":4.099999904632568,""y"":6.985900402069092},{""x"":4.599999904632568,""y"":6.970335960388184},{""x"":5.099999904632568,""y"":5.448817253112793},{""x"":5.599999904632568,""y"":2.5534818172454834},{""x"":6.099999904632568,""y"":1.893947958946228},{""x"":6.599999904632568,""y"":0.6340042352676392},{""x"":7.099999904632568,""y"":0.8403874039649963}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,100,abc\nBurundi,MDYKETLLMPKTDFPMRGGLPNKEPQIQEKW,COc1ccc2cc(ccc2c1)C(C)C(=O)Oc3ccc(C)cc3OC,1480015,36.276729583740234,995073444,80 STATE HIGHWAY 310,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,2,2,1ZP8,2,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[4.431460753103398, 2.1691498799246745, 5.266445597102774, 0.7825762827017926],""points"":[{""x"":0.10000000149011612,""y"":4.751083850860596},{""x"":0.6000000238418579,""y"":4.203000068664551},{""x"":1.100000023841858,""y"":4.415858745574951},{""x"":1.600000023841858,""y"":4.68414306640625},{""x"":2.0999999046325684,""y"":4.198400974273682},{""x"":2.5999999046325684,""y"":4.179222106933594},{""x"":3.0999999046325684,""y"":4.638473987579346},{""x"":3.5999999046325684,""y"":4.708553314208984},{""x"":4.099999904632568,""y"":4.291589260101318},{""x"":4.599999904632568,""y"":4.038082599639893},{""x"":5.099999904632568,""y"":3.4349939823150635},{""x"":5.599999904632568,""y"":1.2194708585739136},{""x"":6.099999904632568,""y"":1.1920831203460693},{""x"":6.599999904632568,""y"":0.5352635979652405},{""x"":7.099999904632568,""y"":0.3346920311450958}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[2.339458017970126, -1.0734184310171178, 4.746332950550934, 0.2482416857595658],""points"":[{""x"":0.10000000149011612,""y"":0.2139337658882141},{""x"":0.6000000238418579,""y"":0.4269562065601349},{""x"":1.100000023841858,""y"":0.2441573292016983},{""x"":1.600000023841858,""y"":0.146635964512825},{""x"":2.0999999046325684,""y"":0.08818462491035461},{""x"":2.5999999046325684,""y"":0.2560656666755676},{""x"":3.0999999046325684,""y"":0.42434045672416687},{""x"":3.5999999046325684,""y"":0.37111231684684753},{""x"":4.099999904632568,""y"":0.5581737160682678},{""x"":4.599999904632568,""y"":1.183590054512024},{""x"":5.099999904632568,""y"":1.5629843473434448},{""x"":5.599999904632568,""y"":2.3211288452148438},{""x"":6.099999904632568,""y"":2.229961633682251},{""x"":6.599999904632568,""y"":2.2560226917266846},{""x"":7.099999904632568,""y"":2.2142398357391357}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCameroon,MIEVFLFGIVLGLIPITLAGLFVTAYLQYRRGDQLDL,COc1ccc2cc(ccc2c1)C(C)C(=O)OCCCc3cccnc3,1480016,36.26095962524414,995153596,30-56 WHITESTONE EXPY,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,3,3,2BDJ,3,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[4.6760652578642325, 0.9046956320756703, 5.651408971856738, 0.07738846012184185],""points"":[{""x"":0.10000000149011612,""y"":4.32425594329834},{""x"":0.6000000238418579,""y"":4.668442249298096},{""x"":1.100000023841858,""y"":4.379785060882568},{""x"":1.600000023841858,""y"":5.0345139503479},{""x"":2.0999999046325684,""y"":4.878653526306152},{""x"":2.5999999046325684,""y"":4.3451313972473145},{""x"":3.0999999046325684,""y"":4.336992263793945},{""x"":3.5999999046325684,""y"":5.037430286407471},{""x"":4.099999904632568,""y"":5.0092692375183105},{""x"":4.599999904632568,""y"":4.151902675628662},{""x"":5.099999904632568,""y"":3.4066951274871826},{""x"":5.599999904632568,""y"":2.3732759952545166},{""x"":6.099999904632568,""y"":1.673728108406067},{""x"":6.599999904632568,""y"":0.48574790358543396},{""x"":7.099999904632568,""y"":0.2783052325248718}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[2.938395863010111, -1.4658480661392117, 5.462702751996584, 0.3473139023615039],""points"":[{""x"":0.10000000149011612,""y"":0.4941710829734802},{""x"":0.6000000238418579,""y"":0.15323974192142487},{""x"":1.100000023841858,""y"":0.46373432874679565},{""x"":1.600000023841858,""y"":0.3370431363582611},{""x"":2.0999999046325684,""y"":0.5179030299186707},{""x"":2.5999999046325684,""y"":0.27899765968322754},{""x"":3.0999999046325684,""y"":0.22075064480304718},{""x"":3.5999999046325684,""y"":0.5789918899536133},{""x"":4.099999904632568,""y"":0.21169911324977875},{""x"":4.599999904632568,""y"":0.27857646346092224},{""x"":5.099999904632568,""y"":1.0906332731246948},{""x"":5.599999904632568,""y"":1.8520300388336182},{""x"":6.099999904632568,""y"":2.7177059650421143},{""x"":6.599999904632568,""y"":2.8680918216705322},{""x"":7.099999904632568,""y"":3.2413077354431152}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCanada,MMELVLKTIIGPIVVGVVLRIVDKWLNKDK,CC(C(=O)NCCS)c1cccc(c1)C(=O)c2ccccc2,1480017,36.26095962524414,99515,30-56 WHITESTONE EXPY,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,4,4,1IAN,4,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[0.8597390975430008, 1.0957625732481946, 5.260537067987958, 0.07974187998177736],""points"":[{""x"":0.10000000149011612,""y"":0.8190152645111084},{""x"":0.6000000238418579,""y"":0.8421689867973328},{""x"":1.100000023841858,""y"":0.8740922212600708},{""x"":1.600000023841858,""y"":0.8924275040626526},{""x"":2.0999999046325684,""y"":0.8249067664146423},{""x"":2.5999999046325684,""y"":0.9327669143676758},{""x"":3.0999999046325684,""y"":0.8522974252700806},{""x"":3.5999999046325684,""y"":0.8174492716789246},{""x"":4.099999904632568,""y"":0.8394647240638733},{""x"":4.599999904632568,""y"":0.7139387726783752},{""x"":5.099999904632568,""y"":0.5561167597770691},{""x"":5.599999904632568,""y"":0.3276226818561554},{""x"":6.099999904632568,""y"":0.12479474395513535},{""x"":6.599999904632568,""y"":0.13006797432899475},{""x"":7.099999904632568,""y"":0.059702079743146896}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.760930219582546, 1.6591793293833013, 4.667155929720851, 0.7858109544121652],""points"":[{""x"":0.10000000149011612,""y"":6.156993389129639},{""x"":0.6000000238418579,""y"":5.236701965332031},{""x"":1.100000023841858,""y"":6.010560512542725},{""x"":1.600000023841858,""y"":5.495512962341309},{""x"":2.0999999046325684,""y"":6.087770462036133},{""x"":2.5999999046325684,""y"":5.79986572265625},{""x"":3.0999999046325684,""y"":5.597546577453613},{""x"":3.5999999046325684,""y"":5.520902156829834},{""x"":4.099999904632568,""y"":5.360654354095459},{""x"":4.599999904632568,""y"":3.5539746284484863},{""x"":5.099999904632568,""y"":1.577236294746399},{""x"":5.599999904632568,""y"":1.0001264810562134},{""x"":6.099999904632568,""y"":0.9305797815322876},{""x"":6.599999904632568,""y"":0.6033638715744019},{""x"":7.099999904632568,""y"":0.4203685522079468}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nColombia,MDRTDEVSNHTHDKPTLTWFEEIFEEYHSPFHN,FC(F)(F)c1ccc(OC2CCNCC2)cc1,1480029,36.3309440612793,995152050,1 COURT HOUSE SQUARE,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,5,5,4UJ1,5,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[6.4995088314153655, 2.4270351004539914, 5.178659535348579, 0.625653346241577],""points"":[{""x"":0.10000000149011612,""y"":6.496231555938721},{""x"":0.6000000238418579,""y"":6.42543363571167},{""x"":1.100000023841858,""y"":7.040063858032227},{""x"":1.600000023841858,""y"":6.1115403175354},{""x"":2.0999999046325684,""y"":6.680728435516357},{""x"":2.5999999046325684,""y"":6.406774520874023},{""x"":3.0999999046325684,""y"":6.611269474029541},{""x"":3.5999999046325684,""y"":5.889094352722168},{""x"":4.099999904632568,""y"":6.75344705581665},{""x"":4.599999904632568,""y"":6.361435890197754},{""x"":5.099999904632568,""y"":4.1666975021362305},{""x"":5.599999904632568,""y"":1.172118902206421},{""x"":6.099999904632568,""y"":0.801048994064331},{""x"":6.599999904632568,""y"":0.4640021026134491},{""x"":7.099999904632568,""y"":0.0010357667924836278}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[1.4734381347446401, 1.1649805188074196, 4.82958608866421, 0.09500545496710007],""points"":[{""x"":0.10000000149011612,""y"":1.5279096364974976},{""x"":0.6000000238418579,""y"":1.3559974431991577},{""x"":1.100000023841858,""y"":1.5246378183364868},{""x"":1.600000023841858,""y"":1.5567657947540283},{""x"":2.0999999046325684,""y"":1.4114240407943726},{""x"":2.5999999046325684,""y"":1.4045010805130005},{""x"":3.0999999046325684,""y"":1.4769829511642456},{""x"":3.5999999046325684,""y"":1.4875500202178955},{""x"":4.099999904632568,""y"":1.2991987466812134},{""x"":4.599999904632568,""y"":0.922961413860321},{""x"":5.099999904632568,""y"":0.6520044803619385},{""x"":5.599999904632568,""y"":0.15350978076457977},{""x"":6.099999904632568,""y"":0.1078903079032898},{""x"":6.599999904632568,""y"":0.17276449501514435},{""x"":7.099999904632568,""y"":0.14066608250141144}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCosta Rica,MKSTKEEIQTIKTLLKDSRTAKYHKRLQIVL,CC(C)Cc1ccc(cc1)C(C)C(=O)N2CCCC2C(=O)OCCCc3ccccc3,1480018,36.3309440612793,995084218,4041 SOUTHWESTERN BLVD,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,6,6,2BPW,6,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[2.4833641843311227, -1.8945978742090062, 4.671127708092568, 0.24159861311815153],""points"":[{""x"":0.10000000149011612,""y"":0.0969524160027504},{""x"":0.6000000238418579,""y"":0.028483040630817413},{""x"":1.100000023841858,""y"":0.22087176144123077},{""x"":1.600000023841858,""y"":0.0068915546871721745},{""x"":2.0999999046325684,""y"":0.4305879771709442},{""x"":2.5999999046325684,""y"":0.44774115085601807},{""x"":3.0999999046325684,""y"":0.45346319675445557},{""x"":3.5999999046325684,""y"":0.2370593100786209},{""x"":4.099999904632568,""y"":0.4657953977584839},{""x"":4.599999904632568,""y"":1.155200719833374},{""x"":5.099999904632568,""y"":2.2294070720672607},{""x"":5.599999904632568,""y"":2.4311530590057373},{""x"":6.099999904632568,""y"":2.33846116065979},{""x"":6.599999904632568,""y"":2.608201026916504},{""x"":7.099999904632568,""y"":2.8136143684387207}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.224573521642033, 1.4454033924198528, 5.6014197746076535, 0.2823216054197577],""points"":[{""x"":0.10000000149011612,""y"":4.95027494430542},{""x"":0.6000000238418579,""y"":5.1754679679870605},{""x"":1.100000023841858,""y"":5.276752948760986},{""x"":1.600000023841858,""y"":5.589294910430908},{""x"":2.0999999046325684,""y"":5.616994857788086},{""x"":2.5999999046325684,""y"":5.120813846588135},{""x"":3.0999999046325684,""y"":5.340766906738281},{""x"":3.5999999046325684,""y"":4.876471042633057},{""x"":4.099999904632568,""y"":4.94999361038208},{""x"":4.599999904632568,""y"":5.162564754486084},{""x"":5.099999904632568,""y"":4.399557590484619},{""x"":5.599999904632568,""y"":2.7977969646453857},{""x"":6.099999904632568,""y"":1.0229872465133667},{""x"":6.599999904632568,""y"":0.48275601863861084},{""x"":7.099999904632568,""y"":0.10408931970596313}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nCuba,MHAILRYFIRRLFYHIFYKIYSLISKKHQSLPSDVRQF,COc1ccc2c(c1)c(CC(=O)N3CCCC3C(=O)Oc4ccc(C)cc4OC)c(C)n2C(=O)c5ccc(Cl)cc5,1480019,36.33115768432617,995081928,1227 US HIGHWAY 11,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,7,7,1QBS,7,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[3.320838679713925, -1.2421619987316728, 4.831325425225256, 0.3236011098403072],""points"":[{""x"":0.10000000149011612,""y"":0.3727470338344574},{""x"":0.6000000238418579,""y"":0.12365014106035233},{""x"":1.100000023841858,""y"":0.48422467708587646},{""x"":1.600000023841858,""y"":0.2264465093612671},{""x"":2.0999999046325684,""y"":0.16821794211864471},{""x"":2.5999999046325684,""y"":0.3879014551639557},{""x"":3.0999999046325684,""y"":0.5470244884490967},{""x"":3.5999999046325684,""y"":0.3419053554534912},{""x"":4.099999904632568,""y"":0.7655120491981506},{""x"":4.599999904632568,""y"":1.2346516847610474},{""x"":5.099999904632568,""y"":2.453336715698242},{""x"":5.599999904632568,""y"":2.9565491676330566},{""x"":6.099999904632568,""y"":3.335299491882324},{""x"":6.599999904632568,""y"":3.240290880203247},{""x"":7.099999904632568,""y"":3.1107218265533447}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[3.6401853521511094, 1.26211588875013, 5.399028074402744, 0.5089580830068091],""points"":[{""x"":0.10000000149011612,""y"":3.8585598468780518},{""x"":0.6000000238418579,""y"":3.6077206134796143},{""x"":1.100000023841858,""y"":3.855252265930176},{""x"":1.600000023841858,""y"":3.619039297103882},{""x"":2.0999999046325684,""y"":3.839388370513916},{""x"":2.5999999046325684,""y"":3.335283041000366},{""x"":3.0999999046325684,""y"":3.571141481399536},{""x"":3.5999999046325684,""y"":3.4155046939849854},{""x"":4.099999904632568,""y"":3.7316646575927734},{""x"":4.599999904632568,""y"":3.0680155754089355},{""x"":5.099999904632568,""y"":2.891066551208496},{""x"":5.599999904632568,""y"":1.6022753715515137},{""x"":6.099999904632568,""y"":0.7652576565742493},{""x"":6.599999904632568,""y"":0.6875326037406921},{""x"":7.099999904632568,""y"":0.5828871726989746}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nItaly,MSNFHNEHVMQFYRNNLKTKGVFGRQ,CC(C)Cc1ccc(cc1)C(C)C(=O)N2CCCC2C(=O)OCCO[N+](=O)[O-],1480020,36.33115768432617,99502,"168-46 91ST AVE., 2ND FLR",https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,8,8,1ZP8,8,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[2.293592105923809, 1.3781586549141835, 5.1025898038676605, 0.03493851245291291],""points"":[{""x"":0.10000000149011612,""y"":2.1287283897399902},{""x"":0.6000000238418579,""y"":2.267972230911255},{""x"":1.100000023841858,""y"":2.398442506790161},{""x"":1.600000023841858,""y"":2.5130622386932373},{""x"":2.0999999046325684,""y"":2.3255116939544678},{""x"":2.5999999046325684,""y"":2.127340793609619},{""x"":3.0999999046325684,""y"":2.47259783744812},{""x"":3.5999999046325684,""y"":2.131181478500366},{""x"":4.099999904632568,""y"":2.090421438217163},{""x"":4.599999904632568,""y"":2.02299165725708},{""x"":5.099999904632568,""y"":1.1105059385299683},{""x"":5.599999904632568,""y"":0.4494485855102539},{""x"":6.099999904632568,""y"":0.1375635862350464},{""x"":6.599999904632568,""y"":0.036351121962070465},{""x"":7.099999904632568,""y"":0.1619771122932434}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.953125499439879, 1.2528620255306528, 5.187637440149802, 0.3110348753260886],""points"":[{""x"":0.10000000149011612,""y"":5.6585283279418945},{""x"":0.6000000238418579,""y"":5.911152362823486},{""x"":1.100000023841858,""y"":5.924920082092285},{""x"":1.600000023841858,""y"":5.8469438552856445},{""x"":2.0999999046325684,""y"":5.929472923278809},{""x"":2.5999999046325684,""y"":6.190037727355957},{""x"":3.0999999046325684,""y"":6.236179828643799},{""x"":3.5999999046325684,""y"":6.141019344329834},{""x"":4.099999904632568,""y"":5.295210838317871},{""x"":4.599999904632568,""y"":5.265801906585693},{""x"":5.099999904632568,""y"":3.3722851276397705},{""x"":5.599999904632568,""y"":1.8299226760864258},{""x"":6.099999904632568,""y"":0.32690900564193726},{""x"":6.599999904632568,""y"":0.6274543404579163},{""x"":7.099999904632568,""y"":0.8441857099533081}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nRwanda,MPNSEPASLLELFNSIATQGELVRSLKAGNASK,CC(C)Cc1ccc(cc1)C(C)C(=O)N2CCCC2C(=O)OCCO,1480021,36.33137130737305,995037247,"168-46 91ST AVE., 2ND FLR",https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,9,9,2BDJ,9,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[3.8209972202654474, 1.3779216716448506, 5.299882228439686, 0.06040645519069608],""points"":[{""x"":0.10000000149011612,""y"":3.7821109294891357},{""x"":0.6000000238418579,""y"":3.542433023452759},{""x"":1.100000023841858,""y"":3.7008674144744873},{""x"":1.600000023841858,""y"":3.717301607131958},{""x"":2.0999999046325684,""y"":4.024452209472656},{""x"":2.5999999046325684,""y"":4.013899326324463},{""x"":3.0999999046325684,""y"":3.945094347000122},{""x"":3.5999999046325684,""y"":3.866621971130371},{""x"":4.099999904632568,""y"":3.7461626529693604},{""x"":4.599999904632568,""y"":3.3454740047454834},{""x"":5.099999904632568,""y"":2.61944317817688},{""x"":5.599999904632568,""y"":0.999405026435852},{""x"":6.099999904632568,""y"":0.46259793639183044},{""x"":6.599999904632568,""y"":0.054134611040353775},{""x"":7.099999904632568,""y"":0.05711187422275543}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[5.6318079657726035, 1.8495493770000595, 5.391793312471116, 0.17060707587348442],""points"":[{""x"":0.10000000149011612,""y"":5.458079814910889},{""x"":0.6000000238418579,""y"":5.554427146911621},{""x"":1.100000023841858,""y"":5.799983024597168},{""x"":1.600000023841858,""y"":5.364140033721924},{""x"":2.0999999046325684,""y"":5.864485740661621},{""x"":2.5999999046325684,""y"":5.4509806632995605},{""x"":3.0999999046325684,""y"":5.702574729919434},{""x"":3.5999999046325684,""y"":5.7314534187316895},{""x"":4.099999904632568,""y"":5.5123443603515625},{""x"":4.599999904632568,""y"":5.724395751953125},{""x"":5.099999904632568,""y"":4.354506969451904},{""x"":5.599999904632568,""y"":1.7307666540145874},{""x"":6.099999904632568,""y"":0.6305936574935913},{""x"":6.599999904632568,""y"":0.035183437168598175},{""x"":7.099999904632568,""y"":0.7575169205665588}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\nSwitzerland,IRVVGRYLIEVWKAAGMDMDKVLFLWSSDEI,CN1CCC(CC1)Oc2ccc(cc2)C(F)(F)F,1480028,36.33137130737305,99504,92-11 179TH PLACE,https://datagrok.ai/img/slides/access-db-connect.png,id,ErrorMessage,"COMPND \nATOM \nEND",flag,9,10,1IAN,10,1.23,<chart></chart>,"{""series"":[{""name"":""Run:2023-08-08"",""fitFunction"":""sigmoid"",""fitLineColor"":""#1f77b4"",""pointColor"":""#1f77b4"",""showPoints"":""points"",""parameters"":[1.1190255865097471, 2.3163895161544437, 5.4968866182279195, 0.2035204047289052],""points"":[{""x"":0.10000000149011612,""y"":1.1057683229446411},{""x"":0.6000000238418579,""y"":1.1019697189331055},{""x"":1.100000023841858,""y"":1.0818607807159424},{""x"":1.600000023841858,""y"":1.062997817993164},{""x"":2.0999999046325684,""y"":1.046447515487671},{""x"":2.5999999046325684,""y"":1.1217249631881714},{""x"":3.0999999046325684,""y"":1.2166996002197266},{""x"":3.5999999046325684,""y"":1.215477705001831},{""x"":4.099999904632568,""y"":1.0581893920898438},{""x"":4.599999904632568,""y"":1.1747995615005493},{""x"":5.099999904632568,""y"":1.0181127786636353},{""x"":5.599999904632568,""y"":0.5344523191452026},{""x"":6.099999904632568,""y"":0.2569526433944702},{""x"":6.599999904632568,""y"":0.1912207305431366},{""x"":7.099999904632568,""y"":0.15060538053512573}]},{""name"":""Run:2023-08-08"",""fitLineColor"":""#ffbb78"",""pointColor"":""#ffbb78"",""showPoints"":""points"",""parameters"":[3.1038581025805785, 2.0032224204185245, 5.087602825989163, 0.13277988512492753],""points"":[{""x"":0.10000000149011612,""y"":3.0498509407043457},{""x"":0.6000000238418579,""y"":2.805217742919922},{""x"":1.100000023841858,""y"":3.3415253162384033},{""x"":1.600000023841858,""y"":3.0549843311309814},{""x"":2.0999999046325684,""y"":3.250074863433838},{""x"":2.5999999046325684,""y"":3.0432586669921875},{""x"":3.0999999046325684,""y"":3.265852451324463},{""x"":3.5999999046325684,""y"":2.9475724697113037},{""x"":4.099999904632568,""y"":3.1929898262023926},{""x"":4.599999904632568,""y"":2.7460060119628906},{""x"":5.099999904632568,""y"":1.6175861358642578},{""x"":5.599999904632568,""y"":0.3006608486175537},{""x"":6.099999904632568,""y"":0.3444803059101105},{""x"":6.599999904632568,""y"":0.015537971630692482},{""x"":7.099999904632568,""y"":0.5527358055114746}]}],""chartOptions"":{""xAxisName"":""Conc."",""yAxisName"":""Activity"",""title"":""Dose-Response curves""}}",text,,\n,,,,,,,,,,,,,,,,,,,,,');i.columns.add(t.Column.fromList(t.TYPE.BYTE_ARRAY,"BinaryImage",Array.from(new Uint8Array(11))));var s=function(t,e,n,o){return new(n||(n=Promise))((function(i,s){function r(t){try{c(o.next(t))}catch(t){s(t)}}function a(t){try{c(o.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(r,a)}c((o=o.apply(t,e||[])).next())}))};const r=3e4,a=108e5,c=console.log.bind(console),l=console.info.bind(console),u=console.warn.bind(console),d=console.error.bind(console),y={},f="Auto Tests",h="Demo",x="Detectors",p="Core",v={};let m;var g;!function(t){t.notNull=function(t,e){if(null==t)throw new Error(`${null==e?"Value":e} not defined`)}}(g||(g={}));class C{constructor(t,e){this.catchUnhandled=!0,this.report=!1,void 0!==t&&(this.catchUnhandled=t),void 0!==e&&(this.report=e)}}class b{constructor(e,n,o,i){var a;this.category=e,this.name=n,null!=i||(i={}),null!==(a=i.timeout)&&void 0!==a||(i.timeout=r),this.options=i,this.test=()=>s(this,void 0,void 0,(function*(){return new Promise(((e,n)=>s(this,void 0,void 0,(function*(){let i="";try{t.Test.isInDebug,i=yield o()}catch(t){n(t)}e(i)}))))}))}}function w(t,e,n){null==y[m]&&(y[m]={}),null==y[m].tests&&(y[m].tests=[]),y[m].tests.push(new b(m,t,e,n))}function k(t,e=!0,n){if(n=n?`${n}, `:"",t!==e)throw new Error(`${n}Expected "${e}", got "${t}"`)}function O(t,e){return t.replace(new RegExp(e.name,"gi"),e.nqName)}function A(n,o){var c,l,u,d,m,g,C;return s(this,void 0,void 0,(function*(){const w=n.id;if(v[w])return;const A=o?o.tests:y;if(void 0!==A[f]||void 0!==A[h]||Object.keys(A).find((t=>t.startsWith(f)||t.startsWith(p))))return void(v[w]=!0);if("DevTools"===n.name||o&&"DevTools"===o._package.name)for(const t of window.dartTests){const e=t.name.split(/\s*\|\s*!/g);let n=null!==(c=e.pop())&&void 0!==c?c:t.name,o=e.length?p+": "+e.join(": "):p,i=n.split(" | ");n=i[i.length-1],i.unshift(o),i.pop(),o=i.join(": "),void 0===A[o]&&(A[o]={tests:[],clear:!0}),A[o].tests.push(new b(o,n,t.test,{isAggregated:!1,timeout:null!==(u=null===(l=t.options)||void 0===l?void 0:l.timeout)&&void 0!==u?u:r,skipReason:null===(d=t.options)||void 0===d?void 0:d.skipReason,owner:null===(m=t.options)||void 0===m?void 0:m.owner}))}const S=[],L=[],T=[],N=yield e.dapi.functions.filter(`package.id = "${w}"`).list(),E=new RegExp(/skip:\s*([^,\s]+)|wait:\s*(\d+)|cat:\s*([^,\s]+)|timeout:\s*(\d+)/g);for(const o of N){const c=o.options.test,l=o.options.demoPath;if(c&&Array.isArray(c)&&c.length)for(let n=0;n<c.length;n++){const i=c[n].matchAll(E),l={};Array.from(i).forEach((t=>{t[0].startsWith("skip")?l.skip=t[1]:t[0].startsWith("wait")?l.wait=parseInt(t[2]):t[0].startsWith("cat")?l.cat=t[3]:t[0].startsWith("timeout")&&(l.timeout=parseInt(t[4]))}));const u=new b(f,1===c.length?o.name:`${o.name} ${n+1}`,(()=>s(this,void 0,void 0,(function*(){const t=yield e.functions.eval(O(c[n],o));if(l.wait&&(yield D(l.wait)),"boolean"==typeof t&&!t)throw`Failed: ${c[n]}, expected true, got ${t}`}))),{skipReason:l.skip,timeout:t.Test.isInBenchmark?null!==(g=l.benchmarkTimeout)&&void 0!==g?g:a:null!==(C=l.timeout)&&void 0!==C?C:r});if(l.cat){const t=f+": "+l.cat;u.category=t,void 0===A[t]&&(A[t]={tests:[],clear:!0}),A[t].tests.push(u)}else S.push(u)}if(l){const t=o.options.demoWait?parseInt(o.options.demoWait):void 0,n=new b(h,o.friendlyName,(()=>s(this,void 0,void 0,(function*(){yield D(300),e.shell.clearLastError(),yield o.apply(),yield D(t||2e3);const n=yield e.shell.lastError;if(n)throw new Error(n)}))),{skipReason:o.options.demoSkip});L.push(n)}if(o.hasTag("semTypeDetector")){let t=i;o.options.testData&&(t=yield e.data.files.openTable(`System:AppData/${n.nqName}/${o.options.testData}`));const r=new b(x,o.friendlyName,(()=>s(this,void 0,void 0,(function*(){const e=[];console.log(`System:AppData/${n.nqName}/${o.options.testData}`);for(const n of t.clone().columns){const t=yield o.apply([n]);e.push(t||n.semType)}const i=e.filter((t=>t));k(i.length,1),o.options.testDataColumnName&&k(i[0],o.options.testDataColumnName)}))),{skipReason:o.options.skipTest});T.push(r)}}v[w]=!0,S.length>0&&(A[f]={tests:S,clear:!0}),L.length>0&&(A[h]={tests:L,clear:!0}),T.length>0&&(A[x]={tests:T,clear:!1})}))}function S(t,n){return s(this,void 0,void 0,(function*(){null!=e.shell.reportTest?yield e.shell.reportTest(t,n):yield fetch(`${e.dapi.root}/log/tests/${t}`,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(n)})}))}function L(e){return s(this,void 0,void 0,(function*(){return`${e.toString()}\n${e.stack?yield t.Logger.translateStackTrace(e.stack):""}`}))}function T(n,o,i,a,l,u){var y,f,h,x,p,v,m,g,C,b;return s(this,void 0,void 0,(function*(){let s;i.length=0;const w=null!=o&&n.name.toLowerCase()!==o.toLowerCase();let k=(null===(y=n.options)||void 0===y?void 0:y.skipReason)||w,O=w?"skipped":null===(f=n.options)||void 0===f?void 0:f.skipReason;if(t.Test.isInBenchmark&&!(null===(h=n.options)||void 0===h?void 0:h.benchmark))return void c(`SKIPPED: ${n.category} ${n.name} doesnt available in benchmark mode`);k||c(`Started ${n.category} ${n.name}`);const A=Date.now(),T=new Date(A).toISOString();try{if(k)s={date:T,success:!0,result:O,ms:0,skipped:!0};else{let o=null!=a?a:r;t.Test.isProfiling&&console.profile(`${n.category}: ${n.name}`),s={date:T,success:!0,result:null!==(x=yield R(n.test,o))&&void 0!==x?x:"OK",ms:0,skipped:!1},t.Test.isProfiling&&(console.profileEnd(`${n.category}: ${n.name}`),e.shell.info(`Profiling of ${n.category}: ${n.name} finished \n Please ensure that you have opened DevTools (F12) / Performance panel before test starts.`))}}catch(t){d(t),s={date:T,success:!1,result:yield L(t),ms:0,skipped:!1}}if((null===(p=n.options)||void 0===p?void 0:p.isAggregated)&&s.result.constructor===t.DataFrame){const t=s.result.col("success");if(t&&(s.success=t.stats.sum===t.length),!u){const t=s.result;t.columns.remove("stack"),t.rows.removeWhere((t=>t.get("success"))),s.result=t}s.result=s.result.toCsv()}if(s.logs=i.join("\n"),s.ms=Date.now()-A,k||c(`Finished ${n.category} ${n.name} for ${s.ms} ms`),s.category=n.category,s.name=n.name,s.owner=null!==(m=null===(v=n.options)||void 0===v?void 0:v.owner)&&void 0!==m?m:"",!w){let e={success:s.success,result:s.result,ms:s.ms,date:s.date,skipped:s.skipped,package:l,category:n.category,name:n.name,logs:s.logs,owner:s.owner,flaking:t.Test.isReproducing&&s.success,timeoutWarning:t.Test.isInBenchmark&&(null===(g=n.options)||void 0===g?void 0:g.benchmarkWarnTimeout)&&s.ms>(null===(C=n.options)||void 0===C?void 0:C.benchmarkWarnTimeout)};if(s.result.constructor==Object){const t=Object.keys(s.result).reduce(((t,e)=>Object.assign(Object.assign({},t),{["result."+e]:s.result[e]})),{});e=Object.assign(Object.assign({},e),t)}e.result instanceof t.DataFrame&&(e.result=JSON.stringify(null===(b=e.result)||void 0===b?void 0:b.toJson())||""),yield S("package",e)}return s}))}function N(t){const e=t.slice();return e.sort((()=>Math.random()-.5)),e}function D(t){return s(this,void 0,void 0,(function*(){yield new Promise((e=>setTimeout(e,t)))}))}function E(t,e="Timeout exceeded",n=500,o=50){return s(this,void 0,void 0,(function*(){return new Promise(((i,s)=>{setTimeout((()=>{clearInterval(r),s(new Error(e))}),n);const r=setInterval((()=>{t()&&(clearInterval(r),i())}),o)}))}))}function R(t,e,n="EXECUTION TIMEOUT"){return s(this,void 0,void 0,(function*(){let o=null;const i=new Promise(((t,i)=>{o=setTimeout((()=>{i(n)}),e)}));try{return yield Promise.race([t(),i])}finally{o&&clearTimeout(o)}}))}t.DataFrame.fromColumns([t.Column.fromStrings("col",["val1","val2","val3"])]);const P=ui;var M=function(t,e,n,o){return new(n||(n=Promise))((function(i,s){function r(t){try{c(o.next(t))}catch(t){s(t)}}function a(t){try{c(o.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(r,a)}c((o=o.apply(t,e||[])).next())}))},I=e.chem.Sketcher;const F="c1ccccc1",_="\n Ketcher 8 92217 42D 1 1.00000 0.00000 0 \n\n 6 5 0 0 0 0 0 0 0 0999 V2000\n -3.6828 1.5285 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -4.3973 1.1160 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0\n -5.1117 1.5285 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -3.6828 2.3535 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0\n -2.9683 1.1160 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0\n -2.2339 1.4893 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 2 1 1 0 0 0 0\n 2 3 1 0 0 0 0\n 1 4 2 0 0 0 0\n 1 5 1 0 0 0 0\n 5 6 1 0 0 0 0\nM END",K="[!#6&!#7]1:[#6]:[#6]:[#6]:[#6]:[#6]:1";function $(){return M(this,void 0,void 0,(function*(){const n=yield t.Func.find({tags:["moleculeSketcher"],name:"ketcherSketcher"})[0];e.chem.currentSketcherType=n.friendlyName;const o=new I,i=P.dialog().add(o).show();return yield E((()=>{var t;return!0===(null===(t=o.sketcher)||void 0===t?void 0:t.isInitialized)}),void 0,1e4),{sketcher:o.sketcher,dialog:i}}))}var H,U=function(t,e,n,o){return new(n||(n=Promise))((function(i,s){function r(t){try{c(o.next(t))}catch(t){s(t)}}function a(t){try{c(o.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(r,a)}c((o=o.apply(t,e||[])).next())}))};H=()=>U(void 0,void 0,void 0,(function*(){null==y[m]&&(y[m]={}),y[m].before=()=>U(void 0,void 0,void 0,(function*(){})),w("setSmiles",(()=>U(void 0,void 0,void 0,(function*(){yield function(){return M(this,void 0,void 0,(function*(){const{sketcher:t,dialog:e}=yield $();t.setKetcherMolecule(F),yield E((()=>t._smiles===F),"molecule has not been set",1e4),e.close()}))}()})))),w("setMolfile",(()=>U(void 0,void 0,void 0,(function*(){yield function(){return M(this,void 0,void 0,(function*(){const{sketcher:t,dialog:n}=yield $();t.setKetcherMolecule(_);const o=yield e.functions.call("Chem:getRdKitModule");yield E((()=>{if(t._molV2000){const e=o.get_mol(_),n=o.get_mol(t._molV2000),i=e.get_substruct_match(n),s=n.get_substruct_match(e);return e.delete(),n.delete(),"{}"!==i&&"{}"!==s}return!1}),"molecule has not been set",1e4),n.close()}))}()})))),w("setSmarts",(()=>U(void 0,void 0,void 0,(function*(){yield function(){return M(this,void 0,void 0,(function*(){const{sketcher:t,dialog:n}=yield $();t.setKetcherMolecule(K),yield E((()=>null!==t._molV3000&&""!==t._molV3000),"molecule has not been set",1e4);const o=yield t.getSmarts(),i=yield e.functions.call("Chem:getRdKitModule"),s=i.get_qmol(K),r=s.get_smarts();null==s||s.delete();const a=i.get_qmol(o),c=a.get_smarts();null==a||a.delete(),k(c,r),n.close()}))}()})))),null==y[m]&&(y[m]={}),y[m].after=()=>U(void 0,void 0,void 0,(function*(){}))})),m="ketcher",H(),y[m]&&(y[m].clear=!0,y[m].timeout=void 0,y[m].benchmarks=void 0,y[m].stressTests=void 0,y[m].owner=void 0);var V=function(t,e,n,o){return new(n||(n=Promise))((function(i,s){function r(t){try{c(o.next(t))}catch(t){s(t)}}function a(t){try{c(o.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(r,a)}c((o=o.apply(t,e||[])).next())}))};const W=new t.Package;function j(n,o,i){return V(this,void 0,void 0,(function*(){const f=yield function(n){var o,i,f,h,x,p;return s(this,void 0,void 0,(function*(){const v=null===(i=null===(o=e.functions.getCurrentCall())||void 0===o?void 0:o.func)||void 0===i?void 0:i.package,m=(null!==(h=(null!==(f=null==v?void 0:v.packageOwner)&&void 0!==f?f:"").match(new RegExp("[^<]*<([^>]*)>")))&&void 0!==h?h:["",""])[1];yield A(v);const g=[];console.log("Running tests"),null!=n||(n={}),null!==(x=(p=n).testContext)&&void 0!==x||(p.testContext=new C),e.shell.clearLastError();const b=function(){const t=[];return console.log=(...e)=>{t.push(...e),c(...e)},console.info=(...e)=>{t.push(...e),l(...e)},console.warn=(...e)=>{t.push(...e),u(...e)},console.error=(...e)=>{t.push(...e),d(...e)},t}();yield function(n,o){var i,r,a,y,f,h,x;return s(this,void 0,void 0,(function*(){try{for(const[t,e]of Object.entries(n)){if((null==o?void 0:o.category)&&!t.toLowerCase().startsWith(null==o?void 0:o.category.toLowerCase())||(null===(i=o.exclude)||void 0===i?void 0:i.some((e=>t.startsWith(e)))))continue;c(`Started ${t} category`);const n=null===(r=e.tests)||void 0===r?void 0:r.every((t=>{var e;return null===(e=t.options)||void 0===e?void 0:e.skipReason}));n||(e.beforeStatus=yield w(e.before,null!==(a=o.category)&&void 0!==a?a:""));let l,u=null!==(y=e.tests)&&void 0!==y?y:[];o.stressTest&&(u=u.filter((t=>{var e;return null===(e=t.options)||void 0===e?void 0:e.stressTest})),u=N(u)),(null!==(h=null===(f=o.tags)||void 0===f?void 0:f.length)&&void 0!==h?h:0)>0&&(u=u.filter((t=>{var e,n;return null===(n=null===(e=t.options)||void 0===e?void 0:e.tags)||void 0===n?void 0:n.some((t=>{var e;return(null!==(e=null==o?void 0:o.tags)&&void 0!==e?e:[]).includes(t)}))}))),e.beforeStatus?(l=Array.from(u.map((e=>({date:(new Date).toISOString(),logs:"",category:t,name:e.name,result:"before() failed",success:!1,ms:0,skipped:!1})))),l.forEach((t=>s(this,void 0,void 0,(function*(){return S("package",t)}))))):l=yield k(e,o);const d=l.filter((t=>"skipped"!=t.result));n||(e.afterStatus=yield w(e.after,null!==(x=o.category)&&void 0!==x?x:"")),e.afterStatus&&d.push({date:(new Date).toISOString(),logs:"",category:t,name:"after",result:e.afterStatus,success:!1,ms:0,skipped:!1}),e.beforeStatus&&d.push({date:(new Date).toISOString(),logs:"",category:t,name:"before",result:e.beforeStatus,success:!1,ms:0,skipped:!1}),g.push(...d)}}finally{console.log=c,console.info=l,console.warn=u,console.error=d}if(o.testContext.catchUnhandled&&!t.Test.isInBenchmark){yield D(1e3);const n=yield e.shell.lastError,o={logs:"",date:(new Date).toISOString(),category:"Unhandled exceptions",name:"Exception",result:null!=n?n:"",success:!n,ms:0,skipped:!1,flaking:t.Test.isReproducing&&!n,owner:null!=m?m:""};g.push(o),o.package=v.name,yield S("package",o)}}))}(y,n);for(let t of g)t.result=t.result.toString().replace(/"/g,"'"),null!=t.logs&&(t.logs=t.logs.toString().replace(/"/g,"'"));return g;function w(t,e){return s(this,void 0,void 0,(function*(){var n=void 0;try{void 0!==t&&(yield R((()=>s(this,void 0,void 0,(function*(){yield t()}))),1e5,`before ${e}: timeout error`))}catch(t){n=yield L(t)}return n}))}function k(n,o){var i,c,l,u,d,y,f,h,x,p,g,C,w,k,O,A,S,L,N,D,E,R,P,M;return s(this,void 0,void 0,(function*(){let s=null!==(i=n.tests)&&void 0!==i?i:[];const I=[],F=null===(l=null===(c=null===window||void 0===window?void 0:window.performance)||void 0===c?void 0:c.memory)||void 0===l?void 0:l.usedJSHeapSize,_=t.Widget.getAll().length;if(n.clear)for(let i=0;i<s.length;i++){s[i].options&&void 0===(null===(u=s[i].options)||void 0===u?void 0:u.benchmark)&&(s[i].options||(s[i].options={}),s[i].options.benchmark=null!==(d=n.benchmarks)&&void 0!==d&&d);let c=s[i];(null==c?void 0:c.options)&&(c.options.owner=null!==(x=null!==(h=null!==(f=null===(y=s[i].options)||void 0===y?void 0:y.owner)&&void 0!==f?f:null==n?void 0:n.owner)&&void 0!==h?h:m)&&void 0!==x?x:""),window.gc&&window.gc();let l=yield T(c,null==o?void 0:o.test,b,t.Test.isInBenchmark?null!==(g=null===(p=s[i].options)||void 0===p?void 0:p.benchmarkTimeout)&&void 0!==g?g:a:null!==(w=null===(C=s[i].options)||void 0===C?void 0:C.timeout)&&void 0!==w?w:r,v.name,o.verbose);window.gc&&window.gc(),l&&I.push(Object.assign(Object.assign({},l),{memoryDelta:(null===(O=null===(k=null===window||void 0===window?void 0:window.performance)||void 0===k?void 0:k.memory)||void 0===O?void 0:O.usedJSHeapSize)-F,widgetsDelta:t.Widget.getAll().length-_})),e.shell.closeAll(),t.Balloon.closeAll()}else for(let e=0;e<s.length;e++){let i=s[e];(null==i?void 0:i.options)&&(i.options.owner=null!==(N=null!==(L=null!==(S=null===(A=s[e].options)||void 0===A?void 0:A.owner)&&void 0!==S?S:null==n?void 0:n.owner)&&void 0!==L?L:m)&&void 0!==N?N:""),window.gc&&window.gc();let r=yield T(i,null==o?void 0:o.test,b,t.Test.isInBenchmark?null!==(E=null===(D=s[e].options)||void 0===D?void 0:D.benchmarkTimeout)&&void 0!==E?E:a:null===(R=s[e].options)||void 0===R?void 0:R.timeout,v.name,o.verbose);window.gc&&window.gc(),r&&I.push(Object.assign(Object.assign({},r),{memoryUsed:(null===(M=null===(P=null===window||void 0===window?void 0:window.performance)||void 0===P?void 0:P.memory)||void 0===M?void 0:M.usedJSHeapSize)-F,widgetsDifference:t.Widget.getAll().length-_}))}return I}))}}))}({category:n,test:o,testContext:i});return t.DataFrame.fromObjects(f)}))}function G(){return V(this,void 0,void 0,(function*(){yield A(W,W.getModule("package-test.js"))}))}})(),ketchersketcher_test=o})();
2
2
  //# sourceMappingURL=package-test.js.map