@hpcc-js/comms 2.64.0 → 2.69.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.
- package/dist/index.es6.js +2 -2
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.node.js +2 -2
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.min.js +1 -1
- package/dist/index.node.min.js.map +1 -1
- package/lib-es6/__package__.js +2 -2
- package/lib-es6/__package__.js.map +1 -1
- package/lib-es6/services/wsDFU.js.map +1 -1
- package/lib-es6/services/wsWorkunits.js.map +1 -1
- package/package.json +9 -7
- package/src/__package__.ts +2 -2
- package/src/services/wsDFU.ts +1 -0
- package/src/services/wsWorkunits.ts +2 -0
- package/types/__package__.d.ts +2 -2
- package/types/__package__.d.ts.map +1 -1
- package/types/services/wsDFU.d.ts +1 -0
- package/types/services/wsDFU.d.ts.map +1 -1
- package/types/services/wsWorkunits.d.ts +2 -0
- package/types/services/wsWorkunits.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/services/wsDFU.d.ts +1 -0
- package/types-3.4/services/wsWorkunits.d.ts +2 -0
package/dist/index.node.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var util=require("@hpcc-js/util"),xmldom=require("@xmldom/xmldom"),fetch$1=_interopDefault(require("node-fetch")),AbortController=_interopDefault(require("abort-controller")),https=require("https"),safeBuffer=require("safe-buffer"),cp=require("child_process"),fs=require("fs"),os=require("os"),path=require("path"),tmp=require("tmp"),trustwave="\nTrustwave Secure Global Extended Validation CA, Level 1\nSecureTrust Corporation\n00F6F61CE4A3635BB0CA8AACEEFCB2D0F0\n-----BEGIN CERTIFICATE-----\nMIIE+D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S38LXKgZ43lKqEenjmiOaMF/XuLYzaHrW\nGYgCM2wJsykgdB9hCsTTEwsHRZzt2q9mLBDvYYWVhql1/kR4K/RN4JdESEECAwEA\nAaOCATYwggEyMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgGGMB0G\nA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAdBgNVHQ4EFgQUA6uAxlUKKpWh\n4Nf+GubAynjMsJYwHwYDVR0jBBgwFoAUQjK2FvoE/f5dS3rD/fdMQB1aQ68wQQYD\nVR0gBDowODA2BgRVHSAAMC4wLAYIKwYBBQUHAgEWIGh0dHBzOi8vY2VydHMuc2Vj\ndXJldHJ1c3QuY29tL0NBMDIGA1UdHwQrMCkwJ6AloCOGIWh0dHA6Ly9jcmwudHJ1\nc3R3YXZlLmNvbS9TVENBLmNybDA2BggrBgEFBQcBAQQqMCgwJgYIKwYBBQUHMAGG\nGmh0dHA6Ly9vY3NwLnRydXN0d2F2ZS5jb20vMA0GCSqGSIb3DQEBCwUAA4IBAQB1\nfzAmGGmtbJyIvOfjq2McCpUoYkXAq6JTN51+nb9NDAihhDoTKMde+801bC1/l54h\nxPPm4HImM6GK6LFckDew/FGwbdRbEznUOJ7uVL5ploNBIjte23kTBUZa9fx3+aXK\nhUTAipSyPtNjnOwVVBVXzrMynfMhdsyRRe7gLXNFYCXIxtks3IkIpuYnc86NAuV9\nnBLFlZzgmbAsW+tMc5QsNvQJ9pQ539K8cqZaM+HFCScreDERxmNtHHbMw+hCa2yL\nOj4ntekgWLO8KQbE0lPUNLIM17QK8aktJavj+GezBztKMmJJwhVYQy9nxS388ApX\nxcZsEgIzOCeH0SOWg4FA\n-----END CERTIFICATE-----\n\nSecureTrust Organization Validation CA, Level 1\nSecureTrust Corporation\n06F1EC00E58E9ADD372C871D25843FDAB852D9\n-----BEGIN CERTIFICATE-----\nMIIEkDCCA3igAwIBAgITBvHsAOWOmt03LIcdJYQ/2rhS2TANBgkqhkiG9w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HR0cDovL2Ny\nbC50cnVzdHdhdmUuY29tL1NUQ0EuY3JsMDYGCCsGAQUFBwEBBCowKDAmBggrBgEF\nBQcwAYYaaHR0cDovL29jc3AudHJ1c3R3YXZlLmNvbS8wDQYJKoZIhvcNAQELBQAD\nggEBAIwGM/ejz4Hbjf7Vc11gS8jzf+BwtZq9N4t1Nibj4rIDsW2G2jDE0S7fCN2m\nMhq76xkfnwfXhBbXDEKz6rj/M0G2u1kHw4Y8ZtKSzYEyRtgpeBFm4qU6voCSREpD\nFJXsL+Go2/YLRSE6xkWVSocklxppx4hi5o/RVdMMQept6ooOSFzBpH5XZYUoblKi\n99Yj0FUe8egIa9qSts42TObTpH1YVRMDnH3k2MNX3rcgPf9v/QO9Cf8W6RQ2+X3R\nCaYMPdL5OIKh4RGYjxXe3LpgiTKBWik/ZWTFL5sZSjetrJFl50NONzTc8E+BJtrx\nVCHAI2OcWyloxrYd4zMipw0YjDw=\n-----END CERTIFICATE-----\n\nTrustwave Domain Validation SHA256 CA, Level 1\nSecureTrust Corporation\n00DDEDF6F64298490E694C36EFA422C88F\n-----BEGIN CERTIFICATE-----\nMIIE7jCCA9agAwIBAgIRAN3t9vZCmEkOaUw276QiyI8wDQYJKoZIhvcNAQELBQAw\nSDELMAkGA1UEBhMCVVMxIDAeBgNVBAoTF1NlY3VyZVRydXN0IENvcnBvcmF0aW9u\nMRcwFQYDVQQDEw5TZWN1cmVUcnVzdCBDQTAeFw0xNDEwMDExOTIyMzJaFw0yNDA5\nMjgxOTIyMzJaMIGvMQswCQYDVQQGEwJVUzERMA8GA1UECBMISWxsaW5vaXMxEDAO\nBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRydXN0d2F2ZSBIb2xkaW5ncywgSW5j\nLjE3MDUGA1UEAxMuVHJ1c3R3YXZlIERvbWFpbiBWYWxpZGF0aW9uIFNIQTI1NiBD\nQSwgTGV2ZWwgMTEfMB0GCSqGSIb3DQEJARYQY2FAdHJ1c3R3YXZlLmNvbTC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YB\nBAGB7RgDADAOBgxghkgBhv1kAQECBAEwPQYPKwYBBAGB7RgDAwMDBAMDMCowKAYI\nKwYBBQUHAgEWHGh0dHBzOi8vc3NsLnRydXN0d2F2ZS5jb20vQ0EwMgYDVR0fBCsw\nKTAnoCWgI4YhaHR0cDovL2NybC50cnVzdHdhdmUuY29tL1NUQ0EuY3JsMGwGCCsG\nAQUFBwEBBGAwXjAlBggrBgEFBQcwAYYZaHR0cDovL29jc3AudHJ1c3R3YXZlLmNv\nbTA1BggrBgEFBQcwAoYpaHR0cDovL3NzbC50cnVzdHdhdmUuY29tL2lzc3VlcnMv\nU1RDQS5jcnQwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMBMB8GA1UdIwQY\nMBaAFEIythb6BP3+XUt6w/33TEAdWkOvMA0GCSqGSIb3DQEBCwUAA4IBAQCly1p1\nrvcOlRS+ODBLb2kYHd4q+cXDl65X+IQ7hOlXg9dpa7CzSAGNNpzhyYMbE48mB/RE\nBXxbZkMzEhWPFj+4jdGNsmX0zjEWatJWsnNVxpA7hDR0iZssezu86oDQ/sbVoaXj\n0a5jB2cZsnMS5287CNDk5i+ImruhbMAYV9sadliXoDy3y01Sv+FLMx39C5UhYhWU\ngvoT9igbSCoc/DPOukEDqsnKMmDqTf3JzuFI1CbJcR6M8R1hAda4mZrxIdGcbT8R\nXp8JQ8Vuv/+plPMcAiZ2Bzed0hPVr5A1Mz8K8w9OyORGlRwjWS65jsr26bjMCcfj\npvuAANrc0Alu4nJC\n-----END CERTIFICATE-----\n\nTrustwave Extended Validation SHA256 CA, Level 1\nSecureTrust Corporation\n35962F305C5A0BEC400D4E9877528C65\n-----BEGIN CERTIFICATE-----\nMIIFCzCCA/OgAwIBAgIQNZYvMFxaC+xADU6Yd1KMZTANBgkqhkiG9w0BAQsFADBI\nMQswCQYDVQQGEwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24x\nFzAVBgNVBAMTDlNlY3Vy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paHR0cDovL3NzbC50cnVzdHdhdmUuY29tL2lz\nc3VlcnMvU1RDQS5jcnQwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMBMB8G\nA1UdIwQYMBaAFEIythb6BP3+XUt6w/33TEAdWkOvMBsGA1UdEQQUMBKBEGNhQHRy\ndXN0d2F2ZS5jb20wDQYJKoZIhvcNAQELBQADggEBAGUMIDkrvlMJ0wHLuP3lkneC\nwGU6mZ3g17jyU2RJwhRinYctraryG7Jh20DQ9/ppTHoxTIADw2JDsC5ByplabteQ\nnLghrl17K1b6PO+rzWA/NFKVwo6u8Gh7Lz0iUuit7ZBD4eKcRedxRZcPQlnD9KTR\nIs94SRpootsuCv/Y5b+1FMPV1KrYtbco9yEVlaNEWLpmiEsqvLjxiWEmt71rzz+0\nS59OtA/ihnbGP9Xrnhe7wf1ybCNOO5gZQMKr/OszfLZ7oVKACGOPLlcSZRRW98gA\nszE+1ZvlHkdjamfTSs4yMvUorYn9NhXnjAWl28NuD9m3FPiE2O50ezEDnHTiaOQ=\n-----END CERTIFICATE-----\n\nTrustwave Organization Validation SHA256 CA, Level 1\nSecureTrust Corporation\n4B2C6646F434775B67DF34A04DD504E6\n-----BEGIN CERTIFICATE-----\nMIIE/TCCA+WgAwIBAgIQSyxmRvQ0d1tn3zSgTdUE5jANBgkqhkiG9w0BAQsFADBI\nMQswCQYDVQQGEwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24x\nFzAVBgNVBAMTDlNlY3VyZVRydXN0IENBMB4XDTE0MTAwMTE5MjIzNloXDTI0MDky\nODE5MjIzNlowgbUxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhJbGxpbm9pczEQMA4G\nA1UEBxMHQ2hpY2FnbzEhMB8GA1UEChMYVHJ1c3R3YXZlIEhvbGRpbmdzLCBJbmMu\nMT0wOwYDVQQDEzRUcnVzdHdhdmUgT3JnYW5pemF0aW9uIFZhbGlkYXRpb24gU0hB\nMj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EWNftlU91jBL\nKPRbrLmXhhWnHJjYs4y5IHu735HA3aAT4TqURS9dGHOMVDRumkFpLqR2W7ptpDki\nOtIFZjO5smU29OD4AlcNUXqQuKEFasyTtkRlORnWhU37c36HB8dc57xWQKOf8pMq\n7lK+ublO9G4mO1Aqr9mioTN4oMONFJG4W5dWwG9baNg682ZACkvPaw45MqSztL3A\nKb4s2cDTWu/D34hV3oafkTwu8B7B2mFZnWRJ9q4akPmZF45uw4RZx2ALaYGGGs67\n+r5qS300As9ONg8hxfVkFQSHOc00IiBkgi3OpoCofEKTgDwZwHVqOJyyPjk6H9Sh\nZANmUOT2mGDLwl86Ar5bTu8ipzlsyDYQMFjho7WaVs8I5OXyVdONXDYLIOtpITGT\n1fRcXFzxYHhrNuFwrdj2zBVyvVD4O6xV97/9nv2Eng==\n-----END CERTIFICATE-----\n\nTrustwave Global Domain Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D9AD30465CF22697F246B101EC92953B\n-----BEGIN CERTIFICATE-----\nMIIHCDCCBPCgAwIBAgITBs6C2a0wRlzyJpfyRrEB7JKVOzANBgkqhkiG9w0BAQsF\nADCBiDELMAkGA1UEBhMCVVMxETAPBgNVBAgMCElsbGlub2lzMRAwDgYDVQQHDAdD\naGljYWdvMSEwHwYDVQQKDBhUcnVzdHdhdmUgSG9sZGluZ3MsIEluYy4xMTAvBgNV\nBAMMKFRydXN0d2F2ZSBHbG9iYWwgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcN\nMTgwMjA2MTIyMTIxWhcNMjgwMjI0MDUwMTIxWjCBjjE3MDUGA1UEAxMuVHJ1c3R3\nYXZlIEdsb2JhbCBEb21haW4gVmFsaWRhdGlvbiBDQSwgTGV2ZWwgMTEhMB8GA1UE\nChMYVHJ1c3R3YXZlIEhvbGRpbmdzLCBJbmMuMRAwDgYDVQQHEwdDaGljYWdvMREw\nDwYDVQQIEwhJbGxpbm9pczELMAkGA1UEBhMCVVMwggIiMA0GCSqGSIb3DQ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QS5jcmwwbgYIKwYBBQUHAQEEYjBgMCYGCCsGAQUFBzABhhpodHRwOi8vb2Nz\ncC50cnVzdHdhdmUuY29tLzA2BggrBgEFBQcwAoYqaHR0cDovL3NzbC50cnVzdHdh\ndmUuY29tL2lzc3VlcnMvVFdHQ0EuY3J0MA0GCSqGSIb3DQEBCwUAA4ICAQAmn0jp\n+lNp188KxjKQZtpJ3mixLmuqGdH6SVpRs40BYQg/68xOPH3C6AJ17tqE6IwZMW9s\nlgiO4B7khR3ESA6Sct3zmkA8woR/KJVzzegjscHhtQUifQ+Eb9Gi0ORNnetGV+5g\n5vlrFZMptBRGUxXMo2xa+Z/NTyimpMopfXj7qCW/nQWQbzvkQGchK9IokyqV2wra\ntX68/P3zleG+LLwzoJd5AhHYSXWrIRJpClZHN+LQKkbI3MYW7+upo/1e9HEmFKxu\n5SFV3nuQm5wSOsz/ZtIL1AS8IoZYxcSe1Q/yuV9GjnxtL1jkPbzsBx4eBGxUrcIe\nsBat6SI8G58uHTpIPpqUxRYsg8w0FdjK3kNBB5QWDeXiDxzqIRzA0iE1kHeTXRZ3\n7qgGXUcce7ciW5KqeRApjQbD5BSZG2EKkQ7aaOhvxK0LiuxHZnjPW4/fdEcaCuku\nMT5qMDiF2U85V9BvanEy/xkYn4I2UeK4EdSXe7q6j+CIJz9WnoLQDbIS04GqIWe0\nVRQUlx3idUWYSJU/SG8KrEHhlJLmgSjshCwtT6qo4vHwT5WcWDLIbjMqgL1iQ6JS\n4gxXuOGia3d0I4/wec5x23EWwx9V8BtDJ8N7NDeRNmZ8RXOHSYJsVQYIQuFUEXE1\nv3WMSIxuyQMyR5FYSCG9xnKRFzNmiPngDil5IA==\n-----END CERTIFICATE-----\n\nTrustwave Global Extended Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D99FB3B180C281020314A2D1C7640017\n-----BEGIN CERTIFICATE-----\nMIIHFDCCBPygAwIBAgITBs6C2Z+zsYDCgQIDFKLRx2QAFzANBgkqhkiG9w0BAQ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R9JreJ2I4W9FzS45ruxYEC8LGKEmV46sAk1YLbnIBmhehAKy9t\nP8RVz3QXYJ6rLOAuXF7R2eVV0SqfivW9bVzvBZTUTFsbdSMBAAF1BJjdRqYR63DI\ncQASY7CRoUiak1NTgPkzeV8VcNJmUt8c2eKJIifqBAjquH6+6UXs9Ol0aMPn6v0y\nB+TSuxhX2sSrpna9QcOh/QyoR5Hvcd81rZSbMc7yasKoUMXviotV1SfEqs3RU5Ts\nwnU4NHPn5ITRiuh5VMuvB/VnjnPC953u5uqAGtZ8BkC7X9cu5E0rMQ==\n-----END CERTIFICATE-----\n\nTrustwave Global Organization Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D9A69703AEFE5D37D18858C74026B004\n-----BEGIN CERTIFICATE-----\nMIIHGDCCBQCgAwIBAgITBs6C2aaXA67+XTfRiFjHQCawBDANBgkqhkiG9w0BAQsF\nADCBiDELMAkGA1UEBhMCVVMxETAPBgNVBAgMCElsbGlub2lzMRAwDgYDVQQHDAdD\naGljYWdvMSEwHwYDVQQKDBhUcnVzdHdhdmUgSG9sZGluZ3MsIEluYy4xMTAvBgNV\nBAMMKFRydXN0d2F2ZSBHbG9iYWwgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcN\nMTgwMjA2MTIyMTIwWhcNMjgwMjI0MDUwMTIwWjCBlDE9MDsGA1UEAxM0VHJ1c3R3\nYXZlIEdsb2JhbCBPcmdhbml6YXRpb24gVmFsaWRhdGlvbiBDQSwgTGV2ZWwgMTEh\nMB8GA1UEChMYVHJ1c3R3YXZlIEhvbGRpbmdzLCBJbmMuMRAwDgYDVQQHEwdDaGlj\nYWdvMREwDwYDVQQIEwhJbGxpbm9pczELMAkGA1UEBhMCVVMwggIiMA0GCSqGSIb3\nDQEBAQUAA4ICDwAwggIKAoICAQC8BzZtA3eWejFOGHc2DLgex6P471dLWIIHSlrF\nY4a2BCtzAd/VlpQ3gslWnTgthOmK2/hCc+WSaOLPVZzZf3lGnxbb0+Y87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\ndHA6Ly9zc2wudHJ1c3R3YXZlLmNvbS9pc3N1ZXJzL1RXR0NBLmNydDANBgkqhkiG\n9w0BAQsFAAOCAgEAFXwfmELpEGKUguzVTMix79XbUnkfLa7IXcqBOrwOWEF1V8F1\nxGY6jLlUTtoEXRYZwCpqOK/i4m4nmWCYE45O7URR8nqeFffceTi62t4Yvh6LkC9g\nUnj3aChLiO/Zdxilq6vfsXO0mKafrGtZXwjyskS250Pj9DsANs57QqvYN4hqbplJ\nzc95p09OUvEhPiyRyx6FyY28U+3X6+mSNMJWd4Nhr+3HtvmItLIXP2JCLxuYtu/K\n6nKcpFCFFKeF8K3PWpjsAb0hfXL4vc3WfyCYsQnvJeisyAh7yEuge2iDwl1/xXIo\nEOAyyYAxvy5UnzcAa0Z2lwjptve+jZ4gQ+A1ioYUavR3pSfBNzuJW30nZCWFadKc\nNXOPoAPkK8JLxgRBH3JboeBCXG6xgy/pXrTjyhW7/SS+Z+7eKkp9jgdTVQ12yUtc\nCiYWUuM4l240D/z+s03WOEcLTluESwFkJhzs3D9i5crTL72uSkDDmlh8HXoPAyYO\nl3Mn9cGWhd8M8IeQRXmb6O7gvvQZDoSXDVDbjBKcW1lFpi0wBxIBzLaOi4CX4OhI\nJHJ/H3duOMaltuzXLSLkc26jwHzMeq8seQRSXraXJi1t5oBKlmEWFEgq6xlH7mLW\n3TOqS19cuiSWl/CsnlLGaW8MH5YHmk+MJxQE1BcLBs6ciapvHlhLEd9EUpU=\n-----END CERTIFICATE-----\n\nSecureTrust TWG ECDSA P-256 Secure Email CA, Level 2\nTrustwave Holdings, Inc.\n072F30E9C4627001DECFEBF6BF5D3B1066D7E3\n-----BEGIN CERTIFICATE-----\nMIIDbTCCAxKgAwIBAgITBy8w6cRicAHez+v2v107EGbX4zAKBggqhkjOPQQDAjCB\nkTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCElsbGlub2lzMRAwDgYDVQQHEwdDaGlj\nYWdvMSEwHwYDVQQKExhUcnVzdHdhdmUg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E3sjU8d9dARkZCkInqmDyP/+XiLzgrYPMy7NS8lZcRsE5p2jggFz\nMIIBbzASBgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUE\nFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwHQYDVR0OBBYEFAwlVqqzYgakv+7gGxtX\nzC8s9g1QMB8GA1UdIwQYMBaAFKNBBqyQbdFK63WlShCZs7Ghi0r3MD0GA1UdIAQ2\nMDQwMgYEVR0gADAqMCgGCCsGAQUFBwIBFhxodHRwczovL3NzbC50cnVzdHdhdmUu\nY29tL0NBMDcGA1UdHwQwMC4wLKAqoCiGJmh0dHA6Ly9jcmwudHJ1c3R3YXZlLmNv\nbS9UV0dQMjU2Q0EuY3JsMHIGCCsGAQUFBwEBBGYwZDAmBggrBgEFBQcwAYYaaHR0\ncDovL29jc3AudHJ1c3R3YXZlLmNvbS8wOgYIKwYBBQUHMAKGLmh0dHA6Ly9zc2wu\ndHJ1c3R3YXZlLmNvbS9pc3N1ZXJzL1RXR1AyNTZDQS5jcnQwCgYIKoZIzj0EAwID\nSQAwRgIhALahroq1NScrFeCvG5uMgMKH/bo190D+Mkh2ZIojrUOfAiEAosFXFE73\n0WLRPjX2uOkLhXuA4cQEb1R1oeGDH4MNVOo=\n-----END CERTIFICATE-----\n\nTrustwave Global ECDSA P-256 Organization Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D9A8B57C104843994DACD79E28633E5F\n-----BEGIN CERTIFICATE-----\nMIIDqDCCA0+gAwIBAgITBs6C2ai1fBBIQ5lNrNeeKGM+XzAKBggqhkjOPQQDAjCB\nkTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCElsbGlub2lzMRAwDgYDVQQHEwdDaGlj\nYWdvMSEwHwYDVQQKExhUcnVzdHdhdmUgSG9sZGluZ3MsIEluYy4xOjA4BgNVBAMT\nMVRydXN0d2F2ZSBHbG9iYWwgRUNDIFAyNTYgQ2VydGlmaWNhdGlvbiBB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ODRDQS5jcmwweAYIKwYBBQUHAQEEbDBqMCgG\nCCsGAQUFBzABhhxodHRwOi8vb2NzcC5zZWN1cmV0cnVzdC5jb20vMD4GCCsGAQUF\nBzAChjJodHRwOi8vY2VydHMuc2VjdXJldHJ1c3QuY29tL2lzc3VlcnMvVFdHUDM4\nNENBLmNydDAKBggqhkjOPQQDAwNpADBmAjEA8X5zwZHtdHjLIn60rwG3Z3NAa6cU\n6gOFxyF+ksTCXvWCUP0oFUqsRPMKMYE2mtdQAjEA2diuEHTPUgCQ0ynhLjged8BO\nFyzL3UlFieGGp90v58gUpfjoFq0BReAw7MPYo/Qa\n-----END CERTIFICATE-----\n\nTrustwave Global ECDSA P-384 Domain Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D9B07A17CC5376157813389A2930A44A\n-----BEGIN CERTIFICATE-----\nMIID1TCCA1ygAwIBAgITBs6C2bB6F8xTdhV4EziaKTCkSjAKBggqhkjOPQQDAzCB\nkTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCElsbGlub2lzMRAwDgYDVQQHEwdDaGlj\nYWdvMSEwHwYDVQQKExhUcnVzdHdhdmUgSG9sZGluZ3MsIEluYy4xOjA4BgNVBAMT\nMVRydXN0d2F2ZSBHbG9iYWwgRUNDIFAzODQgQ2VydGlmaWNhdGlvbiBBdXRob3Jp\ndHkwHhcNMTgwMjA2MTIyMTIxWhcNMjgwMjI0MDUwMTIxWjCBmjFDMEEGA1UEAxM6\nVHJ1c3R3YXZlIEdsb2JhbCBFQ0RTQSBQLTM4NCBEb21haW4gVmFsaWRhdGlvbiBD\nQSwgTGV2ZWwgMTEhMB8GA1UEChMYVHJ1c3R3YXZlIEhvbGRpbmdzLCBJbmMuMRAw\nDgYDVQQHEwdDaGljYWdvMREwDwYDVQQIEwhJbGxpbm9pczELMAkGA1UEBhMCVVMw\ndjAQBgcqhkjOPQIBBgUrgQQAIgNiAASxlBEflNumTKsypgdOscM2x6ZRpQGSyB4B\nhJScRQI81UhZvzYSwxPWcxNZwFQoV457HfqR51pviJnHltRS8MJhJ9Q9Rf1sSmy4\nW6SPsM9qnBjwfBRxghByIsEIaTW/PKyjggFpMIIBZTASBgNVHRMBAf8ECDAGAQH/\nAgEAMA4GA1UdDwEB/wQEAwIBhjATBgNVHSUEDDAKBggrBgEFBQcDATAdBgNVHQ4E\nFgQUp6etGGS1u/oGGEfIwJ68Zf9pAWAwHwYDVR0jBBgwFoAUVamEidLBMr0Yy2ym\nB07I552+gpAwPQYDVR0gBDYwNDAyBgRVHSAAMCowKAYIKwYBBQUHAgEWHGh0dHBz\nOi8vc3NsLnRydXN0d2F2ZS5jb20vQ0EwNwYDVR0fBDAwLjAsoCqgKIYmaHR0cDov\nL2NybC50cnVzdHdhdmUuY29tL1RXR1AzODRDQS5jcmwwcgYIKwYBBQUHAQEEZjBk\nMCYGCCsGAQUFBzABhhpodHRwOi8vb2NzcC50cnVzdHdhdmUuY29tLzA6BggrBgEF\nBQcwAoYuaHR0cDovL3NzbC50cnVzdHdhdmUuY29tL2lzc3VlcnMvVFdHUDM4NENB\nLmNydDAKBggqhkjOPQQDAwNnADBkAjA6fS1jRjt+DvnWSI58v4lX+8DCXbdEhDaB\nbBOS/rXwS/ntsFXqTf0B90GPv3AWlFMCMBbz6nXMwX0jKRkaFZOZx9tvwUapdq7M\n6jYpT/NnAzH68x1t3/7ysZ8lPuKIqAwdKQ==\n-----END CERTIFICATE-----\n\nTrustwave Global ECDSA P-384 Extended Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D9A331594530006781829387E40DBCB6\n-----BEGIN CERTIFICATE-----\nMIID4zCCA2igAwIBAgITBs6C2aMxWUUwAGeBgpOH5A28tjAKBggqhkjOPQQDAzCB\nkTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCElsbGlub2lzMRAwDgYDVQQHEwdDaGlj\nYWdvMSEwHwYDVQQKExhUcnVzdHdhdmUgSG9sZGluZ3MsIEluYy4xOjA4BgNVBAMT\nMVRydXN0d2F2ZSBH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b57no/K265dPxeuALAjEA27NTMZM344eT\nX3df9B22dY5ZshsUMIiRcMo1K4B/GBO8SIA0jParkHS5g4WO5K7O\n-----END CERTIFICATE-----\n\nTrustwave Global ECDSA P-384 Organization Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D9A9D8E29837EF90BEAF59DC6551BED6\n-----BEGIN CERTIFICATE-----\nMIID5jCCA2ygAwIBAgITBs6C2anY4pg375C+r1ncZVG+1jAKBggqhkjOPQQDAzCB\nkTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCElsbGlub2lzMRAwDgYDVQQHEwdDaGlj\nYWdvMSEwHwYDVQQKExhUcnVzdHdhdmUgSG9sZGluZ3MsIEluYy4xOjA4BgNVBAMT\nMVRydXN0d2F2ZSBHbG9iYWwgRUNDIFAzODQgQ2VydGlmaWNhdGlvbiBBdXRob3Jp\ndHkwHhcNMTgwMjA2MTIyMTIxWhcNMjgwMjI0MDUwMTIxWjCBoDFJMEcGA1UEAxNA\nVHJ1c3R3YXZlIEdsb2JhbCBFQ0RTQSBQLTM4NCBPcmdhbml6YXRpb24gVmFsaWRh\ndGlvbiBDQSwgTGV2ZWwgMTEhMB8GA1UEChMYVHJ1c3R3YXZlIEhvbGRpbmdzLCBJ\nbmMuMRAwDgYDVQQHEwdDaGljYWdvMREwDwYDVQQIEwhJbGxpbm9pczELMAkGA1UE\nBhMCVVMwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAATvG09PrsO8UQZhH5Zw54rwgcUw\nKjC9D2V3myjD5WOa8uxdTL8PzdwPk4TCcSf6UUG1Tt74j/I+vBOi2tgMcDt68Zld\nvTj+jZT1BBYTQtYh6/dOUjmiapQU5XqoFMRNubGjggFzMIIBbzASBgNVHRMBAf8E\nCDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAUBggrBgEFBQcDAgYI\nKwYBBQUHAwEwHQYDVR0OBBYEFDoXwH5iO1eguEDKzDRHzZZ+/AmIMB8GA1UdIwQY\n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IW0olC0JATY6Ng\nxAbjIJA4wtW/tA+rgE6WcA5y3bLN3bRMQVDSu6X26hkVjvwo4/VYykOp3e9Cqlfe\ngJAsrqBQKXkUpEbYEmmorXxj6/74e//xwXTz0XS0BS9cXhONlTQffyJnMeLaunzQ\nS1x/MvALfPCHCZCTOfLDmwylKtHHu+V2Ks0HV+ZrzCBRR5W3MhGTU7PpNEMQwyGF\n+MG5eZTd0jyxOSOjaXQm7iDh0tG/iKZZegn5AhNdaHE74QEHTjK+teLQlo60QGBk\necyzakgVYZ/Ezalz8nQwhCA=\n-----END CERTIFICATE-----\n\nTrustwave XRamp Global Extended Validation CA, Level 1\nXRamp Security Services Inc\n00D3D519C2B2EB5C7040F64CBC957BBD2C\n-----BEGIN CERTIFICATE-----\nMIIFMDCCBBigAwIBAgIRANPVGcKy61xwQPZMvJV7vSwwDQYJKoZIhvcNAQELBQAw\ngYIxCzAJBgNVBAYTAlVTMR4wHAYDVQQLExV3d3cueHJhbXBzZWN1cml0eS5jb20x\nJDAiBgNVBAoTG1hSYW1wIFNlY3VyaXR5IFNlcnZpY2VzIEluYzEtMCsGA1UEAxMk\nWFJhbXAgR2xvYmFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTE1MDgxMjIw\nMTczMVoXDTI1MDgwOTIwMTczMVowgbcxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhJ\nbGxpbm9pczEQMA4GA1UEBxMHQ2hpY2FnbzEhMB8GA1UEChMYVHJ1c3R3YXZlIEhv\nbGRpbmdzLCBJbmMuMT8wPQYDVQQDEzZUcnVzdHdhdmUgWFJhbXAgR2xvYmFsIEV4\ndGVuZGVkIFZhbGlkYXRpb24gQ0EsIExldmVsIDExHzAdBgkqhkiG9w0BCQEWEGNh\nQHRydXN0d2F2ZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC9\nAAbj9SknrNJT9pDatGvlR386KRi0SkqIOGr+C5W91+8E8PqydEHwjrnrWt/MT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ud\nEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJngGWcNYtt2s9o9uFvo/ULSMQ6HMA4GA1Ud\nDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAmHNw4rDT7TnsTGDZqRKGFx6W\n0OhUKDtkLSGm+J1WE2pIPU/HPinbbViDVD2HfSMF1OQc3Og4ZYbFdada2zUFvXfe\nuyk3QAUHw5RSn8pk3fEbK9xGChACMf1KaA0HZJDmHvUqoai7PF35owgLEQzxPy0Q\nlG/+4jSHg9bP5Rs1bdID4bANqKCqRieCNqcVtgimQlRXtpla4gt5kNdXElE1GYhB\naCXUNxeEFfsBctyV3lImIJgm4nb1J2/6ADtKYdkNy1GTKv0WBpanI5ojSP5RvbbE\nsLFUzt5sQa0WZ37b/TjNuThOssFgy50X31ieemKyJo90lZvkWx3SD92YHJtZuSPT\nMaCm/zjdzyBP6VhWOmfD0faZmZ26NraAL4hHT4a/RDqA5Dccprrql5gR0IRiR2Qe\nqu5AvzSxnI9O4fKSTx+O856X3vOmeWqJcU9LJxdI/uz0UA9PSX3MReO9ekDFQdxh\nVicGaeVyQYHTtgGJoC86cnn+OjC/QezHYj6RS8fZMXZC+fc8Y+wmjHMMfRod6qh8\nh6jCJ3zhM0EPz8/8AKAigJ5Kp28AsEFFtyLKaEjFQqKu3R3y4G5OBVixwJAWKqQ9\nEEC+j2Jjg6mcgn0tAumDMHzLJ8n9HmYAsC7TIS+OMxZsmO0QqAfWzJPP29FpHOTK\nyeC2nOnOcXHebD8WpHk=\n-----END CERTIFICATE-----\n\nTrustwave Global ECC P256 Certification Authority\nTrustwave Holdings, Inc.\n0D6A5F083F285C3E5195DF5D\n-----BEGIN CERTIFICATE-----\nMIICYDCCAgegAwIBAgIMDWpfCD8oXD5Rld9dMAoGCCqGSM49BAMCMIGRMQswCQYD\nVQQGEwJVUzERMA8GA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAf\nBgNVBAoTGFRydXN0d2F2ZS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nNzA4MjMxOTM2NDNaFw00MjA4MjMxOTM2NDNaMIGRMQswCQYDVQQGEwJVUzERMA8G\nA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRydXN0\nd2F2ZSBIb2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3YXZlIEdsb2JhbCBF\nQ0MgUDM4NCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTB2MBAGByqGSM49AgEGBSuB\nBAAiA2IABGvaDXU1CDFHBa5FmVXxERMuSvgQMSOjfoPTfygIOiYaOs+Xgh+AtycJ\nj9GOMMQKmw6sWASr9zZ9lCOkmwqKi6vr/TklZvFe/oyujUF5nQlgziip04pt89ZF\n1PKYhDhloKNDMEEwDwYDVR0TAQH/BAUwAwEB/zAPBgNVHQ8BAf8EBQMDBwYAMB0G\nA1UdDgQWBBRVqYSJ0sEyvRjLbKYHTsjnnb6CkDAKBggqhkjOPQQDAwNnADBkAjA3\nAZKXRRJ+oPM+rRk6ct30UJMDEr5E0k9BpIycnR+j9sKS50gU/k6bpZFXrsY3crsC\nMGclCrEMXu6pY5Jv5ZAL/mYiykf9ijH3g/56vxC+GCsej/YpHpRZ744hN8tRmKVu\nSw==\n-----END CERTIFICATE-----\n",PKG_NAME="@hpcc-js/comms",PKG_VERSION="2.64.0",BUILD_VERSION="2.93.0",extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function __extends(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var __assign=function(){return(__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function __awaiter(e,t,n,r){return new(n||(n=Promise))(function(o,i){function u(e){try{s(r.next(e))}catch(e){i(e)}}function c(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(u,c)}s((r=r.apply(e,t||[])).next())})}function __generator(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function __spreadArray(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||t)}var logger=util.scopedLogger("comms/connection.ts");function instanceOfIOptions(e){return"baseUrl"in e}var DefaultOptions={type:"post",baseUrl:"",userID:"",password:"",rejectUnauthorized:!0,timeoutSecs:60};function instanceOfIConnection(e){return"function"==typeof e.opts&&"function"==typeof e.send&&"function"==typeof e.clone}function encode(e,t){return void 0===t||!0===t?encodeURIComponent(e):""+e}function serializeRequest(e,t,n){if(void 0===t&&(t=!0),void 0===n&&(n=""),n&&(n+="."),"object"!=typeof e)return encode(e,t);var r=[],o=function(o){if(e.hasOwnProperty(o))if(e[o]instanceof Array){var i=!1;e[o].forEach(function(e,u){"object"==typeof e?(i=!0,r.push(serializeRequest(e,t,n+encode(o+"."+u,t)))):r.push(n+encode(o+"_i"+u,t)+"="+serializeRequest(e,t))}),i&&r.push(n+encode(o+".itemcount",t)+"="+e[o].length)}else"object"==typeof e[o]?e[o]&&e[o].Item instanceof Array?(r.push(serializeRequest(e[o].Item,t,n+encode(o,t))),r.push(n+encode(o+".itemcount",t)+"="+e[o].Item.length)):r.push(serializeRequest(e[o],t,n+encode(o,t))):void 0!==e[o]?r.push(n+encode(o,t)+"="+encode(e[o],t)):r.push(n+encode(o,t))};for(var i in e)o(i);return r.join("&")}function deserializeResponse(e){return JSON.parse(e)}function jsonp(e,t,n,r,o){return void 0===n&&(n={}),void 0===r&&(r="json"),o&&console.warn("Header attributes ignored for JSONP connections"),new Promise(function(o,i){var u=1e3*e.timeoutSecs,c="jsonp_callback_"+Math.round(999999*Math.random());window[c]=function(e){u=0,p(),o("json"===r&&"string"==typeof e?deserializeResponse(e):e)};var s=document.createElement("script"),a=util.join(e.baseUrl,t);a+=a.indexOf("?")>=0?"&":"?",s.src=a+"jsonp="+c+"&"+serializeRequest(n,e.encodeRequest),document.body.appendChild(s);var l=setInterval(function(){u<=0?clearInterval(l):(u-=5e3)<=0?(clearInterval(l),logger.error("Request timeout: "+s.src),p(),i(Error("Request timeout: "+s.src))):logger.debug("Request pending ("+u/1e3+" sec): "+s.src)},5e3);function p(){delete window[c],document.body.removeChild(s)}})}function authHeader(e){return e.userID?{Authorization:"Basic "+btoa(e.userID+":"+e.password)}:{}}var _omitMap={};function doFetch(e,t,n,r,o){function i(e){if(e.ok)return"json"===o?e.json():e.text();throw new Error(e.statusText)}return r=__assign(__assign({},authHeader(e)),r),n=__assign(__assign({credentials:_omitMap[e.baseUrl]?"omit":"include"},n),{headers:r}),0===e.baseUrl.indexOf("https:")&&(!1===e.rejectUnauthorized&&fetch.__rejectUnauthorizedAgent?n.agent=fetch.__rejectUnauthorizedAgent:fetch.__trustwaveAgent&&(n.agent=fetch.__trustwaveAgent)),util.promiseTimeout(1e3*e.timeoutSecs,fetch(util.join(e.baseUrl,t),n).then(i).catch(function(r){return n.credentials=_omitMap[e.baseUrl]?"include":"omit",fetch(util.join(e.baseUrl,t),n).then(i).then(function(t){return _omitMap[e.baseUrl]=!_omitMap[e.baseUrl],t})}))}function post(e,t,n,r,o){var i;return void 0===r&&(r="json"),n.upload_&&(delete n.upload_,t+="?upload_"),n.abortSignal_&&(i=n.abortSignal_,delete n.abortSignal_),doFetch(e,t,{method:"post",body:serializeRequest(n,e.encodeRequest),signal:i},__assign({"Content-Type":"application/x-www-form-urlencoded"},o),r)}function get(e,t,n,r,o){var i;return void 0===r&&(r="json"),n.abortSignal_&&(i=n.abortSignal_,delete n.abortSignal_),doFetch(e,t+"?"+serializeRequest(n,e.encodeRequest),{method:"get",signal:i},__assign({},o),r)}function send(e,t,n,r,o){var i;switch(void 0===r&&(r="json"),e.type){case"jsonp":i=jsonp(e,t,n,r,o);break;case"get":i=get(e,t,n,r,o);break;case"post":default:i=post(e,t,n,r,o)}return i}var hookedSend=send;function hookSend(e){var t=hookedSend;return e&&(hookedSend=e),t}var Connection=function(){function e(e){this.opts(e)}return Object.defineProperty(e.prototype,"baseUrl",{get:function(){return this._opts.baseUrl},enumerable:!1,configurable:!0}),e.prototype.opts=function(e){return 0===arguments.length?this._opts:(this._opts=__assign(__assign({},DefaultOptions),e),this)},e.prototype.send=function(e,t,n,r){return void 0===n&&(n="json"),this._opts.hookSend?this._opts.hookSend(this._opts,e,t,n,hookedSend,r):hookedSend(this._opts,e,t,n,r)},e.prototype.clone=function(){return new e(this.opts())},e}();function setTransportFactory(e){var t=exports.createConnection;return exports.createConnection=e,t}function isArray(e){return"[object Array]"===Object.prototype.toString.call(e)}exports.createConnection=function(e){return new Connection(e)};var ESPExceptions=function(e){function t(t,n,r){var o=e.call(this,"ESPException: "+r.Source)||this;return o.isESPExceptions=!0,o.action=t,o.request=n,o.Source=r.Source,o.Exception=r.Exception,r.Exception.length?o.message=r.Exception[0].Code+": "+r.Exception[0].Message:o.message="",o}return __extends(t,e),t}(Error);function isExceptions(e){return e instanceof ESPExceptions||e.isESPExceptions&&Array.isArray(e.Exception)}function isConnection(e){return void 0!==e.send}var ESPConnection=function(){function e(e,t,n){this._connection=isConnection(e)?e:exports.createConnection(e),this._service=t,this._version=n}return Object.defineProperty(e.prototype,"baseUrl",{get:function(){return this._connection.opts().baseUrl},enumerable:!1,configurable:!0}),e.prototype.service=function(e){return void 0===e?this._service:(this._service=e,this)},e.prototype.version=function(e){return void 0===e?this._version:(this._version=e,this)},e.prototype.toESPStringArray=function(e,t){if(isArray(e[t])){for(var n=0;n<e[t].length;++n)e[t+"_i"+n]=e[t][n];delete e[t]}return e},e.prototype.opts=function(e){return void 0===e?this._connection.opts():(this._connection.opts(e),this)},e.prototype.send=function(e,t,n,r,o,i){void 0===t&&(t={}),void 0===n&&(n="json"),void 0===r&&(r=!1);var u,c=__assign(__assign({},t),{ver_:this._version});r&&(c.upload_=!0),o&&(c.abortSignal_=o);var s="json";switch(n){case"text":u=util.join(this._service,e),s="text";break;case"xsd":u=util.join(this._service,e+".xsd"),s="text";break;case"json2":u=util.join(this._service,e+"/json"),n="json";var a=e.split("/");e=a.pop();break;default:u=util.join(this._service,e+".json")}return this._connection.send(u,c,s).then(function(t){if("json"===n){var r=void 0;if(t&&t.Exceptions)throw new ESPExceptions(e,c,t.Exceptions);if(t&&(r=t[i||e+"Response"]),!r)throw new ESPExceptions(e,c,{Source:"ESPConnection.send",Exception:[{Code:0,Message:"Missing Response"}]});return r}return t}).catch(function(t){if(t.isESPExceptions)throw t;throw new ESPExceptions(e,c,{Source:"ESPConnection.send",Exception:[{Code:0,Message:t.message}]})})},e.prototype.clone=function(){return new e(this._connection.clone(),this._service,this._version)},e}(),Service=function(){function e(e,t,n){this._connection=new ESPConnection(e,t,n)}return Object.defineProperty(e.prototype,"baseUrl",{get:function(){return this._connection.opts().baseUrl},enumerable:!1,configurable:!0}),e}(),AccountService=function(){function e(e){this._connection=new ESPConnection(e,"Ws_Account","1.05")}return e.prototype.connectionOptions=function(){return this._connection.opts()},e.prototype.MyAccount=function(e){return this._connection.send("MyAccount",e)},e.prototype.UpdateUser=function(e){return this._connection.send("UpdateUser",e)},e.prototype.UpdateUserInput=function(e){return this._connection.send("UpdateUserInput",e)},e.prototype.VerifyUser=function(e){return this._connection.send("VerifyUser",e).catch(function(e){if(e.isESPExceptions&&e.Exception.some(function(e){return 20043===e.Code}))return{retcode:20043,Exceptions:{Source:"wsAccount",Exception:e.Exception}};throw e})},e}(),CodesignService=function(){function e(e){this._connection=new ESPConnection(e,"ws_codesign","1.1")}return e.prototype.connectionOptions=function(){return this._connection.opts()},e.prototype.ListUserIDs=function(e){return this._connection.send("ListUserIDs",e).then(function(e){return e.UserIDs.Item}).catch(function(e){return[]})},e.prototype.Sign=function(e){return this._connection.send("Sign",__assign({SigningMethod:"gpg"},e))},e.prototype.Verify=function(e){return this._connection.send("Verify",e)},e}(),DFUService=function(e){function t(t){return e.call(this,t,"WsDfu","1.60")||this}return __extends(t,e),t.prototype.DFUQuery=function(e){return this._connection.send("DFUQuery",e)},t.prototype.DFUInfo=function(e){return this._connection.send("DFUInfo",e)},t.prototype.DFUFile=function(e){return this._connection.send("DFUDefFile",e,"text")},t.prototype.ListHistory=function(e){return this._connection.send("ListHistory",e)},t.prototype.EraseHistory=function(e){return this._connection.send("EraseHistory",e)},t}(Service),DFUXRefService=function(e){function t(t){return e.call(this,t,"WsDFUXRef","1.01")||this}return __extends(t,e),t.prototype.DFUXRefArrayAction=function(e){return this._connection.send("DFUXRefArrayAction",e)},t.prototype.DFUXRefBuild=function(e){return this._connection.send("DFUXRefBuild",e)},t.prototype.DFUXRefBuildCancel=function(e){return this._connection.send("DFUXRefBuildCancel",e)},t.prototype.DFUXRefCleanDirectories=function(e){return this._connection.send("DFUXRefCleanDirectories",e)},t.prototype.DFUXRefDirectories=function(e){return this._connection.send("DFUXRefDirectories",e,void 0,void 0,void 0,"DFUXRefDirectoriesQueryResponse")},t.prototype.DFUXRefFoundFiles=function(e){return this._connection.send("DFUXRefFoundFiles",e,void 0,void 0,void 0,"DFUXRefFoundFilesQueryResponse")},t.prototype.DFUXRefList=function(e){return void 0===e&&(e={}),this._connection.send("DFUXRefList",e)},t.prototype.DFUXRefLostFiles=function(e){return this._connection.send("DFUXRefLostFiles",e,void 0,void 0,void 0,"DFUXRefLostFilesQueryResponse")},t.prototype.DFUXRefMessages=function(e){return this._connection.send("DFUXRefMessages",e,void 0,void 0,void 0,"DFUXRefMessagesQueryResponse")},t.prototype.DFUXRefOrphanFiles=function(e){return this._connection.send("DFUXRefOrphanFiles",e,void 0,void 0,void 0,"DFUXRefOrphanFilesQueryResponse")},t.prototype.DFUXRefUnusedFiles=function(e){return this._connection.send("DFUXRefUnusedFiles",e)},t}(Service);function jsonToIField(e,t){var n=typeof t;switch(n){case"boolean":case"number":case"string":return{id:e,type:n};case"object":if(t.Row instanceof Array&&(t=t.Row),t instanceof Array)return{id:e,type:"dataset",children:jsonToIFieldArr(t[0])};if(t instanceof Object){if(t.Item&&t.Item instanceof Array&&1===t.Item.length){var r=typeof t.Item[0];if("string"===r||"number"===r)return{id:e,type:"set",fieldType:r};throw new Error("Unknown field type")}return{id:e,type:"object",fields:jsonToIFieldObj(t)}}default:throw new Error("Unknown field type")}}function jsonToIFieldArr(e){e.Row&&e.Row instanceof Array&&(e=e.Row[0]);var t=[];for(var n in e)t.push(jsonToIField(n,e[n]));return t}function jsonToIFieldObj(e){var t={};for(var n in e)t[n]=jsonToIField(n,e[n]);return t}var EclService=function(e){function t(t){return e.call(this,t,"WsEcl","0")||this}return __extends(t,e),t.prototype.opts=function(){return this._connection.opts()},t.prototype.requestJson=function(e,t){return this._connection.send("example/request/query/"+e+"/"+t+"/json",{},"text").then(function(e){var t=JSON.parse(e);for(var n in t)return t[n];return{}}).then(jsonToIFieldArr)},t.prototype.responseJson=function(e,t){return this._connection.send("example/response/query/"+e+"/"+t+"/json",{},"text").then(function(e){var t=JSON.parse(e);for(var n in t)return t[n].Results;return{}}).then(function(e){var t={};for(var n in e)t[n]=jsonToIFieldArr(e[n]);return t})},t.prototype.submit=function(e,t,n){var r="submit/query/"+e+"/"+t;return this._connection.send(r,n,"json2").then(function(e){if(e.Results&&e.Results.Exception)throw new ESPExceptions(r,n,{Source:"wsEcl.submit",Exception:e.Results.Exception});return e.Results})},t}(Service);function ascending(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function bisector(e){return 1===e.length&&(e=ascendingComparator(e)),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var i=r+o>>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var i=r+o>>>1;e(t[i],n)>0?o=i:r=i+1}return r}}}function ascendingComparator(e){return function(t,n){return ascending(e(t),n)}}var ascendingBisect=bisector(ascending);function number(e){return null===e?NaN:+e}function d3Max(e,t){var n,r,o=e.length,i=-1;if(null==t){for(;++i<o;)if(null!=(n=e[i])&&n>=n)for(r=n;++i<o;)null!=(n=e[i])&&n>r&&(r=n)}else for(;++i<o;)if(null!=(n=t(e[i],i,e))&&n>=n)for(r=n;++i<o;)null!=(n=t(e[i],i,e))&&n>r&&(r=n);return r}function d3Mean(e,t){var n,r=e.length,o=r,i=-1,u=0;if(null==t)for(;++i<r;)isNaN(n=number(e[i]))?--o:u+=n;else for(;++i<r;)isNaN(n=number(t(e[i],i,e)))?--o:u+=n;if(o)return u/o}var MachineService=function(){function e(e){this._connection=new ESPConnection(e,"ws_machine","1.13")}return e.prototype.GetTargetClusterInfo=function(e){return void 0===e&&(e={}),this._connection.send("GetTargetClusterInfo",e)},e.prototype.GetTargetClusterUsage=function(e,t){return void 0===t&&(t=!1),this._connection.send("GetTargetClusterUsage",{TargetClusters:e?{Item:e}:{},BypassCachedResult:t}).then(function(e){return util.exists("TargetClusterUsages.TargetClusterUsage",e)?e.TargetClusterUsages.TargetClusterUsage:[]})},e.prototype.GetTargetClusterUsageEx=function(e,t){return void 0===t&&(t=!1),this.GetTargetClusterUsage(e,t).then(function(e){return e.filter(function(e){return!!e.ComponentUsages}).map(function(e){var t=e.ComponentUsages.ComponentUsage.map(function(e){var t=(e.MachineUsages&&e.MachineUsages.MachineUsage?e.MachineUsages.MachineUsage:[]).map(function(e){var t=e.DiskUsages&&e.DiskUsages.DiskUsage?e.DiskUsages.DiskUsage.map(function(e){return __assign(__assign({},e),{Total:e.InUse+e.Available,PercentUsed:100-e.PercentAvailable})}):[];return{Name:e.Name,NetAddress:e.NetAddress,Description:e.Description,DiskUsages:t,mean:d3Mean(t.filter(function(e){return!isNaN(e.PercentUsed)}),function(e){return e.PercentUsed}),max:d3Max(t.filter(function(e){return!isNaN(e.PercentUsed)}),function(e){return e.PercentUsed})}});return{Type:e.Type,Name:e.Name,Description:e.Description,MachineUsages:t,MachineUsagesDescription:t.reduce(function(e,t){return e+(t.Description||"")},""),mean:d3Mean(t.filter(function(e){return!isNaN(e.mean)}),function(e){return e.mean}),max:d3Max(t.filter(function(e){return!isNaN(e.max)}),function(e){return e.max})}});return{Name:e.Name,Description:e.Description,ComponentUsages:t,ComponentUsagesDescription:t.reduce(function(e,t){return e+(t.MachineUsagesDescription||"")},""),mean:d3Mean(t.filter(function(e){return!isNaN(e.mean)}),function(e){return e.mean}),max:d3Max(t.filter(function(e){return!isNaN(e.max)}),function(e){return e.max})}})})},e}(),SMCService=function(){function e(e){this._connection=new ESPConnection(e,"WsSMC","1.24")}return e.prototype.connectionOptions=function(){return this._connection.opts()},e.prototype.Activity=function(e){return this._connection.send("Activity",e).then(function(e){return __assign({Running:{ActiveWorkunit:[]}},e)})},e.prototype.BrowseResources=function(e){return this._connection.send("BrowseResources",e)},e.prototype.GetBuildInfo=function(e){return this._connection.send("GetBuildInfo",e)},e.prototype.GetStatusServerInfo=function(e){return this._connection.send("GetStatusServerInfo",e)},e.prototype.GetThorQueueAvailability=function(e){return this._connection.send("GetThorQueueAvailability",e)},e.prototype.LockQuery=function(e){return this._connection.send("LockQuery",e)},e.prototype.NotInCommunityEdition=function(e){return this._connection.send("NotInCommunityEdition",e)},e.prototype.RoxieControlCmd=function(e){return this._connection.send("RoxieControlCmd",e)},e.prototype.SetBanner=function(e){return this._connection.send("SetBanner",e)},e.prototype.SMCJob=function(e){return this._connection.send("SMCJob",e)},e}(),StoreService=function(e){function t(t){return e.call(this,t,"WsStore","1")||this}return __extends(t,e),t.prototype.CreateStore=function(e){return this._connection.send("Fetch",e)},t.prototype.Delete=function(e){return this._connection.send("Delete",e).catch(function(e){if(e.isESPExceptions&&e.Exception.some(function(e){return-1===e.Code}))return{Exceptions:void 0,Success:!0};throw e})},t.prototype.DeleteNamespace=function(e){return this._connection.send("DeleteNamespace",e)},t.prototype.Fetch=function(e){return this._connection.send("Fetch",e).catch(function(e){if(e.isESPExceptions&&e.Exception.some(function(e){return-1===e.Code}))return{Exceptions:void 0,Value:void 0};throw e})},t.prototype.FetchAll=function(e){return this._connection.send("FetchAll",e)},t.prototype.FetchKeyMD=function(e){return this._connection.send("FetchKeyMD",e)},t.prototype.ListKeys=function(e){return this._connection.send("ListKeys",e)},t.prototype.ListNamespaces=function(e){return this._connection.send("ListNamespaces",e)},t.prototype.Set=function(e){return this._connection.send("Set",e)},t}(Service);!function(e){!function(e){e.All="All",e.QueriesOnly="QueriesOnly",e.WorkunitsOnly="WorkunitsOnly"}(e.RoxieQueueFilter||(e.RoxieQueueFilter={}))}(exports.TpLogicalClusterQuery||(exports.TpLogicalClusterQuery={}));var TopologyService=function(e){function t(t){return e.call(this,t,"WsTopology","1.25")||this}return __extends(t,e),t.prototype.connectionOptions=function(){return this._connection.opts()},t.prototype.protocol=function(){return this._connection.opts().baseUrl.split("//")[0]},t.prototype.ip=function(){return this._connection.opts().baseUrl.split("//")[1].split(":")[0]},t.prototype.TpLogicalClusterQuery=function(e){return void 0===e&&(e={}),this._connection.send("TpLogicalClusterQuery",e)},t.prototype.DefaultTpLogicalClusterQuery=function(e){return void 0===e&&(e={}),this.TpLogicalClusterQuery(e).then(function(e){return e.default?e.default:(e.TpLogicalClusters.TpLogicalCluster.some(function(e,r){return 0===r&&(n=e),"hthor"===e.Type&&(t=e,!0)}),t||n);var t,n})},t.prototype.TpServiceQuery=function(e){return this._connection.send("TpServiceQuery",e)},t.prototype.TpTargetClusterQuery=function(e){return this._connection.send("TpTargetClusterQuery",e)},t.prototype.TpListTargetClusters=function(e){return this._connection.send("TpListTargetClusters",e)},t}(Service);function isECLResult(e){return"string"==typeof e.Name}function isWUQueryECLWorkunit(e){return void 0!==e.TotalClusterTime}function isWUInfoWorkunit(e){return void 0!==e.StateEx}!function(e){e[e.Unknown=0]="Unknown",e[e.Compiled=1]="Compiled",e[e.Running=2]="Running",e[e.Completed=3]="Completed",e[e.Failed=4]="Failed",e[e.Archived=5]="Archived",e[e.Aborting=6]="Aborting",e[e.Aborted=7]="Aborted",e[e.Blocked=8]="Blocked",e[e.Submitted=9]="Submitted",e[e.Scheduled=10]="Scheduled",e[e.Compiling=11]="Compiling",e[e.Wait=12]="Wait",e[e.UploadingFiled=13]="UploadingFiled",e[e.DebugPaused=14]="DebugPaused",e[e.DebugRunning=15]="DebugRunning",e[e.Paused=16]="Paused",e[e.LAST=17]="LAST",e[e.NotFound=999]="NotFound"}(exports.WUStateID||(exports.WUStateID={})),function(e){!function(e){e[e.Unknown=0]="Unknown",e[e.Compile=1]="Compile",e[e.Check=2]="Check",e[e.Run=3]="Run",e[e.ExecuteExisting=4]="ExecuteExisting",e[e.Pause=5]="Pause",e[e.PauseNow=6]="PauseNow",e[e.Resume=7]="Resume",e[e.Debug=8]="Debug",e[e.__size=9]="__size"}(e.Action||(e.Action={}))}(exports.WUUpdate||(exports.WUUpdate={}));var WorkunitsService=function(e){function t(t){return e.call(this,t,"WsWorkunits","1.85")||this}return __extends(t,e),t.prototype.opts=function(){return this._connection.opts()},t.prototype.connection=function(){return this._connection.clone()},t.prototype.Ping=function(){return this._connection.send("Ping",{},"json",!1,void 0,"WsWorkunitsPingResponse").then(function(e){return{result:!0}}).catch(function(e){return{result:!1,error:e}})},t.prototype.WUQuery=function(e){return void 0===e&&(e={}),this._connection.send("WUQuery",e).then(function(e){return util.deepMixin({Workunits:{ECLWorkunit:[]}},e)})},t.prototype.WUInfo=function(e){var t=__assign({Wuid:"",TruncateEclTo64k:!0,IncludeExceptions:!1,IncludeGraphs:!1,IncludeSourceFiles:!1,IncludeResults:!1,IncludeResultsViewNames:!1,IncludeVariables:!1,IncludeTimers:!1,IncludeDebugValues:!1,IncludeApplicationValues:!1,IncludeWorkflows:!1,IncludeXmlSchemas:!1,IncludeResourceURLs:!1,IncludeECL:!1,IncludeHelpers:!1,IncludeAllowedClusters:!1,IncludeTotalClusterTime:!0,IncludeServiceNames:!0,SuppressResultSchemas:!0},e);return this._connection.send("WUInfo",t)},t.prototype.WUCreate=function(){return this._connection.send("WUCreate")},t.prototype.WUUpdate=function(e){return this._connection.send("WUUpdate",e,"json",!0)},t.prototype.WUSubmit=function(e){return this._connection.send("WUSubmit",e)},t.prototype.WUResubmit=function(e){return this._connection.toESPStringArray(e,"Wuids"),this._connection.send("WUResubmit",e)},t.prototype.WUQueryDetails=function(e){return this._connection.send("WUQueryDetails",e)},t.prototype.WUListQueries=function(e){return this._connection.send("WUListQueries",e)},t.prototype.WUPushEvent=function(e){return this._connection.send("WUPushEvent",e)},t.prototype.WUAction=function(e){return e.ActionType=e.WUActionType,this._connection.send("WUAction",e)},t.prototype.WUGetZAPInfo=function(e){return this._connection.send("WUGetZAPInfo",e)},t.prototype.WUShowScheduled=function(e){return this._connection.send("WUShowScheduled",e)},t.prototype.WUQuerySetAliasAction=function(e){return this._connection.send("WUQuerySetAliasAction",e)},t.prototype.WUQuerySetQueryAction=function(e){return this._connection.send("WUQuerySetQueryAction",e)},t.prototype.WUPublishWorkunit=function(e){return this._connection.send("WUPublishWorkunit",e)},t.prototype.WUGetGraph=function(e){return this._connection.send("WUGetGraph",e)},t.prototype.WUResult=function(e,t){return this._connection.send("WUResult",e,"json",!1,t)},t.prototype.WUQueryGetGraph=function(e){return this._connection.send("WUQueryGetGraph",e)},t.prototype.WUFile=function(e){return this._connection.send("WUFile",e,"text")},t.prototype.WUGetStats=function(e){return this._connection.send("WUGetStats",e)},t.prototype.WUQueryGetSummaryStats=function(e){return this._connection.send("WUQueryGetSummaryStats",e)},t.prototype.WUDetailsMeta=function(e){return this._WUDetailsMetaPromise||(this._WUDetailsMetaPromise=this._connection.send("WUDetailsMeta",e)),this._WUDetailsMetaPromise},t.prototype.WUDetails=function(e){return this._connection.send("WUDetails",e)},t.prototype.WUCDebug=function(e){return this._connection.send("WUCDebug",e,void 0,void 0,void 0,"WUDebug").then(function(e){var t=util.xml2json(e.Result).children();return t.length?t[0]:null})},t}(Service),t0=new Date,t1=new Date;function newInterval(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var u,c=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return c;do{c.push(u=new Date(+n)),t(n,i),e(n)}while(u<n&&n<r);return c},o.filter=function(n){return newInterval(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(o.count=function(t,r){return t0.setTime(+t),t1.setTime(+r),e(t0),e(t1),Math.floor(n(t0,t1))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e==0}:function(t){return o.count(0,t)%e==0}):o:null}),o}var durationMinute=6e4,durationDay=864e5,durationWeek=6048e5,day=newInterval(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*durationMinute)/durationDay},function(e){return e.getDate()-1});function weekday(e){return newInterval(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*durationMinute)/durationWeek})}var sunday=weekday(0),monday=weekday(1),tuesday=weekday(2),wednesday=weekday(3),thursday=weekday(4),friday=weekday(5),saturday=weekday(6),year=newInterval(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});year.every=function(e){return isFinite(e=Math.floor(e))&&e>0?newInterval(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var utcDay=newInterval(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/durationDay},function(e){return e.getUTCDate()-1});function utcWeekday(e){return newInterval(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/durationWeek})}var utcSunday=utcWeekday(0),utcMonday=utcWeekday(1),utcTuesday=utcWeekday(2),utcWednesday=utcWeekday(3),utcThursday=utcWeekday(4),utcFriday=utcWeekday(5),utcSaturday=utcWeekday(6),utcYear=newInterval(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});function localDate(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function utcDate(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function newDate(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function formatLocale(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,u=e.shortDays,c=e.months,s=e.shortMonths,a=formatRe(o),l=formatLookup(o),p=formatRe(i),h=formatLookup(i),f=formatRe(u),g=formatLookup(u),d=formatRe(c),A=formatLookup(c),y=formatRe(s),b=formatLookup(s),B={a:function(e){return u[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return s[e.getMonth()]},B:function(e){return c[e.getMonth()]},c:null,d:formatDayOfMonth,e:formatDayOfMonth,f:formatMicroseconds,g:formatYearISO,G:formatFullYearISO,H:formatHour24,I:formatHour12,j:formatDayOfYear,L:formatMilliseconds,m:formatMonthNumber,M:formatMinutes,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatSeconds,u:formatWeekdayNumberMonday,U:formatWeekNumberSunday,V:formatWeekNumberISO,w:formatWeekdayNumberSunday,W:formatWeekNumberMonday,x:null,X:null,y:formatYear,Y:formatFullYear,Z:formatZone,"%":formatLiteralPercent},C={a:function(e){return u[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return s[e.getUTCMonth()]},B:function(e){return c[e.getUTCMonth()]},c:null,d:formatUTCDayOfMonth,e:formatUTCDayOfMonth,f:formatUTCMicroseconds,g:formatUTCYearISO,G:formatUTCFullYearISO,H:formatUTCHour24,I:formatUTCHour12,j:formatUTCDayOfYear,L:formatUTCMilliseconds,m:formatUTCMonthNumber,M:formatUTCMinutes,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatUTCSeconds,u:formatUTCWeekdayNumberMonday,U:formatUTCWeekNumberSunday,V:formatUTCWeekNumberISO,w:formatUTCWeekdayNumberSunday,W:formatUTCWeekNumberMonday,x:null,X:null,y:formatUTCYear,Y:formatUTCFullYear,Z:formatUTCZone,"%":formatLiteralPercent},m={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=g[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=b[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.m=A[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return D(e,t,n,r)},d:parseDayOfMonth,e:parseDayOfMonth,f:parseMicroseconds,g:parseYear,G:parseFullYear,H:parseHour24,I:parseHour24,j:parseDayOfYear,L:parseMilliseconds,m:parseMonthNumber,M:parseMinutes,p:function(e,t,n){var r=a.exec(t.slice(n));return r?(e.p=l[r[0].toLowerCase()],n+r[0].length):-1},q:parseQuarter,Q:parseUnixTimestamp,s:parseUnixTimestampSeconds,S:parseSeconds,u:parseWeekdayNumberMonday,U:parseWeekNumberSunday,V:parseWeekNumberISO,w:parseWeekdayNumberSunday,W:parseWeekNumberMonday,x:function(e,t,r){return D(e,n,t,r)},X:function(e,t,n){return D(e,r,t,n)},y:parseYear,Y:parseFullYear,Z:parseZone,"%":parseLiteralPercent};function w(e,t){return function(n){var r,o,i,u=[],c=-1,s=0,a=e.length;for(n instanceof Date||(n=new Date(+n));++c<a;)37===e.charCodeAt(c)&&(u.push(e.slice(s,c)),null!=(o=pads[r=e.charAt(++c)])?r=e.charAt(++c):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),u.push(r),s=c+1);return u.push(e.slice(s,c)),u.join("")}}function E(e,t){return function(n){var r,o,i=newDate(1900,void 0,1);if(D(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(!t||"Z"in i||(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=utcDate(newDate(i.y,0,1))).getUTCDay(),r=o>4||0===o?utcMonday.ceil(r):utcMonday(r),r=utcDay.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=localDate(newDate(i.y,0,1))).getDay(),r=o>4||0===o?monday.ceil(r):monday(r),r=day.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?utcDate(newDate(i.y,0,1)).getUTCDay():localDate(newDate(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,utcDate(i)):localDate(i)}}function D(e,t,n,r){for(var o,i,u=0,c=t.length,s=n.length;u<c;){if(r>=s)return-1;if(37===(o=t.charCodeAt(u++))){if(o=t.charAt(u++),!(i=m[o in pads?t.charAt(u++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return B.x=w(n,B),B.X=w(r,B),B.c=w(t,B),C.x=w(n,C),C.X=w(r,C),C.c=w(t,C),{format:function(e){var t=w(e+="",B);return t.toString=function(){return e},t},parse:function(e){var t=E(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",C);return t.toString=function(){return e},t},utcParse:function(e){var t=E(e+="",!0);return t.toString=function(){return e},t}}}utcYear.every=function(e){return isFinite(e=Math.floor(e))&&e>0?newInterval(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var locale,timeFormat,timeParse,utcFormat,utcParse,pads={"-":"",_:" ",0:"0"},numberRe=/^\s*\d+/,percentRe=/^%/,requoteRe=/[\\^$*+?|[\]().{}]/g;function pad(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function requote(e){return e.replace(requoteRe,"\\$&")}function formatRe(e){return new RegExp("^(?:"+e.map(requote).join("|")+")","i")}function formatLookup(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function parseWeekdayNumberSunday(e,t,n){var r=numberRe.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function parseWeekdayNumberMonday(e,t,n){var r=numberRe.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function parseWeekNumberSunday(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function parseWeekNumberISO(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function parseWeekNumberMonday(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function parseFullYear(e,t,n){var r=numberRe.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function parseYear(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function parseZone(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function parseQuarter(e,t,n){var r=numberRe.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function parseMonthNumber(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function parseDayOfMonth(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function parseDayOfYear(e,t,n){var r=numberRe.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function parseHour24(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function parseMinutes(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function parseSeconds(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function parseMilliseconds(e,t,n){var r=numberRe.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function parseMicroseconds(e,t,n){var r=numberRe.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function parseLiteralPercent(e,t,n){var r=percentRe.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function parseUnixTimestamp(e,t,n){var r=numberRe.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function parseUnixTimestampSeconds(e,t,n){var r=numberRe.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function formatDayOfMonth(e,t){return pad(e.getDate(),t,2)}function formatHour24(e,t){return pad(e.getHours(),t,2)}function formatHour12(e,t){return pad(e.getHours()%12||12,t,2)}function formatDayOfYear(e,t){return pad(1+day.count(year(e),e),t,3)}function formatMilliseconds(e,t){return pad(e.getMilliseconds(),t,3)}function formatMicroseconds(e,t){return formatMilliseconds(e,t)+"000"}function formatMonthNumber(e,t){return pad(e.getMonth()+1,t,2)}function formatMinutes(e,t){return pad(e.getMinutes(),t,2)}function formatSeconds(e,t){return pad(e.getSeconds(),t,2)}function formatWeekdayNumberMonday(e){var t=e.getDay();return 0===t?7:t}function formatWeekNumberSunday(e,t){return pad(sunday.count(year(e)-1,e),t,2)}function dISO(e){var t=e.getDay();return t>=4||0===t?thursday(e):thursday.ceil(e)}function formatWeekNumberISO(e,t){return e=dISO(e),pad(thursday.count(year(e),e)+(4===year(e).getDay()),t,2)}function formatWeekdayNumberSunday(e){return e.getDay()}function formatWeekNumberMonday(e,t){return pad(monday.count(year(e)-1,e),t,2)}function formatYear(e,t){return pad(e.getFullYear()%100,t,2)}function formatYearISO(e,t){return pad((e=dISO(e)).getFullYear()%100,t,2)}function formatFullYear(e,t){return pad(e.getFullYear()%1e4,t,4)}function formatFullYearISO(e,t){var n=e.getDay();return pad((e=n>=4||0===n?thursday(e):thursday.ceil(e)).getFullYear()%1e4,t,4)}function formatZone(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+pad(t/60|0,"0",2)+pad(t%60,"0",2)}function formatUTCDayOfMonth(e,t){return pad(e.getUTCDate(),t,2)}function formatUTCHour24(e,t){return pad(e.getUTCHours(),t,2)}function formatUTCHour12(e,t){return pad(e.getUTCHours()%12||12,t,2)}function formatUTCDayOfYear(e,t){return pad(1+utcDay.count(utcYear(e),e),t,3)}function formatUTCMilliseconds(e,t){return pad(e.getUTCMilliseconds(),t,3)}function formatUTCMicroseconds(e,t){return formatUTCMilliseconds(e,t)+"000"}function formatUTCMonthNumber(e,t){return pad(e.getUTCMonth()+1,t,2)}function formatUTCMinutes(e,t){return pad(e.getUTCMinutes(),t,2)}function formatUTCSeconds(e,t){return pad(e.getUTCSeconds(),t,2)}function formatUTCWeekdayNumberMonday(e){var t=e.getUTCDay();return 0===t?7:t}function formatUTCWeekNumberSunday(e,t){return pad(utcSunday.count(utcYear(e)-1,e),t,2)}function UTCdISO(e){var t=e.getUTCDay();return t>=4||0===t?utcThursday(e):utcThursday.ceil(e)}function formatUTCWeekNumberISO(e,t){return e=UTCdISO(e),pad(utcThursday.count(utcYear(e),e)+(4===utcYear(e).getUTCDay()),t,2)}function formatUTCWeekdayNumberSunday(e){return e.getUTCDay()}function formatUTCWeekNumberMonday(e,t){return pad(utcMonday.count(utcYear(e)-1,e),t,2)}function formatUTCYear(e,t){return pad(e.getUTCFullYear()%100,t,2)}function formatUTCYearISO(e,t){return pad((e=UTCdISO(e)).getUTCFullYear()%100,t,2)}function formatUTCFullYear(e,t){return pad(e.getUTCFullYear()%1e4,t,4)}function formatUTCFullYearISO(e,t){var n=e.getUTCDay();return pad((e=n>=4||0===n?utcThursday(e):utcThursday.ceil(e)).getUTCFullYear()%1e4,t,4)}function formatUTCZone(){return"+0000"}function formatLiteralPercent(){return"%"}function formatUnixTimestamp(e){return+e}function formatUnixTimestampSeconds(e){return Math.floor(+e/1e3)}function defaultLocale(e){return locale=formatLocale(e),timeFormat=locale.format,timeParse=locale.parse,utcFormat=locale.utcFormat,utcParse=locale.utcParse,locale}defaultLocale({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var ECLGraph=function(e){function t(t,n,r){var o=e.call(this)||this;o.wu=t;for(var i=0,u=0,c=r;u<c.length;u++){var s=c[u];if(s.GraphName===n.Name&&!s.HasSubGraphId){i=Math.round(1e3*s.Seconds)/1e3;break}}return o.set(__assign({Time:i},n)),o}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Label",{get:function(){return this.get("Label")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Type",{get:function(){return this.get("Type")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Complete",{get:function(){return this.get("Complete")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WhenStarted",{get:function(){return this.get("WhenStarted")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WhenFinished",{get:function(){return this.get("WhenFinished")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Time",{get:function(){return this.get("Time")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Running",{get:function(){return this.get("Running")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RunningId",{get:function(){return this.get("RunningId")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Failed",{get:function(){return this.get("Failed")},enumerable:!1,configurable:!0}),t.prototype.fetchScopeGraph=function(e){return e?this.wu.fetchGraphDetails([e],["subgraph"]).then(function(e){return createGraph(e)}):this.wu.fetchGraphDetails([this.Name],["graph"]).then(function(e){return createGraph(e)})},t}(util.StateObject),GraphCache=function(e){function t(){return e.call(this,function(e){return util.Cache.hash([e.Name])})||this}return __extends(t,e),t}(util.Cache);function walkXmlJson(e,t,n){(n=n||[]).push(e),t(e.name,e.$,e.children(),n),e.children().forEach(function(e){walkXmlJson(e,t,n)}),n.pop()}function flattenAtt(e){var t={};return e.forEach(function(e){"att"===e.name&&(t[e.$.name]=e.$.value)}),t}var XGMMLGraph=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Graph),XGMMLSubgraph=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Subgraph),XGMMLVertex=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Vertex),XGMMLEdge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Edge);function createXGMMLGraph(e,t){var n={},r={},o={},i=new XGMMLGraph(function(e){return e._.id}),u=[i.root];return walkXmlJson(t,function(e,t,i,c){var s=u[u.length-1];switch(e){case"graph":break;case"node":if(i.length&&i[0].children().length&&"graph"===i[0].children()[0].name){var a=s.createSubgraph(flattenAtt(i));u.push(a),n[t.id]=a}var l=s.createVertex(flattenAtt(i));r[t.id]=l;break;case"edge":var p=s.createEdge(r[t.source],r[t.target],flattenAtt(i));o[t.id]=p}}),i}var ScopeGraph=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Graph),ScopeSubgraph=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Subgraph),ScopeVertex=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Vertex),ScopeEdge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Edge);function createGraph(e){for(var t,n={},r={},o={},i=0,u=e;i<u.length;i++){switch((h=u[i]).ScopeType){case"graph":t=new ScopeGraph(function(e){return e._.Id},h),n[h.ScopeName]=t.root;break;case"subgraph":t||(t=new ScopeGraph(function(e){return e._.Id},h),n[h.ScopeName]=t.root);for(var c=h.parentScope().split(":"),s=n[h.parentScope()];c.length&&!s;)s=n[c.join(":")],c.pop();if(s){var a=s;n[h.ScopeName]=a.createSubgraph(h)}else console.log("Missing SG:Parent ("+h.Id+"): "+h.parentScope());break;case"activity":var l=n[h.parentScope()];l?o[h.ScopeName]=l.createVertex(h):console.log("Missing A:Parent ("+h.Id+"): "+h.parentScope());break;case"edge":r[h.ScopeName]=h;break;case"function":(f=o[h.parentScope()])?f._.children().push(h):console.log("Missing F:Parent ("+h.Id+"): "+h.parentScope())}}for(var p in r){var h,f;if(f=n[(h=r[p]).parentScope()]){var g=f;try{var d=t.vertex(h.attr("IdSource").RawValue),A=t.vertex(h.attr("IdTarget").RawValue);g.createEdge(d,A,h)}catch(e){console.log("Invalid Edge: "+p)}}else console.log("Missing E:Parent ("+h.Id+"): "+h.parentScope())}return t}var Resource=function(e){function t(t,n){var r=e.call(this)||this;r.wu=t;var o=n.split("\\").join("/"),i=o.split("/"),u="res/"+r.wu.Wuid+"/",c="",s="";return 0===o.indexOf(u)&&(c=o.substr(u.length),s=i[i.length-1]),r.set({URL:n,DisplayName:s,DisplayPath:c}),r}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"URL",{get:function(){return this.get("URL")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DisplayName",{get:function(){return this.get("DisplayName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DisplayPath",{get:function(){return this.get("DisplayPath")},enumerable:!1,configurable:!0}),t}(util.StateObject),XSDNode=function(){function e(e){this.e=e}return e.prototype.fix=function(){delete this.e},e}(),XSDXMLNode=function(e){function t(t){var n=e.call(this,t)||this;return n.isSet=!1,n.attrs={},n._children=[],n}return __extends(t,e),t.prototype.append=function(e){this._children.push(e),this.type||(this.type="hpcc:childDataset")},t.prototype.fix=function(){var e;this.name=this.e.$.name,this.type=this.e.$.type;for(var t=this._children.length-1;t>=0;--t){var n=this._children[t];"Row"===n.name&&void 0===n.type&&((e=this._children).push.apply(e,n._children),this._children.splice(t,1))}var r=this.setOfType();r&&(this.type=r,this.isSet=!0,this._children=[])},t.prototype.children=function(){return this._children},t.prototype.isAll=function(e){return"All"===e.name&&void 0===e.type},t.prototype.setOfType=function(){var e=this.children();if(void 0===this.type&&2===e.length){if(this.isAll(e[0]))return e[1].type;if(this.isAll(e[1]))return e[0].type}},t.prototype.charWidth=function(){var e=-1;switch(this.type){case"xs:boolean":e=5;break;case"xs:integer":case"xs:nonNegativeInteger":case"xs:double":e=8;break;case"xs:string":e=32;break;default:for(var t=this.type.lastIndexOf("_"),n=t>0?t:this.type.length,r=n-1;r>=0&&-1!=="0123456789".indexOf(this.type.charAt(r));--r);r+1<n&&(e=parseInt(this.type.substring(r+1,n),10)),0===this.type.indexOf("data")&&(e*=2)}return e<this.name.length&&(e=this.name.length),e},t}(XSDNode),XSDSimpleType=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.append=function(e){switch(e.name){case"xs:restriction":this._restricition=e;break;case"xs:maxLength":this._maxLength=e}},t.prototype.fix=function(){this.name=this.e.$.name,this.type=this._restricition.$.base,this.maxLength=this._maxLength?+this._maxLength.$.value:void 0,delete this._restricition,delete this._maxLength,e.prototype.fix.call(this)},t}(XSDNode),XSDSchema=function(){function e(){this.simpleTypes={}}return e.prototype.fields=function(){return this.root.children()},e}(),XSDParser=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.schema=new XSDSchema,t.simpleTypes={},t.xsdStack=new util.Stack,t}return __extends(t,e),t.prototype.startXMLNode=function(t){switch(e.prototype.startXMLNode.call(this,t),t.name){case"xs:element":var n=new XSDXMLNode(t);this.schema.root?this.xsdStack.depth()&&this.xsdStack.top().append(n):this.schema.root=n,this.xsdStack.push(n);break;case"xs:simpleType":this.simpleType=new XSDSimpleType(t)}},t.prototype.endXMLNode=function(t){switch(t.name){case"xs:element":this.xsdStack.pop().fix();break;case"xs:simpleType":this.simpleType.fix(),this.simpleTypes[this.simpleType.name]=this.simpleType,delete this.simpleType;break;case"xs:appinfo":var n=this.xsdStack.top();for(var r in t.$)n.attrs[r]=t.$[r];break;default:this.simpleType&&this.simpleType.append(t)}e.prototype.endXMLNode.call(this,t)},t}(util.SAXStackParser);function parseXSD(e){var t=new XSDParser;return t.parse(e),t.schema}var XSDParser2=function(e){function t(t){var n=e.call(this)||this;return n.schema=new XSDSchema,n.simpleTypes={},n.xsdStack=new util.Stack,n._rootName=t,n}return __extends(t,e),t.prototype.startXMLNode=function(t){switch(e.prototype.startXMLNode.call(this,t),t.name){case"xsd:element":var n=new XSDXMLNode(t);this.schema.root||this._rootName!==t.$.name||(this.schema.root=n),this.xsdStack.depth()&&this.xsdStack.top().append(n),this.xsdStack.push(n);break;case"xsd:simpleType":this.simpleType=new XSDSimpleType(t)}},t.prototype.endXMLNode=function(t){switch(t.name){case"xsd:element":this.xsdStack.pop().fix()}e.prototype.endXMLNode.call(this,t)},t}(XSDParser);function parseXSD2(e,t){var n=new XSDParser2(t);return n.parse(e),n.schema}var _activity,GlobalResultCache=function(e){function t(){return e.call(this,function(e){return e.BaseUrl+"-"+e.Wuid+"-"+e.ResultName})||this}return __extends(t,e),t}(util.Cache),_results=new GlobalResultCache,Result=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.connection=t instanceof WorkunitsService?t:new WorkunitsService(t),"boolean"==typeof o&&!0===o?i.set({NodeGroup:n,LogicalFileName:r}):isECLResult(r)&&Array.isArray(o)?i.set(__assign(__assign({},r),{Wuid:n,ResultName:r.Name,ResultViews:o})):void 0===o?"number"==typeof r?i.set({Wuid:n,ResultSequence:r}):"string"==typeof r?i.set({Wuid:n,ResultName:r}):console.warn("Unknown Result.attach (1)"):console.warn("Unknown Result.attach (2)"),i}return __extends(t,e),Object.defineProperty(t.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Wuid",{get:function(){return this.get("Wuid")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultName",{get:function(){return this.get("ResultName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultSequence",{get:function(){return this.get("ResultSequence")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LogicalFileName",{get:function(){return this.get("LogicalFileName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Sequence",{get:function(){return this.get("Sequence")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Value",{get:function(){return this.get("Value")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Link",{get:function(){return this.get("Link")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FileName",{get:function(){return this.get("FileName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsSupplied",{get:function(){return this.get("IsSupplied")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ShowFileContent",{get:function(){return this.get("ShowFileContent")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Total",{get:function(){return this.get("Total")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ECLSchemas",{get:function(){return this.get("ECLSchemas")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"NodeGroup",{get:function(){return this.get("NodeGroup")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultViews",{get:function(){return this.get("ResultViews")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"XmlSchema",{get:function(){return this.get("XmlSchema")},enumerable:!1,configurable:!0}),t.attach=function(e,n,r,o){var i;return Array.isArray(o)?(i=_results.get({BaseUrl:e.baseUrl,Wuid:n,ResultName:r.Name},function(){return new t(e,n,r,o)})).set(r):void 0===o&&("number"==typeof r?i=_results.get({BaseUrl:e.baseUrl,Wuid:n,ResultName:"Sequence_"+r},function(){return new t(e,n,r)}):"string"==typeof r&&(i=_results.get({BaseUrl:e.baseUrl,Wuid:n,ResultName:r},function(){return new t(e,n,r)}))),i},t.attachLogicalFile=function(e,n,r){return _results.get({BaseUrl:e.baseUrl,Wuid:n,ResultName:r},function(){return new t(e,n,r,!0)})},t.prototype.isComplete=function(){return-1!==this.Total},t.prototype.fetchXMLSchema=function(){var e=this;return this.xsdSchema?Promise.resolve(this.xsdSchema):this.WUResult().then(function(t){return util.exists("Result.XmlSchema.xml",t)?(e.xsdSchema=parseXSD(t.Result.XmlSchema.xml),e.xsdSchema):null})},t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){switch(e.label){case 0:return[4,this.fetchRows(0,1,!0)];case 1:return e.sent(),[2,this]}})})},t.prototype.fetchRows=function(e,t,n,r,o){var i=this;return void 0===e&&(e=0),void 0===t&&(t=-1),void 0===n&&(n=!1),void 0===r&&(r={}),this.WUResult(e,t,!n,r,o).then(function(e){var t=e.Result;return delete e.Result,i.set(__assign({},e)),util.exists("XmlSchema.xml",t)&&(i.xsdSchema=parseXSD(t.XmlSchema.xml)),util.exists("Row",t)?t.Row:i.ResultName&&util.exists(i.ResultName,t)?t[i.ResultName].Row:[]})},t.prototype.rootField=function(){return this.xsdSchema?this.xsdSchema.root:null},t.prototype.fields=function(){return this.xsdSchema?this.xsdSchema.root.children():[]},t.prototype.WUResult=function(e,t,n,r,o){void 0===e&&(e=0),void 0===t&&(t=1),void 0===n&&(n=!1),void 0===r&&(r={});var i={NamedValue:{itemcount:0}};for(var u in r)i.NamedValue[i.NamedValue.itemcount++]={Name:u,Value:r[u]};var c={FilterBy:i};return this.Wuid&&void 0!==this.ResultName?(c.Wuid=this.Wuid,c.ResultName=this.ResultName):this.Wuid&&void 0!==this.ResultSequence?(c.Wuid=this.Wuid,c.Sequence=this.ResultSequence):this.LogicalFileName&&this.NodeGroup?(c.LogicalName=this.LogicalFileName,c.Cluster=this.NodeGroup):this.LogicalFileName&&(c.LogicalName=this.LogicalFileName),c.Start=e,c.Count=t,c.SuppressXmlSchema=n,this.connection.WUResult(c,o).then(function(e){return e})},t}(util.StateObject),ResultCache=function(e){function t(){return e.call(this,function(e){return util.Cache.hash([e.Sequence,e.Name,e.Value,e.FileName])})||this}return __extends(t,e),t}(util.Cache),Attribute=function(e){function t(t,n){var r=e.call(this)||this;return r.scope=t,r.set(n),r}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RawValue",{get:function(){return this.get("RawValue")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Formatted",{get:function(){return this.get("Formatted")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FormattedEnd",{get:function(){return this.get("FormattedEnd")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Measure",{get:function(){return this.get("Measure")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Creator",{get:function(){return this.get("Creator")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CreatorType",{get:function(){return this.get("CreatorType")},enumerable:!1,configurable:!0}),t}(util.StateObject),BaseScope=function(e){function t(t){var n=e.call(this)||this;return n._attributeMap={},n._children=[],n.update(t),n}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ScopeName",{get:function(){return this.get("ScopeName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Id",{get:function(){return this.get("Id")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ScopeType",{get:function(){return this.get("ScopeType")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Properties",{get:function(){return this.get("Properties",{Property:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Notes",{get:function(){return this.get("Notes",{Note:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CAttributes",{get:function(){var e=this,t=[],n={start:null,end:null};return this.Properties.Property.forEach(function(r){"ts"===r.Measure&&r.Name.indexOf("Started")>=0?n.start=r:e.ScopeName&&"ts"===r.Measure&&r.Name.indexOf("Finished")>=0?n.end=r:t.push(new Attribute(e,r))}),n.start&&n.end?(n.start.FormattedEnd=n.end.Formatted,t.push(new Attribute(this,n.start))):n.start?t.push(new Attribute(this,n.start)):n.end&&t.push(new Attribute(this,n.end)),t},enumerable:!1,configurable:!0}),t.prototype.update=function(e){var t=this;for(var n in this.set(e),this.CAttributes.forEach(function(e){t._attributeMap[e.Name]=e}),this.Properties.Property=[],this._attributeMap)this._attributeMap.hasOwnProperty(n)&&this.Properties.Property.push(this._attributeMap[n].properties)},t.prototype.parentScope=function(){var e=this.ScopeName.split(":");return e.pop(),e.join(":")},t.prototype.children=function(e){return arguments.length?(this._children=e,this):this._children},t.prototype.walk=function(e){if(e.start(this))return!0;for(var t=0,n=this.children();t<n.length;t++){if(n[t].walk(e))return!0}return e.end(this)},t.prototype.formattedAttrs=function(){var e={};for(var t in this._attributeMap)e[t]=this._attributeMap[t].Formatted||this._attributeMap[t].RawValue;return e},t.prototype.rawAttrs=function(){var e={};for(var t in this._attributeMap)e[t]=this._attributeMap[t].RawValue;return e},t.prototype.hasAttr=function(e){return void 0!==this._attributeMap[e]},t.prototype.attr=function(e){return this._attributeMap[e]||new Attribute(this,{Creator:"",CreatorType:"",Formatted:"",Measure:"",Name:"",RawValue:""})},t.prototype.attrMeasure=function(e){return this._attributeMap[e].Measure},t.prototype.calcTooltip=function(e){var t="",n=[];t=this.Id,n.push('<tr><td class="key">ID:</td><td class="value">'+this.Id+"</td></tr>"),e&&n.push('<tr><td class="key">Parent ID:</td><td class="value">'+e.Id+"</td></tr>"),n.push('<tr><td class="key">Scope:</td><td class="value">'+this.ScopeName+"</td></tr>");var r=this.formattedAttrs();for(var o in r)"Label"===o?t=r[o]:n.push('<tr><td class="key">'+o+'</td><td class="value">'+r[o]+"</td></tr>");return'<div class="eclwatch_WUGraph_Tooltip" style="max-width:480px">\n <h4 align="center">'+t+"</h4>\n <table>\n "+n.join("")+"\n </table>\n </div>"},t}(util.StateObject),Scope=function(e){function t(t,n){var r=e.call(this,n)||this;return r.wu=t,r}return __extends(t,e),t}(BaseScope),SourceFile=function(e){function t(t,n,r){var o=e.call(this)||this;return o.connection=t instanceof WorkunitsService?t:new WorkunitsService(t),o.set(__assign({Wuid:n},r)),o}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Wuid",{get:function(){return this.get("Wuid")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FileCluster",{get:function(){return this.get("FileCluster")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsSuperFile",{get:function(){return this.get("IsSuperFile")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Subs",{get:function(){return this.get("Subs")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Count",{get:function(){return this.get("Count")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ECLSourceFiles",{get:function(){return this.get("ECLSourceFiles")},enumerable:!1,configurable:!0}),t}(util.StateObject),Timer=function(e){function t(t,n,r){var o=e.call(this)||this;o.connection=t instanceof WorkunitsService?t:new WorkunitsService(t);var i=util.espTime2Seconds(r.Value);return o.set(__assign({Wuid:n,Seconds:Math.round(1e3*i)/1e3,HasSubGraphId:void 0!==r.SubGraphId},r)),o}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Wuid",{get:function(){return this.get("Wuid")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Value",{get:function(){return this.get("Value")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Seconds",{get:function(){return this.get("Seconds")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"GraphName",{get:function(){return this.get("GraphName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SubGraphId",{get:function(){return this.get("SubGraphId")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HasSubGraphId",{get:function(){return this.get("HasSubGraphId")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"count",{get:function(){return this.get("count")},enumerable:!1,configurable:!0}),t}(util.StateObject),formatter=utcFormat("%Y-%m-%dT%H:%M:%S.%LZ"),parser=utcParse("%Y-%m-%dT%H:%M:%S.%LZ"),logger$1=util.scopedLogger("workunit.ts"),WUStateID=exports.WUStateID,WorkunitCache=function(e){function t(){return e.call(this,function(e){return e.BaseUrl+"-"+e.Wuid})||this}return __extends(t,e),t}(util.Cache),_workunits=new WorkunitCache,Workunit=function(e){function t(t,n){var r=e.call(this)||this;return r._debugMode=!1,r._resultCache=new ResultCache,r._graphCache=new GraphCache,r.connection=new WorkunitsService(t),r.topologyConnection=new TopologyService(t),r.clearState(n),r}return __extends(t,e),Object.defineProperty(t.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Wuid",{get:function(){return this.get("Wuid")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Owner",{get:function(){return this.get("Owner","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Cluster",{get:function(){return this.get("Cluster","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Jobname",{get:function(){return this.get("Jobname","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Description",{get:function(){return this.get("Description","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ActionEx",{get:function(){return this.get("ActionEx","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"StateID",{get:function(){return this.get("StateID",exports.WUStateID.Unknown)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"State",{get:function(){return this.get("State")||exports.WUStateID[this.StateID]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Protected",{get:function(){return this.get("Protected",!1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Exceptions",{get:function(){return this.get("Exceptions",{ECLException:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultViews",{get:function(){return this.get("ResultViews",{View:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultCount",{get:function(){return this.get("ResultCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Results",{get:function(){return this.get("Results",{ECLResult:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CResults",{get:function(){var e=this;return this.Results.ECLResult.map(function(t){return e._resultCache.get(t,function(){return Result.attach(e.connection,e.Wuid,t,e.ResultViews.View)})})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SequenceResults",{get:function(){var e={};return this.CResults.forEach(function(t){e[t.Sequence]=t}),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Timers",{get:function(){return this.get("Timers",{ECLTimer:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CTimers",{get:function(){var e=this;return this.Timers.ECLTimer.map(function(t){return new Timer(e.connection,e.Wuid,t)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"GraphCount",{get:function(){return this.get("GraphCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Graphs",{get:function(){return this.get("Graphs",{ECLGraph:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CGraphs",{get:function(){var e=this;return this.Graphs.ECLGraph.map(function(t){return e._graphCache.get(t,function(){return new ECLGraph(e,t,e.CTimers)})})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ThorLogList",{get:function(){return this.get("ThorLogList")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResourceURLCount",{get:function(){return this.get("ResourceURLCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResourceURLs",{get:function(){return this.get("ResourceURLs",{URL:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CResourceURLs",{get:function(){var e=this;return this.ResourceURLs.URL.map(function(t){return new Resource(e,t)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TotalClusterTime",{get:function(){return this.get("TotalClusterTime","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DateTimeScheduled",{get:function(){return this.get("DateTimeScheduled")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsPausing",{get:function(){return this.get("IsPausing")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ThorLCR",{get:function(){return this.get("ThorLCR")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ApplicationValues",{get:function(){return this.get("ApplicationValues",{ApplicationValue:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HasArchiveQuery",{get:function(){return this.get("HasArchiveQuery")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"StateEx",{get:function(){return this.get("StateEx")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PriorityClass",{get:function(){return this.get("PriorityClass")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PriorityLevel",{get:function(){return this.get("PriorityLevel")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Snapshot",{get:function(){return this.get("Snapshot")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultLimit",{get:function(){return this.get("ResultLimit")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"EventSchedule",{get:function(){return this.get("EventSchedule")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HaveSubGraphTimings",{get:function(){return this.get("HaveSubGraphTimings")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Query",{get:function(){return this.get("Query")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HelpersCount",{get:function(){return this.get("HelpersCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Helpers",{get:function(){return this.get("Helpers",{ECLHelpFile:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DebugValues",{get:function(){return this.get("DebugValues")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AllowedClusters",{get:function(){return this.get("AllowedClusters")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ErrorCount",{get:function(){return this.get("ErrorCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WarningCount",{get:function(){return this.get("WarningCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"InfoCount",{get:function(){return this.get("InfoCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AlertCount",{get:function(){return this.get("AlertCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SourceFileCount",{get:function(){return this.get("SourceFileCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SourceFiles",{get:function(){return this.get("SourceFiles",{ECLSourceFile:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CSourceFiles",{get:function(){var e=this;return this.SourceFiles.ECLSourceFile.map(function(t){return new SourceFile(e.connection,e.Wuid,t)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VariableCount",{get:function(){return this.get("VariableCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Variables",{get:function(){return this.get("Variables",{ECLResult:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TimerCount",{get:function(){return this.get("TimerCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HasDebugValue",{get:function(){return this.get("HasDebugValue")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ApplicationValueCount",{get:function(){return this.get("ApplicationValueCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"XmlParams",{get:function(){return this.get("XmlParams")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AccessFlag",{get:function(){return this.get("AccessFlag")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ClusterFlag",{get:function(){return this.get("ClusterFlag")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultViewCount",{get:function(){return this.get("ResultViewCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DebugValueCount",{get:function(){return this.get("DebugValueCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WorkflowCount",{get:function(){return this.get("WorkflowCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Archived",{get:function(){return this.get("Archived")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RoxieCluster",{get:function(){return this.get("RoxieCluster")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DebugState",{get:function(){return this.get("DebugState",{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Queue",{get:function(){return this.get("Queue")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Active",{get:function(){return this.get("Active")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Action",{get:function(){return this.get("Action")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Scope",{get:function(){return this.get("Scope")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AbortBy",{get:function(){return this.get("AbortBy")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AbortTime",{get:function(){return this.get("AbortTime")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Workflows",{get:function(){return this.get("Workflows")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TimingData",{get:function(){return this.get("TimingData")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HelpersDesc",{get:function(){return this.get("HelpersDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"GraphsDesc",{get:function(){return this.get("GraphsDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SourceFilesDesc",{get:function(){return this.get("SourceFilesDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultsDesc",{get:function(){return this.get("ResultsDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VariablesDesc",{get:function(){return this.get("VariablesDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TimersDesc",{get:function(){return this.get("TimersDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DebugValuesDesc",{get:function(){return this.get("DebugValuesDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ApplicationValuesDesc",{get:function(){return this.get("ApplicationValuesDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WorkflowsDesc",{get:function(){return this.get("WorkflowsDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ServiceNames",{get:function(){return this.get("ServiceNames")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ExecuteCost",{get:function(){return this.get("ExecuteCost")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FileAccessCost",{get:function(){return this.get("FileAccessCost")},enumerable:!1,configurable:!0}),t.create=function(e){var n=new t(e);return n.connection.WUCreate().then(function(e){return _workunits.set(n),n.set(e.Workunit),n})},t.attach=function(e,n,r){var o=_workunits.get({BaseUrl:e.baseUrl,Wuid:n},function(){return new t(e,n)});return r&&o.set(r),o},t.existsLocal=function(e,t){return _workunits.has({BaseUrl:e,Wuid:t})},t.submit=function(e,n,r,o){return void 0===o&&(o=!1),t.create(e).then(function(e){return e.update({QueryText:r})}).then(function(e){return o?e.submit(n,exports.WUUpdate.Action.Compile):e.submit(n)})},t.compile=function(e,n,r){return t.submit(e,n,r,!0)},t.query=function(e,n){return new WorkunitsService(e).WUQuery(n).then(function(n){return n.Workunits.ECLWorkunit.map(function(n){return t.attach(e,n.Wuid,n)})})},t.prototype.clearState=function(e){this.clear({Wuid:e,StateID:WUStateID.Unknown})},t.prototype.update=function(e){var t=this;return this.connection.WUUpdate(__assign(__assign({},e),{Wuid:this.Wuid,StateOrig:this.State,JobnameOrig:this.Jobname,DescriptionOrig:this.Description,ProtectedOrig:this.Protected,ClusterOrig:this.Cluster})).then(function(e){return t.set(e.Workunit),t})},t.prototype.submit=function(e,t,n){var r,o=this;return void 0===t&&(t=exports.WUUpdate.Action.Run),r=void 0!==e?Promise.resolve(e):this.topologyConnection.DefaultTpLogicalClusterQuery().then(function(e){return e.Name}),this._debugMode=!1,t===exports.WUUpdate.Action.Debug&&(t=exports.WUUpdate.Action.Run,this._debugMode=!0),r.then(function(e){return o.connection.WUUpdate({Wuid:o.Wuid,Action:t,ResultLimit:n,DebugValues:{DebugValue:[{Name:"Debug",Value:o._debugMode?"1":""}]}}).then(function(n){return o.set(n.Workunit),o._submitAction=t,o.connection.WUSubmit({Wuid:o.Wuid,Cluster:e})})}).then(function(){return o})},t.prototype.isComplete=function(){switch(this.StateID){case WUStateID.Compiled:return"compile"===this.ActionEx||this._submitAction===exports.WUUpdate.Action.Compile;case WUStateID.Completed:case WUStateID.Failed:case WUStateID.Aborted:case WUStateID.NotFound:return!0}return!1},t.prototype.isFailed=function(){switch(this.StateID){case WUStateID.Aborted:case WUStateID.Failed:return!0}return!1},t.prototype.isDeleted=function(){switch(this.StateID){case WUStateID.NotFound:return!0}return!1},t.prototype.isDebugging=function(){switch(this.StateID){case WUStateID.DebugPaused:case WUStateID.DebugRunning:return!0}return this._debugMode},t.prototype.isRunning=function(){switch(this.StateID){case WUStateID.Compiled:case WUStateID.Running:case WUStateID.Aborting:case WUStateID.Blocked:case WUStateID.DebugPaused:case WUStateID.DebugRunning:return!0}return!1},t.prototype.setToFailed=function(){return this.WUAction("SetToFailed")},t.prototype.pause=function(){return this.WUAction("Pause")},t.prototype.pauseNow=function(){return this.WUAction("PauseNow")},t.prototype.resume=function(){return this.WUAction("Resume")},t.prototype.abort=function(){return this.WUAction("Abort")},t.prototype.delete=function(){return this.WUAction("Delete")},t.prototype.restore=function(){return this.WUAction("Restore")},t.prototype.deschedule=function(){return this.WUAction("Deschedule")},t.prototype.reschedule=function(){return this.WUAction("Reschedule")},t.prototype.resubmit=function(){var e=this;return this.WUResubmit({CloneWorkunit:!1,ResetWorkflow:!1}).then(function(){return e.clearState(e.Wuid),e.refresh().then(function(){return e._monitor(),e})})},t.prototype.clone=function(){var e=this;return this.WUResubmit({CloneWorkunit:!0,ResetWorkflow:!1}).then(function(n){return t.attach(e.connection.opts(),n.WUs.WU[0].WUID).refresh()})},t.prototype.refreshState=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){switch(e.label){case 0:return[4,this.WUQuery()];case 1:return e.sent(),[2,this]}})})},t.prototype.refreshInfo=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){switch(e.label){case 0:return[4,this.WUInfo()];case 1:return e.sent(),[2,this]}})})},t.prototype.refreshDebug=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){switch(e.label){case 0:return[4,this.debugStatus()];case 1:return e.sent(),[2,this]}})})},t.prototype.refresh=function(e){return void 0===e&&(e=!1),__awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:return e?[4,Promise.all([this.refreshInfo(),this.refreshDebug()])]:[3,2];case 1:return t.sent(),[3,4];case 2:return[4,this.refreshState()];case 3:t.sent(),t.label=4;case 4:return[2,this]}})})},t.prototype.eclExceptions=function(){return this.Exceptions.ECLException},t.prototype.fetchArchive=function(){return this.connection.WUFile({Wuid:this.Wuid,Type:"ArchiveQuery"})},t.prototype.fetchECLExceptions=function(){var e=this;return this.WUInfo({IncludeExceptions:!0}).then(function(){return e.eclExceptions()})},t.prototype.fetchResults=function(){var e=this;return this.WUInfo({IncludeResults:!0}).then(function(){return e.CResults})},t.prototype.fetchGraphs=function(){var e=this;return this.WUInfo({IncludeGraphs:!0}).then(function(){return e.CGraphs})},t.prototype.fetchQuery=function(){var e=this;return this.WUInfo({IncludeECL:!0,TruncateEclTo64k:!1}).then(function(){return e.Query})},t.prototype.fetchHelpers=function(){var e=this;return this.WUInfo({IncludeHelpers:!0}).then(function(){var t;return(null===(t=e.Helpers)||void 0===t?void 0:t.ECLHelpFile)||[]})},t.prototype.fetchAllowedClusters=function(){var e=this;return this.WUInfo({IncludeAllowedClusters:!0}).then(function(){var t;return(null===(t=e.AllowedClusters)||void 0===t?void 0:t.AllowedCluster)||[]})},t.prototype.fetchTotalClusterTime=function(){var e=this;return this.WUInfo({IncludeTotalClusterTime:!0}).then(function(){return e.TotalClusterTime})},t.prototype.fetchServiceNames=function(){var e=this;return this.WUInfo({IncludeServiceNames:!0}).then(function(){var t;return null===(t=e.ServiceNames)||void 0===t?void 0:t.Item})},t.prototype.fetchDetailsMeta=function(e){return void 0===e&&(e={}),this.WUDetailsMeta(e)},t.prototype.fetchDetailsRaw=function(e){return void 0===e&&(e={}),this.WUDetails(e).then(function(e){return e.Scopes.Scope})},t.prototype.fetchDetailsNormalized=function(e){return void 0===e&&(e={}),Promise.all([this.fetchDetailsMeta(),this.fetchDetailsRaw(e)]).then(function(e){for(var t,n=e[0],r={id:{Measure:"label"},name:{Measure:"label"},type:{Measure:"label"}},o=[],i=0,u=e[1];i<u.length;i++){var c=u[i],s={},a={};if(c&&c.Id&&c.Properties&&c.Properties.Property){for(var l in c.Properties.Property){var p=c.Properties.Property[l];switch("ns"===p.Measure&&(p.Measure="s"),r[p.Name]=__assign({},p),delete r[p.Name].RawValue,delete r[p.Name].Formatted,p.Measure){case"bool":s[p.Name]=!!+p.RawValue;break;case"sz":s[p.Name]=+p.RawValue;break;case"s":s[p.Name]=+p.RawValue/1e9;break;case"ns":s[p.Name]=+p.RawValue;break;case"ts":s[p.Name]=new Date(+p.RawValue/1e3).toISOString();break;case"cnt":s[p.Name]=+p.RawValue;break;case"cpu":case"skw":case"node":case"ppm":case"ip":case"cy":case"en":case"txt":case"id":case"fname":default:s[p.Name]=p.RawValue}a[p.Name]=null!==(t=p.Formatted)&&void 0!==t?t:s[p.Name]}o.push(__assign({id:c.Id,name:c.ScopeName,type:c.ScopeType,__formattedProps:a},s))}}return{meta:n,columns:r,data:o}})},t.prototype.fetchInfo=function(e){return void 0===e&&(e={}),this.WUInfo(e)},t.prototype.fetchDetails=function(e){var t=this;return void 0===e&&(e={}),this.WUDetails(e).then(function(e){return e.Scopes.Scope.map(function(e){return new Scope(t,e)})})},t.prototype.fetchDetailsHierarchy=function(e){var t=this;return void 0===e&&(e={}),this.WUDetails(e).then(function(e){var n=[],r={};for(var o in e.Scopes.Scope.forEach(function(e){if(r[e.ScopeName])return r[e.ScopeName].update(e),null;var n=new Scope(t,e);return r[n.ScopeName]=n,n}),r)if(r.hasOwnProperty(o)){var i=r[o],u=i.parentScope();u&&r[u]?r[u].children().push(i):n.push(i)}return n})},t.prototype.fetchGraphDetails=function(e,t){return void 0===e&&(e=[]),this.fetchDetails({ScopeFilter:{MaxDepth:999999,Ids:e,ScopeTypes:t},NestedFilter:{Depth:999999,ScopeTypes:["graph","subgraph","activity","edge","function"]},PropertiesToReturn:{AllStatistics:!0,AllAttributes:!0,AllHints:!0,AllProperties:!0,AllScopes:!0},ScopeOptions:{IncludeId:!0,IncludeScope:!0,IncludeScopeType:!0},PropertyOptions:{IncludeName:!0,IncludeRawValue:!0,IncludeFormatted:!0,IncludeMeasure:!0,IncludeCreator:!1,IncludeCreatorType:!1}})},t.prototype.fetchScopeGraphs=function(e){return void 0===e&&(e=[]),this.fetchGraphDetails(e,["graph"]).then(function(e){return createGraph(e)})},t.prototype.fetchTimeElapsed=function(){return this.fetchDetails({ScopeFilter:{PropertyFilters:{PropertyFilter:[{Name:"TimeElapsed"}]}}}).then(function(e){var t={};e.forEach(function(e){t[e.ScopeName]=t[e.ScopeName]||{scope:e.ScopeName,start:null,elapsed:null,finish:null},e.CAttributes.forEach(function(n){"TimeElapsed"===n.Name?t[e.ScopeName].elapsed=+n.RawValue:"ts"===n.Measure&&n.Name.indexOf("Started")>=0&&(t[e.ScopeName].start=n.Formatted)})});var n=[];for(var r in t){var o=t[r];if(o.start&&o.elapsed){var i=parser(o.start);i.setMilliseconds(i.getMilliseconds()+o.elapsed/1e6),o.finish=formatter(i),n.push(o)}}return n.sort(function(e,t){return e.start<t.start?-1:e.start>t.start?1:0}),n})},t.prototype._monitor=function(){this.isComplete()?this._monitorTickCount=0:e.prototype._monitor.call(this)},t.prototype._monitorTimeoutDuraction=function(){var t=e.prototype._monitorTimeoutDuraction.call(this);return this._monitorTickCount<=1?1e3:this._monitorTickCount<=3?3e3:this._monitorTickCount<=5?5e3:this._monitorTickCount<=7?1e4:t},t.prototype.on=function(t,n,r){var o=this;if(this.isCallback(n))switch(t){case"completed":e.prototype.on.call(this,"propChanged","StateID",function(e){o.isComplete()&&n([e])});break;case"changed":e.prototype.on.call(this,t,n)}else switch(t){case"changed":e.prototype.on.call(this,t,n,r)}return this._monitor(),this},t.prototype.watchUntilComplete=function(e){var t=this;return new Promise(function(n,r){var o=t.watch(function(r){e&&e(r),t.isComplete()&&(o.release(),n(t))})})},t.prototype.watchUntilRunning=function(e){var t=this;return new Promise(function(n,r){var o=t.watch(function(r){e&&e(r),(t.isComplete()||t.isRunning())&&(o.release(),n(t))})})},t.prototype.WUQuery=function(e){var t=this;return void 0===e&&(e={}),this.connection.WUQuery(__assign(__assign({},e),{Wuid:this.Wuid})).then(function(e){return t.set(e.Workunits.ECLWorkunit[0]),e}).catch(function(e){if(!e.Exception.some(function(e){return 20081===e.Code&&(t.clearState(t.Wuid),t.set("StateID",WUStateID.NotFound),!0)}))throw logger$1.warning("Unexpected exception: "),e;return{}})},t.prototype.WUCreate=function(){var e=this;return this.connection.WUCreate().then(function(t){return e.set(t.Workunit),_workunits.set(e),t})},t.prototype.WUInfo=function(e){var t=this;void 0===e&&(e={});var n=e.IncludeResults||e.IncludeResultsViewNames;return this.connection.WUInfo(__assign(__assign({},e),{Wuid:this.Wuid,IncludeResults:n,IncludeResultsViewNames:n,SuppressResultSchemas:!1})).then(function(e){return t.set(e.Workunit),n&&t.set({ResultViews:e.ResultViews}),e}).catch(function(e){if(!e.Exception.some(function(e){return 20080===e.Code&&(t.clearState(t.Wuid),t.set("StateID",WUStateID.NotFound),!0)}))throw logger$1.warning("Unexpected exception: "),e;return{}})},t.prototype.WUResubmit=function(e){return this.connection.WUResubmit(util.deepMixinT({},e,{Wuids:[this.Wuid]}))},t.prototype.WUDetailsMeta=function(e){return this.connection.WUDetailsMeta(e)},t.prototype.WUDetails=function(e){return this.connection.WUDetails(util.deepMixinT({ScopeFilter:{MaxDepth:9999},ScopeOptions:{IncludeMatchedScopesInResults:!0,IncludeScope:!0,IncludeId:!1,IncludeScopeType:!1},PropertyOptions:{IncludeName:!0,IncludeRawValue:!1,IncludeFormatted:!0,IncludeMeasure:!0,IncludeCreator:!1,IncludeCreatorType:!1}},e,{WUID:this.Wuid})).then(function(e){return util.deepMixinT({Scopes:{Scope:[]}},e)})},t.prototype.WUAction=function(e){var t=this;return this.connection.WUAction({Wuids:[this.Wuid],WUActionType:e}).then(function(e){return t.refresh().then(function(){return t._monitor(),e})})},t.prototype.publish=function(e){return this.connection.WUPublishWorkunit({Wuid:this.Wuid,Cluster:this.Cluster,JobName:e||this.Jobname,AllowForeignFiles:!0,Activate:!0,Wait:5e3})},t.prototype.WUCDebug=function(e,t){void 0===t&&(t={});var n="";for(var r in t)t.hasOwnProperty(r)&&(n+=" "+r+"='"+t[r]+"'");return this.connection.WUCDebug({Wuid:this.Wuid,Command:"<debug:"+e+" uid='"+this.Wuid+"'"+n+"/>"}).then(function(e){return e})},t.prototype.debug=function(e,t){return this.isDebugging()?this.WUCDebug(e,t).then(function(t){var n=t.children(e);return n.length?n[0]:new util.XMLNode(e)}).catch(function(t){return logger$1.error(t),Promise.resolve(new util.XMLNode(e))}):Promise.resolve(new util.XMLNode(e))},t.prototype.debugStatus=function(){var e=this;return this.isDebugging()?this.debug("status").then(function(t){var n=__assign(__assign({},e.DebugState),t.$);return e.set({DebugState:n}),t}):Promise.resolve({DebugState:{state:"unknown"}})},t.prototype.debugContinue=function(e){return void 0===e&&(e=""),this.debug("continue",{mode:e})},t.prototype.debugStep=function(e){return this.debug("step",{mode:e})},t.prototype.debugPause=function(){return this.debug("interrupt")},t.prototype.debugQuit=function(){return this.debug("quit")},t.prototype.debugDeleteAllBreakpoints=function(){return this.debug("delete",{idx:0})},t.prototype.debugBreakpointResponseParser=function(e){return e.children().map(function(e){if("break"===e.name)return e.$})},t.prototype.debugBreakpointAdd=function(e,t,n){var r=this;return this.debug("breakpoint",{id:e,mode:t,action:n}).then(function(e){return r.debugBreakpointResponseParser(e)})},t.prototype.debugBreakpointList=function(){var e=this;return this.debug("list").then(function(t){return e.debugBreakpointResponseParser(t)})},t.prototype.debugGraph=function(){var e=this;return this._debugAllGraph&&this.DebugState._prevGraphSequenceNum===this.DebugState.graphSequenceNum?Promise.resolve(this._debugAllGraph):this.debug("graph",{name:"all"}).then(function(t){return e.DebugState._prevGraphSequenceNum=e.DebugState.graphSequenceNum,e._debugAllGraph=createXGMMLGraph(e.Wuid,t),e._debugAllGraph})},t.prototype.debugBreakpointValid=function(e){return this.debugGraph().then(function(t){return breakpointLocations(t,e)})},t.prototype.debugPrint=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=10),this.debug("print",{edgeID:e,startRow:t,numRows:n}).then(function(e){return e.children().map(function(e){var t={};return e.children().forEach(function(e){t[e.name]=e.content}),t})})},t}(util.StateObject),ATTR_DEFINITION="definition";function hasECLDefinition(e){return void 0!==e._[ATTR_DEFINITION]}function getECLDefinition(e){var t=/([a-z]:\\(?:[-\w\.\d]+\\)*(?:[-\w\.\d]+)?|(?:\/[\w\.\-]+)+)\((\d*),(\d*)\)/.exec(e._[ATTR_DEFINITION]);if(t){var n=t[1],r=t[2],o=t[3];return n.replace(/\/\.\//g,"/"),{id:e._.id,file:n,line:+r,column:+o}}throw new Error("Bad definition: "+e._[ATTR_DEFINITION])}function breakpointLocations(e,t){for(var n=[],r=0,o=e.vertices;r<o.length;r++){var i=o[r];if(hasECLDefinition(i)){var u=getECLDefinition(i);(u&&!t||t===u.file)&&n.push(u)}}return n.sort(function(e,t){return e.line-t.line})}var Activity=function(e){function t(t){var n=e.call(this)||this;return n.lazyRefresh=util.debounce(function(){return __awaiter(n,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return[4,this.connection.Activity({})];case 1:return e=t.sent(),this.set(e),[2,this]}})})}),n.connection=t instanceof SMCService?t:new SMCService(t),n.clear({}),n}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Exceptions",{get:function(){return this.get("Exceptions")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Build",{get:function(){return this.get("Build")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ThorClusterList",{get:function(){return this.get("ThorClusterList")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RoxieClusterList",{get:function(){return this.get("RoxieClusterList")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HThorClusterList",{get:function(){return this.get("HThorClusterList")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DFUJobs",{get:function(){return this.get("DFUJobs")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Running",{get:function(){return this.get("Running",{ActiveWorkunit:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BannerContent",{get:function(){return this.get("BannerContent")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BannerColor",{get:function(){return this.get("BannerColor")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BannerSize",{get:function(){return this.get("BannerSize")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BannerScroll",{get:function(){return this.get("BannerScroll")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ChatURL",{get:function(){return this.get("ChatURL")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ShowBanner",{get:function(){return this.get("ShowBanner")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ShowChatURL",{get:function(){return this.get("ShowChatURL")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SortBy",{get:function(){return this.get("SortBy")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Descending",{get:function(){return this.get("Descending")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SuperUser",{get:function(){return this.get("SuperUser")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AccessRight",{get:function(){return this.get("AccessRight")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ServerJobQueues",{get:function(){return this.get("ServerJobQueues")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ActivityTime",{get:function(){return this.get("ActivityTime")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DaliDetached",{get:function(){return this.get("DaliDetached")},enumerable:!1,configurable:!0}),t.attach=function(e,n){return _activity||(_activity=new t(e)),n&&_activity.set(__assign({},n)),_activity},t.prototype.runningWorkunits=function(e){var t=this;return void 0===e&&(e=""),this.Running.ActiveWorkunit.filter(function(t){return""===e||t.ClusterName===e}).map(function(e){return Workunit.attach(t.connection.connectionOptions(),e.Wuid,e)})},t.prototype.setBanner=function(e){var t=this;return this.connection.SetBanner(__assign({},e)).then(function(e){return t.set(e),t})},t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){return[2,this.lazyRefresh()]})})},t}(util.StateObject),LogicalFileCache=function(e){function t(){return e.call(this,function(e){return e.BaseUrl+"-"+e.Cluster+"-"+e.Name})||this}return __extends(t,e),t}(util.Cache),_store=new LogicalFileCache,LogicalFile=function(e){function t(t,n,r){var o=e.call(this)||this;return o.connection=t instanceof DFUService?t:new DFUService(t),o.clear({Cluster:n,Name:r}),o}return __extends(t,e),Object.defineProperty(t.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Cluster",{get:function(){return this.get("Cluster")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Filename",{get:function(){return this.get("Filename")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Prefix",{get:function(){return this.get("Prefix")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"NodeGroup",{get:function(){return this.get("NodeGroup")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"NumParts",{get:function(){return this.get("NumParts")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Description",{get:function(){return this.get("Description")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Dir",{get:function(){return this.get("Dir")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PathMask",{get:function(){return this.get("PathMask")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Filesize",{get:function(){return this.get("Filesize")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FileSizeInt64",{get:function(){return this.get("FileSizeInt64")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RecordSize",{get:function(){return this.get("RecordSize")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RecordCount",{get:function(){return this.get("RecordCount")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RecordSizeInt64",{get:function(){return this.get("RecordSizeInt64")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RecordCountInt64",{get:function(){return this.get("RecordCountInt64")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Wuid",{get:function(){return this.get("Wuid")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Owner",{get:function(){return this.get("Owner")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"JobName",{get:function(){return this.get("JobName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Persistent",{get:function(){return this.get("Persistent")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Format",{get:function(){return this.get("Format")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"MaxRecordSize",{get:function(){return this.get("MaxRecordSize")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CsvSeparate",{get:function(){return this.get("CsvSeparate")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CsvQuote",{get:function(){return this.get("CsvQuote")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CsvTerminate",{get:function(){return this.get("CsvTerminate")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CsvEscape",{get:function(){return this.get("CsvEscape")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Modified",{get:function(){return this.get("Modified")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Ecl",{get:function(){return this.get("Ecl")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Stat",{get:function(){return this.get("Stat")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DFUFilePartsOnClusters",{get:function(){return this.get("DFUFilePartsOnClusters")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSuperfile",{get:function(){return this.get("isSuperfile")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ShowFileContent",{get:function(){return this.get("ShowFileContent")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subfiles",{get:function(){return this.get("subfiles")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Superfiles",{get:function(){return this.get("Superfiles")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ProtectList",{get:function(){return this.get("ProtectList")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FromRoxieCluster",{get:function(){return this.get("FromRoxieCluster")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Graphs",{get:function(){return this.get("Graphs")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"UserPermission",{get:function(){return this.get("UserPermission")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ContentType",{get:function(){return this.get("ContentType")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CompressedFileSize",{get:function(){return this.get("CompressedFileSize")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PercentCompressed",{get:function(){return this.get("PercentCompressed")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsCompressed",{get:function(){return this.get("IsCompressed")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BrowseData",{get:function(){return this.get("BrowseData")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"jsonInfo",{get:function(){return this.get("jsonInfo")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"binInfo",{get:function(){return this.get("binInfo")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PackageID",{get:function(){return this.get("PackageID")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Partition",{get:function(){return this.get("Partition")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Blooms",{get:function(){return this.get("Blooms")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ExpireDays",{get:function(){return this.get("ExpireDays")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"KeyType",{get:function(){return this.get("KeyType")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsRestricted",{get:function(){return this.get("IsRestricted")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Cost",{get:function(){return this.get("Cost")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),t.attach=function(e,n,r){return _store.get({BaseUrl:e.baseUrl,Cluster:n,Name:r},function(){return new t(e,n,r)})},t.prototype.filePartsOnCluster=function(){var e;return __spreadArray([],(null===(e=this.DFUFilePartsOnClusters)||void 0===e?void 0:e.DFUFilePartsOnCluster)||[])},t.prototype.fileParts=function(){for(var e,t,n=[],r=0,o=(null===(e=this.DFUFilePartsOnClusters)||void 0===e?void 0:e.DFUFilePartsOnCluster)||[];r<o.length;r++)for(var i=o[r],u=0,c=(null===(t=null==i?void 0:i.DFUFileParts)||void 0===t?void 0:t.DFUPart)||[];u<c.length;u++){var s=c[u],a=__assign(__assign({},i),s);delete a.DFUFileParts,n.push(a)}return n},t.prototype.update=function(e){var t=this;return this.connection.DFUInfo(__assign(__assign({},e),{Cluster:this.Cluster,Name:this.Name})).then(function(e){return t.set(__assign({Cluster:t.Cluster},e.FileDetail)),e})},t.prototype.fetchInfo=function(){var e=this;return this.connection.DFUInfo({Cluster:this.Cluster,Name:this.Name}).then(function(t){return e.set(__assign({Cluster:e.Cluster},t.FileDetail)),t.FileDetail})},t.prototype.fetchDefFile=function(e){return this.connection.DFUFile({Name:this.Name,Format:e})},t.prototype.fetchListHistory=function(){return this.connection.ListHistory({Name:this.Name}).then(function(e){var t;return(null===(t=null==e?void 0:e.History)||void 0===t?void 0:t.Origin)||[]})},t.prototype.eraseHistory=function(){return this.connection.EraseHistory({Name:this.Name}).then(function(e){var t;return(null===(t=null==e?void 0:e.History)||void 0===t?void 0:t.Origin)||[]})},t}(util.StateObject),MachineCache=function(e){function t(){return e.call(this,function(e){return e.Address})||this}return __extends(t,e),t}(util.Cache),_machines=new MachineCache,Machine=function(e){function t(t){var n=e.call(this)||this;return n.connection=t instanceof MachineService?t:new MachineService(t),n}return __extends(t,e),Object.defineProperty(t.prototype,"Address",{get:function(){return this.get("Address")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ConfigAddress",{get:function(){return this.get("ConfigAddress")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ProcessType",{get:function(){return this.get("ProcessType")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DisplayType",{get:function(){return this.get("DisplayType")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Description",{get:function(){return this.get("Description")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AgentVersion",{get:function(){return this.get("AgentVersion")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Contact",{get:function(){return this.get("Contact")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Location",{get:function(){return this.get("Location")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"UpTime",{get:function(){return this.get("UpTime")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ComponentName",{get:function(){return this.get("ComponentName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ComponentPath",{get:function(){return this.get("ComponentPath")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RoxieState",{get:function(){return this.get("RoxieState")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RoxieStateDetails",{get:function(){return this.get("RoxieStateDetails")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"OS",{get:function(){return this.get("OS")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ProcessNumber",{get:function(){return this.get("ProcessNumber")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Processors",{get:function(){return this.get("Processors")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Storage",{get:function(){return this.get("Storage")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Running",{get:function(){return this.get("Running")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PhysicalMemory",{get:function(){return this.get("PhysicalMemory")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VirtualMemory",{get:function(){return this.get("VirtualMemory")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ComponentInfo",{get:function(){return this.get("ComponentInfo")},enumerable:!1,configurable:!0}),t.attach=function(e,n,r){var o=_machines.get({Address:n},function(){return new t(e)});return r&&o.set(r),o},t}(util.StateObject),QueryCache=function(e){function t(){return e.call(this,function(e){return util.Cache.hash([e.QueryId,e.QuerySet])})||this}return __extends(t,e),t}(util.Cache),_queries=new QueryCache,Query=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.connection=t instanceof EclService?t:new EclService(t),i._wsWorkunits=new WorkunitsService(t),i.set(__assign({QuerySet:n,QueryId:r},o)),i}return __extends(t,e),Object.defineProperty(t.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Exceptions",{get:function(){return this.get("Exceptions")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"QueryId",{get:function(){return this.get("QueryId")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"QuerySet",{get:function(){return this.get("QuerySet")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"QueryName",{get:function(){return this.get("QueryName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Wuid",{get:function(){return this.get("Wuid")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Dll",{get:function(){return this.get("Dll")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Suspended",{get:function(){return this.get("Suspended")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Activated",{get:function(){return this.get("Activated")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SuspendedBy",{get:function(){return this.get("SuspendedBy")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Clusters",{get:function(){return this.get("Clusters")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PublishedBy",{get:function(){return this.get("PublishedBy")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Comment",{get:function(){return this.get("Comment")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LogicalFiles",{get:function(){return this.get("LogicalFiles")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SuperFiles",{get:function(){return this.get("SuperFiles")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsLibrary",{get:function(){return this.get("IsLibrary")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Priority",{get:function(){return this.get("Priority")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WUSnapShot",{get:function(){return this.get("WUSnapShot")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CompileTime",{get:function(){return this.get("CompileTime")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LibrariesUsed",{get:function(){return this.get("LibrariesUsed")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CountGraphs",{get:function(){return this.get("CountGraphs")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResourceURLCount",{get:function(){return this.get("ResourceURLCount")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WsEclAddresses",{get:function(){return this.get("WsEclAddresses")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WUGraphs",{get:function(){return this.get("WUGraphs")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WUTimers",{get:function(){return this.get("WUTimers")},enumerable:!1,configurable:!0}),t.attach=function(e,n,r){return _queries.get({BaseUrl:e.baseUrl,QuerySet:n,QueryId:r},function(){return new t(e,n,r)})},t.prototype.fetchRequestSchema=function(){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return e=this,[4,this.connection.requestJson(this.QuerySet,this.QueryId)];case 1:return e._requestSchema=t.sent(),[2]}})})},t.prototype.fetchResponseSchema=function(){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return e=this,[4,this.connection.responseJson(this.QuerySet,this.QueryId)];case 1:return e._responseSchema=t.sent(),[2]}})})},t.prototype.fetchSchema=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){switch(e.label){case 0:return[4,Promise.all([this.fetchRequestSchema(),this.fetchResponseSchema()])];case 1:return e.sent(),[2]}})})},t.prototype.fetchSummaryStats=function(){return this._wsWorkunits.WUQueryGetSummaryStats({Target:this.QuerySet,QueryId:this.QueryId})},t.prototype.submit=function(e){return this.connection.submit(this.QuerySet,this.QueryId,e).then(function(e){for(var t in e)e[t]=e[t].Row;return e})},t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,function(){var e=this;return __generator(this,function(t){return[2,this.fetchSchema().then(function(t){return e})]})})},t.prototype.requestFields=function(){return this._requestSchema?this._requestSchema:[]},t.prototype.responseFields=function(){return this._responseSchema?this._responseSchema:{}},t.prototype.resultNames=function(){var e=[];for(var t in this.responseFields())e.push(t);return e},t.prototype.resultFields=function(e){return this._responseSchema[e]?this._responseSchema[e]:[]},t}(util.StateObject),StoreCache=function(e){function t(){return e.call(this,function(e){return e.BaseUrl+"-"+e.Name+":"+e.UserSpecific+"-"+e.Namespace})||this}return __extends(t,e),t}(util.Cache),_store$1=new StoreCache,ValueChangedMessage=function(e){function t(t,n,r){var o=e.call(this)||this;return o.key=t,o.value=n,o.oldValue=r,o}return __extends(t,e),Object.defineProperty(t.prototype,"canConflate",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.conflate=function(e){return this.key===e.key&&(this.value=e.value,!0)},t.prototype.void=function(){return this.value===this.oldValue},t}(util.Message),Store=function(){function e(e,t,n,r){this._dispatch=new util.Dispatch,this._knownValues={},this.connection=e instanceof StoreService?e:new StoreService(e),this.Name=t,this.UserSpecific=r,this.Namespace=n}return Object.defineProperty(e.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),e.attach=function(t,n,r,o){return void 0===n&&(n="HPCCApps"),void 0===o&&(o=!0),_store$1.get({BaseUrl:t.baseUrl,Name:n,UserSpecific:o,Namespace:r},function(){return new e(t,n,r,o)})},e.prototype.create=function(){this.connection.CreateStore({Name:this.Name,UserSpecific:this.UserSpecific,Type:"",Description:""})},e.prototype.set=function(e,t,n){var r=this;return void 0===n&&(n=!0),this.connection.Set({StoreName:this.Name,UserSpecific:this.UserSpecific,Namespace:this.Namespace,Key:e,Value:t}).then(function(o){var i=r._knownValues[e];r._knownValues[e]=t,n&&r._dispatch.post(new ValueChangedMessage(e,t,i))}).catch(function(n){console.error('Store.set("'+e+'", "'+t+'") failed:',n)})},e.prototype.get=function(e,t){var n=this;return void 0===t&&(t=!0),this.connection.Fetch({StoreName:this.Name,UserSpecific:this.UserSpecific,Namespace:this.Namespace,Key:e}).then(function(r){var o=n._knownValues[e];return n._knownValues[e]=r.Value,t&&n._dispatch.post(new ValueChangedMessage(e,r.Value,o)),r.Value}).catch(function(t){console.error("Store.get("+e+") failed:",t)})},e.prototype.getAll=function(e){var t=this;return void 0===e&&(e=!0),this.connection.FetchAll({StoreName:this.Name,UserSpecific:this.UserSpecific,Namespace:this.Namespace}).then(function(n){var r={},o=t._knownValues;if(t._knownValues={},n.Pairs.Pair.forEach(function(n){var i=t._knownValues[n.Key];t._knownValues[n.Key]=n.Value,delete o[n.Key],r[n.Key]=n.Value,e&&t._dispatch.post(new ValueChangedMessage(n.Key,n.Value,i))}),e)for(var i in o)t._dispatch.post(new ValueChangedMessage(i,void 0,o[i]));return r}).catch(function(e){return console.error("Store.getAll failed:",e),{}})},e.prototype.delete=function(e,t){var n=this;return void 0===t&&(t=!0),this.connection.Delete({StoreName:this.Name,UserSpecific:this.UserSpecific,Namespace:this.Namespace,Key:e}).then(function(r){var o=n._knownValues[e];delete n._knownValues[e],t&&n._dispatch.post(new ValueChangedMessage(e,void 0,o))}).catch(function(t){console.error("Store.delete("+e+") failed:",t)})},e.prototype.monitor=function(e){return this._dispatch.attach(e)},e}(),TargetClusterCache=function(e){function t(){return e.call(this,function(e){return e.BaseUrl+"-"+e.Name})||this}return __extends(t,e),t}(util.Cache),_targetCluster=new TargetClusterCache,TargetCluster=function(e){function t(t,n){var r=e.call(this)||this;return t instanceof TopologyService?(r.connection=t,r.machineConnection=new MachineService(t.connectionOptions())):(r.connection=new TopologyService(t),r.machineConnection=new MachineService(t)),r.clear({Name:n}),r}return __extends(t,e),Object.defineProperty(t.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Prefix",{get:function(){return this.get("Prefix")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Type",{get:function(){return this.get("Type")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsDefault",{get:function(){return this.get("IsDefault")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TpClusters",{get:function(){return this.get("TpClusters")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TpEclCCServers",{get:function(){return this.get("TpEclCCServers")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TpEclServers",{get:function(){return this.get("TpEclServers")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TpEclAgents",{get:function(){return this.get("TpEclAgents")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TpEclSchedulers",{get:function(){return this.get("TpEclSchedulers")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"MachineInfoEx",{get:function(){return this.get("MachineInfoEx",[])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CMachineInfoEx",{get:function(){var e=this;return this.MachineInfoEx.map(function(t){return Machine.attach(e.machineConnection,t.Address,t)})},enumerable:!1,configurable:!0}),t.attach=function(e,n,r){var o=_targetCluster.get({BaseUrl:e.baseUrl,Name:n},function(){return new t(e,n)});return r&&o.set(__assign({},r)),o},t.prototype.fetchMachines=function(e){var t=this;return void 0===e&&(e={}),this.machineConnection.GetTargetClusterInfo(__assign({TargetClusters:{Item:[this.Type+":"+this.Name]}},e)).then(function(e){for(var n=[],r=0,o=e.TargetClusterInfoList.TargetClusterInfo;r<o.length;r++)for(var i=0,u=o[r].Processes.MachineInfoEx;i<u.length;i++){var c=u[i];n.push(c)}return t.set("MachineInfoEx",n),t.CMachineInfoEx})},t.prototype.machineStats=function(){for(var e=0,t=0,n=0,r=0,o=this.CMachineInfoEx;r<o.length;r++)for(var i=0,u=o[r].Storage.StorageInfo;i<u.length;i++){var c=u[i];t+=c.Available,n+=c.Total;var s=1-c.Available/c.Total;s>e&&(e=s)}return{maxDisk:e,meanDisk:1-(n?t/n:1)}},t.prototype.fetchUsage=function(){return this.machineConnection.GetTargetClusterUsageEx([this.Name])},t}(util.StateObject);function targetClusters(e){return(e instanceof TopologyService?e:new TopologyService(e)).TpListTargetClusters({}).then(function(t){return t.TargetClusters.TpClusterNameType.map(function(t){return TargetCluster.attach(e,t.Name,t)})})}var _defaultTargetCluster={};function defaultTargetCluster(e){if(!_defaultTargetCluster[e.baseUrl]){var t=void 0;t=e instanceof TopologyService?e:new TopologyService(e),_defaultTargetCluster[e.baseUrl]=t.TpListTargetClusters({}).then(function(t){var n,r,o;t.TargetClusters.TpClusterNameType.forEach(function(e){n||(n=e),r||!0!==e.IsDefault||(r=e),o||"hthor"!==e.Type||(o=e)});var i=r||o||n;return TargetCluster.attach(e,i.Name,i)})}return _defaultTargetCluster[e.baseUrl]}var TopologyCache=function(e){function t(){return e.call(this,function(e){return e.BaseUrl})||this}return __extends(t,e),t}(util.Cache),_topology=new TopologyCache,Topology=function(e){function t(t){var n=e.call(this)||this;return n.connection=t instanceof TopologyService?t:new TopologyService(t),n}return __extends(t,e),Object.defineProperty(t.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TargetClusters",{get:function(){return this.get("TargetClusters")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CTargetClusters",{get:function(){var e=this;return this.TargetClusters.map(function(t){return TargetCluster.attach(e.connection,t.Name,t)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LogicalClusters",{get:function(){return this.get("LogicalClusters")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Services",{get:function(){return this.get("Services")},enumerable:!1,configurable:!0}),t.attach=function(e){return _topology.get({BaseUrl:e.baseUrl},function(){return new t(e)})},t.prototype.GetESPServiceBaseURL=function(e){var t=this;return void 0===e&&(e=""),this.connection.TpServiceQuery({}).then(function(n){var r=t.connection.protocol(),o=t.connection.ip(),i="https:"===r?"18002":"8002";if(util.exists("ServiceList.TpEspServers.TpEspServer",n))for(var u=0,c=n.ServiceList.TpEspServers.TpEspServer;u<c.length;u++){var s=c[u];if(util.exists("TpBindings.TpBinding",s))for(var a=0,l=s.TpBindings.TpBinding;a<l.length;a++){var p=l[a];p.Service===e&&p.Protocol+":"===r&&(i=p.Port)}}return r+"//"+o+":"+i+"/"})},t.prototype.fetchTargetClusters=function(){var e=this;return this.connection.TpTargetClusterQuery({Type:"ROOT"}).then(function(t){var n,r;return e.set({TargetClusters:null!==(r=null===(n=t.TpTargetClusters)||void 0===n?void 0:n.TpTargetCluster)&&void 0!==r?r:[]}),e.CTargetClusters})},t.prototype.fetchLogicalClusters=function(e){var t=this;return void 0===e&&(e={}),this.connection.TpLogicalClusterQuery(e).then(function(e){return t.set({LogicalClusters:e.TpLogicalClusters.TpLogicalCluster}),t.LogicalClusters})},t.prototype.fetchServices=function(e){var t=this;return void 0===e&&(e={}),this.connection.TpServiceQuery(e).then(function(e){return t.set({Services:e.ServiceList}),t.Services})},t.prototype.refresh=function(e){var t=this;return void 0===e&&(e=!1),this._prevRefresh&&!e||(this._prevRefresh=Promise.all([this.fetchTargetClusters(),this.fetchLogicalClusters(),this.fetchServices()]).then(function(){return t})),this._prevRefresh},t.prototype.on=function(t,n,r){if(this.isCallback(n))switch(t){case"changed":e.prototype.on.call(this,t,n)}else switch(t){case"changed":e.prototype.on.call(this,t,n,r)}return this._monitor(),this},t}(util.StateObject),logger$2=util.scopedLogger("clienttools/eclmeta"),Attr=function(){return function(e){this.__attrs=e.$,this.name=e.$.name}}(),Field=function(){function e(e,t){this.__attrs=t.$,this.definition=e,this.name=t.$.name,this.type=t.$.type}return Object.defineProperty(e.prototype,"scope",{get:function(){return this.definition},enumerable:!1,configurable:!0}),e}(),ECLScope=function(){function e(e,t,n,r,o,i,u,c){void 0===o&&(o=1),void 0===i&&(i=0),void 0===u&&(u=0),void 0===c&&(c=Number.MAX_VALUE),this.name=e,this.type=t,this.sourcePath=path.normalize(n),this.line=+o-1,this.start=+i,this.body=+u,this.end=+c,this.definitions=this.parseDefinitions(r)}return Object.defineProperty(e.prototype,"scope",{get:function(){return this},enumerable:!1,configurable:!0}),e.prototype.parseDefinitions=function(e){var t=this;return void 0===e&&(e=[]),e.map(function(e){return new Definition(t.sourcePath,e)})},e.prototype.contains=function(e){return e>=this.start&&e<=this.end},e.prototype.scopeStackAt=function(e){var t=[];return this.contains(e)&&(t.push(this),this.definitions.forEach(function(n){t=n.scopeStackAt(e).concat(t)})),t},e.prototype._resolve=function(e,t){void 0===e&&(e=[]);var n=t.split("."),r=n.shift(),o=util.find(e,function(e){return"string"==typeof e.name&&"string"==typeof r&&e.name.toLowerCase()===r.toLowerCase()});return o&&o.definitions.length&&n.length?this._resolve(o.definitions,n.join(".")):o},e.prototype.resolve=function(e){return this._resolve(this.definitions,e)},e.prototype.suggestions=function(){var e=this;return this.definitions.map(function(t){return{name:t.name,type:e.type}})},e}(),Definition=function(e){function t(t,n){var r=e.call(this,n.$.name,n.$.type,t,n.children("Definition"),n.$.line,n.$.start,n.$.body,n.$.end)||this;return r.__attrs=n.$,r.exported=!!n.$.exported,r.shared=!!n.$.shared,r.fullname=n.$.fullname,r.inherittype=n.$.inherittype,r.attrs=r.parseAttrs(n.children("Attr")),r.fields=r.parseFields(n.children("Field")),r}return __extends(t,e),t.prototype.parseAttrs=function(e){return void 0===e&&(e=[]),e.map(function(e){return new Attr(e)})},t.prototype.parseFields=function(e){var t=this;return void 0===e&&(e=[]),e.map(function(e){return new Field(t,e)})},t.prototype.suggestions=function(){return e.prototype.suggestions.call(this).concat(this.fields.map(function(e){return{name:e.name,type:e.type}}))},t}(ECLScope),Import=function(){return function(e){this.__attrs=e.$,this.name=e.$.name,this.ref=e.$.ref,this.start=e.$.start,this.end=e.$.end,this.line=e.$.line}}(),Source=function(e){function t(t){var n=e.call(this,t.$.name,"source",t.$.sourcePath,t.children("Definition"))||this;n.__attrs=t.$;var r=t.$.name.split(".");r.pop();var o=new util.XMLNode("");return o.appendAttribute("name","$"),o.appendAttribute("ref",r.join(".")),n.imports=__spreadArray([new Import(o)],n.parseImports(t.children("Import"))),n}return __extends(t,e),t.prototype.parseImports=function(e){return void 0===e&&(e=[]),e.map(function(e){return new Import(e)})},t.prototype.resolve=function(t,n){var r;r||void 0===n||this.scopeStackAt(n).some(function(e){return!!(r=e.resolve(t))});return r||(r=e.prototype.resolve.call(this,t)),r},t}(ECLScope),isHiddenDirectory=function(e){return 0===path.basename(e).indexOf(".")},isDirectory=function(e){return fs.lstatSync(e).isDirectory()&&!isHiddenDirectory(e)},isEcl=function(e){return[".ecl",".ecllib"].indexOf(path.extname(e).toLowerCase())>=0},modAttrs=function(e){return fs.readdirSync(e).map(function(t){return path.join(e,t)}).filter(function(e){return isDirectory(e)||isEcl(e)})},File=function(e){function t(t,n){return e.call(this,t,"file",n,[])||this}return __extends(t,e),t.prototype.suggestions=function(){return[]},t}(ECLScope),Folder=function(e){function t(t,n){return e.call(this,t,"folder",n,[])||this}return __extends(t,e),t.prototype.suggestions=function(){return modAttrs(this.sourcePath).map(function(e){return{name:path.basename(e,".ecl"),type:"folder"}})},t}(ECLScope),Workspace=function(){function e(e,t){this._sourceByID=new util.DictionaryNoCase,this._sourceByPath=new util.Dictionary,this._test=new util.DictionaryNoCase,this._workspacePath=e,this._eclccPath=t}return e.prototype.refresh=function(){this.primeWorkspace(),this.primeClientTools()},e.prototype.primeClientTools=function(){var e=this;return locateClientTools(this._eclccPath,"",this._workspacePath).then(function(t){return e._clientTools=t,t.paths()}).then(function(t){for(var n=0,r=["ECLCC_ECLLIBRARY_PATH","ECLCC_PLUGIN_PATH"];n<r.length;n++){var o=r[n];t[o]&&fs.existsSync(t[o])&&e.walkChildFolders(t[o],t[o])}return e})},e.prototype.primeWorkspace=function(){fs.existsSync(this._workspacePath)&&this.visitFolder(this._workspacePath,this._workspacePath)},e.prototype.walkChildFolders=function(e,t,n){void 0===n&&(n=!1);for(var r=0,o=modAttrs(e);r<o.length;r++){var i=o[r];isDirectory(i)?this.visitFolder(i,t,n):this.visitFile(i,t,n)}},e.prototype.visitFile=function(e,t,n){void 0===n&&(n=!1);var r=path.parse(e),o=path.join(r.dir,r.name),i=path.relative(t,o).split(path.sep).join(".");!n&&this._test.has(i)||this._test.set(i,new File("",e))},e.prototype.visitFolder=function(e,t,n){void 0===n&&(n=!1);var r=path.relative(t,e).split(path.sep).join(".");!n&&this._test.has(r)||(this._test.set(r,new Folder(r,e)),this.walkChildFolders(e,t,n))},e.prototype.buildStack=function(e,t,n){var r=t.split(".");n&&e[e.length-1]===r[0]&&r.shift();var o=__spreadArray(__spreadArray([],e),r),i=o.join(".");return{stack:o,qid:i}},e.prototype.walkECLScope=function(e,t){var n=this.buildStack(e,t.name,!0);this._test.set(n.qid,t);for(var r=0,o=t.definitions;r<o.length;r++){var i=o[r];this.walkDefinition(n.stack,i)}},e.prototype.walkField=function(e,t){var n=this.buildStack(e,t.name,!1);this._test.set(n.qid,t)},e.prototype.walkDefinition=function(e,t){var n=this.buildStack(e,t.name,!0);this.walkECLScope(e,t);for(var r=0,o=t.fields;r<o.length;r++){var i=o[r];this.walkField(n.stack,i)}},e.prototype.walkSource=function(e){this.walkECLScope([],e)},e.prototype.parseSources=function(e){void 0===e&&(e=[]);for(var t=0,n=e;t<n.length;t++){var r=n[t];if(r.$.name){var o=new Source(r);if(this._sourceByID.set(o.name,o),this._sourceByPath.set(o.sourcePath,o),o.name){var i=o.name.split(".").length;if(i>1){for(var u=o.sourcePath;i>1;)u=path.dirname(u),--i;this.visitFolder(u,path.dirname(u))}}this.walkSource(o)}}},e.prototype.parseMetaXML=function(e){var t=new MetaParser;return t.parse(e),this.parseSources(t.sources),t.sources.map(function(e){return path.normalize(e.$.sourcePath)})},e.prototype.resolveQualifiedID=function(e,t,n){var r;if(!r&&this._test.has(t)&&(r=this._test.get(t).scope),!r&&this._sourceByPath.has(e)){for(var o=this._sourceByPath.get(e),i=t.split("."),u=0,c=o.imports;u<c.length;u++){var s=c[u];if(s.name.toLowerCase()===i[0].toLowerCase()){s.ref?i[0]=s.ref:i.shift();break}}var a=i.join(".");!r&&this._test.has(a)&&(r=this._test.get(a).scope),r||(a=__spreadArray(__spreadArray([],o.name.split(".")),i).join("."),this._test.has(a)&&(r=this._test.get(a).scope))}return r},e.prototype.resolvePartialID=function(e,t,n){var r=(t=t.toLowerCase()).split(".");r.pop();var o=1===r.length?r[0]:r.join(".");return this.resolveQualifiedID(e,o,n)},e}(),workspaceCache=new util.Dictionary;function attachWorkspace(e,t){var n=path.normalize(e);if(!workspaceCache.has(n)){var r=new Workspace(n,t);workspaceCache.set(n,r),r.refresh()}return workspaceCache.get(n)}function isQualifiedIDChar(e,t,n){if(t<0)return!1;var r=e.charAt(t);return(n?/[a-zA-Z\d_\.$]/:/[a-zA-Z\d_]/).test(r)}function qualifiedIDBoundary(e,t,n){for(;isQualifiedIDChar(e,t,n);)t+=n?-1:1;return t+(n?1:-1)}var MetaParser=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sources=[],t}return __extends(t,e),t.prototype.endXMLNode=function(t){switch(t.name){case"Source":this.sources.push(t)}e.prototype.endXMLNode.call(this,t)},t}(util.SAXStackParser),logger$3=util.scopedLogger("clienttools/eclcc"),exeExt="Windows_NT"===os.type()?".exe":"";function tidyCRLF(e){return e.split("\r\n").join("\n").split("\r").join("\n")}var Version=function(){function e(e){this.prefix="",this.major=0,this.minor=0,this.patch=0,this.postfix="";var t=e.split(" ");if(t.length){var n=/(?:(\w+)_)?(\d+)\.(\d+)\.(\d+)(?:-(.*))?/.exec(t[t.length-1]);n&&(this.prefix=n[1]||"",this.major=+n[2]||0,this.minor=+n[3]||0,this.patch=+n[4]||0,this.postfix=n[5]||"")}}return e.prototype.parse=function(e){},e.prototype.exists=function(){return 0!==this.major||0!==this.minor||0!==this.patch||""!==this.postfix},e.prototype.compare=function(e){return this.major>e.major?1:this.major<e.major?-1:this.minor>e.minor?1:this.minor<e.minor?-1:this.patch>e.patch?1:this.patch<e.patch?-1:""===this.postfix&&""!==e.postfix?1:this.postfix.localeCompare(e.postfix)},e.prototype.toString=function(){return this.prefix+"_"+this.major+"."+this.minor+"."+this.patch+"-"+this.postfix},e}(),ERROR="error",WARN="warning",Errors=function(){function e(e){this.errWarn=[],this.errOther=[],this._checked=e}return e.prototype.checked=function(){return this._checked},e.prototype.all=function(){return this.errWarn},e.prototype.errors=function(){return this.errWarn.filter(function(e){return e.severity===ERROR})},e.prototype.hasError=function(){return this.errors().length>0},e.prototype.warnings=function(){return this.errWarn.filter(function(e){return e.severity===WARN})},e.prototype.hasWarning=function(){return this.warnings().length>0},e.prototype.info=function(){return this.errWarn.filter(function(e){return[ERROR,WARN].indexOf(e.severity)<0})},e.prototype.hasOther=function(){return this.info().length>0},e.prototype.unknown=function(){return this.errOther},e.prototype.hasUnknown=function(){return this.unknown().length>0},e}(),EclccErrors=function(e){function t(t,n){var r=e.call(this,n)||this;if(t&&t.length)for(var o=0,i=t.split(os.EOL);o<i.length;o++){var u=i[o],c=/([a-zA-Z]:\\(?:[- \w\.\d]+\\)*(?:[- \w\.\d]+)?|(?:\/[\w\.\-]+)+)\((\d*),(\d*)\) ?: ?(error|warning|info) C(\d*) ?: ?(.*)/.exec(u);if(c){var s=c[1],a=c[2],l=c[3],p=c[4],h=+a,f=+l,g=c[5]+": "+c[6];r.errWarn.push({filePath:s,line:h,col:f,msg:g,severity:p})}else if(c=/(error|warning|info): (.*)/i.exec(u)){p=c[1],g=c[2];r.errWarn.push({filePath:"",line:0,col:0,msg:g,severity:p})}else(c=/\d error(s?), \d warning(s?)/.exec(u))||(logger$3.warning('parseECLErrors: Unable to parse "'+u+'"'),r.errOther.push(u))}return r._checked=n,r}return __extends(t,e),t}(Errors),EnvchkErrors=function(e){function t(t,n,r){var o=e.call(this,r)||this,i=fs.readFileSync(t,"utf8");if(i=i.replace(/\r\n/g,"\n"),o._lines=i.split("\n"),n&&n.length)for(var u=0,c=n.split(os.EOL);u<c.length;u++){var s=c[u],a=/(Warning|Error) : Path\=(\S*?)(\[\S*\])? Message\=(.*)/.exec(s);if(a){var l=a[1],p=a[2],h=a[3],f=p+" "+(h||"")+": "+a[4],g=o.locate(p),d=g[0],A=g[1];o.errWarn.push({filePath:t,line:d,col:A,msg:f,severity:l})}else a||(logger$3.warning('parseECLErrors: Unable to parse "'+s+'"'),o.errOther.push(s))}return o._checked=r,o}return __extends(t,e),t.prototype.locate=function(e){var t=e.split("/");if(t.length&&""===t[0]&&t.shift(),t.length>0)for(var n=0,r=0,o=this._lines;r<o.length;r++){var i=o[r],u="<"+t[0];if((i.indexOf(u+" ")>=0||i.indexOf(u+">")>=0)&&(console.log(n,u),t.shift(),0===t.length))return[n+1,i.indexOf(u)+1];++n}return[0,0]},t}(Errors);function walkXmlJson$1(e,t,n){for(var r in(n=n||[]).push(e),e)if(e.hasOwnProperty(r)){var o=e[r];t(r,o,n),o instanceof Array?o.forEach(function(e){walkXmlJson$1(e,t,n)}):"object"==typeof o&&walkXmlJson$1(o,t,n)}n.pop()}var allClientToolsCache,LocalWorkunit=function(){function e(e){this.jsonWU=e}return e.prototype.bpGetValidLocations=function(e){var t=[];if(util.exists("W_LOCAL.Graphs",this.jsonWU)){var n="";walkXmlJson$1(this.jsonWU.W_LOCAL.Graphs,function(r,o,i){if("$"===r&&o.id&&(n=o.id),"$"===r&&"definition"===o.name){var u=/([a-z,A-Z]:\\(?:[-\w\.\d]+\\)*(?:[-\w\.\d]+)?|(?:\/[\w\.\-]+)+)\((\d*),(\d*)\)/.exec(o.value);if(u){var c=u[1],s=+u[2],a=+u[3];e===c&&t.push({file:c,line:s,col:a,id:n})}}})}return t},e}(),ClientTools=function(){function e(e,t,n,r,o,i){void 0===n&&(n=[]),void 0===r&&(r=!1),void 0===o&&(o=[]),this._paths={},this.eclccPath=e,this.binPath=path.dirname(this.eclccPath),this.envchkPath=path.join(this.binPath,"envchk"+exeExt),this.eclBundlePath=path.join(this.binPath,"ecl-bundle"+exeExt),this.cwd=path.normalize(t||this.binPath),this.includeFolders=n,this._legacyMode=r,this._args=o,this._version=i}return e.prototype.clone=function(t,n,r,o){return void 0===r&&(r=!1),void 0===o&&(o=[]),new e(this.eclccPath,t,n,r,o,this._version)},e.prototype.exists=function(e){try{return fs.accessSync(e),!0}catch(e){}return!1},e.prototype.args=function(e){void 0===e&&(e=[]);var t=__spreadArray([],this._args);return this._legacyMode&&t.push("-legacy"),t.concat(this.includeFolders.map(function(e){return"-I"+path.normalize(e)})).concat(e)},e.prototype.version=function(){var e=this;return this._version?Promise.resolve(this._version):this.execFile(this.eclccPath,this.binPath,this.args(["--version"]),"eclcc","Cannot find "+this.eclccPath).then(function(t){return e._version=new Version(t.stdout),e._version})},e.prototype.versionSync=function(){return this._version},e.prototype.paths=function(){var e=this;return this.execFile(this.eclccPath,this.cwd,this.args(["-showpaths"]),"eclcc","Cannot find "+this.eclccPath).then(function(t){if(t&&t.stdout&&t.stdout.length)for(var n=0,r=t.stdout.split(/\r?\n/);n<r.length;n++){var o=r[n].split("=");2===o.length&&(e._paths[o[0]]=o[1])}return e._paths})},e.prototype.loadXMLDoc=function(e,t){return new Promise(function(n,r){var o=fs.readFileSync(e,"ascii"),i=util.xml2json(o);t&&fs.unlink(e,function(e){}),n(i)})},e.prototype.createWU=function(e){var t=this,n=tmp.tmpNameSync({prefix:"eclcc-wu-tmp",postfix:""}),r=["-o"+n,"-wu"].concat([e]);return this.execFile(this.eclccPath,this.cwd,this.args(r),"eclcc","Cannot find "+this.eclccPath).then(function(e){var r=path.normalize(n+".xml");return(t.exists(r)?t.loadXMLDoc(r,!0):Promise.resolve({})).then(function(e){return new LocalWorkunit(e)})})},e.prototype.createArchive=function(e){var t=["-E"].concat([e]);return this.execFile(this.eclccPath,this.cwd,this.args(t),"eclcc","Cannot find "+this.eclccPath).then(function(e){return{content:e.stdout,err:new EclccErrors(e.stderr,[])}})},e.prototype.attachWorkspace=function(){return attachWorkspace(this.cwd)},e.prototype.fetchMeta=function(e){return Promise.all([attachWorkspace(this.cwd),this.execFile(this.eclccPath,this.cwd,this.args(["-M",e]),"eclcc","Cannot find "+this.eclccPath)]).then(function(e){var t=e[0],n=e[1];return n&&n.stdout&&n.stdout.length&&t.parseMetaXML(n.stdout),t})},e.prototype.syntaxCheck=function(e,t){return void 0===t&&(t=["-syntax"]),Promise.all([attachWorkspace(this.cwd),this.execFile(this.eclccPath,this.cwd,this.args(__spreadArray(__spreadArray([],t),["-M",e])),"eclcc","Cannot find "+this.eclccPath)]).then(function(e){var t=e[0],n=e[1],r=[];return n&&n.stdout&&n.stdout.length&&(r=t.parseMetaXML(n.stdout)),new EclccErrors(n?n.stderr:"",r)})},e.prototype.envCheck=function(e,t){return void 0===t&&(t=[]),Promise.all([attachWorkspace(this.cwd),this.execFile(this.envchkPath,this.cwd,this.args(__spreadArray(__spreadArray([],t),[e])),"envchk","Cannot find "+this.envchkPath)]).then(function(t){t[0];var n=t[1];return new EnvchkErrors(e,n?n.stderr:"",[])})},e.prototype.bundleList=function(){var e=this,t=/\|(.*)\|(.*)\|(.*)\|/g;return Promise.all([fetch("https://raw.githubusercontent.com/hpcc-systems/ecl-bundles/master/README.rst").then(function(e){return e.text()}).then(function(e){for(var n=[],r=t.exec(e);r;)n.push({name:r[1].trim(),description:r[2].trim(),url:r[3].trim()}),r=t.exec(e);return n}),this.execFile(this.eclBundlePath,this.cwd,this.args(["list"]),"ecl-bundle","Cannot find "+this.eclBundlePath).then(function(e){return tidyCRLF(e.stdout).split("\n")}).then(function(t){var n={};return Promise.all(t.filter(function(e){return!!e}).map(function(t){return e.execFile(e.eclBundlePath,e.cwd,e.args(["info",t]),"ecl-bundle","Cannot find "+e.eclBundlePath).then(function(e){return tidyCRLF(e.stdout).split("\n")}).then(function(e){var r={};e.forEach(function(e){var t=e.split(":");r[t.shift().trim()]=t.join(":").trim()}),n[t]={name:t,props:r}})})).then(function(){return n})})]).then(function(e){var t=e[0],n=e[1];for(var r in t.forEach(function(e){n[e.name]&&(e.props=n[e.name].props,delete n[e.name])}),n)t.push({name:r,url:"",description:"",props:n[r].props});return t}).catch(function(e){return[]})},e.prototype.bundleInstall=function(e){return Promise.all([attachWorkspace(this.cwd),this.execFile(this.eclBundlePath,this.cwd,this.args(["install",e]),"ecl-bundle","Cannot find "+this.eclBundlePath)]).then(function(e){e[0];return e[1]})},e.prototype.bundleUninstall=function(e){return Promise.all([attachWorkspace(this.cwd),this.execFile(this.eclBundlePath,this.cwd,this.args(["uninstall",e]),"ecl-bundle","Cannot find "+this.eclBundlePath)]).then(function(e){e[0];return e[1]})},e.prototype.execFile=function(e,t,n,r,o){return new Promise(function(r,o){logger$3.debug(e+" "+n.join(" "));var i=cp.spawn(e,n,{cwd:t}),u="",c="";i.stdout.on("data",function(e){u+=e.toString()}),i.stderr.on("data",function(e){c+=e.toString()}),i.on("close",function(e,t){r({code:e,stdout:u.trim(),stderr:c.trim()})})})},e}();function locateClientToolsInFolder(e,t){if(e){var n=path.join(e,"HPCCSystems");if(fs.existsSync(n)&&fs.statSync(n).isDirectory()){if("Windows_NT"!==os.type()){var r=path.join(n,"bin","eclcc");fs.existsSync(r)&&t.push(new ClientTools(r))}fs.readdirSync(n).forEach(function(e){var r=path.join(n,e,"clienttools","bin","eclcc"+exeExt);if(fs.existsSync(r)){var o=path.basename(e);new Version(o).exists()&&t.push(new ClientTools(r))}})}}}function locateAllClientTools(){if(allClientToolsCache)return allClientToolsCache;var e=[];switch(os.type()){case"Windows_NT":var t=process.env["ProgramFiles(x86)"]||"";t&&locateClientToolsInFolder(t,e);var n=process.env.ProgramFiles||"";n&&locateClientToolsInFolder(n,e),t||n||locateClientToolsInFolder("c:\\Program Files (x86)",e);break;case"Linux":case"Darwin":locateClientToolsInFolder("/opt",e)}return allClientToolsCache=Promise.all(e.map(function(e){return e.version()})).then(function(){return e.sort(function(e,t){return t.versionSync().compare(e.versionSync())}),e})}var eclccPathMsg="";function logEclccPath(e){var t="Using eclccPath setting: "+e;eclccPathMsg!==t&&(logger$3.info(t),eclccPathMsg=t)}function locateClientTools(e,t,n,r,o,i){return void 0===e&&(e=""),void 0===t&&(t=""),void 0===n&&(n="."),void 0===r&&(r=[]),void 0===o&&(o=!1),void 0===i&&(i=[]),e&&fs.existsSync(e)?(logEclccPath(e),Promise.resolve(new ClientTools(e,n,r,o,i))):locateAllClientTools().then(function(e){if(!e.length)throw new Error("Unable to locate ECL Client Tools.");for(var u,c,s=new Version(t),a=0,l=e;a<l.length;a++){var p=l[a],h=p.versionSync();if(h.exists()&&(u||(u=p),c||s.major!==h.major||(c=p),s.major===h.major&&s.minor===h.minor))return p.clone(n,r,o,i)}var f=c||u;return logEclccPath(f.eclccPath),f.clone(n,r,o,i)})}util.root.DOMParser=xmldom.DOMParser,void 0===util.root.fetch&&(util.root.fetch=fetch$1),void 0===util.root.AbortController&&(util.root.AbortController=AbortController),util.root.fetch.__rejectUnauthorizedAgent=new https.Agent({rejectUnauthorized:!1});var globalCA="";void 0!==https.globalAgent.options.ca&&(Array.isArray(https.globalAgent.options.ca)&&https.globalAgent.options.ca.length?"string"==typeof https.globalAgent.options.ca[0]?globalCA=https.globalAgent.options.ca.join("\n"):https.globalAgent.options.ca[0]instanceof safeBuffer.Buffer&&(globalCA=https.globalAgent.options.ca.map(function(e){return e.toString()}).join("\n")):"string"==typeof https.globalAgent.options.ca?globalCA=https.globalAgent.options.ca:https.globalAgent.options.ca instanceof safeBuffer.Buffer&&(globalCA=https.globalAgent.options.ca.toString()),globalCA+="\n"),util.root.fetch.__trustwaveAgent=new https.Agent({ca:globalCA+trustwave}),void 0===util.root.btoa&&(util.root.btoa=function(e){return safeBuffer.Buffer.from(e||"","utf8").toString("base64")}),exports.AccountService=AccountService,exports.Activity=Activity,exports.Attr=Attr,exports.Attribute=Attribute,exports.BUILD_VERSION=BUILD_VERSION,exports.BaseScope=BaseScope,exports.ClientTools=ClientTools,exports.CodesignService=CodesignService,exports.Connection=Connection,exports.DFUService=DFUService,exports.DFUXRefService=DFUXRefService,exports.Definition=Definition,exports.ECLGraph=ECLGraph,exports.ECLScope=ECLScope,exports.ESPConnection=ESPConnection,exports.ESPExceptions=ESPExceptions,exports.EclService=EclService,exports.EclccErrors=EclccErrors,exports.EnvchkErrors=EnvchkErrors,exports.Errors=Errors,exports.Field=Field,exports.File=File,exports.Folder=Folder,exports.GlobalResultCache=GlobalResultCache,exports.GraphCache=GraphCache,exports.Import=Import,exports.LocalWorkunit=LocalWorkunit,exports.LogicalFile=LogicalFile,exports.LogicalFileCache=LogicalFileCache,exports.Machine=Machine,exports.MachineCache=MachineCache,exports.MachineService=MachineService,exports.PKG_NAME=PKG_NAME,exports.PKG_VERSION=PKG_VERSION,exports.Query=Query,exports.Resource=Resource,exports.Result=Result,exports.ResultCache=ResultCache,exports.SMCService=SMCService,exports.Scope=Scope,exports.ScopeEdge=ScopeEdge,exports.ScopeGraph=ScopeGraph,exports.ScopeSubgraph=ScopeSubgraph,exports.ScopeVertex=ScopeVertex,exports.Service=Service,exports.Source=Source,exports.SourceFile=SourceFile,exports.Store=Store,exports.StoreCache=StoreCache,exports.StoreService=StoreService,exports.TargetCluster=TargetCluster,exports.TargetClusterCache=TargetClusterCache,exports.Timer=Timer,exports.Topology=Topology,exports.TopologyCache=TopologyCache,exports.TopologyService=TopologyService,exports.ValueChangedMessage=ValueChangedMessage,exports.Version=Version,exports.Workspace=Workspace,exports.Workunit=Workunit,exports.WorkunitCache=WorkunitCache,exports.WorkunitsService=WorkunitsService,exports.XGMMLEdge=XGMMLEdge,exports.XGMMLGraph=XGMMLGraph,exports.XGMMLSubgraph=XGMMLSubgraph,exports.XGMMLVertex=XGMMLVertex,exports.XSDNode=XSDNode,exports.XSDSchema=XSDSchema,exports.XSDSimpleType=XSDSimpleType,exports.XSDXMLNode=XSDXMLNode,exports.attachWorkspace=attachWorkspace,exports.createGraph=createGraph,exports.createXGMMLGraph=createXGMMLGraph,exports.defaultTargetCluster=defaultTargetCluster,exports.deserializeResponse=deserializeResponse,exports.get=get,exports.hookSend=hookSend,exports.instanceOfIConnection=instanceOfIConnection,exports.instanceOfIOptions=instanceOfIOptions,exports.isArray=isArray,exports.isECLResult=isECLResult,exports.isExceptions=isExceptions,exports.isWUInfoWorkunit=isWUInfoWorkunit,exports.isWUQueryECLWorkunit=isWUQueryECLWorkunit,exports.jsonp=jsonp,exports.locateAllClientTools=locateAllClientTools,exports.locateClientTools=locateClientTools,exports.parseXSD=parseXSD,exports.parseXSD2=parseXSD2,exports.post=post,exports.qualifiedIDBoundary=qualifiedIDBoundary,exports.send=send,exports.serializeRequest=serializeRequest,exports.setTransportFactory=setTransportFactory,exports.targetClusters=targetClusters,exports.walkXmlJson=walkXmlJson$1;
|
|
1
|
+
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var util=require("@hpcc-js/util"),xmldom=require("@xmldom/xmldom"),fetch$1=_interopDefault(require("node-fetch")),AbortController=_interopDefault(require("abort-controller")),https=require("https"),safeBuffer=require("safe-buffer"),cp=require("child_process"),fs=require("fs"),os=require("os"),path=require("path"),tmp=require("tmp"),trustwave="\nTrustwave Secure Global Extended Validation CA, Level 1\nSecureTrust Corporation\n00F6F61CE4A3635BB0CA8AACEEFCB2D0F0\n-----BEGIN CERTIFICATE-----\nMIIE+DCCA+CgAwIBAgIRAPb2HOSjY1uwyoqs7vyy0PAwDQYJKoZIhvcNAQELBQAw\nSjELMAkGA1UEBhMCVVMxIDAeBgNVBAoTF1NlY3VyZVRydXN0IENvcnBvcmF0aW9u\nMRkwFwYDVQQDExBTZWN1cmUgR2xvYmFsIENBMB4XDTE1MDgxMjIwMTcyOVoXDTI1\nMDgwOTIwMTcyOVowgbgxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhJbGxpbm9pczEQ\nMA4GA1UE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FBQcDATAfBgNVHSMEGDAWgBSvRATCQX5Ig9tOOQLs7IR65s7JpDANBgkqhkiG\n9w0BAQsFAAOCAQEAkn/4wKQRLo41fDRkZtfF+3o8JtUmfQXf2zoo9Ll29hhCiz8k\nBOpIek9MrFd/cdNgUw1nckIi+J3udyFrbO5p64JBvtc0K4kAOPFSKpHssFcnRLPx\nFXgGxXq6ohD4Py+xaEApslYFfMy89N6DKs/v/10/+/xD831RFEUMUoQxBimsmmNf\n+cLoMwF5bpoSz9JcWqCmSlK0Nla1dPphaoA/MObLN2iQPpeM3yF5dTUm1tPxe39W\nOlr6nLU1xO+yRDrlGLXrVDP1l1/qGVuwi+xufIAcdFycLLBjSSNX7LOIK3tbva7A\nWctLUs+qhIlUrbPyFERm7YOY4SttWdozeYFNfg==\n-----END CERTIFICATE-----\n\nSecureTrust Domain Validation CA, Level 1\nSecureTrust Corporation\n06F1EC00E80B1BAF9870A7C4B6CBE401A32D68\n-----BEGIN CERTIFICATE-----\nMIIEfzCCA2egAwIBAgITBvHsAOgLG6+YcKfEtsvkAaMtaDANBgkqhkiG9w0BAQsF\nADBIMQswCQYDVQQGEwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRp\nb24xFzAVBgNVBAMTDlNlY3VyZVRydXN0IENBMB4XDTE5MDEyOTEyNTk1OVoXDTI5\nMDEyOTEyNTk1OVowfDEyMDAGA1UEAxMpU2VjdXJlVHJ1c3QgRG9tYWluIFZhbGlk\nYXRpb24gQ0EsIExldmVsIDExFDASBgNVBAoTC1NlY3VyZVRydXN0MRAwDgYDVQQH\nEwdDaGljYWdvMREwDwYDVQQIEwhJbGxpbm9pczELMAkGA1UEBhMCVVMwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCjRHBw8iIivBBrfE6HqexQK0oMt2Y/\nx8jO3fN96KEazZwEoGidwloRBk2Q7VfVvZ0ZDk+qwJZGLZJLS1ntGaZLH4/Iel+r\nPnp36IVF7J5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2FvoE/f5dS3rD/fdMQB1aQ68wQQYD\nVR0gBDowODA2BgRVHSAAMC4wLAYIKwYBBQUHAgEWIGh0dHBzOi8vY2VydHMuc2Vj\ndXJldHJ1c3QuY29tL0NBMDIGA1UdHwQrMCkwJ6AloCOGIWh0dHA6Ly9jcmwudHJ1\nc3R3YXZlLmNvbS9TVENBLmNybDA2BggrBgEFBQcBAQQqMCgwJgYIKwYBBQUHMAGG\nGmh0dHA6Ly9vY3NwLnRydXN0d2F2ZS5jb20vMA0GCSqGSIb3DQEBCwUAA4IBAQB1\nfzAmGGmtbJyIvOfjq2McCpUoYkXAq6JTN51+nb9NDAihhDoTKMde+801bC1/l54h\nxPPm4HImM6GK6LFckDew/FGwbdRbEznUOJ7uVL5ploNBIjte23kTBUZa9fx3+aXK\nhUTAipSyPtNjnOwVVBVXzrMynfMhdsyRRe7gLXNFYCXIxtks3IkIpuYnc86NAuV9\nnBLFlZzgmbAsW+tMc5QsNvQJ9pQ539K8cqZaM+HFCScreDERxmNtHHbMw+hCa2yL\nOj4ntekgWLO8KQbE0lPUNLIM17QK8aktJavj+GezBztKMmJJwhVYQy9nxS388ApX\nxcZsEgIzOCeH0SOWg4FA\n-----END CERTIFICATE-----\n\nSecureTrust Organization Validation CA, Level 1\nSecureTrust Corporation\n06F1EC00E58E9ADD372C871D25843FDAB852D9\n-----BEGIN CERTIFICATE-----\nMIIEkDCCA3igAwIBAgITBvHsAOWOmt03LIcdJYQ/2rhS2TANBgkqhkiG9w0BAQsF\nADBIMQswCQYDVQQGEwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRp\nb24xFzAVBgNVBAMTDlNlY3VyZVRydXN0IENBMB4XDTE5MDEyOTEyNTk1OVoXDTI5\nMDEyOTEyNTk1OVowgYIxODA2BgNVBAMTL1NlY3VyZVRydXN0IE9yZ2FuaXphdGlv\nbiBWYWxpZGF0aW9uIENBLCBMZXZlbCAxMRQwEgYDVQQKEwtTZWN1cmVUcnVzd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4qU6voCSREpD\nFJXsL+Go2/YLRSE6xkWVSocklxppx4hi5o/RVdMMQept6ooOSFzBpH5XZYUoblKi\n99Yj0FUe8egIa9qSts42TObTpH1YVRMDnH3k2MNX3rcgPf9v/QO9Cf8W6RQ2+X3R\nCaYMPdL5OIKh4RGYjxXe3LpgiTKBWik/ZWTFL5sZSjetrJFl50NONzTc8E+BJtrx\nVCHAI2OcWyloxrYd4zMipw0YjDw=\n-----END CERTIFICATE-----\n\nTrustwave Domain Validation SHA256 CA, Level 1\nSecureTrust Corporation\n00DDEDF6F64298490E694C36EFA422C88F\n-----BEGIN CERTIFICATE-----\nMIIE7jCCA9agAwIBAgIRAN3t9vZCmEkOaUw276QiyI8wDQYJKoZIhvcNAQELBQAw\nSDELMAkGA1UEBhMCVVMxIDAeBgNVBAoTF1NlY3VyZVRydXN0IENvcnBvcmF0aW9u\nMRcwFQYDVQQDEw5TZWN1cmVUcnVzdCBDQTAeFw0xNDEwMDExOTIyMzJaFw0yNDA5\nMjgxOTIyMzJaMIGvMQswCQYDVQQGEwJVUzERMA8GA1UECBMISWxsaW5vaXMxEDAO\nBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRydXN0d2F2ZSBIb2xkaW5ncywgSW5j\nLjE3MDUGA1UEAxMuVHJ1c3R3YXZlIERvbWFpbiBWYWxpZGF0aW9uIFNIQTI1NiBD\nQSwgTGV2ZWwgMTEfMB0GCSqGSIb3DQEJARYQY2FAdHJ1c3R3YXZlLmNvbTCCASIw\nDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALNr4Z91k7AKM+Pz5XXWTIuVeMts\nPU2W/pI4WdEHG9Zab1EOWPLbthB6fzUJLLLBBk1wy2OM9yG1HywB/CwfGHcoKS8Z\n/efGV+ZKTzEpIestriUWx7wUnzxKzGML48Xv7sNuY1Crru5Hgce1Ax5uOfP7OB6t\norbMunvKQC10WcSrqFg6LapZ0UhgGmQzdjYguOBF6WZJR3QLghQaNrSUZuA6neXR\ncUsBg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bTA1BggrBgEFBQcwAoYpaHR0cDovL3NzbC50cnVzdHdhdmUuY29tL2lzc3VlcnMv\nU1RDQS5jcnQwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMBMB8GA1UdIwQY\nMBaAFEIythb6BP3+XUt6w/33TEAdWkOvMA0GCSqGSIb3DQEBCwUAA4IBAQCly1p1\nrvcOlRS+ODBLb2kYHd4q+cXDl65X+IQ7hOlXg9dpa7CzSAGNNpzhyYMbE48mB/RE\nBXxbZkMzEhWPFj+4jdGNsmX0zjEWatJWsnNVxpA7hDR0iZssezu86oDQ/sbVoaXj\n0a5jB2cZsnMS5287CNDk5i+ImruhbMAYV9sadliXoDy3y01Sv+FLMx39C5UhYhWU\ngvoT9igbSCoc/DPOukEDqsnKMmDqTf3JzuFI1CbJcR6M8R1hAda4mZrxIdGcbT8R\nXp8JQ8Vuv/+plPMcAiZ2Bzed0hPVr5A1Mz8K8w9OyORGlRwjWS65jsr26bjMCcfj\npvuAANrc0Alu4nJC\n-----END CERTIFICATE-----\n\nTrustwave Extended Validation SHA256 CA, Level 1\nSecureTrust Corporation\n35962F305C5A0BEC400D4E9877528C65\n-----BEGIN CERTIFICATE-----\nMIIFCzCCA/OgAwIBAgIQNZYvMFxaC+xADU6Yd1KMZTANBgkqhkiG9w0BAQsFADBI\nMQswCQYDVQQGEwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24x\nFzAVBgNVBAMTDlNlY3VyZVRydXN0IENBMB4XDTE2MDkwMTE0MzUzNFoXDTI0MDky\nOTE0MzUzNFowgbExCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhJbGxpbm9pczEQMA4G\nA1UEBxMHQ2hpY2FnbzEhMB8GA1UEChMYVHJ1c3R3YXZlIEhvbGRpbmdzLCBJbmMu\nMTkwNwYDVQQDEzBUcnVzdHdhdmUgRXh0ZW5kZWQgVmFsaWRhdGlvbiBTSEEyNTYg\nQ0EsIExldmVsIDExHzAdB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DQ9/ppTHoxTIADw2JDsC5ByplabteQ\nnLghrl17K1b6PO+rzWA/NFKVwo6u8Gh7Lz0iUuit7ZBD4eKcRedxRZcPQlnD9KTR\nIs94SRpootsuCv/Y5b+1FMPV1KrYtbco9yEVlaNEWLpmiEsqvLjxiWEmt71rzz+0\nS59OtA/ihnbGP9Xrnhe7wf1ybCNOO5gZQMKr/OszfLZ7oVKACGOPLlcSZRRW98gA\nszE+1ZvlHkdjamfTSs4yMvUorYn9NhXnjAWl28NuD9m3FPiE2O50ezEDnHTiaOQ=\n-----END CERTIFICATE-----\n\nTrustwave Organization Validation SHA256 CA, Level 1\nSecureTrust Corporation\n4B2C6646F434775B67DF34A04DD504E6\n-----BEGIN CERTIFICATE-----\nMIIE/TCCA+WgAwIBAgIQSyxmRvQ0d1tn3zSgTdUE5jANBgkqhkiG9w0BAQsFADBI\nMQswCQYDVQQGEwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24x\nFzAVBgNVBAMTDlNlY3VyZVRydXN0IENBMB4XDTE0MTAwMTE5MjIzNloXDTI0MDky\nODE5MjIzNlowgbUxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhJbGxpbm9pczEQMA4G\nA1UEBxMHQ2hpY2FnbzEhMB8GA1UEChMYVHJ1c3R3YXZlIEhvbGRpbmdzLCBJbmMu\nMT0wOwYDVQQDEzRUcnVzdHdhdmUgT3JnYW5pemF0aW9uIFZhbGlkYXRpb24gU0hB\nMjU2IENBLCBMZXZlbCAxMR8wHQYJKoZIhvcNAQkBFhBjYUB0cnVzdHdhdmUuY29t\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA49OohlJHBJ/juiQTmibO\nS28pHvCCp1bPOc6elQ62DCYE/A14JXUtI8yaUc9nFjh6dNzR7KjFPEq/qDplQl7f\n1Tvh5ifBNNP2wQ6e820TWlPO4HhR/5g4+3iFmJ1N7kFrxDp1/P8e3+9lcJsXckXC\ntfFkQ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5XPvZtNve4evLVPYueA3TmGyxXh1m2d\n-----END CERTIFICATE-----\n\nTrustwave Organization Validation SHA256 CA, Level 1\nSecureTrust Corporation\n0092B8744F71CED0E26C72A3D8D5D925B2\n-----BEGIN CERTIFICATE-----\nMIIFEDCCA/igAwIBAgIRAJK4dE9xztDibHKj2NXZJbIwDQYJKoZIhvcNAQELBQAw\nSDELMAkGA1UEBhMCVVMxIDAeBgNVBAoTF1NlY3VyZVRydXN0IENvcnBvcmF0aW9u\nMRcwFQYDVQQDEw5TZWN1cmVUcnVzdCBDQTAeFw0xNjA5MDExNDM1MzVaFw0yNDA5\nMjkxNDM1MzVaMIG1MQswCQYDVQQGEwJVUzERMA8GA1UECBMISWxsaW5vaXMxEDAO\nBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRydXN0d2F2ZSBIb2xkaW5ncywgSW5j\nLjE9MDsGA1UEAxM0VHJ1c3R3YXZlIE9yZ2FuaXphdGlvbiBWYWxpZGF0aW9uIFNI\nQTI1NiBDQSwgTGV2ZWwgMTEfMB0GCSqGSIb3DQEJARYQY2FAdHJ1c3R3YXZlLmNv\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOPTqIZSRwSf47okE5om\nzktvKR7wgqdWzznOnpUOtgwmBPwNeCV1LSPMmlHPZxY4enTc0eyoxTxKv6g6ZUJe\n39U74eYnwTTT9sEOnvNtE1pTzuB4Uf+YOPt4hZidTe5Ba8Q6dfz/Ht/vZXCbF3JF\nwrXxZEPbJaICap2grIqYHax+IEIYnBQC+WKh8NgCn3LWS0j6cYSN8SEjFf5SEMGT\n1iNtttb/QC3JKJIeaVunUyvMfMjVFMntc7eZrFs6rp3wY1WFVI+fy17uOoUvfTH8\nbvNAESUch7FyLh2zM8FVxqilT2XygHRwZeXtxJQozcDcvh4ItPb0uz6AFIYwn/8G\nzp0CAwEAAaOCAYUwggGBMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFMrO\nHRgDdx4c83xYsppwqAiAFvSuMA4GA1UdDwEB/wQEAwIBhjAyBgNVHR8EKzApMCeg\nJaAjhiFodHRwOi8vY3JsLnRydXN0d2F2ZS5jb20vU1RDQS5jcmwwPQYDVR0gBDYw\nNDAyBgRVHSAAMCowKAYIKwYBBQUHAgEWHGh0dHBzOi8vc3NsLnRydXN0d2F2ZS5j\nb20vQ0EwbAYIKwYBBQUHAQEEYDBeMCUGCCsGAQUFBzABhhlodHRwOi8vb2NzcC50\ncnVzdHdhdmUuY29tMDUGCCsGAQUFBzAChilodHRwOi8vc3NsLnRydXN0d2F2ZS5j\nb20vaXNzdWVycy9TVENBLmNydDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUH\nAwEwHwYDVR0jBBgwFoAUQjK2FvoE/f5dS3rD/fdMQB1aQ68wGwYDVR0RBBQwEoEQ\nY2FAdHJ1c3R3YXZlLmNvbTANBgkqhkiG9w0BAQsFAAOCAQEAC0OvN7/UJBcRDXch\nA4b2qJo7mBD05+XR96N7vucMaanz26CnUxs1o8DcBckpqyEXCxdOanIr+/UJNbBL\nXLJCzNLJEJcgV9TjbVu33eQR23yMuXD+cZsqLMF+L5IIM47W8dlwKJvMy0xs7Jb1\nS3NOIhcoVu+XPzRsgKv8Yi2B6l278RfzegiCx4vYJv0pBjFzizEiFH9bWTYIOlIJ\nJSM57hoICgjCTS8BoEgndwWIyc/nEmlYaUwmCo9QynY+UmW1WPWmVITEJPMdMK6A\nZqvvaWmuHJ6/vURaz+Hoc5D3z0yJDDCkv52bXV04ZoF6cbcWry7JvNA+djvay/4B\nRR4SZQ==\n-----END CERTIFICATE-----\n\nSecureTrust TWG Secure Email CA, Level 2\nTrustwave Holdings, Inc.\n072F30E9C25181828DAC4F5F7DE4AFC87AD132\n-----BEGIN CERTIFICATE-----\nMIIG2zCCBMOgAwIBAgITBy8w6cJRgYKNrE9ffeSvyHrRMjANBgkqhkiG9w0BAQsF\nADCBiDELMAkGA1UEBhMCVVMxETAPBgNVBA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300As9ONg8hxfVkFQSHOc00IiBkgi3OpoCofEKTgDwZwHVqOJyyPjk6H9Sh\nZANmUOT2mGDLwl86Ar5bTu8ipzlsyDYQMFjho7WaVs8I5OXyVdONXDYLIOtpITGT\n1fRcXFzxYHhrNuFwrdj2zBVyvVD4O6xV97/9nv2Eng==\n-----END CERTIFICATE-----\n\nTrustwave Global Domain Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D9AD30465CF22697F246B101EC92953B\n-----BEGIN CERTIFICATE-----\nMIIHCDCCBPCgAwIBAgITBs6C2a0wRlzyJpfyRrEB7JKVOzANBgkqhkiG9w0BAQsF\nADCBiDELMAkGA1UEBhMCVVMxETAPBgNVBAgMCElsbGlub2lzMRAwDgYDVQQHDAdD\naGljYWdvMSEwHwYDVQQKDBhUcnVzdHdhdmUgSG9sZGluZ3MsIEluYy4xMTAvBgNV\nBAMMKFRydXN0d2F2ZSBHbG9iYWwgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcN\nMTgwMjA2MTIyMTIxWhcNMjgwMjI0MDUwMTIxWjCBjjE3MDUGA1UEAxMuVHJ1c3R3\nYXZlIEdsb2JhbCBEb21haW4gVmFsaWRhdGlvbiBDQSwgTGV2ZWwgMTEhMB8GA1UE\nChMYVHJ1c3R3YXZlIEhvbGRpbmdzLCBJbmMuMRAwDgYDVQQHEwdDaGljYWdvMREw\nDwYDVQQIEwhJbGxpbm9pczELMAkGA1UEBhMCVVMwggIiMA0GCSqGSIb3DQEBAQUA\nA4ICDwAwggIKAoICAQChh5brvvk/kFUZwhlUhqdsUmsMCBjzYqBBLnTyNrKPr4nd\nS9s2h2JvA+9TY7NnJc/Mq1eN5V6zqvbn/LN3c8W06f76xrVvFEKs5SzCefUS/V3Z\nC18dgwXXFrP+RgfK2kqfTHGIPrWoRSnUiLn3iUNEBtJ06oXjAqAMnAyL5AzD+eHm\nZzRK/yCw/gMPnVp2S7Dstka607fS4fW9Sl33mOMNwJRxEjQWHHR25PAb4muP6wj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R3ESA6Sct3zmkA8woR/KJVzzegjscHhtQUifQ+Eb9Gi0ORNnetGV+5g\n5vlrFZMptBRGUxXMo2xa+Z/NTyimpMopfXj7qCW/nQWQbzvkQGchK9IokyqV2wra\ntX68/P3zleG+LLwzoJd5AhHYSXWrIRJpClZHN+LQKkbI3MYW7+upo/1e9HEmFKxu\n5SFV3nuQm5wSOsz/ZtIL1AS8IoZYxcSe1Q/yuV9GjnxtL1jkPbzsBx4eBGxUrcIe\nsBat6SI8G58uHTpIPpqUxRYsg8w0FdjK3kNBB5QWDeXiDxzqIRzA0iE1kHeTXRZ3\n7qgGXUcce7ciW5KqeRApjQbD5BSZG2EKkQ7aaOhvxK0LiuxHZnjPW4/fdEcaCuku\nMT5qMDiF2U85V9BvanEy/xkYn4I2UeK4EdSXe7q6j+CIJz9WnoLQDbIS04GqIWe0\nVRQUlx3idUWYSJU/SG8KrEHhlJLmgSjshCwtT6qo4vHwT5WcWDLIbjMqgL1iQ6JS\n4gxXuOGia3d0I4/wec5x23EWwx9V8BtDJ8N7NDeRNmZ8RXOHSYJsVQYIQuFUEXE1\nv3WMSIxuyQMyR5FYSCG9xnKRFzNmiPngDil5IA==\n-----END CERTIFICATE-----\n\nTrustwave Global Extended Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D99FB3B180C281020314A2D1C7640017\n-----BEGIN CERTIFICATE-----\nMIIHFDCCBPygAwIBAgITBs6C2Z+zsYDCgQIDFKLRx2QAFzANBgkqhkiG9w0BAQsF\nADCBiDELMAkGA1UEBhMCVVMxETAPBgNVBAgMCElsbGlub2lzMRAwDgYDVQQHDAdD\naGljYWdvMSEwHwYDVQQKDBhUcnVzdHdhdmUgSG9sZGluZ3MsIEluYy4xMTAvBgNV\nBAMMKFRydXN0d2F2ZSBHbG9iYWwgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcN\nMTgwMjA2MTIyMTIwWhcNMjgwMjI0MDUwMTIwWjCBkDE5MDcGA1UEAxMwVHJ1c3R3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uvB/VnjnPC953u5uqAGtZ8BkC7X9cu5E0rMQ==\n-----END CERTIFICATE-----\n\nTrustwave Global Organization Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D9A69703AEFE5D37D18858C74026B004\n-----BEGIN CERTIFICATE-----\nMIIHGDCCBQCgAwIBAgITBs6C2aaXA67+XTfRiFjHQCawBDANBgkqhkiG9w0BAQsF\nADCBiDELMAkGA1UEBhMCVVMxETAPBgNVBAgMCElsbGlub2lzMRAwDgYDVQQHDAdD\naGljYWdvMSEwHwYDVQQKDBhUcnVzdHdhdmUgSG9sZGluZ3MsIEluYy4xMTAvBgNV\nBAMMKFRydXN0d2F2ZSBHbG9iYWwgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcN\nMTgwMjA2MTIyMTIwWhcNMjgwMjI0MDUwMTIwWjCBlDE9MDsGA1UEAxM0VHJ1c3R3\nYXZlIEdsb2JhbCBPcmdhbml6YXRpb24gVmFsaWRhdGlvbiBDQSwgTGV2ZWwgMTEh\nMB8GA1UEChMYVHJ1c3R3YXZlIEhvbGRpbmdzLCBJbmMuMRAwDgYDVQQHEwdDaGlj\nYWdvMREwDwYDVQQIEwhJbGxpbm9pczELMAkGA1UEBhMCVVMwggIiMA0GCSqGSIb3\nDQEBAQUAA4ICDwAwggIKAoICAQC8BzZtA3eWejFOGHc2DLgex6P471dLWIIHSlrF\nY4a2BCtzAd/VlpQ3gslWnTgthOmK2/hCc+WSaOLPVZzZf3lGnxbb0+Y87Kx+nS1m\nIfJ/4OR6o8XLMLoCTAI1jsWxggiB4NBMqsW2xXQ5VAvBb66KEQYbshNlRpTbtBFq\nEed4YIvCdjbnCUOy1zubgVHUVyCFHzN4XPjEQCtT5vZM576Lt10Je9COnqG0CtPU\nQNP2tjnSmOOYdWcVRZ0UqXUl2fMBfmSDHd8902foigjpP04AYYbq6AetqEgqdvQP\nxz5pVbZqzy8UrE/s/raJLFyTuIAYVt18M0whSgWzGgUWkq2xRqbfn7b1hd56dwRb\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RW1haWwgQ0EsIExldmVsIDIwWTATBgcqhkjO\nPQIBBggqhkjOPQMBBwNCAAT4KazLm94aiykBGkNQVkBrjmK77RlP627D2n3EwK3s\n49ljRkN6wiTWXHx3jPD5BBE/7mWhGWnphzGu1Deb6yzco4IBdTCCAXEwEgYDVR0T\nAQH/BAgwBgEB/wIBADAOBgNVHQ8BAf8EBAMCAYYwEwYDVR0lBAwwCgYIKwYBBQUH\nAwQwHQYDVR0OBBYEFHMQ2nwjQr8tFHfBImxM7ct8lbBYMB8GA1UdIwQYMBaAFKNB\nBqyQbdFK63WlShCZs7Ghi0r3MEEGA1UdIAQ6MDgwNgYEVR0gADAuMCwGCCsGAQUF\nBwIBFiBodHRwczovL2NlcnRzLnNlY3VyZXRydXN0LmNvbS9DQTA5BgNVHR8EMjAw\nMC6gLKAqhihodHRwOi8vY3JsLnNlY3VyZXRydXN0LmNvbS9UV0dQMjU2Q0EuY3Js\nMHgGCCsGAQUFBwEBBGwwajAoBggrBgEFBQcwAYYcaHR0cDovL29jc3Auc2VjdXJl\ndHJ1c3QuY29tLzA+BggrBgEFBQcwAoYyaHR0cDovL2NlcnRzLnNlY3VyZXRydXN0\nLmNvbS9pc3N1ZXJzL1RXR1AyNTZDQS5jcnQwCgYIKoZIzj0EAwIDSQAwRgIhAN8G\nPwKUpMgV3LZjq7fuKS96f15BrwBjmTlKhOwgX83BAiEA9WpWhzRRoKeJGAqqXrMk\nZ8RE9xRtOFBqYdv9H5CeTVk=\n-----END CERTIFICATE-----\n\nTrustwave Global ECDSA P-256 Domain Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D9AF531423847B85FB677932AAF80508\n-----BEGIN CERTIFICATE-----\nMIIDmDCCAz+gAwIBAgITBs6C2a9TFCOEe4X7Z3kyqvgFCDAKBggqhkjOPQQDAjCB\nkTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCElsbGlub2lzMRAwDgYDVQQHEwdDaGlj\nYWdvMSEwHwYDVQQKExhUcnVzdHdhd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9pczELMAkGA1UE\nBhMCVVMwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQmHWo0mogvX1J61xysTqsn\n6qV06wxUH68/QJ2aDIka6beTrDoTZv3mIkyPxFTPy+9idjgSAERlBsDirgO2/NiY\no4IBczCCAW8wEgYDVR0TAQH/BAgwBgEB/wIBADAOBgNVHQ8BAf8EBAMCAYYwHQYD\nVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMBMB0GA1UdDgQWBBSv+Ju8XTSl3tA+\nFCldDY4lrbClhTAfBgNVHSMEGDAWgBSjQQaskG3RSut1pUoQmbOxoYtK9zA9BgNV\nHSAENjA0MDIGBFUdIAAwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly9zc2wudHJ1c3R3\nYXZlLmNvbS9DQTA3BgNVHR8EMDAuMCygKqAohiZodHRwOi8vY3JsLnRydXN0d2F2\nZS5jb20vVFdHUDI1NkNBLmNybDByBggrBgEFBQcBAQRmMGQwJgYIKwYBBQUHMAGG\nGmh0dHA6Ly9vY3NwLnRydXN0d2F2ZS5jb20vMDoGCCsGAQUFBzAChi5odHRwOi8v\nc3NsLnRydXN0d2F2ZS5jb20vaXNzdWVycy9UV0dQMjU2Q0EuY3J0MAoGCCqGSM49\nBAMCA0cAMEQCIGa3JyBYlXxRN5GIIulLaDxnANNRnY4j1Et166CCC5h+AiAVUlzJ\nIJTfUDBU7jnSTKSw/F+bLIPvaC6frMZv0h+RTA==\n-----END CERTIFICATE-----\n\nSecureTrust TWG ECDSA P-384 Secure Email CA, Level 2\nTrustwave Holdings, Inc.\n072F30E9C58D91DEF98A7F9EB2666CFE7BE1EE\n-----BEGIN CERTIFICATE-----\nMIIDqjCCAy+gAwIBAgITBy8w6cWNkd75in+esmZs/nvh7jAKBggqhkjOPQQDAzCB\nkTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCElsbGlub2lzMRAwDgYDVQQHEwdDaGlj\nYWdvMSEwHwYDVQQKExhUcnVzdHdhdmUgSG9sZGlu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QAjEA2diuEHTPUgCQ0ynhLjged8BO\nFyzL3UlFieGGp90v58gUpfjoFq0BReAw7MPYo/Qa\n-----END CERTIFICATE-----\n\nTrustwave Global ECDSA P-384 Domain Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D9B07A17CC5376157813389A2930A44A\n-----BEGIN CERTIFICATE-----\nMIID1TCCA1ygAwIBAgITBs6C2bB6F8xTdhV4EziaKTCkSjAKBggqhkjOPQQDAzCB\nkTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCElsbGlub2lzMRAwDgYDVQQHEwdDaGlj\nYWdvMSEwHwYDVQQKExhUcnVzdHdhdmUgSG9sZGluZ3MsIEluYy4xOjA4BgNVBAMT\nMVRydXN0d2F2ZSBHbG9iYWwgRUNDIFAzODQgQ2VydGlmaWNhdGlvbiBBdXRob3Jp\ndHkwHhcNMTgwMjA2MTIyMTIxWhcNMjgwMjI0MDUwMTIxWjCBmjFDMEEGA1UEAxM6\nVHJ1c3R3YXZlIEdsb2JhbCBFQ0RTQSBQLTM4NCBEb21haW4gVmFsaWRhdGlvbiBD\nQSwgTGV2ZWwgMTEhMB8GA1UEChMYVHJ1c3R3YXZlIEhvbGRpbmdzLCBJbmMuMRAw\nDgYDVQQHEwdDaGljYWdvMREwDwYDVQQIEwhJbGxpbm9pczELMAkGA1UEBhMCVVMw\ndjAQBgcqhkjOPQIBBgUrgQQAIgNiAASxlBEflNumTKsypgdOscM2x6ZRpQGSyB4B\nhJScRQI81UhZvzYSwxPWcxNZwFQoV457HfqR51pviJnHltRS8MJhJ9Q9Rf1sSmy4\nW6SPsM9qnBjwfBRxghByIsEIaTW/PKyjggFpMIIBZTASBgNVHRMBAf8ECDAGAQH/\nAgEAMA4GA1UdDwEB/wQEAwIBhjATBgNVHSUEDDAKBggrBgEFBQcDATAdBgNVHQ4E\nFgQUp6etGGS1u/oGGEfIwJ68Zf9pAWAwHwYDVR0jBBgwFoAUVamEidLBMr0Yy2ym\nB07I552+gpAwPQYDVR0gBDYwNDAyBgRVHSAAMCowKAYIKwYBBQUHAgEWHGh0dHBz\nOi8vc3NsLnRydXN0d2F2ZS5jb20vQ0EwNwYDVR0fBDAwLjAsoCqgKIYmaHR0cDov\nL2NybC50cnVzdHdhdmUuY29tL1RXR1AzODRDQS5jcmwwcgYIKwYBBQUHAQEEZjBk\nMCYGCCsGAQUFBzABhhpodHRwOi8vb2NzcC50cnVzdHdhdmUuY29tLzA6BggrBgEF\nBQcwAoYuaHR0cDovL3NzbC50cnVzdHdhdmUuY29tL2lzc3VlcnMvVFdHUDM4NENB\nLmNydDAKBggqhkjOPQQDAwNnADBkAjA6fS1jRjt+DvnWSI58v4lX+8DCXbdEhDaB\nbBOS/rXwS/ntsFXqTf0B90GPv3AWlFMCMBbz6nXMwX0jKRkaFZOZx9tvwUapdq7M\n6jYpT/NnAzH68x1t3/7ysZ8lPuKIqAwdKQ==\n-----END CERTIFICATE-----\n\nTrustwave Global ECDSA P-384 Extended Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D9A331594530006781829387E40DBCB6\n-----BEGIN CERTIFICATE-----\nMIID4zCCA2igAwIBAgITBs6C2aMxWUUwAGeBgpOH5A28tjAKBggqhkjOPQQDAzCB\nkTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCElsbGlub2lzMRAwDgYDVQQHEwdDaGlj\nYWdvMSEwHwYDVQQKExhUcnVzdHdhdmUgSG9sZGluZ3MsIEluYy4xOjA4BgNVBAMT\nMVRydXN0d2F2ZSBHbG9iYWwgRUNDIFAzODQgQ2VydGlmaWNhdGlvbiBBdXRob3Jp\ndHkwHhcNMTgwMjA2MTIyMTIwWhcNMjgwMjI0MDUwMTIwWjCBnDFFMEMGA1UEAxM8\nVHJ1c3R3YXZlIEdsb2JhbCBFQ0RTQSBQLTM4NCBFeHRlbmRlZCBWYWxpZGF0aW9u\nIENBLCBMZXZlbCAxMSEwHwYDVQQKExhUcnVzdHdhdmUgSG9sZGluZ3MsIEluYy4x\nEDAOBgNVBAcTB0NoaWNhZ28xETAPBgNVBAgTCElsbGlub2lzMQswCQYDVQQGEwJV\nUzB2MBAGByqGSM49AgEGBSuBBAAiA2IABKcVGieqBjW3BuVza9VhkBlpGLHLZqQg\nI0GXaTpt5CogNWz6BmlZ1yAPjRnDUVfVwl57ATRtV7u+5TPFzKZ+RheFVc0iA8vl\nQ2JINGRz8XLDaivvuygQtFKSzCWn4e66cKOCAXMwggFvMBIGA1UdEwEB/wQIMAYB\nAf8CAQAwDgYDVR0PAQH/BAQDAgGGMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEF\nBQcDATAdBgNVHQ4EFgQUMFfit09gayJACkNfT/oNzXO8JCcwHwYDVR0jBBgwFoAU\nVamEidLBMr0Yy2ymB07I552+gpAwPQYDVR0gBDYwNDAyBgRVHSAAMCowKAYIKwYB\nBQUHAgEWHGh0dHBzOi8vc3NsLnRydXN0d2F2ZS5jb20vQ0EwNwYDVR0fBDAwLjAs\noCqgKIYmaHR0cDovL2NybC50cnVzdHdhdmUuY29tL1RXR1AzODRDQS5jcmwwcgYI\nKwYBBQUHAQEEZjBkMCYGCCsGAQUFBzABhhpodHRwOi8vb2NzcC50cnVzdHdhdmUu\nY29tLzA6BggrBgEFBQcwAoYuaHR0cDovL3NzbC50cnVzdHdhdmUuY29tL2lzc3Vl\ncnMvVFdHUDM4NENBLmNydDAKBggqhkjOPQQDAwNpADBmAjEA6pScrGT+SruK7iON\n7iDJZfhQsjfQIhaq9sHiEXd89B8ibWOb57no/K265dPxeuALAjEA27NTMZM344eT\nX3df9B22dY5ZshsUMIiRcMo1K4B/GBO8SIA0jParkHS5g4WO5K7O\n-----END CERTIFICATE-----\n\nTrustwave Global ECDSA P-384 Organization Validation CA, Level 1\nTrustwave Holdings, Inc.\n06CE82D9A9D8E29837EF90BEAF59DC6551BED6\n-----BEGIN CERTIFICATE-----\nMIID5jCCA2ygAwIBAgITBs6C2anY4pg375C+r1ncZVG+1jAKBggqhkjOPQQDAzCB\nkTELMAkGA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LQlo60QGBk\necyzakgVYZ/Ezalz8nQwhCA=\n-----END CERTIFICATE-----\n\nTrustwave XRamp Global Extended Validation CA, Level 1\nXRamp Security Services Inc\n00D3D519C2B2EB5C7040F64CBC957BBD2C\n-----BEGIN CERTIFICATE-----\nMIIFMDCCBBigAwIBAgIRANPVGcKy61xwQPZMvJV7vSwwDQYJKoZIhvcNAQELBQAw\ngYIxCzAJBgNVBAYTAlVTMR4wHAYDVQQLExV3d3cueHJhbXBzZWN1cml0eS5jb20x\nJDAiBgNVBAoTG1hSYW1wIFNlY3VyaXR5IFNlcnZpY2VzIEluYzEtMCsGA1UEAxMk\nWFJhbXAgR2xvYmFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTE1MDgxMjIw\nMTczMVoXDTI1MDgwOTIwMTczMVowgbcxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhJ\nbGxpbm9pczEQMA4GA1UEBxMHQ2hpY2FnbzEhMB8GA1UEChMYVHJ1c3R3YXZlIEhv\nbGRpbmdzLCBJbmMuMT8wPQYDVQQDEzZUcnVzdHdhdmUgWFJhbXAgR2xvYmFsIEV4\ndGVuZGVkIFZhbGlkYXRpb24gQ0EsIExldmVsIDExHzAdBgkqhkiG9w0BCQEWEGNh\nQHRydXN0d2F2ZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC9\nAAbj9SknrNJT9pDatGvlR386KRi0SkqIOGr+C5W91+8E8PqydEHwjrnrWt/MTLGO\n+2kfEO3TEJlWxQQqbHy8SdhjCANefLzOT1cfTfjroWBIS9yiHpBIQytAaz/td95Y\n+JKrRBVCnIR/wB5qMMQ982RWwqggD763XLma0c1AIndsZL+dXp1zET4KBreoxn3q\nRYzMIsZIL2mAJoiCOTYuOGrOMVuaQn0HSu3K7bU+CpkdLQ/j+ikcQiI10IL9oOcO\nU9Gnt/hRyUX66Gk91RIpYXhla2tIYrg7ezrAnFoZIZCb891JjFtbSEOvAAK9F5d6\nfkkjP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\nlG/+4jSHg9bP5Rs1bdID4bANqKCqRieCNqcVtgimQlRXtpla4gt5kNdXElE1GYhB\naCXUNxeEFfsBctyV3lImIJgm4nb1J2/6ADtKYdkNy1GTKv0WBpanI5ojSP5RvbbE\nsLFUzt5sQa0WZ37b/TjNuThOssFgy50X31ieemKyJo90lZvkWx3SD92YHJtZuSPT\nMaCm/zjdzyBP6VhWOmfD0faZmZ26NraAL4hHT4a/RDqA5Dccprrql5gR0IRiR2Qe\nqu5AvzSxnI9O4fKSTx+O856X3vOmeWqJcU9LJxdI/uz0UA9PSX3MReO9ekDFQdxh\nVicGaeVyQYHTtgGJoC86cnn+OjC/QezHYj6RS8fZMXZC+fc8Y+wmjHMMfRod6qh8\nh6jCJ3zhM0EPz8/8AKAigJ5Kp28AsEFFtyLKaEjFQqKu3R3y4G5OBVixwJAWKqQ9\nEEC+j2Jjg6mcgn0tAumDMHzLJ8n9HmYAsC7TIS+OMxZsmO0QqAfWzJPP29FpHOTK\nyeC2nOnOcXHebD8WpHk=\n-----END CERTIFICATE-----\n\nTrustwave Global ECC P256 Certification Authority\nTrustwave Holdings, Inc.\n0D6A5F083F285C3E5195DF5D\n-----BEGIN CERTIFICATE-----\nMIICYDCCAgegAwIBAgIMDWpfCD8oXD5Rld9dMAoGCCqGSM49BAMCMIGRMQswCQYD\nVQQGEwJVUzERMA8GA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAf\nBgNVBAoTGFRydXN0d2F2ZSBIb2xkaW5ncywgSW5jLjE6MDgGA1UEAxMxVHJ1c3R3\nYXZlIEdsb2JhbCBFQ0MgUDI1NiBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0x\nNzA4MjMxOTM1MTBaFw00MjA4MjMxOTM1MTBaMIGRMQswCQYDVQQGEwJVUzERMA8G\nA1UECBMISWxsaW5vaXMxEDAOBgNVBAcTB0NoaWNhZ28xITAfBgNVBAoTGFRydXN0\nd2F2ZSBIb2xkaW5ncywgSW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BAAiA2IABGvaDXU1CDFHBa5FmVXxERMuSvgQMSOjfoPTfygIOiYaOs+Xgh+AtycJ\nj9GOMMQKmw6sWASr9zZ9lCOkmwqKi6vr/TklZvFe/oyujUF5nQlgziip04pt89ZF\n1PKYhDhloKNDMEEwDwYDVR0TAQH/BAUwAwEB/zAPBgNVHQ8BAf8EBQMDBwYAMB0G\nA1UdDgQWBBRVqYSJ0sEyvRjLbKYHTsjnnb6CkDAKBggqhkjOPQQDAwNnADBkAjA3\nAZKXRRJ+oPM+rRk6ct30UJMDEr5E0k9BpIycnR+j9sKS50gU/k6bpZFXrsY3crsC\nMGclCrEMXu6pY5Jv5ZAL/mYiykf9ijH3g/56vxC+GCsej/YpHpRZ744hN8tRmKVu\nSw==\n-----END CERTIFICATE-----\n",PKG_NAME="@hpcc-js/comms",PKG_VERSION="2.69.0",BUILD_VERSION="2.100.0",extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function __extends(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var __assign=function(){return(__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function __awaiter(e,t,n,r){return new(n||(n=Promise))(function(o,i){function u(e){try{s(r.next(e))}catch(e){i(e)}}function c(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(u,c)}s((r=r.apply(e,t||[])).next())})}function __generator(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function __spreadArray(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||t)}var logger=util.scopedLogger("comms/connection.ts");function instanceOfIOptions(e){return"baseUrl"in e}var DefaultOptions={type:"post",baseUrl:"",userID:"",password:"",rejectUnauthorized:!0,timeoutSecs:60};function instanceOfIConnection(e){return"function"==typeof e.opts&&"function"==typeof e.send&&"function"==typeof e.clone}function encode(e,t){return void 0===t||!0===t?encodeURIComponent(e):""+e}function serializeRequest(e,t,n){if(void 0===t&&(t=!0),void 0===n&&(n=""),n&&(n+="."),"object"!=typeof e)return encode(e,t);var r=[],o=function(o){if(e.hasOwnProperty(o))if(e[o]instanceof Array){var i=!1;e[o].forEach(function(e,u){"object"==typeof e?(i=!0,r.push(serializeRequest(e,t,n+encode(o+"."+u,t)))):r.push(n+encode(o+"_i"+u,t)+"="+serializeRequest(e,t))}),i&&r.push(n+encode(o+".itemcount",t)+"="+e[o].length)}else"object"==typeof e[o]?e[o]&&e[o].Item instanceof Array?(r.push(serializeRequest(e[o].Item,t,n+encode(o,t))),r.push(n+encode(o+".itemcount",t)+"="+e[o].Item.length)):r.push(serializeRequest(e[o],t,n+encode(o,t))):void 0!==e[o]?r.push(n+encode(o,t)+"="+encode(e[o],t)):r.push(n+encode(o,t))};for(var i in e)o(i);return r.join("&")}function deserializeResponse(e){return JSON.parse(e)}function jsonp(e,t,n,r,o){return void 0===n&&(n={}),void 0===r&&(r="json"),o&&console.warn("Header attributes ignored for JSONP connections"),new Promise(function(o,i){var u=1e3*e.timeoutSecs,c="jsonp_callback_"+Math.round(999999*Math.random());window[c]=function(e){u=0,p(),o("json"===r&&"string"==typeof e?deserializeResponse(e):e)};var s=document.createElement("script"),a=util.join(e.baseUrl,t);a+=a.indexOf("?")>=0?"&":"?",s.src=a+"jsonp="+c+"&"+serializeRequest(n,e.encodeRequest),document.body.appendChild(s);var l=setInterval(function(){u<=0?clearInterval(l):(u-=5e3)<=0?(clearInterval(l),logger.error("Request timeout: "+s.src),p(),i(Error("Request timeout: "+s.src))):logger.debug("Request pending ("+u/1e3+" sec): "+s.src)},5e3);function p(){delete window[c],document.body.removeChild(s)}})}function authHeader(e){return e.userID?{Authorization:"Basic "+btoa(e.userID+":"+e.password)}:{}}var _omitMap={};function doFetch(e,t,n,r,o){function i(e){if(e.ok)return"json"===o?e.json():e.text();throw new Error(e.statusText)}return r=__assign(__assign({},authHeader(e)),r),n=__assign(__assign({credentials:_omitMap[e.baseUrl]?"omit":"include"},n),{headers:r}),0===e.baseUrl.indexOf("https:")&&(!1===e.rejectUnauthorized&&fetch.__rejectUnauthorizedAgent?n.agent=fetch.__rejectUnauthorizedAgent:fetch.__trustwaveAgent&&(n.agent=fetch.__trustwaveAgent)),util.promiseTimeout(1e3*e.timeoutSecs,fetch(util.join(e.baseUrl,t),n).then(i).catch(function(r){return n.credentials=_omitMap[e.baseUrl]?"include":"omit",fetch(util.join(e.baseUrl,t),n).then(i).then(function(t){return _omitMap[e.baseUrl]=!_omitMap[e.baseUrl],t})}))}function post(e,t,n,r,o){var i;return void 0===r&&(r="json"),n.upload_&&(delete n.upload_,t+="?upload_"),n.abortSignal_&&(i=n.abortSignal_,delete n.abortSignal_),doFetch(e,t,{method:"post",body:serializeRequest(n,e.encodeRequest),signal:i},__assign({"Content-Type":"application/x-www-form-urlencoded"},o),r)}function get(e,t,n,r,o){var i;return void 0===r&&(r="json"),n.abortSignal_&&(i=n.abortSignal_,delete n.abortSignal_),doFetch(e,t+"?"+serializeRequest(n,e.encodeRequest),{method:"get",signal:i},__assign({},o),r)}function send(e,t,n,r,o){var i;switch(void 0===r&&(r="json"),e.type){case"jsonp":i=jsonp(e,t,n,r,o);break;case"get":i=get(e,t,n,r,o);break;case"post":default:i=post(e,t,n,r,o)}return i}var hookedSend=send;function hookSend(e){var t=hookedSend;return e&&(hookedSend=e),t}var Connection=function(){function e(e){this.opts(e)}return Object.defineProperty(e.prototype,"baseUrl",{get:function(){return this._opts.baseUrl},enumerable:!1,configurable:!0}),e.prototype.opts=function(e){return 0===arguments.length?this._opts:(this._opts=__assign(__assign({},DefaultOptions),e),this)},e.prototype.send=function(e,t,n,r){return void 0===n&&(n="json"),this._opts.hookSend?this._opts.hookSend(this._opts,e,t,n,hookedSend,r):hookedSend(this._opts,e,t,n,r)},e.prototype.clone=function(){return new e(this.opts())},e}();function setTransportFactory(e){var t=exports.createConnection;return exports.createConnection=e,t}function isArray(e){return"[object Array]"===Object.prototype.toString.call(e)}exports.createConnection=function(e){return new Connection(e)};var ESPExceptions=function(e){function t(t,n,r){var o=e.call(this,"ESPException: "+r.Source)||this;return o.isESPExceptions=!0,o.action=t,o.request=n,o.Source=r.Source,o.Exception=r.Exception,r.Exception.length?o.message=r.Exception[0].Code+": "+r.Exception[0].Message:o.message="",o}return __extends(t,e),t}(Error);function isExceptions(e){return e instanceof ESPExceptions||e.isESPExceptions&&Array.isArray(e.Exception)}function isConnection(e){return void 0!==e.send}var ESPConnection=function(){function e(e,t,n){this._connection=isConnection(e)?e:exports.createConnection(e),this._service=t,this._version=n}return Object.defineProperty(e.prototype,"baseUrl",{get:function(){return this._connection.opts().baseUrl},enumerable:!1,configurable:!0}),e.prototype.service=function(e){return void 0===e?this._service:(this._service=e,this)},e.prototype.version=function(e){return void 0===e?this._version:(this._version=e,this)},e.prototype.toESPStringArray=function(e,t){if(isArray(e[t])){for(var n=0;n<e[t].length;++n)e[t+"_i"+n]=e[t][n];delete e[t]}return e},e.prototype.opts=function(e){return void 0===e?this._connection.opts():(this._connection.opts(e),this)},e.prototype.send=function(e,t,n,r,o,i){void 0===t&&(t={}),void 0===n&&(n="json"),void 0===r&&(r=!1);var u,c=__assign(__assign({},t),{ver_:this._version});r&&(c.upload_=!0),o&&(c.abortSignal_=o);var s="json";switch(n){case"text":u=util.join(this._service,e),s="text";break;case"xsd":u=util.join(this._service,e+".xsd"),s="text";break;case"json2":u=util.join(this._service,e+"/json"),n="json";var a=e.split("/");e=a.pop();break;default:u=util.join(this._service,e+".json")}return this._connection.send(u,c,s).then(function(t){if("json"===n){var r=void 0;if(t&&t.Exceptions)throw new ESPExceptions(e,c,t.Exceptions);if(t&&(r=t[i||e+"Response"]),!r)throw new ESPExceptions(e,c,{Source:"ESPConnection.send",Exception:[{Code:0,Message:"Missing Response"}]});return r}return t}).catch(function(t){if(t.isESPExceptions)throw t;throw new ESPExceptions(e,c,{Source:"ESPConnection.send",Exception:[{Code:0,Message:t.message}]})})},e.prototype.clone=function(){return new e(this._connection.clone(),this._service,this._version)},e}(),Service=function(){function e(e,t,n){this._connection=new ESPConnection(e,t,n)}return Object.defineProperty(e.prototype,"baseUrl",{get:function(){return this._connection.opts().baseUrl},enumerable:!1,configurable:!0}),e}(),AccountService=function(){function e(e){this._connection=new ESPConnection(e,"Ws_Account","1.05")}return e.prototype.connectionOptions=function(){return this._connection.opts()},e.prototype.MyAccount=function(e){return this._connection.send("MyAccount",e)},e.prototype.UpdateUser=function(e){return this._connection.send("UpdateUser",e)},e.prototype.UpdateUserInput=function(e){return this._connection.send("UpdateUserInput",e)},e.prototype.VerifyUser=function(e){return this._connection.send("VerifyUser",e).catch(function(e){if(e.isESPExceptions&&e.Exception.some(function(e){return 20043===e.Code}))return{retcode:20043,Exceptions:{Source:"wsAccount",Exception:e.Exception}};throw e})},e}(),CodesignService=function(){function e(e){this._connection=new ESPConnection(e,"ws_codesign","1.1")}return e.prototype.connectionOptions=function(){return this._connection.opts()},e.prototype.ListUserIDs=function(e){return this._connection.send("ListUserIDs",e).then(function(e){return e.UserIDs.Item}).catch(function(e){return[]})},e.prototype.Sign=function(e){return this._connection.send("Sign",__assign({SigningMethod:"gpg"},e))},e.prototype.Verify=function(e){return this._connection.send("Verify",e)},e}(),DFUService=function(e){function t(t){return e.call(this,t,"WsDfu","1.60")||this}return __extends(t,e),t.prototype.DFUQuery=function(e){return this._connection.send("DFUQuery",e)},t.prototype.DFUInfo=function(e){return this._connection.send("DFUInfo",e)},t.prototype.DFUFile=function(e){return this._connection.send("DFUDefFile",e,"text")},t.prototype.ListHistory=function(e){return this._connection.send("ListHistory",e)},t.prototype.EraseHistory=function(e){return this._connection.send("EraseHistory",e)},t}(Service),DFUXRefService=function(e){function t(t){return e.call(this,t,"WsDFUXRef","1.01")||this}return __extends(t,e),t.prototype.DFUXRefArrayAction=function(e){return this._connection.send("DFUXRefArrayAction",e)},t.prototype.DFUXRefBuild=function(e){return this._connection.send("DFUXRefBuild",e)},t.prototype.DFUXRefBuildCancel=function(e){return this._connection.send("DFUXRefBuildCancel",e)},t.prototype.DFUXRefCleanDirectories=function(e){return this._connection.send("DFUXRefCleanDirectories",e)},t.prototype.DFUXRefDirectories=function(e){return this._connection.send("DFUXRefDirectories",e,void 0,void 0,void 0,"DFUXRefDirectoriesQueryResponse")},t.prototype.DFUXRefFoundFiles=function(e){return this._connection.send("DFUXRefFoundFiles",e,void 0,void 0,void 0,"DFUXRefFoundFilesQueryResponse")},t.prototype.DFUXRefList=function(e){return void 0===e&&(e={}),this._connection.send("DFUXRefList",e)},t.prototype.DFUXRefLostFiles=function(e){return this._connection.send("DFUXRefLostFiles",e,void 0,void 0,void 0,"DFUXRefLostFilesQueryResponse")},t.prototype.DFUXRefMessages=function(e){return this._connection.send("DFUXRefMessages",e,void 0,void 0,void 0,"DFUXRefMessagesQueryResponse")},t.prototype.DFUXRefOrphanFiles=function(e){return this._connection.send("DFUXRefOrphanFiles",e,void 0,void 0,void 0,"DFUXRefOrphanFilesQueryResponse")},t.prototype.DFUXRefUnusedFiles=function(e){return this._connection.send("DFUXRefUnusedFiles",e)},t}(Service);function jsonToIField(e,t){var n=typeof t;switch(n){case"boolean":case"number":case"string":return{id:e,type:n};case"object":if(t.Row instanceof Array&&(t=t.Row),t instanceof Array)return{id:e,type:"dataset",children:jsonToIFieldArr(t[0])};if(t instanceof Object){if(t.Item&&t.Item instanceof Array&&1===t.Item.length){var r=typeof t.Item[0];if("string"===r||"number"===r)return{id:e,type:"set",fieldType:r};throw new Error("Unknown field type")}return{id:e,type:"object",fields:jsonToIFieldObj(t)}}default:throw new Error("Unknown field type")}}function jsonToIFieldArr(e){e.Row&&e.Row instanceof Array&&(e=e.Row[0]);var t=[];for(var n in e)t.push(jsonToIField(n,e[n]));return t}function jsonToIFieldObj(e){var t={};for(var n in e)t[n]=jsonToIField(n,e[n]);return t}var EclService=function(e){function t(t){return e.call(this,t,"WsEcl","0")||this}return __extends(t,e),t.prototype.opts=function(){return this._connection.opts()},t.prototype.requestJson=function(e,t){return this._connection.send("example/request/query/"+e+"/"+t+"/json",{},"text").then(function(e){var t=JSON.parse(e);for(var n in t)return t[n];return{}}).then(jsonToIFieldArr)},t.prototype.responseJson=function(e,t){return this._connection.send("example/response/query/"+e+"/"+t+"/json",{},"text").then(function(e){var t=JSON.parse(e);for(var n in t)return t[n].Results;return{}}).then(function(e){var t={};for(var n in e)t[n]=jsonToIFieldArr(e[n]);return t})},t.prototype.submit=function(e,t,n){var r="submit/query/"+e+"/"+t;return this._connection.send(r,n,"json2").then(function(e){if(e.Results&&e.Results.Exception)throw new ESPExceptions(r,n,{Source:"wsEcl.submit",Exception:e.Results.Exception});return e.Results})},t}(Service);function ascending(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function bisector(e){return 1===e.length&&(e=ascendingComparator(e)),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var i=r+o>>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var i=r+o>>>1;e(t[i],n)>0?o=i:r=i+1}return r}}}function ascendingComparator(e){return function(t,n){return ascending(e(t),n)}}var ascendingBisect=bisector(ascending);function number(e){return null===e?NaN:+e}function d3Max(e,t){var n,r,o=e.length,i=-1;if(null==t){for(;++i<o;)if(null!=(n=e[i])&&n>=n)for(r=n;++i<o;)null!=(n=e[i])&&n>r&&(r=n)}else for(;++i<o;)if(null!=(n=t(e[i],i,e))&&n>=n)for(r=n;++i<o;)null!=(n=t(e[i],i,e))&&n>r&&(r=n);return r}function d3Mean(e,t){var n,r=e.length,o=r,i=-1,u=0;if(null==t)for(;++i<r;)isNaN(n=number(e[i]))?--o:u+=n;else for(;++i<r;)isNaN(n=number(t(e[i],i,e)))?--o:u+=n;if(o)return u/o}var MachineService=function(){function e(e){this._connection=new ESPConnection(e,"ws_machine","1.13")}return e.prototype.GetTargetClusterInfo=function(e){return void 0===e&&(e={}),this._connection.send("GetTargetClusterInfo",e)},e.prototype.GetTargetClusterUsage=function(e,t){return void 0===t&&(t=!1),this._connection.send("GetTargetClusterUsage",{TargetClusters:e?{Item:e}:{},BypassCachedResult:t}).then(function(e){return util.exists("TargetClusterUsages.TargetClusterUsage",e)?e.TargetClusterUsages.TargetClusterUsage:[]})},e.prototype.GetTargetClusterUsageEx=function(e,t){return void 0===t&&(t=!1),this.GetTargetClusterUsage(e,t).then(function(e){return e.filter(function(e){return!!e.ComponentUsages}).map(function(e){var t=e.ComponentUsages.ComponentUsage.map(function(e){var t=(e.MachineUsages&&e.MachineUsages.MachineUsage?e.MachineUsages.MachineUsage:[]).map(function(e){var t=e.DiskUsages&&e.DiskUsages.DiskUsage?e.DiskUsages.DiskUsage.map(function(e){return __assign(__assign({},e),{Total:e.InUse+e.Available,PercentUsed:100-e.PercentAvailable})}):[];return{Name:e.Name,NetAddress:e.NetAddress,Description:e.Description,DiskUsages:t,mean:d3Mean(t.filter(function(e){return!isNaN(e.PercentUsed)}),function(e){return e.PercentUsed}),max:d3Max(t.filter(function(e){return!isNaN(e.PercentUsed)}),function(e){return e.PercentUsed})}});return{Type:e.Type,Name:e.Name,Description:e.Description,MachineUsages:t,MachineUsagesDescription:t.reduce(function(e,t){return e+(t.Description||"")},""),mean:d3Mean(t.filter(function(e){return!isNaN(e.mean)}),function(e){return e.mean}),max:d3Max(t.filter(function(e){return!isNaN(e.max)}),function(e){return e.max})}});return{Name:e.Name,Description:e.Description,ComponentUsages:t,ComponentUsagesDescription:t.reduce(function(e,t){return e+(t.MachineUsagesDescription||"")},""),mean:d3Mean(t.filter(function(e){return!isNaN(e.mean)}),function(e){return e.mean}),max:d3Max(t.filter(function(e){return!isNaN(e.max)}),function(e){return e.max})}})})},e}(),SMCService=function(){function e(e){this._connection=new ESPConnection(e,"WsSMC","1.24")}return e.prototype.connectionOptions=function(){return this._connection.opts()},e.prototype.Activity=function(e){return this._connection.send("Activity",e).then(function(e){return __assign({Running:{ActiveWorkunit:[]}},e)})},e.prototype.BrowseResources=function(e){return this._connection.send("BrowseResources",e)},e.prototype.GetBuildInfo=function(e){return this._connection.send("GetBuildInfo",e)},e.prototype.GetStatusServerInfo=function(e){return this._connection.send("GetStatusServerInfo",e)},e.prototype.GetThorQueueAvailability=function(e){return this._connection.send("GetThorQueueAvailability",e)},e.prototype.LockQuery=function(e){return this._connection.send("LockQuery",e)},e.prototype.NotInCommunityEdition=function(e){return this._connection.send("NotInCommunityEdition",e)},e.prototype.RoxieControlCmd=function(e){return this._connection.send("RoxieControlCmd",e)},e.prototype.SetBanner=function(e){return this._connection.send("SetBanner",e)},e.prototype.SMCJob=function(e){return this._connection.send("SMCJob",e)},e}(),StoreService=function(e){function t(t){return e.call(this,t,"WsStore","1")||this}return __extends(t,e),t.prototype.CreateStore=function(e){return this._connection.send("Fetch",e)},t.prototype.Delete=function(e){return this._connection.send("Delete",e).catch(function(e){if(e.isESPExceptions&&e.Exception.some(function(e){return-1===e.Code}))return{Exceptions:void 0,Success:!0};throw e})},t.prototype.DeleteNamespace=function(e){return this._connection.send("DeleteNamespace",e)},t.prototype.Fetch=function(e){return this._connection.send("Fetch",e).catch(function(e){if(e.isESPExceptions&&e.Exception.some(function(e){return-1===e.Code}))return{Exceptions:void 0,Value:void 0};throw e})},t.prototype.FetchAll=function(e){return this._connection.send("FetchAll",e)},t.prototype.FetchKeyMD=function(e){return this._connection.send("FetchKeyMD",e)},t.prototype.ListKeys=function(e){return this._connection.send("ListKeys",e)},t.prototype.ListNamespaces=function(e){return this._connection.send("ListNamespaces",e)},t.prototype.Set=function(e){return this._connection.send("Set",e)},t}(Service);!function(e){!function(e){e.All="All",e.QueriesOnly="QueriesOnly",e.WorkunitsOnly="WorkunitsOnly"}(e.RoxieQueueFilter||(e.RoxieQueueFilter={}))}(exports.TpLogicalClusterQuery||(exports.TpLogicalClusterQuery={}));var TopologyService=function(e){function t(t){return e.call(this,t,"WsTopology","1.25")||this}return __extends(t,e),t.prototype.connectionOptions=function(){return this._connection.opts()},t.prototype.protocol=function(){return this._connection.opts().baseUrl.split("//")[0]},t.prototype.ip=function(){return this._connection.opts().baseUrl.split("//")[1].split(":")[0]},t.prototype.TpLogicalClusterQuery=function(e){return void 0===e&&(e={}),this._connection.send("TpLogicalClusterQuery",e)},t.prototype.DefaultTpLogicalClusterQuery=function(e){return void 0===e&&(e={}),this.TpLogicalClusterQuery(e).then(function(e){return e.default?e.default:(e.TpLogicalClusters.TpLogicalCluster.some(function(e,r){return 0===r&&(n=e),"hthor"===e.Type&&(t=e,!0)}),t||n);var t,n})},t.prototype.TpServiceQuery=function(e){return this._connection.send("TpServiceQuery",e)},t.prototype.TpTargetClusterQuery=function(e){return this._connection.send("TpTargetClusterQuery",e)},t.prototype.TpListTargetClusters=function(e){return this._connection.send("TpListTargetClusters",e)},t}(Service);function isECLResult(e){return"string"==typeof e.Name}function isWUQueryECLWorkunit(e){return void 0!==e.TotalClusterTime}function isWUInfoWorkunit(e){return void 0!==e.StateEx}!function(e){e[e.Unknown=0]="Unknown",e[e.Compiled=1]="Compiled",e[e.Running=2]="Running",e[e.Completed=3]="Completed",e[e.Failed=4]="Failed",e[e.Archived=5]="Archived",e[e.Aborting=6]="Aborting",e[e.Aborted=7]="Aborted",e[e.Blocked=8]="Blocked",e[e.Submitted=9]="Submitted",e[e.Scheduled=10]="Scheduled",e[e.Compiling=11]="Compiling",e[e.Wait=12]="Wait",e[e.UploadingFiled=13]="UploadingFiled",e[e.DebugPaused=14]="DebugPaused",e[e.DebugRunning=15]="DebugRunning",e[e.Paused=16]="Paused",e[e.LAST=17]="LAST",e[e.NotFound=999]="NotFound"}(exports.WUStateID||(exports.WUStateID={})),function(e){!function(e){e[e.Unknown=0]="Unknown",e[e.Compile=1]="Compile",e[e.Check=2]="Check",e[e.Run=3]="Run",e[e.ExecuteExisting=4]="ExecuteExisting",e[e.Pause=5]="Pause",e[e.PauseNow=6]="PauseNow",e[e.Resume=7]="Resume",e[e.Debug=8]="Debug",e[e.__size=9]="__size"}(e.Action||(e.Action={}))}(exports.WUUpdate||(exports.WUUpdate={}));var WorkunitsService=function(e){function t(t){return e.call(this,t,"WsWorkunits","1.85")||this}return __extends(t,e),t.prototype.opts=function(){return this._connection.opts()},t.prototype.connection=function(){return this._connection.clone()},t.prototype.Ping=function(){return this._connection.send("Ping",{},"json",!1,void 0,"WsWorkunitsPingResponse").then(function(e){return{result:!0}}).catch(function(e){return{result:!1,error:e}})},t.prototype.WUQuery=function(e){return void 0===e&&(e={}),this._connection.send("WUQuery",e).then(function(e){return util.deepMixin({Workunits:{ECLWorkunit:[]}},e)})},t.prototype.WUInfo=function(e){var t=__assign({Wuid:"",TruncateEclTo64k:!0,IncludeExceptions:!1,IncludeGraphs:!1,IncludeSourceFiles:!1,IncludeResults:!1,IncludeResultsViewNames:!1,IncludeVariables:!1,IncludeTimers:!1,IncludeDebugValues:!1,IncludeApplicationValues:!1,IncludeWorkflows:!1,IncludeXmlSchemas:!1,IncludeResourceURLs:!1,IncludeECL:!1,IncludeHelpers:!1,IncludeAllowedClusters:!1,IncludeTotalClusterTime:!0,IncludeServiceNames:!0,SuppressResultSchemas:!0},e);return this._connection.send("WUInfo",t)},t.prototype.WUCreate=function(){return this._connection.send("WUCreate")},t.prototype.WUUpdate=function(e){return this._connection.send("WUUpdate",e,"json",!0)},t.prototype.WUSubmit=function(e){return this._connection.send("WUSubmit",e)},t.prototype.WUResubmit=function(e){return this._connection.toESPStringArray(e,"Wuids"),this._connection.send("WUResubmit",e)},t.prototype.WUQueryDetails=function(e){return this._connection.send("WUQueryDetails",e)},t.prototype.WUListQueries=function(e){return this._connection.send("WUListQueries",e)},t.prototype.WUPushEvent=function(e){return this._connection.send("WUPushEvent",e)},t.prototype.WUAction=function(e){return e.ActionType=e.WUActionType,this._connection.send("WUAction",e)},t.prototype.WUGetZAPInfo=function(e){return this._connection.send("WUGetZAPInfo",e)},t.prototype.WUShowScheduled=function(e){return this._connection.send("WUShowScheduled",e)},t.prototype.WUQuerySetAliasAction=function(e){return this._connection.send("WUQuerySetAliasAction",e)},t.prototype.WUQuerySetQueryAction=function(e){return this._connection.send("WUQuerySetQueryAction",e)},t.prototype.WUPublishWorkunit=function(e){return this._connection.send("WUPublishWorkunit",e)},t.prototype.WUGetGraph=function(e){return this._connection.send("WUGetGraph",e)},t.prototype.WUResult=function(e,t){return this._connection.send("WUResult",e,"json",!1,t)},t.prototype.WUQueryGetGraph=function(e){return this._connection.send("WUQueryGetGraph",e)},t.prototype.WUFile=function(e){return this._connection.send("WUFile",e,"text")},t.prototype.WUGetStats=function(e){return this._connection.send("WUGetStats",e)},t.prototype.WUQueryGetSummaryStats=function(e){return this._connection.send("WUQueryGetSummaryStats",e)},t.prototype.WUDetailsMeta=function(e){return this._WUDetailsMetaPromise||(this._WUDetailsMetaPromise=this._connection.send("WUDetailsMeta",e)),this._WUDetailsMetaPromise},t.prototype.WUDetails=function(e){return this._connection.send("WUDetails",e)},t.prototype.WUCDebug=function(e){return this._connection.send("WUCDebug",e,void 0,void 0,void 0,"WUDebug").then(function(e){var t=util.xml2json(e.Result).children();return t.length?t[0]:null})},t}(Service),t0=new Date,t1=new Date;function newInterval(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var u,c=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return c;do{c.push(u=new Date(+n)),t(n,i),e(n)}while(u<n&&n<r);return c},o.filter=function(n){return newInterval(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(o.count=function(t,r){return t0.setTime(+t),t1.setTime(+r),e(t0),e(t1),Math.floor(n(t0,t1))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e==0}:function(t){return o.count(0,t)%e==0}):o:null}),o}var durationMinute=6e4,durationDay=864e5,durationWeek=6048e5,day=newInterval(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*durationMinute)/durationDay},function(e){return e.getDate()-1});function weekday(e){return newInterval(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*durationMinute)/durationWeek})}var sunday=weekday(0),monday=weekday(1),tuesday=weekday(2),wednesday=weekday(3),thursday=weekday(4),friday=weekday(5),saturday=weekday(6),year=newInterval(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});year.every=function(e){return isFinite(e=Math.floor(e))&&e>0?newInterval(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var utcDay=newInterval(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/durationDay},function(e){return e.getUTCDate()-1});function utcWeekday(e){return newInterval(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/durationWeek})}var utcSunday=utcWeekday(0),utcMonday=utcWeekday(1),utcTuesday=utcWeekday(2),utcWednesday=utcWeekday(3),utcThursday=utcWeekday(4),utcFriday=utcWeekday(5),utcSaturday=utcWeekday(6),utcYear=newInterval(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});function localDate(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function utcDate(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function newDate(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function formatLocale(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,u=e.shortDays,c=e.months,s=e.shortMonths,a=formatRe(o),l=formatLookup(o),p=formatRe(i),h=formatLookup(i),f=formatRe(u),g=formatLookup(u),d=formatRe(c),A=formatLookup(c),y=formatRe(s),b=formatLookup(s),B={a:function(e){return u[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return s[e.getMonth()]},B:function(e){return c[e.getMonth()]},c:null,d:formatDayOfMonth,e:formatDayOfMonth,f:formatMicroseconds,g:formatYearISO,G:formatFullYearISO,H:formatHour24,I:formatHour12,j:formatDayOfYear,L:formatMilliseconds,m:formatMonthNumber,M:formatMinutes,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatSeconds,u:formatWeekdayNumberMonday,U:formatWeekNumberSunday,V:formatWeekNumberISO,w:formatWeekdayNumberSunday,W:formatWeekNumberMonday,x:null,X:null,y:formatYear,Y:formatFullYear,Z:formatZone,"%":formatLiteralPercent},C={a:function(e){return u[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return s[e.getUTCMonth()]},B:function(e){return c[e.getUTCMonth()]},c:null,d:formatUTCDayOfMonth,e:formatUTCDayOfMonth,f:formatUTCMicroseconds,g:formatUTCYearISO,G:formatUTCFullYearISO,H:formatUTCHour24,I:formatUTCHour12,j:formatUTCDayOfYear,L:formatUTCMilliseconds,m:formatUTCMonthNumber,M:formatUTCMinutes,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatUTCSeconds,u:formatUTCWeekdayNumberMonday,U:formatUTCWeekNumberSunday,V:formatUTCWeekNumberISO,w:formatUTCWeekdayNumberSunday,W:formatUTCWeekNumberMonday,x:null,X:null,y:formatUTCYear,Y:formatUTCFullYear,Z:formatUTCZone,"%":formatLiteralPercent},m={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=g[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=b[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.m=A[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return D(e,t,n,r)},d:parseDayOfMonth,e:parseDayOfMonth,f:parseMicroseconds,g:parseYear,G:parseFullYear,H:parseHour24,I:parseHour24,j:parseDayOfYear,L:parseMilliseconds,m:parseMonthNumber,M:parseMinutes,p:function(e,t,n){var r=a.exec(t.slice(n));return r?(e.p=l[r[0].toLowerCase()],n+r[0].length):-1},q:parseQuarter,Q:parseUnixTimestamp,s:parseUnixTimestampSeconds,S:parseSeconds,u:parseWeekdayNumberMonday,U:parseWeekNumberSunday,V:parseWeekNumberISO,w:parseWeekdayNumberSunday,W:parseWeekNumberMonday,x:function(e,t,r){return D(e,n,t,r)},X:function(e,t,n){return D(e,r,t,n)},y:parseYear,Y:parseFullYear,Z:parseZone,"%":parseLiteralPercent};function w(e,t){return function(n){var r,o,i,u=[],c=-1,s=0,a=e.length;for(n instanceof Date||(n=new Date(+n));++c<a;)37===e.charCodeAt(c)&&(u.push(e.slice(s,c)),null!=(o=pads[r=e.charAt(++c)])?r=e.charAt(++c):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),u.push(r),s=c+1);return u.push(e.slice(s,c)),u.join("")}}function E(e,t){return function(n){var r,o,i=newDate(1900,void 0,1);if(D(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(!t||"Z"in i||(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=utcDate(newDate(i.y,0,1))).getUTCDay(),r=o>4||0===o?utcMonday.ceil(r):utcMonday(r),r=utcDay.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=localDate(newDate(i.y,0,1))).getDay(),r=o>4||0===o?monday.ceil(r):monday(r),r=day.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?utcDate(newDate(i.y,0,1)).getUTCDay():localDate(newDate(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,utcDate(i)):localDate(i)}}function D(e,t,n,r){for(var o,i,u=0,c=t.length,s=n.length;u<c;){if(r>=s)return-1;if(37===(o=t.charCodeAt(u++))){if(o=t.charAt(u++),!(i=m[o in pads?t.charAt(u++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return B.x=w(n,B),B.X=w(r,B),B.c=w(t,B),C.x=w(n,C),C.X=w(r,C),C.c=w(t,C),{format:function(e){var t=w(e+="",B);return t.toString=function(){return e},t},parse:function(e){var t=E(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",C);return t.toString=function(){return e},t},utcParse:function(e){var t=E(e+="",!0);return t.toString=function(){return e},t}}}utcYear.every=function(e){return isFinite(e=Math.floor(e))&&e>0?newInterval(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var locale,timeFormat,timeParse,utcFormat,utcParse,pads={"-":"",_:" ",0:"0"},numberRe=/^\s*\d+/,percentRe=/^%/,requoteRe=/[\\^$*+?|[\]().{}]/g;function pad(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function requote(e){return e.replace(requoteRe,"\\$&")}function formatRe(e){return new RegExp("^(?:"+e.map(requote).join("|")+")","i")}function formatLookup(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function parseWeekdayNumberSunday(e,t,n){var r=numberRe.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function parseWeekdayNumberMonday(e,t,n){var r=numberRe.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function parseWeekNumberSunday(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function parseWeekNumberISO(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function parseWeekNumberMonday(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function parseFullYear(e,t,n){var r=numberRe.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function parseYear(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function parseZone(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function parseQuarter(e,t,n){var r=numberRe.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function parseMonthNumber(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function parseDayOfMonth(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function parseDayOfYear(e,t,n){var r=numberRe.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function parseHour24(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function parseMinutes(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function parseSeconds(e,t,n){var r=numberRe.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function parseMilliseconds(e,t,n){var r=numberRe.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function parseMicroseconds(e,t,n){var r=numberRe.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function parseLiteralPercent(e,t,n){var r=percentRe.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function parseUnixTimestamp(e,t,n){var r=numberRe.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function parseUnixTimestampSeconds(e,t,n){var r=numberRe.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function formatDayOfMonth(e,t){return pad(e.getDate(),t,2)}function formatHour24(e,t){return pad(e.getHours(),t,2)}function formatHour12(e,t){return pad(e.getHours()%12||12,t,2)}function formatDayOfYear(e,t){return pad(1+day.count(year(e),e),t,3)}function formatMilliseconds(e,t){return pad(e.getMilliseconds(),t,3)}function formatMicroseconds(e,t){return formatMilliseconds(e,t)+"000"}function formatMonthNumber(e,t){return pad(e.getMonth()+1,t,2)}function formatMinutes(e,t){return pad(e.getMinutes(),t,2)}function formatSeconds(e,t){return pad(e.getSeconds(),t,2)}function formatWeekdayNumberMonday(e){var t=e.getDay();return 0===t?7:t}function formatWeekNumberSunday(e,t){return pad(sunday.count(year(e)-1,e),t,2)}function dISO(e){var t=e.getDay();return t>=4||0===t?thursday(e):thursday.ceil(e)}function formatWeekNumberISO(e,t){return e=dISO(e),pad(thursday.count(year(e),e)+(4===year(e).getDay()),t,2)}function formatWeekdayNumberSunday(e){return e.getDay()}function formatWeekNumberMonday(e,t){return pad(monday.count(year(e)-1,e),t,2)}function formatYear(e,t){return pad(e.getFullYear()%100,t,2)}function formatYearISO(e,t){return pad((e=dISO(e)).getFullYear()%100,t,2)}function formatFullYear(e,t){return pad(e.getFullYear()%1e4,t,4)}function formatFullYearISO(e,t){var n=e.getDay();return pad((e=n>=4||0===n?thursday(e):thursday.ceil(e)).getFullYear()%1e4,t,4)}function formatZone(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+pad(t/60|0,"0",2)+pad(t%60,"0",2)}function formatUTCDayOfMonth(e,t){return pad(e.getUTCDate(),t,2)}function formatUTCHour24(e,t){return pad(e.getUTCHours(),t,2)}function formatUTCHour12(e,t){return pad(e.getUTCHours()%12||12,t,2)}function formatUTCDayOfYear(e,t){return pad(1+utcDay.count(utcYear(e),e),t,3)}function formatUTCMilliseconds(e,t){return pad(e.getUTCMilliseconds(),t,3)}function formatUTCMicroseconds(e,t){return formatUTCMilliseconds(e,t)+"000"}function formatUTCMonthNumber(e,t){return pad(e.getUTCMonth()+1,t,2)}function formatUTCMinutes(e,t){return pad(e.getUTCMinutes(),t,2)}function formatUTCSeconds(e,t){return pad(e.getUTCSeconds(),t,2)}function formatUTCWeekdayNumberMonday(e){var t=e.getUTCDay();return 0===t?7:t}function formatUTCWeekNumberSunday(e,t){return pad(utcSunday.count(utcYear(e)-1,e),t,2)}function UTCdISO(e){var t=e.getUTCDay();return t>=4||0===t?utcThursday(e):utcThursday.ceil(e)}function formatUTCWeekNumberISO(e,t){return e=UTCdISO(e),pad(utcThursday.count(utcYear(e),e)+(4===utcYear(e).getUTCDay()),t,2)}function formatUTCWeekdayNumberSunday(e){return e.getUTCDay()}function formatUTCWeekNumberMonday(e,t){return pad(utcMonday.count(utcYear(e)-1,e),t,2)}function formatUTCYear(e,t){return pad(e.getUTCFullYear()%100,t,2)}function formatUTCYearISO(e,t){return pad((e=UTCdISO(e)).getUTCFullYear()%100,t,2)}function formatUTCFullYear(e,t){return pad(e.getUTCFullYear()%1e4,t,4)}function formatUTCFullYearISO(e,t){var n=e.getUTCDay();return pad((e=n>=4||0===n?utcThursday(e):utcThursday.ceil(e)).getUTCFullYear()%1e4,t,4)}function formatUTCZone(){return"+0000"}function formatLiteralPercent(){return"%"}function formatUnixTimestamp(e){return+e}function formatUnixTimestampSeconds(e){return Math.floor(+e/1e3)}function defaultLocale(e){return locale=formatLocale(e),timeFormat=locale.format,timeParse=locale.parse,utcFormat=locale.utcFormat,utcParse=locale.utcParse,locale}defaultLocale({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var ECLGraph=function(e){function t(t,n,r){var o=e.call(this)||this;o.wu=t;for(var i=0,u=0,c=r;u<c.length;u++){var s=c[u];if(s.GraphName===n.Name&&!s.HasSubGraphId){i=Math.round(1e3*s.Seconds)/1e3;break}}return o.set(__assign({Time:i},n)),o}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Label",{get:function(){return this.get("Label")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Type",{get:function(){return this.get("Type")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Complete",{get:function(){return this.get("Complete")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WhenStarted",{get:function(){return this.get("WhenStarted")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WhenFinished",{get:function(){return this.get("WhenFinished")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Time",{get:function(){return this.get("Time")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Running",{get:function(){return this.get("Running")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RunningId",{get:function(){return this.get("RunningId")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Failed",{get:function(){return this.get("Failed")},enumerable:!1,configurable:!0}),t.prototype.fetchScopeGraph=function(e){return e?this.wu.fetchGraphDetails([e],["subgraph"]).then(function(e){return createGraph(e)}):this.wu.fetchGraphDetails([this.Name],["graph"]).then(function(e){return createGraph(e)})},t}(util.StateObject),GraphCache=function(e){function t(){return e.call(this,function(e){return util.Cache.hash([e.Name])})||this}return __extends(t,e),t}(util.Cache);function walkXmlJson(e,t,n){(n=n||[]).push(e),t(e.name,e.$,e.children(),n),e.children().forEach(function(e){walkXmlJson(e,t,n)}),n.pop()}function flattenAtt(e){var t={};return e.forEach(function(e){"att"===e.name&&(t[e.$.name]=e.$.value)}),t}var XGMMLGraph=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Graph),XGMMLSubgraph=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Subgraph),XGMMLVertex=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Vertex),XGMMLEdge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Edge);function createXGMMLGraph(e,t){var n={},r={},o={},i=new XGMMLGraph(function(e){return e._.id}),u=[i.root];return walkXmlJson(t,function(e,t,i,c){var s=u[u.length-1];switch(e){case"graph":break;case"node":if(i.length&&i[0].children().length&&"graph"===i[0].children()[0].name){var a=s.createSubgraph(flattenAtt(i));u.push(a),n[t.id]=a}var l=s.createVertex(flattenAtt(i));r[t.id]=l;break;case"edge":var p=s.createEdge(r[t.source],r[t.target],flattenAtt(i));o[t.id]=p}}),i}var ScopeGraph=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Graph),ScopeSubgraph=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Subgraph),ScopeVertex=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Vertex),ScopeEdge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(util.Edge);function createGraph(e){for(var t,n={},r={},o={},i=0,u=e;i<u.length;i++){switch((h=u[i]).ScopeType){case"graph":t=new ScopeGraph(function(e){return e._.Id},h),n[h.ScopeName]=t.root;break;case"subgraph":t||(t=new ScopeGraph(function(e){return e._.Id},h),n[h.ScopeName]=t.root);for(var c=h.parentScope().split(":"),s=n[h.parentScope()];c.length&&!s;)s=n[c.join(":")],c.pop();if(s){var a=s;n[h.ScopeName]=a.createSubgraph(h)}else console.log("Missing SG:Parent ("+h.Id+"): "+h.parentScope());break;case"activity":var l=n[h.parentScope()];l?o[h.ScopeName]=l.createVertex(h):console.log("Missing A:Parent ("+h.Id+"): "+h.parentScope());break;case"edge":r[h.ScopeName]=h;break;case"function":(f=o[h.parentScope()])?f._.children().push(h):console.log("Missing F:Parent ("+h.Id+"): "+h.parentScope())}}for(var p in r){var h,f;if(f=n[(h=r[p]).parentScope()]){var g=f;try{var d=t.vertex(h.attr("IdSource").RawValue),A=t.vertex(h.attr("IdTarget").RawValue);g.createEdge(d,A,h)}catch(e){console.log("Invalid Edge: "+p)}}else console.log("Missing E:Parent ("+h.Id+"): "+h.parentScope())}return t}var Resource=function(e){function t(t,n){var r=e.call(this)||this;r.wu=t;var o=n.split("\\").join("/"),i=o.split("/"),u="res/"+r.wu.Wuid+"/",c="",s="";return 0===o.indexOf(u)&&(c=o.substr(u.length),s=i[i.length-1]),r.set({URL:n,DisplayName:s,DisplayPath:c}),r}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"URL",{get:function(){return this.get("URL")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DisplayName",{get:function(){return this.get("DisplayName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DisplayPath",{get:function(){return this.get("DisplayPath")},enumerable:!1,configurable:!0}),t}(util.StateObject),XSDNode=function(){function e(e){this.e=e}return e.prototype.fix=function(){delete this.e},e}(),XSDXMLNode=function(e){function t(t){var n=e.call(this,t)||this;return n.isSet=!1,n.attrs={},n._children=[],n}return __extends(t,e),t.prototype.append=function(e){this._children.push(e),this.type||(this.type="hpcc:childDataset")},t.prototype.fix=function(){var e;this.name=this.e.$.name,this.type=this.e.$.type;for(var t=this._children.length-1;t>=0;--t){var n=this._children[t];"Row"===n.name&&void 0===n.type&&((e=this._children).push.apply(e,n._children),this._children.splice(t,1))}var r=this.setOfType();r&&(this.type=r,this.isSet=!0,this._children=[])},t.prototype.children=function(){return this._children},t.prototype.isAll=function(e){return"All"===e.name&&void 0===e.type},t.prototype.setOfType=function(){var e=this.children();if(void 0===this.type&&2===e.length){if(this.isAll(e[0]))return e[1].type;if(this.isAll(e[1]))return e[0].type}},t.prototype.charWidth=function(){var e=-1;switch(this.type){case"xs:boolean":e=5;break;case"xs:integer":case"xs:nonNegativeInteger":case"xs:double":e=8;break;case"xs:string":e=32;break;default:for(var t=this.type.lastIndexOf("_"),n=t>0?t:this.type.length,r=n-1;r>=0&&-1!=="0123456789".indexOf(this.type.charAt(r));--r);r+1<n&&(e=parseInt(this.type.substring(r+1,n),10)),0===this.type.indexOf("data")&&(e*=2)}return e<this.name.length&&(e=this.name.length),e},t}(XSDNode),XSDSimpleType=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.append=function(e){switch(e.name){case"xs:restriction":this._restricition=e;break;case"xs:maxLength":this._maxLength=e}},t.prototype.fix=function(){this.name=this.e.$.name,this.type=this._restricition.$.base,this.maxLength=this._maxLength?+this._maxLength.$.value:void 0,delete this._restricition,delete this._maxLength,e.prototype.fix.call(this)},t}(XSDNode),XSDSchema=function(){function e(){this.simpleTypes={}}return e.prototype.fields=function(){return this.root.children()},e}(),XSDParser=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.schema=new XSDSchema,t.simpleTypes={},t.xsdStack=new util.Stack,t}return __extends(t,e),t.prototype.startXMLNode=function(t){switch(e.prototype.startXMLNode.call(this,t),t.name){case"xs:element":var n=new XSDXMLNode(t);this.schema.root?this.xsdStack.depth()&&this.xsdStack.top().append(n):this.schema.root=n,this.xsdStack.push(n);break;case"xs:simpleType":this.simpleType=new XSDSimpleType(t)}},t.prototype.endXMLNode=function(t){switch(t.name){case"xs:element":this.xsdStack.pop().fix();break;case"xs:simpleType":this.simpleType.fix(),this.simpleTypes[this.simpleType.name]=this.simpleType,delete this.simpleType;break;case"xs:appinfo":var n=this.xsdStack.top();for(var r in t.$)n.attrs[r]=t.$[r];break;default:this.simpleType&&this.simpleType.append(t)}e.prototype.endXMLNode.call(this,t)},t}(util.SAXStackParser);function parseXSD(e){var t=new XSDParser;return t.parse(e),t.schema}var XSDParser2=function(e){function t(t){var n=e.call(this)||this;return n.schema=new XSDSchema,n.simpleTypes={},n.xsdStack=new util.Stack,n._rootName=t,n}return __extends(t,e),t.prototype.startXMLNode=function(t){switch(e.prototype.startXMLNode.call(this,t),t.name){case"xsd:element":var n=new XSDXMLNode(t);this.schema.root||this._rootName!==t.$.name||(this.schema.root=n),this.xsdStack.depth()&&this.xsdStack.top().append(n),this.xsdStack.push(n);break;case"xsd:simpleType":this.simpleType=new XSDSimpleType(t)}},t.prototype.endXMLNode=function(t){switch(t.name){case"xsd:element":this.xsdStack.pop().fix()}e.prototype.endXMLNode.call(this,t)},t}(XSDParser);function parseXSD2(e,t){var n=new XSDParser2(t);return n.parse(e),n.schema}var _activity,GlobalResultCache=function(e){function t(){return e.call(this,function(e){return e.BaseUrl+"-"+e.Wuid+"-"+e.ResultName})||this}return __extends(t,e),t}(util.Cache),_results=new GlobalResultCache,Result=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.connection=t instanceof WorkunitsService?t:new WorkunitsService(t),"boolean"==typeof o&&!0===o?i.set({NodeGroup:n,LogicalFileName:r}):isECLResult(r)&&Array.isArray(o)?i.set(__assign(__assign({},r),{Wuid:n,ResultName:r.Name,ResultViews:o})):void 0===o?"number"==typeof r?i.set({Wuid:n,ResultSequence:r}):"string"==typeof r?i.set({Wuid:n,ResultName:r}):console.warn("Unknown Result.attach (1)"):console.warn("Unknown Result.attach (2)"),i}return __extends(t,e),Object.defineProperty(t.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Wuid",{get:function(){return this.get("Wuid")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultName",{get:function(){return this.get("ResultName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultSequence",{get:function(){return this.get("ResultSequence")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LogicalFileName",{get:function(){return this.get("LogicalFileName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Sequence",{get:function(){return this.get("Sequence")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Value",{get:function(){return this.get("Value")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Link",{get:function(){return this.get("Link")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FileName",{get:function(){return this.get("FileName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsSupplied",{get:function(){return this.get("IsSupplied")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ShowFileContent",{get:function(){return this.get("ShowFileContent")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Total",{get:function(){return this.get("Total")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ECLSchemas",{get:function(){return this.get("ECLSchemas")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"NodeGroup",{get:function(){return this.get("NodeGroup")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultViews",{get:function(){return this.get("ResultViews")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"XmlSchema",{get:function(){return this.get("XmlSchema")},enumerable:!1,configurable:!0}),t.attach=function(e,n,r,o){var i;return Array.isArray(o)?(i=_results.get({BaseUrl:e.baseUrl,Wuid:n,ResultName:r.Name},function(){return new t(e,n,r,o)})).set(r):void 0===o&&("number"==typeof r?i=_results.get({BaseUrl:e.baseUrl,Wuid:n,ResultName:"Sequence_"+r},function(){return new t(e,n,r)}):"string"==typeof r&&(i=_results.get({BaseUrl:e.baseUrl,Wuid:n,ResultName:r},function(){return new t(e,n,r)}))),i},t.attachLogicalFile=function(e,n,r){return _results.get({BaseUrl:e.baseUrl,Wuid:n,ResultName:r},function(){return new t(e,n,r,!0)})},t.prototype.isComplete=function(){return-1!==this.Total},t.prototype.fetchXMLSchema=function(){var e=this;return this.xsdSchema?Promise.resolve(this.xsdSchema):this.WUResult().then(function(t){return util.exists("Result.XmlSchema.xml",t)?(e.xsdSchema=parseXSD(t.Result.XmlSchema.xml),e.xsdSchema):null})},t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){switch(e.label){case 0:return[4,this.fetchRows(0,1,!0)];case 1:return e.sent(),[2,this]}})})},t.prototype.fetchRows=function(e,t,n,r,o){var i=this;return void 0===e&&(e=0),void 0===t&&(t=-1),void 0===n&&(n=!1),void 0===r&&(r={}),this.WUResult(e,t,!n,r,o).then(function(e){var t=e.Result;return delete e.Result,i.set(__assign({},e)),util.exists("XmlSchema.xml",t)&&(i.xsdSchema=parseXSD(t.XmlSchema.xml)),util.exists("Row",t)?t.Row:i.ResultName&&util.exists(i.ResultName,t)?t[i.ResultName].Row:[]})},t.prototype.rootField=function(){return this.xsdSchema?this.xsdSchema.root:null},t.prototype.fields=function(){return this.xsdSchema?this.xsdSchema.root.children():[]},t.prototype.WUResult=function(e,t,n,r,o){void 0===e&&(e=0),void 0===t&&(t=1),void 0===n&&(n=!1),void 0===r&&(r={});var i={NamedValue:{itemcount:0}};for(var u in r)i.NamedValue[i.NamedValue.itemcount++]={Name:u,Value:r[u]};var c={FilterBy:i};return this.Wuid&&void 0!==this.ResultName?(c.Wuid=this.Wuid,c.ResultName=this.ResultName):this.Wuid&&void 0!==this.ResultSequence?(c.Wuid=this.Wuid,c.Sequence=this.ResultSequence):this.LogicalFileName&&this.NodeGroup?(c.LogicalName=this.LogicalFileName,c.Cluster=this.NodeGroup):this.LogicalFileName&&(c.LogicalName=this.LogicalFileName),c.Start=e,c.Count=t,c.SuppressXmlSchema=n,this.connection.WUResult(c,o).then(function(e){return e})},t}(util.StateObject),ResultCache=function(e){function t(){return e.call(this,function(e){return util.Cache.hash([e.Sequence,e.Name,e.Value,e.FileName])})||this}return __extends(t,e),t}(util.Cache),Attribute=function(e){function t(t,n){var r=e.call(this)||this;return r.scope=t,r.set(n),r}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RawValue",{get:function(){return this.get("RawValue")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Formatted",{get:function(){return this.get("Formatted")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FormattedEnd",{get:function(){return this.get("FormattedEnd")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Measure",{get:function(){return this.get("Measure")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Creator",{get:function(){return this.get("Creator")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CreatorType",{get:function(){return this.get("CreatorType")},enumerable:!1,configurable:!0}),t}(util.StateObject),BaseScope=function(e){function t(t){var n=e.call(this)||this;return n._attributeMap={},n._children=[],n.update(t),n}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ScopeName",{get:function(){return this.get("ScopeName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Id",{get:function(){return this.get("Id")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ScopeType",{get:function(){return this.get("ScopeType")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Properties",{get:function(){return this.get("Properties",{Property:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Notes",{get:function(){return this.get("Notes",{Note:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CAttributes",{get:function(){var e=this,t=[],n={start:null,end:null};return this.Properties.Property.forEach(function(r){"ts"===r.Measure&&r.Name.indexOf("Started")>=0?n.start=r:e.ScopeName&&"ts"===r.Measure&&r.Name.indexOf("Finished")>=0?n.end=r:t.push(new Attribute(e,r))}),n.start&&n.end?(n.start.FormattedEnd=n.end.Formatted,t.push(new Attribute(this,n.start))):n.start?t.push(new Attribute(this,n.start)):n.end&&t.push(new Attribute(this,n.end)),t},enumerable:!1,configurable:!0}),t.prototype.update=function(e){var t=this;for(var n in this.set(e),this.CAttributes.forEach(function(e){t._attributeMap[e.Name]=e}),this.Properties.Property=[],this._attributeMap)this._attributeMap.hasOwnProperty(n)&&this.Properties.Property.push(this._attributeMap[n].properties)},t.prototype.parentScope=function(){var e=this.ScopeName.split(":");return e.pop(),e.join(":")},t.prototype.children=function(e){return arguments.length?(this._children=e,this):this._children},t.prototype.walk=function(e){if(e.start(this))return!0;for(var t=0,n=this.children();t<n.length;t++){if(n[t].walk(e))return!0}return e.end(this)},t.prototype.formattedAttrs=function(){var e={};for(var t in this._attributeMap)e[t]=this._attributeMap[t].Formatted||this._attributeMap[t].RawValue;return e},t.prototype.rawAttrs=function(){var e={};for(var t in this._attributeMap)e[t]=this._attributeMap[t].RawValue;return e},t.prototype.hasAttr=function(e){return void 0!==this._attributeMap[e]},t.prototype.attr=function(e){return this._attributeMap[e]||new Attribute(this,{Creator:"",CreatorType:"",Formatted:"",Measure:"",Name:"",RawValue:""})},t.prototype.attrMeasure=function(e){return this._attributeMap[e].Measure},t.prototype.calcTooltip=function(e){var t="",n=[];t=this.Id,n.push('<tr><td class="key">ID:</td><td class="value">'+this.Id+"</td></tr>"),e&&n.push('<tr><td class="key">Parent ID:</td><td class="value">'+e.Id+"</td></tr>"),n.push('<tr><td class="key">Scope:</td><td class="value">'+this.ScopeName+"</td></tr>");var r=this.formattedAttrs();for(var o in r)"Label"===o?t=r[o]:n.push('<tr><td class="key">'+o+'</td><td class="value">'+r[o]+"</td></tr>");return'<div class="eclwatch_WUGraph_Tooltip" style="max-width:480px">\n <h4 align="center">'+t+"</h4>\n <table>\n "+n.join("")+"\n </table>\n </div>"},t}(util.StateObject),Scope=function(e){function t(t,n){var r=e.call(this,n)||this;return r.wu=t,r}return __extends(t,e),t}(BaseScope),SourceFile=function(e){function t(t,n,r){var o=e.call(this)||this;return o.connection=t instanceof WorkunitsService?t:new WorkunitsService(t),o.set(__assign({Wuid:n},r)),o}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Wuid",{get:function(){return this.get("Wuid")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FileCluster",{get:function(){return this.get("FileCluster")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsSuperFile",{get:function(){return this.get("IsSuperFile")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Subs",{get:function(){return this.get("Subs")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Count",{get:function(){return this.get("Count")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ECLSourceFiles",{get:function(){return this.get("ECLSourceFiles")},enumerable:!1,configurable:!0}),t}(util.StateObject),Timer=function(e){function t(t,n,r){var o=e.call(this)||this;o.connection=t instanceof WorkunitsService?t:new WorkunitsService(t);var i=util.espTime2Seconds(r.Value);return o.set(__assign({Wuid:n,Seconds:Math.round(1e3*i)/1e3,HasSubGraphId:void 0!==r.SubGraphId},r)),o}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Wuid",{get:function(){return this.get("Wuid")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Value",{get:function(){return this.get("Value")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Seconds",{get:function(){return this.get("Seconds")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"GraphName",{get:function(){return this.get("GraphName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SubGraphId",{get:function(){return this.get("SubGraphId")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HasSubGraphId",{get:function(){return this.get("HasSubGraphId")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"count",{get:function(){return this.get("count")},enumerable:!1,configurable:!0}),t}(util.StateObject),formatter=utcFormat("%Y-%m-%dT%H:%M:%S.%LZ"),parser=utcParse("%Y-%m-%dT%H:%M:%S.%LZ"),logger$1=util.scopedLogger("workunit.ts"),WUStateID=exports.WUStateID,WorkunitCache=function(e){function t(){return e.call(this,function(e){return e.BaseUrl+"-"+e.Wuid})||this}return __extends(t,e),t}(util.Cache),_workunits=new WorkunitCache,Workunit=function(e){function t(t,n){var r=e.call(this)||this;return r._debugMode=!1,r._resultCache=new ResultCache,r._graphCache=new GraphCache,r.connection=new WorkunitsService(t),r.topologyConnection=new TopologyService(t),r.clearState(n),r}return __extends(t,e),Object.defineProperty(t.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Wuid",{get:function(){return this.get("Wuid")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Owner",{get:function(){return this.get("Owner","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Cluster",{get:function(){return this.get("Cluster","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Jobname",{get:function(){return this.get("Jobname","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Description",{get:function(){return this.get("Description","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ActionEx",{get:function(){return this.get("ActionEx","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"StateID",{get:function(){return this.get("StateID",exports.WUStateID.Unknown)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"State",{get:function(){return this.get("State")||exports.WUStateID[this.StateID]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Protected",{get:function(){return this.get("Protected",!1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Exceptions",{get:function(){return this.get("Exceptions",{ECLException:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultViews",{get:function(){return this.get("ResultViews",{View:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultCount",{get:function(){return this.get("ResultCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Results",{get:function(){return this.get("Results",{ECLResult:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CResults",{get:function(){var e=this;return this.Results.ECLResult.map(function(t){return e._resultCache.get(t,function(){return Result.attach(e.connection,e.Wuid,t,e.ResultViews.View)})})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SequenceResults",{get:function(){var e={};return this.CResults.forEach(function(t){e[t.Sequence]=t}),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Timers",{get:function(){return this.get("Timers",{ECLTimer:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CTimers",{get:function(){var e=this;return this.Timers.ECLTimer.map(function(t){return new Timer(e.connection,e.Wuid,t)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"GraphCount",{get:function(){return this.get("GraphCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Graphs",{get:function(){return this.get("Graphs",{ECLGraph:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CGraphs",{get:function(){var e=this;return this.Graphs.ECLGraph.map(function(t){return e._graphCache.get(t,function(){return new ECLGraph(e,t,e.CTimers)})})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ThorLogList",{get:function(){return this.get("ThorLogList")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResourceURLCount",{get:function(){return this.get("ResourceURLCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResourceURLs",{get:function(){return this.get("ResourceURLs",{URL:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CResourceURLs",{get:function(){var e=this;return this.ResourceURLs.URL.map(function(t){return new Resource(e,t)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TotalClusterTime",{get:function(){return this.get("TotalClusterTime","")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DateTimeScheduled",{get:function(){return this.get("DateTimeScheduled")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsPausing",{get:function(){return this.get("IsPausing")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ThorLCR",{get:function(){return this.get("ThorLCR")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ApplicationValues",{get:function(){return this.get("ApplicationValues",{ApplicationValue:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HasArchiveQuery",{get:function(){return this.get("HasArchiveQuery")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"StateEx",{get:function(){return this.get("StateEx")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PriorityClass",{get:function(){return this.get("PriorityClass")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PriorityLevel",{get:function(){return this.get("PriorityLevel")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Snapshot",{get:function(){return this.get("Snapshot")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultLimit",{get:function(){return this.get("ResultLimit")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"EventSchedule",{get:function(){return this.get("EventSchedule")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HaveSubGraphTimings",{get:function(){return this.get("HaveSubGraphTimings")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Query",{get:function(){return this.get("Query")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HelpersCount",{get:function(){return this.get("HelpersCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Helpers",{get:function(){return this.get("Helpers",{ECLHelpFile:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DebugValues",{get:function(){return this.get("DebugValues")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AllowedClusters",{get:function(){return this.get("AllowedClusters")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ErrorCount",{get:function(){return this.get("ErrorCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WarningCount",{get:function(){return this.get("WarningCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"InfoCount",{get:function(){return this.get("InfoCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AlertCount",{get:function(){return this.get("AlertCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SourceFileCount",{get:function(){return this.get("SourceFileCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SourceFiles",{get:function(){return this.get("SourceFiles",{ECLSourceFile:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CSourceFiles",{get:function(){var e=this;return this.SourceFiles.ECLSourceFile.map(function(t){return new SourceFile(e.connection,e.Wuid,t)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VariableCount",{get:function(){return this.get("VariableCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Variables",{get:function(){return this.get("Variables",{ECLResult:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TimerCount",{get:function(){return this.get("TimerCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HasDebugValue",{get:function(){return this.get("HasDebugValue")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ApplicationValueCount",{get:function(){return this.get("ApplicationValueCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"XmlParams",{get:function(){return this.get("XmlParams")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AccessFlag",{get:function(){return this.get("AccessFlag")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ClusterFlag",{get:function(){return this.get("ClusterFlag")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultViewCount",{get:function(){return this.get("ResultViewCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DebugValueCount",{get:function(){return this.get("DebugValueCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WorkflowCount",{get:function(){return this.get("WorkflowCount",0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Archived",{get:function(){return this.get("Archived")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RoxieCluster",{get:function(){return this.get("RoxieCluster")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DebugState",{get:function(){return this.get("DebugState",{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Queue",{get:function(){return this.get("Queue")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Active",{get:function(){return this.get("Active")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Action",{get:function(){return this.get("Action")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Scope",{get:function(){return this.get("Scope")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AbortBy",{get:function(){return this.get("AbortBy")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AbortTime",{get:function(){return this.get("AbortTime")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Workflows",{get:function(){return this.get("Workflows")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TimingData",{get:function(){return this.get("TimingData")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HelpersDesc",{get:function(){return this.get("HelpersDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"GraphsDesc",{get:function(){return this.get("GraphsDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SourceFilesDesc",{get:function(){return this.get("SourceFilesDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResultsDesc",{get:function(){return this.get("ResultsDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VariablesDesc",{get:function(){return this.get("VariablesDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TimersDesc",{get:function(){return this.get("TimersDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DebugValuesDesc",{get:function(){return this.get("DebugValuesDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ApplicationValuesDesc",{get:function(){return this.get("ApplicationValuesDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WorkflowsDesc",{get:function(){return this.get("WorkflowsDesc")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ServiceNames",{get:function(){return this.get("ServiceNames")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ExecuteCost",{get:function(){return this.get("ExecuteCost")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FileAccessCost",{get:function(){return this.get("FileAccessCost")},enumerable:!1,configurable:!0}),t.create=function(e){var n=new t(e);return n.connection.WUCreate().then(function(e){return _workunits.set(n),n.set(e.Workunit),n})},t.attach=function(e,n,r){var o=_workunits.get({BaseUrl:e.baseUrl,Wuid:n},function(){return new t(e,n)});return r&&o.set(r),o},t.existsLocal=function(e,t){return _workunits.has({BaseUrl:e,Wuid:t})},t.submit=function(e,n,r,o){return void 0===o&&(o=!1),t.create(e).then(function(e){return e.update({QueryText:r})}).then(function(e){return o?e.submit(n,exports.WUUpdate.Action.Compile):e.submit(n)})},t.compile=function(e,n,r){return t.submit(e,n,r,!0)},t.query=function(e,n){return new WorkunitsService(e).WUQuery(n).then(function(n){return n.Workunits.ECLWorkunit.map(function(n){return t.attach(e,n.Wuid,n)})})},t.prototype.clearState=function(e){this.clear({Wuid:e,StateID:WUStateID.Unknown})},t.prototype.update=function(e){var t=this;return this.connection.WUUpdate(__assign(__assign({},e),{Wuid:this.Wuid,StateOrig:this.State,JobnameOrig:this.Jobname,DescriptionOrig:this.Description,ProtectedOrig:this.Protected,ClusterOrig:this.Cluster})).then(function(e){return t.set(e.Workunit),t})},t.prototype.submit=function(e,t,n){var r,o=this;return void 0===t&&(t=exports.WUUpdate.Action.Run),r=void 0!==e?Promise.resolve(e):this.topologyConnection.DefaultTpLogicalClusterQuery().then(function(e){return e.Name}),this._debugMode=!1,t===exports.WUUpdate.Action.Debug&&(t=exports.WUUpdate.Action.Run,this._debugMode=!0),r.then(function(e){return o.connection.WUUpdate({Wuid:o.Wuid,Action:t,ResultLimit:n,DebugValues:{DebugValue:[{Name:"Debug",Value:o._debugMode?"1":""}]}}).then(function(n){return o.set(n.Workunit),o._submitAction=t,o.connection.WUSubmit({Wuid:o.Wuid,Cluster:e})})}).then(function(){return o})},t.prototype.isComplete=function(){switch(this.StateID){case WUStateID.Compiled:return"compile"===this.ActionEx||this._submitAction===exports.WUUpdate.Action.Compile;case WUStateID.Completed:case WUStateID.Failed:case WUStateID.Aborted:case WUStateID.NotFound:return!0}return!1},t.prototype.isFailed=function(){switch(this.StateID){case WUStateID.Aborted:case WUStateID.Failed:return!0}return!1},t.prototype.isDeleted=function(){switch(this.StateID){case WUStateID.NotFound:return!0}return!1},t.prototype.isDebugging=function(){switch(this.StateID){case WUStateID.DebugPaused:case WUStateID.DebugRunning:return!0}return this._debugMode},t.prototype.isRunning=function(){switch(this.StateID){case WUStateID.Compiled:case WUStateID.Running:case WUStateID.Aborting:case WUStateID.Blocked:case WUStateID.DebugPaused:case WUStateID.DebugRunning:return!0}return!1},t.prototype.setToFailed=function(){return this.WUAction("SetToFailed")},t.prototype.pause=function(){return this.WUAction("Pause")},t.prototype.pauseNow=function(){return this.WUAction("PauseNow")},t.prototype.resume=function(){return this.WUAction("Resume")},t.prototype.abort=function(){return this.WUAction("Abort")},t.prototype.delete=function(){return this.WUAction("Delete")},t.prototype.restore=function(){return this.WUAction("Restore")},t.prototype.deschedule=function(){return this.WUAction("Deschedule")},t.prototype.reschedule=function(){return this.WUAction("Reschedule")},t.prototype.resubmit=function(){var e=this;return this.WUResubmit({CloneWorkunit:!1,ResetWorkflow:!1}).then(function(){return e.clearState(e.Wuid),e.refresh().then(function(){return e._monitor(),e})})},t.prototype.clone=function(){var e=this;return this.WUResubmit({CloneWorkunit:!0,ResetWorkflow:!1}).then(function(n){return t.attach(e.connection.opts(),n.WUs.WU[0].WUID).refresh()})},t.prototype.refreshState=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){switch(e.label){case 0:return[4,this.WUQuery()];case 1:return e.sent(),[2,this]}})})},t.prototype.refreshInfo=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){switch(e.label){case 0:return[4,this.WUInfo()];case 1:return e.sent(),[2,this]}})})},t.prototype.refreshDebug=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){switch(e.label){case 0:return[4,this.debugStatus()];case 1:return e.sent(),[2,this]}})})},t.prototype.refresh=function(e){return void 0===e&&(e=!1),__awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:return e?[4,Promise.all([this.refreshInfo(),this.refreshDebug()])]:[3,2];case 1:return t.sent(),[3,4];case 2:return[4,this.refreshState()];case 3:t.sent(),t.label=4;case 4:return[2,this]}})})},t.prototype.eclExceptions=function(){return this.Exceptions.ECLException},t.prototype.fetchArchive=function(){return this.connection.WUFile({Wuid:this.Wuid,Type:"ArchiveQuery"})},t.prototype.fetchECLExceptions=function(){var e=this;return this.WUInfo({IncludeExceptions:!0}).then(function(){return e.eclExceptions()})},t.prototype.fetchResults=function(){var e=this;return this.WUInfo({IncludeResults:!0}).then(function(){return e.CResults})},t.prototype.fetchGraphs=function(){var e=this;return this.WUInfo({IncludeGraphs:!0}).then(function(){return e.CGraphs})},t.prototype.fetchQuery=function(){var e=this;return this.WUInfo({IncludeECL:!0,TruncateEclTo64k:!1}).then(function(){return e.Query})},t.prototype.fetchHelpers=function(){var e=this;return this.WUInfo({IncludeHelpers:!0}).then(function(){var t;return(null===(t=e.Helpers)||void 0===t?void 0:t.ECLHelpFile)||[]})},t.prototype.fetchAllowedClusters=function(){var e=this;return this.WUInfo({IncludeAllowedClusters:!0}).then(function(){var t;return(null===(t=e.AllowedClusters)||void 0===t?void 0:t.AllowedCluster)||[]})},t.prototype.fetchTotalClusterTime=function(){var e=this;return this.WUInfo({IncludeTotalClusterTime:!0}).then(function(){return e.TotalClusterTime})},t.prototype.fetchServiceNames=function(){var e=this;return this.WUInfo({IncludeServiceNames:!0}).then(function(){var t;return null===(t=e.ServiceNames)||void 0===t?void 0:t.Item})},t.prototype.fetchDetailsMeta=function(e){return void 0===e&&(e={}),this.WUDetailsMeta(e)},t.prototype.fetchDetailsRaw=function(e){return void 0===e&&(e={}),this.WUDetails(e).then(function(e){return e.Scopes.Scope})},t.prototype.fetchDetailsNormalized=function(e){return void 0===e&&(e={}),Promise.all([this.fetchDetailsMeta(),this.fetchDetailsRaw(e)]).then(function(e){for(var t,n=e[0],r={id:{Measure:"label"},name:{Measure:"label"},type:{Measure:"label"}},o=[],i=0,u=e[1];i<u.length;i++){var c=u[i],s={},a={};if(c&&c.Id&&c.Properties&&c.Properties.Property){for(var l in c.Properties.Property){var p=c.Properties.Property[l];switch("ns"===p.Measure&&(p.Measure="s"),r[p.Name]=__assign({},p),delete r[p.Name].RawValue,delete r[p.Name].Formatted,p.Measure){case"bool":s[p.Name]=!!+p.RawValue;break;case"sz":s[p.Name]=+p.RawValue;break;case"s":s[p.Name]=+p.RawValue/1e9;break;case"ns":s[p.Name]=+p.RawValue;break;case"ts":s[p.Name]=new Date(+p.RawValue/1e3).toISOString();break;case"cnt":s[p.Name]=+p.RawValue;break;case"cpu":case"skw":case"node":case"ppm":case"ip":case"cy":case"en":case"txt":case"id":case"fname":default:s[p.Name]=p.RawValue}a[p.Name]=null!==(t=p.Formatted)&&void 0!==t?t:s[p.Name]}o.push(__assign({id:c.Id,name:c.ScopeName,type:c.ScopeType,__formattedProps:a},s))}}return{meta:n,columns:r,data:o}})},t.prototype.fetchInfo=function(e){return void 0===e&&(e={}),this.WUInfo(e)},t.prototype.fetchDetails=function(e){var t=this;return void 0===e&&(e={}),this.WUDetails(e).then(function(e){return e.Scopes.Scope.map(function(e){return new Scope(t,e)})})},t.prototype.fetchDetailsHierarchy=function(e){var t=this;return void 0===e&&(e={}),this.WUDetails(e).then(function(e){var n=[],r={};for(var o in e.Scopes.Scope.forEach(function(e){if(r[e.ScopeName])return r[e.ScopeName].update(e),null;var n=new Scope(t,e);return r[n.ScopeName]=n,n}),r)if(r.hasOwnProperty(o)){var i=r[o],u=i.parentScope();u&&r[u]?r[u].children().push(i):n.push(i)}return n})},t.prototype.fetchGraphDetails=function(e,t){return void 0===e&&(e=[]),this.fetchDetails({ScopeFilter:{MaxDepth:999999,Ids:e,ScopeTypes:t},NestedFilter:{Depth:999999,ScopeTypes:["graph","subgraph","activity","edge","function"]},PropertiesToReturn:{AllStatistics:!0,AllAttributes:!0,AllHints:!0,AllProperties:!0,AllScopes:!0},ScopeOptions:{IncludeId:!0,IncludeScope:!0,IncludeScopeType:!0},PropertyOptions:{IncludeName:!0,IncludeRawValue:!0,IncludeFormatted:!0,IncludeMeasure:!0,IncludeCreator:!1,IncludeCreatorType:!1}})},t.prototype.fetchScopeGraphs=function(e){return void 0===e&&(e=[]),this.fetchGraphDetails(e,["graph"]).then(function(e){return createGraph(e)})},t.prototype.fetchTimeElapsed=function(){return this.fetchDetails({ScopeFilter:{PropertyFilters:{PropertyFilter:[{Name:"TimeElapsed"}]}}}).then(function(e){var t={};e.forEach(function(e){t[e.ScopeName]=t[e.ScopeName]||{scope:e.ScopeName,start:null,elapsed:null,finish:null},e.CAttributes.forEach(function(n){"TimeElapsed"===n.Name?t[e.ScopeName].elapsed=+n.RawValue:"ts"===n.Measure&&n.Name.indexOf("Started")>=0&&(t[e.ScopeName].start=n.Formatted)})});var n=[];for(var r in t){var o=t[r];if(o.start&&o.elapsed){var i=parser(o.start);i.setMilliseconds(i.getMilliseconds()+o.elapsed/1e6),o.finish=formatter(i),n.push(o)}}return n.sort(function(e,t){return e.start<t.start?-1:e.start>t.start?1:0}),n})},t.prototype._monitor=function(){this.isComplete()?this._monitorTickCount=0:e.prototype._monitor.call(this)},t.prototype._monitorTimeoutDuraction=function(){var t=e.prototype._monitorTimeoutDuraction.call(this);return this._monitorTickCount<=1?1e3:this._monitorTickCount<=3?3e3:this._monitorTickCount<=5?5e3:this._monitorTickCount<=7?1e4:t},t.prototype.on=function(t,n,r){var o=this;if(this.isCallback(n))switch(t){case"completed":e.prototype.on.call(this,"propChanged","StateID",function(e){o.isComplete()&&n([e])});break;case"changed":e.prototype.on.call(this,t,n)}else switch(t){case"changed":e.prototype.on.call(this,t,n,r)}return this._monitor(),this},t.prototype.watchUntilComplete=function(e){var t=this;return new Promise(function(n,r){var o=t.watch(function(r){e&&e(r),t.isComplete()&&(o.release(),n(t))})})},t.prototype.watchUntilRunning=function(e){var t=this;return new Promise(function(n,r){var o=t.watch(function(r){e&&e(r),(t.isComplete()||t.isRunning())&&(o.release(),n(t))})})},t.prototype.WUQuery=function(e){var t=this;return void 0===e&&(e={}),this.connection.WUQuery(__assign(__assign({},e),{Wuid:this.Wuid})).then(function(e){return t.set(e.Workunits.ECLWorkunit[0]),e}).catch(function(e){if(!e.Exception.some(function(e){return 20081===e.Code&&(t.clearState(t.Wuid),t.set("StateID",WUStateID.NotFound),!0)}))throw logger$1.warning("Unexpected exception: "),e;return{}})},t.prototype.WUCreate=function(){var e=this;return this.connection.WUCreate().then(function(t){return e.set(t.Workunit),_workunits.set(e),t})},t.prototype.WUInfo=function(e){var t=this;void 0===e&&(e={});var n=e.IncludeResults||e.IncludeResultsViewNames;return this.connection.WUInfo(__assign(__assign({},e),{Wuid:this.Wuid,IncludeResults:n,IncludeResultsViewNames:n,SuppressResultSchemas:!1})).then(function(e){return t.set(e.Workunit),n&&t.set({ResultViews:e.ResultViews}),e}).catch(function(e){if(!e.Exception.some(function(e){return 20080===e.Code&&(t.clearState(t.Wuid),t.set("StateID",WUStateID.NotFound),!0)}))throw logger$1.warning("Unexpected exception: "),e;return{}})},t.prototype.WUResubmit=function(e){return this.connection.WUResubmit(util.deepMixinT({},e,{Wuids:[this.Wuid]}))},t.prototype.WUDetailsMeta=function(e){return this.connection.WUDetailsMeta(e)},t.prototype.WUDetails=function(e){return this.connection.WUDetails(util.deepMixinT({ScopeFilter:{MaxDepth:9999},ScopeOptions:{IncludeMatchedScopesInResults:!0,IncludeScope:!0,IncludeId:!1,IncludeScopeType:!1},PropertyOptions:{IncludeName:!0,IncludeRawValue:!1,IncludeFormatted:!0,IncludeMeasure:!0,IncludeCreator:!1,IncludeCreatorType:!1}},e,{WUID:this.Wuid})).then(function(e){return util.deepMixinT({Scopes:{Scope:[]}},e)})},t.prototype.WUAction=function(e){var t=this;return this.connection.WUAction({Wuids:[this.Wuid],WUActionType:e}).then(function(e){return t.refresh().then(function(){return t._monitor(),e})})},t.prototype.publish=function(e){return this.connection.WUPublishWorkunit({Wuid:this.Wuid,Cluster:this.Cluster,JobName:e||this.Jobname,AllowForeignFiles:!0,Activate:!0,Wait:5e3})},t.prototype.WUCDebug=function(e,t){void 0===t&&(t={});var n="";for(var r in t)t.hasOwnProperty(r)&&(n+=" "+r+"='"+t[r]+"'");return this.connection.WUCDebug({Wuid:this.Wuid,Command:"<debug:"+e+" uid='"+this.Wuid+"'"+n+"/>"}).then(function(e){return e})},t.prototype.debug=function(e,t){return this.isDebugging()?this.WUCDebug(e,t).then(function(t){var n=t.children(e);return n.length?n[0]:new util.XMLNode(e)}).catch(function(t){return logger$1.error(t),Promise.resolve(new util.XMLNode(e))}):Promise.resolve(new util.XMLNode(e))},t.prototype.debugStatus=function(){var e=this;return this.isDebugging()?this.debug("status").then(function(t){var n=__assign(__assign({},e.DebugState),t.$);return e.set({DebugState:n}),t}):Promise.resolve({DebugState:{state:"unknown"}})},t.prototype.debugContinue=function(e){return void 0===e&&(e=""),this.debug("continue",{mode:e})},t.prototype.debugStep=function(e){return this.debug("step",{mode:e})},t.prototype.debugPause=function(){return this.debug("interrupt")},t.prototype.debugQuit=function(){return this.debug("quit")},t.prototype.debugDeleteAllBreakpoints=function(){return this.debug("delete",{idx:0})},t.prototype.debugBreakpointResponseParser=function(e){return e.children().map(function(e){if("break"===e.name)return e.$})},t.prototype.debugBreakpointAdd=function(e,t,n){var r=this;return this.debug("breakpoint",{id:e,mode:t,action:n}).then(function(e){return r.debugBreakpointResponseParser(e)})},t.prototype.debugBreakpointList=function(){var e=this;return this.debug("list").then(function(t){return e.debugBreakpointResponseParser(t)})},t.prototype.debugGraph=function(){var e=this;return this._debugAllGraph&&this.DebugState._prevGraphSequenceNum===this.DebugState.graphSequenceNum?Promise.resolve(this._debugAllGraph):this.debug("graph",{name:"all"}).then(function(t){return e.DebugState._prevGraphSequenceNum=e.DebugState.graphSequenceNum,e._debugAllGraph=createXGMMLGraph(e.Wuid,t),e._debugAllGraph})},t.prototype.debugBreakpointValid=function(e){return this.debugGraph().then(function(t){return breakpointLocations(t,e)})},t.prototype.debugPrint=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=10),this.debug("print",{edgeID:e,startRow:t,numRows:n}).then(function(e){return e.children().map(function(e){var t={};return e.children().forEach(function(e){t[e.name]=e.content}),t})})},t}(util.StateObject),ATTR_DEFINITION="definition";function hasECLDefinition(e){return void 0!==e._[ATTR_DEFINITION]}function getECLDefinition(e){var t=/([a-z]:\\(?:[-\w\.\d]+\\)*(?:[-\w\.\d]+)?|(?:\/[\w\.\-]+)+)\((\d*),(\d*)\)/.exec(e._[ATTR_DEFINITION]);if(t){var n=t[1],r=t[2],o=t[3];return n.replace(/\/\.\//g,"/"),{id:e._.id,file:n,line:+r,column:+o}}throw new Error("Bad definition: "+e._[ATTR_DEFINITION])}function breakpointLocations(e,t){for(var n=[],r=0,o=e.vertices;r<o.length;r++){var i=o[r];if(hasECLDefinition(i)){var u=getECLDefinition(i);(u&&!t||t===u.file)&&n.push(u)}}return n.sort(function(e,t){return e.line-t.line})}var Activity=function(e){function t(t){var n=e.call(this)||this;return n.lazyRefresh=util.debounce(function(){return __awaiter(n,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return[4,this.connection.Activity({})];case 1:return e=t.sent(),this.set(e),[2,this]}})})}),n.connection=t instanceof SMCService?t:new SMCService(t),n.clear({}),n}return __extends(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Exceptions",{get:function(){return this.get("Exceptions")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Build",{get:function(){return this.get("Build")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ThorClusterList",{get:function(){return this.get("ThorClusterList")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RoxieClusterList",{get:function(){return this.get("RoxieClusterList")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HThorClusterList",{get:function(){return this.get("HThorClusterList")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DFUJobs",{get:function(){return this.get("DFUJobs")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Running",{get:function(){return this.get("Running",{ActiveWorkunit:[]})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BannerContent",{get:function(){return this.get("BannerContent")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BannerColor",{get:function(){return this.get("BannerColor")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BannerSize",{get:function(){return this.get("BannerSize")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BannerScroll",{get:function(){return this.get("BannerScroll")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ChatURL",{get:function(){return this.get("ChatURL")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ShowBanner",{get:function(){return this.get("ShowBanner")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ShowChatURL",{get:function(){return this.get("ShowChatURL")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SortBy",{get:function(){return this.get("SortBy")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Descending",{get:function(){return this.get("Descending")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SuperUser",{get:function(){return this.get("SuperUser")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AccessRight",{get:function(){return this.get("AccessRight")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ServerJobQueues",{get:function(){return this.get("ServerJobQueues")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ActivityTime",{get:function(){return this.get("ActivityTime")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DaliDetached",{get:function(){return this.get("DaliDetached")},enumerable:!1,configurable:!0}),t.attach=function(e,n){return _activity||(_activity=new t(e)),n&&_activity.set(__assign({},n)),_activity},t.prototype.runningWorkunits=function(e){var t=this;return void 0===e&&(e=""),this.Running.ActiveWorkunit.filter(function(t){return""===e||t.ClusterName===e}).map(function(e){return Workunit.attach(t.connection.connectionOptions(),e.Wuid,e)})},t.prototype.setBanner=function(e){var t=this;return this.connection.SetBanner(__assign({},e)).then(function(e){return t.set(e),t})},t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){return[2,this.lazyRefresh()]})})},t}(util.StateObject),LogicalFileCache=function(e){function t(){return e.call(this,function(e){return e.BaseUrl+"-"+e.Cluster+"-"+e.Name})||this}return __extends(t,e),t}(util.Cache),_store=new LogicalFileCache,LogicalFile=function(e){function t(t,n,r){var o=e.call(this)||this;return o.connection=t instanceof DFUService?t:new DFUService(t),o.clear({Cluster:n,Name:r}),o}return __extends(t,e),Object.defineProperty(t.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Cluster",{get:function(){return this.get("Cluster")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Filename",{get:function(){return this.get("Filename")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Prefix",{get:function(){return this.get("Prefix")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"NodeGroup",{get:function(){return this.get("NodeGroup")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"NumParts",{get:function(){return this.get("NumParts")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Description",{get:function(){return this.get("Description")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Dir",{get:function(){return this.get("Dir")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PathMask",{get:function(){return this.get("PathMask")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Filesize",{get:function(){return this.get("Filesize")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FileSizeInt64",{get:function(){return this.get("FileSizeInt64")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RecordSize",{get:function(){return this.get("RecordSize")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RecordCount",{get:function(){return this.get("RecordCount")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RecordSizeInt64",{get:function(){return this.get("RecordSizeInt64")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RecordCountInt64",{get:function(){return this.get("RecordCountInt64")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Wuid",{get:function(){return this.get("Wuid")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Owner",{get:function(){return this.get("Owner")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"JobName",{get:function(){return this.get("JobName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Persistent",{get:function(){return this.get("Persistent")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Format",{get:function(){return this.get("Format")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"MaxRecordSize",{get:function(){return this.get("MaxRecordSize")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CsvSeparate",{get:function(){return this.get("CsvSeparate")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CsvQuote",{get:function(){return this.get("CsvQuote")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CsvTerminate",{get:function(){return this.get("CsvTerminate")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CsvEscape",{get:function(){return this.get("CsvEscape")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Modified",{get:function(){return this.get("Modified")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Ecl",{get:function(){return this.get("Ecl")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Stat",{get:function(){return this.get("Stat")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DFUFilePartsOnClusters",{get:function(){return this.get("DFUFilePartsOnClusters")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSuperfile",{get:function(){return this.get("isSuperfile")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ShowFileContent",{get:function(){return this.get("ShowFileContent")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subfiles",{get:function(){return this.get("subfiles")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Superfiles",{get:function(){return this.get("Superfiles")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ProtectList",{get:function(){return this.get("ProtectList")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FromRoxieCluster",{get:function(){return this.get("FromRoxieCluster")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Graphs",{get:function(){return this.get("Graphs")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"UserPermission",{get:function(){return this.get("UserPermission")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ContentType",{get:function(){return this.get("ContentType")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CompressedFileSize",{get:function(){return this.get("CompressedFileSize")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PercentCompressed",{get:function(){return this.get("PercentCompressed")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsCompressed",{get:function(){return this.get("IsCompressed")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BrowseData",{get:function(){return this.get("BrowseData")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"jsonInfo",{get:function(){return this.get("jsonInfo")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"binInfo",{get:function(){return this.get("binInfo")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PackageID",{get:function(){return this.get("PackageID")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Partition",{get:function(){return this.get("Partition")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Blooms",{get:function(){return this.get("Blooms")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ExpireDays",{get:function(){return this.get("ExpireDays")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"KeyType",{get:function(){return this.get("KeyType")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsRestricted",{get:function(){return this.get("IsRestricted")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Cost",{get:function(){return this.get("Cost")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),t.attach=function(e,n,r){return _store.get({BaseUrl:e.baseUrl,Cluster:n,Name:r},function(){return new t(e,n,r)})},t.prototype.filePartsOnCluster=function(){var e;return __spreadArray([],(null===(e=this.DFUFilePartsOnClusters)||void 0===e?void 0:e.DFUFilePartsOnCluster)||[])},t.prototype.fileParts=function(){for(var e,t,n=[],r=0,o=(null===(e=this.DFUFilePartsOnClusters)||void 0===e?void 0:e.DFUFilePartsOnCluster)||[];r<o.length;r++)for(var i=o[r],u=0,c=(null===(t=null==i?void 0:i.DFUFileParts)||void 0===t?void 0:t.DFUPart)||[];u<c.length;u++){var s=c[u],a=__assign(__assign({},i),s);delete a.DFUFileParts,n.push(a)}return n},t.prototype.update=function(e){var t=this;return this.connection.DFUInfo(__assign(__assign({},e),{Cluster:this.Cluster,Name:this.Name})).then(function(e){return t.set(__assign({Cluster:t.Cluster},e.FileDetail)),e})},t.prototype.fetchInfo=function(){var e=this;return this.connection.DFUInfo({Cluster:this.Cluster,Name:this.Name}).then(function(t){return e.set(__assign({Cluster:e.Cluster},t.FileDetail)),t.FileDetail})},t.prototype.fetchDefFile=function(e){return this.connection.DFUFile({Name:this.Name,Format:e})},t.prototype.fetchListHistory=function(){return this.connection.ListHistory({Name:this.Name}).then(function(e){var t;return(null===(t=null==e?void 0:e.History)||void 0===t?void 0:t.Origin)||[]})},t.prototype.eraseHistory=function(){return this.connection.EraseHistory({Name:this.Name}).then(function(e){var t;return(null===(t=null==e?void 0:e.History)||void 0===t?void 0:t.Origin)||[]})},t}(util.StateObject),MachineCache=function(e){function t(){return e.call(this,function(e){return e.Address})||this}return __extends(t,e),t}(util.Cache),_machines=new MachineCache,Machine=function(e){function t(t){var n=e.call(this)||this;return n.connection=t instanceof MachineService?t:new MachineService(t),n}return __extends(t,e),Object.defineProperty(t.prototype,"Address",{get:function(){return this.get("Address")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ConfigAddress",{get:function(){return this.get("ConfigAddress")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ProcessType",{get:function(){return this.get("ProcessType")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DisplayType",{get:function(){return this.get("DisplayType")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Description",{get:function(){return this.get("Description")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AgentVersion",{get:function(){return this.get("AgentVersion")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Contact",{get:function(){return this.get("Contact")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Location",{get:function(){return this.get("Location")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"UpTime",{get:function(){return this.get("UpTime")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ComponentName",{get:function(){return this.get("ComponentName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ComponentPath",{get:function(){return this.get("ComponentPath")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RoxieState",{get:function(){return this.get("RoxieState")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"RoxieStateDetails",{get:function(){return this.get("RoxieStateDetails")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"OS",{get:function(){return this.get("OS")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ProcessNumber",{get:function(){return this.get("ProcessNumber")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Processors",{get:function(){return this.get("Processors")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Storage",{get:function(){return this.get("Storage")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Running",{get:function(){return this.get("Running")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PhysicalMemory",{get:function(){return this.get("PhysicalMemory")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VirtualMemory",{get:function(){return this.get("VirtualMemory")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ComponentInfo",{get:function(){return this.get("ComponentInfo")},enumerable:!1,configurable:!0}),t.attach=function(e,n,r){var o=_machines.get({Address:n},function(){return new t(e)});return r&&o.set(r),o},t}(util.StateObject),QueryCache=function(e){function t(){return e.call(this,function(e){return util.Cache.hash([e.QueryId,e.QuerySet])})||this}return __extends(t,e),t}(util.Cache),_queries=new QueryCache,Query=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.connection=t instanceof EclService?t:new EclService(t),i._wsWorkunits=new WorkunitsService(t),i.set(__assign({QuerySet:n,QueryId:r},o)),i}return __extends(t,e),Object.defineProperty(t.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Exceptions",{get:function(){return this.get("Exceptions")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"QueryId",{get:function(){return this.get("QueryId")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"QuerySet",{get:function(){return this.get("QuerySet")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"QueryName",{get:function(){return this.get("QueryName")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Wuid",{get:function(){return this.get("Wuid")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Dll",{get:function(){return this.get("Dll")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Suspended",{get:function(){return this.get("Suspended")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Activated",{get:function(){return this.get("Activated")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SuspendedBy",{get:function(){return this.get("SuspendedBy")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Clusters",{get:function(){return this.get("Clusters")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PublishedBy",{get:function(){return this.get("PublishedBy")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Comment",{get:function(){return this.get("Comment")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LogicalFiles",{get:function(){return this.get("LogicalFiles")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SuperFiles",{get:function(){return this.get("SuperFiles")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsLibrary",{get:function(){return this.get("IsLibrary")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Priority",{get:function(){return this.get("Priority")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WUSnapShot",{get:function(){return this.get("WUSnapShot")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CompileTime",{get:function(){return this.get("CompileTime")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LibrariesUsed",{get:function(){return this.get("LibrariesUsed")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CountGraphs",{get:function(){return this.get("CountGraphs")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ResourceURLCount",{get:function(){return this.get("ResourceURLCount")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WsEclAddresses",{get:function(){return this.get("WsEclAddresses")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WUGraphs",{get:function(){return this.get("WUGraphs")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"WUTimers",{get:function(){return this.get("WUTimers")},enumerable:!1,configurable:!0}),t.attach=function(e,n,r){return _queries.get({BaseUrl:e.baseUrl,QuerySet:n,QueryId:r},function(){return new t(e,n,r)})},t.prototype.fetchRequestSchema=function(){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return e=this,[4,this.connection.requestJson(this.QuerySet,this.QueryId)];case 1:return e._requestSchema=t.sent(),[2]}})})},t.prototype.fetchResponseSchema=function(){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return e=this,[4,this.connection.responseJson(this.QuerySet,this.QueryId)];case 1:return e._responseSchema=t.sent(),[2]}})})},t.prototype.fetchSchema=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(e){switch(e.label){case 0:return[4,Promise.all([this.fetchRequestSchema(),this.fetchResponseSchema()])];case 1:return e.sent(),[2]}})})},t.prototype.fetchSummaryStats=function(){return this._wsWorkunits.WUQueryGetSummaryStats({Target:this.QuerySet,QueryId:this.QueryId})},t.prototype.submit=function(e){return this.connection.submit(this.QuerySet,this.QueryId,e).then(function(e){for(var t in e)e[t]=e[t].Row;return e})},t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,function(){var e=this;return __generator(this,function(t){return[2,this.fetchSchema().then(function(t){return e})]})})},t.prototype.requestFields=function(){return this._requestSchema?this._requestSchema:[]},t.prototype.responseFields=function(){return this._responseSchema?this._responseSchema:{}},t.prototype.resultNames=function(){var e=[];for(var t in this.responseFields())e.push(t);return e},t.prototype.resultFields=function(e){return this._responseSchema[e]?this._responseSchema[e]:[]},t}(util.StateObject),StoreCache=function(e){function t(){return e.call(this,function(e){return e.BaseUrl+"-"+e.Name+":"+e.UserSpecific+"-"+e.Namespace})||this}return __extends(t,e),t}(util.Cache),_store$1=new StoreCache,ValueChangedMessage=function(e){function t(t,n,r){var o=e.call(this)||this;return o.key=t,o.value=n,o.oldValue=r,o}return __extends(t,e),Object.defineProperty(t.prototype,"canConflate",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.conflate=function(e){return this.key===e.key&&(this.value=e.value,!0)},t.prototype.void=function(){return this.value===this.oldValue},t}(util.Message),Store=function(){function e(e,t,n,r){this._dispatch=new util.Dispatch,this._knownValues={},this.connection=e instanceof StoreService?e:new StoreService(e),this.Name=t,this.UserSpecific=r,this.Namespace=n}return Object.defineProperty(e.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),e.attach=function(t,n,r,o){return void 0===n&&(n="HPCCApps"),void 0===o&&(o=!0),_store$1.get({BaseUrl:t.baseUrl,Name:n,UserSpecific:o,Namespace:r},function(){return new e(t,n,r,o)})},e.prototype.create=function(){this.connection.CreateStore({Name:this.Name,UserSpecific:this.UserSpecific,Type:"",Description:""})},e.prototype.set=function(e,t,n){var r=this;return void 0===n&&(n=!0),this.connection.Set({StoreName:this.Name,UserSpecific:this.UserSpecific,Namespace:this.Namespace,Key:e,Value:t}).then(function(o){var i=r._knownValues[e];r._knownValues[e]=t,n&&r._dispatch.post(new ValueChangedMessage(e,t,i))}).catch(function(n){console.error('Store.set("'+e+'", "'+t+'") failed:',n)})},e.prototype.get=function(e,t){var n=this;return void 0===t&&(t=!0),this.connection.Fetch({StoreName:this.Name,UserSpecific:this.UserSpecific,Namespace:this.Namespace,Key:e}).then(function(r){var o=n._knownValues[e];return n._knownValues[e]=r.Value,t&&n._dispatch.post(new ValueChangedMessage(e,r.Value,o)),r.Value}).catch(function(t){console.error("Store.get("+e+") failed:",t)})},e.prototype.getAll=function(e){var t=this;return void 0===e&&(e=!0),this.connection.FetchAll({StoreName:this.Name,UserSpecific:this.UserSpecific,Namespace:this.Namespace}).then(function(n){var r={},o=t._knownValues;if(t._knownValues={},n.Pairs.Pair.forEach(function(n){var i=t._knownValues[n.Key];t._knownValues[n.Key]=n.Value,delete o[n.Key],r[n.Key]=n.Value,e&&t._dispatch.post(new ValueChangedMessage(n.Key,n.Value,i))}),e)for(var i in o)t._dispatch.post(new ValueChangedMessage(i,void 0,o[i]));return r}).catch(function(e){return console.error("Store.getAll failed:",e),{}})},e.prototype.delete=function(e,t){var n=this;return void 0===t&&(t=!0),this.connection.Delete({StoreName:this.Name,UserSpecific:this.UserSpecific,Namespace:this.Namespace,Key:e}).then(function(r){var o=n._knownValues[e];delete n._knownValues[e],t&&n._dispatch.post(new ValueChangedMessage(e,void 0,o))}).catch(function(t){console.error("Store.delete("+e+") failed:",t)})},e.prototype.monitor=function(e){return this._dispatch.attach(e)},e}(),TargetClusterCache=function(e){function t(){return e.call(this,function(e){return e.BaseUrl+"-"+e.Name})||this}return __extends(t,e),t}(util.Cache),_targetCluster=new TargetClusterCache,TargetCluster=function(e){function t(t,n){var r=e.call(this)||this;return t instanceof TopologyService?(r.connection=t,r.machineConnection=new MachineService(t.connectionOptions())):(r.connection=new TopologyService(t),r.machineConnection=new MachineService(t)),r.clear({Name:n}),r}return __extends(t,e),Object.defineProperty(t.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Name",{get:function(){return this.get("Name")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Prefix",{get:function(){return this.get("Prefix")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Type",{get:function(){return this.get("Type")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IsDefault",{get:function(){return this.get("IsDefault")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TpClusters",{get:function(){return this.get("TpClusters")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TpEclCCServers",{get:function(){return this.get("TpEclCCServers")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TpEclServers",{get:function(){return this.get("TpEclServers")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TpEclAgents",{get:function(){return this.get("TpEclAgents")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TpEclSchedulers",{get:function(){return this.get("TpEclSchedulers")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"MachineInfoEx",{get:function(){return this.get("MachineInfoEx",[])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CMachineInfoEx",{get:function(){var e=this;return this.MachineInfoEx.map(function(t){return Machine.attach(e.machineConnection,t.Address,t)})},enumerable:!1,configurable:!0}),t.attach=function(e,n,r){var o=_targetCluster.get({BaseUrl:e.baseUrl,Name:n},function(){return new t(e,n)});return r&&o.set(__assign({},r)),o},t.prototype.fetchMachines=function(e){var t=this;return void 0===e&&(e={}),this.machineConnection.GetTargetClusterInfo(__assign({TargetClusters:{Item:[this.Type+":"+this.Name]}},e)).then(function(e){for(var n=[],r=0,o=e.TargetClusterInfoList.TargetClusterInfo;r<o.length;r++)for(var i=0,u=o[r].Processes.MachineInfoEx;i<u.length;i++){var c=u[i];n.push(c)}return t.set("MachineInfoEx",n),t.CMachineInfoEx})},t.prototype.machineStats=function(){for(var e=0,t=0,n=0,r=0,o=this.CMachineInfoEx;r<o.length;r++)for(var i=0,u=o[r].Storage.StorageInfo;i<u.length;i++){var c=u[i];t+=c.Available,n+=c.Total;var s=1-c.Available/c.Total;s>e&&(e=s)}return{maxDisk:e,meanDisk:1-(n?t/n:1)}},t.prototype.fetchUsage=function(){return this.machineConnection.GetTargetClusterUsageEx([this.Name])},t}(util.StateObject);function targetClusters(e){return(e instanceof TopologyService?e:new TopologyService(e)).TpListTargetClusters({}).then(function(t){return t.TargetClusters.TpClusterNameType.map(function(t){return TargetCluster.attach(e,t.Name,t)})})}var _defaultTargetCluster={};function defaultTargetCluster(e){if(!_defaultTargetCluster[e.baseUrl]){var t=void 0;t=e instanceof TopologyService?e:new TopologyService(e),_defaultTargetCluster[e.baseUrl]=t.TpListTargetClusters({}).then(function(t){var n,r,o;t.TargetClusters.TpClusterNameType.forEach(function(e){n||(n=e),r||!0!==e.IsDefault||(r=e),o||"hthor"!==e.Type||(o=e)});var i=r||o||n;return TargetCluster.attach(e,i.Name,i)})}return _defaultTargetCluster[e.baseUrl]}var TopologyCache=function(e){function t(){return e.call(this,function(e){return e.BaseUrl})||this}return __extends(t,e),t}(util.Cache),_topology=new TopologyCache,Topology=function(e){function t(t){var n=e.call(this)||this;return n.connection=t instanceof TopologyService?t:new TopologyService(t),n}return __extends(t,e),Object.defineProperty(t.prototype,"BaseUrl",{get:function(){return this.connection.baseUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TargetClusters",{get:function(){return this.get("TargetClusters")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CTargetClusters",{get:function(){var e=this;return this.TargetClusters.map(function(t){return TargetCluster.attach(e.connection,t.Name,t)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LogicalClusters",{get:function(){return this.get("LogicalClusters")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Services",{get:function(){return this.get("Services")},enumerable:!1,configurable:!0}),t.attach=function(e){return _topology.get({BaseUrl:e.baseUrl},function(){return new t(e)})},t.prototype.GetESPServiceBaseURL=function(e){var t=this;return void 0===e&&(e=""),this.connection.TpServiceQuery({}).then(function(n){var r=t.connection.protocol(),o=t.connection.ip(),i="https:"===r?"18002":"8002";if(util.exists("ServiceList.TpEspServers.TpEspServer",n))for(var u=0,c=n.ServiceList.TpEspServers.TpEspServer;u<c.length;u++){var s=c[u];if(util.exists("TpBindings.TpBinding",s))for(var a=0,l=s.TpBindings.TpBinding;a<l.length;a++){var p=l[a];p.Service===e&&p.Protocol+":"===r&&(i=p.Port)}}return r+"//"+o+":"+i+"/"})},t.prototype.fetchTargetClusters=function(){var e=this;return this.connection.TpTargetClusterQuery({Type:"ROOT"}).then(function(t){var n,r;return e.set({TargetClusters:null!==(r=null===(n=t.TpTargetClusters)||void 0===n?void 0:n.TpTargetCluster)&&void 0!==r?r:[]}),e.CTargetClusters})},t.prototype.fetchLogicalClusters=function(e){var t=this;return void 0===e&&(e={}),this.connection.TpLogicalClusterQuery(e).then(function(e){return t.set({LogicalClusters:e.TpLogicalClusters.TpLogicalCluster}),t.LogicalClusters})},t.prototype.fetchServices=function(e){var t=this;return void 0===e&&(e={}),this.connection.TpServiceQuery(e).then(function(e){return t.set({Services:e.ServiceList}),t.Services})},t.prototype.refresh=function(e){var t=this;return void 0===e&&(e=!1),this._prevRefresh&&!e||(this._prevRefresh=Promise.all([this.fetchTargetClusters(),this.fetchLogicalClusters(),this.fetchServices()]).then(function(){return t})),this._prevRefresh},t.prototype.on=function(t,n,r){if(this.isCallback(n))switch(t){case"changed":e.prototype.on.call(this,t,n)}else switch(t){case"changed":e.prototype.on.call(this,t,n,r)}return this._monitor(),this},t}(util.StateObject),logger$2=util.scopedLogger("clienttools/eclmeta"),Attr=function(){return function(e){this.__attrs=e.$,this.name=e.$.name}}(),Field=function(){function e(e,t){this.__attrs=t.$,this.definition=e,this.name=t.$.name,this.type=t.$.type}return Object.defineProperty(e.prototype,"scope",{get:function(){return this.definition},enumerable:!1,configurable:!0}),e}(),ECLScope=function(){function e(e,t,n,r,o,i,u,c){void 0===o&&(o=1),void 0===i&&(i=0),void 0===u&&(u=0),void 0===c&&(c=Number.MAX_VALUE),this.name=e,this.type=t,this.sourcePath=path.normalize(n),this.line=+o-1,this.start=+i,this.body=+u,this.end=+c,this.definitions=this.parseDefinitions(r)}return Object.defineProperty(e.prototype,"scope",{get:function(){return this},enumerable:!1,configurable:!0}),e.prototype.parseDefinitions=function(e){var t=this;return void 0===e&&(e=[]),e.map(function(e){return new Definition(t.sourcePath,e)})},e.prototype.contains=function(e){return e>=this.start&&e<=this.end},e.prototype.scopeStackAt=function(e){var t=[];return this.contains(e)&&(t.push(this),this.definitions.forEach(function(n){t=n.scopeStackAt(e).concat(t)})),t},e.prototype._resolve=function(e,t){void 0===e&&(e=[]);var n=t.split("."),r=n.shift(),o=util.find(e,function(e){return"string"==typeof e.name&&"string"==typeof r&&e.name.toLowerCase()===r.toLowerCase()});return o&&o.definitions.length&&n.length?this._resolve(o.definitions,n.join(".")):o},e.prototype.resolve=function(e){return this._resolve(this.definitions,e)},e.prototype.suggestions=function(){var e=this;return this.definitions.map(function(t){return{name:t.name,type:e.type}})},e}(),Definition=function(e){function t(t,n){var r=e.call(this,n.$.name,n.$.type,t,n.children("Definition"),n.$.line,n.$.start,n.$.body,n.$.end)||this;return r.__attrs=n.$,r.exported=!!n.$.exported,r.shared=!!n.$.shared,r.fullname=n.$.fullname,r.inherittype=n.$.inherittype,r.attrs=r.parseAttrs(n.children("Attr")),r.fields=r.parseFields(n.children("Field")),r}return __extends(t,e),t.prototype.parseAttrs=function(e){return void 0===e&&(e=[]),e.map(function(e){return new Attr(e)})},t.prototype.parseFields=function(e){var t=this;return void 0===e&&(e=[]),e.map(function(e){return new Field(t,e)})},t.prototype.suggestions=function(){return e.prototype.suggestions.call(this).concat(this.fields.map(function(e){return{name:e.name,type:e.type}}))},t}(ECLScope),Import=function(){return function(e){this.__attrs=e.$,this.name=e.$.name,this.ref=e.$.ref,this.start=e.$.start,this.end=e.$.end,this.line=e.$.line}}(),Source=function(e){function t(t){var n=e.call(this,t.$.name,"source",t.$.sourcePath,t.children("Definition"))||this;n.__attrs=t.$;var r=t.$.name.split(".");r.pop();var o=new util.XMLNode("");return o.appendAttribute("name","$"),o.appendAttribute("ref",r.join(".")),n.imports=__spreadArray([new Import(o)],n.parseImports(t.children("Import"))),n}return __extends(t,e),t.prototype.parseImports=function(e){return void 0===e&&(e=[]),e.map(function(e){return new Import(e)})},t.prototype.resolve=function(t,n){var r;r||void 0===n||this.scopeStackAt(n).some(function(e){return!!(r=e.resolve(t))});return r||(r=e.prototype.resolve.call(this,t)),r},t}(ECLScope),isHiddenDirectory=function(e){return 0===path.basename(e).indexOf(".")},isDirectory=function(e){return fs.lstatSync(e).isDirectory()&&!isHiddenDirectory(e)},isEcl=function(e){return[".ecl",".ecllib"].indexOf(path.extname(e).toLowerCase())>=0},modAttrs=function(e){return fs.readdirSync(e).map(function(t){return path.join(e,t)}).filter(function(e){return isDirectory(e)||isEcl(e)})},File=function(e){function t(t,n){return e.call(this,t,"file",n,[])||this}return __extends(t,e),t.prototype.suggestions=function(){return[]},t}(ECLScope),Folder=function(e){function t(t,n){return e.call(this,t,"folder",n,[])||this}return __extends(t,e),t.prototype.suggestions=function(){return modAttrs(this.sourcePath).map(function(e){return{name:path.basename(e,".ecl"),type:"folder"}})},t}(ECLScope),Workspace=function(){function e(e,t){this._sourceByID=new util.DictionaryNoCase,this._sourceByPath=new util.Dictionary,this._test=new util.DictionaryNoCase,this._workspacePath=e,this._eclccPath=t}return e.prototype.refresh=function(){this.primeWorkspace(),this.primeClientTools()},e.prototype.primeClientTools=function(){var e=this;return locateClientTools(this._eclccPath,"",this._workspacePath).then(function(t){return e._clientTools=t,t.paths()}).then(function(t){for(var n=0,r=["ECLCC_ECLLIBRARY_PATH","ECLCC_PLUGIN_PATH"];n<r.length;n++){var o=r[n];t[o]&&fs.existsSync(t[o])&&e.walkChildFolders(t[o],t[o])}return e})},e.prototype.primeWorkspace=function(){fs.existsSync(this._workspacePath)&&this.visitFolder(this._workspacePath,this._workspacePath)},e.prototype.walkChildFolders=function(e,t,n){void 0===n&&(n=!1);for(var r=0,o=modAttrs(e);r<o.length;r++){var i=o[r];isDirectory(i)?this.visitFolder(i,t,n):this.visitFile(i,t,n)}},e.prototype.visitFile=function(e,t,n){void 0===n&&(n=!1);var r=path.parse(e),o=path.join(r.dir,r.name),i=path.relative(t,o).split(path.sep).join(".");!n&&this._test.has(i)||this._test.set(i,new File("",e))},e.prototype.visitFolder=function(e,t,n){void 0===n&&(n=!1);var r=path.relative(t,e).split(path.sep).join(".");!n&&this._test.has(r)||(this._test.set(r,new Folder(r,e)),this.walkChildFolders(e,t,n))},e.prototype.buildStack=function(e,t,n){var r=t.split(".");n&&e[e.length-1]===r[0]&&r.shift();var o=__spreadArray(__spreadArray([],e),r),i=o.join(".");return{stack:o,qid:i}},e.prototype.walkECLScope=function(e,t){var n=this.buildStack(e,t.name,!0);this._test.set(n.qid,t);for(var r=0,o=t.definitions;r<o.length;r++){var i=o[r];this.walkDefinition(n.stack,i)}},e.prototype.walkField=function(e,t){var n=this.buildStack(e,t.name,!1);this._test.set(n.qid,t)},e.prototype.walkDefinition=function(e,t){var n=this.buildStack(e,t.name,!0);this.walkECLScope(e,t);for(var r=0,o=t.fields;r<o.length;r++){var i=o[r];this.walkField(n.stack,i)}},e.prototype.walkSource=function(e){this.walkECLScope([],e)},e.prototype.parseSources=function(e){void 0===e&&(e=[]);for(var t=0,n=e;t<n.length;t++){var r=n[t];if(r.$.name){var o=new Source(r);if(this._sourceByID.set(o.name,o),this._sourceByPath.set(o.sourcePath,o),o.name){var i=o.name.split(".").length;if(i>1){for(var u=o.sourcePath;i>1;)u=path.dirname(u),--i;this.visitFolder(u,path.dirname(u))}}this.walkSource(o)}}},e.prototype.parseMetaXML=function(e){var t=new MetaParser;return t.parse(e),this.parseSources(t.sources),t.sources.map(function(e){return path.normalize(e.$.sourcePath)})},e.prototype.resolveQualifiedID=function(e,t,n){var r;if(!r&&this._test.has(t)&&(r=this._test.get(t).scope),!r&&this._sourceByPath.has(e)){for(var o=this._sourceByPath.get(e),i=t.split("."),u=0,c=o.imports;u<c.length;u++){var s=c[u];if(s.name.toLowerCase()===i[0].toLowerCase()){s.ref?i[0]=s.ref:i.shift();break}}var a=i.join(".");!r&&this._test.has(a)&&(r=this._test.get(a).scope),r||(a=__spreadArray(__spreadArray([],o.name.split(".")),i).join("."),this._test.has(a)&&(r=this._test.get(a).scope))}return r},e.prototype.resolvePartialID=function(e,t,n){var r=(t=t.toLowerCase()).split(".");r.pop();var o=1===r.length?r[0]:r.join(".");return this.resolveQualifiedID(e,o,n)},e}(),workspaceCache=new util.Dictionary;function attachWorkspace(e,t){var n=path.normalize(e);if(!workspaceCache.has(n)){var r=new Workspace(n,t);workspaceCache.set(n,r),r.refresh()}return workspaceCache.get(n)}function isQualifiedIDChar(e,t,n){if(t<0)return!1;var r=e.charAt(t);return(n?/[a-zA-Z\d_\.$]/:/[a-zA-Z\d_]/).test(r)}function qualifiedIDBoundary(e,t,n){for(;isQualifiedIDChar(e,t,n);)t+=n?-1:1;return t+(n?1:-1)}var MetaParser=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sources=[],t}return __extends(t,e),t.prototype.endXMLNode=function(t){switch(t.name){case"Source":this.sources.push(t)}e.prototype.endXMLNode.call(this,t)},t}(util.SAXStackParser),logger$3=util.scopedLogger("clienttools/eclcc"),exeExt="Windows_NT"===os.type()?".exe":"";function tidyCRLF(e){return e.split("\r\n").join("\n").split("\r").join("\n")}var Version=function(){function e(e){this.prefix="",this.major=0,this.minor=0,this.patch=0,this.postfix="";var t=e.split(" ");if(t.length){var n=/(?:(\w+)_)?(\d+)\.(\d+)\.(\d+)(?:-(.*))?/.exec(t[t.length-1]);n&&(this.prefix=n[1]||"",this.major=+n[2]||0,this.minor=+n[3]||0,this.patch=+n[4]||0,this.postfix=n[5]||"")}}return e.prototype.parse=function(e){},e.prototype.exists=function(){return 0!==this.major||0!==this.minor||0!==this.patch||""!==this.postfix},e.prototype.compare=function(e){return this.major>e.major?1:this.major<e.major?-1:this.minor>e.minor?1:this.minor<e.minor?-1:this.patch>e.patch?1:this.patch<e.patch?-1:""===this.postfix&&""!==e.postfix?1:this.postfix.localeCompare(e.postfix)},e.prototype.toString=function(){return this.prefix+"_"+this.major+"."+this.minor+"."+this.patch+"-"+this.postfix},e}(),ERROR="error",WARN="warning",Errors=function(){function e(e){this.errWarn=[],this.errOther=[],this._checked=e}return e.prototype.checked=function(){return this._checked},e.prototype.all=function(){return this.errWarn},e.prototype.errors=function(){return this.errWarn.filter(function(e){return e.severity===ERROR})},e.prototype.hasError=function(){return this.errors().length>0},e.prototype.warnings=function(){return this.errWarn.filter(function(e){return e.severity===WARN})},e.prototype.hasWarning=function(){return this.warnings().length>0},e.prototype.info=function(){return this.errWarn.filter(function(e){return[ERROR,WARN].indexOf(e.severity)<0})},e.prototype.hasOther=function(){return this.info().length>0},e.prototype.unknown=function(){return this.errOther},e.prototype.hasUnknown=function(){return this.unknown().length>0},e}(),EclccErrors=function(e){function t(t,n){var r=e.call(this,n)||this;if(t&&t.length)for(var o=0,i=t.split(os.EOL);o<i.length;o++){var u=i[o],c=/([a-zA-Z]:\\(?:[- \w\.\d]+\\)*(?:[- \w\.\d]+)?|(?:\/[\w\.\-]+)+)\((\d*),(\d*)\) ?: ?(error|warning|info) C(\d*) ?: ?(.*)/.exec(u);if(c){var s=c[1],a=c[2],l=c[3],p=c[4],h=+a,f=+l,g=c[5]+": "+c[6];r.errWarn.push({filePath:s,line:h,col:f,msg:g,severity:p})}else if(c=/(error|warning|info): (.*)/i.exec(u)){p=c[1],g=c[2];r.errWarn.push({filePath:"",line:0,col:0,msg:g,severity:p})}else(c=/\d error(s?), \d warning(s?)/.exec(u))||(logger$3.warning('parseECLErrors: Unable to parse "'+u+'"'),r.errOther.push(u))}return r._checked=n,r}return __extends(t,e),t}(Errors),EnvchkErrors=function(e){function t(t,n,r){var o=e.call(this,r)||this,i=fs.readFileSync(t,"utf8");if(i=i.replace(/\r\n/g,"\n"),o._lines=i.split("\n"),n&&n.length)for(var u=0,c=n.split(os.EOL);u<c.length;u++){var s=c[u],a=/(Warning|Error) : Path\=(\S*?)(\[\S*\])? Message\=(.*)/.exec(s);if(a){var l=a[1],p=a[2],h=a[3],f=p+" "+(h||"")+": "+a[4],g=o.locate(p),d=g[0],A=g[1];o.errWarn.push({filePath:t,line:d,col:A,msg:f,severity:l})}else a||(logger$3.warning('parseECLErrors: Unable to parse "'+s+'"'),o.errOther.push(s))}return o._checked=r,o}return __extends(t,e),t.prototype.locate=function(e){var t=e.split("/");if(t.length&&""===t[0]&&t.shift(),t.length>0)for(var n=0,r=0,o=this._lines;r<o.length;r++){var i=o[r],u="<"+t[0];if((i.indexOf(u+" ")>=0||i.indexOf(u+">")>=0)&&(console.log(n,u),t.shift(),0===t.length))return[n+1,i.indexOf(u)+1];++n}return[0,0]},t}(Errors);function walkXmlJson$1(e,t,n){for(var r in(n=n||[]).push(e),e)if(e.hasOwnProperty(r)){var o=e[r];t(r,o,n),o instanceof Array?o.forEach(function(e){walkXmlJson$1(e,t,n)}):"object"==typeof o&&walkXmlJson$1(o,t,n)}n.pop()}var allClientToolsCache,LocalWorkunit=function(){function e(e){this.jsonWU=e}return e.prototype.bpGetValidLocations=function(e){var t=[];if(util.exists("W_LOCAL.Graphs",this.jsonWU)){var n="";walkXmlJson$1(this.jsonWU.W_LOCAL.Graphs,function(r,o,i){if("$"===r&&o.id&&(n=o.id),"$"===r&&"definition"===o.name){var u=/([a-z,A-Z]:\\(?:[-\w\.\d]+\\)*(?:[-\w\.\d]+)?|(?:\/[\w\.\-]+)+)\((\d*),(\d*)\)/.exec(o.value);if(u){var c=u[1],s=+u[2],a=+u[3];e===c&&t.push({file:c,line:s,col:a,id:n})}}})}return t},e}(),ClientTools=function(){function e(e,t,n,r,o,i){void 0===n&&(n=[]),void 0===r&&(r=!1),void 0===o&&(o=[]),this._paths={},this.eclccPath=e,this.binPath=path.dirname(this.eclccPath),this.envchkPath=path.join(this.binPath,"envchk"+exeExt),this.eclBundlePath=path.join(this.binPath,"ecl-bundle"+exeExt),this.cwd=path.normalize(t||this.binPath),this.includeFolders=n,this._legacyMode=r,this._args=o,this._version=i}return e.prototype.clone=function(t,n,r,o){return void 0===r&&(r=!1),void 0===o&&(o=[]),new e(this.eclccPath,t,n,r,o,this._version)},e.prototype.exists=function(e){try{return fs.accessSync(e),!0}catch(e){}return!1},e.prototype.args=function(e){void 0===e&&(e=[]);var t=__spreadArray([],this._args);return this._legacyMode&&t.push("-legacy"),t.concat(this.includeFolders.map(function(e){return"-I"+path.normalize(e)})).concat(e)},e.prototype.version=function(){var e=this;return this._version?Promise.resolve(this._version):this.execFile(this.eclccPath,this.binPath,this.args(["--version"]),"eclcc","Cannot find "+this.eclccPath).then(function(t){return e._version=new Version(t.stdout),e._version})},e.prototype.versionSync=function(){return this._version},e.prototype.paths=function(){var e=this;return this.execFile(this.eclccPath,this.cwd,this.args(["-showpaths"]),"eclcc","Cannot find "+this.eclccPath).then(function(t){if(t&&t.stdout&&t.stdout.length)for(var n=0,r=t.stdout.split(/\r?\n/);n<r.length;n++){var o=r[n].split("=");2===o.length&&(e._paths[o[0]]=o[1])}return e._paths})},e.prototype.loadXMLDoc=function(e,t){return new Promise(function(n,r){var o=fs.readFileSync(e,"ascii"),i=util.xml2json(o);t&&fs.unlink(e,function(e){}),n(i)})},e.prototype.createWU=function(e){var t=this,n=tmp.tmpNameSync({prefix:"eclcc-wu-tmp",postfix:""}),r=["-o"+n,"-wu"].concat([e]);return this.execFile(this.eclccPath,this.cwd,this.args(r),"eclcc","Cannot find "+this.eclccPath).then(function(e){var r=path.normalize(n+".xml");return(t.exists(r)?t.loadXMLDoc(r,!0):Promise.resolve({})).then(function(e){return new LocalWorkunit(e)})})},e.prototype.createArchive=function(e){var t=["-E"].concat([e]);return this.execFile(this.eclccPath,this.cwd,this.args(t),"eclcc","Cannot find "+this.eclccPath).then(function(e){return{content:e.stdout,err:new EclccErrors(e.stderr,[])}})},e.prototype.attachWorkspace=function(){return attachWorkspace(this.cwd)},e.prototype.fetchMeta=function(e){return Promise.all([attachWorkspace(this.cwd),this.execFile(this.eclccPath,this.cwd,this.args(["-M",e]),"eclcc","Cannot find "+this.eclccPath)]).then(function(e){var t=e[0],n=e[1];return n&&n.stdout&&n.stdout.length&&t.parseMetaXML(n.stdout),t})},e.prototype.syntaxCheck=function(e,t){return void 0===t&&(t=["-syntax"]),Promise.all([attachWorkspace(this.cwd),this.execFile(this.eclccPath,this.cwd,this.args(__spreadArray(__spreadArray([],t),["-M",e])),"eclcc","Cannot find "+this.eclccPath)]).then(function(e){var t=e[0],n=e[1],r=[];return n&&n.stdout&&n.stdout.length&&(r=t.parseMetaXML(n.stdout)),new EclccErrors(n?n.stderr:"",r)})},e.prototype.envCheck=function(e,t){return void 0===t&&(t=[]),Promise.all([attachWorkspace(this.cwd),this.execFile(this.envchkPath,this.cwd,this.args(__spreadArray(__spreadArray([],t),[e])),"envchk","Cannot find "+this.envchkPath)]).then(function(t){t[0];var n=t[1];return new EnvchkErrors(e,n?n.stderr:"",[])})},e.prototype.bundleList=function(){var e=this,t=/\|(.*)\|(.*)\|(.*)\|/g;return Promise.all([fetch("https://raw.githubusercontent.com/hpcc-systems/ecl-bundles/master/README.rst").then(function(e){return e.text()}).then(function(e){for(var n=[],r=t.exec(e);r;)n.push({name:r[1].trim(),description:r[2].trim(),url:r[3].trim()}),r=t.exec(e);return n}),this.execFile(this.eclBundlePath,this.cwd,this.args(["list"]),"ecl-bundle","Cannot find "+this.eclBundlePath).then(function(e){return tidyCRLF(e.stdout).split("\n")}).then(function(t){var n={};return Promise.all(t.filter(function(e){return!!e}).map(function(t){return e.execFile(e.eclBundlePath,e.cwd,e.args(["info",t]),"ecl-bundle","Cannot find "+e.eclBundlePath).then(function(e){return tidyCRLF(e.stdout).split("\n")}).then(function(e){var r={};e.forEach(function(e){var t=e.split(":");r[t.shift().trim()]=t.join(":").trim()}),n[t]={name:t,props:r}})})).then(function(){return n})})]).then(function(e){var t=e[0],n=e[1];for(var r in t.forEach(function(e){n[e.name]&&(e.props=n[e.name].props,delete n[e.name])}),n)t.push({name:r,url:"",description:"",props:n[r].props});return t}).catch(function(e){return[]})},e.prototype.bundleInstall=function(e){return Promise.all([attachWorkspace(this.cwd),this.execFile(this.eclBundlePath,this.cwd,this.args(["install",e]),"ecl-bundle","Cannot find "+this.eclBundlePath)]).then(function(e){e[0];return e[1]})},e.prototype.bundleUninstall=function(e){return Promise.all([attachWorkspace(this.cwd),this.execFile(this.eclBundlePath,this.cwd,this.args(["uninstall",e]),"ecl-bundle","Cannot find "+this.eclBundlePath)]).then(function(e){e[0];return e[1]})},e.prototype.execFile=function(e,t,n,r,o){return new Promise(function(r,o){logger$3.debug(e+" "+n.join(" "));var i=cp.spawn(e,n,{cwd:t}),u="",c="";i.stdout.on("data",function(e){u+=e.toString()}),i.stderr.on("data",function(e){c+=e.toString()}),i.on("close",function(e,t){r({code:e,stdout:u.trim(),stderr:c.trim()})})})},e}();function locateClientToolsInFolder(e,t){if(e){var n=path.join(e,"HPCCSystems");if(fs.existsSync(n)&&fs.statSync(n).isDirectory()){if("Windows_NT"!==os.type()){var r=path.join(n,"bin","eclcc");fs.existsSync(r)&&t.push(new ClientTools(r))}fs.readdirSync(n).forEach(function(e){var r=path.join(n,e,"clienttools","bin","eclcc"+exeExt);if(fs.existsSync(r)){var o=path.basename(e);new Version(o).exists()&&t.push(new ClientTools(r))}})}}}function locateAllClientTools(){if(allClientToolsCache)return allClientToolsCache;var e=[];switch(os.type()){case"Windows_NT":var t=process.env["ProgramFiles(x86)"]||"";t&&locateClientToolsInFolder(t,e);var n=process.env.ProgramFiles||"";n&&locateClientToolsInFolder(n,e),t||n||locateClientToolsInFolder("c:\\Program Files (x86)",e);break;case"Linux":case"Darwin":locateClientToolsInFolder("/opt",e)}return allClientToolsCache=Promise.all(e.map(function(e){return e.version()})).then(function(){return e.sort(function(e,t){return t.versionSync().compare(e.versionSync())}),e})}var eclccPathMsg="";function logEclccPath(e){var t="Using eclccPath setting: "+e;eclccPathMsg!==t&&(logger$3.info(t),eclccPathMsg=t)}function locateClientTools(e,t,n,r,o,i){return void 0===e&&(e=""),void 0===t&&(t=""),void 0===n&&(n="."),void 0===r&&(r=[]),void 0===o&&(o=!1),void 0===i&&(i=[]),e&&fs.existsSync(e)?(logEclccPath(e),Promise.resolve(new ClientTools(e,n,r,o,i))):locateAllClientTools().then(function(e){if(!e.length)throw new Error("Unable to locate ECL Client Tools.");for(var u,c,s=new Version(t),a=0,l=e;a<l.length;a++){var p=l[a],h=p.versionSync();if(h.exists()&&(u||(u=p),c||s.major!==h.major||(c=p),s.major===h.major&&s.minor===h.minor))return p.clone(n,r,o,i)}var f=c||u;return logEclccPath(f.eclccPath),f.clone(n,r,o,i)})}util.root.DOMParser=xmldom.DOMParser,void 0===util.root.fetch&&(util.root.fetch=fetch$1),void 0===util.root.AbortController&&(util.root.AbortController=AbortController),util.root.fetch.__rejectUnauthorizedAgent=new https.Agent({rejectUnauthorized:!1});var globalCA="";void 0!==https.globalAgent.options.ca&&(Array.isArray(https.globalAgent.options.ca)&&https.globalAgent.options.ca.length?"string"==typeof https.globalAgent.options.ca[0]?globalCA=https.globalAgent.options.ca.join("\n"):https.globalAgent.options.ca[0]instanceof safeBuffer.Buffer&&(globalCA=https.globalAgent.options.ca.map(function(e){return e.toString()}).join("\n")):"string"==typeof https.globalAgent.options.ca?globalCA=https.globalAgent.options.ca:https.globalAgent.options.ca instanceof safeBuffer.Buffer&&(globalCA=https.globalAgent.options.ca.toString()),globalCA+="\n"),util.root.fetch.__trustwaveAgent=new https.Agent({ca:globalCA+trustwave}),void 0===util.root.btoa&&(util.root.btoa=function(e){return safeBuffer.Buffer.from(e||"","utf8").toString("base64")}),exports.AccountService=AccountService,exports.Activity=Activity,exports.Attr=Attr,exports.Attribute=Attribute,exports.BUILD_VERSION=BUILD_VERSION,exports.BaseScope=BaseScope,exports.ClientTools=ClientTools,exports.CodesignService=CodesignService,exports.Connection=Connection,exports.DFUService=DFUService,exports.DFUXRefService=DFUXRefService,exports.Definition=Definition,exports.ECLGraph=ECLGraph,exports.ECLScope=ECLScope,exports.ESPConnection=ESPConnection,exports.ESPExceptions=ESPExceptions,exports.EclService=EclService,exports.EclccErrors=EclccErrors,exports.EnvchkErrors=EnvchkErrors,exports.Errors=Errors,exports.Field=Field,exports.File=File,exports.Folder=Folder,exports.GlobalResultCache=GlobalResultCache,exports.GraphCache=GraphCache,exports.Import=Import,exports.LocalWorkunit=LocalWorkunit,exports.LogicalFile=LogicalFile,exports.LogicalFileCache=LogicalFileCache,exports.Machine=Machine,exports.MachineCache=MachineCache,exports.MachineService=MachineService,exports.PKG_NAME=PKG_NAME,exports.PKG_VERSION=PKG_VERSION,exports.Query=Query,exports.Resource=Resource,exports.Result=Result,exports.ResultCache=ResultCache,exports.SMCService=SMCService,exports.Scope=Scope,exports.ScopeEdge=ScopeEdge,exports.ScopeGraph=ScopeGraph,exports.ScopeSubgraph=ScopeSubgraph,exports.ScopeVertex=ScopeVertex,exports.Service=Service,exports.Source=Source,exports.SourceFile=SourceFile,exports.Store=Store,exports.StoreCache=StoreCache,exports.StoreService=StoreService,exports.TargetCluster=TargetCluster,exports.TargetClusterCache=TargetClusterCache,exports.Timer=Timer,exports.Topology=Topology,exports.TopologyCache=TopologyCache,exports.TopologyService=TopologyService,exports.ValueChangedMessage=ValueChangedMessage,exports.Version=Version,exports.Workspace=Workspace,exports.Workunit=Workunit,exports.WorkunitCache=WorkunitCache,exports.WorkunitsService=WorkunitsService,exports.XGMMLEdge=XGMMLEdge,exports.XGMMLGraph=XGMMLGraph,exports.XGMMLSubgraph=XGMMLSubgraph,exports.XGMMLVertex=XGMMLVertex,exports.XSDNode=XSDNode,exports.XSDSchema=XSDSchema,exports.XSDSimpleType=XSDSimpleType,exports.XSDXMLNode=XSDXMLNode,exports.attachWorkspace=attachWorkspace,exports.createGraph=createGraph,exports.createXGMMLGraph=createXGMMLGraph,exports.defaultTargetCluster=defaultTargetCluster,exports.deserializeResponse=deserializeResponse,exports.get=get,exports.hookSend=hookSend,exports.instanceOfIConnection=instanceOfIConnection,exports.instanceOfIOptions=instanceOfIOptions,exports.isArray=isArray,exports.isECLResult=isECLResult,exports.isExceptions=isExceptions,exports.isWUInfoWorkunit=isWUInfoWorkunit,exports.isWUQueryECLWorkunit=isWUQueryECLWorkunit,exports.jsonp=jsonp,exports.locateAllClientTools=locateAllClientTools,exports.locateClientTools=locateClientTools,exports.parseXSD=parseXSD,exports.parseXSD2=parseXSD2,exports.post=post,exports.qualifiedIDBoundary=qualifiedIDBoundary,exports.send=send,exports.serializeRequest=serializeRequest,exports.setTransportFactory=setTransportFactory,exports.targetClusters=targetClusters,exports.walkXmlJson=walkXmlJson$1;
|
|
2
2
|
//# sourceMappingURL=index.node.min.js.map
|