@openfn/language-mssql 3.0.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -20
- package/ast.json +48 -0
- package/configuration-schema.json +34 -0
- package/dist/index.cjs +567 -0
- package/dist/index.js +541 -0
- package/package.json +31 -38
- package/types/Adaptor.d.ts +349 -0
- package/types/index.d.ts +3 -0
- package/lib/Adaptor.js +0 -809
- package/lib/Client.js +0 -28
- package/lib/index.js +0 -19
- package/node_modules/@azure/ms-rest-azure-env/Changelog.md +0 -24
- package/node_modules/@azure/ms-rest-azure-env/LICENSE +0 -21
- package/node_modules/@azure/ms-rest-azure-env/README.md +0 -41
- package/node_modules/@azure/ms-rest-azure-env/dist/msRestAzureEnv.js +0 -172
- package/node_modules/@azure/ms-rest-azure-env/dist/msRestAzureEnv.js.map +0 -1
- package/node_modules/@azure/ms-rest-azure-env/dist/msRestAzureEnv.min.js +0 -5
- package/node_modules/@azure/ms-rest-azure-env/dist/msRestAzureEnv.min.js.map +0 -1
- package/node_modules/@azure/ms-rest-azure-env/es/lib/azureEnvironment.d.ts +0 -232
- package/node_modules/@azure/ms-rest-azure-env/es/lib/azureEnvironment.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-azure-env/es/lib/azureEnvironment.js +0 -157
- package/node_modules/@azure/ms-rest-azure-env/es/lib/azureEnvironment.js.map +0 -1
- package/node_modules/@azure/ms-rest-azure-env/lib/azureEnvironment.ts +0 -347
- package/node_modules/@azure/ms-rest-azure-env/package.json +0 -100
- package/node_modules/@azure/ms-rest-js/Changelog.md +0 -228
- package/node_modules/@azure/ms-rest-js/LICENSE +0 -21
- package/node_modules/@azure/ms-rest-js/README.md +0 -40
- package/node_modules/@azure/ms-rest-js/ThirdPartyNotices.txt +0 -35
- package/node_modules/@azure/ms-rest-js/dist/msRest.browser.js +0 -4060
- package/node_modules/@azure/ms-rest-js/dist/msRest.browser.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/dist/msRest.browser.min.js +0 -5
- package/node_modules/@azure/ms-rest-js/dist/msRest.browser.min.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/dist/msRest.node.js +0 -3942
- package/node_modules/@azure/ms-rest-js/dist/msRest.node.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/axiosHttpClient.d.ts +0 -25
- package/node_modules/@azure/ms-rest-js/es/lib/axiosHttpClient.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/axiosHttpClient.js +0 -265
- package/node_modules/@azure/ms-rest-js/es/lib/axiosHttpClient.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/apiKeyCredentials.d.ts +0 -46
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/apiKeyCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/apiKeyCredentials.js +0 -56
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/apiKeyCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/basicAuthenticationCredentials.d.ts +0 -24
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/basicAuthenticationCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/basicAuthenticationCredentials.js +0 -47
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/basicAuthenticationCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/credentials.d.ts +0 -2
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/credentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/credentials.js +0 -3
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/credentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/domainCredentials.d.ts +0 -11
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/domainCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/domainCredentials.js +0 -29
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/domainCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/serviceClientCredentials.d.ts +0 -11
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/serviceClientCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/serviceClientCredentials.js +0 -3
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/serviceClientCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/tokenCredentials.d.ts +0 -25
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/tokenCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/tokenCredentials.js +0 -42
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/tokenCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/topicCredentials.d.ts +0 -11
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/topicCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/topicCredentials.js +0 -29
- package/node_modules/@azure/ms-rest-js/es/lib/credentials/topicCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.browser.d.ts +0 -2
- package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.browser.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.browser.js +0 -4
- package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.browser.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.d.ts +0 -2
- package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.js +0 -4
- package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/httpClient.d.ts +0 -7
- package/node_modules/@azure/ms-rest-js/es/lib/httpClient.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/httpClient.js +0 -3
- package/node_modules/@azure/ms-rest-js/es/lib/httpClient.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/httpHeaders.d.ts +0 -78
- package/node_modules/@azure/ms-rest-js/es/lib/httpHeaders.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/httpHeaders.js +0 -119
- package/node_modules/@azure/ms-rest-js/es/lib/httpHeaders.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/httpOperationResponse.d.ts +0 -75
- package/node_modules/@azure/ms-rest-js/es/lib/httpOperationResponse.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/httpOperationResponse.js +0 -3
- package/node_modules/@azure/ms-rest-js/es/lib/httpOperationResponse.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogLevel.d.ts +0 -22
- package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogLevel.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogLevel.js +0 -25
- package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogLevel.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogger.d.ts +0 -35
- package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogger.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogger.js +0 -37
- package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogger.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/msRest.d.ts +0 -37
- package/node_modules/@azure/ms-rest-js/es/lib/msRest.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/msRest.js +0 -31
- package/node_modules/@azure/ms-rest-js/es/lib/msRest.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/operationArguments.d.ts +0 -15
- package/node_modules/@azure/ms-rest-js/es/lib/operationArguments.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/operationArguments.js +0 -3
- package/node_modules/@azure/ms-rest-js/es/lib/operationArguments.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/operationParameter.d.ts +0 -51
- package/node_modules/@azure/ms-rest-js/es/lib/operationParameter.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/operationParameter.js +0 -24
- package/node_modules/@azure/ms-rest-js/es/lib/operationParameter.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/operationResponse.d.ts +0 -15
- package/node_modules/@azure/ms-rest-js/es/lib/operationResponse.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/operationResponse.js +0 -3
- package/node_modules/@azure/ms-rest-js/es/lib/operationResponse.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/operationSpec.d.ts +0 -68
- package/node_modules/@azure/ms-rest-js/es/lib/operationSpec.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/operationSpec.js +0 -15
- package/node_modules/@azure/ms-rest-js/es/lib/operationSpec.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/deserializationPolicy.d.ts +0 -38
- package/node_modules/@azure/ms-rest-js/es/lib/policies/deserializationPolicy.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/deserializationPolicy.js +0 -195
- package/node_modules/@azure/ms-rest-js/es/lib/policies/deserializationPolicy.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/exponentialRetryPolicy.d.ts +0 -48
- package/node_modules/@azure/ms-rest-js/es/lib/policies/exponentialRetryPolicy.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/exponentialRetryPolicy.js +0 -121
- package/node_modules/@azure/ms-rest-js/es/lib/policies/exponentialRetryPolicy.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/generateClientRequestIdPolicy.d.ts +0 -10
- package/node_modules/@azure/ms-rest-js/es/lib/policies/generateClientRequestIdPolicy.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/generateClientRequestIdPolicy.js +0 -30
- package/node_modules/@azure/ms-rest-js/es/lib/policies/generateClientRequestIdPolicy.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/logPolicy.d.ts +0 -10
- package/node_modules/@azure/ms-rest-js/es/lib/policies/logPolicy.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/logPolicy.js +0 -35
- package/node_modules/@azure/ms-rest-js/es/lib/policies/logPolicy.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.browser.d.ts +0 -4
- package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.browser.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.browser.js +0 -14
- package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.browser.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.d.ts +0 -4
- package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.js +0 -19
- package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.browser.d.ts +0 -11
- package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.browser.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.browser.js +0 -29
- package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.browser.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.d.ts +0 -12
- package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.js +0 -61
- package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/redirectPolicy.d.ts +0 -10
- package/node_modules/@azure/ms-rest-js/es/lib/policies/redirectPolicy.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/redirectPolicy.js +0 -48
- package/node_modules/@azure/ms-rest-js/es/lib/policies/redirectPolicy.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/requestPolicy.d.ts +0 -53
- package/node_modules/@azure/ms-rest-js/es/lib/policies/requestPolicy.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/requestPolicy.js +0 -60
- package/node_modules/@azure/ms-rest-js/es/lib/policies/requestPolicy.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/rpRegistrationPolicy.d.ts +0 -10
- package/node_modules/@azure/ms-rest-js/es/lib/policies/rpRegistrationPolicy.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/rpRegistrationPolicy.js +0 -158
- package/node_modules/@azure/ms-rest-js/es/lib/policies/rpRegistrationPolicy.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/signingPolicy.d.ts +0 -12
- package/node_modules/@azure/ms-rest-js/es/lib/policies/signingPolicy.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/signingPolicy.js +0 -29
- package/node_modules/@azure/ms-rest-js/es/lib/policies/signingPolicy.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/systemErrorRetryPolicy.d.ts +0 -37
- package/node_modules/@azure/ms-rest-js/es/lib/policies/systemErrorRetryPolicy.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/systemErrorRetryPolicy.js +0 -110
- package/node_modules/@azure/ms-rest-js/es/lib/policies/systemErrorRetryPolicy.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/throttlingRetryPolicy.d.ts +0 -21
- package/node_modules/@azure/ms-rest-js/es/lib/policies/throttlingRetryPolicy.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/throttlingRetryPolicy.js +0 -82
- package/node_modules/@azure/ms-rest-js/es/lib/policies/throttlingRetryPolicy.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/userAgentPolicy.d.ts +0 -21
- package/node_modules/@azure/ms-rest-js/es/lib/policies/userAgentPolicy.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/policies/userAgentPolicy.js +0 -64
- package/node_modules/@azure/ms-rest-js/es/lib/policies/userAgentPolicy.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/queryCollectionFormat.d.ts +0 -11
- package/node_modules/@azure/ms-rest-js/es/lib/queryCollectionFormat.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/queryCollectionFormat.js +0 -14
- package/node_modules/@azure/ms-rest-js/es/lib/queryCollectionFormat.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/restError.d.ts +0 -14
- package/node_modules/@azure/ms-rest-js/es/lib/restError.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/restError.js +0 -22
- package/node_modules/@azure/ms-rest-js/es/lib/restError.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/serializer.d.ts +0 -130
- package/node_modules/@azure/ms-rest-js/es/lib/serializer.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/serializer.js +0 -752
- package/node_modules/@azure/ms-rest-js/es/lib/serializer.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/serviceClient.d.ts +0 -135
- package/node_modules/@azure/ms-rest-js/es/lib/serviceClient.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/serviceClient.js +0 -443
- package/node_modules/@azure/ms-rest-js/es/lib/serviceClient.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/url.d.ts +0 -149
- package/node_modules/@azure/ms-rest-js/es/lib/url.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/url.js +0 -601
- package/node_modules/@azure/ms-rest-js/es/lib/url.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/util/base64.browser.d.ts +0 -16
- package/node_modules/@azure/ms-rest-js/es/lib/util/base64.browser.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/util/base64.browser.js +0 -33
- package/node_modules/@azure/ms-rest-js/es/lib/util/base64.browser.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/util/base64.d.ts +0 -16
- package/node_modules/@azure/ms-rest-js/es/lib/util/base64.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/util/base64.js +0 -27
- package/node_modules/@azure/ms-rest-js/es/lib/util/base64.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/util/constants.d.ts +0 -86
- package/node_modules/@azure/ms-rest-js/es/lib/util/constants.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/util/constants.js +0 -88
- package/node_modules/@azure/ms-rest-js/es/lib/util/constants.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/util/utils.d.ts +0 -150
- package/node_modules/@azure/ms-rest-js/es/lib/util/utils.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/util/utils.js +0 -218
- package/node_modules/@azure/ms-rest-js/es/lib/util/utils.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/util/xml.browser.d.ts +0 -5
- package/node_modules/@azure/ms-rest-js/es/lib/util/xml.browser.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/util/xml.browser.js +0 -140
- package/node_modules/@azure/ms-rest-js/es/lib/util/xml.browser.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/util/xml.d.ts +0 -5
- package/node_modules/@azure/ms-rest-js/es/lib/util/xml.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/util/xml.js +0 -37
- package/node_modules/@azure/ms-rest-js/es/lib/util/xml.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/webResource.d.ts +0 -228
- package/node_modules/@azure/ms-rest-js/es/lib/webResource.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/webResource.js +0 -229
- package/node_modules/@azure/ms-rest-js/es/lib/webResource.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/xhrHttpClient.d.ts +0 -12
- package/node_modules/@azure/ms-rest-js/es/lib/xhrHttpClient.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-js/es/lib/xhrHttpClient.js +0 -133
- package/node_modules/@azure/ms-rest-js/es/lib/xhrHttpClient.js.map +0 -1
- package/node_modules/@azure/ms-rest-js/lib/axiosHttpClient.ts +0 -265
- package/node_modules/@azure/ms-rest-js/lib/credentials/apiKeyCredentials.ts +0 -85
- package/node_modules/@azure/ms-rest-js/lib/credentials/basicAuthenticationCredentials.ts +0 -50
- package/node_modules/@azure/ms-rest-js/lib/credentials/credentials.ts +0 -4
- package/node_modules/@azure/ms-rest-js/lib/credentials/domainCredentials.ts +0 -24
- package/node_modules/@azure/ms-rest-js/lib/credentials/serviceClientCredentials.ts +0 -14
- package/node_modules/@azure/ms-rest-js/lib/credentials/tokenCredentials.ts +0 -45
- package/node_modules/@azure/ms-rest-js/lib/credentials/topicCredentials.ts +0 -24
- package/node_modules/@azure/ms-rest-js/lib/defaultHttpClient.browser.ts +0 -4
- package/node_modules/@azure/ms-rest-js/lib/defaultHttpClient.ts +0 -4
- package/node_modules/@azure/ms-rest-js/lib/httpClient.ts +0 -10
- package/node_modules/@azure/ms-rest-js/lib/httpHeaders.ts +0 -151
- package/node_modules/@azure/ms-rest-js/lib/httpOperationResponse.ts +0 -84
- package/node_modules/@azure/ms-rest-js/lib/httpPipelineLogLevel.ts +0 -27
- package/node_modules/@azure/ms-rest-js/lib/httpPipelineLogger.ts +0 -56
- package/node_modules/@azure/ms-rest-js/lib/msRest.ts +0 -51
- package/node_modules/@azure/ms-rest-js/lib/operationArguments.ts +0 -19
- package/node_modules/@azure/ms-rest-js/lib/operationParameter.ts +0 -71
- package/node_modules/@azure/ms-rest-js/lib/operationResponse.ts +0 -19
- package/node_modules/@azure/ms-rest-js/lib/operationSpec.ts +0 -91
- package/node_modules/@azure/ms-rest-js/lib/policies/deserializationPolicy.ts +0 -220
- package/node_modules/@azure/ms-rest-js/lib/policies/exponentialRetryPolicy.ts +0 -163
- package/node_modules/@azure/ms-rest-js/lib/policies/generateClientRequestIdPolicy.ts +0 -28
- package/node_modules/@azure/ms-rest-js/lib/policies/logPolicy.ts +0 -35
- package/node_modules/@azure/ms-rest-js/lib/policies/msRestUserAgentPolicy.browser.ts +0 -27
- package/node_modules/@azure/ms-rest-js/lib/policies/msRestUserAgentPolicy.ts +0 -24
- package/node_modules/@azure/ms-rest-js/lib/policies/proxyPolicy.browser.ts +0 -32
- package/node_modules/@azure/ms-rest-js/lib/policies/proxyPolicy.ts +0 -67
- package/node_modules/@azure/ms-rest-js/lib/policies/redirectPolicy.ts +0 -49
- package/node_modules/@azure/ms-rest-js/lib/policies/requestPolicy.ts +0 -75
- package/node_modules/@azure/ms-rest-js/lib/policies/rpRegistrationPolicy.ts +0 -164
- package/node_modules/@azure/ms-rest-js/lib/policies/signingPolicy.ts +0 -30
- package/node_modules/@azure/ms-rest-js/lib/policies/systemErrorRetryPolicy.ts +0 -133
- package/node_modules/@azure/ms-rest-js/lib/policies/throttlingRetryPolicy.ts +0 -78
- package/node_modules/@azure/ms-rest-js/lib/policies/userAgentPolicy.ts +0 -68
- package/node_modules/@azure/ms-rest-js/lib/queryCollectionFormat.ts +0 -13
- package/node_modules/@azure/ms-rest-js/lib/restError.ts +0 -27
- package/node_modules/@azure/ms-rest-js/lib/serializer.ts +0 -873
- package/node_modules/@azure/ms-rest-js/lib/serviceClient.ts +0 -591
- package/node_modules/@azure/ms-rest-js/lib/url.ts +0 -664
- package/node_modules/@azure/ms-rest-js/lib/util/base64.browser.ts +0 -35
- package/node_modules/@azure/ms-rest-js/lib/util/base64.ts +0 -29
- package/node_modules/@azure/ms-rest-js/lib/util/constants.ts +0 -98
- package/node_modules/@azure/ms-rest-js/lib/util/utils.ts +0 -251
- package/node_modules/@azure/ms-rest-js/lib/util/xml.browser.ts +0 -143
- package/node_modules/@azure/ms-rest-js/lib/util/xml.ts +0 -37
- package/node_modules/@azure/ms-rest-js/lib/webResource.ts +0 -464
- package/node_modules/@azure/ms-rest-js/lib/xhrHttpClient.ts +0 -138
- package/node_modules/@azure/ms-rest-js/node_modules/form-data/License +0 -19
- package/node_modules/@azure/ms-rest-js/node_modules/form-data/README.md +0 -350
- package/node_modules/@azure/ms-rest-js/node_modules/form-data/README.md.bak +0 -350
- package/node_modules/@azure/ms-rest-js/node_modules/form-data/index.d.ts +0 -51
- package/node_modules/@azure/ms-rest-js/node_modules/form-data/lib/browser.js +0 -2
- package/node_modules/@azure/ms-rest-js/node_modules/form-data/lib/form_data.js +0 -483
- package/node_modules/@azure/ms-rest-js/node_modules/form-data/lib/populate.js +0 -10
- package/node_modules/@azure/ms-rest-js/node_modules/form-data/package.json +0 -104
- package/node_modules/@azure/ms-rest-js/package.json +0 -202
- package/node_modules/@azure/ms-rest-nodeauth/Changelog.md +0 -110
- package/node_modules/@azure/ms-rest-nodeauth/LICENSE +0 -21
- package/node_modules/@azure/ms-rest-nodeauth/README.md +0 -215
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCertificateCredentials.d.ts +0 -45
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCertificateCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCertificateCredentials.js +0 -107
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCertificateCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentials.d.ts +0 -27
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentials.js +0 -68
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentialsBase.d.ts +0 -30
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentialsBase.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentialsBase.js +0 -95
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentialsBase.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/azureCliCredentials.d.ts +0 -137
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/azureCliCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/azureCliCredentials.js +0 -253
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/azureCliCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/deviceTokenCredentials.d.ts +0 -28
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/deviceTokenCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/deviceTokenCredentials.js +0 -45
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/deviceTokenCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/keyVaultFactory.d.ts +0 -4
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/keyVaultFactory.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/keyVaultFactory.js +0 -82
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/keyVaultFactory.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiAppServiceTokenCredentials.d.ts +0 -66
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiAppServiceTokenCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiAppServiceTokenCredentials.js +0 -96
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiAppServiceTokenCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiTokenCredentials.d.ts +0 -67
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiTokenCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiTokenCredentials.js +0 -108
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiTokenCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiVmTokenCredentials.d.ts +0 -57
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiVmTokenCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiVmTokenCredentials.js +0 -90
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiVmTokenCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenClientCredentials.d.ts +0 -10
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenClientCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenClientCredentials.js +0 -5
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenClientCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenCredentialsBase.d.ts +0 -31
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenCredentialsBase.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenCredentialsBase.js +0 -80
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenCredentialsBase.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/topicCredentials.d.ts +0 -14
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/topicCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/topicCredentials.js +0 -29
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/topicCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/userTokenCredentials.d.ts +0 -33
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/userTokenCredentials.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/userTokenCredentials.js +0 -88
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/userTokenCredentials.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/login.d.ts +0 -448
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/login.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/login.js +0 -680
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/login.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/msRestNodeAuth.d.ts +0 -14
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/msRestNodeAuth.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/msRestNodeAuth.js +0 -40
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/msRestNodeAuth.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/subscriptionManagement/subscriptionUtils.d.ts +0 -71
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/subscriptionManagement/subscriptionUtils.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/subscriptionManagement/subscriptionUtils.js +0 -98
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/subscriptionManagement/subscriptionUtils.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/util/authConstants.d.ts +0 -10
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/util/authConstants.d.ts.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/util/authConstants.js +0 -13
- package/node_modules/@azure/ms-rest-nodeauth/dist/lib/util/authConstants.js.map +0 -1
- package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/applicationTokenCertificateCredentials.ts +0 -139
- package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/applicationTokenCredentials.ts +0 -75
- package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/applicationTokenCredentialsBase.ts +0 -97
- package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/azureCliCredentials.ts +0 -328
- package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/deviceTokenCredentials.ts +0 -60
- package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/keyVaultFactory.ts +0 -83
- package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/msiAppServiceTokenCredentials.ts +0 -129
- package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/msiTokenCredentials.ts +0 -139
- package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/msiVmTokenCredentials.ts +0 -131
- package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/tokenClientCredentials.ts +0 -14
- package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/tokenCredentialsBase.ts +0 -89
- package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/topicCredentials.ts +0 -29
- package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/userTokenCredentials.ts +0 -100
- package/node_modules/@azure/ms-rest-nodeauth/lib/login.ts +0 -987
- package/node_modules/@azure/ms-rest-nodeauth/lib/msRestNodeAuth.ts +0 -35
- package/node_modules/@azure/ms-rest-nodeauth/lib/subscriptionManagement/subscriptionUtils.ts +0 -148
- package/node_modules/@azure/ms-rest-nodeauth/lib/util/authConstants.ts +0 -13
- package/node_modules/@azure/ms-rest-nodeauth/package.json +0 -101
- package/node_modules/@azure/ms-rest-nodeauth/tsconfig.json +0 -41
- package/node_modules/@js-joda/core/CHANGELOG.md +0 -306
- package/node_modules/@js-joda/core/CheatSheet.md +0 -947
- package/node_modules/@js-joda/core/LICENSE +0 -34
- package/node_modules/@js-joda/core/README.md +0 -155
- package/node_modules/@js-joda/core/bower.json +0 -21
- package/node_modules/@js-joda/core/dist/js-joda.d.ts +0 -1710
- package/node_modules/@js-joda/core/dist/js-joda.esm.js +0 -12539
- package/node_modules/@js-joda/core/dist/js-joda.flow.js +0 -949
- package/node_modules/@js-joda/core/dist/js-joda.js +0 -12603
- package/node_modules/@js-joda/core/dist/js-joda.js.map +0 -1
- package/node_modules/@js-joda/core/dist/js-joda.min.js +0 -5
- package/node_modules/@js-joda/core/package.json +0 -107
- package/node_modules/@js-joda/core/src/Clock.js +0 -330
- package/node_modules/@js-joda/core/src/DayOfWeek.js +0 -451
- package/node_modules/@js-joda/core/src/Duration.js +0 -1205
- package/node_modules/@js-joda/core/src/Enum.js +0 -30
- package/node_modules/@js-joda/core/src/Instant.js +0 -1054
- package/node_modules/@js-joda/core/src/LocalDate.js +0 -1752
- package/node_modules/@js-joda/core/src/LocalDateTime.js +0 -1738
- package/node_modules/@js-joda/core/src/LocalTime.js +0 -1468
- package/node_modules/@js-joda/core/src/MathUtil.js +0 -236
- package/node_modules/@js-joda/core/src/Month.js +0 -600
- package/node_modules/@js-joda/core/src/MonthDay.js +0 -731
- package/node_modules/@js-joda/core/src/Period.js +0 -933
- package/node_modules/@js-joda/core/src/StringUtil.js +0 -43
- package/node_modules/@js-joda/core/src/Year.js +0 -999
- package/node_modules/@js-joda/core/src/YearConstants.js +0 -21
- package/node_modules/@js-joda/core/src/YearMonth.js +0 -1154
- package/node_modules/@js-joda/core/src/ZoneId.js +0 -236
- package/node_modules/@js-joda/core/src/ZoneIdFactory.js +0 -201
- package/node_modules/@js-joda/core/src/ZoneOffset.js +0 -486
- package/node_modules/@js-joda/core/src/ZoneRegion.js +0 -72
- package/node_modules/@js-joda/core/src/ZonedDateTime.js +0 -2048
- package/node_modules/@js-joda/core/src/_init.js +0 -64
- package/node_modules/@js-joda/core/src/assert.js +0 -33
- package/node_modules/@js-joda/core/src/chrono/ChronoLocalDate.js +0 -230
- package/node_modules/@js-joda/core/src/chrono/ChronoLocalDateTime.js +0 -130
- package/node_modules/@js-joda/core/src/chrono/ChronoZonedDateTime.js +0 -194
- package/node_modules/@js-joda/core/src/chrono/IsoChronology.js +0 -235
- package/node_modules/@js-joda/core/src/convert.js +0 -83
- package/node_modules/@js-joda/core/src/errors.js +0 -54
- package/node_modules/@js-joda/core/src/format/DateTimeBuilder.js +0 -535
- package/node_modules/@js-joda/core/src/format/DateTimeFormatter.js +0 -728
- package/node_modules/@js-joda/core/src/format/DateTimeFormatterBuilder.js +0 -1545
- package/node_modules/@js-joda/core/src/format/DateTimeParseContext.js +0 -297
- package/node_modules/@js-joda/core/src/format/DateTimePrintContext.js +0 -138
- package/node_modules/@js-joda/core/src/format/DecimalStyle.js +0 -113
- package/node_modules/@js-joda/core/src/format/EnumMap.js +0 -70
- package/node_modules/@js-joda/core/src/format/ParsePosition.js +0 -31
- package/node_modules/@js-joda/core/src/format/ResolverStyle.js +0 -93
- package/node_modules/@js-joda/core/src/format/SignStyle.js +0 -38
- package/node_modules/@js-joda/core/src/format/StringBuilder.js +0 -47
- package/node_modules/@js-joda/core/src/format/TextStyle.js +0 -114
- package/node_modules/@js-joda/core/src/format/parser/CharLiteralPrinterParser.js +0 -46
- package/node_modules/@js-joda/core/src/format/parser/CompositePrinterParser.js +0 -89
- package/node_modules/@js-joda/core/src/format/parser/FractionPrinterParser.js +0 -162
- package/node_modules/@js-joda/core/src/format/parser/NumberPrinterParser.js +0 -367
- package/node_modules/@js-joda/core/src/format/parser/OffsetIdPrinterParser.js +0 -177
- package/node_modules/@js-joda/core/src/format/parser/PadPrinterParserDecorator.js +0 -81
- package/node_modules/@js-joda/core/src/format/parser/SettingsParser.js +0 -44
- package/node_modules/@js-joda/core/src/format/parser/StringLiteralPrinterParser.js +0 -39
- package/node_modules/@js-joda/core/src/format/parser/ZoneIdPrinterParser.js +0 -218
- package/node_modules/@js-joda/core/src/js-joda.js +0 -204
- package/node_modules/@js-joda/core/src/license-preamble.js +0 -3
- package/node_modules/@js-joda/core/src/temporal/ChronoField.js +0 -362
- package/node_modules/@js-joda/core/src/temporal/ChronoUnit.js +0 -467
- package/node_modules/@js-joda/core/src/temporal/IsoFields.js +0 -856
- package/node_modules/@js-joda/core/src/temporal/NativeJsTemporal.js +0 -105
- package/node_modules/@js-joda/core/src/temporal/Temporal.js +0 -63
- package/node_modules/@js-joda/core/src/temporal/TemporalAccessor.js +0 -125
- package/node_modules/@js-joda/core/src/temporal/TemporalAdjuster.js +0 -92
- package/node_modules/@js-joda/core/src/temporal/TemporalAdjusters.js +0 -464
- package/node_modules/@js-joda/core/src/temporal/TemporalAmount.js +0 -166
- package/node_modules/@js-joda/core/src/temporal/TemporalField.js +0 -24
- package/node_modules/@js-joda/core/src/temporal/TemporalQueries.js +0 -223
- package/node_modules/@js-joda/core/src/temporal/TemporalQueriesFactory.js +0 -77
- package/node_modules/@js-joda/core/src/temporal/TemporalQuery.js +0 -107
- package/node_modules/@js-joda/core/src/temporal/TemporalUnit.js +0 -180
- package/node_modules/@js-joda/core/src/temporal/ValueRange.js +0 -256
- package/node_modules/@js-joda/core/src/use.js +0 -20
- package/node_modules/@js-joda/core/src/zone/SystemDefaultZoneId.js +0 -31
- package/node_modules/@js-joda/core/src/zone/SystemDefaultZoneRules.js +0 -162
- package/node_modules/@js-joda/core/src/zone/ZoneOffsetTransition.js +0 -289
- package/node_modules/@js-joda/core/src/zone/ZoneRules.js +0 -464
- package/node_modules/@js-joda/core/src/zone/ZoneRulesProvider.js +0 -36
- package/node_modules/@openfn/language-common/LICENSE +0 -674
- package/node_modules/@openfn/language-common/LICENSE.LESSER +0 -165
- package/node_modules/@openfn/language-common/README.md +0 -14
- package/node_modules/@openfn/language-common/ast.json +0 -1001
- package/node_modules/@openfn/language-common/lib/Adaptor.js +0 -569
- package/node_modules/@openfn/language-common/lib/beta.js +0 -64
- package/node_modules/@openfn/language-common/lib/http.js +0 -233
- package/node_modules/@openfn/language-common/lib/index.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/axios/CHANGELOG.md +0 -685
- package/node_modules/@openfn/language-common/node_modules/axios/LICENSE +0 -19
- package/node_modules/@openfn/language-common/node_modules/axios/README.md +0 -800
- package/node_modules/@openfn/language-common/node_modules/axios/UPGRADE_GUIDE.md +0 -162
- package/node_modules/@openfn/language-common/node_modules/axios/dist/axios.js +0 -1756
- package/node_modules/@openfn/language-common/node_modules/axios/dist/axios.map +0 -1
- package/node_modules/@openfn/language-common/node_modules/axios/dist/axios.min.js +0 -3
- package/node_modules/@openfn/language-common/node_modules/axios/dist/axios.min.map +0 -1
- package/node_modules/@openfn/language-common/node_modules/axios/index.d.ts +0 -161
- package/node_modules/@openfn/language-common/node_modules/axios/index.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/axios/lib/adapters/README.md +0 -37
- package/node_modules/@openfn/language-common/node_modules/axios/lib/adapters/http.js +0 -303
- package/node_modules/@openfn/language-common/node_modules/axios/lib/adapters/xhr.js +0 -179
- package/node_modules/@openfn/language-common/node_modules/axios/lib/axios.js +0 -56
- package/node_modules/@openfn/language-common/node_modules/axios/lib/cancel/Cancel.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/axios/lib/cancel/CancelToken.js +0 -57
- package/node_modules/@openfn/language-common/node_modules/axios/lib/cancel/isCancel.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/Axios.js +0 -95
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/InterceptorManager.js +0 -52
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/README.md +0 -7
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/buildFullPath.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/createError.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/dispatchRequest.js +0 -79
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/enhanceError.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/mergeConfig.js +0 -87
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/settle.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/axios/lib/core/transformData.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/axios/lib/defaults.js +0 -98
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/README.md +0 -7
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/bind.js +0 -11
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/buildURL.js +0 -70
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/combineURLs.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/cookies.js +0 -53
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/isAxiosError.js +0 -11
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
- package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/spread.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/axios/lib/utils.js +0 -351
- package/node_modules/@openfn/language-common/node_modules/axios/package.json +0 -115
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/LICENSE +0 -18
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/README.md +0 -148
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/debug.js +0 -9
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/http.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/https.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/index.js +0 -504
- package/node_modules/@openfn/language-common/node_modules/follow-redirects/package.json +0 -97
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/.babelrc.json +0 -5
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/.editorconfig +0 -16
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/.eslintignore +0 -5
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/.eslintrc.js +0 -93
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/CHANGES.md +0 -252
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/LICENSE-MIT.txt +0 -22
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/README.md +0 -376
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/demo/index.css +0 -19
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/demo/index.html +0 -32
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/demo/index.js +0 -48
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-es.js +0 -1062
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-es.min.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-es.min.js.map +0 -1
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-umd.js +0 -1072
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-umd.min.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-umd.min.js.map +0 -1
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/licenseInfo.json +0 -4
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/package.json +0 -169
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/src/jsonpath.d.ts +0 -196
- package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/src/jsonpath.js +0 -796
- package/node_modules/@openfn/language-common/node_modules/lodash/LICENSE +0 -47
- package/node_modules/@openfn/language-common/node_modules/lodash/README.md +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/_DataView.js +0 -7
- package/node_modules/@openfn/language-common/node_modules/lodash/_Hash.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/_LazyWrapper.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_ListCache.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/_LodashWrapper.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_Map.js +0 -7
- package/node_modules/@openfn/language-common/node_modules/lodash/_MapCache.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/_Promise.js +0 -7
- package/node_modules/@openfn/language-common/node_modules/lodash/_Set.js +0 -7
- package/node_modules/@openfn/language-common/node_modules/lodash/_SetCache.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/_Stack.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/_Symbol.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_Uint8Array.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_WeakMap.js +0 -7
- package/node_modules/@openfn/language-common/node_modules/lodash/_apply.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayAggregator.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayEach.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayEachRight.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayEvery.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayFilter.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayIncludes.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayIncludesWith.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayLikeKeys.js +0 -49
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayMap.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayPush.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayReduce.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayReduceRight.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_arraySample.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_arraySampleSize.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_arrayShuffle.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_arraySome.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_asciiSize.js +0 -12
- package/node_modules/@openfn/language-common/node_modules/lodash/_asciiToArray.js +0 -12
- package/node_modules/@openfn/language-common/node_modules/lodash/_asciiWords.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_assignMergeValue.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_assignValue.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_assocIndexOf.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseAggregator.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseAssign.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseAssignIn.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseAssignValue.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseAt.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseClamp.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseClone.js +0 -166
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseConforms.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseConformsTo.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseCreate.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseDelay.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseDifference.js +0 -67
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseEach.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseEachRight.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseEvery.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseExtremum.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFill.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFilter.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFindIndex.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFindKey.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFlatten.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFor.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseForOwn.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseForOwnRight.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseForRight.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseFunctions.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseGet.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseGetAllKeys.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseGetTag.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseGt.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseHas.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseHasIn.js +0 -13
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseInRange.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIndexOf.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIndexOfWith.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIntersection.js +0 -74
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseInverter.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseInvoke.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsArguments.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsArrayBuffer.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsDate.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsEqual.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsEqualDeep.js +0 -83
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsMap.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsMatch.js +0 -62
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsNaN.js +0 -12
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsNative.js +0 -47
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsRegExp.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsSet.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsTypedArray.js +0 -60
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseIteratee.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseKeys.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseKeysIn.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseLodash.js +0 -10
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseLt.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseMap.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseMatches.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseMatchesProperty.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseMean.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseMerge.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseMergeDeep.js +0 -94
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseNth.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseOrderBy.js +0 -49
- package/node_modules/@openfn/language-common/node_modules/lodash/_basePick.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_basePickBy.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseProperty.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_basePropertyDeep.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_basePropertyOf.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_basePullAll.js +0 -51
- package/node_modules/@openfn/language-common/node_modules/lodash/_basePullAt.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseRandom.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseRange.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseReduce.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseRepeat.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseRest.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSample.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSampleSize.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSet.js +0 -51
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSetData.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSetToString.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseShuffle.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSlice.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSome.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSortBy.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSortedIndex.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSortedIndexBy.js +0 -67
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSortedUniq.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseSum.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseTimes.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseToNumber.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseToPairs.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseToString.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseTrim.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseUnary.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseUniq.js +0 -72
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseUnset.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseUpdate.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseValues.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseWhile.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseWrapperValue.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseXor.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/_baseZipObject.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_cacheHas.js +0 -13
- package/node_modules/@openfn/language-common/node_modules/lodash/_castArrayLikeObject.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_castFunction.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_castPath.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_castRest.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_castSlice.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_charsEndIndex.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_charsStartIndex.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_cloneArrayBuffer.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_cloneBuffer.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/_cloneDataView.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_cloneRegExp.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_cloneSymbol.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_cloneTypedArray.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_compareAscending.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/_compareMultiple.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/_composeArgs.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/_composeArgsRight.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/_copyArray.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_copyObject.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/_copySymbols.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_copySymbolsIn.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_coreJsData.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_countHolders.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_createAggregator.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_createAssigner.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/_createBaseEach.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/_createBaseFor.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_createBind.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_createCaseFirst.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/_createCompounder.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_createCtor.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/_createCurry.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/_createFind.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_createFlow.js +0 -78
- package/node_modules/@openfn/language-common/node_modules/lodash/_createHybrid.js +0 -92
- package/node_modules/@openfn/language-common/node_modules/lodash/_createInverter.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_createMathOperation.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/_createOver.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/_createPadding.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/_createPartial.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/_createRange.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_createRecurry.js +0 -56
- package/node_modules/@openfn/language-common/node_modules/lodash/_createRelationalOperation.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_createRound.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/_createSet.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_createToPairs.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_createWrap.js +0 -106
- package/node_modules/@openfn/language-common/node_modules/lodash/_customDefaultsAssignIn.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/_customDefaultsMerge.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_customOmitClone.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_deburrLetter.js +0 -71
- package/node_modules/@openfn/language-common/node_modules/lodash/_defineProperty.js +0 -11
- package/node_modules/@openfn/language-common/node_modules/lodash/_equalArrays.js +0 -84
- package/node_modules/@openfn/language-common/node_modules/lodash/_equalByTag.js +0 -112
- package/node_modules/@openfn/language-common/node_modules/lodash/_equalObjects.js +0 -90
- package/node_modules/@openfn/language-common/node_modules/lodash/_escapeHtmlChar.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_escapeStringChar.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_flatRest.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_freeGlobal.js +0 -4
- package/node_modules/@openfn/language-common/node_modules/lodash/_getAllKeys.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_getAllKeysIn.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_getData.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_getFuncName.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/_getHolder.js +0 -13
- package/node_modules/@openfn/language-common/node_modules/lodash/_getMapData.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_getMatchData.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/_getNative.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_getPrototype.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_getRawTag.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/_getSymbols.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_getSymbolsIn.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_getTag.js +0 -58
- package/node_modules/@openfn/language-common/node_modules/lodash/_getValue.js +0 -13
- package/node_modules/@openfn/language-common/node_modules/lodash/_getView.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/_getWrapDetails.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_hasPath.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/_hasUnicode.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_hasUnicodeWord.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_hashClear.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_hashDelete.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/_hashGet.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_hashHas.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_hashSet.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_initCloneArray.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_initCloneByTag.js +0 -77
- package/node_modules/@openfn/language-common/node_modules/lodash/_initCloneObject.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_insertWrapDetails.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_isFlattenable.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_isIndex.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/_isIterateeCall.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_isKey.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/_isKeyable.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_isLaziable.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_isMaskable.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_isMasked.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_isPrototype.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_isStrictComparable.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_iteratorToArray.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_lazyClone.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_lazyReverse.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_lazyValue.js +0 -69
- package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheClear.js +0 -13
- package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheDelete.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheGet.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheHas.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheSet.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheClear.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheDelete.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheGet.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheHas.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheSet.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_mapToArray.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_matchesStrictComparable.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_memoizeCapped.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_mergeData.js +0 -90
- package/node_modules/@openfn/language-common/node_modules/lodash/_metaMap.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_nativeCreate.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_nativeKeys.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/_nativeKeysIn.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_nodeUtil.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/_objectToString.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/_overArg.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_overRest.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/_parent.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/_reEscape.js +0 -4
- package/node_modules/@openfn/language-common/node_modules/lodash/_reEvaluate.js +0 -4
- package/node_modules/@openfn/language-common/node_modules/lodash/_reInterpolate.js +0 -4
- package/node_modules/@openfn/language-common/node_modules/lodash/_realNames.js +0 -4
- package/node_modules/@openfn/language-common/node_modules/lodash/_reorder.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/_replaceHolders.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/_root.js +0 -9
- package/node_modules/@openfn/language-common/node_modules/lodash/_safeGet.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_setCacheAdd.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_setCacheHas.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_setData.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/_setToArray.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_setToPairs.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_setToString.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_setWrapToString.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_shortOut.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/_shuffleSelf.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/_stackClear.js +0 -15
- package/node_modules/@openfn/language-common/node_modules/lodash/_stackDelete.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_stackGet.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_stackHas.js +0 -14
- package/node_modules/@openfn/language-common/node_modules/lodash/_stackSet.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/_strictIndexOf.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/_strictLastIndexOf.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_stringSize.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_stringToArray.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/_stringToPath.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/_toKey.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_toSource.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/_trimmedEndIndex.js +0 -19
- package/node_modules/@openfn/language-common/node_modules/lodash/_unescapeHtmlChar.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/_unicodeSize.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/_unicodeToArray.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/_unicodeWords.js +0 -69
- package/node_modules/@openfn/language-common/node_modules/lodash/_updateWrapDetails.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/_wrapperClone.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/add.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/after.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/array.js +0 -67
- package/node_modules/@openfn/language-common/node_modules/lodash/ary.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/assign.js +0 -58
- package/node_modules/@openfn/language-common/node_modules/lodash/assignIn.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/assignInWith.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/assignWith.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/at.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/attempt.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/before.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/bind.js +0 -57
- package/node_modules/@openfn/language-common/node_modules/lodash/bindAll.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/bindKey.js +0 -68
- package/node_modules/@openfn/language-common/node_modules/lodash/camelCase.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/capitalize.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/castArray.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/ceil.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/chain.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/chunk.js +0 -50
- package/node_modules/@openfn/language-common/node_modules/lodash/clamp.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/clone.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/cloneDeep.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/cloneDeepWith.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/cloneWith.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/collection.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/commit.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/compact.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/concat.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/cond.js +0 -60
- package/node_modules/@openfn/language-common/node_modules/lodash/conforms.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/conformsTo.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/constant.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/core.js +0 -3877
- package/node_modules/@openfn/language-common/node_modules/lodash/core.min.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/countBy.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/create.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/curry.js +0 -57
- package/node_modules/@openfn/language-common/node_modules/lodash/curryRight.js +0 -54
- package/node_modules/@openfn/language-common/node_modules/lodash/date.js +0 -3
- package/node_modules/@openfn/language-common/node_modules/lodash/debounce.js +0 -191
- package/node_modules/@openfn/language-common/node_modules/lodash/deburr.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/defaultTo.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/defaults.js +0 -64
- package/node_modules/@openfn/language-common/node_modules/lodash/defaultsDeep.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/defer.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/delay.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/difference.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/differenceBy.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/differenceWith.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/divide.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/drop.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/dropRight.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/dropRightWhile.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/dropWhile.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/each.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/eachRight.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/endsWith.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/entries.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/entriesIn.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/eq.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/escape.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/escapeRegExp.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/every.js +0 -56
- package/node_modules/@openfn/language-common/node_modules/lodash/extend.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/extendWith.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fill.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/filter.js +0 -52
- package/node_modules/@openfn/language-common/node_modules/lodash/find.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/findIndex.js +0 -55
- package/node_modules/@openfn/language-common/node_modules/lodash/findKey.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/findLast.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/findLastIndex.js +0 -59
- package/node_modules/@openfn/language-common/node_modules/lodash/findLastKey.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/first.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/flake.lock +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/flake.nix +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/flatMap.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/flatMapDeep.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/flatMapDepth.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/flatten.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/flattenDeep.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/flattenDepth.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/flip.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/floor.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/flow.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/flowRight.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/forEach.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/forEachRight.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/forIn.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/forInRight.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/forOwn.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/forOwnRight.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/F.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/T.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/__.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/_baseConvert.js +0 -569
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/_convertBrowser.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/_falseOptions.js +0 -7
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/_mapping.js +0 -358
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/_util.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/add.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/after.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/all.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/allPass.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/always.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/any.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/anyPass.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/apply.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/array.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/ary.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assign.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignAllWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignInAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignInAllWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignInWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assoc.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/assocPath.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/at.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/attempt.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/before.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/bind.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/bindAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/bindKey.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/camelCase.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/capitalize.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/castArray.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/ceil.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/chain.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/chunk.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/clamp.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/clone.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/cloneDeep.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/cloneDeepWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/cloneWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/collection.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/commit.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/compact.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/complement.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/compose.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/concat.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/cond.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/conforms.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/conformsTo.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/constant.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/contains.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/convert.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/countBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/create.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/curry.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/curryN.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/curryRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/curryRightN.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/date.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/debounce.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/deburr.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaultTo.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaults.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaultsAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaultsDeep.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaultsDeepAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/defer.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/delay.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/difference.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/differenceBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/differenceWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dissoc.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dissocPath.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/divide.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/drop.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropLast.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropLastWhile.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropRightWhile.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropWhile.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/each.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/eachRight.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/endsWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/entries.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/entriesIn.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/eq.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/equals.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/escape.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/escapeRegExp.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/every.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/extend.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/extendAll.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/extendAllWith.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/extendWith.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/fill.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/filter.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/find.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findIndex.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findIndexFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findKey.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLast.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLastFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLastIndex.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLastIndexFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLastKey.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/first.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flatMap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flatMapDeep.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flatMapDepth.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flatten.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flattenDeep.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flattenDepth.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flip.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/floor.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flow.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/flowRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/forEach.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/forEachRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/forIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/forInRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/forOwn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/forOwnRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/fromPairs.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/function.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/functions.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/functionsIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/get.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/getOr.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/groupBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/gt.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/gte.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/has.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/hasIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/head.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/identical.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/identity.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/inRange.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/includes.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/includesFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/indexBy.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/indexOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/indexOfFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/init.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/initial.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/intersection.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/intersectionBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/intersectionWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invert.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invertBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invertObj.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invoke.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invokeArgs.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invokeArgsMap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/invokeMap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArguments.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArray.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArrayBuffer.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArrayLike.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArrayLikeObject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isBoolean.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isBuffer.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isDate.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isElement.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isEmpty.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isEqual.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isEqualWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isError.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isFinite.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isFunction.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isInteger.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isLength.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isMap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isMatch.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isMatchWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNaN.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNative.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNil.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNull.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNumber.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isObject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isObjectLike.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isPlainObject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isRegExp.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isSafeInteger.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isSet.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isString.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isSymbol.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isTypedArray.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isUndefined.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isWeakMap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/isWeakSet.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/iteratee.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/join.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/juxt.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/kebabCase.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/keyBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/keys.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/keysIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lang.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/last.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lastIndexOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lastIndexOfFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lowerCase.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lowerFirst.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lt.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/lte.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/map.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mapKeys.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mapValues.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/matches.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/matchesProperty.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/math.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/max.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/maxBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mean.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/meanBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/memoize.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/merge.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mergeAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mergeAllWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mergeWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/method.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/methodOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/min.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/minBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/mixin.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/multiply.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/nAry.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/negate.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/next.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/noop.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/now.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/nth.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/nthArg.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/number.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/object.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/omit.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/omitAll.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/omitBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/once.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/orderBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/over.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/overArgs.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/overEvery.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/overSome.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pad.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/padChars.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/padCharsEnd.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/padCharsStart.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/padEnd.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/padStart.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/parseInt.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/partial.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/partialRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/partition.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/path.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pathEq.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pathOr.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/paths.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pick.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pickAll.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pickBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pipe.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/placeholder.js +0 -6
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/plant.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pluck.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/prop.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/propEq.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/propOr.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/property.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/propertyOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/props.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pull.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pullAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pullAllBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pullAllWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/pullAt.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/random.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/range.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/rangeRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/rangeStep.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/rangeStepRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/rearg.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/reduce.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/reduceRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/reject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/remove.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/repeat.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/replace.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/rest.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/restFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/result.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/reverse.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/round.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sample.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sampleSize.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/seq.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/set.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/setWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/shuffle.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/size.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/slice.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/snakeCase.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/some.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedIndex.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedIndexBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedIndexOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedLastIndex.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedLastIndexBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedLastIndexOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedUniq.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedUniqBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/split.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/spread.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/spreadFrom.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/startCase.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/startsWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/string.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubArray.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubFalse.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubObject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubString.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubTrue.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/subtract.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sum.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/sumBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/symmetricDifference.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/symmetricDifferenceBy.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/symmetricDifferenceWith.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/tail.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/take.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeLast.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeLastWhile.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeRight.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeRightWhile.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeWhile.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/tap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/template.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/templateSettings.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/throttle.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/thru.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/times.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toArray.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toFinite.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toInteger.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toIterator.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toJSON.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toLength.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toLower.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toNumber.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toPairs.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toPairsIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toPath.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toPlainObject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toSafeInteger.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toString.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/toUpper.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/transform.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/trim.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimChars.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimCharsEnd.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimCharsStart.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimEnd.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimStart.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/truncate.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unapply.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unary.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unescape.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/union.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unionBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unionWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/uniq.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/uniqBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/uniqWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/uniqueId.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unnest.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unset.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unzip.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/unzipWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/update.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/updateWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/upperCase.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/upperFirst.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/useWith.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/util.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/value.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/valueOf.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/values.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/valuesIn.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/where.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/whereEq.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/without.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/words.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrap.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperAt.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperChain.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperLodash.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperReverse.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperValue.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/xor.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/xorBy.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/xorWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/zip.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipAll.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipObj.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipObject.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipObjectDeep.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipWith.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/fp.js +0 -2
- package/node_modules/@openfn/language-common/node_modules/lodash/fromPairs.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/function.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/functions.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/functionsIn.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/get.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/groupBy.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/gt.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/gte.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/has.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/hasIn.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/head.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/identity.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/inRange.js +0 -55
- package/node_modules/@openfn/language-common/node_modules/lodash/includes.js +0 -53
- package/node_modules/@openfn/language-common/node_modules/lodash/index.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/indexOf.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/initial.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/intersection.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/intersectionBy.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/intersectionWith.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/invert.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/invertBy.js +0 -56
- package/node_modules/@openfn/language-common/node_modules/lodash/invoke.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/invokeMap.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/isArguments.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/isArray.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/isArrayBuffer.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/isArrayLike.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/isArrayLikeObject.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/isBoolean.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/isBuffer.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/isDate.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/isElement.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/isEmpty.js +0 -77
- package/node_modules/@openfn/language-common/node_modules/lodash/isEqual.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/isEqualWith.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/isError.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/isFinite.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/isFunction.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/isInteger.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/isLength.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/isMap.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/isMatch.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/isMatchWith.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/isNaN.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/isNative.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/isNil.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/isNull.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/isNumber.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/isObject.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/isObjectLike.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/isPlainObject.js +0 -62
- package/node_modules/@openfn/language-common/node_modules/lodash/isRegExp.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/isSafeInteger.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/isSet.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/isString.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/isSymbol.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/isTypedArray.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/isUndefined.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/isWeakMap.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/isWeakSet.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/iteratee.js +0 -53
- package/node_modules/@openfn/language-common/node_modules/lodash/join.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/kebabCase.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/keyBy.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/keys.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/keysIn.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/lang.js +0 -58
- package/node_modules/@openfn/language-common/node_modules/lodash/last.js +0 -20
- package/node_modules/@openfn/language-common/node_modules/lodash/lastIndexOf.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/lodash.js +0 -17209
- package/node_modules/@openfn/language-common/node_modules/lodash/lodash.min.js +0 -140
- package/node_modules/@openfn/language-common/node_modules/lodash/lowerCase.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/lowerFirst.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/lt.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/lte.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/map.js +0 -53
- package/node_modules/@openfn/language-common/node_modules/lodash/mapKeys.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/mapValues.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/matches.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/matchesProperty.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/math.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/max.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/maxBy.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/mean.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/meanBy.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/memoize.js +0 -73
- package/node_modules/@openfn/language-common/node_modules/lodash/merge.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/mergeWith.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/method.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/methodOf.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/min.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/minBy.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/mixin.js +0 -74
- package/node_modules/@openfn/language-common/node_modules/lodash/multiply.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/negate.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/next.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/noop.js +0 -17
- package/node_modules/@openfn/language-common/node_modules/lodash/now.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/nth.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/nthArg.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/number.js +0 -5
- package/node_modules/@openfn/language-common/node_modules/lodash/object.js +0 -49
- package/node_modules/@openfn/language-common/node_modules/lodash/omit.js +0 -57
- package/node_modules/@openfn/language-common/node_modules/lodash/omitBy.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/once.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/orderBy.js +0 -47
- package/node_modules/@openfn/language-common/node_modules/lodash/over.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/overArgs.js +0 -61
- package/node_modules/@openfn/language-common/node_modules/lodash/overEvery.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/overSome.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/package.json +0 -65
- package/node_modules/@openfn/language-common/node_modules/lodash/pad.js +0 -49
- package/node_modules/@openfn/language-common/node_modules/lodash/padEnd.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/padStart.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/parseInt.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/partial.js +0 -50
- package/node_modules/@openfn/language-common/node_modules/lodash/partialRight.js +0 -49
- package/node_modules/@openfn/language-common/node_modules/lodash/partition.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/pick.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/pickBy.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/plant.js +0 -48
- package/node_modules/@openfn/language-common/node_modules/lodash/property.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/propertyOf.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/pull.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/pullAll.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/pullAllBy.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/pullAllWith.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/pullAt.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/random.js +0 -82
- package/node_modules/@openfn/language-common/node_modules/lodash/range.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/rangeRight.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/rearg.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/reduce.js +0 -51
- package/node_modules/@openfn/language-common/node_modules/lodash/reduceRight.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/reject.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/release.md +0 -48
- package/node_modules/@openfn/language-common/node_modules/lodash/remove.js +0 -53
- package/node_modules/@openfn/language-common/node_modules/lodash/repeat.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/replace.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/rest.js +0 -40
- package/node_modules/@openfn/language-common/node_modules/lodash/result.js +0 -56
- package/node_modules/@openfn/language-common/node_modules/lodash/reverse.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/round.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/sample.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/sampleSize.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/seq.js +0 -16
- package/node_modules/@openfn/language-common/node_modules/lodash/set.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/setWith.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/shuffle.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/size.js +0 -46
- package/node_modules/@openfn/language-common/node_modules/lodash/slice.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/snakeCase.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/some.js +0 -51
- package/node_modules/@openfn/language-common/node_modules/lodash/sortBy.js +0 -48
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedIndex.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedIndexBy.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedIndexOf.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedLastIndex.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedLastIndexBy.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedLastIndexOf.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedUniq.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/sortedUniqBy.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/split.js +0 -52
- package/node_modules/@openfn/language-common/node_modules/lodash/spread.js +0 -63
- package/node_modules/@openfn/language-common/node_modules/lodash/startCase.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/startsWith.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/string.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/stubArray.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/stubFalse.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/stubObject.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/stubString.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/stubTrue.js +0 -18
- package/node_modules/@openfn/language-common/node_modules/lodash/subtract.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/sum.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/sumBy.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/tail.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/take.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/takeRight.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/takeRightWhile.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/takeWhile.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/tap.js +0 -29
- package/node_modules/@openfn/language-common/node_modules/lodash/template.js +0 -272
- package/node_modules/@openfn/language-common/node_modules/lodash/templateSettings.js +0 -67
- package/node_modules/@openfn/language-common/node_modules/lodash/throttle.js +0 -69
- package/node_modules/@openfn/language-common/node_modules/lodash/thru.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/times.js +0 -51
- package/node_modules/@openfn/language-common/node_modules/lodash/toArray.js +0 -58
- package/node_modules/@openfn/language-common/node_modules/lodash/toFinite.js +0 -42
- package/node_modules/@openfn/language-common/node_modules/lodash/toInteger.js +0 -36
- package/node_modules/@openfn/language-common/node_modules/lodash/toIterator.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/toJSON.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/toLength.js +0 -38
- package/node_modules/@openfn/language-common/node_modules/lodash/toLower.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/toNumber.js +0 -64
- package/node_modules/@openfn/language-common/node_modules/lodash/toPairs.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/toPairsIn.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/toPath.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/toPlainObject.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/toSafeInteger.js +0 -37
- package/node_modules/@openfn/language-common/node_modules/lodash/toString.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/toUpper.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/transform.js +0 -65
- package/node_modules/@openfn/language-common/node_modules/lodash/trim.js +0 -47
- package/node_modules/@openfn/language-common/node_modules/lodash/trimEnd.js +0 -41
- package/node_modules/@openfn/language-common/node_modules/lodash/trimStart.js +0 -43
- package/node_modules/@openfn/language-common/node_modules/lodash/truncate.js +0 -111
- package/node_modules/@openfn/language-common/node_modules/lodash/unary.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/unescape.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/union.js +0 -26
- package/node_modules/@openfn/language-common/node_modules/lodash/unionBy.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/unionWith.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/uniq.js +0 -25
- package/node_modules/@openfn/language-common/node_modules/lodash/uniqBy.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/uniqWith.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/uniqueId.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/unset.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/unzip.js +0 -45
- package/node_modules/@openfn/language-common/node_modules/lodash/unzipWith.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/update.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/updateWith.js +0 -33
- package/node_modules/@openfn/language-common/node_modules/lodash/upperCase.js +0 -27
- package/node_modules/@openfn/language-common/node_modules/lodash/upperFirst.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/util.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/value.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/valueOf.js +0 -1
- package/node_modules/@openfn/language-common/node_modules/lodash/values.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/valuesIn.js +0 -32
- package/node_modules/@openfn/language-common/node_modules/lodash/without.js +0 -31
- package/node_modules/@openfn/language-common/node_modules/lodash/words.js +0 -35
- package/node_modules/@openfn/language-common/node_modules/lodash/wrap.js +0 -30
- package/node_modules/@openfn/language-common/node_modules/lodash/wrapperAt.js +0 -48
- package/node_modules/@openfn/language-common/node_modules/lodash/wrapperChain.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/wrapperLodash.js +0 -147
- package/node_modules/@openfn/language-common/node_modules/lodash/wrapperReverse.js +0 -44
- package/node_modules/@openfn/language-common/node_modules/lodash/wrapperValue.js +0 -21
- package/node_modules/@openfn/language-common/node_modules/lodash/xor.js +0 -28
- package/node_modules/@openfn/language-common/node_modules/lodash/xorBy.js +0 -39
- package/node_modules/@openfn/language-common/node_modules/lodash/xorWith.js +0 -34
- package/node_modules/@openfn/language-common/node_modules/lodash/zip.js +0 -22
- package/node_modules/@openfn/language-common/node_modules/lodash/zipObject.js +0 -24
- package/node_modules/@openfn/language-common/node_modules/lodash/zipObjectDeep.js +0 -23
- package/node_modules/@openfn/language-common/node_modules/lodash/zipWith.js +0 -32
- package/node_modules/@openfn/language-common/package.json +0 -86
- package/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@types/node/README.md +0 -16
- package/node_modules/@types/node/assert.d.ts +0 -53
- package/node_modules/@types/node/async_hooks.d.ts +0 -132
- package/node_modules/@types/node/base.d.ts +0 -41
- package/node_modules/@types/node/buffer.d.ts +0 -22
- package/node_modules/@types/node/child_process.d.ts +0 -495
- package/node_modules/@types/node/cluster.d.ts +0 -266
- package/node_modules/@types/node/console.d.ts +0 -3
- package/node_modules/@types/node/constants.d.ts +0 -8
- package/node_modules/@types/node/crypto.d.ts +0 -615
- package/node_modules/@types/node/dgram.d.ts +0 -141
- package/node_modules/@types/node/dns.d.ts +0 -366
- package/node_modules/@types/node/domain.d.ts +0 -16
- package/node_modules/@types/node/events.d.ts +0 -50
- package/node_modules/@types/node/fs.d.ts +0 -2458
- package/node_modules/@types/node/globals.d.ts +0 -1105
- package/node_modules/@types/node/http.d.ts +0 -395
- package/node_modules/@types/node/http2.d.ts +0 -947
- package/node_modules/@types/node/https.d.ts +0 -37
- package/node_modules/@types/node/index.d.ts +0 -83
- package/node_modules/@types/node/inspector.d.ts +0 -3034
- package/node_modules/@types/node/module.d.ts +0 -21
- package/node_modules/@types/node/net.d.ts +0 -268
- package/node_modules/@types/node/os.d.ts +0 -231
- package/node_modules/@types/node/package.json +0 -223
- package/node_modules/@types/node/path.d.ts +0 -153
- package/node_modules/@types/node/perf_hooks.d.ts +0 -304
- package/node_modules/@types/node/process.d.ts +0 -15
- package/node_modules/@types/node/punycode.d.ts +0 -12
- package/node_modules/@types/node/querystring.d.ts +0 -29
- package/node_modules/@types/node/readline.d.ts +0 -169
- package/node_modules/@types/node/repl.d.ts +0 -387
- package/node_modules/@types/node/stream.d.ts +0 -326
- package/node_modules/@types/node/string_decoder.d.ts +0 -7
- package/node_modules/@types/node/timers.d.ts +0 -16
- package/node_modules/@types/node/tls.d.ts +0 -759
- package/node_modules/@types/node/trace_events.d.ts +0 -61
- package/node_modules/@types/node/ts3.5/fs.d.ts +0 -33
- package/node_modules/@types/node/ts3.5/globals.d.ts +0 -19
- package/node_modules/@types/node/ts3.5/index.d.ts +0 -17
- package/node_modules/@types/node/ts3.5/util.d.ts +0 -9
- package/node_modules/@types/node/ts3.5/wasi.d.ts +0 -45
- package/node_modules/@types/node/tty.d.ts +0 -66
- package/node_modules/@types/node/url.d.ts +0 -110
- package/node_modules/@types/node/util.d.ts +0 -190
- package/node_modules/@types/node/v8.d.ts +0 -187
- package/node_modules/@types/node/vm.d.ts +0 -110
- package/node_modules/@types/node/worker_threads.d.ts +0 -168
- package/node_modules/@types/node/zlib.d.ts +0 -352
- package/node_modules/@types/tunnel/LICENSE +0 -21
- package/node_modules/@types/tunnel/README.md +0 -16
- package/node_modules/@types/tunnel/index.d.ts +0 -46
- package/node_modules/@types/tunnel/package.json +0 -57
- package/node_modules/adal-node/.jshintrc +0 -29
- package/node_modules/adal-node/.npmignore +0 -14
- package/node_modules/adal-node/.travis.yml +0 -4
- package/node_modules/adal-node/LICENSE.txt +0 -201
- package/node_modules/adal-node/README.md +0 -145
- package/node_modules/adal-node/changelog.md +0 -126
- package/node_modules/adal-node/lib/adal.d.ts +0 -438
- package/node_modules/adal-node/lib/adal.js +0 -53
- package/node_modules/adal-node/lib/argument.js +0 -74
- package/node_modules/adal-node/lib/authentication-context.js +0 -465
- package/node_modules/adal-node/lib/authentication-parameters.js +0 -264
- package/node_modules/adal-node/lib/authority.js +0 -279
- package/node_modules/adal-node/lib/cache-driver.js +0 -522
- package/node_modules/adal-node/lib/code-request.js +0 -99
- package/node_modules/adal-node/lib/constants.js +0 -207
- package/node_modules/adal-node/lib/log.js +0 -237
- package/node_modules/adal-node/lib/memory-cache.js +0 -92
- package/node_modules/adal-node/lib/mex.js +0 -349
- package/node_modules/adal-node/lib/oauth2client.js +0 -534
- package/node_modules/adal-node/lib/self-signed-jwt.js +0 -176
- package/node_modules/adal-node/lib/token-request.js +0 -607
- package/node_modules/adal-node/lib/user-realm.js +0 -268
- package/node_modules/adal-node/lib/util.js +0 -188
- package/node_modules/adal-node/lib/wstrust-request.js +0 -240
- package/node_modules/adal-node/lib/wstrust-response.js +0 -288
- package/node_modules/adal-node/lib/xmlutil.js +0 -127
- package/node_modules/adal-node/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/adal-node/node_modules/@types/node/README.md +0 -16
- package/node_modules/adal-node/node_modules/@types/node/base.d.ts +0 -7384
- package/node_modules/adal-node/node_modules/@types/node/index.d.ts +0 -69
- package/node_modules/adal-node/node_modules/@types/node/inspector.d.ts +0 -2512
- package/node_modules/adal-node/node_modules/@types/node/package.json +0 -159
- package/node_modules/adal-node/node_modules/@types/node/ts3.2/index.d.ts +0 -23
- package/node_modules/adal-node/package-lock.json +0 -1023
- package/node_modules/adal-node/package.json +0 -88
- package/node_modules/adal-node/tsconfig.json +0 -37
- package/node_modules/ajv/.tonic_example.js +0 -20
- package/node_modules/ajv/LICENSE +0 -22
- package/node_modules/ajv/README.md +0 -1380
- package/node_modules/ajv/dist/ajv.bundle.js +0 -7163
- package/node_modules/ajv/dist/ajv.min.js +0 -3
- package/node_modules/ajv/dist/ajv.min.js.map +0 -1
- package/node_modules/ajv/lib/ajv.d.ts +0 -391
- package/node_modules/ajv/lib/ajv.js +0 -497
- package/node_modules/ajv/lib/cache.js +0 -26
- package/node_modules/ajv/lib/compile/async.js +0 -90
- package/node_modules/ajv/lib/compile/equal.js +0 -5
- package/node_modules/ajv/lib/compile/error_classes.js +0 -34
- package/node_modules/ajv/lib/compile/formats.js +0 -149
- package/node_modules/ajv/lib/compile/index.js +0 -387
- package/node_modules/ajv/lib/compile/resolve.js +0 -270
- package/node_modules/ajv/lib/compile/rules.js +0 -66
- package/node_modules/ajv/lib/compile/schema_obj.js +0 -9
- package/node_modules/ajv/lib/compile/ucs2length.js +0 -20
- package/node_modules/ajv/lib/compile/util.js +0 -274
- package/node_modules/ajv/lib/data.js +0 -49
- package/node_modules/ajv/lib/definition_schema.js +0 -37
- package/node_modules/ajv/lib/dot/_limit.jst +0 -104
- package/node_modules/ajv/lib/dot/_limitItems.jst +0 -10
- package/node_modules/ajv/lib/dot/_limitLength.jst +0 -10
- package/node_modules/ajv/lib/dot/_limitProperties.jst +0 -10
- package/node_modules/ajv/lib/dot/allOf.jst +0 -34
- package/node_modules/ajv/lib/dot/anyOf.jst +0 -48
- package/node_modules/ajv/lib/dot/coerce.def +0 -61
- package/node_modules/ajv/lib/dot/comment.jst +0 -9
- package/node_modules/ajv/lib/dot/const.jst +0 -11
- package/node_modules/ajv/lib/dot/contains.jst +0 -57
- package/node_modules/ajv/lib/dot/custom.jst +0 -191
- package/node_modules/ajv/lib/dot/defaults.def +0 -47
- package/node_modules/ajv/lib/dot/definitions.def +0 -201
- package/node_modules/ajv/lib/dot/dependencies.jst +0 -80
- package/node_modules/ajv/lib/dot/enum.jst +0 -30
- package/node_modules/ajv/lib/dot/errors.def +0 -194
- package/node_modules/ajv/lib/dot/format.jst +0 -106
- package/node_modules/ajv/lib/dot/if.jst +0 -75
- package/node_modules/ajv/lib/dot/items.jst +0 -100
- package/node_modules/ajv/lib/dot/missing.def +0 -39
- package/node_modules/ajv/lib/dot/multipleOf.jst +0 -20
- package/node_modules/ajv/lib/dot/not.jst +0 -43
- package/node_modules/ajv/lib/dot/oneOf.jst +0 -54
- package/node_modules/ajv/lib/dot/pattern.jst +0 -14
- package/node_modules/ajv/lib/dot/properties.jst +0 -244
- package/node_modules/ajv/lib/dot/propertyNames.jst +0 -54
- package/node_modules/ajv/lib/dot/ref.jst +0 -85
- package/node_modules/ajv/lib/dot/required.jst +0 -108
- package/node_modules/ajv/lib/dot/uniqueItems.jst +0 -62
- package/node_modules/ajv/lib/dot/validate.jst +0 -282
- package/node_modules/ajv/lib/dotjs/README.md +0 -3
- package/node_modules/ajv/lib/dotjs/_limit.js +0 -157
- package/node_modules/ajv/lib/dotjs/_limitItems.js +0 -77
- package/node_modules/ajv/lib/dotjs/_limitLength.js +0 -82
- package/node_modules/ajv/lib/dotjs/_limitProperties.js +0 -77
- package/node_modules/ajv/lib/dotjs/allOf.js +0 -43
- package/node_modules/ajv/lib/dotjs/anyOf.js +0 -74
- package/node_modules/ajv/lib/dotjs/comment.js +0 -14
- package/node_modules/ajv/lib/dotjs/const.js +0 -56
- package/node_modules/ajv/lib/dotjs/contains.js +0 -82
- package/node_modules/ajv/lib/dotjs/custom.js +0 -228
- package/node_modules/ajv/lib/dotjs/dependencies.js +0 -168
- package/node_modules/ajv/lib/dotjs/enum.js +0 -66
- package/node_modules/ajv/lib/dotjs/format.js +0 -150
- package/node_modules/ajv/lib/dotjs/if.js +0 -104
- package/node_modules/ajv/lib/dotjs/index.js +0 -33
- package/node_modules/ajv/lib/dotjs/items.js +0 -141
- package/node_modules/ajv/lib/dotjs/multipleOf.js +0 -77
- package/node_modules/ajv/lib/dotjs/not.js +0 -84
- package/node_modules/ajv/lib/dotjs/oneOf.js +0 -73
- package/node_modules/ajv/lib/dotjs/pattern.js +0 -75
- package/node_modules/ajv/lib/dotjs/properties.js +0 -330
- package/node_modules/ajv/lib/dotjs/propertyNames.js +0 -82
- package/node_modules/ajv/lib/dotjs/ref.js +0 -124
- package/node_modules/ajv/lib/dotjs/required.js +0 -270
- package/node_modules/ajv/lib/dotjs/uniqueItems.js +0 -86
- package/node_modules/ajv/lib/dotjs/validate.js +0 -494
- package/node_modules/ajv/lib/keyword.js +0 -146
- package/node_modules/ajv/lib/refs/data.json +0 -17
- package/node_modules/ajv/lib/refs/json-schema-draft-04.json +0 -149
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -154
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -168
- package/node_modules/ajv/lib/refs/json-schema-secure.json +0 -94
- package/node_modules/ajv/package.json +0 -128
- package/node_modules/ajv/scripts/.eslintrc.yml +0 -3
- package/node_modules/ajv/scripts/bundle.js +0 -61
- package/node_modules/ajv/scripts/compile-dots.js +0 -73
- package/node_modules/ajv/scripts/info +0 -10
- package/node_modules/ajv/scripts/prepare-tests +0 -12
- package/node_modules/ajv/scripts/publish-built-version +0 -32
- package/node_modules/ajv/scripts/travis-gh-pages +0 -23
- package/node_modules/asn1/LICENSE +0 -19
- package/node_modules/asn1/README.md +0 -50
- package/node_modules/asn1/lib/ber/errors.js +0 -13
- package/node_modules/asn1/lib/ber/index.js +0 -27
- package/node_modules/asn1/lib/ber/reader.js +0 -262
- package/node_modules/asn1/lib/ber/types.js +0 -36
- package/node_modules/asn1/lib/ber/writer.js +0 -317
- package/node_modules/asn1/lib/index.js +0 -20
- package/node_modules/asn1/package.json +0 -78
- package/node_modules/assert-plus/AUTHORS +0 -6
- package/node_modules/assert-plus/CHANGES.md +0 -14
- package/node_modules/assert-plus/README.md +0 -162
- package/node_modules/assert-plus/assert.js +0 -211
- package/node_modules/assert-plus/package.json +0 -90
- package/node_modules/async/CHANGELOG.md +0 -125
- package/node_modules/async/LICENSE +0 -19
- package/node_modules/async/README.md +0 -1877
- package/node_modules/async/dist/async.js +0 -1265
- package/node_modules/async/dist/async.min.js +0 -2
- package/node_modules/async/lib/async.js +0 -1265
- package/node_modules/async/package.json +0 -117
- package/node_modules/asynckit/LICENSE +0 -21
- package/node_modules/asynckit/README.md +0 -233
- package/node_modules/asynckit/bench.js +0 -76
- package/node_modules/asynckit/index.js +0 -6
- package/node_modules/asynckit/lib/abort.js +0 -29
- package/node_modules/asynckit/lib/async.js +0 -34
- package/node_modules/asynckit/lib/defer.js +0 -26
- package/node_modules/asynckit/lib/iterate.js +0 -75
- package/node_modules/asynckit/lib/readable_asynckit.js +0 -91
- package/node_modules/asynckit/lib/readable_parallel.js +0 -25
- package/node_modules/asynckit/lib/readable_serial.js +0 -25
- package/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
- package/node_modules/asynckit/lib/state.js +0 -37
- package/node_modules/asynckit/lib/streamify.js +0 -141
- package/node_modules/asynckit/lib/terminator.js +0 -29
- package/node_modules/asynckit/package.json +0 -95
- package/node_modules/asynckit/parallel.js +0 -43
- package/node_modules/asynckit/serial.js +0 -17
- package/node_modules/asynckit/serialOrdered.js +0 -75
- package/node_modules/asynckit/stream.js +0 -21
- package/node_modules/aws-sign2/LICENSE +0 -55
- package/node_modules/aws-sign2/README.md +0 -4
- package/node_modules/aws-sign2/index.js +0 -212
- package/node_modules/aws-sign2/package.json +0 -53
- package/node_modules/aws4/.travis.yml +0 -9
- package/node_modules/aws4/LICENSE +0 -19
- package/node_modules/aws4/README.md +0 -523
- package/node_modules/aws4/aws4.js +0 -345
- package/node_modules/aws4/lru.js +0 -96
- package/node_modules/aws4/package.json +0 -108
- package/node_modules/axios/CHANGELOG.md +0 -413
- package/node_modules/axios/LICENSE +0 -19
- package/node_modules/axios/README.md +0 -709
- package/node_modules/axios/UPGRADE_GUIDE.md +0 -162
- package/node_modules/axios/dist/axios.js +0 -1715
- package/node_modules/axios/dist/axios.map +0 -1
- package/node_modules/axios/dist/axios.min.js +0 -3
- package/node_modules/axios/dist/axios.min.map +0 -1
- package/node_modules/axios/index.d.ts +0 -157
- package/node_modules/axios/index.js +0 -1
- package/node_modules/axios/lib/adapters/README.md +0 -37
- package/node_modules/axios/lib/adapters/http.js +0 -279
- package/node_modules/axios/lib/adapters/xhr.js +0 -180
- package/node_modules/axios/lib/axios.js +0 -53
- package/node_modules/axios/lib/cancel/Cancel.js +0 -19
- package/node_modules/axios/lib/cancel/CancelToken.js +0 -57
- package/node_modules/axios/lib/cancel/isCancel.js +0 -5
- package/node_modules/axios/lib/core/Axios.js +0 -94
- package/node_modules/axios/lib/core/InterceptorManager.js +0 -52
- package/node_modules/axios/lib/core/README.md +0 -7
- package/node_modules/axios/lib/core/buildFullPath.js +0 -20
- package/node_modules/axios/lib/core/createError.js +0 -18
- package/node_modules/axios/lib/core/dispatchRequest.js +0 -79
- package/node_modules/axios/lib/core/enhanceError.js +0 -42
- package/node_modules/axios/lib/core/mergeConfig.js +0 -73
- package/node_modules/axios/lib/core/settle.js +0 -25
- package/node_modules/axios/lib/core/transformData.js +0 -20
- package/node_modules/axios/lib/defaults.js +0 -97
- package/node_modules/axios/lib/helpers/README.md +0 -7
- package/node_modules/axios/lib/helpers/bind.js +0 -11
- package/node_modules/axios/lib/helpers/buildURL.js +0 -71
- package/node_modules/axios/lib/helpers/combineURLs.js +0 -14
- package/node_modules/axios/lib/helpers/cookies.js +0 -53
- package/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
- package/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
- package/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
- package/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
- package/node_modules/axios/lib/helpers/spread.js +0 -27
- package/node_modules/axios/lib/utils.js +0 -344
- package/node_modules/axios/package.json +0 -114
- package/node_modules/bcrypt-pbkdf/CONTRIBUTING.md +0 -13
- package/node_modules/bcrypt-pbkdf/LICENSE +0 -66
- package/node_modules/bcrypt-pbkdf/README.md +0 -45
- package/node_modules/bcrypt-pbkdf/index.js +0 -556
- package/node_modules/bcrypt-pbkdf/package.json +0 -47
- package/node_modules/bl/.jshintrc +0 -60
- package/node_modules/bl/.travis.yml +0 -13
- package/node_modules/bl/LICENSE.md +0 -13
- package/node_modules/bl/README.md +0 -218
- package/node_modules/bl/bl.js +0 -391
- package/node_modules/bl/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/bl/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/bl/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/bl/node_modules/readable-stream/README.md +0 -106
- package/node_modules/bl/node_modules/readable-stream/errors-browser.js +0 -127
- package/node_modules/bl/node_modules/readable-stream/errors.js +0 -116
- package/node_modules/bl/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +0 -139
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +0 -39
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +0 -1124
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +0 -201
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +0 -697
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -207
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -210
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -104
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/from.js +0 -64
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -97
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/state.js +0 -27
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/bl/node_modules/readable-stream/package.json +0 -100
- package/node_modules/bl/node_modules/readable-stream/readable-browser.js +0 -9
- package/node_modules/bl/node_modules/readable-stream/readable.js +0 -16
- package/node_modules/bl/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/bl/node_modules/string_decoder/README.md +0 -47
- package/node_modules/bl/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/node_modules/bl/node_modules/string_decoder/package.json +0 -65
- package/node_modules/bl/package.json +0 -69
- package/node_modules/bl/test/indexOf.js +0 -463
- package/node_modules/bl/test/test.js +0 -796
- package/node_modules/buffer-equal-constant-time/.npmignore +0 -2
- package/node_modules/buffer-equal-constant-time/.travis.yml +0 -4
- package/node_modules/buffer-equal-constant-time/LICENSE.txt +0 -12
- package/node_modules/buffer-equal-constant-time/README.md +0 -50
- package/node_modules/buffer-equal-constant-time/index.js +0 -41
- package/node_modules/buffer-equal-constant-time/package.json +0 -58
- package/node_modules/buffer-equal-constant-time/test.js +0 -42
- package/node_modules/caseless/LICENSE +0 -28
- package/node_modules/caseless/README.md +0 -45
- package/node_modules/caseless/index.js +0 -67
- package/node_modules/caseless/package.json +0 -59
- package/node_modules/caseless/test.js +0 -67
- package/node_modules/combined-stream/License +0 -19
- package/node_modules/combined-stream/Readme.md +0 -138
- package/node_modules/combined-stream/lib/combined_stream.js +0 -208
- package/node_modules/combined-stream/package.json +0 -63
- package/node_modules/combined-stream/yarn.lock +0 -17
- package/node_modules/core-util-is/LICENSE +0 -19
- package/node_modules/core-util-is/README.md +0 -3
- package/node_modules/core-util-is/float.patch +0 -604
- package/node_modules/core-util-is/lib/util.js +0 -107
- package/node_modules/core-util-is/package.json +0 -67
- package/node_modules/core-util-is/test.js +0 -68
- package/node_modules/dashdash/CHANGES.md +0 -364
- package/node_modules/dashdash/LICENSE.txt +0 -24
- package/node_modules/dashdash/README.md +0 -574
- package/node_modules/dashdash/etc/dashdash.bash_completion.in +0 -389
- package/node_modules/dashdash/lib/dashdash.js +0 -1055
- package/node_modules/dashdash/package.json +0 -70
- package/node_modules/date-utils/.npmignore +0 -1
- package/node_modules/date-utils/.travis.yml +0 -3
- package/node_modules/date-utils/LICENSE +0 -19
- package/node_modules/date-utils/README.md +0 -53
- package/node_modules/date-utils/bower.json +0 -10
- package/node_modules/date-utils/doc/Date.html +0 -8997
- package/node_modules/date-utils/doc/classes.list.html +0 -227
- package/node_modules/date-utils/doc/date-utils.js.html +0 -1138
- package/node_modules/date-utils/doc/img/glyphicons-halflings-white.png +0 -0
- package/node_modules/date-utils/doc/img/glyphicons-halflings.png +0 -0
- package/node_modules/date-utils/doc/index.html +0 -195
- package/node_modules/date-utils/doc/scripts/URI.js +0 -1429
- package/node_modules/date-utils/doc/scripts/bootstrap-dropdown.js +0 -169
- package/node_modules/date-utils/doc/scripts/bootstrap-tab.js +0 -144
- package/node_modules/date-utils/doc/scripts/docstrap.lib.js +0 -9
- package/node_modules/date-utils/doc/scripts/linenumber.js +0 -25
- package/node_modules/date-utils/doc/scripts/prettify/Apache-License-2.0.txt +0 -202
- package/node_modules/date-utils/doc/scripts/prettify/jquery.min.js +0 -6
- package/node_modules/date-utils/doc/scripts/prettify/lang-css.js +0 -21
- package/node_modules/date-utils/doc/scripts/prettify/prettify.js +0 -496
- package/node_modules/date-utils/doc/scripts/sunlight.js +0 -1157
- package/node_modules/date-utils/doc/scripts/toc.js +0 -100
- package/node_modules/date-utils/doc/styles/darkstrap.css +0 -960
- package/node_modules/date-utils/doc/styles/jsdoc-default.css +0 -334
- package/node_modules/date-utils/doc/styles/prettify-jsdoc.css +0 -111
- package/node_modules/date-utils/doc/styles/prettify-tomorrow.css +0 -132
- package/node_modules/date-utils/doc/styles/site.amelia.css +0 -6369
- package/node_modules/date-utils/doc/styles/site.cerulean.css +0 -5701
- package/node_modules/date-utils/doc/styles/site.cosmo.css +0 -5944
- package/node_modules/date-utils/doc/styles/site.cyborg.css +0 -6151
- package/node_modules/date-utils/doc/styles/site.darkstrap.css +0 -5638
- package/node_modules/date-utils/doc/styles/site.flatly.css +0 -5993
- package/node_modules/date-utils/doc/styles/site.journal.css +0 -5745
- package/node_modules/date-utils/doc/styles/site.readable.css +0 -5433
- package/node_modules/date-utils/doc/styles/site.simplex.css +0 -5758
- package/node_modules/date-utils/doc/styles/site.slate.css +0 -6204
- package/node_modules/date-utils/doc/styles/site.spacelab.css +0 -5796
- package/node_modules/date-utils/doc/styles/site.spruce.css +0 -5938
- package/node_modules/date-utils/doc/styles/site.superhero.css +0 -6106
- package/node_modules/date-utils/doc/styles/site.united.css +0 -5545
- package/node_modules/date-utils/doc/styles/sunlight.dark.css +0 -345
- package/node_modules/date-utils/doc/styles/sunlight.default.css +0 -344
- package/node_modules/date-utils/gulpfile.js +0 -33
- package/node_modules/date-utils/jsdoc.json +0 -28
- package/node_modules/date-utils/lib/date-utils.js +0 -1851
- package/node_modules/date-utils/lib/date-utils.min.js +0 -1
- package/node_modules/date-utils/package.json +0 -80
- package/node_modules/date-utils/test/date-format-test.js +0 -151
- package/node_modules/date-utils/test/date-language-dos-test.js +0 -81
- package/node_modules/date-utils/test/date-language-pt-br-test.js +0 -82
- package/node_modules/date-utils/test/date-language-test.js +0 -82
- package/node_modules/date-utils/test/date-new-test.js +0 -105
- package/node_modules/date-utils/test/date-parse-test.js +0 -128
- package/node_modules/date-utils/test/date-validate-test.js +0 -1063
- package/node_modules/delayed-stream/.npmignore +0 -1
- package/node_modules/delayed-stream/License +0 -19
- package/node_modules/delayed-stream/Makefile +0 -7
- package/node_modules/delayed-stream/Readme.md +0 -141
- package/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- package/node_modules/delayed-stream/package.json +0 -65
- package/node_modules/depd/History.md +0 -103
- package/node_modules/depd/LICENSE +0 -22
- package/node_modules/depd/Readme.md +0 -280
- package/node_modules/depd/index.js +0 -538
- package/node_modules/depd/lib/browser/index.js +0 -77
- package/node_modules/depd/package.json +0 -83
- package/node_modules/ecc-jsbn/LICENSE +0 -21
- package/node_modules/ecc-jsbn/README.md +0 -8
- package/node_modules/ecc-jsbn/index.js +0 -58
- package/node_modules/ecc-jsbn/lib/LICENSE-jsbn +0 -40
- package/node_modules/ecc-jsbn/lib/ec.js +0 -561
- package/node_modules/ecc-jsbn/lib/sec.js +0 -170
- package/node_modules/ecc-jsbn/package.json +0 -68
- package/node_modules/ecc-jsbn/test.js +0 -14
- package/node_modules/ecdsa-sig-formatter/CODEOWNERS +0 -1
- package/node_modules/ecdsa-sig-formatter/LICENSE +0 -201
- package/node_modules/ecdsa-sig-formatter/README.md +0 -65
- package/node_modules/ecdsa-sig-formatter/package.json +0 -76
- package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts +0 -17
- package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +0 -187
- package/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +0 -23
- package/node_modules/extsprintf/.gitmodules +0 -0
- package/node_modules/extsprintf/.npmignore +0 -2
- package/node_modules/extsprintf/LICENSE +0 -19
- package/node_modules/extsprintf/Makefile +0 -24
- package/node_modules/extsprintf/Makefile.targ +0 -285
- package/node_modules/extsprintf/README.md +0 -46
- package/node_modules/extsprintf/jsl.node.conf +0 -137
- package/node_modules/extsprintf/lib/extsprintf.js +0 -183
- package/node_modules/extsprintf/package.json +0 -47
- package/node_modules/fast-deep-equal/LICENSE +0 -21
- package/node_modules/fast-deep-equal/README.md +0 -96
- package/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
- package/node_modules/fast-deep-equal/es6/index.js +0 -72
- package/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
- package/node_modules/fast-deep-equal/es6/react.js +0 -79
- package/node_modules/fast-deep-equal/index.d.ts +0 -4
- package/node_modules/fast-deep-equal/index.js +0 -46
- package/node_modules/fast-deep-equal/package.json +0 -91
- package/node_modules/fast-deep-equal/react.d.ts +0 -2
- package/node_modules/fast-deep-equal/react.js +0 -53
- package/node_modules/fast-json-stable-stringify/.eslintrc.yml +0 -26
- package/node_modules/fast-json-stable-stringify/.github/FUNDING.yml +0 -1
- package/node_modules/fast-json-stable-stringify/.travis.yml +0 -8
- package/node_modules/fast-json-stable-stringify/LICENSE +0 -21
- package/node_modules/fast-json-stable-stringify/README.md +0 -131
- package/node_modules/fast-json-stable-stringify/benchmark/index.js +0 -31
- package/node_modules/fast-json-stable-stringify/benchmark/test.json +0 -137
- package/node_modules/fast-json-stable-stringify/example/key_cmp.js +0 -7
- package/node_modules/fast-json-stable-stringify/example/nested.js +0 -3
- package/node_modules/fast-json-stable-stringify/example/str.js +0 -3
- package/node_modules/fast-json-stable-stringify/example/value_cmp.js +0 -7
- package/node_modules/fast-json-stable-stringify/index.d.ts +0 -4
- package/node_modules/fast-json-stable-stringify/index.js +0 -59
- package/node_modules/fast-json-stable-stringify/package.json +0 -83
- package/node_modules/fast-json-stable-stringify/test/cmp.js +0 -13
- package/node_modules/fast-json-stable-stringify/test/nested.js +0 -44
- package/node_modules/fast-json-stable-stringify/test/str.js +0 -46
- package/node_modules/fast-json-stable-stringify/test/to-json.js +0 -22
- package/node_modules/follow-redirects/LICENSE +0 -18
- package/node_modules/follow-redirects/README.md +0 -155
- package/node_modules/follow-redirects/http.js +0 -1
- package/node_modules/follow-redirects/https.js +0 -1
- package/node_modules/follow-redirects/index.js +0 -322
- package/node_modules/follow-redirects/node_modules/debug/.coveralls.yml +0 -1
- package/node_modules/follow-redirects/node_modules/debug/.eslintrc +0 -14
- package/node_modules/follow-redirects/node_modules/debug/.npmignore +0 -9
- package/node_modules/follow-redirects/node_modules/debug/.travis.yml +0 -20
- package/node_modules/follow-redirects/node_modules/debug/CHANGELOG.md +0 -395
- package/node_modules/follow-redirects/node_modules/debug/LICENSE +0 -19
- package/node_modules/follow-redirects/node_modules/debug/Makefile +0 -58
- package/node_modules/follow-redirects/node_modules/debug/README.md +0 -368
- package/node_modules/follow-redirects/node_modules/debug/karma.conf.js +0 -70
- package/node_modules/follow-redirects/node_modules/debug/node.js +0 -1
- package/node_modules/follow-redirects/node_modules/debug/package.json +0 -85
- package/node_modules/follow-redirects/node_modules/debug/src/browser.js +0 -195
- package/node_modules/follow-redirects/node_modules/debug/src/debug.js +0 -225
- package/node_modules/follow-redirects/node_modules/debug/src/index.js +0 -10
- package/node_modules/follow-redirects/node_modules/debug/src/node.js +0 -186
- package/node_modules/follow-redirects/package.json +0 -101
- package/node_modules/forever-agent/LICENSE +0 -55
- package/node_modules/forever-agent/README.md +0 -4
- package/node_modules/forever-agent/index.js +0 -138
- package/node_modules/forever-agent/package.json +0 -53
- package/node_modules/getpass/.npmignore +0 -8
- package/node_modules/getpass/.travis.yml +0 -9
- package/node_modules/getpass/LICENSE +0 -18
- package/node_modules/getpass/README.md +0 -32
- package/node_modules/getpass/lib/index.js +0 -123
- package/node_modules/getpass/package.json +0 -53
- package/node_modules/har-schema/LICENSE +0 -13
- package/node_modules/har-schema/README.md +0 -49
- package/node_modules/har-schema/lib/afterRequest.json +0 -30
- package/node_modules/har-schema/lib/beforeRequest.json +0 -30
- package/node_modules/har-schema/lib/browser.json +0 -20
- package/node_modules/har-schema/lib/cache.json +0 -21
- package/node_modules/har-schema/lib/content.json +0 -29
- package/node_modules/har-schema/lib/cookie.json +0 -36
- package/node_modules/har-schema/lib/creator.json +0 -20
- package/node_modules/har-schema/lib/entry.json +0 -53
- package/node_modules/har-schema/lib/har.json +0 -13
- package/node_modules/har-schema/lib/header.json +0 -20
- package/node_modules/har-schema/lib/index.js +0 -22
- package/node_modules/har-schema/lib/log.json +0 -36
- package/node_modules/har-schema/lib/page.json +0 -32
- package/node_modules/har-schema/lib/pageTimings.json +0 -18
- package/node_modules/har-schema/lib/postData.json +0 -43
- package/node_modules/har-schema/lib/query.json +0 -20
- package/node_modules/har-schema/lib/request.json +0 -57
- package/node_modules/har-schema/lib/response.json +0 -54
- package/node_modules/har-schema/lib/timings.json +0 -42
- package/node_modules/har-schema/package.json +0 -89
- package/node_modules/har-validator/LICENSE +0 -9
- package/node_modules/har-validator/README.md +0 -37
- package/node_modules/har-validator/lib/async.js +0 -105
- package/node_modules/har-validator/lib/error.js +0 -17
- package/node_modules/har-validator/lib/promise.js +0 -102
- package/node_modules/har-validator/package.json +0 -79
- package/node_modules/http-signature/.dir-locals.el +0 -6
- package/node_modules/http-signature/.npmignore +0 -7
- package/node_modules/http-signature/CHANGES.md +0 -46
- package/node_modules/http-signature/LICENSE +0 -18
- package/node_modules/http-signature/README.md +0 -79
- package/node_modules/http-signature/http_signing.md +0 -363
- package/node_modules/http-signature/lib/index.js +0 -29
- package/node_modules/http-signature/lib/parser.js +0 -315
- package/node_modules/http-signature/lib/signer.js +0 -401
- package/node_modules/http-signature/lib/utils.js +0 -112
- package/node_modules/http-signature/lib/verify.js +0 -88
- package/node_modules/http-signature/package.json +0 -80
- package/node_modules/iconv-lite/Changelog.md +0 -177
- package/node_modules/iconv-lite/LICENSE +0 -21
- package/node_modules/iconv-lite/README.md +0 -166
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
- package/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
- package/node_modules/iconv-lite/encodings/index.js +0 -23
- package/node_modules/iconv-lite/encodings/internal.js +0 -188
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
- package/node_modules/iconv-lite/encodings/sbcs-data.js +0 -179
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
- package/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
- package/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
- package/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
- package/node_modules/iconv-lite/encodings/utf16.js +0 -177
- package/node_modules/iconv-lite/encodings/utf32.js +0 -281
- package/node_modules/iconv-lite/encodings/utf7.js +0 -290
- package/node_modules/iconv-lite/lib/bom-handling.js +0 -52
- package/node_modules/iconv-lite/lib/extend-node.js +0 -217
- package/node_modules/iconv-lite/lib/index.d.ts +0 -24
- package/node_modules/iconv-lite/lib/index.js +0 -153
- package/node_modules/iconv-lite/lib/streams.js +0 -121
- package/node_modules/iconv-lite/package.json +0 -79
- package/node_modules/inherits/LICENSE +0 -16
- package/node_modules/inherits/README.md +0 -42
- package/node_modules/inherits/inherits.js +0 -9
- package/node_modules/inherits/inherits_browser.js +0 -27
- package/node_modules/inherits/package.json +0 -71
- package/node_modules/is-typedarray/LICENSE.md +0 -18
- package/node_modules/is-typedarray/README.md +0 -16
- package/node_modules/is-typedarray/index.js +0 -41
- package/node_modules/is-typedarray/package.json +0 -62
- package/node_modules/is-typedarray/test.js +0 -34
- package/node_modules/isstream/.jshintrc +0 -59
- package/node_modules/isstream/.npmignore +0 -1
- package/node_modules/isstream/.travis.yml +0 -12
- package/node_modules/isstream/LICENSE.md +0 -11
- package/node_modules/isstream/README.md +0 -66
- package/node_modules/isstream/isstream.js +0 -27
- package/node_modules/isstream/package.json +0 -64
- package/node_modules/isstream/test.js +0 -168
- package/node_modules/jsbi/LICENSE +0 -176
- package/node_modules/jsbi/README.md +0 -142
- package/node_modules/jsbi/dist/jsbi-cjs.js +0 -1
- package/node_modules/jsbi/dist/jsbi-umd.js +0 -1
- package/node_modules/jsbi/dist/jsbi.mjs +0 -1
- package/node_modules/jsbi/jsbi.d.ts +0 -44
- package/node_modules/jsbi/package.json +0 -68
- package/node_modules/jsbn/.npmignore +0 -2
- package/node_modules/jsbn/LICENSE +0 -40
- package/node_modules/jsbn/README.md +0 -175
- package/node_modules/jsbn/example.html +0 -12
- package/node_modules/jsbn/example.js +0 -3
- package/node_modules/jsbn/index.js +0 -1357
- package/node_modules/jsbn/package.json +0 -56
- package/node_modules/json-schema/README.md +0 -5
- package/node_modules/json-schema/draft-00/hyper-schema +0 -68
- package/node_modules/json-schema/draft-00/json-ref +0 -26
- package/node_modules/json-schema/draft-00/links +0 -33
- package/node_modules/json-schema/draft-00/schema +0 -155
- package/node_modules/json-schema/draft-01/hyper-schema +0 -68
- package/node_modules/json-schema/draft-01/json-ref +0 -26
- package/node_modules/json-schema/draft-01/links +0 -33
- package/node_modules/json-schema/draft-01/schema +0 -155
- package/node_modules/json-schema/draft-02/hyper-schema +0 -68
- package/node_modules/json-schema/draft-02/json-ref +0 -26
- package/node_modules/json-schema/draft-02/links +0 -35
- package/node_modules/json-schema/draft-02/schema +0 -166
- package/node_modules/json-schema/draft-03/examples/address +0 -20
- package/node_modules/json-schema/draft-03/examples/calendar +0 -53
- package/node_modules/json-schema/draft-03/examples/card +0 -105
- package/node_modules/json-schema/draft-03/examples/geo +0 -8
- package/node_modules/json-schema/draft-03/examples/interfaces +0 -23
- package/node_modules/json-schema/draft-03/hyper-schema +0 -60
- package/node_modules/json-schema/draft-03/json-ref +0 -26
- package/node_modules/json-schema/draft-03/links +0 -35
- package/node_modules/json-schema/draft-03/schema +0 -174
- package/node_modules/json-schema/draft-04/hyper-schema +0 -60
- package/node_modules/json-schema/draft-04/links +0 -41
- package/node_modules/json-schema/draft-04/schema +0 -189
- package/node_modules/json-schema/draft-zyp-json-schema-03.xml +0 -1120
- package/node_modules/json-schema/draft-zyp-json-schema-04.xml +0 -1072
- package/node_modules/json-schema/lib/links.js +0 -66
- package/node_modules/json-schema/lib/validate.js +0 -273
- package/node_modules/json-schema/package.json +0 -74
- package/node_modules/json-schema/test/tests.js +0 -95
- package/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
- package/node_modules/json-schema-traverse/.travis.yml +0 -8
- package/node_modules/json-schema-traverse/LICENSE +0 -21
- package/node_modules/json-schema-traverse/README.md +0 -83
- package/node_modules/json-schema-traverse/index.js +0 -89
- package/node_modules/json-schema-traverse/package.json +0 -73
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
- package/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
- package/node_modules/json-stringify-safe/.npmignore +0 -1
- package/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
- package/node_modules/json-stringify-safe/LICENSE +0 -15
- package/node_modules/json-stringify-safe/Makefile +0 -35
- package/node_modules/json-stringify-safe/README.md +0 -52
- package/node_modules/json-stringify-safe/package.json +0 -69
- package/node_modules/json-stringify-safe/stringify.js +0 -27
- package/node_modules/json-stringify-safe/test/mocha.opts +0 -2
- package/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
- package/node_modules/jsprim/CHANGES.md +0 -49
- package/node_modules/jsprim/CONTRIBUTING.md +0 -19
- package/node_modules/jsprim/LICENSE +0 -19
- package/node_modules/jsprim/README.md +0 -287
- package/node_modules/jsprim/lib/jsprim.js +0 -735
- package/node_modules/jsprim/package.json +0 -52
- package/node_modules/jwa/LICENSE +0 -17
- package/node_modules/jwa/README.md +0 -150
- package/node_modules/jwa/index.js +0 -252
- package/node_modules/jwa/package.json +0 -72
- package/node_modules/jws/CHANGELOG.md +0 -34
- package/node_modules/jws/LICENSE +0 -17
- package/node_modules/jws/index.js +0 -22
- package/node_modules/jws/lib/data-stream.js +0 -55
- package/node_modules/jws/lib/sign-stream.js +0 -78
- package/node_modules/jws/lib/tostring.js +0 -10
- package/node_modules/jws/lib/verify-stream.js +0 -120
- package/node_modules/jws/package.json +0 -67
- package/node_modules/jws/readme.md +0 -255
- package/node_modules/mime-db/HISTORY.md +0 -439
- package/node_modules/mime-db/LICENSE +0 -22
- package/node_modules/mime-db/README.md +0 -100
- package/node_modules/mime-db/db.json +0 -8060
- package/node_modules/mime-db/index.js +0 -11
- package/node_modules/mime-db/package.json +0 -104
- package/node_modules/mime-types/HISTORY.md +0 -325
- package/node_modules/mime-types/LICENSE +0 -23
- package/node_modules/mime-types/README.md +0 -113
- package/node_modules/mime-types/index.js +0 -188
- package/node_modules/mime-types/package.json +0 -92
- package/node_modules/ms/index.js +0 -152
- package/node_modules/ms/license.md +0 -21
- package/node_modules/ms/package.json +0 -73
- package/node_modules/ms/readme.md +0 -51
- package/node_modules/native-duplexpair/.npmignore +0 -17
- package/node_modules/native-duplexpair/.travis.yml +0 -10
- package/node_modules/native-duplexpair/LICENSE +0 -22
- package/node_modules/native-duplexpair/README.md +0 -39
- package/node_modules/native-duplexpair/code-of-conduct.md +0 -74
- package/node_modules/native-duplexpair/index.js +0 -42
- package/node_modules/native-duplexpair/package.json +0 -64
- package/node_modules/native-duplexpair/test/index.js +0 -21
- package/node_modules/oauth-sign/LICENSE +0 -55
- package/node_modules/oauth-sign/README.md +0 -11
- package/node_modules/oauth-sign/index.js +0 -146
- package/node_modules/oauth-sign/package.json +0 -59
- package/node_modules/performance-now/.npmignore +0 -1
- package/node_modules/performance-now/.tm_properties +0 -7
- package/node_modules/performance-now/.travis.yml +0 -6
- package/node_modules/performance-now/README.md +0 -30
- package/node_modules/performance-now/lib/performance-now.js +0 -36
- package/node_modules/performance-now/lib/performance-now.js.map +0 -10
- package/node_modules/performance-now/license.txt +0 -7
- package/node_modules/performance-now/package.json +0 -68
- package/node_modules/performance-now/src/index.d.ts +0 -8
- package/node_modules/performance-now/src/performance-now.coffee +0 -17
- package/node_modules/performance-now/test/mocha.opts +0 -3
- package/node_modules/performance-now/test/performance-now.coffee +0 -43
- package/node_modules/performance-now/test/scripts/delayed-call.coffee +0 -11
- package/node_modules/performance-now/test/scripts/delayed-require.coffee +0 -12
- package/node_modules/performance-now/test/scripts/difference.coffee +0 -6
- package/node_modules/performance-now/test/scripts/initial-value.coffee +0 -10
- package/node_modules/performance-now/test/scripts.coffee +0 -27
- package/node_modules/psl/LICENSE +0 -9
- package/node_modules/psl/README.md +0 -215
- package/node_modules/psl/browserstack-logo.svg +0 -90
- package/node_modules/psl/data/rules.json +0 -8812
- package/node_modules/psl/dist/psl.js +0 -9623
- package/node_modules/psl/dist/psl.min.js +0 -1
- package/node_modules/psl/index.js +0 -269
- package/node_modules/psl/package.json +0 -80
- package/node_modules/punycode/LICENSE-MIT.txt +0 -20
- package/node_modules/punycode/README.md +0 -122
- package/node_modules/punycode/package.json +0 -89
- package/node_modules/punycode/punycode.es6.js +0 -441
- package/node_modules/punycode/punycode.js +0 -440
- package/node_modules/request/CHANGELOG.md +0 -709
- package/node_modules/request/LICENSE +0 -55
- package/node_modules/request/README.md +0 -1097
- package/node_modules/request/index.js +0 -155
- package/node_modules/request/lib/auth.js +0 -167
- package/node_modules/request/lib/cookies.js +0 -38
- package/node_modules/request/lib/getProxyFromURI.js +0 -79
- package/node_modules/request/lib/har.js +0 -205
- package/node_modules/request/lib/hawk.js +0 -89
- package/node_modules/request/lib/helpers.js +0 -66
- package/node_modules/request/lib/multipart.js +0 -112
- package/node_modules/request/lib/oauth.js +0 -148
- package/node_modules/request/lib/querystring.js +0 -50
- package/node_modules/request/lib/redirect.js +0 -154
- package/node_modules/request/lib/tunnel.js +0 -175
- package/node_modules/request/node_modules/extend/.editorconfig +0 -20
- package/node_modules/request/node_modules/extend/.eslintrc +0 -17
- package/node_modules/request/node_modules/extend/.jscs.json +0 -175
- package/node_modules/request/node_modules/extend/.travis.yml +0 -230
- package/node_modules/request/node_modules/extend/CHANGELOG.md +0 -83
- package/node_modules/request/node_modules/extend/LICENSE +0 -23
- package/node_modules/request/node_modules/extend/README.md +0 -81
- package/node_modules/request/node_modules/extend/component.json +0 -32
- package/node_modules/request/node_modules/extend/index.js +0 -117
- package/node_modules/request/node_modules/extend/package.json +0 -78
- package/node_modules/request/node_modules/form-data/License +0 -19
- package/node_modules/request/node_modules/form-data/README.md +0 -234
- package/node_modules/request/node_modules/form-data/README.md.bak +0 -234
- package/node_modules/request/node_modules/form-data/lib/browser.js +0 -2
- package/node_modules/request/node_modules/form-data/lib/form_data.js +0 -457
- package/node_modules/request/node_modules/form-data/lib/populate.js +0 -10
- package/node_modules/request/node_modules/form-data/package.json +0 -101
- package/node_modules/request/node_modules/form-data/yarn.lock +0 -2662
- package/node_modules/request/node_modules/qs/.editorconfig +0 -30
- package/node_modules/request/node_modules/qs/.eslintignore +0 -1
- package/node_modules/request/node_modules/qs/.eslintrc +0 -19
- package/node_modules/request/node_modules/qs/CHANGELOG.md +0 -226
- package/node_modules/request/node_modules/qs/LICENSE +0 -28
- package/node_modules/request/node_modules/qs/README.md +0 -475
- package/node_modules/request/node_modules/qs/dist/qs.js +0 -638
- package/node_modules/request/node_modules/qs/lib/formats.js +0 -18
- package/node_modules/request/node_modules/qs/lib/index.js +0 -11
- package/node_modules/request/node_modules/qs/lib/parse.js +0 -174
- package/node_modules/request/node_modules/qs/lib/stringify.js +0 -210
- package/node_modules/request/node_modules/qs/lib/utils.js +0 -213
- package/node_modules/request/node_modules/qs/package.json +0 -83
- package/node_modules/request/node_modules/qs/test/.eslintrc +0 -15
- package/node_modules/request/node_modules/qs/test/index.js +0 -7
- package/node_modules/request/node_modules/qs/test/parse.js +0 -574
- package/node_modules/request/node_modules/qs/test/stringify.js +0 -597
- package/node_modules/request/node_modules/qs/test/utils.js +0 -34
- package/node_modules/request/package.json +0 -123
- package/node_modules/request/request.js +0 -1551
- package/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/safe-buffer/README.md +0 -586
- package/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/safe-buffer/index.js +0 -64
- package/node_modules/safe-buffer/package.json +0 -72
- package/node_modules/safer-buffer/LICENSE +0 -21
- package/node_modules/safer-buffer/Porting-Buffer.md +0 -268
- package/node_modules/safer-buffer/Readme.md +0 -156
- package/node_modules/safer-buffer/dangerous.js +0 -58
- package/node_modules/safer-buffer/package.json +0 -66
- package/node_modules/safer-buffer/safer.js +0 -77
- package/node_modules/safer-buffer/tests.js +0 -406
- package/node_modules/sax/LICENSE +0 -41
- package/node_modules/sax/README.md +0 -225
- package/node_modules/sax/lib/sax.js +0 -1565
- package/node_modules/sax/package.json +0 -64
- package/node_modules/sprintf-js/CHANGELOG.md +0 -17
- package/node_modules/sprintf-js/CONTRIBUTORS.md +0 -25
- package/node_modules/sprintf-js/LICENSE +0 -24
- package/node_modules/sprintf-js/README.md +0 -143
- package/node_modules/sprintf-js/dist/.gitattributes +0 -4
- package/node_modules/sprintf-js/dist/angular-sprintf.min.js +0 -3
- package/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +0 -1
- package/node_modules/sprintf-js/dist/sprintf.min.js +0 -3
- package/node_modules/sprintf-js/dist/sprintf.min.js.map +0 -1
- package/node_modules/sprintf-js/package.json +0 -66
- package/node_modules/sprintf-js/src/angular-sprintf.js +0 -24
- package/node_modules/sprintf-js/src/sprintf.js +0 -231
- package/node_modules/sshpk/.npmignore +0 -9
- package/node_modules/sshpk/.travis.yml +0 -11
- package/node_modules/sshpk/LICENSE +0 -18
- package/node_modules/sshpk/README.md +0 -804
- package/node_modules/sshpk/bin/sshpk-conv +0 -243
- package/node_modules/sshpk/bin/sshpk-sign +0 -191
- package/node_modules/sshpk/bin/sshpk-verify +0 -167
- package/node_modules/sshpk/lib/algs.js +0 -168
- package/node_modules/sshpk/lib/certificate.js +0 -410
- package/node_modules/sshpk/lib/dhe.js +0 -397
- package/node_modules/sshpk/lib/ed-compat.js +0 -92
- package/node_modules/sshpk/lib/errors.js +0 -84
- package/node_modules/sshpk/lib/fingerprint.js +0 -220
- package/node_modules/sshpk/lib/formats/auto.js +0 -124
- package/node_modules/sshpk/lib/formats/dnssec.js +0 -287
- package/node_modules/sshpk/lib/formats/openssh-cert.js +0 -352
- package/node_modules/sshpk/lib/formats/pem.js +0 -290
- package/node_modules/sshpk/lib/formats/pkcs1.js +0 -373
- package/node_modules/sshpk/lib/formats/pkcs8.js +0 -631
- package/node_modules/sshpk/lib/formats/putty.js +0 -99
- package/node_modules/sshpk/lib/formats/rfc4253.js +0 -166
- package/node_modules/sshpk/lib/formats/ssh-private.js +0 -262
- package/node_modules/sshpk/lib/formats/ssh.js +0 -115
- package/node_modules/sshpk/lib/formats/x509-pem.js +0 -88
- package/node_modules/sshpk/lib/formats/x509.js +0 -752
- package/node_modules/sshpk/lib/identity.js +0 -373
- package/node_modules/sshpk/lib/index.js +0 -40
- package/node_modules/sshpk/lib/key.js +0 -294
- package/node_modules/sshpk/lib/private-key.js +0 -246
- package/node_modules/sshpk/lib/signature.js +0 -314
- package/node_modules/sshpk/lib/ssh-buffer.js +0 -149
- package/node_modules/sshpk/lib/utils.js +0 -404
- package/node_modules/sshpk/man/man1/sshpk-conv.1 +0 -135
- package/node_modules/sshpk/man/man1/sshpk-sign.1 +0 -81
- package/node_modules/sshpk/man/man1/sshpk-verify.1 +0 -68
- package/node_modules/sshpk/package.json +0 -99
- package/node_modules/tedious/LICENSE +0 -21
- package/node_modules/tedious/README.md +0 -67
- package/node_modules/tedious/appveyor.yml +0 -93
- package/node_modules/tedious/benchmarks/README.md +0 -33
- package/node_modules/tedious/benchmarks/common.js +0 -82
- package/node_modules/tedious/benchmarks/index.js +0 -34
- package/node_modules/tedious/benchmarks/query/many-result-rows.js +0 -49
- package/node_modules/tedious/benchmarks/query/nvarchar-large.js +0 -44
- package/node_modules/tedious/benchmarks/query/nvarchar-small.js +0 -44
- package/node_modules/tedious/benchmarks/query/varbinary-4.js +0 -42
- package/node_modules/tedious/benchmarks/query/varbinary-huge.js +0 -46
- package/node_modules/tedious/benchmarks/query/varbinary-large.js +0 -46
- package/node_modules/tedious/benchmarks/query/varbinary-small.js +0 -42
- package/node_modules/tedious/benchmarks/token-parser/colmetadata-token.js +0 -42
- package/node_modules/tedious/benchmarks/token-parser/done-token.js +0 -42
- package/node_modules/tedious/benchmarks/token-parser/simple-tokens.js +0 -366
- package/node_modules/tedious/lib/all-headers.js +0 -24
- package/node_modules/tedious/lib/bulk-load.js +0 -394
- package/node_modules/tedious/lib/collation.js +0 -264
- package/node_modules/tedious/lib/connection.js +0 -2469
- package/node_modules/tedious/lib/connector.js +0 -171
- package/node_modules/tedious/lib/data-type.js +0 -163
- package/node_modules/tedious/lib/data-types/bigint.js +0 -55
- package/node_modules/tedious/lib/data-types/binary.js +0 -66
- package/node_modules/tedious/lib/data-types/bit.js +0 -47
- package/node_modules/tedious/lib/data-types/bitn.js +0 -31
- package/node_modules/tedious/lib/data-types/char.js +0 -85
- package/node_modules/tedious/lib/data-types/date.js +0 -66
- package/node_modules/tedious/lib/data-types/datetime.js +0 -91
- package/node_modules/tedious/lib/data-types/datetime2.js +0 -105
- package/node_modules/tedious/lib/data-types/datetimen.js +0 -31
- package/node_modules/tedious/lib/data-types/datetimeoffset.js +0 -95
- package/node_modules/tedious/lib/data-types/decimal.js +0 -98
- package/node_modules/tedious/lib/data-types/decimaln.js +0 -31
- package/node_modules/tedious/lib/data-types/float.js +0 -49
- package/node_modules/tedious/lib/data-types/floatn.js +0 -31
- package/node_modules/tedious/lib/data-types/image.js +0 -52
- package/node_modules/tedious/lib/data-types/int.js +0 -55
- package/node_modules/tedious/lib/data-types/intn.js +0 -31
- package/node_modules/tedious/lib/data-types/money.js +0 -49
- package/node_modules/tedious/lib/data-types/moneyn.js +0 -31
- package/node_modules/tedious/lib/data-types/nchar.js +0 -83
- package/node_modules/tedious/lib/data-types/ntext.js +0 -32
- package/node_modules/tedious/lib/data-types/null.js +0 -31
- package/node_modules/tedious/lib/data-types/numeric.js +0 -98
- package/node_modules/tedious/lib/data-types/numericn.js +0 -31
- package/node_modules/tedious/lib/data-types/nvarchar.js +0 -95
- package/node_modules/tedious/lib/data-types/real.js +0 -49
- package/node_modules/tedious/lib/data-types/smalldatetime.js +0 -65
- package/node_modules/tedious/lib/data-types/smallint.js +0 -55
- package/node_modules/tedious/lib/data-types/smallmoney.js +0 -53
- package/node_modules/tedious/lib/data-types/sql-variant.js +0 -30
- package/node_modules/tedious/lib/data-types/text.js +0 -58
- package/node_modules/tedious/lib/data-types/time.js +0 -86
- package/node_modules/tedious/lib/data-types/tinyint.js +0 -55
- package/node_modules/tedious/lib/data-types/tvp.js +0 -95
- package/node_modules/tedious/lib/data-types/udt.js +0 -31
- package/node_modules/tedious/lib/data-types/uniqueidentifier.js +0 -52
- package/node_modules/tedious/lib/data-types/varbinary.js +0 -85
- package/node_modules/tedious/lib/data-types/varchar.js +0 -95
- package/node_modules/tedious/lib/data-types/xml.js +0 -31
- package/node_modules/tedious/lib/debug.js +0 -82
- package/node_modules/tedious/lib/errors.js +0 -42
- package/node_modules/tedious/lib/guid-parser.js +0 -35
- package/node_modules/tedious/lib/incoming-message-stream.js +0 -114
- package/node_modules/tedious/lib/instance-lookup.js +0 -120
- package/node_modules/tedious/lib/library.js +0 -8
- package/node_modules/tedious/lib/login7-payload.js +0 -412
- package/node_modules/tedious/lib/message-io.js +0 -150
- package/node_modules/tedious/lib/message.js +0 -28
- package/node_modules/tedious/lib/metadata-parser.js +0 -297
- package/node_modules/tedious/lib/ntlm-payload.js +0 -160
- package/node_modules/tedious/lib/ntlm.js +0 -74
- package/node_modules/tedious/lib/outgoing-message-stream.js +0 -94
- package/node_modules/tedious/lib/packet.js +0 -239
- package/node_modules/tedious/lib/prelogin-payload.js +0 -242
- package/node_modules/tedious/lib/request.js +0 -238
- package/node_modules/tedious/lib/rpcrequest-payload.js +0 -122
- package/node_modules/tedious/lib/sender.js +0 -181
- package/node_modules/tedious/lib/special-stored-procedure.js +0 -26
- package/node_modules/tedious/lib/sqlbatch-payload.js +0 -47
- package/node_modules/tedious/lib/tds-versions.js +0 -20
- package/node_modules/tedious/lib/tedious.js +0 -77
- package/node_modules/tedious/lib/token/colmetadata-token-parser.js +0 -106
- package/node_modules/tedious/lib/token/done-token-parser.js +0 -73
- package/node_modules/tedious/lib/token/env-change-token-parser.js +0 -176
- package/node_modules/tedious/lib/token/feature-ext-ack-parser.js +0 -45
- package/node_modules/tedious/lib/token/fedauth-info-parser.js +0 -53
- package/node_modules/tedious/lib/token/infoerror-token-parser.js +0 -50
- package/node_modules/tedious/lib/token/loginack-token-parser.js +0 -52
- package/node_modules/tedious/lib/token/nbcrow-token-parser.js +0 -72
- package/node_modules/tedious/lib/token/order-token-parser.js +0 -37
- package/node_modules/tedious/lib/token/returnstatus-token-parser.js +0 -19
- package/node_modules/tedious/lib/token/returnvalue-token-parser.js +0 -43
- package/node_modules/tedious/lib/token/row-token-parser.js +0 -55
- package/node_modules/tedious/lib/token/sspi-token-parser.js +0 -37
- package/node_modules/tedious/lib/token/stream-parser.js +0 -411
- package/node_modules/tedious/lib/token/token-stream-parser.js +0 -74
- package/node_modules/tedious/lib/token/token.js +0 -502
- package/node_modules/tedious/lib/tracking-buffer/writable-tracking-buffer.js +0 -318
- package/node_modules/tedious/lib/transaction.js +0 -147
- package/node_modules/tedious/lib/transient-error-lookup.js +0 -21
- package/node_modules/tedious/lib/value-parser.js +0 -737
- package/node_modules/tedious/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/tedious/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/tedious/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/tedious/node_modules/readable-stream/README.md +0 -106
- package/node_modules/tedious/node_modules/readable-stream/errors-browser.js +0 -127
- package/node_modules/tedious/node_modules/readable-stream/errors.js +0 -116
- package/node_modules/tedious/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/node_modules/tedious/node_modules/readable-stream/lib/_stream_duplex.js +0 -139
- package/node_modules/tedious/node_modules/readable-stream/lib/_stream_passthrough.js +0 -39
- package/node_modules/tedious/node_modules/readable-stream/lib/_stream_readable.js +0 -1124
- package/node_modules/tedious/node_modules/readable-stream/lib/_stream_transform.js +0 -201
- package/node_modules/tedious/node_modules/readable-stream/lib/_stream_writable.js +0 -697
- package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -207
- package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -191
- package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -105
- package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -104
- package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/from.js +0 -64
- package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -97
- package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/state.js +0 -27
- package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/tedious/node_modules/readable-stream/package.json +0 -100
- package/node_modules/tedious/node_modules/readable-stream/readable-browser.js +0 -9
- package/node_modules/tedious/node_modules/readable-stream/readable.js +0 -16
- package/node_modules/tedious/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/tedious/node_modules/string_decoder/README.md +0 -47
- package/node_modules/tedious/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/node_modules/tedious/node_modules/string_decoder/package.json +0 -65
- package/node_modules/tedious/package.json +0 -206
- package/node_modules/tedious/pull_request_template.md +0 -9
- package/node_modules/tedious/tsconfig.json +0 -17
- package/node_modules/tough-cookie/LICENSE +0 -12
- package/node_modules/tough-cookie/README.md +0 -507
- package/node_modules/tough-cookie/lib/cookie.js +0 -1431
- package/node_modules/tough-cookie/lib/memstore.js +0 -176
- package/node_modules/tough-cookie/lib/pathMatch.js +0 -61
- package/node_modules/tough-cookie/lib/permuteDomain.js +0 -56
- package/node_modules/tough-cookie/lib/pubsuffix-psl.js +0 -38
- package/node_modules/tough-cookie/lib/store.js +0 -71
- package/node_modules/tough-cookie/node_modules/punycode/LICENSE-MIT.txt +0 -20
- package/node_modules/tough-cookie/node_modules/punycode/README.md +0 -176
- package/node_modules/tough-cookie/node_modules/punycode/package.json +0 -90
- package/node_modules/tough-cookie/node_modules/punycode/punycode.js +0 -533
- package/node_modules/tough-cookie/package.json +0 -98
- package/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/node_modules/tslib/LICENSE.txt +0 -55
- package/node_modules/tslib/README.md +0 -134
- package/node_modules/tslib/package.json +0 -58
- package/node_modules/tslib/tslib.d.ts +0 -34
- package/node_modules/tslib/tslib.es6.html +0 -1
- package/node_modules/tslib/tslib.es6.js +0 -196
- package/node_modules/tslib/tslib.html +0 -1
- package/node_modules/tslib/tslib.js +0 -255
- package/node_modules/tunnel/.idea/encodings.xml +0 -6
- package/node_modules/tunnel/.idea/modules.xml +0 -8
- package/node_modules/tunnel/.idea/node-tunnel.iml +0 -12
- package/node_modules/tunnel/.idea/vcs.xml +0 -6
- package/node_modules/tunnel/.idea/workspace.xml +0 -797
- package/node_modules/tunnel/.travis.yml +0 -6
- package/node_modules/tunnel/CHANGELOG.md +0 -22
- package/node_modules/tunnel/LICENSE +0 -21
- package/node_modules/tunnel/README.md +0 -185
- package/node_modules/tunnel/index.js +0 -1
- package/node_modules/tunnel/lib/tunnel.js +0 -264
- package/node_modules/tunnel/package.json +0 -67
- package/node_modules/tunnel-agent/LICENSE +0 -55
- package/node_modules/tunnel-agent/README.md +0 -4
- package/node_modules/tunnel-agent/index.js +0 -244
- package/node_modules/tunnel-agent/package.json +0 -58
- package/node_modules/tweetnacl/.npmignore +0 -4
- package/node_modules/tweetnacl/AUTHORS.md +0 -28
- package/node_modules/tweetnacl/CHANGELOG.md +0 -221
- package/node_modules/tweetnacl/LICENSE +0 -24
- package/node_modules/tweetnacl/PULL_REQUEST_TEMPLATE.md +0 -20
- package/node_modules/tweetnacl/README.md +0 -459
- package/node_modules/tweetnacl/nacl-fast.js +0 -2388
- package/node_modules/tweetnacl/nacl-fast.min.js +0 -2
- package/node_modules/tweetnacl/nacl.d.ts +0 -98
- package/node_modules/tweetnacl/nacl.js +0 -1175
- package/node_modules/tweetnacl/nacl.min.js +0 -1
- package/node_modules/tweetnacl/package.json +0 -89
- package/node_modules/underscore/LICENSE +0 -23
- package/node_modules/underscore/README.md +0 -28
- package/node_modules/underscore/package.json +0 -85
- package/node_modules/underscore/underscore-min.js +0 -5
- package/node_modules/underscore/underscore-min.js.map +0 -1
- package/node_modules/underscore/underscore.js +0 -1692
- package/node_modules/uri-js/README.md +0 -199
- package/node_modules/uri-js/bower.json +0 -47
- package/node_modules/uri-js/dist/es5/uri.all.d.ts +0 -59
- package/node_modules/uri-js/dist/es5/uri.all.js +0 -1389
- package/node_modules/uri-js/dist/es5/uri.all.js.map +0 -1
- package/node_modules/uri-js/dist/es5/uri.all.min.d.ts +0 -59
- package/node_modules/uri-js/dist/es5/uri.all.min.js +0 -3
- package/node_modules/uri-js/dist/es5/uri.all.min.js.map +0 -1
- package/node_modules/uri-js/dist/esnext/index.d.ts +0 -1
- package/node_modules/uri-js/dist/esnext/index.js +0 -13
- package/node_modules/uri-js/dist/esnext/index.js.map +0 -1
- package/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +0 -3
- package/node_modules/uri-js/dist/esnext/regexps-iri.js +0 -3
- package/node_modules/uri-js/dist/esnext/regexps-iri.js.map +0 -1
- package/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +0 -4
- package/node_modules/uri-js/dist/esnext/regexps-uri.js +0 -42
- package/node_modules/uri-js/dist/esnext/regexps-uri.js.map +0 -1
- package/node_modules/uri-js/dist/esnext/schemes/http.d.ts +0 -3
- package/node_modules/uri-js/dist/esnext/schemes/http.js +0 -27
- package/node_modules/uri-js/dist/esnext/schemes/http.js.map +0 -1
- package/node_modules/uri-js/dist/esnext/schemes/https.d.ts +0 -3
- package/node_modules/uri-js/dist/esnext/schemes/https.js +0 -9
- package/node_modules/uri-js/dist/esnext/schemes/https.js.map +0 -1
- package/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +0 -12
- package/node_modules/uri-js/dist/esnext/schemes/mailto.js +0 -148
- package/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +0 -1
- package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +0 -7
- package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +0 -23
- package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +0 -1
- package/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +0 -10
- package/node_modules/uri-js/dist/esnext/schemes/urn.js +0 -49
- package/node_modules/uri-js/dist/esnext/schemes/urn.js.map +0 -1
- package/node_modules/uri-js/dist/esnext/uri.d.ts +0 -59
- package/node_modules/uri-js/dist/esnext/uri.js +0 -480
- package/node_modules/uri-js/dist/esnext/uri.js.map +0 -1
- package/node_modules/uri-js/dist/esnext/util.d.ts +0 -6
- package/node_modules/uri-js/dist/esnext/util.js +0 -36
- package/node_modules/uri-js/dist/esnext/util.js.map +0 -1
- package/node_modules/uri-js/package.json +0 -96
- package/node_modules/uri-js/rollup.config.js +0 -32
- package/node_modules/uri-js/src/index.ts +0 -18
- package/node_modules/uri-js/src/punycode.d.ts +0 -24
- package/node_modules/uri-js/src/regexps-iri.ts +0 -4
- package/node_modules/uri-js/src/regexps-uri.ts +0 -89
- package/node_modules/uri-js/src/schemes/http.ts +0 -36
- package/node_modules/uri-js/src/schemes/https.ts +0 -11
- package/node_modules/uri-js/src/schemes/mailto.ts +0 -182
- package/node_modules/uri-js/src/schemes/urn-uuid.ts +0 -36
- package/node_modules/uri-js/src/schemes/urn.ts +0 -69
- package/node_modules/uri-js/src/uri.ts +0 -556
- package/node_modules/uri-js/src/util.ts +0 -40
- package/node_modules/uri-js/tests/qunit.css +0 -118
- package/node_modules/uri-js/tests/qunit.js +0 -1042
- package/node_modules/uri-js/tests/test-es5-min.html +0 -17
- package/node_modules/uri-js/tests/test-es5.html +0 -17
- package/node_modules/uri-js/tests/tests.js +0 -774
- package/node_modules/uri-js/tsconfig.json +0 -20
- package/node_modules/uri-js/yarn.lock +0 -1902
- package/node_modules/util-deprecate/History.md +0 -16
- package/node_modules/util-deprecate/LICENSE +0 -24
- package/node_modules/util-deprecate/README.md +0 -53
- package/node_modules/util-deprecate/browser.js +0 -67
- package/node_modules/util-deprecate/node.js +0 -6
- package/node_modules/util-deprecate/package.json +0 -61
- package/node_modules/uuid/AUTHORS +0 -5
- package/node_modules/uuid/CHANGELOG.md +0 -119
- package/node_modules/uuid/LICENSE.md +0 -21
- package/node_modules/uuid/README.md +0 -276
- package/node_modules/uuid/bin/uuid +0 -65
- package/node_modules/uuid/index.js +0 -8
- package/node_modules/uuid/lib/bytesToUuid.js +0 -26
- package/node_modules/uuid/lib/md5-browser.js +0 -216
- package/node_modules/uuid/lib/md5.js +0 -25
- package/node_modules/uuid/lib/rng-browser.js +0 -34
- package/node_modules/uuid/lib/rng.js +0 -8
- package/node_modules/uuid/lib/sha1-browser.js +0 -89
- package/node_modules/uuid/lib/sha1.js +0 -25
- package/node_modules/uuid/lib/v35.js +0 -57
- package/node_modules/uuid/package.json +0 -105
- package/node_modules/uuid/v1.js +0 -109
- package/node_modules/uuid/v3.js +0 -4
- package/node_modules/uuid/v4.js +0 -29
- package/node_modules/uuid/v5.js +0 -3
- package/node_modules/verror/.npmignore +0 -9
- package/node_modules/verror/CHANGES.md +0 -28
- package/node_modules/verror/CONTRIBUTING.md +0 -19
- package/node_modules/verror/LICENSE +0 -19
- package/node_modules/verror/README.md +0 -528
- package/node_modules/verror/lib/verror.js +0 -451
- package/node_modules/verror/package.json +0 -54
- package/node_modules/xml2js/LICENSE +0 -19
- package/node_modules/xml2js/README.md +0 -488
- package/node_modules/xml2js/lib/bom.js +0 -12
- package/node_modules/xml2js/lib/builder.js +0 -127
- package/node_modules/xml2js/lib/defaults.js +0 -72
- package/node_modules/xml2js/lib/parser.js +0 -381
- package/node_modules/xml2js/lib/processors.js +0 -34
- package/node_modules/xml2js/lib/xml2js.js +0 -39
- package/node_modules/xml2js/package.json +0 -287
- package/node_modules/xmlbuilder/CHANGELOG.md +0 -470
- package/node_modules/xmlbuilder/LICENSE +0 -21
- package/node_modules/xmlbuilder/README.md +0 -86
- package/node_modules/xmlbuilder/appveyor.yml +0 -20
- package/node_modules/xmlbuilder/lib/Derivation.js +0 -10
- package/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
- package/node_modules/xmlbuilder/lib/NodeType.js +0 -23
- package/node_modules/xmlbuilder/lib/OperationType.js +0 -11
- package/node_modules/xmlbuilder/lib/Utility.js +0 -83
- package/node_modules/xmlbuilder/lib/WriterState.js +0 -10
- package/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -108
- package/node_modules/xmlbuilder/lib/XMLCData.js +0 -36
- package/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -79
- package/node_modules/xmlbuilder/lib/XMLComment.js +0 -36
- package/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -64
- package/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -16
- package/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -32
- package/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -28
- package/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -55
- package/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -38
- package/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -97
- package/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -52
- package/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -43
- package/node_modules/xmlbuilder/lib/XMLDocType.js +0 -186
- package/node_modules/xmlbuilder/lib/XMLDocument.js +0 -242
- package/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -528
- package/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -24
- package/node_modules/xmlbuilder/lib/XMLDummy.js +0 -31
- package/node_modules/xmlbuilder/lib/XMLElement.js +0 -298
- package/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -58
- package/node_modules/xmlbuilder/lib/XMLNode.js +0 -785
- package/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -48
- package/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -28
- package/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -49
- package/node_modules/xmlbuilder/lib/XMLRaw.js +0 -35
- package/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -176
- package/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -35
- package/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -240
- package/node_modules/xmlbuilder/lib/XMLText.js +0 -69
- package/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -21
- package/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -16
- package/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -428
- package/node_modules/xmlbuilder/lib/index.js +0 -65
- package/node_modules/xmlbuilder/package.json +0 -70
- package/node_modules/xmlbuilder/typings/index.d.ts +0 -153
- package/node_modules/xmldom/CHANGELOG.md +0 -203
- package/node_modules/xmldom/LICENSE +0 -8
- package/node_modules/xmldom/lib/.eslintrc.yml +0 -2
- package/node_modules/xmldom/lib/dom-parser.js +0 -253
- package/node_modules/xmldom/lib/dom.js +0 -1273
- package/node_modules/xmldom/lib/entities.js +0 -243
- package/node_modules/xmldom/lib/sax.js +0 -646
- package/node_modules/xmldom/package.json +0 -130
- package/node_modules/xmldom/readme.md +0 -262
- package/node_modules/xpath.js/README.md +0 -70
- package/node_modules/xpath.js/package.json +0 -62
- package/node_modules/xpath.js/sample.js +0 -8
- package/node_modules/xpath.js/tests/following.xml +0 -21
- package/node_modules/xpath.js/tests/test.js +0 -74
- package/node_modules/xpath.js/xpath.js +0 -4317
|
@@ -1,4317 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* xpath.js
|
|
3
|
-
*
|
|
4
|
-
* An XPath 1.0 library for JavaScript.
|
|
5
|
-
*
|
|
6
|
-
* Cameron McCormack <cam (at) mcc.id.au>
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* Revision 20: April 26, 2011
|
|
10
|
-
* Fixed a typo resulting in FIRST_ORDERED_NODE_TYPE results being wrong,
|
|
11
|
-
* thanks to <shi_a009 (at) hotmail.com>.
|
|
12
|
-
*
|
|
13
|
-
* Revision 19: November 29, 2005
|
|
14
|
-
* Nodesets now store their nodes in a height balanced tree, increasing
|
|
15
|
-
* performance for the common case of selecting nodes in document order,
|
|
16
|
-
* thanks to Sébastien Cramatte <contact (at) zeninteractif.com>.
|
|
17
|
-
* AVL tree code adapted from Raimund Neumann <rnova (at) gmx.net>.
|
|
18
|
-
*
|
|
19
|
-
* Revision 18: October 27, 2005
|
|
20
|
-
* DOM 3 XPath support. Caveats:
|
|
21
|
-
* - namespace prefixes aren't resolved in XPathEvaluator.createExpression,
|
|
22
|
-
* but in XPathExpression.evaluate.
|
|
23
|
-
* - XPathResult.invalidIteratorState is not implemented.
|
|
24
|
-
*
|
|
25
|
-
* Revision 17: October 25, 2005
|
|
26
|
-
* Some core XPath function fixes and a patch to avoid crashing certain
|
|
27
|
-
* versions of MSXML in PathExpr.prototype.getOwnerElement, thanks to
|
|
28
|
-
* Sébastien Cramatte <contact (at) zeninteractif.com>.
|
|
29
|
-
*
|
|
30
|
-
* Revision 16: September 22, 2005
|
|
31
|
-
* Workarounds for some IE 5.5 deficiencies.
|
|
32
|
-
* Fixed problem with prefix node tests on attribute nodes.
|
|
33
|
-
*
|
|
34
|
-
* Revision 15: May 21, 2005
|
|
35
|
-
* Fixed problem with QName node tests on elements with an xmlns="...".
|
|
36
|
-
*
|
|
37
|
-
* Revision 14: May 19, 2005
|
|
38
|
-
* Fixed QName node tests on attribute node regression.
|
|
39
|
-
*
|
|
40
|
-
* Revision 13: May 3, 2005
|
|
41
|
-
* Node tests are case insensitive now if working in an HTML DOM.
|
|
42
|
-
*
|
|
43
|
-
* Revision 12: April 26, 2005
|
|
44
|
-
* Updated licence. Slight code changes to enable use of Dean
|
|
45
|
-
* Edwards' script compression, http://dean.edwards.name/packer/ .
|
|
46
|
-
*
|
|
47
|
-
* Revision 11: April 23, 2005
|
|
48
|
-
* Fixed bug with 'and' and 'or' operators, fix thanks to
|
|
49
|
-
* Sandy McArthur <sandy (at) mcarthur.org>.
|
|
50
|
-
*
|
|
51
|
-
* Revision 10: April 15, 2005
|
|
52
|
-
* Added support for a virtual root node, supposedly helpful for
|
|
53
|
-
* implementing XForms. Fixed problem with QName node tests and
|
|
54
|
-
* the parent axis.
|
|
55
|
-
*
|
|
56
|
-
* Revision 9: March 17, 2005
|
|
57
|
-
* Namespace resolver tweaked so using the document node as the context
|
|
58
|
-
* for namespace lookups is equivalent to using the document element.
|
|
59
|
-
*
|
|
60
|
-
* Revision 8: February 13, 2005
|
|
61
|
-
* Handle implicit declaration of 'xmlns' namespace prefix.
|
|
62
|
-
* Fixed bug when comparing nodesets.
|
|
63
|
-
* Instance data can now be associated with a FunctionResolver, and
|
|
64
|
-
* workaround for MSXML not supporting 'localName' and 'getElementById',
|
|
65
|
-
* thanks to Grant Gongaware.
|
|
66
|
-
* Fix a few problems when the context node is the root node.
|
|
67
|
-
*
|
|
68
|
-
* Revision 7: February 11, 2005
|
|
69
|
-
* Default namespace resolver fix from Grant Gongaware
|
|
70
|
-
* <grant (at) gongaware.com>.
|
|
71
|
-
*
|
|
72
|
-
* Revision 6: February 10, 2005
|
|
73
|
-
* Fixed bug in 'number' function.
|
|
74
|
-
*
|
|
75
|
-
* Revision 5: February 9, 2005
|
|
76
|
-
* Fixed bug where text nodes not getting converted to string values.
|
|
77
|
-
*
|
|
78
|
-
* Revision 4: January 21, 2005
|
|
79
|
-
* Bug in 'name' function, fix thanks to Bill Edney.
|
|
80
|
-
* Fixed incorrect processing of namespace nodes.
|
|
81
|
-
* Fixed NamespaceResolver to resolve 'xml' namespace.
|
|
82
|
-
* Implemented union '|' operator.
|
|
83
|
-
*
|
|
84
|
-
* Revision 3: January 14, 2005
|
|
85
|
-
* Fixed bug with nodeset comparisons, bug lexing < and >.
|
|
86
|
-
*
|
|
87
|
-
* Revision 2: October 26, 2004
|
|
88
|
-
* QName node test namespace handling fixed. Few other bug fixes.
|
|
89
|
-
*
|
|
90
|
-
* Revision 1: August 13, 2004
|
|
91
|
-
* Bug fixes from William J. Edney <bedney (at) technicalpursuit.com>.
|
|
92
|
-
* Added minimal licence.
|
|
93
|
-
*
|
|
94
|
-
* Initial version: June 14, 2004
|
|
95
|
-
*/
|
|
96
|
-
|
|
97
|
-
// XPathParser ///////////////////////////////////////////////////////////////
|
|
98
|
-
|
|
99
|
-
XPathParser.prototype = new Object();
|
|
100
|
-
XPathParser.prototype.constructor = XPathParser;
|
|
101
|
-
XPathParser.superclass = Object.prototype;
|
|
102
|
-
|
|
103
|
-
function XPathParser() {
|
|
104
|
-
this.init();
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
XPathParser.prototype.init = function() {
|
|
108
|
-
this.reduceActions = [];
|
|
109
|
-
|
|
110
|
-
this.reduceActions[3] = function(rhs) {
|
|
111
|
-
return new OrOperation(rhs[0], rhs[2]);
|
|
112
|
-
};
|
|
113
|
-
this.reduceActions[5] = function(rhs) {
|
|
114
|
-
return new AndOperation(rhs[0], rhs[2]);
|
|
115
|
-
};
|
|
116
|
-
this.reduceActions[7] = function(rhs) {
|
|
117
|
-
return new EqualsOperation(rhs[0], rhs[2]);
|
|
118
|
-
};
|
|
119
|
-
this.reduceActions[8] = function(rhs) {
|
|
120
|
-
return new NotEqualOperation(rhs[0], rhs[2]);
|
|
121
|
-
};
|
|
122
|
-
this.reduceActions[10] = function(rhs) {
|
|
123
|
-
return new LessThanOperation(rhs[0], rhs[2]);
|
|
124
|
-
};
|
|
125
|
-
this.reduceActions[11] = function(rhs) {
|
|
126
|
-
return new GreaterThanOperation(rhs[0], rhs[2]);
|
|
127
|
-
};
|
|
128
|
-
this.reduceActions[12] = function(rhs) {
|
|
129
|
-
return new LessThanOrEqualOperation(rhs[0], rhs[2]);
|
|
130
|
-
};
|
|
131
|
-
this.reduceActions[13] = function(rhs) {
|
|
132
|
-
return new GreaterThanOrEqualOperation(rhs[0], rhs[2]);
|
|
133
|
-
};
|
|
134
|
-
this.reduceActions[15] = function(rhs) {
|
|
135
|
-
return new PlusOperation(rhs[0], rhs[2]);
|
|
136
|
-
};
|
|
137
|
-
this.reduceActions[16] = function(rhs) {
|
|
138
|
-
return new MinusOperation(rhs[0], rhs[2]);
|
|
139
|
-
};
|
|
140
|
-
this.reduceActions[18] = function(rhs) {
|
|
141
|
-
return new MultiplyOperation(rhs[0], rhs[2]);
|
|
142
|
-
};
|
|
143
|
-
this.reduceActions[19] = function(rhs) {
|
|
144
|
-
return new DivOperation(rhs[0], rhs[2]);
|
|
145
|
-
};
|
|
146
|
-
this.reduceActions[20] = function(rhs) {
|
|
147
|
-
return new ModOperation(rhs[0], rhs[2]);
|
|
148
|
-
};
|
|
149
|
-
this.reduceActions[22] = function(rhs) {
|
|
150
|
-
return new UnaryMinusOperation(rhs[1]);
|
|
151
|
-
};
|
|
152
|
-
this.reduceActions[24] = function(rhs) {
|
|
153
|
-
return new BarOperation(rhs[0], rhs[2]);
|
|
154
|
-
};
|
|
155
|
-
this.reduceActions[25] = function(rhs) {
|
|
156
|
-
return new PathExpr(undefined, undefined, rhs[0]);
|
|
157
|
-
};
|
|
158
|
-
this.reduceActions[27] = function(rhs) {
|
|
159
|
-
rhs[0].locationPath = rhs[2];
|
|
160
|
-
return rhs[0];
|
|
161
|
-
};
|
|
162
|
-
this.reduceActions[28] = function(rhs) {
|
|
163
|
-
rhs[0].locationPath = rhs[2];
|
|
164
|
-
rhs[0].locationPath.steps.unshift(new Step(Step.DESCENDANTORSELF, new NodeTest(NodeTest.NODE, undefined), []));
|
|
165
|
-
return rhs[0];
|
|
166
|
-
};
|
|
167
|
-
this.reduceActions[29] = function(rhs) {
|
|
168
|
-
return new PathExpr(rhs[0], [], undefined);
|
|
169
|
-
};
|
|
170
|
-
this.reduceActions[30] = function(rhs) {
|
|
171
|
-
if (Utilities.instance_of(rhs[0], PathExpr)) {
|
|
172
|
-
if (rhs[0].filterPredicates == undefined) {
|
|
173
|
-
rhs[0].filterPredicates = [];
|
|
174
|
-
}
|
|
175
|
-
rhs[0].filterPredicates.push(rhs[1]);
|
|
176
|
-
return rhs[0];
|
|
177
|
-
} else {
|
|
178
|
-
return new PathExpr(rhs[0], [rhs[1]], undefined);
|
|
179
|
-
}
|
|
180
|
-
};
|
|
181
|
-
this.reduceActions[32] = function(rhs) {
|
|
182
|
-
return rhs[1];
|
|
183
|
-
};
|
|
184
|
-
this.reduceActions[33] = function(rhs) {
|
|
185
|
-
return new XString(rhs[0]);
|
|
186
|
-
};
|
|
187
|
-
this.reduceActions[34] = function(rhs) {
|
|
188
|
-
return new XNumber(rhs[0]);
|
|
189
|
-
};
|
|
190
|
-
this.reduceActions[36] = function(rhs) {
|
|
191
|
-
return new FunctionCall(rhs[0], []);
|
|
192
|
-
};
|
|
193
|
-
this.reduceActions[37] = function(rhs) {
|
|
194
|
-
return new FunctionCall(rhs[0], rhs[2]);
|
|
195
|
-
};
|
|
196
|
-
this.reduceActions[38] = function(rhs) {
|
|
197
|
-
return [ rhs[0] ];
|
|
198
|
-
};
|
|
199
|
-
this.reduceActions[39] = function(rhs) {
|
|
200
|
-
rhs[2].unshift(rhs[0]);
|
|
201
|
-
return rhs[2];
|
|
202
|
-
};
|
|
203
|
-
this.reduceActions[43] = function(rhs) {
|
|
204
|
-
return new LocationPath(true, []);
|
|
205
|
-
};
|
|
206
|
-
this.reduceActions[44] = function(rhs) {
|
|
207
|
-
rhs[1].absolute = true;
|
|
208
|
-
return rhs[1];
|
|
209
|
-
};
|
|
210
|
-
this.reduceActions[46] = function(rhs) {
|
|
211
|
-
return new LocationPath(false, [ rhs[0] ]);
|
|
212
|
-
};
|
|
213
|
-
this.reduceActions[47] = function(rhs) {
|
|
214
|
-
rhs[0].steps.push(rhs[2]);
|
|
215
|
-
return rhs[0];
|
|
216
|
-
};
|
|
217
|
-
this.reduceActions[49] = function(rhs) {
|
|
218
|
-
return new Step(rhs[0], rhs[1], []);
|
|
219
|
-
};
|
|
220
|
-
this.reduceActions[50] = function(rhs) {
|
|
221
|
-
return new Step(Step.CHILD, rhs[0], []);
|
|
222
|
-
};
|
|
223
|
-
this.reduceActions[51] = function(rhs) {
|
|
224
|
-
return new Step(rhs[0], rhs[1], rhs[2]);
|
|
225
|
-
};
|
|
226
|
-
this.reduceActions[52] = function(rhs) {
|
|
227
|
-
return new Step(Step.CHILD, rhs[0], rhs[1]);
|
|
228
|
-
};
|
|
229
|
-
this.reduceActions[54] = function(rhs) {
|
|
230
|
-
return [ rhs[0] ];
|
|
231
|
-
};
|
|
232
|
-
this.reduceActions[55] = function(rhs) {
|
|
233
|
-
rhs[1].unshift(rhs[0]);
|
|
234
|
-
return rhs[1];
|
|
235
|
-
};
|
|
236
|
-
this.reduceActions[56] = function(rhs) {
|
|
237
|
-
if (rhs[0] == "ancestor") {
|
|
238
|
-
return Step.ANCESTOR;
|
|
239
|
-
} else if (rhs[0] == "ancestor-or-self") {
|
|
240
|
-
return Step.ANCESTORORSELF;
|
|
241
|
-
} else if (rhs[0] == "attribute") {
|
|
242
|
-
return Step.ATTRIBUTE;
|
|
243
|
-
} else if (rhs[0] == "child") {
|
|
244
|
-
return Step.CHILD;
|
|
245
|
-
} else if (rhs[0] == "descendant") {
|
|
246
|
-
return Step.DESCENDANT;
|
|
247
|
-
} else if (rhs[0] == "descendant-or-self") {
|
|
248
|
-
return Step.DESCENDANTORSELF;
|
|
249
|
-
} else if (rhs[0] == "following") {
|
|
250
|
-
return Step.FOLLOWING;
|
|
251
|
-
} else if (rhs[0] == "following-sibling") {
|
|
252
|
-
return Step.FOLLOWINGSIBLING;
|
|
253
|
-
} else if (rhs[0] == "namespace") {
|
|
254
|
-
return Step.NAMESPACE;
|
|
255
|
-
} else if (rhs[0] == "parent") {
|
|
256
|
-
return Step.PARENT;
|
|
257
|
-
} else if (rhs[0] == "preceding") {
|
|
258
|
-
return Step.PRECEDING;
|
|
259
|
-
} else if (rhs[0] == "preceding-sibling") {
|
|
260
|
-
return Step.PRECEDINGSIBLING;
|
|
261
|
-
} else if (rhs[0] == "self") {
|
|
262
|
-
return Step.SELF;
|
|
263
|
-
}
|
|
264
|
-
return -1;
|
|
265
|
-
};
|
|
266
|
-
this.reduceActions[57] = function(rhs) {
|
|
267
|
-
return Step.ATTRIBUTE;
|
|
268
|
-
};
|
|
269
|
-
this.reduceActions[59] = function(rhs) {
|
|
270
|
-
if (rhs[0] == "comment") {
|
|
271
|
-
return new NodeTest(NodeTest.COMMENT, undefined);
|
|
272
|
-
} else if (rhs[0] == "text") {
|
|
273
|
-
return new NodeTest(NodeTest.TEXT, undefined);
|
|
274
|
-
} else if (rhs[0] == "processing-instruction") {
|
|
275
|
-
return new NodeTest(NodeTest.PI, undefined);
|
|
276
|
-
} else if (rhs[0] == "node") {
|
|
277
|
-
return new NodeTest(NodeTest.NODE, undefined);
|
|
278
|
-
}
|
|
279
|
-
return new NodeTest(-1, undefined);
|
|
280
|
-
};
|
|
281
|
-
this.reduceActions[60] = function(rhs) {
|
|
282
|
-
return new NodeTest(NodeTest.PI, rhs[2]);
|
|
283
|
-
};
|
|
284
|
-
this.reduceActions[61] = function(rhs) {
|
|
285
|
-
return rhs[1];
|
|
286
|
-
};
|
|
287
|
-
this.reduceActions[63] = function(rhs) {
|
|
288
|
-
rhs[1].absolute = true;
|
|
289
|
-
rhs[1].steps.unshift(new Step(Step.DESCENDANTORSELF, new NodeTest(NodeTest.NODE, undefined), []));
|
|
290
|
-
return rhs[1];
|
|
291
|
-
};
|
|
292
|
-
this.reduceActions[64] = function(rhs) {
|
|
293
|
-
rhs[0].steps.push(new Step(Step.DESCENDANTORSELF, new NodeTest(NodeTest.NODE, undefined), []));
|
|
294
|
-
rhs[0].steps.push(rhs[2]);
|
|
295
|
-
return rhs[0];
|
|
296
|
-
};
|
|
297
|
-
this.reduceActions[65] = function(rhs) {
|
|
298
|
-
return new Step(Step.SELF, new NodeTest(NodeTest.NODE, undefined), []);
|
|
299
|
-
};
|
|
300
|
-
this.reduceActions[66] = function(rhs) {
|
|
301
|
-
return new Step(Step.PARENT, new NodeTest(NodeTest.NODE, undefined), []);
|
|
302
|
-
};
|
|
303
|
-
this.reduceActions[67] = function(rhs) {
|
|
304
|
-
return new VariableReference(rhs[1]);
|
|
305
|
-
};
|
|
306
|
-
this.reduceActions[68] = function(rhs) {
|
|
307
|
-
return new NodeTest(NodeTest.NAMETESTANY, undefined);
|
|
308
|
-
};
|
|
309
|
-
this.reduceActions[69] = function(rhs) {
|
|
310
|
-
var prefix = rhs[0].substring(0, rhs[0].indexOf(":"));
|
|
311
|
-
return new NodeTest(NodeTest.NAMETESTPREFIXANY, prefix);
|
|
312
|
-
};
|
|
313
|
-
this.reduceActions[70] = function(rhs) {
|
|
314
|
-
return new NodeTest(NodeTest.NAMETESTQNAME, rhs[0]);
|
|
315
|
-
};
|
|
316
|
-
};
|
|
317
|
-
|
|
318
|
-
XPathParser.actionTable = [
|
|
319
|
-
" s s sssssssss s ss s ss",
|
|
320
|
-
" s ",
|
|
321
|
-
"r rrrrrrrrr rrrrrrr rr r ",
|
|
322
|
-
" rrrrr ",
|
|
323
|
-
" s s sssssssss s ss s ss",
|
|
324
|
-
"rs rrrrrrrr s sssssrrrrrr rrs rs ",
|
|
325
|
-
" s s sssssssss s ss s ss",
|
|
326
|
-
" s ",
|
|
327
|
-
" s ",
|
|
328
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
329
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
330
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
331
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
332
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
333
|
-
" s ",
|
|
334
|
-
" s ",
|
|
335
|
-
" s s sssss s s ",
|
|
336
|
-
"r rrrrrrrrr rrrrrrr rr r ",
|
|
337
|
-
"a ",
|
|
338
|
-
"r s rr r ",
|
|
339
|
-
"r sr rr r ",
|
|
340
|
-
"r s rr s rr r ",
|
|
341
|
-
"r rssrr rss rr r ",
|
|
342
|
-
"r rrrrr rrrss rr r ",
|
|
343
|
-
"r rrrrrsss rrrrr rr r ",
|
|
344
|
-
"r rrrrrrrr rrrrr rr r ",
|
|
345
|
-
"r rrrrrrrr rrrrrs rr r ",
|
|
346
|
-
"r rrrrrrrr rrrrrr rr r ",
|
|
347
|
-
"r rrrrrrrr rrrrrr rr r ",
|
|
348
|
-
"r srrrrrrrr rrrrrrs rr sr ",
|
|
349
|
-
"r srrrrrrrr rrrrrrs rr r ",
|
|
350
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
351
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
352
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
353
|
-
"r rrrrrrrr rrrrrr rr r ",
|
|
354
|
-
"r rrrrrrrr rrrrrr rr r ",
|
|
355
|
-
"r rrrrrrrrr rrrrrrr rr r ",
|
|
356
|
-
"r rrrrrrrrr rrrrrrr rr r ",
|
|
357
|
-
" sssss ",
|
|
358
|
-
"r rrrrrrrrr rrrrrrr rr sr ",
|
|
359
|
-
"r rrrrrrrrr rrrrrrr rr r ",
|
|
360
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
361
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
362
|
-
" s ",
|
|
363
|
-
"r srrrrrrrr rrrrrrs rr r ",
|
|
364
|
-
"r rrrrrrrr rrrrr rr r ",
|
|
365
|
-
" s ",
|
|
366
|
-
" s ",
|
|
367
|
-
" rrrrr ",
|
|
368
|
-
" s s sssssssss s sss s ss",
|
|
369
|
-
"r srrrrrrrr rrrrrrs rr r ",
|
|
370
|
-
" s s sssssssss s ss s ss",
|
|
371
|
-
" s s sssssssss s ss s ss",
|
|
372
|
-
" s s sssssssss s ss s ss",
|
|
373
|
-
" s s sssssssss s ss s ss",
|
|
374
|
-
" s s sssssssss s ss s ss",
|
|
375
|
-
" s s sssssssss s ss s ss",
|
|
376
|
-
" s s sssssssss s ss s ss",
|
|
377
|
-
" s s sssssssss s ss s ss",
|
|
378
|
-
" s s sssssssss s ss s ss",
|
|
379
|
-
" s s sssssssss s ss s ss",
|
|
380
|
-
" s s sssssssss s ss s ss",
|
|
381
|
-
" s s sssssssss s ss s ss",
|
|
382
|
-
" s s sssssssss s ss s ss",
|
|
383
|
-
" s s sssssssss ss s ss",
|
|
384
|
-
" s s sssssssss s ss s ss",
|
|
385
|
-
" s s sssss s s ",
|
|
386
|
-
" s s sssss s s ",
|
|
387
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
388
|
-
" s s sssss s s ",
|
|
389
|
-
" s s sssss s s ",
|
|
390
|
-
"r rrrrrrrrr rrrrrrr rr sr ",
|
|
391
|
-
"r rrrrrrrrr rrrrrrr rr sr ",
|
|
392
|
-
"r rrrrrrrrr rrrrrrr rr r ",
|
|
393
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
394
|
-
" s ",
|
|
395
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
396
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
397
|
-
" rr ",
|
|
398
|
-
" s ",
|
|
399
|
-
" rs ",
|
|
400
|
-
"r sr rr r ",
|
|
401
|
-
"r s rr s rr r ",
|
|
402
|
-
"r rssrr rss rr r ",
|
|
403
|
-
"r rssrr rss rr r ",
|
|
404
|
-
"r rrrrr rrrss rr r ",
|
|
405
|
-
"r rrrrr rrrss rr r ",
|
|
406
|
-
"r rrrrr rrrss rr r ",
|
|
407
|
-
"r rrrrr rrrss rr r ",
|
|
408
|
-
"r rrrrrsss rrrrr rr r ",
|
|
409
|
-
"r rrrrrsss rrrrr rr r ",
|
|
410
|
-
"r rrrrrrrr rrrrr rr r ",
|
|
411
|
-
"r rrrrrrrr rrrrr rr r ",
|
|
412
|
-
"r rrrrrrrr rrrrr rr r ",
|
|
413
|
-
"r rrrrrrrr rrrrrr rr r ",
|
|
414
|
-
" r ",
|
|
415
|
-
" s ",
|
|
416
|
-
"r srrrrrrrr rrrrrrs rr r ",
|
|
417
|
-
"r srrrrrrrr rrrrrrs rr r ",
|
|
418
|
-
"r rrrrrrrrr rrrrrrr rr r ",
|
|
419
|
-
"r rrrrrrrrr rrrrrrr rr r ",
|
|
420
|
-
"r rrrrrrrrr rrrrrrr rr r ",
|
|
421
|
-
"r rrrrrrrrr rrrrrrr rr r ",
|
|
422
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
423
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
424
|
-
" s s sssssssss s ss s ss",
|
|
425
|
-
"r rrrrrrrrr rrrrrrr rr rr ",
|
|
426
|
-
" r "
|
|
427
|
-
];
|
|
428
|
-
|
|
429
|
-
XPathParser.actionTableNumber = [
|
|
430
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
431
|
-
" J ",
|
|
432
|
-
"a aaaaaaaaa aaaaaaa aa a ",
|
|
433
|
-
" YYYYY ",
|
|
434
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
435
|
-
"K1 KKKKKKKK . +*)('KKKKKK KK# K\" ",
|
|
436
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
437
|
-
" N ",
|
|
438
|
-
" O ",
|
|
439
|
-
"e eeeeeeeee eeeeeee ee ee ",
|
|
440
|
-
"f fffffffff fffffff ff ff ",
|
|
441
|
-
"d ddddddddd ddddddd dd dd ",
|
|
442
|
-
"B BBBBBBBBB BBBBBBB BB BB ",
|
|
443
|
-
"A AAAAAAAAA AAAAAAA AA AA ",
|
|
444
|
-
" P ",
|
|
445
|
-
" Q ",
|
|
446
|
-
" 1 . +*)(' # \" ",
|
|
447
|
-
"b bbbbbbbbb bbbbbbb bb b ",
|
|
448
|
-
" ",
|
|
449
|
-
"! S !! ! ",
|
|
450
|
-
"\" T\" \"\" \" ",
|
|
451
|
-
"$ V $$ U $$ $ ",
|
|
452
|
-
"& &ZY&& &XW && & ",
|
|
453
|
-
") ))))) )))\\[ )) ) ",
|
|
454
|
-
". ....._^] ..... .. . ",
|
|
455
|
-
"1 11111111 11111 11 1 ",
|
|
456
|
-
"5 55555555 55555` 55 5 ",
|
|
457
|
-
"7 77777777 777777 77 7 ",
|
|
458
|
-
"9 99999999 999999 99 9 ",
|
|
459
|
-
": c:::::::: ::::::b :: a: ",
|
|
460
|
-
"I fIIIIIIII IIIIIIe II I ",
|
|
461
|
-
"= ========= ======= == == ",
|
|
462
|
-
"? ????????? ??????? ?? ?? ",
|
|
463
|
-
"C CCCCCCCCC CCCCCCC CC CC ",
|
|
464
|
-
"J JJJJJJJJ JJJJJJ JJ J ",
|
|
465
|
-
"M MMMMMMMM MMMMMM MM M ",
|
|
466
|
-
"N NNNNNNNNN NNNNNNN NN N ",
|
|
467
|
-
"P PPPPPPPPP PPPPPPP PP P ",
|
|
468
|
-
" +*)(' ",
|
|
469
|
-
"R RRRRRRRRR RRRRRRR RR aR ",
|
|
470
|
-
"U UUUUUUUUU UUUUUUU UU U ",
|
|
471
|
-
"Z ZZZZZZZZZ ZZZZZZZ ZZ ZZ ",
|
|
472
|
-
"c ccccccccc ccccccc cc cc ",
|
|
473
|
-
" j ",
|
|
474
|
-
"L fLLLLLLLL LLLLLLe LL L ",
|
|
475
|
-
"6 66666666 66666 66 6 ",
|
|
476
|
-
" k ",
|
|
477
|
-
" l ",
|
|
478
|
-
" XXXXX ",
|
|
479
|
-
" 1 0 /.-,+*)(' & %$m # \"!",
|
|
480
|
-
"_ f________ ______e __ _ ",
|
|
481
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
482
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
483
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
484
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
485
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
486
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
487
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
488
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
489
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
490
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
491
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
492
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
493
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
494
|
-
" 1 0 /.-,+*)(' %$ # \"!",
|
|
495
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
496
|
-
" 1 . +*)(' # \" ",
|
|
497
|
-
" 1 . +*)(' # \" ",
|
|
498
|
-
"> >>>>>>>>> >>>>>>> >> >> ",
|
|
499
|
-
" 1 . +*)(' # \" ",
|
|
500
|
-
" 1 . +*)(' # \" ",
|
|
501
|
-
"Q QQQQQQQQQ QQQQQQQ QQ aQ ",
|
|
502
|
-
"V VVVVVVVVV VVVVVVV VV aV ",
|
|
503
|
-
"T TTTTTTTTT TTTTTTT TT T ",
|
|
504
|
-
"@ @@@@@@@@@ @@@@@@@ @@ @@ ",
|
|
505
|
-
" \x87 ",
|
|
506
|
-
"[ [[[[[[[[[ [[[[[[[ [[ [[ ",
|
|
507
|
-
"D DDDDDDDDD DDDDDDD DD DD ",
|
|
508
|
-
" HH ",
|
|
509
|
-
" \x88 ",
|
|
510
|
-
" F\x89 ",
|
|
511
|
-
"# T# ## # ",
|
|
512
|
-
"% V %% U %% % ",
|
|
513
|
-
"' 'ZY'' 'XW '' ' ",
|
|
514
|
-
"( (ZY(( (XW (( ( ",
|
|
515
|
-
"+ +++++ +++\\[ ++ + ",
|
|
516
|
-
"* ***** ***\\[ ** * ",
|
|
517
|
-
"- ----- ---\\[ -- - ",
|
|
518
|
-
", ,,,,, ,,,\\[ ,, , ",
|
|
519
|
-
"0 00000_^] 00000 00 0 ",
|
|
520
|
-
"/ /////_^] ///// // / ",
|
|
521
|
-
"2 22222222 22222 22 2 ",
|
|
522
|
-
"3 33333333 33333 33 3 ",
|
|
523
|
-
"4 44444444 44444 44 4 ",
|
|
524
|
-
"8 88888888 888888 88 8 ",
|
|
525
|
-
" ^ ",
|
|
526
|
-
" \x8a ",
|
|
527
|
-
"; f;;;;;;;; ;;;;;;e ;; ; ",
|
|
528
|
-
"< f<<<<<<<< <<<<<<e << < ",
|
|
529
|
-
"O OOOOOOOOO OOOOOOO OO O ",
|
|
530
|
-
"` ````````` ``````` `` ` ",
|
|
531
|
-
"S SSSSSSSSS SSSSSSS SS S ",
|
|
532
|
-
"W WWWWWWWWW WWWWWWW WW W ",
|
|
533
|
-
"\\ \\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\ \\\\ \\\\ ",
|
|
534
|
-
"E EEEEEEEEE EEEEEEE EE EE ",
|
|
535
|
-
" 1 0 /.-,+*)(' & %$ # \"!",
|
|
536
|
-
"] ]]]]]]]]] ]]]]]]] ]] ]] ",
|
|
537
|
-
" G "
|
|
538
|
-
];
|
|
539
|
-
|
|
540
|
-
XPathParser.gotoTable = [
|
|
541
|
-
"3456789:;<=>?@ AB CDEFGH IJ ",
|
|
542
|
-
" ",
|
|
543
|
-
" ",
|
|
544
|
-
" ",
|
|
545
|
-
"L456789:;<=>?@ AB CDEFGH IJ ",
|
|
546
|
-
" M EFGH IJ ",
|
|
547
|
-
" N;<=>?@ AB CDEFGH IJ ",
|
|
548
|
-
" ",
|
|
549
|
-
" ",
|
|
550
|
-
" ",
|
|
551
|
-
" ",
|
|
552
|
-
" ",
|
|
553
|
-
" ",
|
|
554
|
-
" ",
|
|
555
|
-
" ",
|
|
556
|
-
" ",
|
|
557
|
-
" S EFGH IJ ",
|
|
558
|
-
" ",
|
|
559
|
-
" ",
|
|
560
|
-
" ",
|
|
561
|
-
" ",
|
|
562
|
-
" ",
|
|
563
|
-
" ",
|
|
564
|
-
" ",
|
|
565
|
-
" ",
|
|
566
|
-
" ",
|
|
567
|
-
" ",
|
|
568
|
-
" ",
|
|
569
|
-
" ",
|
|
570
|
-
" e ",
|
|
571
|
-
" ",
|
|
572
|
-
" ",
|
|
573
|
-
" ",
|
|
574
|
-
" ",
|
|
575
|
-
" ",
|
|
576
|
-
" ",
|
|
577
|
-
" ",
|
|
578
|
-
" ",
|
|
579
|
-
" h J ",
|
|
580
|
-
" i j ",
|
|
581
|
-
" ",
|
|
582
|
-
" ",
|
|
583
|
-
" ",
|
|
584
|
-
" ",
|
|
585
|
-
" ",
|
|
586
|
-
" ",
|
|
587
|
-
" ",
|
|
588
|
-
" ",
|
|
589
|
-
" ",
|
|
590
|
-
"o456789:;<=>?@ ABpqCDEFGH IJ ",
|
|
591
|
-
" ",
|
|
592
|
-
" r6789:;<=>?@ AB CDEFGH IJ ",
|
|
593
|
-
" s789:;<=>?@ AB CDEFGH IJ ",
|
|
594
|
-
" t89:;<=>?@ AB CDEFGH IJ ",
|
|
595
|
-
" u89:;<=>?@ AB CDEFGH IJ ",
|
|
596
|
-
" v9:;<=>?@ AB CDEFGH IJ ",
|
|
597
|
-
" w9:;<=>?@ AB CDEFGH IJ ",
|
|
598
|
-
" x9:;<=>?@ AB CDEFGH IJ ",
|
|
599
|
-
" y9:;<=>?@ AB CDEFGH IJ ",
|
|
600
|
-
" z:;<=>?@ AB CDEFGH IJ ",
|
|
601
|
-
" {:;<=>?@ AB CDEFGH IJ ",
|
|
602
|
-
" |;<=>?@ AB CDEFGH IJ ",
|
|
603
|
-
" };<=>?@ AB CDEFGH IJ ",
|
|
604
|
-
" ~;<=>?@ AB CDEFGH IJ ",
|
|
605
|
-
" \x7f=>?@ AB CDEFGH IJ ",
|
|
606
|
-
"\x80456789:;<=>?@ AB CDEFGH IJ\x81",
|
|
607
|
-
" \x82 EFGH IJ ",
|
|
608
|
-
" \x83 EFGH IJ ",
|
|
609
|
-
" ",
|
|
610
|
-
" \x84 GH IJ ",
|
|
611
|
-
" \x85 GH IJ ",
|
|
612
|
-
" i \x86 ",
|
|
613
|
-
" i \x87 ",
|
|
614
|
-
" ",
|
|
615
|
-
" ",
|
|
616
|
-
" ",
|
|
617
|
-
" ",
|
|
618
|
-
" ",
|
|
619
|
-
" ",
|
|
620
|
-
" ",
|
|
621
|
-
" ",
|
|
622
|
-
" ",
|
|
623
|
-
" ",
|
|
624
|
-
" ",
|
|
625
|
-
" ",
|
|
626
|
-
" ",
|
|
627
|
-
" ",
|
|
628
|
-
" ",
|
|
629
|
-
" ",
|
|
630
|
-
" ",
|
|
631
|
-
" ",
|
|
632
|
-
" ",
|
|
633
|
-
" ",
|
|
634
|
-
" ",
|
|
635
|
-
" ",
|
|
636
|
-
" ",
|
|
637
|
-
" ",
|
|
638
|
-
" ",
|
|
639
|
-
" ",
|
|
640
|
-
" ",
|
|
641
|
-
" ",
|
|
642
|
-
" ",
|
|
643
|
-
" ",
|
|
644
|
-
" ",
|
|
645
|
-
" ",
|
|
646
|
-
"o456789:;<=>?@ AB\x8cqCDEFGH IJ ",
|
|
647
|
-
" ",
|
|
648
|
-
" "
|
|
649
|
-
];
|
|
650
|
-
|
|
651
|
-
XPathParser.productions = [
|
|
652
|
-
[1, 1, 2],
|
|
653
|
-
[2, 1, 3],
|
|
654
|
-
[3, 1, 4],
|
|
655
|
-
[3, 3, 3, -9, 4],
|
|
656
|
-
[4, 1, 5],
|
|
657
|
-
[4, 3, 4, -8, 5],
|
|
658
|
-
[5, 1, 6],
|
|
659
|
-
[5, 3, 5, -22, 6],
|
|
660
|
-
[5, 3, 5, -5, 6],
|
|
661
|
-
[6, 1, 7],
|
|
662
|
-
[6, 3, 6, -23, 7],
|
|
663
|
-
[6, 3, 6, -24, 7],
|
|
664
|
-
[6, 3, 6, -6, 7],
|
|
665
|
-
[6, 3, 6, -7, 7],
|
|
666
|
-
[7, 1, 8],
|
|
667
|
-
[7, 3, 7, -25, 8],
|
|
668
|
-
[7, 3, 7, -26, 8],
|
|
669
|
-
[8, 1, 9],
|
|
670
|
-
[8, 3, 8, -12, 9],
|
|
671
|
-
[8, 3, 8, -11, 9],
|
|
672
|
-
[8, 3, 8, -10, 9],
|
|
673
|
-
[9, 1, 10],
|
|
674
|
-
[9, 2, -26, 9],
|
|
675
|
-
[10, 1, 11],
|
|
676
|
-
[10, 3, 10, -27, 11],
|
|
677
|
-
[11, 1, 12],
|
|
678
|
-
[11, 1, 13],
|
|
679
|
-
[11, 3, 13, -28, 14],
|
|
680
|
-
[11, 3, 13, -4, 14],
|
|
681
|
-
[13, 1, 15],
|
|
682
|
-
[13, 2, 13, 16],
|
|
683
|
-
[15, 1, 17],
|
|
684
|
-
[15, 3, -29, 2, -30],
|
|
685
|
-
[15, 1, -15],
|
|
686
|
-
[15, 1, -16],
|
|
687
|
-
[15, 1, 18],
|
|
688
|
-
[18, 3, -13, -29, -30],
|
|
689
|
-
[18, 4, -13, -29, 19, -30],
|
|
690
|
-
[19, 1, 20],
|
|
691
|
-
[19, 3, 20, -31, 19],
|
|
692
|
-
[20, 1, 2],
|
|
693
|
-
[12, 1, 14],
|
|
694
|
-
[12, 1, 21],
|
|
695
|
-
[21, 1, -28],
|
|
696
|
-
[21, 2, -28, 14],
|
|
697
|
-
[21, 1, 22],
|
|
698
|
-
[14, 1, 23],
|
|
699
|
-
[14, 3, 14, -28, 23],
|
|
700
|
-
[14, 1, 24],
|
|
701
|
-
[23, 2, 25, 26],
|
|
702
|
-
[23, 1, 26],
|
|
703
|
-
[23, 3, 25, 26, 27],
|
|
704
|
-
[23, 2, 26, 27],
|
|
705
|
-
[23, 1, 28],
|
|
706
|
-
[27, 1, 16],
|
|
707
|
-
[27, 2, 16, 27],
|
|
708
|
-
[25, 2, -14, -3],
|
|
709
|
-
[25, 1, -32],
|
|
710
|
-
[26, 1, 29],
|
|
711
|
-
[26, 3, -20, -29, -30],
|
|
712
|
-
[26, 4, -21, -29, -15, -30],
|
|
713
|
-
[16, 3, -33, 30, -34],
|
|
714
|
-
[30, 1, 2],
|
|
715
|
-
[22, 2, -4, 14],
|
|
716
|
-
[24, 3, 14, -4, 23],
|
|
717
|
-
[28, 1, -35],
|
|
718
|
-
[28, 1, -2],
|
|
719
|
-
[17, 2, -36, -18],
|
|
720
|
-
[29, 1, -17],
|
|
721
|
-
[29, 1, -19],
|
|
722
|
-
[29, 1, -18]
|
|
723
|
-
];
|
|
724
|
-
|
|
725
|
-
XPathParser.DOUBLEDOT = 2;
|
|
726
|
-
XPathParser.DOUBLECOLON = 3;
|
|
727
|
-
XPathParser.DOUBLESLASH = 4;
|
|
728
|
-
XPathParser.NOTEQUAL = 5;
|
|
729
|
-
XPathParser.LESSTHANOREQUAL = 6;
|
|
730
|
-
XPathParser.GREATERTHANOREQUAL = 7;
|
|
731
|
-
XPathParser.AND = 8;
|
|
732
|
-
XPathParser.OR = 9;
|
|
733
|
-
XPathParser.MOD = 10;
|
|
734
|
-
XPathParser.DIV = 11;
|
|
735
|
-
XPathParser.MULTIPLYOPERATOR = 12;
|
|
736
|
-
XPathParser.FUNCTIONNAME = 13;
|
|
737
|
-
XPathParser.AXISNAME = 14;
|
|
738
|
-
XPathParser.LITERAL = 15;
|
|
739
|
-
XPathParser.NUMBER = 16;
|
|
740
|
-
XPathParser.ASTERISKNAMETEST = 17;
|
|
741
|
-
XPathParser.QNAME = 18;
|
|
742
|
-
XPathParser.NCNAMECOLONASTERISK = 19;
|
|
743
|
-
XPathParser.NODETYPE = 20;
|
|
744
|
-
XPathParser.PROCESSINGINSTRUCTIONWITHLITERAL = 21;
|
|
745
|
-
XPathParser.EQUALS = 22;
|
|
746
|
-
XPathParser.LESSTHAN = 23;
|
|
747
|
-
XPathParser.GREATERTHAN = 24;
|
|
748
|
-
XPathParser.PLUS = 25;
|
|
749
|
-
XPathParser.MINUS = 26;
|
|
750
|
-
XPathParser.BAR = 27;
|
|
751
|
-
XPathParser.SLASH = 28;
|
|
752
|
-
XPathParser.LEFTPARENTHESIS = 29;
|
|
753
|
-
XPathParser.RIGHTPARENTHESIS = 30;
|
|
754
|
-
XPathParser.COMMA = 31;
|
|
755
|
-
XPathParser.AT = 32;
|
|
756
|
-
XPathParser.LEFTBRACKET = 33;
|
|
757
|
-
XPathParser.RIGHTBRACKET = 34;
|
|
758
|
-
XPathParser.DOT = 35;
|
|
759
|
-
XPathParser.DOLLAR = 36;
|
|
760
|
-
|
|
761
|
-
XPathParser.prototype.tokenize = function(s1) {
|
|
762
|
-
var types = [];
|
|
763
|
-
var values = [];
|
|
764
|
-
var s = s1 + '\0';
|
|
765
|
-
|
|
766
|
-
var pos = 0;
|
|
767
|
-
var c = s.charAt(pos++);
|
|
768
|
-
while (1) {
|
|
769
|
-
while (c == ' ' || c == '\t' || c == '\r' || c == '\n') {
|
|
770
|
-
c = s.charAt(pos++);
|
|
771
|
-
}
|
|
772
|
-
if (c == '\0' || pos >= s.length) {
|
|
773
|
-
break;
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
if (c == '(') {
|
|
777
|
-
types.push(XPathParser.LEFTPARENTHESIS);
|
|
778
|
-
values.push(c);
|
|
779
|
-
c = s.charAt(pos++);
|
|
780
|
-
continue;
|
|
781
|
-
}
|
|
782
|
-
if (c == ')') {
|
|
783
|
-
types.push(XPathParser.RIGHTPARENTHESIS);
|
|
784
|
-
values.push(c);
|
|
785
|
-
c = s.charAt(pos++);
|
|
786
|
-
continue;
|
|
787
|
-
}
|
|
788
|
-
if (c == '[') {
|
|
789
|
-
types.push(XPathParser.LEFTBRACKET);
|
|
790
|
-
values.push(c);
|
|
791
|
-
c = s.charAt(pos++);
|
|
792
|
-
continue;
|
|
793
|
-
}
|
|
794
|
-
if (c == ']') {
|
|
795
|
-
types.push(XPathParser.RIGHTBRACKET);
|
|
796
|
-
values.push(c);
|
|
797
|
-
c = s.charAt(pos++);
|
|
798
|
-
continue;
|
|
799
|
-
}
|
|
800
|
-
if (c == '@') {
|
|
801
|
-
types.push(XPathParser.AT);
|
|
802
|
-
values.push(c);
|
|
803
|
-
c = s.charAt(pos++);
|
|
804
|
-
continue;
|
|
805
|
-
}
|
|
806
|
-
if (c == ',') {
|
|
807
|
-
types.push(XPathParser.COMMA);
|
|
808
|
-
values.push(c);
|
|
809
|
-
c = s.charAt(pos++);
|
|
810
|
-
continue;
|
|
811
|
-
}
|
|
812
|
-
if (c == '|') {
|
|
813
|
-
types.push(XPathParser.BAR);
|
|
814
|
-
values.push(c);
|
|
815
|
-
c = s.charAt(pos++);
|
|
816
|
-
continue;
|
|
817
|
-
}
|
|
818
|
-
if (c == '+') {
|
|
819
|
-
types.push(XPathParser.PLUS);
|
|
820
|
-
values.push(c);
|
|
821
|
-
c = s.charAt(pos++);
|
|
822
|
-
continue;
|
|
823
|
-
}
|
|
824
|
-
if (c == '-') {
|
|
825
|
-
types.push(XPathParser.MINUS);
|
|
826
|
-
values.push(c);
|
|
827
|
-
c = s.charAt(pos++);
|
|
828
|
-
continue;
|
|
829
|
-
}
|
|
830
|
-
if (c == '=') {
|
|
831
|
-
types.push(XPathParser.EQUALS);
|
|
832
|
-
values.push(c);
|
|
833
|
-
c = s.charAt(pos++);
|
|
834
|
-
continue;
|
|
835
|
-
}
|
|
836
|
-
if (c == '$') {
|
|
837
|
-
types.push(XPathParser.DOLLAR);
|
|
838
|
-
values.push(c);
|
|
839
|
-
c = s.charAt(pos++);
|
|
840
|
-
continue;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
if (c == '.') {
|
|
844
|
-
c = s.charAt(pos++);
|
|
845
|
-
if (c == '.') {
|
|
846
|
-
types.push(XPathParser.DOUBLEDOT);
|
|
847
|
-
values.push("..");
|
|
848
|
-
c = s.charAt(pos++);
|
|
849
|
-
continue;
|
|
850
|
-
}
|
|
851
|
-
if (c >= '0' && c <= '9') {
|
|
852
|
-
var number = "." + c;
|
|
853
|
-
c = s.charAt(pos++);
|
|
854
|
-
while (c >= '0' && c <= '9') {
|
|
855
|
-
number += c;
|
|
856
|
-
c = s.charAt(pos++);
|
|
857
|
-
}
|
|
858
|
-
types.push(XPathParser.NUMBER);
|
|
859
|
-
values.push(number);
|
|
860
|
-
continue;
|
|
861
|
-
}
|
|
862
|
-
types.push(XPathParser.DOT);
|
|
863
|
-
values.push('.');
|
|
864
|
-
continue;
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
if (c == '\'' || c == '"') {
|
|
868
|
-
var delimiter = c;
|
|
869
|
-
var literal = "";
|
|
870
|
-
while ((c = s.charAt(pos++)) != delimiter) {
|
|
871
|
-
literal += c;
|
|
872
|
-
}
|
|
873
|
-
types.push(XPathParser.LITERAL);
|
|
874
|
-
values.push(literal);
|
|
875
|
-
c = s.charAt(pos++);
|
|
876
|
-
continue;
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
if (c >= '0' && c <= '9') {
|
|
880
|
-
var number = c;
|
|
881
|
-
c = s.charAt(pos++);
|
|
882
|
-
while (c >= '0' && c <= '9') {
|
|
883
|
-
number += c;
|
|
884
|
-
c = s.charAt(pos++);
|
|
885
|
-
}
|
|
886
|
-
if (c == '.') {
|
|
887
|
-
if (s.charAt(pos) >= '0' && s.charAt(pos) <= '9') {
|
|
888
|
-
number += c;
|
|
889
|
-
number += s.charAt(pos++);
|
|
890
|
-
c = s.charAt(pos++);
|
|
891
|
-
while (c >= '0' && c <= '9') {
|
|
892
|
-
number += c;
|
|
893
|
-
c = s.charAt(pos++);
|
|
894
|
-
}
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
types.push(XPathParser.NUMBER);
|
|
898
|
-
values.push(number);
|
|
899
|
-
continue;
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
if (c == '*') {
|
|
903
|
-
if (types.length > 0) {
|
|
904
|
-
var last = types[types.length - 1];
|
|
905
|
-
if (last != XPathParser.AT
|
|
906
|
-
&& last != XPathParser.DOUBLECOLON
|
|
907
|
-
&& last != XPathParser.LEFTPARENTHESIS
|
|
908
|
-
&& last != XPathParser.LEFTBRACKET
|
|
909
|
-
&& last != XPathParser.AND
|
|
910
|
-
&& last != XPathParser.OR
|
|
911
|
-
&& last != XPathParser.MOD
|
|
912
|
-
&& last != XPathParser.DIV
|
|
913
|
-
&& last != XPathParser.MULTIPLYOPERATOR
|
|
914
|
-
&& last != XPathParser.SLASH
|
|
915
|
-
&& last != XPathParser.DOUBLESLASH
|
|
916
|
-
&& last != XPathParser.BAR
|
|
917
|
-
&& last != XPathParser.PLUS
|
|
918
|
-
&& last != XPathParser.MINUS
|
|
919
|
-
&& last != XPathParser.EQUALS
|
|
920
|
-
&& last != XPathParser.NOTEQUAL
|
|
921
|
-
&& last != XPathParser.LESSTHAN
|
|
922
|
-
&& last != XPathParser.LESSTHANOREQUAL
|
|
923
|
-
&& last != XPathParser.GREATERTHAN
|
|
924
|
-
&& last != XPathParser.GREATERTHANOREQUAL) {
|
|
925
|
-
types.push(XPathParser.MULTIPLYOPERATOR);
|
|
926
|
-
values.push(c);
|
|
927
|
-
c = s.charAt(pos++);
|
|
928
|
-
continue;
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
types.push(XPathParser.ASTERISKNAMETEST);
|
|
932
|
-
values.push(c);
|
|
933
|
-
c = s.charAt(pos++);
|
|
934
|
-
continue;
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
if (c == ':') {
|
|
938
|
-
if (s.charAt(pos) == ':') {
|
|
939
|
-
types.push(XPathParser.DOUBLECOLON);
|
|
940
|
-
values.push("::");
|
|
941
|
-
pos++;
|
|
942
|
-
c = s.charAt(pos++);
|
|
943
|
-
continue;
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
if (c == '/') {
|
|
948
|
-
c = s.charAt(pos++);
|
|
949
|
-
if (c == '/') {
|
|
950
|
-
types.push(XPathParser.DOUBLESLASH);
|
|
951
|
-
values.push("//");
|
|
952
|
-
c = s.charAt(pos++);
|
|
953
|
-
continue;
|
|
954
|
-
}
|
|
955
|
-
types.push(XPathParser.SLASH);
|
|
956
|
-
values.push('/');
|
|
957
|
-
continue;
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
if (c == '!') {
|
|
961
|
-
if (s.charAt(pos) == '=') {
|
|
962
|
-
types.push(XPathParser.NOTEQUAL);
|
|
963
|
-
values.push("!=");
|
|
964
|
-
pos++;
|
|
965
|
-
c = s.charAt(pos++);
|
|
966
|
-
continue;
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
if (c == '<') {
|
|
971
|
-
if (s.charAt(pos) == '=') {
|
|
972
|
-
types.push(XPathParser.LESSTHANOREQUAL);
|
|
973
|
-
values.push("<=");
|
|
974
|
-
pos++;
|
|
975
|
-
c = s.charAt(pos++);
|
|
976
|
-
continue;
|
|
977
|
-
}
|
|
978
|
-
types.push(XPathParser.LESSTHAN);
|
|
979
|
-
values.push('<');
|
|
980
|
-
c = s.charAt(pos++);
|
|
981
|
-
continue;
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
if (c == '>') {
|
|
985
|
-
if (s.charAt(pos) == '=') {
|
|
986
|
-
types.push(XPathParser.GREATERTHANOREQUAL);
|
|
987
|
-
values.push(">=");
|
|
988
|
-
pos++;
|
|
989
|
-
c = s.charAt(pos++);
|
|
990
|
-
continue;
|
|
991
|
-
}
|
|
992
|
-
types.push(XPathParser.GREATERTHAN);
|
|
993
|
-
values.push('>');
|
|
994
|
-
c = s.charAt(pos++);
|
|
995
|
-
continue;
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
if (c == '_' || Utilities.isLetter(c.charCodeAt(0))) {
|
|
999
|
-
var name = c;
|
|
1000
|
-
c = s.charAt(pos++);
|
|
1001
|
-
while (Utilities.isNCNameChar(c.charCodeAt(0))) {
|
|
1002
|
-
name += c;
|
|
1003
|
-
c = s.charAt(pos++);
|
|
1004
|
-
}
|
|
1005
|
-
if (types.length > 0) {
|
|
1006
|
-
var last = types[types.length - 1];
|
|
1007
|
-
if (last != XPathParser.AT
|
|
1008
|
-
&& last != XPathParser.DOUBLECOLON
|
|
1009
|
-
&& last != XPathParser.LEFTPARENTHESIS
|
|
1010
|
-
&& last != XPathParser.LEFTBRACKET
|
|
1011
|
-
&& last != XPathParser.AND
|
|
1012
|
-
&& last != XPathParser.OR
|
|
1013
|
-
&& last != XPathParser.MOD
|
|
1014
|
-
&& last != XPathParser.DIV
|
|
1015
|
-
&& last != XPathParser.MULTIPLYOPERATOR
|
|
1016
|
-
&& last != XPathParser.SLASH
|
|
1017
|
-
&& last != XPathParser.DOUBLESLASH
|
|
1018
|
-
&& last != XPathParser.BAR
|
|
1019
|
-
&& last != XPathParser.PLUS
|
|
1020
|
-
&& last != XPathParser.MINUS
|
|
1021
|
-
&& last != XPathParser.EQUALS
|
|
1022
|
-
&& last != XPathParser.NOTEQUAL
|
|
1023
|
-
&& last != XPathParser.LESSTHAN
|
|
1024
|
-
&& last != XPathParser.LESSTHANOREQUAL
|
|
1025
|
-
&& last != XPathParser.GREATERTHAN
|
|
1026
|
-
&& last != XPathParser.GREATERTHANOREQUAL) {
|
|
1027
|
-
if (name == "and") {
|
|
1028
|
-
types.push(XPathParser.AND);
|
|
1029
|
-
values.push(name);
|
|
1030
|
-
continue;
|
|
1031
|
-
}
|
|
1032
|
-
if (name == "or") {
|
|
1033
|
-
types.push(XPathParser.OR);
|
|
1034
|
-
values.push(name);
|
|
1035
|
-
continue;
|
|
1036
|
-
}
|
|
1037
|
-
if (name == "mod") {
|
|
1038
|
-
types.push(XPathParser.MOD);
|
|
1039
|
-
values.push(name);
|
|
1040
|
-
continue;
|
|
1041
|
-
}
|
|
1042
|
-
if (name == "div") {
|
|
1043
|
-
types.push(XPathParser.DIV);
|
|
1044
|
-
values.push(name);
|
|
1045
|
-
continue;
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
if (c == ':') {
|
|
1050
|
-
if (s.charAt(pos) == '*') {
|
|
1051
|
-
types.push(XPathParser.NCNAMECOLONASTERISK);
|
|
1052
|
-
values.push(name + ":*");
|
|
1053
|
-
pos++;
|
|
1054
|
-
c = s.charAt(pos++);
|
|
1055
|
-
continue;
|
|
1056
|
-
}
|
|
1057
|
-
if (s.charAt(pos) == '_' || Utilities.isLetter(s.charCodeAt(pos))) {
|
|
1058
|
-
name += ':';
|
|
1059
|
-
c = s.charAt(pos++);
|
|
1060
|
-
while (Utilities.isNCNameChar(c.charCodeAt(0))) {
|
|
1061
|
-
name += c;
|
|
1062
|
-
c = s.charAt(pos++);
|
|
1063
|
-
}
|
|
1064
|
-
if (c == '(') {
|
|
1065
|
-
types.push(XPathParser.FUNCTIONNAME);
|
|
1066
|
-
values.push(name);
|
|
1067
|
-
continue;
|
|
1068
|
-
}
|
|
1069
|
-
types.push(XPathParser.QNAME);
|
|
1070
|
-
values.push(name);
|
|
1071
|
-
continue;
|
|
1072
|
-
}
|
|
1073
|
-
if (s.charAt(pos) == ':') {
|
|
1074
|
-
types.push(XPathParser.AXISNAME);
|
|
1075
|
-
values.push(name);
|
|
1076
|
-
continue;
|
|
1077
|
-
}
|
|
1078
|
-
}
|
|
1079
|
-
if (c == '(') {
|
|
1080
|
-
if (name == "comment" || name == "text" || name == "node") {
|
|
1081
|
-
types.push(XPathParser.NODETYPE);
|
|
1082
|
-
values.push(name);
|
|
1083
|
-
continue;
|
|
1084
|
-
}
|
|
1085
|
-
if (name == "processing-instruction") {
|
|
1086
|
-
if (s.charAt(pos) == ')') {
|
|
1087
|
-
types.push(XPathParser.NODETYPE);
|
|
1088
|
-
} else {
|
|
1089
|
-
types.push(XPathParser.PROCESSINGINSTRUCTIONWITHLITERAL);
|
|
1090
|
-
}
|
|
1091
|
-
values.push(name);
|
|
1092
|
-
continue;
|
|
1093
|
-
}
|
|
1094
|
-
types.push(XPathParser.FUNCTIONNAME);
|
|
1095
|
-
values.push(name);
|
|
1096
|
-
continue;
|
|
1097
|
-
}
|
|
1098
|
-
types.push(XPathParser.QNAME);
|
|
1099
|
-
values.push(name);
|
|
1100
|
-
continue;
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
throw new Error("Unexpected character " + c);
|
|
1104
|
-
}
|
|
1105
|
-
types.push(1);
|
|
1106
|
-
values.push("[EOF]");
|
|
1107
|
-
return [types, values];
|
|
1108
|
-
};
|
|
1109
|
-
|
|
1110
|
-
XPathParser.SHIFT = 's';
|
|
1111
|
-
XPathParser.REDUCE = 'r';
|
|
1112
|
-
XPathParser.ACCEPT = 'a';
|
|
1113
|
-
|
|
1114
|
-
XPathParser.prototype.parse = function(s) {
|
|
1115
|
-
var types;
|
|
1116
|
-
var values;
|
|
1117
|
-
var res = this.tokenize(s);
|
|
1118
|
-
if (res == undefined) {
|
|
1119
|
-
return undefined;
|
|
1120
|
-
}
|
|
1121
|
-
types = res[0];
|
|
1122
|
-
values = res[1];
|
|
1123
|
-
var tokenPos = 0;
|
|
1124
|
-
var state = [];
|
|
1125
|
-
var tokenType = [];
|
|
1126
|
-
var tokenValue = [];
|
|
1127
|
-
var s;
|
|
1128
|
-
var a;
|
|
1129
|
-
var t;
|
|
1130
|
-
|
|
1131
|
-
state.push(0);
|
|
1132
|
-
tokenType.push(1);
|
|
1133
|
-
tokenValue.push("_S");
|
|
1134
|
-
|
|
1135
|
-
a = types[tokenPos];
|
|
1136
|
-
t = values[tokenPos++];
|
|
1137
|
-
while (1) {
|
|
1138
|
-
s = state[state.length - 1];
|
|
1139
|
-
switch (XPathParser.actionTable[s].charAt(a - 1)) {
|
|
1140
|
-
case XPathParser.SHIFT:
|
|
1141
|
-
tokenType.push(-a);
|
|
1142
|
-
tokenValue.push(t);
|
|
1143
|
-
state.push(XPathParser.actionTableNumber[s].charCodeAt(a - 1) - 32);
|
|
1144
|
-
a = types[tokenPos];
|
|
1145
|
-
t = values[tokenPos++];
|
|
1146
|
-
break;
|
|
1147
|
-
case XPathParser.REDUCE:
|
|
1148
|
-
var num = XPathParser.productions[XPathParser.actionTableNumber[s].charCodeAt(a - 1) - 32][1];
|
|
1149
|
-
var rhs = [];
|
|
1150
|
-
for (var i = 0; i < num; i++) {
|
|
1151
|
-
tokenType.pop();
|
|
1152
|
-
rhs.unshift(tokenValue.pop());
|
|
1153
|
-
state.pop();
|
|
1154
|
-
}
|
|
1155
|
-
var s_ = state[state.length - 1];
|
|
1156
|
-
tokenType.push(XPathParser.productions[XPathParser.actionTableNumber[s].charCodeAt(a - 1) - 32][0]);
|
|
1157
|
-
if (this.reduceActions[XPathParser.actionTableNumber[s].charCodeAt(a - 1) - 32] == undefined) {
|
|
1158
|
-
tokenValue.push(rhs[0]);
|
|
1159
|
-
} else {
|
|
1160
|
-
tokenValue.push(this.reduceActions[XPathParser.actionTableNumber[s].charCodeAt(a - 1) - 32](rhs));
|
|
1161
|
-
}
|
|
1162
|
-
state.push(XPathParser.gotoTable[s_].charCodeAt(XPathParser.productions[XPathParser.actionTableNumber[s].charCodeAt(a - 1) - 32][0] - 2) - 33);
|
|
1163
|
-
break;
|
|
1164
|
-
case XPathParser.ACCEPT:
|
|
1165
|
-
return new XPath(tokenValue.pop());
|
|
1166
|
-
default:
|
|
1167
|
-
throw new Error("XPath parse error");
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1170
|
-
};
|
|
1171
|
-
|
|
1172
|
-
// XPath /////////////////////////////////////////////////////////////////////
|
|
1173
|
-
|
|
1174
|
-
XPath.prototype = new Object();
|
|
1175
|
-
XPath.prototype.constructor = XPath;
|
|
1176
|
-
XPath.superclass = Object.prototype;
|
|
1177
|
-
|
|
1178
|
-
function XPath(e) {
|
|
1179
|
-
this.expression = e;
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
XPath.prototype.toString = function() {
|
|
1183
|
-
return this.expression.toString();
|
|
1184
|
-
};
|
|
1185
|
-
|
|
1186
|
-
XPath.prototype.evaluate = function(c) {
|
|
1187
|
-
c.contextNode = c.expressionContextNode;
|
|
1188
|
-
c.contextSize = 1;
|
|
1189
|
-
c.contextPosition = 1;
|
|
1190
|
-
c.caseInsensitive = false;
|
|
1191
|
-
if (c.contextNode != null) {
|
|
1192
|
-
var doc = c.contextNode;
|
|
1193
|
-
if (doc.nodeType != 9 /*Node.DOCUMENT_NODE*/) {
|
|
1194
|
-
doc = doc.ownerDocument;
|
|
1195
|
-
}
|
|
1196
|
-
try {
|
|
1197
|
-
c.caseInsensitive = doc.implementation.hasFeature("HTML", "2.0");
|
|
1198
|
-
} catch (e) {
|
|
1199
|
-
c.caseInsensitive = true;
|
|
1200
|
-
}
|
|
1201
|
-
}
|
|
1202
|
-
return this.expression.evaluate(c);
|
|
1203
|
-
};
|
|
1204
|
-
|
|
1205
|
-
XPath.XML_NAMESPACE_URI = "http://www.w3.org/XML/1998/namespace";
|
|
1206
|
-
XPath.XMLNS_NAMESPACE_URI = "http://www.w3.org/2000/xmlns/";
|
|
1207
|
-
|
|
1208
|
-
// Expression ////////////////////////////////////////////////////////////////
|
|
1209
|
-
|
|
1210
|
-
Expression.prototype = new Object();
|
|
1211
|
-
Expression.prototype.constructor = Expression;
|
|
1212
|
-
Expression.superclass = Object.prototype;
|
|
1213
|
-
|
|
1214
|
-
function Expression() {
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
Expression.prototype.init = function() {
|
|
1218
|
-
};
|
|
1219
|
-
|
|
1220
|
-
Expression.prototype.toString = function() {
|
|
1221
|
-
return "<Expression>";
|
|
1222
|
-
};
|
|
1223
|
-
|
|
1224
|
-
Expression.prototype.evaluate = function(c) {
|
|
1225
|
-
throw new Error("Could not evaluate expression.");
|
|
1226
|
-
};
|
|
1227
|
-
|
|
1228
|
-
// UnaryOperation ////////////////////////////////////////////////////////////
|
|
1229
|
-
|
|
1230
|
-
UnaryOperation.prototype = new Expression();
|
|
1231
|
-
UnaryOperation.prototype.constructor = UnaryOperation;
|
|
1232
|
-
UnaryOperation.superclass = Expression.prototype;
|
|
1233
|
-
|
|
1234
|
-
function UnaryOperation(rhs) {
|
|
1235
|
-
if (arguments.length > 0) {
|
|
1236
|
-
this.init(rhs);
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
UnaryOperation.prototype.init = function(rhs) {
|
|
1241
|
-
this.rhs = rhs;
|
|
1242
|
-
};
|
|
1243
|
-
|
|
1244
|
-
// UnaryMinusOperation ///////////////////////////////////////////////////////
|
|
1245
|
-
|
|
1246
|
-
UnaryMinusOperation.prototype = new UnaryOperation();
|
|
1247
|
-
UnaryMinusOperation.prototype.constructor = UnaryMinusOperation;
|
|
1248
|
-
UnaryMinusOperation.superclass = UnaryOperation.prototype;
|
|
1249
|
-
|
|
1250
|
-
function UnaryMinusOperation(rhs) {
|
|
1251
|
-
if (arguments.length > 0) {
|
|
1252
|
-
this.init(rhs);
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
|
-
UnaryMinusOperation.prototype.init = function(rhs) {
|
|
1257
|
-
UnaryMinusOperation.superclass.init.call(this, rhs);
|
|
1258
|
-
};
|
|
1259
|
-
|
|
1260
|
-
UnaryMinusOperation.prototype.evaluate = function(c) {
|
|
1261
|
-
return this.rhs.evaluate(c).number().negate();
|
|
1262
|
-
};
|
|
1263
|
-
|
|
1264
|
-
UnaryMinusOperation.prototype.toString = function() {
|
|
1265
|
-
return "-" + this.rhs.toString();
|
|
1266
|
-
};
|
|
1267
|
-
|
|
1268
|
-
// BinaryOperation ///////////////////////////////////////////////////////////
|
|
1269
|
-
|
|
1270
|
-
BinaryOperation.prototype = new Expression();
|
|
1271
|
-
BinaryOperation.prototype.constructor = BinaryOperation;
|
|
1272
|
-
BinaryOperation.superclass = Expression.prototype;
|
|
1273
|
-
|
|
1274
|
-
function BinaryOperation(lhs, rhs) {
|
|
1275
|
-
if (arguments.length > 0) {
|
|
1276
|
-
this.init(lhs, rhs);
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
BinaryOperation.prototype.init = function(lhs, rhs) {
|
|
1281
|
-
this.lhs = lhs;
|
|
1282
|
-
this.rhs = rhs;
|
|
1283
|
-
};
|
|
1284
|
-
|
|
1285
|
-
// OrOperation ///////////////////////////////////////////////////////////////
|
|
1286
|
-
|
|
1287
|
-
OrOperation.prototype = new BinaryOperation();
|
|
1288
|
-
OrOperation.prototype.constructor = OrOperation;
|
|
1289
|
-
OrOperation.superclass = BinaryOperation.prototype;
|
|
1290
|
-
|
|
1291
|
-
function OrOperation(lhs, rhs) {
|
|
1292
|
-
if (arguments.length > 0) {
|
|
1293
|
-
this.init(lhs, rhs);
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
OrOperation.prototype.init = function(lhs, rhs) {
|
|
1298
|
-
OrOperation.superclass.init.call(this, lhs, rhs);
|
|
1299
|
-
};
|
|
1300
|
-
|
|
1301
|
-
OrOperation.prototype.toString = function() {
|
|
1302
|
-
return "(" + this.lhs.toString() + " or " + this.rhs.toString() + ")";
|
|
1303
|
-
};
|
|
1304
|
-
|
|
1305
|
-
OrOperation.prototype.evaluate = function(c) {
|
|
1306
|
-
var b = this.lhs.evaluate(c).bool();
|
|
1307
|
-
if (b.booleanValue()) {
|
|
1308
|
-
return b;
|
|
1309
|
-
}
|
|
1310
|
-
return this.rhs.evaluate(c).bool();
|
|
1311
|
-
};
|
|
1312
|
-
|
|
1313
|
-
// AndOperation //////////////////////////////////////////////////////////////
|
|
1314
|
-
|
|
1315
|
-
AndOperation.prototype = new BinaryOperation();
|
|
1316
|
-
AndOperation.prototype.constructor = AndOperation;
|
|
1317
|
-
AndOperation.superclass = BinaryOperation.prototype;
|
|
1318
|
-
|
|
1319
|
-
function AndOperation(lhs, rhs) {
|
|
1320
|
-
if (arguments.length > 0) {
|
|
1321
|
-
this.init(lhs, rhs);
|
|
1322
|
-
}
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
AndOperation.prototype.init = function(lhs, rhs) {
|
|
1326
|
-
AndOperation.superclass.init.call(this, lhs, rhs);
|
|
1327
|
-
};
|
|
1328
|
-
|
|
1329
|
-
AndOperation.prototype.toString = function() {
|
|
1330
|
-
return "(" + this.lhs.toString() + " and " + this.rhs.toString() + ")";
|
|
1331
|
-
};
|
|
1332
|
-
|
|
1333
|
-
AndOperation.prototype.evaluate = function(c) {
|
|
1334
|
-
var b = this.lhs.evaluate(c).bool();
|
|
1335
|
-
if (!b.booleanValue()) {
|
|
1336
|
-
return b;
|
|
1337
|
-
}
|
|
1338
|
-
return this.rhs.evaluate(c).bool();
|
|
1339
|
-
};
|
|
1340
|
-
|
|
1341
|
-
// EqualsOperation ///////////////////////////////////////////////////////////
|
|
1342
|
-
|
|
1343
|
-
EqualsOperation.prototype = new BinaryOperation();
|
|
1344
|
-
EqualsOperation.prototype.constructor = EqualsOperation;
|
|
1345
|
-
EqualsOperation.superclass = BinaryOperation.prototype;
|
|
1346
|
-
|
|
1347
|
-
function EqualsOperation(lhs, rhs) {
|
|
1348
|
-
if (arguments.length > 0) {
|
|
1349
|
-
this.init(lhs, rhs);
|
|
1350
|
-
}
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1353
|
-
EqualsOperation.prototype.init = function(lhs, rhs) {
|
|
1354
|
-
EqualsOperation.superclass.init.call(this, lhs, rhs);
|
|
1355
|
-
};
|
|
1356
|
-
|
|
1357
|
-
EqualsOperation.prototype.toString = function() {
|
|
1358
|
-
return "(" + this.lhs.toString() + " = " + this.rhs.toString() + ")";
|
|
1359
|
-
};
|
|
1360
|
-
|
|
1361
|
-
EqualsOperation.prototype.evaluate = function(c) {
|
|
1362
|
-
return this.lhs.evaluate(c).equals(this.rhs.evaluate(c));
|
|
1363
|
-
};
|
|
1364
|
-
|
|
1365
|
-
// NotEqualOperation /////////////////////////////////////////////////////////
|
|
1366
|
-
|
|
1367
|
-
NotEqualOperation.prototype = new BinaryOperation();
|
|
1368
|
-
NotEqualOperation.prototype.constructor = NotEqualOperation;
|
|
1369
|
-
NotEqualOperation.superclass = BinaryOperation.prototype;
|
|
1370
|
-
|
|
1371
|
-
function NotEqualOperation(lhs, rhs) {
|
|
1372
|
-
if (arguments.length > 0) {
|
|
1373
|
-
this.init(lhs, rhs);
|
|
1374
|
-
}
|
|
1375
|
-
}
|
|
1376
|
-
|
|
1377
|
-
NotEqualOperation.prototype.init = function(lhs, rhs) {
|
|
1378
|
-
NotEqualOperation.superclass.init.call(this, lhs, rhs);
|
|
1379
|
-
};
|
|
1380
|
-
|
|
1381
|
-
NotEqualOperation.prototype.toString = function() {
|
|
1382
|
-
return "(" + this.lhs.toString() + " != " + this.rhs.toString() + ")";
|
|
1383
|
-
};
|
|
1384
|
-
|
|
1385
|
-
NotEqualOperation.prototype.evaluate = function(c) {
|
|
1386
|
-
return this.lhs.evaluate(c).notequal(this.rhs.evaluate(c));
|
|
1387
|
-
};
|
|
1388
|
-
|
|
1389
|
-
// LessThanOperation /////////////////////////////////////////////////////////
|
|
1390
|
-
|
|
1391
|
-
LessThanOperation.prototype = new BinaryOperation();
|
|
1392
|
-
LessThanOperation.prototype.constructor = LessThanOperation;
|
|
1393
|
-
LessThanOperation.superclass = BinaryOperation.prototype;
|
|
1394
|
-
|
|
1395
|
-
function LessThanOperation(lhs, rhs) {
|
|
1396
|
-
if (arguments.length > 0) {
|
|
1397
|
-
this.init(lhs, rhs);
|
|
1398
|
-
}
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
LessThanOperation.prototype.init = function(lhs, rhs) {
|
|
1402
|
-
LessThanOperation.superclass.init.call(this, lhs, rhs);
|
|
1403
|
-
};
|
|
1404
|
-
|
|
1405
|
-
LessThanOperation.prototype.evaluate = function(c) {
|
|
1406
|
-
return this.lhs.evaluate(c).lessthan(this.rhs.evaluate(c));
|
|
1407
|
-
};
|
|
1408
|
-
|
|
1409
|
-
LessThanOperation.prototype.toString = function() {
|
|
1410
|
-
return "(" + this.lhs.toString() + " < " + this.rhs.toString() + ")";
|
|
1411
|
-
};
|
|
1412
|
-
|
|
1413
|
-
// GreaterThanOperation //////////////////////////////////////////////////////
|
|
1414
|
-
|
|
1415
|
-
GreaterThanOperation.prototype = new BinaryOperation();
|
|
1416
|
-
GreaterThanOperation.prototype.constructor = GreaterThanOperation;
|
|
1417
|
-
GreaterThanOperation.superclass = BinaryOperation.prototype;
|
|
1418
|
-
|
|
1419
|
-
function GreaterThanOperation(lhs, rhs) {
|
|
1420
|
-
if (arguments.length > 0) {
|
|
1421
|
-
this.init(lhs, rhs);
|
|
1422
|
-
}
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
GreaterThanOperation.prototype.init = function(lhs, rhs) {
|
|
1426
|
-
GreaterThanOperation.superclass.init.call(this, lhs, rhs);
|
|
1427
|
-
};
|
|
1428
|
-
|
|
1429
|
-
GreaterThanOperation.prototype.evaluate = function(c) {
|
|
1430
|
-
return this.lhs.evaluate(c).greaterthan(this.rhs.evaluate(c));
|
|
1431
|
-
};
|
|
1432
|
-
|
|
1433
|
-
GreaterThanOperation.prototype.toString = function() {
|
|
1434
|
-
return "(" + this.lhs.toString() + " > " + this.rhs.toString() + ")";
|
|
1435
|
-
};
|
|
1436
|
-
|
|
1437
|
-
// LessThanOrEqualOperation //////////////////////////////////////////////////
|
|
1438
|
-
|
|
1439
|
-
LessThanOrEqualOperation.prototype = new BinaryOperation();
|
|
1440
|
-
LessThanOrEqualOperation.prototype.constructor = LessThanOrEqualOperation;
|
|
1441
|
-
LessThanOrEqualOperation.superclass = BinaryOperation.prototype;
|
|
1442
|
-
|
|
1443
|
-
function LessThanOrEqualOperation(lhs, rhs) {
|
|
1444
|
-
if (arguments.length > 0) {
|
|
1445
|
-
this.init(lhs, rhs);
|
|
1446
|
-
}
|
|
1447
|
-
}
|
|
1448
|
-
|
|
1449
|
-
LessThanOrEqualOperation.prototype.init = function(lhs, rhs) {
|
|
1450
|
-
LessThanOrEqualOperation.superclass.init.call(this, lhs, rhs);
|
|
1451
|
-
};
|
|
1452
|
-
|
|
1453
|
-
LessThanOrEqualOperation.prototype.evaluate = function(c) {
|
|
1454
|
-
return this.lhs.evaluate(c).lessthanorequal(this.rhs.evaluate(c));
|
|
1455
|
-
};
|
|
1456
|
-
|
|
1457
|
-
LessThanOrEqualOperation.prototype.toString = function() {
|
|
1458
|
-
return "(" + this.lhs.toString() + " <= " + this.rhs.toString() + ")";
|
|
1459
|
-
};
|
|
1460
|
-
|
|
1461
|
-
// GreaterThanOrEqualOperation ///////////////////////////////////////////////
|
|
1462
|
-
|
|
1463
|
-
GreaterThanOrEqualOperation.prototype = new BinaryOperation();
|
|
1464
|
-
GreaterThanOrEqualOperation.prototype.constructor = GreaterThanOrEqualOperation;
|
|
1465
|
-
GreaterThanOrEqualOperation.superclass = BinaryOperation.prototype;
|
|
1466
|
-
|
|
1467
|
-
function GreaterThanOrEqualOperation(lhs, rhs) {
|
|
1468
|
-
if (arguments.length > 0) {
|
|
1469
|
-
this.init(lhs, rhs);
|
|
1470
|
-
}
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
GreaterThanOrEqualOperation.prototype.init = function(lhs, rhs) {
|
|
1474
|
-
GreaterThanOrEqualOperation.superclass.init.call(this, lhs, rhs);
|
|
1475
|
-
};
|
|
1476
|
-
|
|
1477
|
-
GreaterThanOrEqualOperation.prototype.evaluate = function(c) {
|
|
1478
|
-
return this.lhs.evaluate(c).greaterthanorequal(this.rhs.evaluate(c));
|
|
1479
|
-
};
|
|
1480
|
-
|
|
1481
|
-
GreaterThanOrEqualOperation.prototype.toString = function() {
|
|
1482
|
-
return "(" + this.lhs.toString() + " >= " + this.rhs.toString() + ")";
|
|
1483
|
-
};
|
|
1484
|
-
|
|
1485
|
-
// PlusOperation /////////////////////////////////////////////////////////////
|
|
1486
|
-
|
|
1487
|
-
PlusOperation.prototype = new BinaryOperation();
|
|
1488
|
-
PlusOperation.prototype.constructor = PlusOperation;
|
|
1489
|
-
PlusOperation.superclass = BinaryOperation.prototype;
|
|
1490
|
-
|
|
1491
|
-
function PlusOperation(lhs, rhs) {
|
|
1492
|
-
if (arguments.length > 0) {
|
|
1493
|
-
this.init(lhs, rhs);
|
|
1494
|
-
}
|
|
1495
|
-
}
|
|
1496
|
-
|
|
1497
|
-
PlusOperation.prototype.init = function(lhs, rhs) {
|
|
1498
|
-
PlusOperation.superclass.init.call(this, lhs, rhs);
|
|
1499
|
-
};
|
|
1500
|
-
|
|
1501
|
-
PlusOperation.prototype.evaluate = function(c) {
|
|
1502
|
-
return this.lhs.evaluate(c).number().plus(this.rhs.evaluate(c).number());
|
|
1503
|
-
};
|
|
1504
|
-
|
|
1505
|
-
PlusOperation.prototype.toString = function() {
|
|
1506
|
-
return "(" + this.lhs.toString() + " + " + this.rhs.toString() + ")";
|
|
1507
|
-
};
|
|
1508
|
-
|
|
1509
|
-
// MinusOperation ////////////////////////////////////////////////////////////
|
|
1510
|
-
|
|
1511
|
-
MinusOperation.prototype = new BinaryOperation();
|
|
1512
|
-
MinusOperation.prototype.constructor = MinusOperation;
|
|
1513
|
-
MinusOperation.superclass = BinaryOperation.prototype;
|
|
1514
|
-
|
|
1515
|
-
function MinusOperation(lhs, rhs) {
|
|
1516
|
-
if (arguments.length > 0) {
|
|
1517
|
-
this.init(lhs, rhs);
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
|
-
MinusOperation.prototype.init = function(lhs, rhs) {
|
|
1522
|
-
MinusOperation.superclass.init.call(this, lhs, rhs);
|
|
1523
|
-
};
|
|
1524
|
-
|
|
1525
|
-
MinusOperation.prototype.evaluate = function(c) {
|
|
1526
|
-
return this.lhs.evaluate(c).number().minus(this.rhs.evaluate(c).number());
|
|
1527
|
-
};
|
|
1528
|
-
|
|
1529
|
-
MinusOperation.prototype.toString = function() {
|
|
1530
|
-
return "(" + this.lhs.toString() + " - " + this.rhs.toString() + ")";
|
|
1531
|
-
};
|
|
1532
|
-
|
|
1533
|
-
// MultiplyOperation /////////////////////////////////////////////////////////
|
|
1534
|
-
|
|
1535
|
-
MultiplyOperation.prototype = new BinaryOperation();
|
|
1536
|
-
MultiplyOperation.prototype.constructor = MultiplyOperation;
|
|
1537
|
-
MultiplyOperation.superclass = BinaryOperation.prototype;
|
|
1538
|
-
|
|
1539
|
-
function MultiplyOperation(lhs, rhs) {
|
|
1540
|
-
if (arguments.length > 0) {
|
|
1541
|
-
this.init(lhs, rhs);
|
|
1542
|
-
}
|
|
1543
|
-
}
|
|
1544
|
-
|
|
1545
|
-
MultiplyOperation.prototype.init = function(lhs, rhs) {
|
|
1546
|
-
MultiplyOperation.superclass.init.call(this, lhs, rhs);
|
|
1547
|
-
};
|
|
1548
|
-
|
|
1549
|
-
MultiplyOperation.prototype.evaluate = function(c) {
|
|
1550
|
-
return this.lhs.evaluate(c).number().multiply(this.rhs.evaluate(c).number());
|
|
1551
|
-
};
|
|
1552
|
-
|
|
1553
|
-
MultiplyOperation.prototype.toString = function() {
|
|
1554
|
-
return "(" + this.lhs.toString() + " * " + this.rhs.toString() + ")";
|
|
1555
|
-
};
|
|
1556
|
-
|
|
1557
|
-
// DivOperation //////////////////////////////////////////////////////////////
|
|
1558
|
-
|
|
1559
|
-
DivOperation.prototype = new BinaryOperation();
|
|
1560
|
-
DivOperation.prototype.constructor = DivOperation;
|
|
1561
|
-
DivOperation.superclass = BinaryOperation.prototype;
|
|
1562
|
-
|
|
1563
|
-
function DivOperation(lhs, rhs) {
|
|
1564
|
-
if (arguments.length > 0) {
|
|
1565
|
-
this.init(lhs, rhs);
|
|
1566
|
-
}
|
|
1567
|
-
}
|
|
1568
|
-
|
|
1569
|
-
DivOperation.prototype.init = function(lhs, rhs) {
|
|
1570
|
-
DivOperation.superclass.init.call(this, lhs, rhs);
|
|
1571
|
-
};
|
|
1572
|
-
|
|
1573
|
-
DivOperation.prototype.evaluate = function(c) {
|
|
1574
|
-
return this.lhs.evaluate(c).number().div(this.rhs.evaluate(c).number());
|
|
1575
|
-
};
|
|
1576
|
-
|
|
1577
|
-
DivOperation.prototype.toString = function() {
|
|
1578
|
-
return "(" + this.lhs.toString() + " div " + this.rhs.toString() + ")";
|
|
1579
|
-
};
|
|
1580
|
-
|
|
1581
|
-
// ModOperation //////////////////////////////////////////////////////////////
|
|
1582
|
-
|
|
1583
|
-
ModOperation.prototype = new BinaryOperation();
|
|
1584
|
-
ModOperation.prototype.constructor = ModOperation;
|
|
1585
|
-
ModOperation.superclass = BinaryOperation.prototype;
|
|
1586
|
-
|
|
1587
|
-
function ModOperation(lhs, rhs) {
|
|
1588
|
-
if (arguments.length > 0) {
|
|
1589
|
-
this.init(lhs, rhs);
|
|
1590
|
-
}
|
|
1591
|
-
}
|
|
1592
|
-
|
|
1593
|
-
ModOperation.prototype.init = function(lhs, rhs) {
|
|
1594
|
-
ModOperation.superclass.init.call(this, lhs, rhs);
|
|
1595
|
-
};
|
|
1596
|
-
|
|
1597
|
-
ModOperation.prototype.evaluate = function(c) {
|
|
1598
|
-
return this.lhs.evaluate(c).number().mod(this.rhs.evaluate(c).number());
|
|
1599
|
-
};
|
|
1600
|
-
|
|
1601
|
-
ModOperation.prototype.toString = function() {
|
|
1602
|
-
return "(" + this.lhs.toString() + " mod " + this.rhs.toString() + ")";
|
|
1603
|
-
};
|
|
1604
|
-
|
|
1605
|
-
// BarOperation //////////////////////////////////////////////////////////////
|
|
1606
|
-
|
|
1607
|
-
BarOperation.prototype = new BinaryOperation();
|
|
1608
|
-
BarOperation.prototype.constructor = BarOperation;
|
|
1609
|
-
BarOperation.superclass = BinaryOperation.prototype;
|
|
1610
|
-
|
|
1611
|
-
function BarOperation(lhs, rhs) {
|
|
1612
|
-
if (arguments.length > 0) {
|
|
1613
|
-
this.init(lhs, rhs);
|
|
1614
|
-
}
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
BarOperation.prototype.init = function(lhs, rhs) {
|
|
1618
|
-
BarOperation.superclass.init.call(this, lhs, rhs);
|
|
1619
|
-
};
|
|
1620
|
-
|
|
1621
|
-
BarOperation.prototype.evaluate = function(c) {
|
|
1622
|
-
return this.lhs.evaluate(c).nodeset().union(this.rhs.evaluate(c).nodeset());
|
|
1623
|
-
};
|
|
1624
|
-
|
|
1625
|
-
BarOperation.prototype.toString = function() {
|
|
1626
|
-
return this.lhs.toString() + " | " + this.rhs.toString();
|
|
1627
|
-
};
|
|
1628
|
-
|
|
1629
|
-
// PathExpr //////////////////////////////////////////////////////////////////
|
|
1630
|
-
|
|
1631
|
-
PathExpr.prototype = new Expression();
|
|
1632
|
-
PathExpr.prototype.constructor = PathExpr;
|
|
1633
|
-
PathExpr.superclass = Expression.prototype;
|
|
1634
|
-
|
|
1635
|
-
function PathExpr(filter, filterPreds, locpath) {
|
|
1636
|
-
if (arguments.length > 0) {
|
|
1637
|
-
this.init(filter, filterPreds, locpath);
|
|
1638
|
-
}
|
|
1639
|
-
}
|
|
1640
|
-
|
|
1641
|
-
PathExpr.prototype.init = function(filter, filterPreds, locpath) {
|
|
1642
|
-
PathExpr.superclass.init.call(this);
|
|
1643
|
-
this.filter = filter;
|
|
1644
|
-
this.filterPredicates = filterPreds;
|
|
1645
|
-
this.locationPath = locpath;
|
|
1646
|
-
};
|
|
1647
|
-
|
|
1648
|
-
PathExpr.prototype.evaluate = function(c) {
|
|
1649
|
-
var nodes;
|
|
1650
|
-
var xpc = new XPathContext();
|
|
1651
|
-
xpc.variableResolver = c.variableResolver;
|
|
1652
|
-
xpc.functionResolver = c.functionResolver;
|
|
1653
|
-
xpc.namespaceResolver = c.namespaceResolver;
|
|
1654
|
-
xpc.expressionContextNode = c.expressionContextNode;
|
|
1655
|
-
xpc.virtualRoot = c.virtualRoot;
|
|
1656
|
-
xpc.caseInsensitive = c.caseInsensitive;
|
|
1657
|
-
if (this.filter == null) {
|
|
1658
|
-
nodes = [ c.contextNode ];
|
|
1659
|
-
} else {
|
|
1660
|
-
var ns = this.filter.evaluate(c);
|
|
1661
|
-
if (!Utilities.instance_of(ns, XNodeSet)) {
|
|
1662
|
-
if (this.filterPredicates != null && this.filterPredicates.length > 0 || this.locationPath != null) {
|
|
1663
|
-
throw new Error("Path expression filter must evaluate to a nodset if predicates or location path are used");
|
|
1664
|
-
}
|
|
1665
|
-
return ns;
|
|
1666
|
-
}
|
|
1667
|
-
nodes = ns.toArray();
|
|
1668
|
-
if (this.filterPredicates != null) {
|
|
1669
|
-
// apply each of the predicates in turn
|
|
1670
|
-
for (var j = 0; j < this.filterPredicates.length; j++) {
|
|
1671
|
-
var pred = this.filterPredicates[j];
|
|
1672
|
-
var newNodes = [];
|
|
1673
|
-
xpc.contextSize = nodes.length;
|
|
1674
|
-
for (xpc.contextPosition = 1; xpc.contextPosition <= xpc.contextSize; xpc.contextPosition++) {
|
|
1675
|
-
xpc.contextNode = nodes[xpc.contextPosition - 1];
|
|
1676
|
-
if (this.predicateMatches(pred, xpc)) {
|
|
1677
|
-
newNodes.push(xpc.contextNode);
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
nodes = newNodes;
|
|
1681
|
-
}
|
|
1682
|
-
}
|
|
1683
|
-
}
|
|
1684
|
-
if (this.locationPath != null) {
|
|
1685
|
-
if (this.locationPath.absolute) {
|
|
1686
|
-
if (nodes[0].nodeType != 9 /*Node.DOCUMENT_NODE*/) {
|
|
1687
|
-
if (xpc.virtualRoot != null) {
|
|
1688
|
-
nodes = [ xpc.virtualRoot ];
|
|
1689
|
-
} else {
|
|
1690
|
-
if (nodes[0].ownerDocument == null) {
|
|
1691
|
-
// IE 5.5 doesn't have ownerDocument?
|
|
1692
|
-
var n = nodes[0];
|
|
1693
|
-
while (n.parentNode != null) {
|
|
1694
|
-
n = n.parentNode;
|
|
1695
|
-
}
|
|
1696
|
-
nodes = [ n ];
|
|
1697
|
-
} else {
|
|
1698
|
-
nodes = [ nodes[0].ownerDocument ];
|
|
1699
|
-
}
|
|
1700
|
-
}
|
|
1701
|
-
} else {
|
|
1702
|
-
nodes = [ nodes[0] ];
|
|
1703
|
-
}
|
|
1704
|
-
}
|
|
1705
|
-
for (var i = 0; i < this.locationPath.steps.length; i++) {
|
|
1706
|
-
var step = this.locationPath.steps[i];
|
|
1707
|
-
var newNodes = [];
|
|
1708
|
-
var newLocalContext = [];
|
|
1709
|
-
for (var j = 0; j < nodes.length; j++) {
|
|
1710
|
-
xpc.contextNode = nodes[j];
|
|
1711
|
-
switch (step.axis) {
|
|
1712
|
-
case Step.ANCESTOR:
|
|
1713
|
-
// look at all the ancestor nodes
|
|
1714
|
-
if (xpc.contextNode === xpc.virtualRoot) {
|
|
1715
|
-
break;
|
|
1716
|
-
}
|
|
1717
|
-
var m;
|
|
1718
|
-
if (xpc.contextNode.nodeType == 2 /*Node.ATTRIBUTE_NODE*/) {
|
|
1719
|
-
m = this.getOwnerElement(xpc.contextNode);
|
|
1720
|
-
} else {
|
|
1721
|
-
m = xpc.contextNode.parentNode;
|
|
1722
|
-
}
|
|
1723
|
-
while (m != null) {
|
|
1724
|
-
if (step.nodeTest.matches(m, xpc)) {
|
|
1725
|
-
newNodes.push(m);
|
|
1726
|
-
}
|
|
1727
|
-
if (m === xpc.virtualRoot) {
|
|
1728
|
-
break;
|
|
1729
|
-
}
|
|
1730
|
-
m = m.parentNode;
|
|
1731
|
-
}
|
|
1732
|
-
break;
|
|
1733
|
-
|
|
1734
|
-
case Step.ANCESTORORSELF:
|
|
1735
|
-
// look at all the ancestor nodes and the current node
|
|
1736
|
-
for (var m = xpc.contextNode; m != null; m = m.nodeType == 2 /*Node.ATTRIBUTE_NODE*/ ? this.getOwnerElement(m) : m.parentNode) {
|
|
1737
|
-
if (step.nodeTest.matches(m, xpc)) {
|
|
1738
|
-
newNodes.push(m);
|
|
1739
|
-
}
|
|
1740
|
-
if (m === xpc.virtualRoot) {
|
|
1741
|
-
break;
|
|
1742
|
-
}
|
|
1743
|
-
}
|
|
1744
|
-
break;
|
|
1745
|
-
|
|
1746
|
-
case Step.ATTRIBUTE:
|
|
1747
|
-
// look at the attributes
|
|
1748
|
-
var nnm = xpc.contextNode.attributes;
|
|
1749
|
-
if (nnm != null) {
|
|
1750
|
-
for (var k = 0; k < nnm.length; k++) {
|
|
1751
|
-
var m = nnm.item(k);
|
|
1752
|
-
if (step.nodeTest.matches(m, xpc)) {
|
|
1753
|
-
newNodes.push(m);
|
|
1754
|
-
}
|
|
1755
|
-
}
|
|
1756
|
-
}
|
|
1757
|
-
break;
|
|
1758
|
-
|
|
1759
|
-
case Step.CHILD:
|
|
1760
|
-
// look at all child elements
|
|
1761
|
-
var pos = 0
|
|
1762
|
-
var tmpContext = []
|
|
1763
|
-
for (var m = xpc.contextNode.firstChild; m != null; m = m.nextSibling) {
|
|
1764
|
-
if (step.nodeTest.matches(m, xpc)) {
|
|
1765
|
-
newNodes.push(m);
|
|
1766
|
-
//keep track of the element position between other matching siblings
|
|
1767
|
-
tmpContext.push({contextPosition: ++pos});
|
|
1768
|
-
}
|
|
1769
|
-
}
|
|
1770
|
-
|
|
1771
|
-
for (var k=0; k<tmpContext.length; k++) {
|
|
1772
|
-
//track size of matching siblings
|
|
1773
|
-
tmpContext[k].contextSize = pos
|
|
1774
|
-
newLocalContext.push(tmpContext[k])
|
|
1775
|
-
}
|
|
1776
|
-
|
|
1777
|
-
break;
|
|
1778
|
-
|
|
1779
|
-
case Step.DESCENDANT:
|
|
1780
|
-
// look at all descendant nodes
|
|
1781
|
-
var st = [ xpc.contextNode.firstChild ];
|
|
1782
|
-
while (st.length > 0) {
|
|
1783
|
-
for (var m = st.pop(); m != null; ) {
|
|
1784
|
-
if (step.nodeTest.matches(m, xpc)) {
|
|
1785
|
-
newNodes.push(m);
|
|
1786
|
-
}
|
|
1787
|
-
if (m.firstChild != null) {
|
|
1788
|
-
st.push(m.nextSibling);
|
|
1789
|
-
m = m.firstChild;
|
|
1790
|
-
} else {
|
|
1791
|
-
m = m.nextSibling;
|
|
1792
|
-
}
|
|
1793
|
-
}
|
|
1794
|
-
}
|
|
1795
|
-
break;
|
|
1796
|
-
|
|
1797
|
-
case Step.DESCENDANTORSELF:
|
|
1798
|
-
// look at self
|
|
1799
|
-
if (step.nodeTest.matches(xpc.contextNode, xpc)) {
|
|
1800
|
-
newNodes.push(xpc.contextNode);
|
|
1801
|
-
}
|
|
1802
|
-
// look at all descendant nodes
|
|
1803
|
-
var st = [ xpc.contextNode.firstChild ];
|
|
1804
|
-
while (st.length > 0) {
|
|
1805
|
-
for (var m = st.pop(); m != null; ) {
|
|
1806
|
-
if (step.nodeTest.matches(m, xpc)) {
|
|
1807
|
-
newNodes.push(m);
|
|
1808
|
-
}
|
|
1809
|
-
if (m.firstChild != null) {
|
|
1810
|
-
st.push(m.nextSibling);
|
|
1811
|
-
m = m.firstChild;
|
|
1812
|
-
} else {
|
|
1813
|
-
m = m.nextSibling;
|
|
1814
|
-
}
|
|
1815
|
-
}
|
|
1816
|
-
}
|
|
1817
|
-
break;
|
|
1818
|
-
|
|
1819
|
-
case Step.FOLLOWING:
|
|
1820
|
-
if (xpc.contextNode === xpc.virtualRoot) {
|
|
1821
|
-
break;
|
|
1822
|
-
}
|
|
1823
|
-
var st = [];
|
|
1824
|
-
if (xpc.contextNode.firstChild != null) {
|
|
1825
|
-
st.unshift(xpc.contextNode.firstChild);
|
|
1826
|
-
} else {
|
|
1827
|
-
st.unshift(xpc.contextNode.nextSibling);
|
|
1828
|
-
}
|
|
1829
|
-
for (var m = xpc.contextNode; m != null && m.nodeType != 9 /*Node.DOCUMENT_NODE*/ && m !== xpc.virtualRoot; m = m.parentNode) {
|
|
1830
|
-
st.unshift(m.nextSibling);
|
|
1831
|
-
}
|
|
1832
|
-
do {
|
|
1833
|
-
for (var m = st.pop(); m != null; ) {
|
|
1834
|
-
if (step.nodeTest.matches(m, xpc)) {
|
|
1835
|
-
newNodes.push(m);
|
|
1836
|
-
}
|
|
1837
|
-
if (m.firstChild != null) {
|
|
1838
|
-
st.push(m.nextSibling);
|
|
1839
|
-
m = m.firstChild;
|
|
1840
|
-
} else {
|
|
1841
|
-
m = m.nextSibling;
|
|
1842
|
-
}
|
|
1843
|
-
}
|
|
1844
|
-
} while (st.length > 0);
|
|
1845
|
-
break;
|
|
1846
|
-
|
|
1847
|
-
case Step.FOLLOWINGSIBLING:
|
|
1848
|
-
if (xpc.contextNode === xpc.virtualRoot) {
|
|
1849
|
-
break;
|
|
1850
|
-
}
|
|
1851
|
-
for (var m = xpc.contextNode.nextSibling; m != null; m = m.nextSibling) {
|
|
1852
|
-
if (step.nodeTest.matches(m, xpc)) {
|
|
1853
|
-
newNodes.push(m);
|
|
1854
|
-
}
|
|
1855
|
-
}
|
|
1856
|
-
break;
|
|
1857
|
-
|
|
1858
|
-
case Step.NAMESPACE:
|
|
1859
|
-
var n = {};
|
|
1860
|
-
if (xpc.contextNode.nodeType == 1 /*Node.ELEMENT_NODE*/) {
|
|
1861
|
-
n["xml"] = XPath.XML_NAMESPACE_URI;
|
|
1862
|
-
n["xmlns"] = XPath.XMLNS_NAMESPACE_URI;
|
|
1863
|
-
for (var m = xpc.contextNode; m != null && m.nodeType == 1 /*Node.ELEMENT_NODE*/; m = m.parentNode) {
|
|
1864
|
-
for (var k = 0; k < m.attributes.length; k++) {
|
|
1865
|
-
var attr = m.attributes.item(k);
|
|
1866
|
-
var nm = String(attr.name);
|
|
1867
|
-
if (nm == "xmlns") {
|
|
1868
|
-
if (n[""] == undefined) {
|
|
1869
|
-
n[""] = attr.value;
|
|
1870
|
-
}
|
|
1871
|
-
} else if (nm.length > 6 && nm.substring(0, 6) == "xmlns:") {
|
|
1872
|
-
var pre = nm.substring(6, nm.length);
|
|
1873
|
-
if (n[pre] == undefined) {
|
|
1874
|
-
n[pre] = attr.value;
|
|
1875
|
-
}
|
|
1876
|
-
}
|
|
1877
|
-
}
|
|
1878
|
-
}
|
|
1879
|
-
for (var pre in n) {
|
|
1880
|
-
var nsn = new NamespaceNode(pre, n[pre], xpc.contextNode);
|
|
1881
|
-
if (step.nodeTest.matches(nsn, xpc)) {
|
|
1882
|
-
newNodes.push(nsn);
|
|
1883
|
-
}
|
|
1884
|
-
}
|
|
1885
|
-
}
|
|
1886
|
-
break;
|
|
1887
|
-
|
|
1888
|
-
case Step.PARENT:
|
|
1889
|
-
m = null;
|
|
1890
|
-
if (xpc.contextNode !== xpc.virtualRoot) {
|
|
1891
|
-
if (xpc.contextNode.nodeType == 2 /*Node.ATTRIBUTE_NODE*/) {
|
|
1892
|
-
m = this.getOwnerElement(xpc.contextNode);
|
|
1893
|
-
} else {
|
|
1894
|
-
m = xpc.contextNode.parentNode;
|
|
1895
|
-
}
|
|
1896
|
-
}
|
|
1897
|
-
if (m != null && step.nodeTest.matches(m, xpc)) {
|
|
1898
|
-
newNodes.push(m);
|
|
1899
|
-
}
|
|
1900
|
-
break;
|
|
1901
|
-
|
|
1902
|
-
case Step.PRECEDING:
|
|
1903
|
-
var st;
|
|
1904
|
-
if (xpc.virtualRoot != null) {
|
|
1905
|
-
st = [ xpc.virtualRoot ];
|
|
1906
|
-
} else {
|
|
1907
|
-
st = xpc.contextNode.nodeType == 9 /*Node.DOCUMENT_NODE*/
|
|
1908
|
-
? [ xpc.contextNode ]
|
|
1909
|
-
: [ xpc.contextNode.ownerDocument ];
|
|
1910
|
-
}
|
|
1911
|
-
outer: while (st.length > 0) {
|
|
1912
|
-
for (var m = st.pop(); m != null; ) {
|
|
1913
|
-
if (m == xpc.contextNode) {
|
|
1914
|
-
break outer;
|
|
1915
|
-
}
|
|
1916
|
-
if (step.nodeTest.matches(m, xpc)) {
|
|
1917
|
-
newNodes.unshift(m);
|
|
1918
|
-
}
|
|
1919
|
-
if (m.firstChild != null) {
|
|
1920
|
-
st.push(m.nextSibling);
|
|
1921
|
-
m = m.firstChild;
|
|
1922
|
-
} else {
|
|
1923
|
-
m = m.nextSibling;
|
|
1924
|
-
}
|
|
1925
|
-
}
|
|
1926
|
-
}
|
|
1927
|
-
break;
|
|
1928
|
-
|
|
1929
|
-
case Step.PRECEDINGSIBLING:
|
|
1930
|
-
if (xpc.contextNode === xpc.virtualRoot) {
|
|
1931
|
-
break;
|
|
1932
|
-
}
|
|
1933
|
-
for (var m = xpc.contextNode.previousSibling; m != null; m = m.previousSibling) {
|
|
1934
|
-
if (step.nodeTest.matches(m, xpc)) {
|
|
1935
|
-
newNodes.push(m);
|
|
1936
|
-
}
|
|
1937
|
-
}
|
|
1938
|
-
break;
|
|
1939
|
-
|
|
1940
|
-
case Step.SELF:
|
|
1941
|
-
if (step.nodeTest.matches(xpc.contextNode, xpc)) {
|
|
1942
|
-
newNodes.push(xpc.contextNode);
|
|
1943
|
-
}
|
|
1944
|
-
break;
|
|
1945
|
-
|
|
1946
|
-
default:
|
|
1947
|
-
}
|
|
1948
|
-
}
|
|
1949
|
-
nodes = newNodes;
|
|
1950
|
-
// apply each of the predicates in turn
|
|
1951
|
-
for (var j = 0; j < step.predicates.length; j++) {
|
|
1952
|
-
var pred = step.predicates[j];
|
|
1953
|
-
var newNodes = [];
|
|
1954
|
-
xpc.contextSize = nodes.length;
|
|
1955
|
-
for (xpc.contextPosition = 1; xpc.contextPosition <= xpc.contextSize; xpc.contextPosition++) {
|
|
1956
|
-
xpc.contextNode = nodes[xpc.contextPosition - 1];
|
|
1957
|
-
//if we keep track of the node original context then use it
|
|
1958
|
-
//end goal is to always use original cotnext, now implemented just for CHILD axis
|
|
1959
|
-
var localCtx = newLocalContext.length>0?this.getLocalCtx(xpc, newLocalContext[xpc.contextPosition-1]):xpc
|
|
1960
|
-
if (this.predicateMatches(pred, localCtx)) {
|
|
1961
|
-
newNodes.push(xpc.contextNode);
|
|
1962
|
-
} else {
|
|
1963
|
-
}
|
|
1964
|
-
}
|
|
1965
|
-
nodes = newNodes;
|
|
1966
|
-
//console.log(nodes.length)
|
|
1967
|
-
}
|
|
1968
|
-
}
|
|
1969
|
-
}
|
|
1970
|
-
var ns = new XNodeSet();
|
|
1971
|
-
ns.addArray(nodes);
|
|
1972
|
-
return ns;
|
|
1973
|
-
};
|
|
1974
|
-
|
|
1975
|
-
PathExpr.prototype.getLocalCtx = function(xpc, localCtx, length) {
|
|
1976
|
-
var res = new XPathContext();
|
|
1977
|
-
res.variableResolver = xpc.variableResolver;
|
|
1978
|
-
res.functionResolver = xpc.functionResolver;
|
|
1979
|
-
res.namespaceResolver = xpc.namespaceResolver;
|
|
1980
|
-
res.expressionContextNode = xpc.expressionContextNode;
|
|
1981
|
-
res.virtualRoot = xpc.virtualRoot;
|
|
1982
|
-
res.caseInsensitive = xpc.caseInsensitive;
|
|
1983
|
-
res.contextNode = xpc.contextNode;
|
|
1984
|
-
res.contextPosition = localCtx.contextPosition;
|
|
1985
|
-
res.contextSize = localCtx.contextSize;
|
|
1986
|
-
return res;
|
|
1987
|
-
};
|
|
1988
|
-
|
|
1989
|
-
PathExpr.prototype.predicateMatches = function(pred, c) {
|
|
1990
|
-
var res = pred.evaluate(c);
|
|
1991
|
-
if (Utilities.instance_of(res, XNumber)) {
|
|
1992
|
-
var val = c.contextPosition == res.numberValue()
|
|
1993
|
-
return val;
|
|
1994
|
-
}
|
|
1995
|
-
return res.booleanValue();
|
|
1996
|
-
};
|
|
1997
|
-
|
|
1998
|
-
PathExpr.prototype.toString = function() {
|
|
1999
|
-
if (this.filter != undefined) {
|
|
2000
|
-
var s = this.filter.toString();
|
|
2001
|
-
if (Utilities.instance_of(this.filter, XString)) {
|
|
2002
|
-
s = "'" + s + "'";
|
|
2003
|
-
}
|
|
2004
|
-
if (this.filterPredicates != undefined) {
|
|
2005
|
-
for (var i = 0; i < this.filterPredicates.length; i++) {
|
|
2006
|
-
s = s + "[" + this.filterPredicates[i].toString() + "]";
|
|
2007
|
-
}
|
|
2008
|
-
}
|
|
2009
|
-
if (this.locationPath != undefined) {
|
|
2010
|
-
if (!this.locationPath.absolute) {
|
|
2011
|
-
s += "/";
|
|
2012
|
-
}
|
|
2013
|
-
s += this.locationPath.toString();
|
|
2014
|
-
}
|
|
2015
|
-
return s;
|
|
2016
|
-
}
|
|
2017
|
-
return this.locationPath.toString();
|
|
2018
|
-
};
|
|
2019
|
-
|
|
2020
|
-
PathExpr.prototype.getOwnerElement = function(n) {
|
|
2021
|
-
// DOM 2 has ownerElement
|
|
2022
|
-
if (n.ownerElement) {
|
|
2023
|
-
return n.ownerElement;
|
|
2024
|
-
}
|
|
2025
|
-
// DOM 1 Internet Explorer can use selectSingleNode (ironically)
|
|
2026
|
-
try {
|
|
2027
|
-
if (n.selectSingleNode) {
|
|
2028
|
-
return n.selectSingleNode("..");
|
|
2029
|
-
}
|
|
2030
|
-
} catch (e) {
|
|
2031
|
-
}
|
|
2032
|
-
// Other DOM 1 implementations must use this egregious search
|
|
2033
|
-
var doc = n.nodeType == 9 /*Node.DOCUMENT_NODE*/
|
|
2034
|
-
? n
|
|
2035
|
-
: n.ownerDocument;
|
|
2036
|
-
var elts = doc.getElementsByTagName("*");
|
|
2037
|
-
for (var i = 0; i < elts.length; i++) {
|
|
2038
|
-
var elt = elts.item(i);
|
|
2039
|
-
var nnm = elt.attributes;
|
|
2040
|
-
for (var j = 0; j < nnm.length; j++) {
|
|
2041
|
-
var an = nnm.item(j);
|
|
2042
|
-
if (an === n) {
|
|
2043
|
-
return elt;
|
|
2044
|
-
}
|
|
2045
|
-
}
|
|
2046
|
-
}
|
|
2047
|
-
return null;
|
|
2048
|
-
};
|
|
2049
|
-
|
|
2050
|
-
// LocationPath //////////////////////////////////////////////////////////////
|
|
2051
|
-
|
|
2052
|
-
LocationPath.prototype = new Object();
|
|
2053
|
-
LocationPath.prototype.constructor = LocationPath;
|
|
2054
|
-
LocationPath.superclass = Object.prototype;
|
|
2055
|
-
|
|
2056
|
-
function LocationPath(abs, steps) {
|
|
2057
|
-
if (arguments.length > 0) {
|
|
2058
|
-
this.init(abs, steps);
|
|
2059
|
-
}
|
|
2060
|
-
}
|
|
2061
|
-
|
|
2062
|
-
LocationPath.prototype.init = function(abs, steps) {
|
|
2063
|
-
this.absolute = abs;
|
|
2064
|
-
this.steps = steps;
|
|
2065
|
-
};
|
|
2066
|
-
|
|
2067
|
-
LocationPath.prototype.toString = function() {
|
|
2068
|
-
var s;
|
|
2069
|
-
if (this.absolute) {
|
|
2070
|
-
s = "/";
|
|
2071
|
-
} else {
|
|
2072
|
-
s = "";
|
|
2073
|
-
}
|
|
2074
|
-
for (var i = 0; i < this.steps.length; i++) {
|
|
2075
|
-
if (i != 0) {
|
|
2076
|
-
s += "/";
|
|
2077
|
-
}
|
|
2078
|
-
s += this.steps[i].toString();
|
|
2079
|
-
}
|
|
2080
|
-
return s;
|
|
2081
|
-
};
|
|
2082
|
-
|
|
2083
|
-
// Step //////////////////////////////////////////////////////////////////////
|
|
2084
|
-
|
|
2085
|
-
Step.prototype = new Object();
|
|
2086
|
-
Step.prototype.constructor = Step;
|
|
2087
|
-
Step.superclass = Object.prototype;
|
|
2088
|
-
|
|
2089
|
-
function Step(axis, nodetest, preds) {
|
|
2090
|
-
if (arguments.length > 0) {
|
|
2091
|
-
this.init(axis, nodetest, preds);
|
|
2092
|
-
}
|
|
2093
|
-
}
|
|
2094
|
-
|
|
2095
|
-
Step.prototype.init = function(axis, nodetest, preds) {
|
|
2096
|
-
this.axis = axis;
|
|
2097
|
-
this.nodeTest = nodetest;
|
|
2098
|
-
this.predicates = preds;
|
|
2099
|
-
};
|
|
2100
|
-
|
|
2101
|
-
Step.prototype.toString = function() {
|
|
2102
|
-
var s;
|
|
2103
|
-
switch (this.axis) {
|
|
2104
|
-
case Step.ANCESTOR:
|
|
2105
|
-
s = "ancestor";
|
|
2106
|
-
break;
|
|
2107
|
-
case Step.ANCESTORORSELF:
|
|
2108
|
-
s = "ancestor-or-self";
|
|
2109
|
-
break;
|
|
2110
|
-
case Step.ATTRIBUTE:
|
|
2111
|
-
s = "attribute";
|
|
2112
|
-
break;
|
|
2113
|
-
case Step.CHILD:
|
|
2114
|
-
s = "child";
|
|
2115
|
-
break;
|
|
2116
|
-
case Step.DESCENDANT:
|
|
2117
|
-
s = "descendant";
|
|
2118
|
-
break;
|
|
2119
|
-
case Step.DESCENDANTORSELF:
|
|
2120
|
-
s = "descendant-or-self";
|
|
2121
|
-
break;
|
|
2122
|
-
case Step.FOLLOWING:
|
|
2123
|
-
s = "following";
|
|
2124
|
-
break;
|
|
2125
|
-
case Step.FOLLOWINGSIBLING:
|
|
2126
|
-
s = "following-sibling";
|
|
2127
|
-
break;
|
|
2128
|
-
case Step.NAMESPACE:
|
|
2129
|
-
s = "namespace";
|
|
2130
|
-
break;
|
|
2131
|
-
case Step.PARENT:
|
|
2132
|
-
s = "parent";
|
|
2133
|
-
break;
|
|
2134
|
-
case Step.PRECEDING:
|
|
2135
|
-
s = "preceding";
|
|
2136
|
-
break;
|
|
2137
|
-
case Step.PRECEDINGSIBLING:
|
|
2138
|
-
s = "preceding-sibling";
|
|
2139
|
-
break;
|
|
2140
|
-
case Step.SELF:
|
|
2141
|
-
s = "self";
|
|
2142
|
-
break;
|
|
2143
|
-
}
|
|
2144
|
-
s += "::";
|
|
2145
|
-
s += this.nodeTest.toString();
|
|
2146
|
-
for (var i = 0; i < this.predicates.length; i++) {
|
|
2147
|
-
s += "[" + this.predicates[i].toString() + "]";
|
|
2148
|
-
}
|
|
2149
|
-
return s;
|
|
2150
|
-
};
|
|
2151
|
-
|
|
2152
|
-
Step.ANCESTOR = 0;
|
|
2153
|
-
Step.ANCESTORORSELF = 1;
|
|
2154
|
-
Step.ATTRIBUTE = 2;
|
|
2155
|
-
Step.CHILD = 3;
|
|
2156
|
-
Step.DESCENDANT = 4;
|
|
2157
|
-
Step.DESCENDANTORSELF = 5;
|
|
2158
|
-
Step.FOLLOWING = 6;
|
|
2159
|
-
Step.FOLLOWINGSIBLING = 7;
|
|
2160
|
-
Step.NAMESPACE = 8;
|
|
2161
|
-
Step.PARENT = 9;
|
|
2162
|
-
Step.PRECEDING = 10;
|
|
2163
|
-
Step.PRECEDINGSIBLING = 11;
|
|
2164
|
-
Step.SELF = 12;
|
|
2165
|
-
|
|
2166
|
-
// NodeTest //////////////////////////////////////////////////////////////////
|
|
2167
|
-
|
|
2168
|
-
NodeTest.prototype = new Object();
|
|
2169
|
-
NodeTest.prototype.constructor = NodeTest;
|
|
2170
|
-
NodeTest.superclass = Object.prototype;
|
|
2171
|
-
|
|
2172
|
-
function NodeTest(type, value) {
|
|
2173
|
-
if (arguments.length > 0) {
|
|
2174
|
-
this.init(type, value);
|
|
2175
|
-
}
|
|
2176
|
-
}
|
|
2177
|
-
|
|
2178
|
-
NodeTest.prototype.init = function(type, value) {
|
|
2179
|
-
this.type = type;
|
|
2180
|
-
this.value = value;
|
|
2181
|
-
};
|
|
2182
|
-
|
|
2183
|
-
NodeTest.prototype.toString = function() {
|
|
2184
|
-
switch (this.type) {
|
|
2185
|
-
case NodeTest.NAMETESTANY:
|
|
2186
|
-
return "*";
|
|
2187
|
-
case NodeTest.NAMETESTPREFIXANY:
|
|
2188
|
-
return this.value + ":*";
|
|
2189
|
-
case NodeTest.NAMETESTRESOLVEDANY:
|
|
2190
|
-
return "{" + this.value + "}*";
|
|
2191
|
-
case NodeTest.NAMETESTQNAME:
|
|
2192
|
-
return this.value;
|
|
2193
|
-
case NodeTest.NAMETESTRESOLVEDNAME:
|
|
2194
|
-
return "{" + this.namespaceURI + "}" + this.value;
|
|
2195
|
-
case NodeTest.COMMENT:
|
|
2196
|
-
return "comment()";
|
|
2197
|
-
case NodeTest.TEXT:
|
|
2198
|
-
return "text()";
|
|
2199
|
-
case NodeTest.PI:
|
|
2200
|
-
if (this.value != undefined) {
|
|
2201
|
-
return "processing-instruction(\"" + this.value + "\")";
|
|
2202
|
-
}
|
|
2203
|
-
return "processing-instruction()";
|
|
2204
|
-
case NodeTest.NODE:
|
|
2205
|
-
return "node()";
|
|
2206
|
-
}
|
|
2207
|
-
return "<unknown nodetest type>";
|
|
2208
|
-
};
|
|
2209
|
-
|
|
2210
|
-
NodeTest.prototype.matches = function(n, xpc) {
|
|
2211
|
-
switch (this.type) {
|
|
2212
|
-
case NodeTest.NAMETESTANY:
|
|
2213
|
-
if (n.nodeType == 2 /*Node.ATTRIBUTE_NODE*/
|
|
2214
|
-
|| n.nodeType == 1 /*Node.ELEMENT_NODE*/
|
|
2215
|
-
|| n.nodeType == XPathNamespace.XPATH_NAMESPACE_NODE) {
|
|
2216
|
-
return true;
|
|
2217
|
-
}
|
|
2218
|
-
return false;
|
|
2219
|
-
case NodeTest.NAMETESTPREFIXANY:
|
|
2220
|
-
if ((n.nodeType == 2 /*Node.ATTRIBUTE_NODE*/ || n.nodeType == 1 /*Node.ELEMENT_NODE*/)) {
|
|
2221
|
-
var ns = xpc.namespaceResolver.getNamespace(this.value, xpc.expressionContextNode);
|
|
2222
|
-
if (ns == null) {
|
|
2223
|
-
throw new Error("Cannot resolve QName " + this.value);
|
|
2224
|
-
}
|
|
2225
|
-
return true;
|
|
2226
|
-
}
|
|
2227
|
-
return false;
|
|
2228
|
-
case NodeTest.NAMETESTQNAME:
|
|
2229
|
-
if (n.nodeType == 2 /*Node.ATTRIBUTE_NODE*/
|
|
2230
|
-
|| n.nodeType == 1 /*Node.ELEMENT_NODE*/
|
|
2231
|
-
|| n.nodeType == XPathNamespace.XPATH_NAMESPACE_NODE) {
|
|
2232
|
-
var test = Utilities.resolveQName(this.value, xpc.namespaceResolver, xpc.expressionContextNode, false);
|
|
2233
|
-
if (test[0] == null) {
|
|
2234
|
-
throw new Error("Cannot resolve QName " + this.value);
|
|
2235
|
-
}
|
|
2236
|
-
test[0] = String(test[0]);
|
|
2237
|
-
test[1] = String(test[1]);
|
|
2238
|
-
if (test[0] == "") {
|
|
2239
|
-
test[0] = null;
|
|
2240
|
-
}
|
|
2241
|
-
var node = Utilities.resolveQName(n.nodeName, xpc.namespaceResolver, n, n.nodeType == 1 /*Node.ELEMENT_NODE*/);
|
|
2242
|
-
node[0] = String(node[0]);
|
|
2243
|
-
node[1] = String(node[1]);
|
|
2244
|
-
if (node[0] == "") {
|
|
2245
|
-
node[0] = null;
|
|
2246
|
-
}
|
|
2247
|
-
if (xpc.caseInsensitive) {
|
|
2248
|
-
return test[0] == node[0] && String(test[1]).toLowerCase() == String(node[1]).toLowerCase();
|
|
2249
|
-
}
|
|
2250
|
-
return test[0] == node[0] && test[1] == node[1];
|
|
2251
|
-
}
|
|
2252
|
-
return false;
|
|
2253
|
-
case NodeTest.COMMENT:
|
|
2254
|
-
return n.nodeType == 8 /*Node.COMMENT_NODE*/;
|
|
2255
|
-
case NodeTest.TEXT:
|
|
2256
|
-
return n.nodeType == 3 /*Node.TEXT_NODE*/ || n.nodeType == 4 /*Node.CDATA_SECTION_NODE*/;
|
|
2257
|
-
case NodeTest.PI:
|
|
2258
|
-
return n.nodeType == 7 /*Node.PROCESSING_INSTRUCTION_NODE*/
|
|
2259
|
-
&& (this.value == null || n.nodeName == this.value);
|
|
2260
|
-
case NodeTest.NODE:
|
|
2261
|
-
return n.nodeType == 9 /*Node.DOCUMENT_NODE*/
|
|
2262
|
-
|| n.nodeType == 1 /*Node.ELEMENT_NODE*/
|
|
2263
|
-
|| n.nodeType == 2 /*Node.ATTRIBUTE_NODE*/
|
|
2264
|
-
|| n.nodeType == 3 /*Node.TEXT_NODE*/
|
|
2265
|
-
|| n.nodeType == 4 /*Node.CDATA_SECTION_NODE*/
|
|
2266
|
-
|| n.nodeType == 8 /*Node.COMMENT_NODE*/
|
|
2267
|
-
|| n.nodeType == 7 /*Node.PROCESSING_INSTRUCTION_NODE*/;
|
|
2268
|
-
}
|
|
2269
|
-
return false;
|
|
2270
|
-
};
|
|
2271
|
-
|
|
2272
|
-
NodeTest.NAMETESTANY = 0;
|
|
2273
|
-
NodeTest.NAMETESTPREFIXANY = 1;
|
|
2274
|
-
NodeTest.NAMETESTQNAME = 2;
|
|
2275
|
-
NodeTest.COMMENT = 3;
|
|
2276
|
-
NodeTest.TEXT = 4;
|
|
2277
|
-
NodeTest.PI = 5;
|
|
2278
|
-
NodeTest.NODE = 6;
|
|
2279
|
-
|
|
2280
|
-
// VariableReference /////////////////////////////////////////////////////////
|
|
2281
|
-
|
|
2282
|
-
VariableReference.prototype = new Expression();
|
|
2283
|
-
VariableReference.prototype.constructor = VariableReference;
|
|
2284
|
-
VariableReference.superclass = Expression.prototype;
|
|
2285
|
-
|
|
2286
|
-
function VariableReference(v) {
|
|
2287
|
-
if (arguments.length > 0) {
|
|
2288
|
-
this.init(v);
|
|
2289
|
-
}
|
|
2290
|
-
}
|
|
2291
|
-
|
|
2292
|
-
VariableReference.prototype.init = function(v) {
|
|
2293
|
-
this.variable = v;
|
|
2294
|
-
};
|
|
2295
|
-
|
|
2296
|
-
VariableReference.prototype.toString = function() {
|
|
2297
|
-
return "$" + this.variable;
|
|
2298
|
-
};
|
|
2299
|
-
|
|
2300
|
-
VariableReference.prototype.evaluate = function(c) {
|
|
2301
|
-
return c.variableResolver.getVariable(this.variable, c);
|
|
2302
|
-
};
|
|
2303
|
-
|
|
2304
|
-
// FunctionCall //////////////////////////////////////////////////////////////
|
|
2305
|
-
|
|
2306
|
-
FunctionCall.prototype = new Expression();
|
|
2307
|
-
FunctionCall.prototype.constructor = FunctionCall;
|
|
2308
|
-
FunctionCall.superclass = Expression.prototype;
|
|
2309
|
-
|
|
2310
|
-
function FunctionCall(fn, args) {
|
|
2311
|
-
if (arguments.length > 0) {
|
|
2312
|
-
this.init(fn, args);
|
|
2313
|
-
}
|
|
2314
|
-
}
|
|
2315
|
-
|
|
2316
|
-
FunctionCall.prototype.init = function(fn, args) {
|
|
2317
|
-
this.functionName = fn;
|
|
2318
|
-
this.arguments = args;
|
|
2319
|
-
};
|
|
2320
|
-
|
|
2321
|
-
FunctionCall.prototype.toString = function() {
|
|
2322
|
-
var s = this.functionName + "(";
|
|
2323
|
-
for (var i = 0; i < this.arguments.length; i++) {
|
|
2324
|
-
if (i > 0) {
|
|
2325
|
-
s += ", ";
|
|
2326
|
-
}
|
|
2327
|
-
s += this.arguments[i].toString();
|
|
2328
|
-
}
|
|
2329
|
-
return s + ")";
|
|
2330
|
-
};
|
|
2331
|
-
|
|
2332
|
-
FunctionCall.prototype.evaluate = function(c) {
|
|
2333
|
-
var f = c.functionResolver.getFunction(this.functionName, c);
|
|
2334
|
-
if (f == undefined) {
|
|
2335
|
-
throw new Error("Unknown function " + this.functionName);
|
|
2336
|
-
}
|
|
2337
|
-
var a = [c].concat(this.arguments);
|
|
2338
|
-
return f.apply(c.functionResolver.thisArg, a);
|
|
2339
|
-
};
|
|
2340
|
-
|
|
2341
|
-
// XString ///////////////////////////////////////////////////////////////////
|
|
2342
|
-
|
|
2343
|
-
XString.prototype = new Expression();
|
|
2344
|
-
XString.prototype.constructor = XString;
|
|
2345
|
-
XString.superclass = Expression.prototype;
|
|
2346
|
-
|
|
2347
|
-
function XString(s) {
|
|
2348
|
-
if (arguments.length > 0) {
|
|
2349
|
-
this.init(s);
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
|
-
|
|
2353
|
-
XString.prototype.init = function(s) {
|
|
2354
|
-
this.str = s;
|
|
2355
|
-
};
|
|
2356
|
-
|
|
2357
|
-
XString.prototype.toString = function() {
|
|
2358
|
-
return this.str;
|
|
2359
|
-
};
|
|
2360
|
-
|
|
2361
|
-
XString.prototype.evaluate = function(c) {
|
|
2362
|
-
return this;
|
|
2363
|
-
};
|
|
2364
|
-
|
|
2365
|
-
XString.prototype.string = function() {
|
|
2366
|
-
return this;
|
|
2367
|
-
};
|
|
2368
|
-
|
|
2369
|
-
XString.prototype.number = function() {
|
|
2370
|
-
return new XNumber(this.str);
|
|
2371
|
-
};
|
|
2372
|
-
|
|
2373
|
-
XString.prototype.bool = function() {
|
|
2374
|
-
return new XBoolean(this.str);
|
|
2375
|
-
};
|
|
2376
|
-
|
|
2377
|
-
XString.prototype.nodeset = function() {
|
|
2378
|
-
throw new Error("Cannot convert string to nodeset");
|
|
2379
|
-
};
|
|
2380
|
-
|
|
2381
|
-
XString.prototype.stringValue = function() {
|
|
2382
|
-
return this.str;
|
|
2383
|
-
};
|
|
2384
|
-
|
|
2385
|
-
XString.prototype.numberValue = function() {
|
|
2386
|
-
return this.number().numberValue();
|
|
2387
|
-
};
|
|
2388
|
-
|
|
2389
|
-
XString.prototype.booleanValue = function() {
|
|
2390
|
-
return this.bool().booleanValue();
|
|
2391
|
-
};
|
|
2392
|
-
|
|
2393
|
-
XString.prototype.equals = function(r) {
|
|
2394
|
-
if (Utilities.instance_of(r, XBoolean)) {
|
|
2395
|
-
return this.bool().equals(r);
|
|
2396
|
-
}
|
|
2397
|
-
if (Utilities.instance_of(r, XNumber)) {
|
|
2398
|
-
return this.number().equals(r);
|
|
2399
|
-
}
|
|
2400
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2401
|
-
return r.compareWithString(this, Operators.equals);
|
|
2402
|
-
}
|
|
2403
|
-
return new XBoolean(this.str == r.str);
|
|
2404
|
-
};
|
|
2405
|
-
|
|
2406
|
-
XString.prototype.notequal = function(r) {
|
|
2407
|
-
if (Utilities.instance_of(r, XBoolean)) {
|
|
2408
|
-
return this.bool().notequal(r);
|
|
2409
|
-
}
|
|
2410
|
-
if (Utilities.instance_of(r, XNumber)) {
|
|
2411
|
-
return this.number().notequal(r);
|
|
2412
|
-
}
|
|
2413
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2414
|
-
return r.compareWithString(this, Operators.notequal);
|
|
2415
|
-
}
|
|
2416
|
-
return new XBoolean(this.str != r.str);
|
|
2417
|
-
};
|
|
2418
|
-
|
|
2419
|
-
XString.prototype.lessthan = function(r) {
|
|
2420
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2421
|
-
return r.compareWithNumber(this.number(), Operators.greaterthanorequal);
|
|
2422
|
-
}
|
|
2423
|
-
return this.number().lessthan(r.number());
|
|
2424
|
-
};
|
|
2425
|
-
|
|
2426
|
-
XString.prototype.greaterthan = function(r) {
|
|
2427
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2428
|
-
return r.compareWithNumber(this.number(), Operators.lessthanorequal);
|
|
2429
|
-
}
|
|
2430
|
-
return this.number().greaterthan(r.number());
|
|
2431
|
-
};
|
|
2432
|
-
|
|
2433
|
-
XString.prototype.lessthanorequal = function(r) {
|
|
2434
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2435
|
-
return r.compareWithNumber(this.number(), Operators.greaterthan);
|
|
2436
|
-
}
|
|
2437
|
-
return this.number().lessthanorequal(r.number());
|
|
2438
|
-
};
|
|
2439
|
-
|
|
2440
|
-
XString.prototype.greaterthanorequal = function(r) {
|
|
2441
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2442
|
-
return r.compareWithNumber(this.number(), Operators.lessthan);
|
|
2443
|
-
}
|
|
2444
|
-
return this.number().greaterthanorequal(r.number());
|
|
2445
|
-
};
|
|
2446
|
-
|
|
2447
|
-
// XNumber ///////////////////////////////////////////////////////////////////
|
|
2448
|
-
|
|
2449
|
-
XNumber.prototype = new Expression();
|
|
2450
|
-
XNumber.prototype.constructor = XNumber;
|
|
2451
|
-
XNumber.superclass = Expression.prototype;
|
|
2452
|
-
|
|
2453
|
-
function XNumber(n) {
|
|
2454
|
-
if (arguments.length > 0) {
|
|
2455
|
-
this.init(n);
|
|
2456
|
-
}
|
|
2457
|
-
}
|
|
2458
|
-
|
|
2459
|
-
XNumber.prototype.init = function(n) {
|
|
2460
|
-
this.num = Number(n);
|
|
2461
|
-
};
|
|
2462
|
-
|
|
2463
|
-
XNumber.prototype.toString = function() {
|
|
2464
|
-
return this.num;
|
|
2465
|
-
};
|
|
2466
|
-
|
|
2467
|
-
XNumber.prototype.evaluate = function(c) {
|
|
2468
|
-
return this;
|
|
2469
|
-
};
|
|
2470
|
-
|
|
2471
|
-
XNumber.prototype.string = function() {
|
|
2472
|
-
return new XString(this.num);
|
|
2473
|
-
};
|
|
2474
|
-
|
|
2475
|
-
XNumber.prototype.number = function() {
|
|
2476
|
-
return this;
|
|
2477
|
-
};
|
|
2478
|
-
|
|
2479
|
-
XNumber.prototype.bool = function() {
|
|
2480
|
-
return new XBoolean(this.num);
|
|
2481
|
-
};
|
|
2482
|
-
|
|
2483
|
-
XNumber.prototype.nodeset = function() {
|
|
2484
|
-
throw new Error("Cannot convert number to nodeset");
|
|
2485
|
-
};
|
|
2486
|
-
|
|
2487
|
-
XNumber.prototype.stringValue = function() {
|
|
2488
|
-
return this.string().stringValue();
|
|
2489
|
-
};
|
|
2490
|
-
|
|
2491
|
-
XNumber.prototype.numberValue = function() {
|
|
2492
|
-
return this.num;
|
|
2493
|
-
};
|
|
2494
|
-
|
|
2495
|
-
XNumber.prototype.booleanValue = function() {
|
|
2496
|
-
return this.bool().booleanValue();
|
|
2497
|
-
};
|
|
2498
|
-
|
|
2499
|
-
XNumber.prototype.negate = function() {
|
|
2500
|
-
return new XNumber(-this.num);
|
|
2501
|
-
};
|
|
2502
|
-
|
|
2503
|
-
XNumber.prototype.equals = function(r) {
|
|
2504
|
-
if (Utilities.instance_of(r, XBoolean)) {
|
|
2505
|
-
return this.bool().equals(r);
|
|
2506
|
-
}
|
|
2507
|
-
if (Utilities.instance_of(r, XString)) {
|
|
2508
|
-
return this.equals(r.number());
|
|
2509
|
-
}
|
|
2510
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2511
|
-
return r.compareWithNumber(this, Operators.equals);
|
|
2512
|
-
}
|
|
2513
|
-
return new XBoolean(this.num == r.num);
|
|
2514
|
-
};
|
|
2515
|
-
|
|
2516
|
-
XNumber.prototype.notequal = function(r) {
|
|
2517
|
-
if (Utilities.instance_of(r, XBoolean)) {
|
|
2518
|
-
return this.bool().notequal(r);
|
|
2519
|
-
}
|
|
2520
|
-
if (Utilities.instance_of(r, XString)) {
|
|
2521
|
-
return this.notequal(r.number());
|
|
2522
|
-
}
|
|
2523
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2524
|
-
return r.compareWithNumber(this, Operators.notequal);
|
|
2525
|
-
}
|
|
2526
|
-
return new XBoolean(this.num != r.num);
|
|
2527
|
-
};
|
|
2528
|
-
|
|
2529
|
-
XNumber.prototype.lessthan = function(r) {
|
|
2530
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2531
|
-
return r.compareWithNumber(this, Operators.greaterthanorequal);
|
|
2532
|
-
}
|
|
2533
|
-
if (Utilities.instance_of(r, XBoolean) || Utilities.instance_of(r, XString)) {
|
|
2534
|
-
return this.lessthan(r.number());
|
|
2535
|
-
}
|
|
2536
|
-
return new XBoolean(this.num < r.num);
|
|
2537
|
-
};
|
|
2538
|
-
|
|
2539
|
-
XNumber.prototype.greaterthan = function(r) {
|
|
2540
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2541
|
-
return r.compareWithNumber(this, Operators.lessthanorequal);
|
|
2542
|
-
}
|
|
2543
|
-
if (Utilities.instance_of(r, XBoolean) || Utilities.instance_of(r, XString)) {
|
|
2544
|
-
return this.greaterthan(r.number());
|
|
2545
|
-
}
|
|
2546
|
-
return new XBoolean(this.num > r.num);
|
|
2547
|
-
};
|
|
2548
|
-
|
|
2549
|
-
XNumber.prototype.lessthanorequal = function(r) {
|
|
2550
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2551
|
-
return r.compareWithNumber(this, Operators.greaterthan);
|
|
2552
|
-
}
|
|
2553
|
-
if (Utilities.instance_of(r, XBoolean) || Utilities.instance_of(r, XString)) {
|
|
2554
|
-
return this.lessthanorequal(r.number());
|
|
2555
|
-
}
|
|
2556
|
-
return new XBoolean(this.num <= r.num);
|
|
2557
|
-
};
|
|
2558
|
-
|
|
2559
|
-
XNumber.prototype.greaterthanorequal = function(r) {
|
|
2560
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2561
|
-
return r.compareWithNumber(this, Operators.lessthan);
|
|
2562
|
-
}
|
|
2563
|
-
if (Utilities.instance_of(r, XBoolean) || Utilities.instance_of(r, XString)) {
|
|
2564
|
-
return this.greaterthanorequal(r.number());
|
|
2565
|
-
}
|
|
2566
|
-
return new XBoolean(this.num >= r.num);
|
|
2567
|
-
};
|
|
2568
|
-
|
|
2569
|
-
XNumber.prototype.plus = function(r) {
|
|
2570
|
-
return new XNumber(this.num + r.num);
|
|
2571
|
-
};
|
|
2572
|
-
|
|
2573
|
-
XNumber.prototype.minus = function(r) {
|
|
2574
|
-
return new XNumber(this.num - r.num);
|
|
2575
|
-
};
|
|
2576
|
-
|
|
2577
|
-
XNumber.prototype.multiply = function(r) {
|
|
2578
|
-
return new XNumber(this.num * r.num);
|
|
2579
|
-
};
|
|
2580
|
-
|
|
2581
|
-
XNumber.prototype.div = function(r) {
|
|
2582
|
-
return new XNumber(this.num / r.num);
|
|
2583
|
-
};
|
|
2584
|
-
|
|
2585
|
-
XNumber.prototype.mod = function(r) {
|
|
2586
|
-
return new XNumber(this.num % r.num);
|
|
2587
|
-
};
|
|
2588
|
-
|
|
2589
|
-
// XBoolean //////////////////////////////////////////////////////////////////
|
|
2590
|
-
|
|
2591
|
-
XBoolean.prototype = new Expression();
|
|
2592
|
-
XBoolean.prototype.constructor = XBoolean;
|
|
2593
|
-
XBoolean.superclass = Expression.prototype;
|
|
2594
|
-
|
|
2595
|
-
function XBoolean(b) {
|
|
2596
|
-
if (arguments.length > 0) {
|
|
2597
|
-
this.init(b);
|
|
2598
|
-
}
|
|
2599
|
-
}
|
|
2600
|
-
|
|
2601
|
-
XBoolean.prototype.init = function(b) {
|
|
2602
|
-
this.b = Boolean(b);
|
|
2603
|
-
};
|
|
2604
|
-
|
|
2605
|
-
XBoolean.prototype.toString = function() {
|
|
2606
|
-
return this.b.toString();
|
|
2607
|
-
};
|
|
2608
|
-
|
|
2609
|
-
XBoolean.prototype.evaluate = function(c) {
|
|
2610
|
-
return this;
|
|
2611
|
-
};
|
|
2612
|
-
|
|
2613
|
-
XBoolean.prototype.string = function() {
|
|
2614
|
-
return new XString(this.b);
|
|
2615
|
-
};
|
|
2616
|
-
|
|
2617
|
-
XBoolean.prototype.number = function() {
|
|
2618
|
-
return new XNumber(this.b);
|
|
2619
|
-
};
|
|
2620
|
-
|
|
2621
|
-
XBoolean.prototype.bool = function() {
|
|
2622
|
-
return this;
|
|
2623
|
-
};
|
|
2624
|
-
|
|
2625
|
-
XBoolean.prototype.nodeset = function() {
|
|
2626
|
-
throw new Error("Cannot convert boolean to nodeset");
|
|
2627
|
-
};
|
|
2628
|
-
|
|
2629
|
-
XBoolean.prototype.stringValue = function() {
|
|
2630
|
-
return this.string().stringValue();
|
|
2631
|
-
};
|
|
2632
|
-
|
|
2633
|
-
XBoolean.prototype.numberValue = function() {
|
|
2634
|
-
return this.num().numberValue();
|
|
2635
|
-
};
|
|
2636
|
-
|
|
2637
|
-
XBoolean.prototype.booleanValue = function() {
|
|
2638
|
-
return this.b;
|
|
2639
|
-
};
|
|
2640
|
-
|
|
2641
|
-
XBoolean.prototype.not = function() {
|
|
2642
|
-
return new XBoolean(!this.b);
|
|
2643
|
-
};
|
|
2644
|
-
|
|
2645
|
-
XBoolean.prototype.equals = function(r) {
|
|
2646
|
-
if (Utilities.instance_of(r, XString) || Utilities.instance_of(r, XNumber)) {
|
|
2647
|
-
return this.equals(r.bool());
|
|
2648
|
-
}
|
|
2649
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2650
|
-
return r.compareWithBoolean(this, Operators.equals);
|
|
2651
|
-
}
|
|
2652
|
-
return new XBoolean(this.b == r.b);
|
|
2653
|
-
};
|
|
2654
|
-
|
|
2655
|
-
XBoolean.prototype.notequal = function(r) {
|
|
2656
|
-
if (Utilities.instance_of(r, XString) || Utilities.instance_of(r, XNumber)) {
|
|
2657
|
-
return this.notequal(r.bool());
|
|
2658
|
-
}
|
|
2659
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2660
|
-
return r.compareWithBoolean(this, Operators.notequal);
|
|
2661
|
-
}
|
|
2662
|
-
return new XBoolean(this.b != r.b);
|
|
2663
|
-
};
|
|
2664
|
-
|
|
2665
|
-
XBoolean.prototype.lessthan = function(r) {
|
|
2666
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2667
|
-
return r.compareWithNumber(this.number(), Operators.greaterthanorequal);
|
|
2668
|
-
}
|
|
2669
|
-
return this.number().lessthan(r.number());
|
|
2670
|
-
};
|
|
2671
|
-
|
|
2672
|
-
XBoolean.prototype.greaterthan = function(r) {
|
|
2673
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2674
|
-
return r.compareWithNumber(this.number(), Operators.lessthanorequal);
|
|
2675
|
-
}
|
|
2676
|
-
return this.number().greaterthan(r.number());
|
|
2677
|
-
};
|
|
2678
|
-
|
|
2679
|
-
XBoolean.prototype.lessthanorequal = function(r) {
|
|
2680
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2681
|
-
return r.compareWithNumber(this.number(), Operators.greaterthan);
|
|
2682
|
-
}
|
|
2683
|
-
return this.number().lessthanorequal(r.number());
|
|
2684
|
-
};
|
|
2685
|
-
|
|
2686
|
-
XBoolean.prototype.greaterthanorequal = function(r) {
|
|
2687
|
-
if (Utilities.instance_of(r, XNodeSet)) {
|
|
2688
|
-
return r.compareWithNumber(this.number(), Operators.lessthan);
|
|
2689
|
-
}
|
|
2690
|
-
return this.number().greaterthanorequal(r.number());
|
|
2691
|
-
};
|
|
2692
|
-
|
|
2693
|
-
// AVLTree ///////////////////////////////////////////////////////////////////
|
|
2694
|
-
|
|
2695
|
-
AVLTree.prototype = new Object();
|
|
2696
|
-
AVLTree.prototype.constructor = AVLTree;
|
|
2697
|
-
AVLTree.superclass = Object.prototype;
|
|
2698
|
-
|
|
2699
|
-
function AVLTree(n) {
|
|
2700
|
-
this.init(n);
|
|
2701
|
-
}
|
|
2702
|
-
|
|
2703
|
-
AVLTree.prototype.init = function(n) {
|
|
2704
|
-
this.left = null;
|
|
2705
|
-
this.right = null;
|
|
2706
|
-
this.node = n;
|
|
2707
|
-
this.depth = 1;
|
|
2708
|
-
};
|
|
2709
|
-
|
|
2710
|
-
AVLTree.prototype.balance = function() {
|
|
2711
|
-
var ldepth = this.left == null ? 0 : this.left.depth;
|
|
2712
|
-
var rdepth = this.right == null ? 0 : this.right.depth;
|
|
2713
|
-
|
|
2714
|
-
if (ldepth > rdepth + 1) {
|
|
2715
|
-
// LR or LL rotation
|
|
2716
|
-
var lldepth = this.left.left == null ? 0 : this.left.left.depth;
|
|
2717
|
-
var lrdepth = this.left.right == null ? 0 : this.left.right.depth;
|
|
2718
|
-
|
|
2719
|
-
if (lldepth < lrdepth) {
|
|
2720
|
-
// LR rotation consists of a RR rotation of the left child
|
|
2721
|
-
this.left.rotateRR();
|
|
2722
|
-
// plus a LL rotation of this node, which happens anyway
|
|
2723
|
-
}
|
|
2724
|
-
this.rotateLL();
|
|
2725
|
-
} else if (ldepth + 1 < rdepth) {
|
|
2726
|
-
// RR or RL rorarion
|
|
2727
|
-
var rrdepth = this.right.right == null ? 0 : this.right.right.depth;
|
|
2728
|
-
var rldepth = this.right.left == null ? 0 : this.right.left.depth;
|
|
2729
|
-
|
|
2730
|
-
if (rldepth > rrdepth) {
|
|
2731
|
-
// RR rotation consists of a LL rotation of the right child
|
|
2732
|
-
this.right.rotateLL();
|
|
2733
|
-
// plus a RR rotation of this node, which happens anyway
|
|
2734
|
-
}
|
|
2735
|
-
this.rotateRR();
|
|
2736
|
-
}
|
|
2737
|
-
};
|
|
2738
|
-
|
|
2739
|
-
AVLTree.prototype.rotateLL = function() {
|
|
2740
|
-
// the left side is too long => rotate from the left (_not_ leftwards)
|
|
2741
|
-
var nodeBefore = this.node;
|
|
2742
|
-
var rightBefore = this.right;
|
|
2743
|
-
this.node = this.left.node;
|
|
2744
|
-
this.right = this.left;
|
|
2745
|
-
this.left = this.left.left;
|
|
2746
|
-
this.right.left = this.right.right;
|
|
2747
|
-
this.right.right = rightBefore;
|
|
2748
|
-
this.right.node = nodeBefore;
|
|
2749
|
-
this.right.updateInNewLocation();
|
|
2750
|
-
this.updateInNewLocation();
|
|
2751
|
-
};
|
|
2752
|
-
|
|
2753
|
-
AVLTree.prototype.rotateRR = function() {
|
|
2754
|
-
// the right side is too long => rotate from the right (_not_ rightwards)
|
|
2755
|
-
var nodeBefore = this.node;
|
|
2756
|
-
var leftBefore = this.left;
|
|
2757
|
-
this.node = this.right.node;
|
|
2758
|
-
this.left = this.right;
|
|
2759
|
-
this.right = this.right.right;
|
|
2760
|
-
this.left.right = this.left.left;
|
|
2761
|
-
this.left.left = leftBefore;
|
|
2762
|
-
this.left.node = nodeBefore;
|
|
2763
|
-
this.left.updateInNewLocation();
|
|
2764
|
-
this.updateInNewLocation();
|
|
2765
|
-
};
|
|
2766
|
-
|
|
2767
|
-
AVLTree.prototype.updateInNewLocation = function() {
|
|
2768
|
-
this.getDepthFromChildren();
|
|
2769
|
-
};
|
|
2770
|
-
|
|
2771
|
-
AVLTree.prototype.getDepthFromChildren = function() {
|
|
2772
|
-
this.depth = this.node == null ? 0 : 1;
|
|
2773
|
-
if (this.left != null) {
|
|
2774
|
-
this.depth = this.left.depth + 1;
|
|
2775
|
-
}
|
|
2776
|
-
if (this.right != null && this.depth <= this.right.depth) {
|
|
2777
|
-
this.depth = this.right.depth + 1;
|
|
2778
|
-
}
|
|
2779
|
-
};
|
|
2780
|
-
|
|
2781
|
-
AVLTree.prototype.order = function(n1, n2) {
|
|
2782
|
-
if (n1 === n2) {
|
|
2783
|
-
return 0;
|
|
2784
|
-
}
|
|
2785
|
-
var d1 = 0;
|
|
2786
|
-
var d2 = 0;
|
|
2787
|
-
for (var m1 = n1; m1 != null; m1 = m1.parentNode) {
|
|
2788
|
-
d1++;
|
|
2789
|
-
}
|
|
2790
|
-
for (var m2 = n2; m2 != null; m2 = m2.parentNode) {
|
|
2791
|
-
d2++;
|
|
2792
|
-
}
|
|
2793
|
-
if (d1 > d2) {
|
|
2794
|
-
while (d1 > d2) {
|
|
2795
|
-
n1 = n1.parentNode;
|
|
2796
|
-
d1--;
|
|
2797
|
-
}
|
|
2798
|
-
if (n1 == n2) {
|
|
2799
|
-
return 1;
|
|
2800
|
-
}
|
|
2801
|
-
} else if (d2 > d1) {
|
|
2802
|
-
while (d2 > d1) {
|
|
2803
|
-
n2 = n2.parentNode;
|
|
2804
|
-
d2--;
|
|
2805
|
-
}
|
|
2806
|
-
if (n1 == n2) {
|
|
2807
|
-
return -1;
|
|
2808
|
-
}
|
|
2809
|
-
}
|
|
2810
|
-
while (n1.parentNode != n2.parentNode) {
|
|
2811
|
-
n1 = n1.parentNode;
|
|
2812
|
-
n2 = n2.parentNode;
|
|
2813
|
-
}
|
|
2814
|
-
while (n1.previousSibling != null && n2.previousSibling != null) {
|
|
2815
|
-
n1 = n1.previousSibling;
|
|
2816
|
-
n2 = n2.previousSibling;
|
|
2817
|
-
}
|
|
2818
|
-
if (n1.previousSibling == null) {
|
|
2819
|
-
return -1;
|
|
2820
|
-
}
|
|
2821
|
-
return 1;
|
|
2822
|
-
};
|
|
2823
|
-
|
|
2824
|
-
AVLTree.prototype.add = function(n) {
|
|
2825
|
-
if (n === this.node) {
|
|
2826
|
-
return false;
|
|
2827
|
-
}
|
|
2828
|
-
|
|
2829
|
-
var o = this.order(n, this.node);
|
|
2830
|
-
|
|
2831
|
-
var ret = false;
|
|
2832
|
-
if (o == -1) {
|
|
2833
|
-
if (this.left == null) {
|
|
2834
|
-
this.left = new AVLTree(n);
|
|
2835
|
-
ret = true;
|
|
2836
|
-
} else {
|
|
2837
|
-
ret = this.left.add(n);
|
|
2838
|
-
if (ret) {
|
|
2839
|
-
this.balance();
|
|
2840
|
-
}
|
|
2841
|
-
}
|
|
2842
|
-
} else if (o == 1) {
|
|
2843
|
-
if (this.right == null) {
|
|
2844
|
-
this.right = new AVLTree(n);
|
|
2845
|
-
ret = true;
|
|
2846
|
-
} else {
|
|
2847
|
-
ret = this.right.add(n);
|
|
2848
|
-
if (ret) {
|
|
2849
|
-
this.balance();
|
|
2850
|
-
}
|
|
2851
|
-
}
|
|
2852
|
-
}
|
|
2853
|
-
|
|
2854
|
-
if (ret) {
|
|
2855
|
-
this.getDepthFromChildren();
|
|
2856
|
-
}
|
|
2857
|
-
return ret;
|
|
2858
|
-
};
|
|
2859
|
-
|
|
2860
|
-
// XNodeSet //////////////////////////////////////////////////////////////////
|
|
2861
|
-
|
|
2862
|
-
XNodeSet.prototype = new Expression();
|
|
2863
|
-
XNodeSet.prototype.constructor = XNodeSet;
|
|
2864
|
-
XNodeSet.superclass = Expression.prototype;
|
|
2865
|
-
|
|
2866
|
-
function XNodeSet() {
|
|
2867
|
-
this.init();
|
|
2868
|
-
}
|
|
2869
|
-
|
|
2870
|
-
XNodeSet.prototype.init = function() {
|
|
2871
|
-
this.tree = null;
|
|
2872
|
-
this.size = 0;
|
|
2873
|
-
};
|
|
2874
|
-
|
|
2875
|
-
XNodeSet.prototype.toString = function() {
|
|
2876
|
-
var p = this.first();
|
|
2877
|
-
if (p == null) {
|
|
2878
|
-
return "";
|
|
2879
|
-
}
|
|
2880
|
-
return this.stringForNode(p);
|
|
2881
|
-
};
|
|
2882
|
-
|
|
2883
|
-
XNodeSet.prototype.evaluate = function(c) {
|
|
2884
|
-
return this;
|
|
2885
|
-
};
|
|
2886
|
-
|
|
2887
|
-
XNodeSet.prototype.string = function() {
|
|
2888
|
-
return new XString(this.toString());
|
|
2889
|
-
};
|
|
2890
|
-
|
|
2891
|
-
XNodeSet.prototype.stringValue = function() {
|
|
2892
|
-
return this.toString();
|
|
2893
|
-
};
|
|
2894
|
-
|
|
2895
|
-
XNodeSet.prototype.number = function() {
|
|
2896
|
-
return new XNumber(this.string());
|
|
2897
|
-
};
|
|
2898
|
-
|
|
2899
|
-
XNodeSet.prototype.numberValue = function() {
|
|
2900
|
-
return Number(this.string());
|
|
2901
|
-
};
|
|
2902
|
-
|
|
2903
|
-
XNodeSet.prototype.bool = function() {
|
|
2904
|
-
return new XBoolean(this.tree != null);
|
|
2905
|
-
};
|
|
2906
|
-
|
|
2907
|
-
XNodeSet.prototype.booleanValue = function() {
|
|
2908
|
-
return this.tree != null;
|
|
2909
|
-
};
|
|
2910
|
-
|
|
2911
|
-
XNodeSet.prototype.nodeset = function() {
|
|
2912
|
-
return this;
|
|
2913
|
-
};
|
|
2914
|
-
|
|
2915
|
-
XNodeSet.prototype.stringForNode = function(n) {
|
|
2916
|
-
if (n.nodeType == 9 /*Node.DOCUMENT_NODE*/) {
|
|
2917
|
-
n = n.documentElement;
|
|
2918
|
-
}
|
|
2919
|
-
if (n.nodeType == 1 /*Node.ELEMENT_NODE*/) {
|
|
2920
|
-
return this.stringForNodeRec(n);
|
|
2921
|
-
}
|
|
2922
|
-
if (n.isNamespaceNode) {
|
|
2923
|
-
return n.namespace;
|
|
2924
|
-
}
|
|
2925
|
-
return n.nodeValue;
|
|
2926
|
-
};
|
|
2927
|
-
|
|
2928
|
-
XNodeSet.prototype.stringForNodeRec = function(n) {
|
|
2929
|
-
var s = "";
|
|
2930
|
-
for (var n2 = n.firstChild; n2 != null; n2 = n2.nextSibling) {
|
|
2931
|
-
if (n2.nodeType == 3 /*Node.TEXT_NODE*/) {
|
|
2932
|
-
s += n2.nodeValue;
|
|
2933
|
-
} else if (n2.nodeType == 1 /*Node.ELEMENT_NODE*/) {
|
|
2934
|
-
s += this.stringForNodeRec(n2);
|
|
2935
|
-
}
|
|
2936
|
-
}
|
|
2937
|
-
return s;
|
|
2938
|
-
};
|
|
2939
|
-
|
|
2940
|
-
XNodeSet.prototype.first = function() {
|
|
2941
|
-
var p = this.tree;
|
|
2942
|
-
if (p == null) {
|
|
2943
|
-
return null;
|
|
2944
|
-
}
|
|
2945
|
-
while (p.left != null) {
|
|
2946
|
-
p = p.left;
|
|
2947
|
-
}
|
|
2948
|
-
return p.node;
|
|
2949
|
-
};
|
|
2950
|
-
|
|
2951
|
-
XNodeSet.prototype.add = function(n) {
|
|
2952
|
-
var added;
|
|
2953
|
-
if (this.tree == null) {
|
|
2954
|
-
this.tree = new AVLTree(n);
|
|
2955
|
-
added = true;
|
|
2956
|
-
} else {
|
|
2957
|
-
added = this.tree.add(n);
|
|
2958
|
-
}
|
|
2959
|
-
if (added) {
|
|
2960
|
-
this.size++;
|
|
2961
|
-
}
|
|
2962
|
-
};
|
|
2963
|
-
|
|
2964
|
-
XNodeSet.prototype.addArray = function(ns) {
|
|
2965
|
-
for (var i = 0; i < ns.length; i++) {
|
|
2966
|
-
this.add(ns[i]);
|
|
2967
|
-
}
|
|
2968
|
-
};
|
|
2969
|
-
|
|
2970
|
-
XNodeSet.prototype.toArray = function() {
|
|
2971
|
-
var a = [];
|
|
2972
|
-
this.toArrayRec(this.tree, a);
|
|
2973
|
-
return a;
|
|
2974
|
-
};
|
|
2975
|
-
|
|
2976
|
-
XNodeSet.prototype.toArrayRec = function(t, a) {
|
|
2977
|
-
if (t != null) {
|
|
2978
|
-
this.toArrayRec(t.left, a);
|
|
2979
|
-
a.push(t.node);
|
|
2980
|
-
this.toArrayRec(t.right, a);
|
|
2981
|
-
}
|
|
2982
|
-
};
|
|
2983
|
-
|
|
2984
|
-
XNodeSet.prototype.compareWithString = function(r, o) {
|
|
2985
|
-
var a = this.toArray();
|
|
2986
|
-
for (var i = 0; i < a.length; i++) {
|
|
2987
|
-
var n = a[i];
|
|
2988
|
-
var l = new XString(this.stringForNode(n));
|
|
2989
|
-
var res = o(l, r);
|
|
2990
|
-
if (res.booleanValue()) {
|
|
2991
|
-
return res;
|
|
2992
|
-
}
|
|
2993
|
-
}
|
|
2994
|
-
return new XBoolean(false);
|
|
2995
|
-
};
|
|
2996
|
-
|
|
2997
|
-
XNodeSet.prototype.compareWithNumber = function(r, o) {
|
|
2998
|
-
var a = this.toArray();
|
|
2999
|
-
for (var i = 0; i < a.length; i++) {
|
|
3000
|
-
var n = a[i];
|
|
3001
|
-
var l = new XNumber(this.stringForNode(n));
|
|
3002
|
-
var res = o(l, r);
|
|
3003
|
-
if (res.booleanValue()) {
|
|
3004
|
-
return res;
|
|
3005
|
-
}
|
|
3006
|
-
}
|
|
3007
|
-
return new XBoolean(false);
|
|
3008
|
-
};
|
|
3009
|
-
|
|
3010
|
-
XNodeSet.prototype.compareWithBoolean = function(r, o) {
|
|
3011
|
-
return o(this.bool(), r);
|
|
3012
|
-
};
|
|
3013
|
-
|
|
3014
|
-
XNodeSet.prototype.compareWithNodeSet = function(r, o) {
|
|
3015
|
-
var a = this.toArray();
|
|
3016
|
-
for (var i = 0; i < a.length; i++) {
|
|
3017
|
-
var n = a[i];
|
|
3018
|
-
var l = new XString(this.stringForNode(n));
|
|
3019
|
-
var b = r.toArray();
|
|
3020
|
-
for (var j = 0; j < b.length; j++) {
|
|
3021
|
-
var n2 = b[j];
|
|
3022
|
-
var r = new XString(this.stringForNode(n2));
|
|
3023
|
-
var res = o(l, r);
|
|
3024
|
-
if (res.booleanValue()) {
|
|
3025
|
-
return res;
|
|
3026
|
-
}
|
|
3027
|
-
}
|
|
3028
|
-
}
|
|
3029
|
-
return new XBoolean(false);
|
|
3030
|
-
};
|
|
3031
|
-
|
|
3032
|
-
XNodeSet.prototype.equals = function(r) {
|
|
3033
|
-
if (Utilities.instance_of(r, XString)) {
|
|
3034
|
-
return this.compareWithString(r, Operators.equals);
|
|
3035
|
-
}
|
|
3036
|
-
if (Utilities.instance_of(r, XNumber)) {
|
|
3037
|
-
return this.compareWithNumber(r, Operators.equals);
|
|
3038
|
-
}
|
|
3039
|
-
if (Utilities.instance_of(r, XBoolean)) {
|
|
3040
|
-
return this.compareWithBoolean(r, Operators.equals);
|
|
3041
|
-
}
|
|
3042
|
-
return this.compareWithNodeSet(r, Operators.equals);
|
|
3043
|
-
};
|
|
3044
|
-
|
|
3045
|
-
XNodeSet.prototype.notequal = function(r) {
|
|
3046
|
-
if (Utilities.instance_of(r, XString)) {
|
|
3047
|
-
return this.compareWithString(r, Operators.notequal);
|
|
3048
|
-
}
|
|
3049
|
-
if (Utilities.instance_of(r, XNumber)) {
|
|
3050
|
-
return this.compareWithNumber(r, Operators.notequal);
|
|
3051
|
-
}
|
|
3052
|
-
if (Utilities.instance_of(r, XBoolean)) {
|
|
3053
|
-
return this.compareWithBoolean(r, Operators.notequal);
|
|
3054
|
-
}
|
|
3055
|
-
return this.compareWithNodeSet(r, Operators.notequal);
|
|
3056
|
-
};
|
|
3057
|
-
|
|
3058
|
-
XNodeSet.prototype.lessthan = function(r) {
|
|
3059
|
-
if (Utilities.instance_of(r, XString)) {
|
|
3060
|
-
return this.compareWithNumber(r.number(), Operators.lessthan);
|
|
3061
|
-
}
|
|
3062
|
-
if (Utilities.instance_of(r, XNumber)) {
|
|
3063
|
-
return this.compareWithNumber(r, Operators.lessthan);
|
|
3064
|
-
}
|
|
3065
|
-
if (Utilities.instance_of(r, XBoolean)) {
|
|
3066
|
-
return this.compareWithBoolean(r, Operators.lessthan);
|
|
3067
|
-
}
|
|
3068
|
-
return this.compareWithNodeSet(r, Operators.lessthan);
|
|
3069
|
-
};
|
|
3070
|
-
|
|
3071
|
-
XNodeSet.prototype.greaterthan = function(r) {
|
|
3072
|
-
if (Utilities.instance_of(r, XString)) {
|
|
3073
|
-
return this.compareWithNumber(r.number(), Operators.greaterthan);
|
|
3074
|
-
}
|
|
3075
|
-
if (Utilities.instance_of(r, XNumber)) {
|
|
3076
|
-
return this.compareWithNumber(r, Operators.greaterthan);
|
|
3077
|
-
}
|
|
3078
|
-
if (Utilities.instance_of(r, XBoolean)) {
|
|
3079
|
-
return this.compareWithBoolean(r, Operators.greaterthan);
|
|
3080
|
-
}
|
|
3081
|
-
return this.compareWithNodeSet(r, Operators.greaterthan);
|
|
3082
|
-
};
|
|
3083
|
-
|
|
3084
|
-
XNodeSet.prototype.lessthanorequal = function(r) {
|
|
3085
|
-
if (Utilities.instance_of(r, XString)) {
|
|
3086
|
-
return this.compareWithNumber(r.number(), Operators.lessthanorequal);
|
|
3087
|
-
}
|
|
3088
|
-
if (Utilities.instance_of(r, XNumber)) {
|
|
3089
|
-
return this.compareWithNumber(r, Operators.lessthanorequal);
|
|
3090
|
-
}
|
|
3091
|
-
if (Utilities.instance_of(r, XBoolean)) {
|
|
3092
|
-
return this.compareWithBoolean(r, Operators.lessthanorequal);
|
|
3093
|
-
}
|
|
3094
|
-
return this.compareWithNodeSet(r, Operators.lessthanorequal);
|
|
3095
|
-
};
|
|
3096
|
-
|
|
3097
|
-
XNodeSet.prototype.greaterthanorequal = function(r) {
|
|
3098
|
-
if (Utilities.instance_of(r, XString)) {
|
|
3099
|
-
return this.compareWithNumber(r.number(), Operators.greaterthanorequal);
|
|
3100
|
-
}
|
|
3101
|
-
if (Utilities.instance_of(r, XNumber)) {
|
|
3102
|
-
return this.compareWithNumber(r, Operators.greaterthanorequal);
|
|
3103
|
-
}
|
|
3104
|
-
if (Utilities.instance_of(r, XBoolean)) {
|
|
3105
|
-
return this.compareWithBoolean(r, Operators.greaterthanorequal);
|
|
3106
|
-
}
|
|
3107
|
-
return this.compareWithNodeSet(r, Operators.greaterthanorequal);
|
|
3108
|
-
};
|
|
3109
|
-
|
|
3110
|
-
XNodeSet.prototype.union = function(r) {
|
|
3111
|
-
var ns = new XNodeSet();
|
|
3112
|
-
ns.tree = this.tree;
|
|
3113
|
-
ns.size = this.size;
|
|
3114
|
-
ns.addArray(r.toArray());
|
|
3115
|
-
return ns;
|
|
3116
|
-
};
|
|
3117
|
-
|
|
3118
|
-
// XPathNamespace ////////////////////////////////////////////////////////////
|
|
3119
|
-
|
|
3120
|
-
XPathNamespace.prototype = new Object();
|
|
3121
|
-
XPathNamespace.prototype.constructor = XPathNamespace;
|
|
3122
|
-
XPathNamespace.superclass = Object.prototype;
|
|
3123
|
-
|
|
3124
|
-
function XPathNamespace(pre, ns, p) {
|
|
3125
|
-
this.isXPathNamespace = true;
|
|
3126
|
-
this.ownerDocument = p.ownerDocument;
|
|
3127
|
-
this.nodeName = "#namespace";
|
|
3128
|
-
this.prefix = pre;
|
|
3129
|
-
this.localName = pre;
|
|
3130
|
-
this.namespaceURI = ns;
|
|
3131
|
-
this.nodeValue = ns;
|
|
3132
|
-
this.ownerElement = p;
|
|
3133
|
-
this.nodeType = XPathNamespace.XPATH_NAMESPACE_NODE;
|
|
3134
|
-
}
|
|
3135
|
-
|
|
3136
|
-
XPathNamespace.prototype.toString = function() {
|
|
3137
|
-
return "{ \"" + this.prefix + "\", \"" + this.namespaceURI + "\" }";
|
|
3138
|
-
};
|
|
3139
|
-
|
|
3140
|
-
// Operators /////////////////////////////////////////////////////////////////
|
|
3141
|
-
|
|
3142
|
-
var Operators = new Object();
|
|
3143
|
-
|
|
3144
|
-
Operators.equals = function(l, r) {
|
|
3145
|
-
return l.equals(r);
|
|
3146
|
-
};
|
|
3147
|
-
|
|
3148
|
-
Operators.notequal = function(l, r) {
|
|
3149
|
-
return l.notequal(r);
|
|
3150
|
-
};
|
|
3151
|
-
|
|
3152
|
-
Operators.lessthan = function(l, r) {
|
|
3153
|
-
return l.lessthan(r);
|
|
3154
|
-
};
|
|
3155
|
-
|
|
3156
|
-
Operators.greaterthan = function(l, r) {
|
|
3157
|
-
return l.greaterthan(r);
|
|
3158
|
-
};
|
|
3159
|
-
|
|
3160
|
-
Operators.lessthanorequal = function(l, r) {
|
|
3161
|
-
return l.lessthanorequal(r);
|
|
3162
|
-
};
|
|
3163
|
-
|
|
3164
|
-
Operators.greaterthanorequal = function(l, r) {
|
|
3165
|
-
return l.greaterthanorequal(r);
|
|
3166
|
-
};
|
|
3167
|
-
|
|
3168
|
-
// XPathContext //////////////////////////////////////////////////////////////
|
|
3169
|
-
|
|
3170
|
-
XPathContext.prototype = new Object();
|
|
3171
|
-
XPathContext.prototype.constructor = XPathContext;
|
|
3172
|
-
XPathContext.superclass = Object.prototype;
|
|
3173
|
-
|
|
3174
|
-
function XPathContext(vr, nr, fr) {
|
|
3175
|
-
this.variableResolver = vr != null ? vr : new VariableResolver();
|
|
3176
|
-
this.namespaceResolver = nr != null ? nr : new NamespaceResolver();
|
|
3177
|
-
this.functionResolver = fr != null ? fr : new FunctionResolver();
|
|
3178
|
-
}
|
|
3179
|
-
|
|
3180
|
-
// VariableResolver //////////////////////////////////////////////////////////
|
|
3181
|
-
|
|
3182
|
-
VariableResolver.prototype = new Object();
|
|
3183
|
-
VariableResolver.prototype.constructor = VariableResolver;
|
|
3184
|
-
VariableResolver.superclass = Object.prototype;
|
|
3185
|
-
|
|
3186
|
-
function VariableResolver() {
|
|
3187
|
-
}
|
|
3188
|
-
|
|
3189
|
-
VariableResolver.prototype.getVariable = function(vn, c) {
|
|
3190
|
-
var parts = Utilities.splitQName(vn);
|
|
3191
|
-
if (parts[0] != null) {
|
|
3192
|
-
parts[0] = c.namespaceResolver.getNamespace(parts[0], c.expressionContextNode);
|
|
3193
|
-
if (parts[0] == null) {
|
|
3194
|
-
throw new Error("Cannot resolve QName " + fn);
|
|
3195
|
-
}
|
|
3196
|
-
}
|
|
3197
|
-
return this.getVariableWithName(parts[0], parts[1], c.expressionContextNode);
|
|
3198
|
-
};
|
|
3199
|
-
|
|
3200
|
-
VariableResolver.prototype.getVariableWithName = function(ns, ln, c) {
|
|
3201
|
-
return null;
|
|
3202
|
-
};
|
|
3203
|
-
|
|
3204
|
-
// FunctionResolver //////////////////////////////////////////////////////////
|
|
3205
|
-
|
|
3206
|
-
FunctionResolver.prototype = new Object();
|
|
3207
|
-
FunctionResolver.prototype.constructor = FunctionResolver;
|
|
3208
|
-
FunctionResolver.superclass = Object.prototype;
|
|
3209
|
-
|
|
3210
|
-
function FunctionResolver(thisArg) {
|
|
3211
|
-
this.thisArg = thisArg != null ? thisArg : Functions;
|
|
3212
|
-
this.functions = new Object();
|
|
3213
|
-
this.addStandardFunctions();
|
|
3214
|
-
}
|
|
3215
|
-
|
|
3216
|
-
FunctionResolver.prototype.addStandardFunctions = function() {
|
|
3217
|
-
this.functions["{}last"] = Functions.last;
|
|
3218
|
-
this.functions["{}position"] = Functions.position;
|
|
3219
|
-
this.functions["{}count"] = Functions.count;
|
|
3220
|
-
this.functions["{}id"] = Functions.id;
|
|
3221
|
-
this.functions["{}local-name"] = Functions.localName;
|
|
3222
|
-
this.functions["{}namespace-uri"] = Functions.namespaceURI;
|
|
3223
|
-
this.functions["{}name"] = Functions.name;
|
|
3224
|
-
this.functions["{}string"] = Functions.string;
|
|
3225
|
-
this.functions["{}concat"] = Functions.concat;
|
|
3226
|
-
this.functions["{}starts-with"] = Functions.startsWith;
|
|
3227
|
-
this.functions["{}contains"] = Functions.contains;
|
|
3228
|
-
this.functions["{}substring-before"] = Functions.substringBefore;
|
|
3229
|
-
this.functions["{}substring-after"] = Functions.substringAfter;
|
|
3230
|
-
this.functions["{}substring"] = Functions.substring;
|
|
3231
|
-
this.functions["{}string-length"] = Functions.stringLength;
|
|
3232
|
-
this.functions["{}normalize-space"] = Functions.normalizeSpace;
|
|
3233
|
-
this.functions["{}translate"] = Functions.translate;
|
|
3234
|
-
this.functions["{}boolean"] = Functions.boolean_;
|
|
3235
|
-
this.functions["{}not"] = Functions.not;
|
|
3236
|
-
this.functions["{}true"] = Functions.true_;
|
|
3237
|
-
this.functions["{}false"] = Functions.false_;
|
|
3238
|
-
this.functions["{}lang"] = Functions.lang;
|
|
3239
|
-
this.functions["{}number"] = Functions.number;
|
|
3240
|
-
this.functions["{}sum"] = Functions.sum;
|
|
3241
|
-
this.functions["{}floor"] = Functions.floor;
|
|
3242
|
-
this.functions["{}ceiling"] = Functions.ceiling;
|
|
3243
|
-
this.functions["{}round"] = Functions.round;
|
|
3244
|
-
};
|
|
3245
|
-
|
|
3246
|
-
FunctionResolver.prototype.addFunction = function(ns, ln, f) {
|
|
3247
|
-
this.functions["{" + ns + "}" + ln] = f;
|
|
3248
|
-
};
|
|
3249
|
-
|
|
3250
|
-
FunctionResolver.prototype.getFunction = function(fn, c) {
|
|
3251
|
-
var parts = Utilities.resolveQName(fn, c.namespaceResolver, c.contextNode, false);
|
|
3252
|
-
if (parts[0] == null) {
|
|
3253
|
-
throw new Error("Cannot resolve QName " + fn);
|
|
3254
|
-
}
|
|
3255
|
-
return this.getFunctionWithName(parts[0], parts[1], c.contextNode);
|
|
3256
|
-
};
|
|
3257
|
-
|
|
3258
|
-
FunctionResolver.prototype.getFunctionWithName = function(ns, ln, c) {
|
|
3259
|
-
return this.functions["{" + ns + "}" + ln];
|
|
3260
|
-
};
|
|
3261
|
-
|
|
3262
|
-
// NamespaceResolver /////////////////////////////////////////////////////////
|
|
3263
|
-
|
|
3264
|
-
NamespaceResolver.prototype = new Object();
|
|
3265
|
-
NamespaceResolver.prototype.constructor = NamespaceResolver;
|
|
3266
|
-
NamespaceResolver.superclass = Object.prototype;
|
|
3267
|
-
|
|
3268
|
-
function NamespaceResolver() {
|
|
3269
|
-
}
|
|
3270
|
-
|
|
3271
|
-
NamespaceResolver.prototype.getNamespace = function(prefix, n) {
|
|
3272
|
-
if (prefix == "xml") {
|
|
3273
|
-
return XPath.XML_NAMESPACE_URI;
|
|
3274
|
-
} else if (prefix == "xmlns") {
|
|
3275
|
-
return XPath.XMLNS_NAMESPACE_URI;
|
|
3276
|
-
}
|
|
3277
|
-
if (n.nodeType == 9 /*Node.DOCUMENT_NODE*/) {
|
|
3278
|
-
n = n.documentElement;
|
|
3279
|
-
} else if (n.nodeType == 2 /*Node.ATTRIBUTE_NODE*/) {
|
|
3280
|
-
n = PathExpr.prototype.getOwnerElement(n);
|
|
3281
|
-
} else if (n.nodeType != 1 /*Node.ELEMENT_NODE*/) {
|
|
3282
|
-
n = n.parentNode;
|
|
3283
|
-
}
|
|
3284
|
-
while (n != null && n.nodeType == 1 /*Node.ELEMENT_NODE*/) {
|
|
3285
|
-
var nnm = n.attributes;
|
|
3286
|
-
for (var i = 0; i < nnm.length; i++) {
|
|
3287
|
-
var a = nnm.item(i);
|
|
3288
|
-
var aname = a.nodeName;
|
|
3289
|
-
if (aname == "xmlns" && prefix == ""
|
|
3290
|
-
|| aname == "xmlns:" + prefix) {
|
|
3291
|
-
return String(a.nodeValue);
|
|
3292
|
-
}
|
|
3293
|
-
}
|
|
3294
|
-
n = n.parentNode;
|
|
3295
|
-
}
|
|
3296
|
-
return null;
|
|
3297
|
-
};
|
|
3298
|
-
|
|
3299
|
-
// Functions /////////////////////////////////////////////////////////////////
|
|
3300
|
-
|
|
3301
|
-
var Functions = new Object();
|
|
3302
|
-
|
|
3303
|
-
Functions.last = function() {
|
|
3304
|
-
var c = arguments[0];
|
|
3305
|
-
if (arguments.length != 1) {
|
|
3306
|
-
throw new Error("Function last expects ()");
|
|
3307
|
-
}
|
|
3308
|
-
return new XNumber(c.contextSize);
|
|
3309
|
-
};
|
|
3310
|
-
|
|
3311
|
-
Functions.position = function() {
|
|
3312
|
-
var c = arguments[0];
|
|
3313
|
-
if (arguments.length != 1) {
|
|
3314
|
-
throw new Error("Function position expects ()");
|
|
3315
|
-
}
|
|
3316
|
-
return new XNumber(c.contextPosition);
|
|
3317
|
-
};
|
|
3318
|
-
|
|
3319
|
-
Functions.count = function() {
|
|
3320
|
-
var c = arguments[0];
|
|
3321
|
-
var ns;
|
|
3322
|
-
if (arguments.length != 2 || !Utilities.instance_of(ns = arguments[1].evaluate(c), XNodeSet)) {
|
|
3323
|
-
throw new Error("Function count expects (node-set)");
|
|
3324
|
-
}
|
|
3325
|
-
return new XNumber(ns.size);
|
|
3326
|
-
};
|
|
3327
|
-
|
|
3328
|
-
Functions.id = function() {
|
|
3329
|
-
var c = arguments[0];
|
|
3330
|
-
var id;
|
|
3331
|
-
if (arguments.length != 2) {
|
|
3332
|
-
throw new Error("Function id expects (object)");
|
|
3333
|
-
}
|
|
3334
|
-
id = arguments[1].evaluate(c);
|
|
3335
|
-
if (Utilities.instance_of(id, XNodeSet)) {
|
|
3336
|
-
id = id.toArray().join(" ");
|
|
3337
|
-
} else {
|
|
3338
|
-
id = id.stringValue();
|
|
3339
|
-
}
|
|
3340
|
-
var ids = id.split(/[\x0d\x0a\x09\x20]+/);
|
|
3341
|
-
var count = 0;
|
|
3342
|
-
var ns = new XNodeSet();
|
|
3343
|
-
var doc = c.contextNode.nodeType == 9 /*Node.DOCUMENT_NODE*/
|
|
3344
|
-
? c.contextNode
|
|
3345
|
-
: c.contextNode.ownerDocument;
|
|
3346
|
-
for (var i = 0; i < ids.length; i++) {
|
|
3347
|
-
var n;
|
|
3348
|
-
if (doc.getElementById) {
|
|
3349
|
-
n = doc.getElementById(ids[i]);
|
|
3350
|
-
} else {
|
|
3351
|
-
n = Utilities.getElementById(doc, ids[i]);
|
|
3352
|
-
}
|
|
3353
|
-
if (n != null) {
|
|
3354
|
-
ns.add(n);
|
|
3355
|
-
count++;
|
|
3356
|
-
}
|
|
3357
|
-
}
|
|
3358
|
-
return ns;
|
|
3359
|
-
};
|
|
3360
|
-
|
|
3361
|
-
Functions.localName = function() {
|
|
3362
|
-
var c = arguments[0];
|
|
3363
|
-
var n;
|
|
3364
|
-
if (arguments.length == 1) {
|
|
3365
|
-
n = c.contextNode;
|
|
3366
|
-
} else if (arguments.length == 2) {
|
|
3367
|
-
n = arguments[1].evaluate(c).first();
|
|
3368
|
-
} else {
|
|
3369
|
-
throw new Error("Function local-name expects (node-set?)");
|
|
3370
|
-
}
|
|
3371
|
-
if (n == null) {
|
|
3372
|
-
return new XString("");
|
|
3373
|
-
}
|
|
3374
|
-
return new XString(n.localName ? n.localName : n.baseName);
|
|
3375
|
-
};
|
|
3376
|
-
|
|
3377
|
-
Functions.namespaceURI = function() {
|
|
3378
|
-
var c = arguments[0];
|
|
3379
|
-
var n;
|
|
3380
|
-
if (arguments.length == 1) {
|
|
3381
|
-
n = c.contextNode;
|
|
3382
|
-
} else if (arguments.length == 2) {
|
|
3383
|
-
n = arguments[1].evaluate(c).first();
|
|
3384
|
-
} else {
|
|
3385
|
-
throw new Error("Function namespace-uri expects (node-set?)");
|
|
3386
|
-
}
|
|
3387
|
-
if (n == null) {
|
|
3388
|
-
return new XString("");
|
|
3389
|
-
}
|
|
3390
|
-
return new XString(n.namespaceURI);
|
|
3391
|
-
};
|
|
3392
|
-
|
|
3393
|
-
Functions.name = function() {
|
|
3394
|
-
var c = arguments[0];
|
|
3395
|
-
var n;
|
|
3396
|
-
if (arguments.length == 1) {
|
|
3397
|
-
n = c.contextNode;
|
|
3398
|
-
} else if (arguments.length == 2) {
|
|
3399
|
-
n = arguments[1].evaluate(c).first();
|
|
3400
|
-
} else {
|
|
3401
|
-
throw new Error("Function name expects (node-set?)");
|
|
3402
|
-
}
|
|
3403
|
-
if (n == null) {
|
|
3404
|
-
return new XString("");
|
|
3405
|
-
}
|
|
3406
|
-
if (n.nodeType == 1 /*Node.ELEMENT_NODE*/ || n.nodeType == 2 /*Node.ATTRIBUTE_NODE*/) {
|
|
3407
|
-
return new XString(n.nodeName);
|
|
3408
|
-
} else if (n.localName == null) {
|
|
3409
|
-
return new XString("");
|
|
3410
|
-
} else {
|
|
3411
|
-
return new XString(n.localName);
|
|
3412
|
-
}
|
|
3413
|
-
};
|
|
3414
|
-
|
|
3415
|
-
Functions.string = function() {
|
|
3416
|
-
var c = arguments[0];
|
|
3417
|
-
if (arguments.length == 1) {
|
|
3418
|
-
return XNodeSet.prototype.stringForNode(c.contextNode);
|
|
3419
|
-
} else if (arguments.length == 2) {
|
|
3420
|
-
return arguments[1].evaluate(c).string();
|
|
3421
|
-
}
|
|
3422
|
-
throw new Error("Function string expects (object?)");
|
|
3423
|
-
};
|
|
3424
|
-
|
|
3425
|
-
Functions.concat = function() {
|
|
3426
|
-
var c = arguments[0];
|
|
3427
|
-
if (arguments.length < 3) {
|
|
3428
|
-
throw new Error("Function concat expects (string, string, string*)");
|
|
3429
|
-
}
|
|
3430
|
-
var s = "";
|
|
3431
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
3432
|
-
s += arguments[i].evaluate(c).stringValue();
|
|
3433
|
-
}
|
|
3434
|
-
return new XString(s);
|
|
3435
|
-
};
|
|
3436
|
-
|
|
3437
|
-
Functions.startsWith = function() {
|
|
3438
|
-
var c = arguments[0];
|
|
3439
|
-
if (arguments.length != 3) {
|
|
3440
|
-
throw new Error("Function startsWith expects (string, string)");
|
|
3441
|
-
}
|
|
3442
|
-
var s1 = arguments[1].evaluate(c).stringValue();
|
|
3443
|
-
var s2 = arguments[2].evaluate(c).stringValue();
|
|
3444
|
-
return new XBoolean(s1.substring(0, s2.length) == s2);
|
|
3445
|
-
};
|
|
3446
|
-
|
|
3447
|
-
Functions.contains = function() {
|
|
3448
|
-
var c = arguments[0];
|
|
3449
|
-
if (arguments.length != 3) {
|
|
3450
|
-
throw new Error("Function contains expects (string, string)");
|
|
3451
|
-
}
|
|
3452
|
-
var s1 = arguments[1].evaluate(c).stringValue();
|
|
3453
|
-
var s2 = arguments[2].evaluate(c).stringValue();
|
|
3454
|
-
return new XBoolean(s1.indexOf(s2) != -1);
|
|
3455
|
-
};
|
|
3456
|
-
|
|
3457
|
-
Functions.substringBefore = function() {
|
|
3458
|
-
var c = arguments[0];
|
|
3459
|
-
if (arguments.length != 3) {
|
|
3460
|
-
throw new Error("Function substring-before expects (string, string)");
|
|
3461
|
-
}
|
|
3462
|
-
var s1 = arguments[1].evaluate(c).stringValue();
|
|
3463
|
-
var s2 = arguments[2].evaluate(c).stringValue();
|
|
3464
|
-
return new XString(s1.substring(0, s1.indexOf(s2)));
|
|
3465
|
-
};
|
|
3466
|
-
|
|
3467
|
-
Functions.substringAfter = function() {
|
|
3468
|
-
var c = arguments[0];
|
|
3469
|
-
if (arguments.length != 3) {
|
|
3470
|
-
throw new Error("Function substring-after expects (string, string)");
|
|
3471
|
-
}
|
|
3472
|
-
var s1 = arguments[1].evaluate(c).stringValue();
|
|
3473
|
-
var s2 = arguments[2].evaluate(c).stringValue();
|
|
3474
|
-
if (s2.length == 0) {
|
|
3475
|
-
return new XString(s1);
|
|
3476
|
-
}
|
|
3477
|
-
var i = s1.indexOf(s2);
|
|
3478
|
-
if (i == -1) {
|
|
3479
|
-
return new XString("");
|
|
3480
|
-
}
|
|
3481
|
-
return new XString(s1.substring(s1.indexOf(s2) + 1));
|
|
3482
|
-
};
|
|
3483
|
-
|
|
3484
|
-
Functions.substring = function() {
|
|
3485
|
-
var c = arguments[0];
|
|
3486
|
-
if (!(arguments.length == 3 || arguments.length == 4)) {
|
|
3487
|
-
throw new Error("Function substring expects (string, number, number?)");
|
|
3488
|
-
}
|
|
3489
|
-
var s = arguments[1].evaluate(c).stringValue();
|
|
3490
|
-
var n1 = Math.round(arguments[2].evaluate(c).numberValue()) - 1;
|
|
3491
|
-
var n2 = arguments.length == 4 ? n1 + Math.round(arguments[3].evaluate(c).numberValue()) : undefined;
|
|
3492
|
-
return new XString(s.substring(n1, n2));
|
|
3493
|
-
};
|
|
3494
|
-
|
|
3495
|
-
Functions.stringLength = function() {
|
|
3496
|
-
var c = arguments[0];
|
|
3497
|
-
var s;
|
|
3498
|
-
if (arguments.length == 1) {
|
|
3499
|
-
s = XNodeSet.prototype.stringForNode(c.contextNode);
|
|
3500
|
-
} else if (arguments.length == 2) {
|
|
3501
|
-
s = arguments[1].evaluate(c).stringValue();
|
|
3502
|
-
} else {
|
|
3503
|
-
throw new Error("Function string-length expects (string?)");
|
|
3504
|
-
}
|
|
3505
|
-
return new XNumber(s.length);
|
|
3506
|
-
};
|
|
3507
|
-
|
|
3508
|
-
Functions.normalizeSpace = function() {
|
|
3509
|
-
var c = arguments[0];
|
|
3510
|
-
var s;
|
|
3511
|
-
if (arguments.length == 1) {
|
|
3512
|
-
s = XNodeSet.prototype.stringForNode(c.contextNode);
|
|
3513
|
-
} else if (arguments.length == 2) {
|
|
3514
|
-
s = arguments[1].evaluate(c).stringValue();
|
|
3515
|
-
} else {
|
|
3516
|
-
throw new Error("Function normalize-space expects (string?)");
|
|
3517
|
-
}
|
|
3518
|
-
var i = 0;
|
|
3519
|
-
var j = s.length - 1;
|
|
3520
|
-
while (Utilities.isSpace(s.charCodeAt(j))) {
|
|
3521
|
-
j--;
|
|
3522
|
-
}
|
|
3523
|
-
var t = "";
|
|
3524
|
-
while (i <= j && Utilities.isSpace(s.charCodeAt(i))) {
|
|
3525
|
-
i++;
|
|
3526
|
-
}
|
|
3527
|
-
while (i <= j) {
|
|
3528
|
-
if (Utilities.isSpace(s.charCodeAt(i))) {
|
|
3529
|
-
t += " ";
|
|
3530
|
-
while (i <= j && Utilities.isSpace(s.charCodeAt(i))) {
|
|
3531
|
-
i++;
|
|
3532
|
-
}
|
|
3533
|
-
} else {
|
|
3534
|
-
t += s.charAt(i);
|
|
3535
|
-
i++;
|
|
3536
|
-
}
|
|
3537
|
-
}
|
|
3538
|
-
return new XString(t);
|
|
3539
|
-
};
|
|
3540
|
-
|
|
3541
|
-
Functions.translate = function() {
|
|
3542
|
-
var c = arguments[0];
|
|
3543
|
-
if (arguments.length != 4) {
|
|
3544
|
-
throw new Error("Function translate expects (string, string, string)");
|
|
3545
|
-
}
|
|
3546
|
-
var s1 = arguments[1].evaluate(c).stringValue();
|
|
3547
|
-
var s2 = arguments[2].evaluate(c).stringValue();
|
|
3548
|
-
var s3 = arguments[3].evaluate(c).stringValue();
|
|
3549
|
-
var map = [];
|
|
3550
|
-
for (var i = 0; i < s2.length; i++) {
|
|
3551
|
-
var j = s2.charCodeAt(i);
|
|
3552
|
-
if (map[j] == undefined) {
|
|
3553
|
-
var k = i > s3.length ? "" : s3.charAt(i);
|
|
3554
|
-
map[j] = k;
|
|
3555
|
-
}
|
|
3556
|
-
}
|
|
3557
|
-
var t = "";
|
|
3558
|
-
for (var i = 0; i < s1.length; i++) {
|
|
3559
|
-
var c = s1.charCodeAt(i);
|
|
3560
|
-
var r = map[c];
|
|
3561
|
-
if (r == undefined) {
|
|
3562
|
-
t += s1.charAt(i);
|
|
3563
|
-
} else {
|
|
3564
|
-
t += r;
|
|
3565
|
-
}
|
|
3566
|
-
}
|
|
3567
|
-
return new XString(t);
|
|
3568
|
-
};
|
|
3569
|
-
|
|
3570
|
-
Functions.boolean_ = function() {
|
|
3571
|
-
var c = arguments[0];
|
|
3572
|
-
if (arguments.length != 2) {
|
|
3573
|
-
throw new Error("Function boolean expects (object)");
|
|
3574
|
-
}
|
|
3575
|
-
return arguments[1].evaluate(c).bool();
|
|
3576
|
-
};
|
|
3577
|
-
|
|
3578
|
-
Functions.not = function() {
|
|
3579
|
-
var c = arguments[0];
|
|
3580
|
-
if (arguments.length != 2) {
|
|
3581
|
-
throw new Error("Function not expects (object)");
|
|
3582
|
-
}
|
|
3583
|
-
return arguments[1].evaluate(c).bool().not();
|
|
3584
|
-
};
|
|
3585
|
-
|
|
3586
|
-
Functions.true_ = function() {
|
|
3587
|
-
if (arguments.length != 1) {
|
|
3588
|
-
throw new Error("Function true expects ()");
|
|
3589
|
-
}
|
|
3590
|
-
return new XBoolean(true);
|
|
3591
|
-
};
|
|
3592
|
-
|
|
3593
|
-
Functions.false_ = function() {
|
|
3594
|
-
if (arguments.length != 1) {
|
|
3595
|
-
throw new Error("Function false expects ()");
|
|
3596
|
-
}
|
|
3597
|
-
return new XBoolean(false);
|
|
3598
|
-
};
|
|
3599
|
-
|
|
3600
|
-
Functions.lang = function() {
|
|
3601
|
-
var c = arguments[0];
|
|
3602
|
-
if (arguments.length != 2) {
|
|
3603
|
-
throw new Error("Function lang expects (string)");
|
|
3604
|
-
}
|
|
3605
|
-
var lang;
|
|
3606
|
-
for (var n = c.contextNode; n != null && n.nodeType != 9 /*Node.DOCUMENT_NODE*/; n = n.parentNode) {
|
|
3607
|
-
var a = n.getAttributeNS(XPath.XML_NAMESPACE_URI, "lang");
|
|
3608
|
-
if (a != null) {
|
|
3609
|
-
lang = String(a);
|
|
3610
|
-
break;
|
|
3611
|
-
}
|
|
3612
|
-
}
|
|
3613
|
-
if (lang == null) {
|
|
3614
|
-
return new XBoolean(false);
|
|
3615
|
-
}
|
|
3616
|
-
var s = arguments[1].evaluate(c).stringValue();
|
|
3617
|
-
return new XBoolean(lang.substring(0, s.length) == s
|
|
3618
|
-
&& (lang.length == s.length || lang.charAt(s.length) == '-'));
|
|
3619
|
-
};
|
|
3620
|
-
|
|
3621
|
-
Functions.number = function() {
|
|
3622
|
-
var c = arguments[0];
|
|
3623
|
-
if (!(arguments.length == 1 || arguments.length == 2)) {
|
|
3624
|
-
throw new Error("Function number expects (object?)");
|
|
3625
|
-
}
|
|
3626
|
-
if (arguments.length == 1) {
|
|
3627
|
-
return new XNumber(XNodeSet.prototype.stringForNode(c.contextNode));
|
|
3628
|
-
}
|
|
3629
|
-
return arguments[1].evaluate(c).number();
|
|
3630
|
-
};
|
|
3631
|
-
|
|
3632
|
-
Functions.sum = function() {
|
|
3633
|
-
var c = arguments[0];
|
|
3634
|
-
var ns;
|
|
3635
|
-
if (arguments.length != 2 || !Utilities.instance_of((ns = arguments[1].evaluate(c)), XNodeSet)) {
|
|
3636
|
-
throw new Error("Function sum expects (node-set)");
|
|
3637
|
-
}
|
|
3638
|
-
ns = ns.toArray();
|
|
3639
|
-
var n = 0;
|
|
3640
|
-
for (var i = 0; i < ns.length; i++) {
|
|
3641
|
-
n += new XNumber(XNodeSet.prototype.stringForNode(ns[i])).numberValue();
|
|
3642
|
-
}
|
|
3643
|
-
return new XNumber(n);
|
|
3644
|
-
};
|
|
3645
|
-
|
|
3646
|
-
Functions.floor = function() {
|
|
3647
|
-
var c = arguments[0];
|
|
3648
|
-
if (arguments.length != 2) {
|
|
3649
|
-
throw new Error("Function floor expects (number)");
|
|
3650
|
-
}
|
|
3651
|
-
return new XNumber(Math.floor(arguments[1].evaluate(c).numberValue()));
|
|
3652
|
-
};
|
|
3653
|
-
|
|
3654
|
-
Functions.ceiling = function() {
|
|
3655
|
-
var c = arguments[0];
|
|
3656
|
-
if (arguments.length != 2) {
|
|
3657
|
-
throw new Error("Function ceiling expects (number)");
|
|
3658
|
-
}
|
|
3659
|
-
return new XNumber(Math.ceil(arguments[1].evaluate(c).numberValue()));
|
|
3660
|
-
};
|
|
3661
|
-
|
|
3662
|
-
Functions.round = function() {
|
|
3663
|
-
var c = arguments[0];
|
|
3664
|
-
if (arguments.length != 2) {
|
|
3665
|
-
throw new Error("Function round expects (number)");
|
|
3666
|
-
}
|
|
3667
|
-
return new XNumber(Math.round(arguments[1].evaluate(c).numberValue()));
|
|
3668
|
-
};
|
|
3669
|
-
|
|
3670
|
-
// Utilities /////////////////////////////////////////////////////////////////
|
|
3671
|
-
|
|
3672
|
-
var Utilities = new Object();
|
|
3673
|
-
|
|
3674
|
-
Utilities.splitQName = function(qn) {
|
|
3675
|
-
var i = qn.indexOf(":");
|
|
3676
|
-
if (i == -1) {
|
|
3677
|
-
return [ null, qn ];
|
|
3678
|
-
}
|
|
3679
|
-
return [ qn.substring(0, i), qn.substring(i + 1) ];
|
|
3680
|
-
};
|
|
3681
|
-
|
|
3682
|
-
Utilities.resolveQName = function(qn, nr, n, useDefault) {
|
|
3683
|
-
var parts = Utilities.splitQName(qn);
|
|
3684
|
-
if (parts[0] != null) {
|
|
3685
|
-
parts[0] = nr.getNamespace(parts[0], n);
|
|
3686
|
-
} else {
|
|
3687
|
-
if (useDefault) {
|
|
3688
|
-
parts[0] = nr.getNamespace("", n);
|
|
3689
|
-
if (parts[0] == null) {
|
|
3690
|
-
parts[0] = "";
|
|
3691
|
-
}
|
|
3692
|
-
} else {
|
|
3693
|
-
parts[0] = "";
|
|
3694
|
-
}
|
|
3695
|
-
}
|
|
3696
|
-
return parts;
|
|
3697
|
-
};
|
|
3698
|
-
|
|
3699
|
-
Utilities.isSpace = function(c) {
|
|
3700
|
-
return c == 0x9 || c == 0xd || c == 0xa || c == 0x20;
|
|
3701
|
-
};
|
|
3702
|
-
|
|
3703
|
-
Utilities.isLetter = function(c) {
|
|
3704
|
-
return c >= 0x0041 && c <= 0x005A ||
|
|
3705
|
-
c >= 0x0061 && c <= 0x007A ||
|
|
3706
|
-
c >= 0x00C0 && c <= 0x00D6 ||
|
|
3707
|
-
c >= 0x00D8 && c <= 0x00F6 ||
|
|
3708
|
-
c >= 0x00F8 && c <= 0x00FF ||
|
|
3709
|
-
c >= 0x0100 && c <= 0x0131 ||
|
|
3710
|
-
c >= 0x0134 && c <= 0x013E ||
|
|
3711
|
-
c >= 0x0141 && c <= 0x0148 ||
|
|
3712
|
-
c >= 0x014A && c <= 0x017E ||
|
|
3713
|
-
c >= 0x0180 && c <= 0x01C3 ||
|
|
3714
|
-
c >= 0x01CD && c <= 0x01F0 ||
|
|
3715
|
-
c >= 0x01F4 && c <= 0x01F5 ||
|
|
3716
|
-
c >= 0x01FA && c <= 0x0217 ||
|
|
3717
|
-
c >= 0x0250 && c <= 0x02A8 ||
|
|
3718
|
-
c >= 0x02BB && c <= 0x02C1 ||
|
|
3719
|
-
c == 0x0386 ||
|
|
3720
|
-
c >= 0x0388 && c <= 0x038A ||
|
|
3721
|
-
c == 0x038C ||
|
|
3722
|
-
c >= 0x038E && c <= 0x03A1 ||
|
|
3723
|
-
c >= 0x03A3 && c <= 0x03CE ||
|
|
3724
|
-
c >= 0x03D0 && c <= 0x03D6 ||
|
|
3725
|
-
c == 0x03DA ||
|
|
3726
|
-
c == 0x03DC ||
|
|
3727
|
-
c == 0x03DE ||
|
|
3728
|
-
c == 0x03E0 ||
|
|
3729
|
-
c >= 0x03E2 && c <= 0x03F3 ||
|
|
3730
|
-
c >= 0x0401 && c <= 0x040C ||
|
|
3731
|
-
c >= 0x040E && c <= 0x044F ||
|
|
3732
|
-
c >= 0x0451 && c <= 0x045C ||
|
|
3733
|
-
c >= 0x045E && c <= 0x0481 ||
|
|
3734
|
-
c >= 0x0490 && c <= 0x04C4 ||
|
|
3735
|
-
c >= 0x04C7 && c <= 0x04C8 ||
|
|
3736
|
-
c >= 0x04CB && c <= 0x04CC ||
|
|
3737
|
-
c >= 0x04D0 && c <= 0x04EB ||
|
|
3738
|
-
c >= 0x04EE && c <= 0x04F5 ||
|
|
3739
|
-
c >= 0x04F8 && c <= 0x04F9 ||
|
|
3740
|
-
c >= 0x0531 && c <= 0x0556 ||
|
|
3741
|
-
c == 0x0559 ||
|
|
3742
|
-
c >= 0x0561 && c <= 0x0586 ||
|
|
3743
|
-
c >= 0x05D0 && c <= 0x05EA ||
|
|
3744
|
-
c >= 0x05F0 && c <= 0x05F2 ||
|
|
3745
|
-
c >= 0x0621 && c <= 0x063A ||
|
|
3746
|
-
c >= 0x0641 && c <= 0x064A ||
|
|
3747
|
-
c >= 0x0671 && c <= 0x06B7 ||
|
|
3748
|
-
c >= 0x06BA && c <= 0x06BE ||
|
|
3749
|
-
c >= 0x06C0 && c <= 0x06CE ||
|
|
3750
|
-
c >= 0x06D0 && c <= 0x06D3 ||
|
|
3751
|
-
c == 0x06D5 ||
|
|
3752
|
-
c >= 0x06E5 && c <= 0x06E6 ||
|
|
3753
|
-
c >= 0x0905 && c <= 0x0939 ||
|
|
3754
|
-
c == 0x093D ||
|
|
3755
|
-
c >= 0x0958 && c <= 0x0961 ||
|
|
3756
|
-
c >= 0x0985 && c <= 0x098C ||
|
|
3757
|
-
c >= 0x098F && c <= 0x0990 ||
|
|
3758
|
-
c >= 0x0993 && c <= 0x09A8 ||
|
|
3759
|
-
c >= 0x09AA && c <= 0x09B0 ||
|
|
3760
|
-
c == 0x09B2 ||
|
|
3761
|
-
c >= 0x09B6 && c <= 0x09B9 ||
|
|
3762
|
-
c >= 0x09DC && c <= 0x09DD ||
|
|
3763
|
-
c >= 0x09DF && c <= 0x09E1 ||
|
|
3764
|
-
c >= 0x09F0 && c <= 0x09F1 ||
|
|
3765
|
-
c >= 0x0A05 && c <= 0x0A0A ||
|
|
3766
|
-
c >= 0x0A0F && c <= 0x0A10 ||
|
|
3767
|
-
c >= 0x0A13 && c <= 0x0A28 ||
|
|
3768
|
-
c >= 0x0A2A && c <= 0x0A30 ||
|
|
3769
|
-
c >= 0x0A32 && c <= 0x0A33 ||
|
|
3770
|
-
c >= 0x0A35 && c <= 0x0A36 ||
|
|
3771
|
-
c >= 0x0A38 && c <= 0x0A39 ||
|
|
3772
|
-
c >= 0x0A59 && c <= 0x0A5C ||
|
|
3773
|
-
c == 0x0A5E ||
|
|
3774
|
-
c >= 0x0A72 && c <= 0x0A74 ||
|
|
3775
|
-
c >= 0x0A85 && c <= 0x0A8B ||
|
|
3776
|
-
c == 0x0A8D ||
|
|
3777
|
-
c >= 0x0A8F && c <= 0x0A91 ||
|
|
3778
|
-
c >= 0x0A93 && c <= 0x0AA8 ||
|
|
3779
|
-
c >= 0x0AAA && c <= 0x0AB0 ||
|
|
3780
|
-
c >= 0x0AB2 && c <= 0x0AB3 ||
|
|
3781
|
-
c >= 0x0AB5 && c <= 0x0AB9 ||
|
|
3782
|
-
c == 0x0ABD ||
|
|
3783
|
-
c == 0x0AE0 ||
|
|
3784
|
-
c >= 0x0B05 && c <= 0x0B0C ||
|
|
3785
|
-
c >= 0x0B0F && c <= 0x0B10 ||
|
|
3786
|
-
c >= 0x0B13 && c <= 0x0B28 ||
|
|
3787
|
-
c >= 0x0B2A && c <= 0x0B30 ||
|
|
3788
|
-
c >= 0x0B32 && c <= 0x0B33 ||
|
|
3789
|
-
c >= 0x0B36 && c <= 0x0B39 ||
|
|
3790
|
-
c == 0x0B3D ||
|
|
3791
|
-
c >= 0x0B5C && c <= 0x0B5D ||
|
|
3792
|
-
c >= 0x0B5F && c <= 0x0B61 ||
|
|
3793
|
-
c >= 0x0B85 && c <= 0x0B8A ||
|
|
3794
|
-
c >= 0x0B8E && c <= 0x0B90 ||
|
|
3795
|
-
c >= 0x0B92 && c <= 0x0B95 ||
|
|
3796
|
-
c >= 0x0B99 && c <= 0x0B9A ||
|
|
3797
|
-
c == 0x0B9C ||
|
|
3798
|
-
c >= 0x0B9E && c <= 0x0B9F ||
|
|
3799
|
-
c >= 0x0BA3 && c <= 0x0BA4 ||
|
|
3800
|
-
c >= 0x0BA8 && c <= 0x0BAA ||
|
|
3801
|
-
c >= 0x0BAE && c <= 0x0BB5 ||
|
|
3802
|
-
c >= 0x0BB7 && c <= 0x0BB9 ||
|
|
3803
|
-
c >= 0x0C05 && c <= 0x0C0C ||
|
|
3804
|
-
c >= 0x0C0E && c <= 0x0C10 ||
|
|
3805
|
-
c >= 0x0C12 && c <= 0x0C28 ||
|
|
3806
|
-
c >= 0x0C2A && c <= 0x0C33 ||
|
|
3807
|
-
c >= 0x0C35 && c <= 0x0C39 ||
|
|
3808
|
-
c >= 0x0C60 && c <= 0x0C61 ||
|
|
3809
|
-
c >= 0x0C85 && c <= 0x0C8C ||
|
|
3810
|
-
c >= 0x0C8E && c <= 0x0C90 ||
|
|
3811
|
-
c >= 0x0C92 && c <= 0x0CA8 ||
|
|
3812
|
-
c >= 0x0CAA && c <= 0x0CB3 ||
|
|
3813
|
-
c >= 0x0CB5 && c <= 0x0CB9 ||
|
|
3814
|
-
c == 0x0CDE ||
|
|
3815
|
-
c >= 0x0CE0 && c <= 0x0CE1 ||
|
|
3816
|
-
c >= 0x0D05 && c <= 0x0D0C ||
|
|
3817
|
-
c >= 0x0D0E && c <= 0x0D10 ||
|
|
3818
|
-
c >= 0x0D12 && c <= 0x0D28 ||
|
|
3819
|
-
c >= 0x0D2A && c <= 0x0D39 ||
|
|
3820
|
-
c >= 0x0D60 && c <= 0x0D61 ||
|
|
3821
|
-
c >= 0x0E01 && c <= 0x0E2E ||
|
|
3822
|
-
c == 0x0E30 ||
|
|
3823
|
-
c >= 0x0E32 && c <= 0x0E33 ||
|
|
3824
|
-
c >= 0x0E40 && c <= 0x0E45 ||
|
|
3825
|
-
c >= 0x0E81 && c <= 0x0E82 ||
|
|
3826
|
-
c == 0x0E84 ||
|
|
3827
|
-
c >= 0x0E87 && c <= 0x0E88 ||
|
|
3828
|
-
c == 0x0E8A ||
|
|
3829
|
-
c == 0x0E8D ||
|
|
3830
|
-
c >= 0x0E94 && c <= 0x0E97 ||
|
|
3831
|
-
c >= 0x0E99 && c <= 0x0E9F ||
|
|
3832
|
-
c >= 0x0EA1 && c <= 0x0EA3 ||
|
|
3833
|
-
c == 0x0EA5 ||
|
|
3834
|
-
c == 0x0EA7 ||
|
|
3835
|
-
c >= 0x0EAA && c <= 0x0EAB ||
|
|
3836
|
-
c >= 0x0EAD && c <= 0x0EAE ||
|
|
3837
|
-
c == 0x0EB0 ||
|
|
3838
|
-
c >= 0x0EB2 && c <= 0x0EB3 ||
|
|
3839
|
-
c == 0x0EBD ||
|
|
3840
|
-
c >= 0x0EC0 && c <= 0x0EC4 ||
|
|
3841
|
-
c >= 0x0F40 && c <= 0x0F47 ||
|
|
3842
|
-
c >= 0x0F49 && c <= 0x0F69 ||
|
|
3843
|
-
c >= 0x10A0 && c <= 0x10C5 ||
|
|
3844
|
-
c >= 0x10D0 && c <= 0x10F6 ||
|
|
3845
|
-
c == 0x1100 ||
|
|
3846
|
-
c >= 0x1102 && c <= 0x1103 ||
|
|
3847
|
-
c >= 0x1105 && c <= 0x1107 ||
|
|
3848
|
-
c == 0x1109 ||
|
|
3849
|
-
c >= 0x110B && c <= 0x110C ||
|
|
3850
|
-
c >= 0x110E && c <= 0x1112 ||
|
|
3851
|
-
c == 0x113C ||
|
|
3852
|
-
c == 0x113E ||
|
|
3853
|
-
c == 0x1140 ||
|
|
3854
|
-
c == 0x114C ||
|
|
3855
|
-
c == 0x114E ||
|
|
3856
|
-
c == 0x1150 ||
|
|
3857
|
-
c >= 0x1154 && c <= 0x1155 ||
|
|
3858
|
-
c == 0x1159 ||
|
|
3859
|
-
c >= 0x115F && c <= 0x1161 ||
|
|
3860
|
-
c == 0x1163 ||
|
|
3861
|
-
c == 0x1165 ||
|
|
3862
|
-
c == 0x1167 ||
|
|
3863
|
-
c == 0x1169 ||
|
|
3864
|
-
c >= 0x116D && c <= 0x116E ||
|
|
3865
|
-
c >= 0x1172 && c <= 0x1173 ||
|
|
3866
|
-
c == 0x1175 ||
|
|
3867
|
-
c == 0x119E ||
|
|
3868
|
-
c == 0x11A8 ||
|
|
3869
|
-
c == 0x11AB ||
|
|
3870
|
-
c >= 0x11AE && c <= 0x11AF ||
|
|
3871
|
-
c >= 0x11B7 && c <= 0x11B8 ||
|
|
3872
|
-
c == 0x11BA ||
|
|
3873
|
-
c >= 0x11BC && c <= 0x11C2 ||
|
|
3874
|
-
c == 0x11EB ||
|
|
3875
|
-
c == 0x11F0 ||
|
|
3876
|
-
c == 0x11F9 ||
|
|
3877
|
-
c >= 0x1E00 && c <= 0x1E9B ||
|
|
3878
|
-
c >= 0x1EA0 && c <= 0x1EF9 ||
|
|
3879
|
-
c >= 0x1F00 && c <= 0x1F15 ||
|
|
3880
|
-
c >= 0x1F18 && c <= 0x1F1D ||
|
|
3881
|
-
c >= 0x1F20 && c <= 0x1F45 ||
|
|
3882
|
-
c >= 0x1F48 && c <= 0x1F4D ||
|
|
3883
|
-
c >= 0x1F50 && c <= 0x1F57 ||
|
|
3884
|
-
c == 0x1F59 ||
|
|
3885
|
-
c == 0x1F5B ||
|
|
3886
|
-
c == 0x1F5D ||
|
|
3887
|
-
c >= 0x1F5F && c <= 0x1F7D ||
|
|
3888
|
-
c >= 0x1F80 && c <= 0x1FB4 ||
|
|
3889
|
-
c >= 0x1FB6 && c <= 0x1FBC ||
|
|
3890
|
-
c == 0x1FBE ||
|
|
3891
|
-
c >= 0x1FC2 && c <= 0x1FC4 ||
|
|
3892
|
-
c >= 0x1FC6 && c <= 0x1FCC ||
|
|
3893
|
-
c >= 0x1FD0 && c <= 0x1FD3 ||
|
|
3894
|
-
c >= 0x1FD6 && c <= 0x1FDB ||
|
|
3895
|
-
c >= 0x1FE0 && c <= 0x1FEC ||
|
|
3896
|
-
c >= 0x1FF2 && c <= 0x1FF4 ||
|
|
3897
|
-
c >= 0x1FF6 && c <= 0x1FFC ||
|
|
3898
|
-
c == 0x2126 ||
|
|
3899
|
-
c >= 0x212A && c <= 0x212B ||
|
|
3900
|
-
c == 0x212E ||
|
|
3901
|
-
c >= 0x2180 && c <= 0x2182 ||
|
|
3902
|
-
c >= 0x3041 && c <= 0x3094 ||
|
|
3903
|
-
c >= 0x30A1 && c <= 0x30FA ||
|
|
3904
|
-
c >= 0x3105 && c <= 0x312C ||
|
|
3905
|
-
c >= 0xAC00 && c <= 0xD7A3 ||
|
|
3906
|
-
c >= 0x4E00 && c <= 0x9FA5 ||
|
|
3907
|
-
c == 0x3007 ||
|
|
3908
|
-
c >= 0x3021 && c <= 0x3029;
|
|
3909
|
-
};
|
|
3910
|
-
|
|
3911
|
-
Utilities.isNCNameChar = function(c) {
|
|
3912
|
-
return c >= 0x0030 && c <= 0x0039
|
|
3913
|
-
|| c >= 0x0660 && c <= 0x0669
|
|
3914
|
-
|| c >= 0x06F0 && c <= 0x06F9
|
|
3915
|
-
|| c >= 0x0966 && c <= 0x096F
|
|
3916
|
-
|| c >= 0x09E6 && c <= 0x09EF
|
|
3917
|
-
|| c >= 0x0A66 && c <= 0x0A6F
|
|
3918
|
-
|| c >= 0x0AE6 && c <= 0x0AEF
|
|
3919
|
-
|| c >= 0x0B66 && c <= 0x0B6F
|
|
3920
|
-
|| c >= 0x0BE7 && c <= 0x0BEF
|
|
3921
|
-
|| c >= 0x0C66 && c <= 0x0C6F
|
|
3922
|
-
|| c >= 0x0CE6 && c <= 0x0CEF
|
|
3923
|
-
|| c >= 0x0D66 && c <= 0x0D6F
|
|
3924
|
-
|| c >= 0x0E50 && c <= 0x0E59
|
|
3925
|
-
|| c >= 0x0ED0 && c <= 0x0ED9
|
|
3926
|
-
|| c >= 0x0F20 && c <= 0x0F29
|
|
3927
|
-
|| c == 0x002E
|
|
3928
|
-
|| c == 0x002D
|
|
3929
|
-
|| c == 0x005F
|
|
3930
|
-
|| Utilities.isLetter(c)
|
|
3931
|
-
|| c >= 0x0300 && c <= 0x0345
|
|
3932
|
-
|| c >= 0x0360 && c <= 0x0361
|
|
3933
|
-
|| c >= 0x0483 && c <= 0x0486
|
|
3934
|
-
|| c >= 0x0591 && c <= 0x05A1
|
|
3935
|
-
|| c >= 0x05A3 && c <= 0x05B9
|
|
3936
|
-
|| c >= 0x05BB && c <= 0x05BD
|
|
3937
|
-
|| c == 0x05BF
|
|
3938
|
-
|| c >= 0x05C1 && c <= 0x05C2
|
|
3939
|
-
|| c == 0x05C4
|
|
3940
|
-
|| c >= 0x064B && c <= 0x0652
|
|
3941
|
-
|| c == 0x0670
|
|
3942
|
-
|| c >= 0x06D6 && c <= 0x06DC
|
|
3943
|
-
|| c >= 0x06DD && c <= 0x06DF
|
|
3944
|
-
|| c >= 0x06E0 && c <= 0x06E4
|
|
3945
|
-
|| c >= 0x06E7 && c <= 0x06E8
|
|
3946
|
-
|| c >= 0x06EA && c <= 0x06ED
|
|
3947
|
-
|| c >= 0x0901 && c <= 0x0903
|
|
3948
|
-
|| c == 0x093C
|
|
3949
|
-
|| c >= 0x093E && c <= 0x094C
|
|
3950
|
-
|| c == 0x094D
|
|
3951
|
-
|| c >= 0x0951 && c <= 0x0954
|
|
3952
|
-
|| c >= 0x0962 && c <= 0x0963
|
|
3953
|
-
|| c >= 0x0981 && c <= 0x0983
|
|
3954
|
-
|| c == 0x09BC
|
|
3955
|
-
|| c == 0x09BE
|
|
3956
|
-
|| c == 0x09BF
|
|
3957
|
-
|| c >= 0x09C0 && c <= 0x09C4
|
|
3958
|
-
|| c >= 0x09C7 && c <= 0x09C8
|
|
3959
|
-
|| c >= 0x09CB && c <= 0x09CD
|
|
3960
|
-
|| c == 0x09D7
|
|
3961
|
-
|| c >= 0x09E2 && c <= 0x09E3
|
|
3962
|
-
|| c == 0x0A02
|
|
3963
|
-
|| c == 0x0A3C
|
|
3964
|
-
|| c == 0x0A3E
|
|
3965
|
-
|| c == 0x0A3F
|
|
3966
|
-
|| c >= 0x0A40 && c <= 0x0A42
|
|
3967
|
-
|| c >= 0x0A47 && c <= 0x0A48
|
|
3968
|
-
|| c >= 0x0A4B && c <= 0x0A4D
|
|
3969
|
-
|| c >= 0x0A70 && c <= 0x0A71
|
|
3970
|
-
|| c >= 0x0A81 && c <= 0x0A83
|
|
3971
|
-
|| c == 0x0ABC
|
|
3972
|
-
|| c >= 0x0ABE && c <= 0x0AC5
|
|
3973
|
-
|| c >= 0x0AC7 && c <= 0x0AC9
|
|
3974
|
-
|| c >= 0x0ACB && c <= 0x0ACD
|
|
3975
|
-
|| c >= 0x0B01 && c <= 0x0B03
|
|
3976
|
-
|| c == 0x0B3C
|
|
3977
|
-
|| c >= 0x0B3E && c <= 0x0B43
|
|
3978
|
-
|| c >= 0x0B47 && c <= 0x0B48
|
|
3979
|
-
|| c >= 0x0B4B && c <= 0x0B4D
|
|
3980
|
-
|| c >= 0x0B56 && c <= 0x0B57
|
|
3981
|
-
|| c >= 0x0B82 && c <= 0x0B83
|
|
3982
|
-
|| c >= 0x0BBE && c <= 0x0BC2
|
|
3983
|
-
|| c >= 0x0BC6 && c <= 0x0BC8
|
|
3984
|
-
|| c >= 0x0BCA && c <= 0x0BCD
|
|
3985
|
-
|| c == 0x0BD7
|
|
3986
|
-
|| c >= 0x0C01 && c <= 0x0C03
|
|
3987
|
-
|| c >= 0x0C3E && c <= 0x0C44
|
|
3988
|
-
|| c >= 0x0C46 && c <= 0x0C48
|
|
3989
|
-
|| c >= 0x0C4A && c <= 0x0C4D
|
|
3990
|
-
|| c >= 0x0C55 && c <= 0x0C56
|
|
3991
|
-
|| c >= 0x0C82 && c <= 0x0C83
|
|
3992
|
-
|| c >= 0x0CBE && c <= 0x0CC4
|
|
3993
|
-
|| c >= 0x0CC6 && c <= 0x0CC8
|
|
3994
|
-
|| c >= 0x0CCA && c <= 0x0CCD
|
|
3995
|
-
|| c >= 0x0CD5 && c <= 0x0CD6
|
|
3996
|
-
|| c >= 0x0D02 && c <= 0x0D03
|
|
3997
|
-
|| c >= 0x0D3E && c <= 0x0D43
|
|
3998
|
-
|| c >= 0x0D46 && c <= 0x0D48
|
|
3999
|
-
|| c >= 0x0D4A && c <= 0x0D4D
|
|
4000
|
-
|| c == 0x0D57
|
|
4001
|
-
|| c == 0x0E31
|
|
4002
|
-
|| c >= 0x0E34 && c <= 0x0E3A
|
|
4003
|
-
|| c >= 0x0E47 && c <= 0x0E4E
|
|
4004
|
-
|| c == 0x0EB1
|
|
4005
|
-
|| c >= 0x0EB4 && c <= 0x0EB9
|
|
4006
|
-
|| c >= 0x0EBB && c <= 0x0EBC
|
|
4007
|
-
|| c >= 0x0EC8 && c <= 0x0ECD
|
|
4008
|
-
|| c >= 0x0F18 && c <= 0x0F19
|
|
4009
|
-
|| c == 0x0F35
|
|
4010
|
-
|| c == 0x0F37
|
|
4011
|
-
|| c == 0x0F39
|
|
4012
|
-
|| c == 0x0F3E
|
|
4013
|
-
|| c == 0x0F3F
|
|
4014
|
-
|| c >= 0x0F71 && c <= 0x0F84
|
|
4015
|
-
|| c >= 0x0F86 && c <= 0x0F8B
|
|
4016
|
-
|| c >= 0x0F90 && c <= 0x0F95
|
|
4017
|
-
|| c == 0x0F97
|
|
4018
|
-
|| c >= 0x0F99 && c <= 0x0FAD
|
|
4019
|
-
|| c >= 0x0FB1 && c <= 0x0FB7
|
|
4020
|
-
|| c == 0x0FB9
|
|
4021
|
-
|| c >= 0x20D0 && c <= 0x20DC
|
|
4022
|
-
|| c == 0x20E1
|
|
4023
|
-
|| c >= 0x302A && c <= 0x302F
|
|
4024
|
-
|| c == 0x3099
|
|
4025
|
-
|| c == 0x309A
|
|
4026
|
-
|| c == 0x00B7
|
|
4027
|
-
|| c == 0x02D0
|
|
4028
|
-
|| c == 0x02D1
|
|
4029
|
-
|| c == 0x0387
|
|
4030
|
-
|| c == 0x0640
|
|
4031
|
-
|| c == 0x0E46
|
|
4032
|
-
|| c == 0x0EC6
|
|
4033
|
-
|| c == 0x3005
|
|
4034
|
-
|| c >= 0x3031 && c <= 0x3035
|
|
4035
|
-
|| c >= 0x309D && c <= 0x309E
|
|
4036
|
-
|| c >= 0x30FC && c <= 0x30FE;
|
|
4037
|
-
};
|
|
4038
|
-
|
|
4039
|
-
Utilities.coalesceText = function(n) {
|
|
4040
|
-
for (var m = n.firstChild; m != null; m = m.nextSibling) {
|
|
4041
|
-
if (m.nodeType == 3 /*Node.TEXT_NODE*/ || m.nodeType == 4 /*Node.CDATA_SECTION_NODE*/) {
|
|
4042
|
-
var s = m.nodeValue;
|
|
4043
|
-
var first = m;
|
|
4044
|
-
m = m.nextSibling;
|
|
4045
|
-
while (m != null && (m.nodeType == 3 /*Node.TEXT_NODE*/ || m.nodeType == 4 /*Node.CDATA_SECTION_NODE*/)) {
|
|
4046
|
-
s += m.nodeValue;
|
|
4047
|
-
var del = m;
|
|
4048
|
-
m = m.nextSibling;
|
|
4049
|
-
del.parentNode.removeChild(del);
|
|
4050
|
-
}
|
|
4051
|
-
if (first.nodeType == 4 /*Node.CDATA_SECTION_NODE*/) {
|
|
4052
|
-
var p = first.parentNode;
|
|
4053
|
-
if (first.nextSibling == null) {
|
|
4054
|
-
p.removeChild(first);
|
|
4055
|
-
p.appendChild(p.ownerDocument.createTextNode(s));
|
|
4056
|
-
} else {
|
|
4057
|
-
var next = first.nextSibling;
|
|
4058
|
-
p.removeChild(first);
|
|
4059
|
-
p.insertBefore(p.ownerDocument.createTextNode(s), next);
|
|
4060
|
-
}
|
|
4061
|
-
} else {
|
|
4062
|
-
first.nodeValue = s;
|
|
4063
|
-
}
|
|
4064
|
-
if (m == null) {
|
|
4065
|
-
break;
|
|
4066
|
-
}
|
|
4067
|
-
} else if (m.nodeType == 1 /*Node.ELEMENT_NODE*/) {
|
|
4068
|
-
Utilities.coalesceText(m);
|
|
4069
|
-
}
|
|
4070
|
-
}
|
|
4071
|
-
};
|
|
4072
|
-
|
|
4073
|
-
Utilities.instance_of = function(o, c) {
|
|
4074
|
-
while (o != null) {
|
|
4075
|
-
if (o.constructor === c) {
|
|
4076
|
-
return true;
|
|
4077
|
-
}
|
|
4078
|
-
if (o === Object) {
|
|
4079
|
-
return false;
|
|
4080
|
-
}
|
|
4081
|
-
o = o.constructor.superclass;
|
|
4082
|
-
}
|
|
4083
|
-
return false;
|
|
4084
|
-
};
|
|
4085
|
-
|
|
4086
|
-
Utilities.getElementById = function(n, id) {
|
|
4087
|
-
// Note that this does not check the DTD to check for actual
|
|
4088
|
-
// attributes of type ID, so this may be a bit wrong.
|
|
4089
|
-
if (n.nodeType == 1 /*Node.ELEMENT_NODE*/) {
|
|
4090
|
-
if (n.getAttribute("id") == id
|
|
4091
|
-
|| n.getAttributeNS(null, "id") == id) {
|
|
4092
|
-
return n;
|
|
4093
|
-
}
|
|
4094
|
-
}
|
|
4095
|
-
for (var m = n.firstChild; m != null; m = m.nextSibling) {
|
|
4096
|
-
var res = Utilities.getElementById(m, id);
|
|
4097
|
-
if (res != null) {
|
|
4098
|
-
return res;
|
|
4099
|
-
}
|
|
4100
|
-
}
|
|
4101
|
-
return null;
|
|
4102
|
-
};
|
|
4103
|
-
|
|
4104
|
-
// XPathException ////////////////////////////////////////////////////////////
|
|
4105
|
-
|
|
4106
|
-
XPathException.prototype = {};
|
|
4107
|
-
XPathException.prototype.constructor = XPathException;
|
|
4108
|
-
XPathException.superclass = Object.prototype;
|
|
4109
|
-
|
|
4110
|
-
function XPathException(c, e) {
|
|
4111
|
-
this.code = c;
|
|
4112
|
-
this.exception = e;
|
|
4113
|
-
}
|
|
4114
|
-
|
|
4115
|
-
XPathException.prototype.toString = function() {
|
|
4116
|
-
var msg = this.exception ? ": " + this.exception.toString() : "";
|
|
4117
|
-
switch (this.code) {
|
|
4118
|
-
case XPathException.INVALID_EXPRESSION_ERR:
|
|
4119
|
-
return "Invalid expression" + msg;
|
|
4120
|
-
case XPathException.TYPE_ERR:
|
|
4121
|
-
return "Type error" + msg;
|
|
4122
|
-
}
|
|
4123
|
-
};
|
|
4124
|
-
|
|
4125
|
-
XPathException.INVALID_EXPRESSION_ERR = 51;
|
|
4126
|
-
XPathException.TYPE_ERR = 52;
|
|
4127
|
-
|
|
4128
|
-
// XPathExpression ///////////////////////////////////////////////////////////
|
|
4129
|
-
|
|
4130
|
-
XPathExpression.prototype = {};
|
|
4131
|
-
XPathExpression.prototype.constructor = XPathExpression;
|
|
4132
|
-
XPathExpression.superclass = Object.prototype;
|
|
4133
|
-
|
|
4134
|
-
function XPathExpression(e, r, p) {
|
|
4135
|
-
this.xpath = p.parse(e);
|
|
4136
|
-
this.context = new XPathContext();
|
|
4137
|
-
this.context.namespaceResolver = new XPathNSResolverWrapper(r);
|
|
4138
|
-
}
|
|
4139
|
-
|
|
4140
|
-
XPathExpression.prototype.evaluate = function(n, t, res) {
|
|
4141
|
-
this.context.expressionContextNode = n;
|
|
4142
|
-
var result = this.xpath.evaluate(this.context);
|
|
4143
|
-
return new XPathResult(result, t);
|
|
4144
|
-
}
|
|
4145
|
-
|
|
4146
|
-
// XPathNSResolverWrapper ////////////////////////////////////////////////////
|
|
4147
|
-
|
|
4148
|
-
XPathNSResolverWrapper.prototype = {};
|
|
4149
|
-
XPathNSResolverWrapper.prototype.constructor = XPathNSResolverWrapper;
|
|
4150
|
-
XPathNSResolverWrapper.superclass = Object.prototype;
|
|
4151
|
-
|
|
4152
|
-
function XPathNSResolverWrapper(r) {
|
|
4153
|
-
this.xpathNSResolver = r;
|
|
4154
|
-
}
|
|
4155
|
-
|
|
4156
|
-
XPathNSResolverWrapper.prototype.getNamespace = function(prefix, n) {
|
|
4157
|
-
if (this.xpathNSResolver == null) {
|
|
4158
|
-
return null;
|
|
4159
|
-
}
|
|
4160
|
-
return this.xpathNSResolver.lookupNamespaceURI(prefix);
|
|
4161
|
-
};
|
|
4162
|
-
|
|
4163
|
-
// NodeXPathNSResolver ///////////////////////////////////////////////////////
|
|
4164
|
-
|
|
4165
|
-
NodeXPathNSResolver.prototype = {};
|
|
4166
|
-
NodeXPathNSResolver.prototype.constructor = NodeXPathNSResolver;
|
|
4167
|
-
NodeXPathNSResolver.superclass = Object.prototype;
|
|
4168
|
-
|
|
4169
|
-
function NodeXPathNSResolver(n) {
|
|
4170
|
-
this.node = n;
|
|
4171
|
-
this.namespaceResolver = new NamespaceResolver();
|
|
4172
|
-
}
|
|
4173
|
-
|
|
4174
|
-
NodeXPathNSResolver.prototype.lookupNamespaceURI = function(prefix) {
|
|
4175
|
-
return this.namespaceResolver.getNamespace(prefix, this.node);
|
|
4176
|
-
};
|
|
4177
|
-
|
|
4178
|
-
// XPathResult ///////////////////////////////////////////////////////////////
|
|
4179
|
-
|
|
4180
|
-
XPathResult.prototype = {};
|
|
4181
|
-
XPathResult.prototype.constructor = XPathResult;
|
|
4182
|
-
XPathResult.superclass = Object.prototype;
|
|
4183
|
-
|
|
4184
|
-
function XPathResult(v, t) {
|
|
4185
|
-
if (t == XPathResult.ANY_TYPE) {
|
|
4186
|
-
if (v.constructor === XString) {
|
|
4187
|
-
t = XPathResult.STRING_TYPE;
|
|
4188
|
-
} else if (v.constructor === XNumber) {
|
|
4189
|
-
t = XPathResult.NUMBER_TYPE;
|
|
4190
|
-
} else if (v.constructor === XBoolean) {
|
|
4191
|
-
t = XPathResult.BOOLEAN_TYPE;
|
|
4192
|
-
} else if (v.constructor === XNodeSet) {
|
|
4193
|
-
t = XPathResult.UNORDERED_NODE_ITERATOR_TYPE;
|
|
4194
|
-
}
|
|
4195
|
-
}
|
|
4196
|
-
this.resultType = t;
|
|
4197
|
-
switch (t) {
|
|
4198
|
-
case XPathResult.NUMBER_TYPE:
|
|
4199
|
-
this.numberValue = v.numberValue();
|
|
4200
|
-
return;
|
|
4201
|
-
case XPathResult.STRING_TYPE:
|
|
4202
|
-
this.stringValue = v.stringValue();
|
|
4203
|
-
return;
|
|
4204
|
-
case XPathResult.BOOLEAN_TYPE:
|
|
4205
|
-
this.booleanValue = v.booleanValue();
|
|
4206
|
-
return;
|
|
4207
|
-
case XPathResult.ANY_UNORDERED_NODE_TYPE:
|
|
4208
|
-
case XPathResult.FIRST_ORDERED_NODE_TYPE:
|
|
4209
|
-
if (v.constructor === XNodeSet) {
|
|
4210
|
-
this.singleNodeValue = v.first();
|
|
4211
|
-
return;
|
|
4212
|
-
}
|
|
4213
|
-
break;
|
|
4214
|
-
case XPathResult.UNORDERED_NODE_ITERATOR_TYPE:
|
|
4215
|
-
case XPathResult.ORDERED_NODE_ITERATOR_TYPE:
|
|
4216
|
-
if (v.constructor === XNodeSet) {
|
|
4217
|
-
this.invalidIteratorState = false;
|
|
4218
|
-
this.nodes = v.toArray();
|
|
4219
|
-
this.iteratorIndex = 0;
|
|
4220
|
-
return;
|
|
4221
|
-
}
|
|
4222
|
-
break;
|
|
4223
|
-
case XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE:
|
|
4224
|
-
case XPathResult.ORDERED_NODE_SNAPSHOT_TYPE:
|
|
4225
|
-
if (v.constructor === XNodeSet) {
|
|
4226
|
-
this.nodes = v.toArray();
|
|
4227
|
-
this.snapshotLength = this.nodes.length;
|
|
4228
|
-
return;
|
|
4229
|
-
}
|
|
4230
|
-
break;
|
|
4231
|
-
}
|
|
4232
|
-
throw new XPathException(XPathException.TYPE_ERR);
|
|
4233
|
-
};
|
|
4234
|
-
|
|
4235
|
-
XPathResult.prototype.iterateNext = function() {
|
|
4236
|
-
if (this.resultType != XPathResult.UNORDERED_NODE_ITERATOR_TYPE
|
|
4237
|
-
&& this.resultType != XPathResult.ORDERED_NODE_ITERATOR_TYPE) {
|
|
4238
|
-
throw new XPathException(XPathException.TYPE_ERR);
|
|
4239
|
-
}
|
|
4240
|
-
return this.nodes[this.iteratorIndex++];
|
|
4241
|
-
};
|
|
4242
|
-
|
|
4243
|
-
XPathResult.prototype.snapshotItem = function(i) {
|
|
4244
|
-
if (this.resultType != XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE
|
|
4245
|
-
&& this.resultType != XPathResult.ORDERED_NODE_SNAPSHOT_TYPE) {
|
|
4246
|
-
throw new XPathException(XPathException.TYPE_ERR);
|
|
4247
|
-
}
|
|
4248
|
-
return this.nodes[i];
|
|
4249
|
-
};
|
|
4250
|
-
|
|
4251
|
-
XPathResult.ANY_TYPE = 0;
|
|
4252
|
-
XPathResult.NUMBER_TYPE = 1;
|
|
4253
|
-
XPathResult.STRING_TYPE = 2;
|
|
4254
|
-
XPathResult.BOOLEAN_TYPE = 3;
|
|
4255
|
-
XPathResult.UNORDERED_NODE_ITERATOR_TYPE = 4;
|
|
4256
|
-
XPathResult.ORDERED_NODE_ITERATOR_TYPE = 5;
|
|
4257
|
-
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE = 6;
|
|
4258
|
-
XPathResult.ORDERED_NODE_SNAPSHOT_TYPE = 7;
|
|
4259
|
-
XPathResult.ANY_UNORDERED_NODE_TYPE = 8;
|
|
4260
|
-
XPathResult.FIRST_ORDERED_NODE_TYPE = 9;
|
|
4261
|
-
|
|
4262
|
-
// DOM 3 XPath support ///////////////////////////////////////////////////////
|
|
4263
|
-
|
|
4264
|
-
function installDOM3XPathSupport(doc, p) {
|
|
4265
|
-
doc.createExpression = function(e, r) {
|
|
4266
|
-
try {
|
|
4267
|
-
return new XPathExpression(e, r, p);
|
|
4268
|
-
} catch (e) {
|
|
4269
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR, e);
|
|
4270
|
-
}
|
|
4271
|
-
};
|
|
4272
|
-
doc.createNSResolver = function(n) {
|
|
4273
|
-
return new NodeXPathNSResolver(n);
|
|
4274
|
-
};
|
|
4275
|
-
doc.evaluate = function(e, cn, r, t, res) {
|
|
4276
|
-
if (t < 0 || t > 9) {
|
|
4277
|
-
throw { code: 0, toString: function() { return "Request type not supported"; } };
|
|
4278
|
-
}
|
|
4279
|
-
return doc.createExpression(e, r, p).evaluate(cn, t, res);
|
|
4280
|
-
};
|
|
4281
|
-
};
|
|
4282
|
-
|
|
4283
|
-
// ---------------------------------------------------------------------------
|
|
4284
|
-
|
|
4285
|
-
// Install DOM 3 XPath support for the current document.
|
|
4286
|
-
try {
|
|
4287
|
-
var shouldInstall = true;
|
|
4288
|
-
try {
|
|
4289
|
-
if (document.implementation
|
|
4290
|
-
&& document.implementation.hasFeature
|
|
4291
|
-
&& document.implementation.hasFeature("XPath", null)) {
|
|
4292
|
-
shouldInstall = false;
|
|
4293
|
-
}
|
|
4294
|
-
} catch (e) {
|
|
4295
|
-
}
|
|
4296
|
-
if (shouldInstall) {
|
|
4297
|
-
installDOM3XPathSupport(document, new XPathParser());
|
|
4298
|
-
}
|
|
4299
|
-
} catch (e) {
|
|
4300
|
-
}
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
function SelectNodes(doc, xpath)
|
|
4304
|
-
{
|
|
4305
|
-
var parser = new XPathParser();
|
|
4306
|
-
var xpath = parser.parse(xpath);
|
|
4307
|
-
var context = new XPathContext();
|
|
4308
|
-
if(doc.documentElement){
|
|
4309
|
-
context.expressionContextNode = doc.documentElement;
|
|
4310
|
-
} else {
|
|
4311
|
-
context.expressionContextNode = doc;
|
|
4312
|
-
}
|
|
4313
|
-
var res = xpath.evaluate(context)
|
|
4314
|
-
return res.toArray();
|
|
4315
|
-
}
|
|
4316
|
-
|
|
4317
|
-
module.exports = SelectNodes;
|