heimdall-api-platform 3.19.0 → 3.19.2

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.
Files changed (98) hide show
  1. package/dist/lib/clients/http-client.js +1 -1
  2. package/dist/lib/environment.js +1 -1
  3. package/dist/lib/factory/api-gateway.js +1 -1
  4. package/dist/lib/factory/client-factory.js +1 -1
  5. package/dist/lib/factory/function-factory.js +1 -1
  6. package/dist/lib/factory/operation-flow-factory.js +1 -1
  7. package/dist/lib/factory/server-factory.js +1 -1
  8. package/dist/lib/factory/transformation-function-factory.js +1 -1
  9. package/dist/lib/handle-route.js +1 -1
  10. package/dist/lib/index.js +1 -1
  11. package/dist/lib/integrations/commons-elasticsearch.js +1 -1
  12. package/dist/lib/integrations/commons-opensearch.js +1 -1
  13. package/dist/lib/integrations/commons-splunk.js +1 -1
  14. package/dist/lib/license/license-service.js +1 -1
  15. package/dist/lib/models/base-context.js +1 -1
  16. package/dist/lib/models/flow-context.js +1 -1
  17. package/dist/lib/models/monitor-request-view.js +1 -1
  18. package/dist/lib/models/route-context.js +1 -1
  19. package/dist/lib/models/security-route.js +1 -1
  20. package/dist/lib/models/service-context.js +1 -1
  21. package/dist/lib/models/service-group.js +1 -1
  22. package/dist/lib/models/service-route.js +1 -1
  23. package/dist/lib/models/splunk-data.js +1 -1
  24. package/dist/lib/observability/gateway-log-capture.js +1 -1
  25. package/dist/lib/observability/live-streams.js +1 -1
  26. package/dist/lib/observability/models/monitor-flow-step.js +1 -1
  27. package/dist/lib/observability/models/monitor-function-operation.js +1 -1
  28. package/dist/lib/observability/models/monitor-function-transformation.js +1 -1
  29. package/dist/lib/observability/models/monitor-http-operation.js +1 -1
  30. package/dist/lib/observability/models/monitor-mock-operation.js +1 -1
  31. package/dist/lib/observability/monitor-event-bus.js +1 -1
  32. package/dist/lib/observability/monitor-event.js +1 -1
  33. package/dist/lib/observability/subscribers/monitor-event-subscriber.js +1 -1
  34. package/dist/lib/observability/subscribers/opensearch-event-subscriber.js +1 -1
  35. package/dist/lib/observability/subscribers/redis-event-subscriber.js +1 -1
  36. package/dist/lib/observability/subscribers/spans-event-subscriber.js +1 -1
  37. package/dist/lib/observability/subscribers/splunk-event-subscriber.js +1 -1
  38. package/dist/lib/operations/abstract-operation.js +1 -1
  39. package/dist/lib/operations/function.js +1 -1
  40. package/dist/lib/operations/http.js +1 -1
  41. package/dist/lib/operations/mock.js +1 -1
  42. package/dist/lib/operations/monitor-check.js +1 -1
  43. package/dist/lib/orchestration-flow.js +1 -1
  44. package/dist/lib/router.js +1 -1
  45. package/dist/lib/routes/default-routes-admin.js +1 -1
  46. package/dist/lib/routes/default-routes-docs.js +1 -1
  47. package/dist/lib/routes/default-routes-ingest.js +1 -1
  48. package/dist/lib/routes/default-routes-llms.js +1 -1
  49. package/dist/lib/routes/default-routes-mcp.js +1 -1
  50. package/dist/lib/routes/default-routes-monitor-metrics.js +1 -1
  51. package/dist/lib/routes/default-routes-opensearch.js +1 -1
  52. package/dist/lib/routes/default-routes-pos.js +1 -1
  53. package/dist/lib/routes/default-routes-pre.js +1 -1
  54. package/dist/lib/routes/default-routes-redis.js +1 -1
  55. package/dist/lib/routes/llms-txt-builder.js +1 -1
  56. package/dist/lib/routes/native-routes-catalog.js +1 -1
  57. package/dist/lib/routes/rate-limit-docs.js +1 -1
  58. package/dist/lib/routes/route-catalog-builder.js +1 -1
  59. package/dist/lib/security/api-key-validator.js +1 -1
  60. package/dist/lib/security/basic-auth-validator.js +1 -1
  61. package/dist/lib/security/ingest-token-validator.js +1 -1
  62. package/dist/lib/security/jwt-util.js +1 -1
  63. package/dist/lib/security/quota-enforcer.js +1 -1
  64. package/dist/lib/security/rate-limiter.js +1 -1
  65. package/dist/lib/security/resolve-auth-secret.js +1 -1
  66. package/dist/lib/security/security-validation.js +1 -1
  67. package/dist/lib/services/api-key-service.js +1 -1
  68. package/dist/lib/services/consumer-service.js +1 -1
  69. package/dist/lib/services/fixed-window-rate-limit-service.js +1 -1
  70. package/dist/lib/services/health-service.js +1 -1
  71. package/dist/lib/services/ingest-error-service.js +1 -1
  72. package/dist/lib/services/log-ingest-service.js +1 -1
  73. package/dist/lib/services/logfmt-kv.js +1 -1
  74. package/dist/lib/services/metrics-service.js +1 -1
  75. package/dist/lib/services/monitor-metrics-service.js +1 -1
  76. package/dist/lib/services/otlp-ingest-service.js +1 -1
  77. package/dist/lib/services/otlp-protobuf.js +1 -1
  78. package/dist/lib/services/quota-service.js +1 -1
  79. package/dist/lib/services/rate-limit-service.js +1 -1
  80. package/dist/lib/services/server.js +1 -1
  81. package/dist/lib/services/trace-link-repair.js +1 -1
  82. package/dist/lib/storage/key-value-storage.js +1 -1
  83. package/dist/lib/utils/commons-cache.js +1 -1
  84. package/dist/lib/utils/commons-card-data-mask.js +1 -1
  85. package/dist/lib/utils/commons-const.js +1 -1
  86. package/dist/lib/utils/commons-context.js +1 -1
  87. package/dist/lib/utils/commons-cookie.js +1 -1
  88. package/dist/lib/utils/commons-date.js +1 -1
  89. package/dist/lib/utils/commons-encoding.js +1 -1
  90. package/dist/lib/utils/commons-errors.js +1 -1
  91. package/dist/lib/utils/commons-headers.js +1 -1
  92. package/dist/lib/utils/commons-logger.js +1 -1
  93. package/dist/lib/utils/commons-trace.js +1 -1
  94. package/dist/lib/utils/commons-util.js +1 -1
  95. package/dist/lib/utils/document-utils.js +1 -1
  96. package/dist/lib/utils/monitor-filter-builder.js +1 -1
  97. package/dist/lib/utils/monitor-query-language.js +1 -1
  98. package/package.json +1 -1
@@ -1 +1 @@
1
- 'use strict';const _0x5db766=_0x7ff0;(function(_0x455f38,_0x5db87b){const _0x19b4cc=_0x7ff0,_0x105774=_0x455f38();while(!![]){try{const _0x1a5c10=parseInt(_0x19b4cc(0x280))/0x1*(-parseInt(_0x19b4cc(0x256))/0x2)+-parseInt(_0x19b4cc(0x208))/0x3*(parseInt(_0x19b4cc(0x2cb))/0x4)+parseInt(_0x19b4cc(0x40e))/0x5*(-parseInt(_0x19b4cc(0x1eb))/0x6)+-parseInt(_0x19b4cc(0x453))/0x7+parseInt(_0x19b4cc(0x22a))/0x8+parseInt(_0x19b4cc(0x365))/0x9+parseInt(_0x19b4cc(0x3dc))/0xa;if(_0x1a5c10===_0x5db87b)break;else _0x105774['push'](_0x105774['shift']());}catch(_0x1e2ca9){_0x105774['push'](_0x105774['shift']());}}}(_0x3921,0x44f2d));const MAX_QUERY_LEN=0xfa0,MAX_REGEXES=0x8,MAX_REGEX_LEN=0x3e8,MAX_SCAN_DOCS=0x1388,TERMS_CAP=0x32,DEFAULT_HIT_SIZE=0x32,MAX_HIT_SIZE=0xc8,TIME_FIELD=_0x5db766(0x2ea),LOG_FIELD_ALLOWLIST=new Set(['service',_0x5db766(0x2d3),_0x5db766(0x1e3),_0x5db766(0x37a),_0x5db766(0x24c),_0x5db766(0x369),'traceId',_0x5db766(0x330),_0x5db766(0x388),_0x5db766(0x2eb),'flowId',_0x5db766(0x2c4),_0x5db766(0x26d),'thread',_0x5db766(0x454),_0x5db766(0x2bb),'exception.type',_0x5db766(0x197),_0x5db766(0x3be),_0x5db766(0x2e3),_0x5db766(0x338),_0x5db766(0x28a),'httpStatusCode',_0x5db766(0x422),_0x5db766(0x2de),_0x5db766(0x2e9),'path',_0x5db766(0x451),'host',_0x5db766(0x1da),'env',_0x5db766(0x1c0),_0x5db766(0x2be),_0x5db766(0x405),_0x5db766(0x322),_0x5db766(0x357),_0x5db766(0x3a2),_0x5db766(0x327),_0x5db766(0x266),_0x5db766(0x21a),_0x5db766(0x1a6),_0x5db766(0x1a8),_0x5db766(0x419),_0x5db766(0x227)]),LOG_NUMERIC_FIELDS=new Set([_0x5db766(0x3a2),'duration','responseTime','latencyMs',_0x5db766(0x1a6),_0x5db766(0x1a8),'contentLength',_0x5db766(0x227),_0x5db766(0x28a),'httpStatusCode']),KV_PATH_RE=/^kv\.[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/,KVN_FIELDS=new Set([_0x5db766(0x3a2),_0x5db766(0x327),_0x5db766(0x1a6),_0x5db766(0x21a),_0x5db766(0x266),'took',_0x5db766(0x28a),_0x5db766(0x338),_0x5db766(0x1a8),_0x5db766(0x419)]);function isKvPath(_0x12e935){const _0x1bd496=_0x5db766;return KV_PATH_RE[_0x1bd496(0x3d6)](_0x12e935);}function isKvnPath(_0x4a7174){const _0x9cb41a=_0x5db766,_0x33e857={'EavVH':'kvn.'};return _0x4a7174[_0x9cb41a(0x21e)](_0x33e857[_0x9cb41a(0x239)])&&KVN_FIELDS[_0x9cb41a(0x1cf)](_0x4a7174[_0x9cb41a(0x282)](0x4));}function _0x3921(){const _0x6485b8=['ufnptvq','r3Leuw0','vhr5rvO','BKjRC3a','yMfYCMeGzguGCMvNzxGGBSoJBYbMzwnOywrHig5VihDOzxjL','s0DRq1G','v1H6r2y','zgf0yxnLDcbKzxnJB25OzwnPzg86ia','qNnNDxi','sNzXwee','u09ys0C','BMH4v1q','zxHLyW','DgvZDa','Dg9mB3DLCKnHC2u','EejUAhi','CKH0zvq','DhjHy2vjza','igfJzwL0ysbHCgvUyxmGCMfUz2vZicG+lca+psWGpcWGpd0P','otKXote1mgTLwNjKEG','z3fprgO','wMnlBwC','zgvZyW','BLrIC1u','zeHAyue','BwvZC2fNzs5RzxL3B3jK','z2LkyNe','ywH6wxq','DvnNv0O','BeHquLi','EvfxAxq','DMfSDwu','C2z0qxO','yxnJ','rwHLuuO','uxDurNe','qvvPr2K','t1DYrgO','C3j5vNK','vKP5tvy','CMvNzxGGBxvPDg8GBg9Uz2e','CdK5','v09ND1m','wgrxv08','zMjMqLq','z3b3vKK','Dg5ty2q','AgHSAMi','x3nVDxjJzq','CMvXDwvZDeLKlMTLExDVCMq','qMXquu8','DxbztMm','BNvTzxjPyW','C2vYDMLJzu5HBwu','vLrZzgW','y29UDgfPBNmOlI4UksbZW7mGW6KGC3vWB3j0ywrVig5VigrHDgfZzxqGDhjHy2vZicHYzwnLyMLKBZOG','CeziCva','A2LUza','zxHPC3rZ','CgHYyxnL','yxbWtMfTzq','Bw5YrvO','rgPNBuC','lMTLExDVCMq','CdK1','BhLXEg4','D0zdAxm','ywrK','C2vYDMLJzs5KzxnJCMLWDgLVBG','nuHfrNzoEq','qKD3twO','C29YDa','zLLIthy','Du1kD3G','y0TMAeG','wgTfy0C','CMvWzwf0','C1fny00','zLzbCwS','Bwv0CMLJ','y29UDgvUDeXLBMD0Aa','yMzyshi','txH5y3G','z3jVDxbZ','shzxyMW','qNnXEvy','Bg9NCW','ChrJwe8','DgLTzxjZ','y29Kzq','uNLyuey','Dgv4Da','ruXVEu8','qM9LEwG','vK51q3m','y29YCMvSyxrPB25jzc5RzxL3B3jK','sw5vsg4','r2fbB24','qLDgCva','uuLIruG','Bwv0CMLJCW','t2HSA0i','v2nUtNG','vgXcyw4','BLfnt1C','v1vouvq','rLryyw8','zw5KC1DPDgG','yM9KEq','CKHSBNe','vwrrt1q','EMLHrhy','AevSDfK','CMvZCg9UC2uUC3rHDhvZq29Kzq','DvDjDvq','r1n1Agi','A0PytgC','re1MveW','qLvSs3q','uw5dve4','wKTQuhK','zxH0CMfJDgvK','iokaLcb1C2uGy2fTCg9Zig51BCoPCMLJB3m','vwj4vM0','Dg1UAw8','qvvqtMS','vMHAtK0','DhLWzs5RzxL3B3jK','y29UDgvUDa','wvrOC1K','Bu9eD0m','tLPOr28','AgfZrxjYB3i','wwzlDgC','BwfW','DKHNrhy','DxjS','D05yy1G','oda1mdKXshrmrNnN','Cgf0DgvYBG','qxvZquy','s0vqqxO','qKP3Euq','q0LPsu0','y2TpuxC','ANzKA0u','BeTgzeW','wvnMt1u','Dg9vChbLCKnHC2u','DMHVqxm','wxDyBwq','rMXUz2O','CuLMBuu','t2jrAKu','yMvZDf9MAwvSzhm','EKL2u24','C3rYAw5N','zNjVBq','tMjTtui','zxHJzxb0Aw9UvhLWzq','ruzeq24','Aw5KzxG','y0TiDvG','reDvre0','uLnPuKG','ihjLz2v4zxmGBM8GD2HLCMu','vu5equS','B1vvvei','DhLWzq','Cw5jruO','sfjlDgS','C2vYDMLJzs5Uyw1LxJi','zK55swC','teLUDvm','zwXHChnLze1Z','BM90','yNL0zxm','BhfUAfG','EgfxBfG','DMfSDwvZ','zNvUW6FdO28GzguGBCoPDhjPy2eGzgvZy29UAgvJAwrHoIa','z3jVDxbIEq','A3fXyxi','v0HxAMC','DgvYBxm','AfnKDKS','wMjwwui','DhjHy2vZ','ywDNugf0Aa','EwL0zM0','yNvzr1m','wuvPrxy','thLvvwO','CMvXDwvZDhm','icH1C2uGyxnJFgrLC2mP','zxHWCG','r2LAquK','A25YBM4','C3vI','A25VD24','zw52AxjVBM1LBNq','y2HPBgrYzw4','rvj3Evu','AK5rzei','EvjHuhi','v1rnsvC','BhrL','qMfKAwu','ywTwAg0','BgvpEMe','DgLTzuzPzwXK','uw1NAeW','CMvXDwvZDc51CMWUCgf0Aa','AxPYEfm','s0Thqu4','AgfZ','s0veww0','z0z1t1K','zM55q20','CMvXDwvZDc5TzxrOB2qUA2v5D29Yza','Cw10t1O','z1zNt0q','BejsyKm','zMXVB3i','CgfYW6PUDgvZzsbMzwnOyw5KBYbZzw0GB3bLCMfUzg8','C3bHBNm','Ag9ZDg5HBwu','qvDlsKK','C0HWsMq','q2LlDM0','BLr0tKm','CMvZCg9UC2uU','twDpEKO','vxrRwve','A0zjzwO','z2f0zxDHEuLK','D1DMB2i','s2XvC24','z2D3vLG','AxLUteO','r1HIDfu','iIbUBYb3AgvYzq','D2nbBha','mtKYodG5ogjPsMTXAW','ze1MBw4','qMzcDeu','zgLTCW','Eu54EhG','uuzLtw8','A3z5veG','zw5K','wuTfteC','DxfMzKq','vNvhD24','r2XRvgi','q3rNu3a','y21W','otuUma','EwjyEeK','vKLMB1q','DMfSB3iGyxvZzw50zsbLBsaI','u3nlr3O','CNvvy28','BMfTzs5RzxL3B3jK','qw5zvNa','EerHreq','tKDhvhC','y291BNq','sNL0CgO','v01jvLG','yxnWyxmGBSoJBYbMzwnOywrHCYbUBYb3AgvYzq','C0DcyMS','mtKXntuWBNHUtvHQ','Ag9ZDa','zg9Jx2nVDw50','EvbSvxm','zM9YrwfJAa','rLDyBhq','D29Yza','C2vYDMLJzq','uwH6q00','AKHkyKq','yNffs2K','DM11rNy','A0riEM0','BLPZDhi','yxzN','rLHirMe','DMfSB3iGAw52W6fSAwrVig5HigXPC3rHigLUkc4UlIK','Dg9Rzw4GAw5LC3bLCMfKBYbUBYb3AgvYztOGiG','Bgf0zw5JEu1Z','wM5pA0q','A0DcwKK','v3rStw8','C3rHCNrZv2L0Aa','sgLhBvq','CMvZCg9UC2u','r2PNEey','v0LSvgC','BfvUEha','AMDszNe','CfPLwuq','tLv2CfO','CMvZCg9UC2vtAxPL','CMvKDwnL','ve1itgi','mZqWmdGWrwTfq2L3','DeDfu1a','uLbOzhK','ww9uuK4','uKjjwhy','AgfZt3DUuhjVCgvYDhK','yM1ysgC','uwfwrei','z0TAtMe','t0DIrwO','yM9KEs4','EgnzCgi','BejPCuC','ChvZAa','Bvn5qvy','rwf2vKG','kf58w15blvPHlxOWltLFxsK','wuTMrxO','wez1veG','z2TjrNG','D0Hrv0C','BCoHEgLTBYbKzsa','uw9quLe','t2rgueu','yML0tha','Aw5JBhvKzxm','wg9NweG','uK5lshu','u3zJDeS','zw52','r2TsDgy','vuDlzee','ufrYBMe','CLnhuhK','B3jPz2LU','AeHozfG','BuTZDfq','Afvou3e','sK9wv2G','tuzQD0G','s2jUAhy','v3z6z1a','uvLKtLG','vwrot1q','mZy2mMDVwMnytW','DhjPBq','B2nmthy','BM1Jt1y','sfnuDvq','Dg9R','z3rL','uM5SEhm','CMvXDwvZDc5ZB2nRzxqUCMvTB3rLqwrKCMvZCY5RzxL3B3jK','uxbUyvK','zgf0yxnLDa','vNfuvLq','xhmQxcG','otKUma','tKv4tvu','CgfYzw50u3bHBKLKlMTLExDVCMq','CMvZCg9UC2vuAw1L','B2PVEMG','AuzqsNC','Cuz2ELy','wvnXz0q','t3fbqNO','yM9VBa','Bgv2zwW','s2PwqLG','z0TfseK','ELfAA2y','CgfYzw50u3bHBKLK','z3jVDxbIEu9R','swX2zw0','y29UDgfPBNmOlI4UksbZW7mGW6KGC3vWB3j0ywrVigvTignSW6f1C3vSyxmGqu5eigrLihrVCg8GkhnLBsbpuI9ot1qP','EM1vDMK','C3H4vxu','y2fSBa','uK5xD0S','BgfUz3vHz2uUA2v5D29Yza','BgvUz3rO','vM5qC0K','DxvPza','A1bwzeW','CxvLCNKGDMf6Awe','zeffu3C','mJLKq05Usfq','AKXQCMi','C2XPy2u','AKnrAei','BwzhCNC','Du5gAM8','rvnHA2m','yw5K','s1DRyu4','y29UDmoPBsaOFIKGBSoJBYbZzsbHCgXPy2eGysbJyw1WBYbUDw3dQxjPy28VDgvTCg86ia','C3rHDhvZq29Kzq','A214r0S','y2fTCg8GBSoJBYbWzxjTAxrPzg86ia','rLHbEgy','vwPTEKC','kc4UlIK','DxvPzc5RzxL3B3jK','s1DKy1K','AxnbCNjHEq','C2vYDMLJzs5RzxL3B3jK','DwL2y1y','EfvKzxu','C29Tzq','Dwjlqwi','rxbUqKu','AvHNBM8','DeTHzgW','B2H0ugS','BwLU','Aw5MBW','B3rnqKG','z2v0','CxbUtxu','tM1UrNG','C0PbAKy','CMvXDwvZDc5TzxrOB2q','CKzXB0G','Aw9RCgy','zMXVD0LKlMTLExDVCMq','u0Lnu2O','Au9RAwe','yvPyshG','sxjnu2W','CvPcD04','EfzyC3e','sM52wfa','Cgf0Aa','B21UDvy','CMvNzxGGBSoJBYddQsbZDxbVCNrHzgeGBM8Gzgf0yxnLDca','tNjABK8','te5sr0y','DMvYC2LVBI5RzxL3B3jK','zMXVD0LK','BgLZDgeGAw4OlI4UksbUW6nVigzLy2HHzge','yK54wMO','t21xzfO','zMLSDgvY','u0TSuhK','rgDyBw8','zxHJzxb0Aw9UlM1LC3nHz2u','C3vT','r1nfCNa','yxbWBgLJyxrPB24','BLPjqKK','Bg9Vzey','CMfUz2uGkd4SidWPig7dO28GC3vWB3j0ywrVihbHCMeG','y2fTCg8GBSoJBYbWzxjTAxrPzg8Gzw0Gz3jVDxbIEtOG','zxnWzxjHzg8GiG','BwvZC2fNzq','y2fSy3vSyxrL','v0LXELC','wuPRrKy','EujYrfK','C3rHCNq','C2Tmzwi','mZjlwMLeD2K','BuHKsfO','vxbbDK8','CMvXDwvZDc5ZB2nRzxqUCMvTB3rLqwrKCMvZCW','Dw92BLG','y2HPBgq','DSoTCMD1BgeGzM9YysbKzsb1BweGBgLZDgeGAw4OlI4Ukq','ve9tzKG','z2f0zxDHEvnLCNzPy2u','BhrHBNe','u3jbt28','tg9gAfq','Cu5lr0K','zhLRDeW','BhHkBgO','wezWCfa','CMvZCg9UC2uUCMvZDwX0','tKHgB1u','tvbozxq','Bwv0Ag9K','Awr4','wgrbvKe','sfvyuum','y29UDgfPBNm','zxjYB3jdB2rL','D1rQuhq','u2P1A3y','vu9Rwui','r1Pgwg8','DhjHy2vjzc5RzxL3B3jK','Ahr0Ce1LDgHVza','DgLTzxn0yw1W','C3bHBKLK','CgfYW6PUDgvZzxmGBSoJBYbIywXHBMnLywrVCYbLBsb3AgvYzsGUlI4P','CeXPB0i','Dw5MuKi','y0fbuhC','B2jQzwn0','BKvOuee','zxHPC3rZugf0Aa','zw50CMLLCW','wu5uuKS','t3Lbwhq','qMLsExy','rxrbvui','DgvYBq','D0TowMC','yMvYyK0','tefTsgy','wwTwuw4','zMPLtNy','vgfAzu8','yuPwDMO','Eu13D1y','kc4UlIKGBSoJBYbZzsbHCgXPy2eGysa','zgHQDvK','Bwf4','B3v0CgK','uNLXEfe','y2vwuwS','sNfYzgi','DMH5s0e','EerSuxu','DMfSB3iGBNvTW6LYAwnVigLUDSoHBgLKBYbWyxjHia','vKTKtwK','u2rQuuK','tMDSChy','rgjOzgK','Ewf3yKi','swXdB0O','DgLTzxjZlMr1CMf0Aw9U','zMXHz3m','ww1stuW','y2XPzw50swqUA2v5D29Yza','A3P3tuy','zw52lMTLExDVCMq','tvH0yNC','CuXqswy','t2PXt1q','uNP5rvO','wujIANe','v0P0r1m','A2v5D29Yza','qNr1v2i','ywDNCW','u2DKAfi','y0Xzrxa','BgfUz3vHz2u','txLctvG','u0fqDe0','EMnxD00','uLP2y1C','zhvYyxrPB24','rwHXB2e','yu9Yy0O','DKvcDwi','sfvYBKq','DMLZte8','DhPtt2S','rMH2tNK','zNz2q2K','y29YCMvSyxrPB25jza','CMjwzwS','CMvXDwvZDc5IB2r5','y0f1D24','D2HLCMu','Cfjyz04','sMPyswq','vMLgCui','Ahr0Cfn0yxr1CW','wgrWvMu','r2PHDeS','CgfYC2u','A2LUzc5RzxL3B3jK','CNP1zfi','vgXhDMW','t2fZzwm','DNnUz1y','yxnZAwDU','EwHizge','A1vxu2C','CNf0wui','m3W1Fdf8mhW0Fdi','vvb6Eeq','qK1KEwG','uMPHDwm','C2v0','Dxj4Bfe','vKn0BeC','qMrTrfa','refpBwW','ALjzDvy','vfnqq1i','Dw5PDa','zgPgCuq','B0Pur2q','quHcvhm','rMDrv3m','CKnYDfG','qKTszMW','DMvYC2LVBG','BgfkBgu','zgf0zq','B3bLCMfUzg8GyxvZzw50zsbUBYb3AgvYzq','ChzLEMW','C3jgv1m','yNvJA2v0CW','EfnLr2S','Du9zBKS','BMfTzq','CMvNzxG','sfrpwgC','CMfUz2vHyMXL','uLr2qMK','mJiZntq0n2XjswnOEG','y2vPBa','z3LXC2y','BwfSzM9YBwvK','Bg9Nz2vY','rwLdBuG','B2jxEeO','Aw5KzxHpzG','rxLcAeG','EfnxzM0','ue1by3O','EfvgDvq','tNnsqum','vuXTExe','Ag9ZDc5RzxL3B3jK','DgLTzxjZlMzPBMLZAgvKlMf0','ywXSB3DszwDLEa','v0X4z1i','ufbvvgW','t3fgtKq','Bgrxvfm','y2XPzw50swq','ExrbCfu','A2v5D29YzfbHDgG','sff1CMq','uKDmrM0','Bwf4rgvWDgG','wurXwNa','wNnMA0y','C2vYDMLJzs5Uyw1L','C291CMnL','wxPMq1K','AxngAw5PDgu','shzJvLG','u2H6ALK','CMvXDwvZDeLK','q1f5z20','C0nesey','sKTPBhm','wgHHzuO','BxvutMO','z3jVDxbIEsGUlI4PihzHEMLV','sLPIrwW','v0nvzuC','t1DhBMe','v2zlv2G','ChjVDg90ExbL','vvLzCgi','qw94rhO','vMLAB20','rNnOtey','t2fjBu0','shPrCM8','A2v5CW','DLHzu0y','s1vyq3a','DNLrvNe','CMvNzxGGC8oZimoPihn1Cg9YDgfKysbLBsbJBmoHDxn1BgfZieforcbKzsb0B3bVicHZzw0Gt1iVtK9ukq','qhrPBwvZDgfTCa','CerZzhK','yu5mBMO','zhvYyxrPB25nCW','yuzZu1O','zunwvum','CxvLCNKGzxHJzwrLig8GDgfTyw5OBYbTW6f4Aw1V','uwr6q1O','wK93tg0','v2jYBMW','z1fquuS','s2zpq0u','AKvUq0O','B3PREMS','uuvbtKe','y2XHDxnLCW','tgzvrLa','vNrfr2u','Cxn1A3O','C2vYDMLJzs5Uyw1LlMTLExDVCMq','ENvtufq','z2f0zxDHEuLKlMTLExDVCMq','zMLLBgq','C3bSAxq','wMz4A2e','CMvWBgfJzq','zuDQvvi','BKzJuLK','CKXhww4','venVwee','Dhj1zq','zxjYB3juExbL','ve1HENi','z094yKq','y2fTCg8GBSoJBYbWzxjTAxrPzg8GBMeGBCoPDhjPy2e6ia','B3jKzxi','ww9vr0u','rKzTAKe','zu5WEha','BgfZDeLUzgv4','t3fPt2m','CwDSzxO'];_0x3921=function(){return _0x6485b8;};return _0x3921();}const BODY_PATH_RE=/^body\.[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/,RESPONSE_PATH_RE=/^response\.[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/;function isBodyPath(_0x4f2c65){return BODY_PATH_RE['test'](_0x4f2c65);}function isResponsePath(_0x22d3ed){const _0x298fbc=_0x5db766;return RESPONSE_PATH_RE[_0x298fbc(0x3d6)](_0x22d3ed);}function isPayloadPath(_0x33b3ec){const _0x5cf227={'tOITD':function(_0xa8ec18,_0x23e3ee){return _0xa8ec18(_0x23e3ee);}};return isBodyPath(_0x33b3ec)||_0x5cf227['tOITD'](isResponsePath,_0x33b3ec);}const METRIC_FUNCS=new Set([_0x5db766(0x216),_0x5db766(0x409),'p99',_0x5db766(0x29c),_0x5db766(0x303),'sum']);class DslError extends Error{constructor(_0x114c9a,_0x36c565,_0x5422b8={}){const _0xa84c58=_0x5db766,_0x445b74={'tKadl':'DslError'};super(_0x36c565),this[_0xa84c58(0x360)]=_0x445b74[_0xa84c58(0x29a)],this['kind']=_0x114c9a,Object[_0xa84c58(0x341)](this,_0x5422b8);}}function matchingParen(_0x165de0,_0x5bd3b1){const _0x1cdb38=_0x5db766,_0x171511={'lHPRR':function(_0x586a0a,_0x5e4f5c){return _0x586a0a===_0x5e4f5c;},'NsRAC':_0x1cdb38(0x1fd),'XhaeJ':function(_0x2764c7,_0x1404dd){return _0x2764c7<_0x1404dd;},'JeXUT':function(_0x2136c5,_0x238d4c){return _0x2136c5!==_0x238d4c;},'wxGIQ':function(_0x4fa278,_0x483121){return _0x4fa278===_0x483121;},'NsiHT':function(_0x24390a,_0xf57858){return _0x24390a===_0xf57858;},'ShzjY':function(_0x17601e,_0x5e8833){return _0x17601e===_0x5e8833;}};let _0x539169=0x0;for(let _0x9d5866=_0x5bd3b1;_0x9d5866<_0x165de0[_0x1cdb38(0x27a)];_0x9d5866++){if(_0x171511[_0x1cdb38(0x3e6)](_0x171511[_0x1cdb38(0x371)],_0x171511[_0x1cdb38(0x371)])){const _0x306976=_0x165de0[_0x9d5866];if(_0x306976==='\x22'||_0x306976==='\x27'){const _0x4abdc9=_0x306976;_0x9d5866++;while(_0x171511[_0x1cdb38(0x38c)](_0x9d5866,_0x165de0['length'])&&_0x171511['JeXUT'](_0x165de0[_0x9d5866],_0x4abdc9)){if(_0x171511[_0x1cdb38(0x3e6)](_0x165de0[_0x9d5866],'\x5c'))_0x9d5866++;_0x9d5866++;}continue;}if(_0x171511['wxGIQ'](_0x306976,'/')){_0x9d5866++;while(_0x9d5866<_0x165de0[_0x1cdb38(0x27a)]&&_0x165de0[_0x9d5866]!=='/'){if(_0x171511['wxGIQ'](_0x165de0[_0x9d5866],'\x5c'))_0x9d5866++;_0x9d5866++;}continue;}if(_0x171511['NsiHT'](_0x306976,'('))_0x539169++;else{if(_0x171511[_0x1cdb38(0x387)](_0x306976,')')){_0x539169--;if(_0x171511['ShzjY'](_0x539169,0x0))return _0x9d5866;}}}else return null;}return-0x1;}function findSection(_0x5ef1a7,_0x233a5f){const _0x2f3f91=_0x5db766,_0x5f4799={'nftHx':function(_0x30acde,_0x8fe1ba){return _0x30acde-_0x8fe1ba;},'skLeb':function(_0x180a2c,_0x5a042c){return _0x180a2c<_0x5a042c;},'BiRyv':_0x2f3f91(0x368),'jCQhB':function(_0x3d43f2,_0x3bc61f){return _0x3d43f2+_0x3bc61f;},'sxxUu':function(_0x5ed0c5,_0x5721d7){return _0x5ed0c5+_0x5721d7;},'XdpVe':function(_0x5c11ff,_0x522d4f){return _0x5c11ff+_0x522d4f;}},_0x80cf09=new RegExp(_0x2f3f91(0x23a)+_0x233a5f+_0x2f3f91(0x262),'i'),_0x2706e1=_0x80cf09[_0x2f3f91(0x3d5)](_0x5ef1a7);if(!_0x2706e1)return null;const _0x271ca8=_0x5ef1a7[_0x2f3f91(0x36c)]('(',_0x5f4799['nftHx'](_0x2706e1[_0x2f3f91(0x199)]+_0x2706e1[0x0][_0x2f3f91(0x27a)],0x1)),_0x452728=matchingParen(_0x5ef1a7,_0x271ca8);if(_0x5f4799[_0x2f3f91(0x2ca)](_0x452728,0x0))throw new DslError(_0x5f4799[_0x2f3f91(0x2f6)],'parênteses\x20não\x20balanceados\x20em\x20'+_0x233a5f+_0x2f3f91(0x28f),{'detail':_0x233a5f+_0x2f3f91(0x28f)});return{'content':_0x5ef1a7[_0x2f3f91(0x282)](_0x5f4799[_0x2f3f91(0x283)](_0x271ca8,0x1),_0x452728),'start':_0x5f4799[_0x2f3f91(0x276)](_0x2706e1[_0x2f3f91(0x199)],_0x2706e1[0x1]?_0x2706e1[0x1][_0x2f3f91(0x27a)]:0x0),'end':_0x5f4799[_0x2f3f91(0x339)](_0x452728,0x1)};}function tokenizeWhere(_0x30f60a){const _0x5a575c=_0x5db766,_0x3a4bf8={'QmghL':_0x5a575c(0x203),'tnScd':_0x5a575c(0x3b5),'jLjrb':function(_0x773749,_0x272384){return _0x773749===_0x272384;},'lxJlj':function(_0x2570c4,_0x2df7b4){return _0x2570c4-_0x2df7b4;},'VtJBd':function(_0x4c7e62,_0x19cbad,_0x3569e0){return _0x4c7e62(_0x19cbad,_0x3569e0);},'FFmjA':function(_0x22b5f1,_0x335053,_0x3c2bcf,_0x1d5a54){return _0x22b5f1(_0x335053,_0x3c2bcf,_0x1d5a54);},'VhZNM':function(_0x1afa86,_0x2a0f22){return _0x1afa86<_0x2a0f22;},'visLO':function(_0x546ebc,_0x235ccc){return _0x546ebc===_0x235ccc;},'OskSF':_0x5a575c(0x3c3),'Jytpj':function(_0x182e21,_0x403e27){return _0x182e21+_0x403e27;},'ohtPk':function(_0x56a7fb,_0x553729){return _0x56a7fb!==_0x553729;},'Wbrnl':function(_0x33b9fc,_0x3ac3a2){return _0x33b9fc!==_0x3ac3a2;},'PTrna':_0x5a575c(0x27f),'doFcR':_0x5a575c(0x2d4),'OyAXt':function(_0x45d113,_0x31c23d){return _0x45d113>=_0x31c23d;},'sHpJd':_0x5a575c(0x368),'UdQOT':_0x5a575c(0x206),'CQygm':'phrase','buYGS':function(_0x5886db,_0x486daa){return _0x5886db+_0x486daa;},'ZOwLm':function(_0xb34c3a,_0x2343bf){return _0xb34c3a===_0x2343bf;},'Sjukv':function(_0x4dc9de,_0x30e523){return _0x4dc9de+_0x30e523;},'TOSfH':function(_0x38dcda,_0x5123d5){return _0x38dcda<_0x5123d5;},'JOVWh':'YvlFA','FshLF':function(_0x486fd9,_0x5dbaa3){return _0x486fd9+_0x5dbaa3;},'aNLnj':_0x5a575c(0x3cd),'NuZjb':function(_0x573c34,_0x1a2d7e){return _0x573c34+_0x1a2d7e;},'FTXao':function(_0x48b8d4,_0x39d505){return _0x48b8d4!==_0x39d505;},'eGjUR':_0x5a575c(0x28e),'MMLhU':_0x5a575c(0x361),'WtlMo':_0x5a575c(0x33d),'upYNc':_0x5a575c(0x20e)},_0x26cffe=[];let _0x1c4e9b=0x0;const _0x2fe79a=_0x30f60a['length'];while(_0x3a4bf8[_0x5a575c(0x447)](_0x1c4e9b,_0x2fe79a)){const _0x51c67c=_0x30f60a[_0x1c4e9b];if(/\s/[_0x5a575c(0x3d6)](_0x51c67c)){_0x1c4e9b++;continue;}if(_0x51c67c==='('||_0x3a4bf8[_0x5a575c(0x281)](_0x51c67c,')')||_0x3a4bf8[_0x5a575c(0x281)](_0x51c67c,',')){if(_0x3a4bf8[_0x5a575c(0x32c)](_0x3a4bf8['OskSF'],_0x3a4bf8['OskSF'])){_0x26cffe[_0x5a575c(0x237)]({'type':_0x51c67c}),_0x1c4e9b++;continue;}else{const _0x271dae=_0x4127bd['trim']();if(!_0x271dae)return{'type':_0x3a4bf8[_0x5a575c(0x1cb)]};if(/^count$/i[_0x5a575c(0x3d6)](_0x271dae))return{'type':'count'};const _0x35ecd1=/^([A-Za-z0-9]+)\s*\(\s*([A-Za-z_][\w.]*)\s*\)$/[_0x5a575c(0x3d5)](_0x271dae);if(!_0x35ecd1)throw new _0x4826f1(_0x5a575c(0x418),'métrica\x20inválida:\x20'+_0x271dae,{'detail':_0x271dae});const _0x39f476=_0x35ecd1[0x1][_0x5a575c(0x3d7)]();if(!_0x3985e4[_0x5a575c(0x1cf)](_0x39f476))throw new _0x5a8dbb('metric',_0x5a575c(0x1ac)+_0x35ecd1[0x1],{'detail':_0x271dae});return{'type':_0x39f476,'field':_0x35ecd1[0x2]};}}if(_0x3a4bf8[_0x5a575c(0x32c)](_0x51c67c,'\x22')||_0x3a4bf8[_0x5a575c(0x281)](_0x51c67c,'\x27')){const _0x4b6d54=_0x51c67c;let _0x44c4c4=_0x3a4bf8[_0x5a575c(0x204)](_0x1c4e9b,0x1),_0x2607b4='';while(_0x3a4bf8[_0x5a575c(0x447)](_0x44c4c4,_0x2fe79a)&&_0x3a4bf8[_0x5a575c(0x29b)](_0x30f60a[_0x44c4c4],_0x4b6d54)){if(_0x3a4bf8['Wbrnl'](_0x3a4bf8[_0x5a575c(0x24a)],_0x3a4bf8['doFcR']))_0x3a4bf8[_0x5a575c(0x32c)](_0x30f60a[_0x44c4c4],'\x5c')?(_0x2607b4+=_0x30f60a[_0x44c4c4+0x1]||'',_0x44c4c4+=0x2):(_0x2607b4+=_0x30f60a[_0x44c4c4],_0x44c4c4++);else throw new _0xf857a(_0x3a4bf8[_0x5a575c(0x3f7)],_0x5a575c(0x289)+_0x129b46,{'field':_0x15ca5a});}if(_0x3a4bf8[_0x5a575c(0x2f5)](_0x44c4c4,_0x2fe79a))throw new DslError(_0x3a4bf8[_0x5a575c(0x1dc)],_0x3a4bf8[_0x5a575c(0x437)],{'detail':_0x30f60a});_0x26cffe[_0x5a575c(0x237)]({'type':_0x3a4bf8[_0x5a575c(0x389)],'value':_0x2607b4}),_0x1c4e9b=_0x3a4bf8[_0x5a575c(0x1b6)](_0x44c4c4,0x1);continue;}if(_0x3a4bf8[_0x5a575c(0x3a7)](_0x51c67c,'/')){let _0x49f978=_0x3a4bf8[_0x5a575c(0x2e5)](_0x1c4e9b,0x1),_0x41a544='';while(_0x3a4bf8[_0x5a575c(0x2d2)](_0x49f978,_0x2fe79a)&&_0x30f60a[_0x49f978]!=='/'){if(_0x3a4bf8[_0x5a575c(0x250)]!==_0x5a575c(0x27d))_0x3a4bf8[_0x5a575c(0x3a7)](_0x30f60a[_0x49f978],'\x5c')?(_0x41a544+=_0x3a4bf8[_0x5a575c(0x204)]('\x5c',_0x30f60a[_0x3a4bf8[_0x5a575c(0x397)](_0x49f978,0x1)]||''),_0x49f978+=0x2):(_0x41a544+=_0x30f60a[_0x49f978],_0x49f978++);else{const _0x21cadf=_0x376b53['assign']({},_0x35f647,{[_0x4f63ea[_0x21f442]]:_0x594981['key']});_0x3a4bf8['jLjrb'](_0xb412e1,_0x3a4bf8[_0x5a575c(0x2d9)](_0x3038e8['length'],0x1))?_0xbbe34d[_0x5a575c(0x237)](_0x3692ad[_0x5a575c(0x341)]({},_0x21cadf,{'value':_0x3a4bf8['VtJBd'](_0x288e98,_0x14ddc9,_0x3e70d7)})):_0x3a4bf8[_0x5a575c(0x3c4)](_0x5ca8d8,_0x488139[_0x5a575c(0x1be)]&&_0x30e75d[_0x5a575c(0x1be)]['buckets']||[],_0x6748e3+0x1,_0x21cadf);}}if(_0x3a4bf8[_0x5a575c(0x2f5)](_0x49f978,_0x2fe79a))throw new DslError(_0x3a4bf8['sHpJd'],_0x3a4bf8[_0x5a575c(0x3a1)],{'detail':_0x30f60a});let _0x2a2b8c=_0x3a4bf8['NuZjb'](_0x49f978,0x1),_0x19695e='';while(_0x3a4bf8['TOSfH'](_0x2a2b8c,_0x2fe79a)&&/[a-z]/i[_0x5a575c(0x3d6)](_0x30f60a[_0x2a2b8c])){if(_0x3a4bf8[_0x5a575c(0x433)](_0x3a4bf8[_0x5a575c(0x3b9)],_0x3a4bf8[_0x5a575c(0x3b9)]))return _0x369ff4(_0x18991a['child'],_0x3d6271),_0x368528;else _0x19695e+=_0x30f60a[_0x2a2b8c],_0x2a2b8c++;}_0x26cffe[_0x5a575c(0x237)]({'type':_0x3a4bf8['MMLhU'],'source':_0x41a544,'flags':_0x19695e}),_0x1c4e9b=_0x2a2b8c;continue;}let _0x348473=_0x1c4e9b,_0x593577='';while(_0x348473<_0x2fe79a&&!/[\s(),"'/]/[_0x5a575c(0x3d6)](_0x30f60a[_0x348473])){_0x3a4bf8[_0x5a575c(0x3a8)](_0x3a4bf8[_0x5a575c(0x21d)],_0x3a4bf8[_0x5a575c(0x21d)])?(_0x2c76af+=_0x544250[_0x2b05d7],_0xd5ffa8++):(_0x593577+=_0x30f60a[_0x348473],_0x348473++);}_0x26cffe[_0x5a575c(0x237)]({'type':_0x3a4bf8[_0x5a575c(0x3fc)],'value':_0x593577}),_0x1c4e9b=_0x348473;}return _0x26cffe;}const CMP_OPS=[{'tok':'!=','cmp':'ne'},{'tok':'>=','cmp':_0x5db766(0x25c)},{'tok':'<=','cmp':_0x5db766(0x1c6)},{'tok':'~','cmp':_0x5db766(0x2e2)},{'tok':'>','cmp':'gt'},{'tok':'<','cmp':'lt'},{'tok':'=','cmp':'eq'},{'tok':':','cmp':'eq'}];function splitFieldOp(_0x44edc8){const _0x154a6f=_0x5db766,_0xc97d74={'ZbVYB':_0x154a6f(0x3b5),'TtyEZ':function(_0x5c777f,_0x20b14e){return _0x5c777f(_0x20b14e);},'NExMU':function(_0x3730d7,_0x4b6faa){return _0x3730d7(_0x4b6faa);},'yYJxU':_0x154a6f(0x326),'obWxJ':function(_0x4c5ef0,_0x36cff1){return _0x4c5ef0>_0x36cff1;},'HiGmT':function(_0x151a44,_0x8c918d){return _0x151a44<_0x8c918d;},'qZBwN':function(_0x194103,_0x4cb459){return _0x194103===_0x4cb459;},'fbfBT':_0x154a6f(0x1b7),'CIiIM':function(_0x5aebbb,_0x2081d4){return _0x5aebbb+_0x2081d4;}};let _0xe2daf1=null;for(const {tok:_0x4f4cf2,cmp:_0x28b74c}of CMP_OPS){if(_0xc97d74['yYJxU']===_0xc97d74['yYJxU']){const _0xd6b6ed=_0x44edc8['indexOf'](_0x4f4cf2);if(_0xc97d74[_0x154a6f(0x36b)](_0xd6b6ed,0x0)&&(_0xe2daf1===null||_0xc97d74[_0x154a6f(0x21f)](_0xd6b6ed,_0xe2daf1[_0x154a6f(0x2df)])||_0xc97d74[_0x154a6f(0x2ab)](_0xd6b6ed,_0xe2daf1[_0x154a6f(0x2df)])&&_0xc97d74[_0x154a6f(0x36b)](_0x4f4cf2[_0x154a6f(0x27a)],_0xe2daf1[_0x154a6f(0x25b)][_0x154a6f(0x27a)]))){if('gxRNF'!==_0xc97d74[_0x154a6f(0x3f5)])_0xe2daf1={'idx':_0xd6b6ed,'tok':_0x4f4cf2,'cmp':_0x28b74c};else{if(_0x5827b2[_0x154a6f(0x402)]===_0xc97d74[_0x154a6f(0x1b2)])_0xc97d74[_0x154a6f(0x3cb)](_0x1d9e59,_0x4730a2[_0x154a6f(0x3b5)]);}}}else{const _0x3678f4=_0xc97d74[_0x154a6f(0x264)](_0x450d69,_0x4bb5e9);if(!_0xed4c15[_0x154a6f(0x385)](_0x3678f4))throw new _0x18ac65(_0xc97d74[_0x154a6f(0x1b2)],'valor\x20numérico\x20inválido\x20para\x20'+_0x381a07+':\x20'+_0x3fec6f,{'field':_0x23144f});return _0x3678f4;}}if(!_0xe2daf1)return null;const _0x517732=_0x44edc8[_0x154a6f(0x282)](0x0,_0xe2daf1[_0x154a6f(0x2df)]);if(!/^[A-Za-z_][A-Za-z0-9_.-]*$/[_0x154a6f(0x3d6)](_0x517732))return null;return{'field':_0x517732,'cmp':_0xe2daf1[_0x154a6f(0x1f8)],'op':_0xe2daf1[_0x154a6f(0x25b)],'value':_0x44edc8[_0x154a6f(0x282)](_0xc97d74[_0x154a6f(0x458)](_0xe2daf1['idx'],_0xe2daf1[_0x154a6f(0x25b)][_0x154a6f(0x27a)]))};}function unquoteValue(_0x33a380){const _0x56774c=_0x5db766,_0x87967e={'Oasec':function(_0xe8b95,_0x486e31){return _0xe8b95>=_0x486e31;},'iFPJw':function(_0x1df04b,_0x3a138c){return _0x1df04b===_0x3a138c;}};if(_0x87967e[_0x56774c(0x33f)](_0x33a380['length'],0x2)&&(_0x87967e[_0x56774c(0x268)](_0x33a380[0x0],'\x22')&&_0x33a380[_0x56774c(0x434)]('\x22')||_0x33a380[0x0]==='\x27'&&_0x33a380['endsWith']('\x27')))return _0x33a380[_0x56774c(0x282)](0x1,-0x1);return _0x33a380;}function parseWhereAst(_0x25bf04){const _0x845bb8=_0x5db766,_0x65e674={'JKils':function(_0x429c74,_0x3fedb7){return _0x429c74===_0x3fedb7;},'OqFND':function(_0xc55925,_0x35836f,_0xb2cb83){return _0xc55925(_0x35836f,_0xb2cb83);},'FWXlt':function(_0x5edf34,_0x490acd){return _0x5edf34!==_0x490acd;},'xSWfm':_0x845bb8(0x368),'rHlnq':function(_0x44c479){return _0x44c479();},'gQPQK':function(_0x2fc427,_0x18c52e,_0x3f7720){return _0x2fc427(_0x18c52e,_0x3f7720);},'GiZAI':function(_0x4519fa){return _0x4519fa();},'xBnhr':function(_0x27cac9,_0x1d85e7){return _0x27cac9===_0x1d85e7;},'KjVBX':function(_0x90c040,_0x132879){return _0x90c040(_0x132879);},'wWfob':function(_0x237294,_0x14e5c9){return _0x237294!==_0x14e5c9;},'cKfhH':_0x845bb8(0x20e),'VIfoT':'exists(campo)\x20malformado','PMAcz':function(_0x26201a){return _0x26201a();},'InUHn':function(_0x2140fc,_0x327dc1){return _0x2140fc!==_0x327dc1;},'OhlkB':'SKlPy','NgTXs':function(_0x335ffd,_0x3545b2,_0x47391c){return _0x335ffd(_0x3545b2,_0x47391c);},'bBSjm':function(_0x2919fd){return _0x2919fd();},'sryVy':_0x845bb8(0x404),'YDqZp':_0x845bb8(0x361),'wHQWG':function(_0x3add3a,_0x5bfa53){return _0x3add3a===_0x5bfa53;},'Dbhdi':_0x845bb8(0x43c),'GlkTb':function(_0x4e1f61,_0xe588e4){return _0x4e1f61===_0xe588e4;},'MyBMX':_0x845bb8(0x287),'BUlKt':function(_0x270734,_0x5b3fcf){return _0x270734+_0x5b3fcf;},'nEhPA':_0x845bb8(0x19e),'QEANA':function(_0x1c16d0){return _0x1c16d0();},'XdAVA':'not','Kbnhv':function(_0x4b1fbf,_0x65e44f){return _0x4b1fbf===_0x65e44f;},'UbxVm':function(_0x2f47a4){return _0x2f47a4();},'WTswp':_0x845bb8(0x2bc),'HQurd':_0x845bb8(0x216),'Rjauc':function(_0x343e15,_0x4cfb58){return _0x343e15/_0x4cfb58;},'gOxbD':_0x845bb8(0x29c),'gtvil':'max','TlGvl':_0x845bb8(0x409),'cLYEp':function(_0x424c9a,_0x54a980,_0x440d58){return _0x424c9a(_0x54a980,_0x440d58);},'UdNOT':_0x845bb8(0x3f2),'JHsnA':function(_0x1010d0,_0x5e281e){return _0x1010d0(_0x5e281e);},'gpwVI':_0x845bb8(0x332),'sftAz':_0x845bb8(0x2db),'wTjPt':function(_0x358643,_0x385120,_0x596d1a){return _0x358643(_0x385120,_0x596d1a);},'YKELG':function(_0x23c653,_0x496788){return _0x23c653<_0x496788;},'KlUsn':function(_0x3e30db,_0x437f03){return _0x3e30db===_0x437f03;},'nhxWT':function(_0xa8aeee,_0x4dbee6,_0x316bf7){return _0xa8aeee(_0x4dbee6,_0x316bf7);},'RPhdy':_0x845bb8(0x234),'HUrnD':_0x845bb8(0x1df),'qFvzV':_0x845bb8(0x35a),'LyUUj':function(_0x1046eb,_0x4cd788){return _0x1046eb===_0x4cd788;},'CIiov':_0x845bb8(0x1d8),'SBalG':_0x845bb8(0x2d1),'jmsGR':function(_0xa0d88e){return _0xa0d88e();},'iOkia':function(_0x130b57,_0x12072d){return _0x130b57(_0x12072d);},'cAAPw':function(_0x109423,_0x1aab4d){return _0x109423+_0x1aab4d;},'KEDYm':function(_0x29e4bc,_0x29ebcd){return _0x29e4bc(_0x29ebcd);},'mSyAV':_0x845bb8(0x2b5),'uWIuT':function(_0x5d5d29,_0x1f4f0c){return _0x5d5d29===_0x1f4f0c;},'GaAon':function(_0xbf12ac,_0x154666){return _0xbf12ac===_0x154666;},'xSeGk':function(_0x4db90d,_0x27f6af){return _0x4db90d===_0x27f6af;},'YcRtE':function(_0x5c8cde,_0x424590){return _0x5c8cde===_0x424590;},'WTMIW':'QLEgK','AXJsD':_0x845bb8(0x218),'xMQNI':function(_0x5b91ec,_0xdc15f){return _0x5b91ec===_0xdc15f;},'oGOqi':_0x845bb8(0x298),'uSgWJ':_0x845bb8(0x2dc),'rTjDO':function(_0x24a029,_0x4d038d){return _0x24a029===_0x4d038d;},'rFqoH':_0x845bb8(0x307),'sCDHF':function(_0x5030af,_0x3dad97){return _0x5030af(_0x3dad97);},'vyQVq':'term','TMFJI':function(_0x44ef92){return _0x44ef92();},'ldWTS':function(_0x493083,_0x59d44d){return _0x493083<_0x59d44d;},'PNBWu':function(_0x572933,_0x4b23bb){return _0x572933===_0x4b23bb;},'woJYl':_0x845bb8(0x306)};let _0x51aeb6=0x0;const _0x5bce33=()=>_0x25bf04[_0x51aeb6],_0x3211bb=(_0xc55df9,_0x334b23)=>Boolean(_0xc55df9&&_0xc55df9['type']===_0x845bb8(0x20e)&&_0x334b23[_0x845bb8(0x3d6)](_0xc55df9[_0x845bb8(0x3e8)])),_0x32c7d1=_0x1b44d7=>{const _0x11c5ed=_0x845bb8,_0x192cad={'uOYnK':function(_0x4c6ca1,_0x3abe79){const _0x240f47=_0x7ff0;return _0x65e674[_0x240f47(0x38b)](_0x4c6ca1,_0x3abe79);},'QIbEH':function(_0x3ac72f,_0x487762,_0x48f3db){const _0x17624d=_0x7ff0;return _0x65e674[_0x17624d(0x378)](_0x3ac72f,_0x487762,_0x48f3db);}};if(_0x65e674[_0x11c5ed(0x38b)](_0x11c5ed(0x297),_0x11c5ed(0x297))){const _0x396b49=_0x25bf04[_0x51aeb6];if(!_0x396b49||_0x65e674[_0x11c5ed(0x20d)](_0x396b49[_0x11c5ed(0x1a0)],_0x1b44d7))throw new DslError(_0x65e674[_0x11c5ed(0x36e)],_0x11c5ed(0x2c3)+_0x1b44d7+_0x11c5ed(0x1e9));_0x51aeb6++;}else{const _0x3b2853=_0x192cad[_0x11c5ed(0x35f)](_0x4ecb56[_0x11c5ed(0x1a0)],_0x11c5ed(0x203))?_0x37cc1c[_0x11c5ed(0x203)]:_0x192cad[_0x11c5ed(0x42c)](_0x2448b5,_0x3c58ce[_0x11c5ed(0x1a0)],_0x175075['values']);_0x3e7071['push'](_0x480876[_0x11c5ed(0x341)]({},_0x48269e[_0x11c5ed(0x1ee)],{'value':_0x3b2853}));}};function _0x5c3644(){const _0x1e75a1=_0x845bb8,_0x56d9fe=[_0x65e674['rHlnq'](_0x2c846e)];while(_0x65e674[_0x1e75a1(0x3a9)](_0x3211bb,_0x65e674[_0x1e75a1(0x1bc)](_0x5bce33),/^or$/i)){_0x51aeb6++,_0x56d9fe[_0x1e75a1(0x237)](_0x2c846e());}return _0x65e674[_0x1e75a1(0x3d8)](_0x56d9fe['length'],0x1)?_0x56d9fe[0x0]:{'op':'or','children':_0x56d9fe};}function _0x2c846e(){const _0x2353da=_0x845bb8,_0x4fea6c=[_0x65e674[_0x2353da(0x36f)](_0x35c731)];for(;;){if(_0x65e674[_0x2353da(0x429)](_0x2353da(0x2b9),_0x65e674[_0x2353da(0x42e)]))return _0x526dae++,{'kind':'regex','source':_0x410e6[_0x2353da(0x383)],'flags':_0x3424dc[_0x2353da(0x312)]};else{const _0x1c8949=_0x65e674['PMAcz'](_0x5bce33);if(_0x65e674['NgTXs'](_0x3211bb,_0x1c8949,/^and$/i)){_0x51aeb6++,_0x4fea6c['push'](_0x65e674['bBSjm'](_0x35c731));continue;}const _0xa0c428=_0x1c8949&&(_0x65e674[_0x2353da(0x38b)](_0x1c8949[_0x2353da(0x1a0)],_0x65e674['sryVy'])||_0x1c8949[_0x2353da(0x1a0)]===_0x65e674[_0x2353da(0x380)]||_0x65e674['wHQWG'](_0x1c8949[_0x2353da(0x1a0)],'(')||_0x65e674[_0x2353da(0x38b)](_0x1c8949['type'],'word')&&!/^or$/i[_0x2353da(0x3d6)](_0x1c8949[_0x2353da(0x3e8)]));if(_0xa0c428){if(_0x65e674[_0x2353da(0x30e)]===_0x65e674[_0x2353da(0x30e)]){_0x4fea6c[_0x2353da(0x237)](_0x65e674[_0x2353da(0x436)](_0x35c731));continue;}else{_0x65e674[_0x2353da(0x26e)](_0xf1b5ac,'(');const _0x3099ce=_0x4f4b7c[_0x1b8813];if(!_0x3099ce||_0x65e674['wWfob'](_0x3099ce[_0x2353da(0x1a0)],_0x65e674[_0x2353da(0x413)]))throw new _0x17135d(_0x65e674[_0x2353da(0x36e)],_0x65e674[_0x2353da(0x1fb)]);return _0x57ae7a++,_0x3ed641(')'),{'kind':'exists','field':_0x3099ce[_0x2353da(0x3e8)]};}}break;}}return _0x65e674[_0x2353da(0x1f6)](_0x4fea6c[_0x2353da(0x27a)],0x1)?_0x4fea6c[0x0]:{'op':_0x65e674[_0x2353da(0x323)],'children':_0x4fea6c};}function _0x35c731(){const _0xc63197=_0x845bb8,_0x3d845a={'tGoxs':function(_0x603705,_0x376940){const _0x20d5f7=_0x7ff0;return _0x65e674[_0x20d5f7(0x43f)](_0x603705,_0x376940);}};if(_0x65e674['InUHn'](_0x65e674[_0xc63197(0x2f1)],_0xc63197(0x19e)))_0x499f73+=_0x4b8c4c[_0x3d845a['tGoxs'](_0x13cb51,0x1)]||'',_0x190801+=0x2;else{const _0x35dce4=_0x65e674[_0xc63197(0x3ad)](_0x5bce33);if(_0x65e674[_0xc63197(0x378)](_0x3211bb,_0x35dce4,/^not$/i))return _0x51aeb6++,{'op':_0x65e674[_0xc63197(0x2e0)],'child':_0x65e674[_0xc63197(0x436)](_0x35c731)};if(_0x35dce4&&_0x65e674[_0xc63197(0x252)](_0x35dce4[_0xc63197(0x1a0)],'(')){_0x51aeb6++;const _0x46a2ac=_0x65e674[_0xc63197(0x444)](_0x5c3644);return _0x32c7d1(')'),_0x46a2ac;}return _0x10fd53();}}function _0x10fd53(){const _0x55d9fc=_0x845bb8,_0x19e547={'YSfOU':function(_0x26889f,_0x267ffd){return _0x26889f+_0x267ffd;},'GXbtU':function(_0x11d49e,_0x10e4b0,_0x3efa37){const _0x1444da=_0x7ff0;return _0x65e674[_0x1444da(0x2e4)](_0x11d49e,_0x10e4b0,_0x3efa37);},'FwYHx':function(_0x47b6af,_0x378b18){const _0x2b4ae5=_0x7ff0;return _0x65e674[_0x2b4ae5(0x1f3)](_0x47b6af,_0x378b18);},'yHQOC':_0x55d9fc(0x368),'NUvpZ':function(_0x270933,_0x45811a){const _0x3b7b06=_0x55d9fc;return _0x65e674[_0x3b7b06(0x43f)](_0x270933,_0x45811a);},'vHgDv':function(_0x4ce901,_0x984b64){return _0x65e674['JHsnA'](_0x4ce901,_0x984b64);},'kJXLg':function(_0x13dc68,_0xbb6ef4){const _0x349ede=_0x55d9fc;return _0x65e674[_0x349ede(0x1e5)](_0x13dc68,_0xbb6ef4);},'ELoyO':function(_0x2b7776,_0x3e44b9){return _0x2b7776(_0x3e44b9);},'YJkFF':_0x65e674[_0x55d9fc(0x3f6)],'EiCmH':function(_0x39042e,_0x2aca8f,_0x292ae0){const _0x1096d5=_0x55d9fc;return _0x65e674[_0x1096d5(0x3d4)](_0x39042e,_0x2aca8f,_0x292ae0);},'fvvCi':_0x65e674[_0x55d9fc(0x22c)],'rqtYB':function(_0x1daf7f,_0x4bf570){const _0x2448b0=_0x55d9fc;return _0x65e674[_0x2448b0(0x26e)](_0x1daf7f,_0x4bf570);},'PSOMT':_0x65e674[_0x55d9fc(0x3e9)],'gXJeC':_0x65e674[_0x55d9fc(0x32b)]},_0x5aa5a3=_0x25bf04[_0x51aeb6];if(!_0x5aa5a3)throw new DslError(_0x65e674[_0x55d9fc(0x36e)],_0x65e674[_0x55d9fc(0x269)]);if(_0x65e674['Kbnhv'](_0x5aa5a3[_0x55d9fc(0x1a0)],_0x65e674[_0x55d9fc(0x3ef)]))return _0x51aeb6++,{'kind':_0x65e674['sryVy'],'value':_0x5aa5a3[_0x55d9fc(0x3e8)]};if(_0x65e674[_0x55d9fc(0x1b8)](_0x5aa5a3[_0x55d9fc(0x1a0)],_0x65e674[_0x55d9fc(0x380)]))return _0x51aeb6++,{'kind':_0x65e674[_0x55d9fc(0x380)],'source':_0x5aa5a3[_0x55d9fc(0x383)],'flags':_0x5aa5a3[_0x55d9fc(0x312)]};if(_0x65e674[_0x55d9fc(0x1b8)](_0x5aa5a3['type'],')'))throw new DslError(_0x65e674[_0x55d9fc(0x36e)],_0x65e674['CIiov']);if(_0x65e674['wHQWG'](_0x5aa5a3['type'],','))throw new DslError(_0x65e674[_0x55d9fc(0x36e)],_0x65e674['SBalG']);_0x51aeb6++;const _0x260fcd=_0x5aa5a3[_0x55d9fc(0x3e8)];if(/^contains$/i[_0x55d9fc(0x3d6)](_0x260fcd)&&_0x25bf04[_0x51aeb6]&&_0x25bf04[_0x51aeb6][_0x55d9fc(0x1a0)]==='('){_0x51aeb6++;const _0x7a91e7=_0x65e674['jmsGR'](_0x5c3644);return _0x65e674['JHsnA'](_0x32c7d1,')'),{'kind':_0x55d9fc(0x2e2),'expr':_0x7a91e7};}if(/^exists$/i[_0x55d9fc(0x3d6)](_0x260fcd)){_0x65e674['JHsnA'](_0x32c7d1,'(');const _0x39d30e=_0x25bf04[_0x51aeb6];if(!_0x39d30e||_0x65e674[_0x55d9fc(0x1e4)](_0x39d30e[_0x55d9fc(0x1a0)],_0x65e674['cKfhH']))throw new DslError(_0x65e674[_0x55d9fc(0x36e)],_0x65e674[_0x55d9fc(0x1fb)]);return _0x51aeb6++,_0x65e674[_0x55d9fc(0x2a8)](_0x32c7d1,')'),{'kind':_0x55d9fc(0x403),'field':_0x39d30e[_0x55d9fc(0x3e8)]};}const _0x224cfd=_0x25bf04[_0x51aeb6];if(_0x65e674[_0x55d9fc(0x3d4)](_0x3211bb,_0x224cfd,/^in$/i)&&_0x25bf04[_0x65e674[_0x55d9fc(0x2ef)](_0x51aeb6,0x1)]&&_0x65e674[_0x55d9fc(0x3d8)](_0x25bf04[_0x51aeb6+0x1][_0x55d9fc(0x1a0)],'(')&&!_0x65e674[_0x55d9fc(0x1d0)](splitFieldOp,_0x260fcd)){_0x51aeb6+=0x2;const _0x1b0f5d=[];for(;;){const _0x2441cd=_0x25bf04[_0x51aeb6];if(!_0x2441cd)throw new DslError(_0x65e674[_0x55d9fc(0x36e)],_0x65e674[_0x55d9fc(0x238)]);if(_0x65e674[_0x55d9fc(0x43b)](_0x2441cd[_0x55d9fc(0x1a0)],')')){_0x51aeb6++;break;}if(_0x65e674[_0x55d9fc(0x42a)](_0x2441cd['type'],',')){if(_0x55d9fc(0x24d)!==_0x55d9fc(0x24d)){const _0x3e79b2=new _0x468e9e(_0x55d9fc(0x23a)+_0x395394+'\x5cs*\x5c(','i'),_0x3fb304=_0x3e79b2[_0x55d9fc(0x3d5)](_0x2d6495);if(!_0x3fb304)return null;const _0x3f2f73=_0xa646f8[_0x55d9fc(0x36c)]('(',_0x19e547[_0x55d9fc(0x45c)](_0x3fb304[_0x55d9fc(0x199)],_0x3fb304[0x0][_0x55d9fc(0x27a)])-0x1),_0x43f521=_0x19e547[_0x55d9fc(0x1e8)](_0x1c3be5,_0x398bc4,_0x3f2f73);if(_0x19e547['FwYHx'](_0x43f521,0x0))throw new _0x375f76(_0x19e547['yHQOC'],'parênteses\x20não\x20balanceados\x20em\x20'+_0x261a2c+'(...)',{'detail':_0xcaf101+_0x55d9fc(0x28f)});return{'content':_0x3de26e['slice'](_0x3f2f73+0x1,_0x43f521),'start':_0x19e547[_0x55d9fc(0x226)](_0x3fb304[_0x55d9fc(0x199)],_0x3fb304[0x1]?_0x3fb304[0x1][_0x55d9fc(0x27a)]:0x0),'end':_0x19e547['YSfOU'](_0x43f521,0x1)};}else{_0x51aeb6++;continue;}}if(_0x65e674[_0x55d9fc(0x35e)](_0x2441cd['type'],_0x65e674[_0x55d9fc(0x413)])||_0x65e674[_0x55d9fc(0x38b)](_0x2441cd[_0x55d9fc(0x1a0)],'phrase')){if(_0x65e674['YcRtE'](_0x65e674[_0x55d9fc(0x1c5)],_0x65e674['WTMIW'])){_0x1b0f5d['push'](_0x65e674['KEDYm'](unquoteValue,_0x2441cd[_0x55d9fc(0x3e8)])),_0x51aeb6++;continue;}else{if(_0x65e674[_0x55d9fc(0x1f6)](_0xe7d360[_0x55d9fc(0x27a)],0x0))return null;if(_0x65e674['JKils'](_0x3da2e4,_0x65e674['WTswp']))return _0x40b5d3['reduce']((_0x45b063,_0x472c8b)=>_0x45b063+_0x472c8b,0x0);if(_0x65e674[_0x55d9fc(0x23e)](_0x2c5e66,_0x65e674[_0x55d9fc(0x37d)]))return _0x65e674[_0x55d9fc(0x348)](_0x5c03bc['reduce']((_0xd2f03e,_0x312dc1)=>_0xd2f03e+_0x312dc1,0x0),_0x5cc0fc['length']);if(_0x65e674[_0x55d9fc(0x1f6)](_0x398726,_0x65e674[_0x55d9fc(0x3c0)]))return _0x4ccf7d[_0x55d9fc(0x29c)](..._0x5213ff);if(_0x65e674[_0x55d9fc(0x3d8)](_0x279b49,_0x65e674['gtvil']))return _0x23e7c9[_0x55d9fc(0x303)](..._0x4a6572);const _0x3650fc=_0x2bdda8[_0x55d9fc(0x282)]()[_0x55d9fc(0x410)]((_0x398c8f,_0x130712)=>_0x398c8f-_0x130712);if(_0x41dbe7===_0x65e674[_0x55d9fc(0x33e)])return _0x65e674[_0x55d9fc(0x321)](_0x3363c1,_0x3650fc,0x5f);if(_0x16e64d===_0x65e674[_0x55d9fc(0x255)])return _0x65e674[_0x55d9fc(0x378)](_0x59ea92,_0x3650fc,0x63);return null;}}throw new DslError(_0x65e674[_0x55d9fc(0x36e)],_0x65e674['AXJsD']);}if(_0x65e674['xMQNI'](_0x1b0f5d['length'],0x0))throw new DslError(_0x65e674[_0x55d9fc(0x36e)],'lista\x20in(...)\x20vazia');return{'kind':'in','field':_0x260fcd,'values':_0x1b0f5d};}const _0x62378c=splitFieldOp(_0x260fcd);if(_0x62378c){if(_0x65e674[_0x55d9fc(0x20d)](_0x65e674['oGOqi'],_0x65e674[_0x55d9fc(0x3e5)])){let _0x295311=_0x62378c[_0x55d9fc(0x3e8)];if(_0x65e674['rTjDO'](_0x295311,'')){if(_0x65e674[_0x55d9fc(0x1e5)](_0x65e674[_0x55d9fc(0x2a4)],_0x65e674[_0x55d9fc(0x2a4)])){const _0x29c9fe=_0x25bf04[_0x51aeb6];if(_0x29c9fe&&_0x29c9fe[_0x55d9fc(0x1a0)]===_0x65e674['sryVy'])_0x295311=_0x29c9fe[_0x55d9fc(0x3e8)],_0x51aeb6++;else throw new DslError(_0x65e674[_0x55d9fc(0x36e)],_0x55d9fc(0x1fc)+_0x62378c[_0x55d9fc(0x3b5)]+_0x62378c['op']+'\x22');}else{if(_0x1bfe10[_0x55d9fc(0x442)][_0x55d9fc(0x1cf)](_0x419abc))return;if(_0x65e674['JHsnA'](_0x44c8c3,_0x2f80d0)){_0x3aa510[_0x55d9fc(0x40c)](_0x65e674[_0x55d9fc(0x3f6)]);return;}if(_0xe3ac26(_0x255621)){_0x3850fb['add'](_0x65e674[_0x55d9fc(0x3e9)]);return;}_0x11c012[_0x55d9fc(0x40c)](_0x59e1d0);}}else _0x295311=_0x65e674[_0x55d9fc(0x38a)](unquoteValue,_0x295311);return{'kind':'field','field':_0x62378c[_0x55d9fc(0x3b5)],'cmp':_0x62378c['cmp'],'value':_0x295311};}else{if(_0x19e547[_0x55d9fc(0x450)](_0x33dcd0,_0x57011a)){if(_0x19e547['kJXLg'](_0x3a9d3d[_0x55d9fc(0x435)],_0x169e39))_0x43a67f[_0x55d9fc(0x435)]=_0x19e547[_0x55d9fc(0x425)](_0xdb9b9b,_0x19e547[_0x55d9fc(0x1e8)](_0xac3302,_0x40c134,_0x19e547[_0x55d9fc(0x2c7)]));return _0x3cb285[_0x55d9fc(0x435)]?_0x19e547['EiCmH'](_0x5dc1f6,_0x60d416['body'],_0x4a4d44[_0x55d9fc(0x282)](_0x19e547[_0x55d9fc(0x32f)][_0x55d9fc(0x27a)])):_0x1a0f67;}if(_0x19e547[_0x55d9fc(0x344)](_0xe2f0ad,_0xaf01af)){if(_0x19e547[_0x55d9fc(0x43d)](_0x5b4bab[_0x55d9fc(0x220)],_0x1da7cc))_0x431ccb['response']=_0x19e547['ELoyO'](_0x2a6fb8,_0x19e547[_0x55d9fc(0x36a)](_0x38898e,_0x83fd12,_0x19e547[_0x55d9fc(0x3c9)]));return _0x524514[_0x55d9fc(0x220)]?_0x19e547[_0x55d9fc(0x1e8)](_0x1e13a,_0x4b4b87[_0x55d9fc(0x220)],_0x31c539[_0x55d9fc(0x282)](_0x19e547['gXJeC']['length'])):_0x301f43;}return _0x516d82;}}return{'kind':_0x65e674[_0x55d9fc(0x39d)],'value':_0x260fcd};}const _0x217ef5=_0x65e674['TMFJI'](_0x5c3644);if(_0x65e674[_0x845bb8(0x379)](_0x51aeb6,_0x25bf04[_0x845bb8(0x27a)])){if(_0x65e674['PNBWu'](_0x65e674['woJYl'],_0x845bb8(0x416))){const _0x256e55=_0x45a41e({..._0xd70d39,'cmp':'eq'},_0x4a6ce9);return{'bool':{'must_not':[_0x256e55]}};}else{const _0xe68a4b=_0x25bf04[_0x51aeb6];throw new DslError(_0x845bb8(0x368),_0x845bb8(0x219)+(_0xe68a4b[_0x845bb8(0x3e8)]||_0xe68a4b[_0x845bb8(0x1a0)])+'\x22');}}return _0x217ef5;}function flattenAstLeaves(_0x28daed,_0x514069=[]){const _0x19937e=_0x5db766,_0x4a1dae={'PoGNm':function(_0x54edbc,_0x11eeea){return _0x54edbc+_0x11eeea;},'laJle':function(_0x55857c,_0x3b1ce9){return _0x55857c+_0x3b1ce9;},'vsngV':function(_0x127146,_0x2fdcc0){return _0x127146-_0x2fdcc0;},'SdjQI':function(_0x5cdbf1,_0x5ae6b9){return _0x5cdbf1===_0x5ae6b9;},'QaVDB':function(_0x193c34,_0x204bc4){return _0x193c34===_0x204bc4;},'wdZRK':function(_0x4441d2,_0x1ff028){return _0x4441d2(_0x1ff028);},'pFHqP':_0x19937e(0x287),'bitLp':function(_0xa2015,_0x1219bb){return _0xa2015===_0x1219bb;},'Bwmio':function(_0x5846c9,_0x31b2b3){return _0x5846c9!==_0x31b2b3;},'LInuS':_0x19937e(0x1ed),'ptcXO':function(_0x229f94,_0x5b9168){return _0x229f94===_0x5b9168;},'hUNSq':'YoTRN','SgdhR':function(_0x43d370,_0x4c9320,_0x4a6bc1){return _0x43d370(_0x4c9320,_0x4a6bc1);}};if(!_0x28daed)return _0x514069;if(_0x28daed['op']===_0x4a1dae[_0x19937e(0x401)]||_0x4a1dae[_0x19937e(0x242)](_0x28daed['op'],'or')){if(_0x4a1dae['Bwmio'](_0x4a1dae[_0x19937e(0x1a5)],_0x4a1dae['LInuS']))_0x1fd26f[_0x31c8f4]=_0x34d3ce[_0x19937e(0x449)],_0x1a9c39=_0x4a1dae['PoGNm'](_0x4a1dae[_0x19937e(0x358)](_0x310b27[_0x19937e(0x282)](0x0,_0x255071[_0x19937e(0x2c9)]),'\x20'[_0x19937e(0x415)](_0x4a1dae[_0x19937e(0x340)](_0x316116[_0x19937e(0x1f2)],_0x16fd74[_0x19937e(0x2c9)]))),_0x3c74fa[_0x19937e(0x282)](_0x2d38a9[_0x19937e(0x1f2)]));else return _0x28daed[_0x19937e(0x1c1)][_0x19937e(0x20c)](_0x559018=>flattenAstLeaves(_0x559018,_0x514069)),_0x514069;}if(_0x4a1dae[_0x19937e(0x420)](_0x28daed['op'],_0x19937e(0x1a7))){if(_0x19937e(0x22d)!==_0x4a1dae[_0x19937e(0x24f)]){if(_0x4a1dae[_0x19937e(0x30c)](_0xbc026d,null)||_0x6236b2===_0x11a3b3||_0x4a1dae[_0x19937e(0x231)](_0x1c8e1b,''))return null;const _0x2d65e9=_0x4a1dae['wdZRK'](_0x26dec5,_0x107082);return _0x1b5195[_0x19937e(0x385)](_0x2d65e9)?_0x2d65e9:null;}else return _0x4a1dae[_0x19937e(0x320)](flattenAstLeaves,_0x28daed[_0x19937e(0x2d0)],_0x514069),_0x514069;}return _0x514069['push'](_0x28daed),_0x514069;}const RANGE_CMPS=new Set(['gt',_0x5db766(0x25c),'lt',_0x5db766(0x1c6)]);function isRangeableField(_0x82e5e8){const _0x1a3290=_0x5db766,_0x155370={'pvezl':function(_0x3ac3eb,_0xbf4991){return _0x3ac3eb===_0xbf4991;},'xVXsq':_0x1a3290(0x2ea)};return isKvnPath(_0x82e5e8)||LOG_NUMERIC_FIELDS[_0x1a3290(0x1cf)](_0x82e5e8)||_0x155370[_0x1a3290(0x35b)](_0x82e5e8,_0x155370[_0x1a3290(0x2ac)]);}function isKnownField(_0x8f8a7,_0x388c07){const _0x98420=_0x5db766,_0x1965cc={'yPlUs':function(_0x2463c0,_0x4d303d){return _0x2463c0===_0x4d303d;},'KWkaN':_0x98420(0x2c4),'DTyTz':function(_0x519ee1,_0x1e323c){return _0x519ee1===_0x1e323c;},'LoFhT':_0x98420(0x2ea),'OWrDj':function(_0x314c0e,_0x58bdff){return _0x314c0e(_0x58bdff);},'zQZkf':function(_0x229b62,_0x37a8b2){return _0x229b62(_0x37a8b2);}};return _0x1965cc[_0x98420(0x20b)](_0x8f8a7,_0x1965cc[_0x98420(0x288)])||_0x1965cc['DTyTz'](_0x8f8a7,_0x1965cc[_0x98420(0x2d6)])||LOG_FIELD_ALLOWLIST[_0x98420(0x1cf)](_0x8f8a7)||_0x1965cc[_0x98420(0x3ee)](isKvPath,_0x8f8a7)||_0x1965cc[_0x98420(0x270)](isKvnPath,_0x8f8a7)||_0x388c07&&_0x388c07[_0x98420(0x1cf)](_0x8f8a7);}function validateWhereAst(_0x318e1c,_0x351c91,_0x247bb9,_0x278b59=![]){const _0xae0edb=_0x5db766,_0x4dae79={'ViFqB':function(_0x263e3f,_0x1c368a){return _0x263e3f+_0x1c368a;},'qsukz':_0xae0edb(0x41f),'ZcKmg':function(_0x4b321a,_0x37a1df,_0x522d51){return _0x4b321a(_0x37a1df,_0x522d51);},'ZKjPy':_0xae0edb(0x361),'VTsdl':'regex\x20só\x20é\x20suportada\x20em\x20cláusulas\x20AND\x20de\x20topo\x20(sem\x20OR/NOT)','djFqD':function(_0x2c1b0d,_0x57a33a){return _0x2c1b0d===_0x57a33a;},'UzUnd':_0xae0edb(0x287),'PPUTl':function(_0x4c89f8,_0x4e9e8f){return _0x4c89f8!==_0x4e9e8f;},'ggwVX':'NIOZs','eNpxp':_0xae0edb(0x309),'GjatK':function(_0x5537b5,_0x106703){return _0x5537b5===_0x106703;},'gyqsf':_0xae0edb(0x1a7),'fnyCm':function(_0x3bbf17,_0x146d63,_0x537636,_0x156aae,_0x16e1c0){return _0x3bbf17(_0x146d63,_0x537636,_0x156aae,_0x16e1c0);},'RGLFm':function(_0x22af67,_0x2441ff){return _0x22af67===_0x2441ff;},'qglez':'WNIFt','knrnn':'contains','NmnFx':_0xae0edb(0x1b3),'AnYVp':_0xae0edb(0x368),'hJsRO':function(_0x75edf7,_0x1ac5c1){return _0x75edf7===_0x1ac5c1;},'MPNet':_0xae0edb(0x3e0),'ckOQw':'bXVDq','kzwMF':_0xae0edb(0x274),'DjgmG':_0xae0edb(0x404),'HRKtk':_0xae0edb(0x3b5),'UutOm':function(_0x1aacf8,_0x78e10a){return _0x1aacf8(_0x78e10a);},'QpnaY':function(_0x3234db,_0x5b76c1){return _0x3234db===_0x5b76c1;},'ERwyU':_0xae0edb(0x3fd),'ViZom':function(_0x540c2a,_0x494829){return _0x540c2a===_0x494829;},'qpnMu':_0xae0edb(0x359),'iynLJ':_0xae0edb(0x26c),'WJtGS':_0xae0edb(0x424),'jwYtx':function(_0x1baf03,_0x433830){return _0x1baf03===_0x433830;}};if(!_0x318e1c)return;if(_0x4dae79[_0xae0edb(0x351)](_0x318e1c['op'],_0x4dae79['UzUnd'])){_0x318e1c[_0xae0edb(0x1c1)][_0xae0edb(0x20c)](_0x1fd9b2=>validateWhereAst(_0x1fd9b2,_0x351c91,_0x247bb9,_0x278b59));return;}if(_0x318e1c['op']==='or'){if(_0x4dae79[_0xae0edb(0x377)](_0x4dae79[_0xae0edb(0x1e6)],_0x4dae79[_0xae0edb(0x3c5)])){_0x318e1c[_0xae0edb(0x1c1)][_0xae0edb(0x20c)](_0x41cc36=>validateWhereAst(_0x41cc36,_0x351c91,_0x247bb9,!![]));return;}else _0x12d82c+=_0x4dae79[_0xae0edb(0x337)]('\x5c',_0x50f879[_0x4dae79[_0xae0edb(0x337)](_0x4593a7,0x1)]||''),_0x196042+=0x2;}if(_0x4dae79[_0xae0edb(0x33a)](_0x318e1c['op'],_0x4dae79[_0xae0edb(0x367)])){_0x4dae79[_0xae0edb(0x1d2)](validateWhereAst,_0x318e1c[_0xae0edb(0x2d0)],_0x351c91,_0x247bb9,!![]);return;}if(_0x4dae79['RGLFm'](_0x318e1c['kind'],_0x4dae79[_0xae0edb(0x441)])){if(_0x4dae79[_0xae0edb(0x377)](_0x4dae79[_0xae0edb(0x3c8)],_0x4dae79[_0xae0edb(0x3c8)]))_0xa26384=_0x25aa29[0x1][_0xae0edb(0x3d7)](),_0xbb55c2=_0x39ba53['slice'](_0x247254[0x0][_0xae0edb(0x27a)]);else{if(!_0x247bb9[_0xae0edb(0x375)])throw new DslError(_0x4dae79[_0xae0edb(0x441)],_0xae0edb(0x2b0)+_0x247bb9[_0xae0edb(0x360)]);if(_0x278b59)throw new DslError(_0x4dae79[_0xae0edb(0x441)],_0xae0edb(0x39e));return;}}if(_0x318e1c[_0xae0edb(0x402)]===_0x4dae79['knrnn']){if(_0x247bb9[_0xae0edb(0x360)]!==_0x4dae79[_0xae0edb(0x2a1)])throw new DslError(_0x4dae79[_0xae0edb(0x200)],_0xae0edb(0x400)+_0x247bb9['name']+')');if(_0x278b59){if(_0x4dae79['hJsRO'](_0x4dae79[_0xae0edb(0x2dd)],_0x4dae79[_0xae0edb(0x459)])){const _0x4322ba=_0x1eb4b9[_0x50c98f&&_0x2f301c[_0xae0edb(0x260)]||_0x4dae79[_0xae0edb(0x3b1)]],_0xca4bd={'range':{[_0x4322ba[_0xae0edb(0x1ca)]]:{'gte':_0x216514[_0xae0edb(0x195)],'lte':_0x2836ca['to']}}},_0x170d3f=_0x4dae79[_0xae0edb(0x3de)](_0x3a4c71,_0x135e39[_0xae0edb(0x334)],_0x3e0e36[_0x1e8c63&&_0x5dce11['dataset']||_0x4dae79[_0xae0edb(0x3b1)]]);if(!_0x170d3f)return{'bool':{'filter':[_0xca4bd]}};return{'bool':{'filter':[_0xca4bd],'must':[_0x170d3f]}};}else throw new DslError(_0x4dae79[_0xae0edb(0x200)],_0x4dae79[_0xae0edb(0x315)]);}_0x4dae79[_0xae0edb(0x1d2)](validateWhereAst,_0x318e1c['expr'],_0x351c91,DATASET_PROFILES[_0xae0edb(0x1d9)],![]);return;}if(_0x318e1c[_0xae0edb(0x402)]===_0x4dae79[_0xae0edb(0x407)]||_0x4dae79[_0xae0edb(0x33a)](_0x318e1c[_0xae0edb(0x402)],'term'))return;const _0x562d95=_0x318e1c[_0xae0edb(0x3b5)];if(!_0x247bb9[_0xae0edb(0x1bf)](_0x562d95,_0x351c91))throw new DslError(_0x4dae79[_0xae0edb(0x1a2)],_0xae0edb(0x28c)+_0x562d95,{'field':_0x562d95});if(_0x4dae79['UutOm'](isPayloadPath,_0x562d95)&&_0x278b59){if(_0x4dae79[_0xae0edb(0x25f)](_0xae0edb(0x31e),'Tpisn')){if(!_0x4dfd6d[_0xae0edb(0x375)])throw new _0xef5973(_0x4dae79['ZKjPy'],_0xae0edb(0x2b0)+_0x4cdffa[_0xae0edb(0x360)]);if(_0x4c532e)throw new _0x207cbd(_0xae0edb(0x361),_0x4dae79[_0xae0edb(0x3ff)]);return;}else throw new DslError(_0xae0edb(0x3b5),_0x562d95+'\x20(campo\x20do\x20payload)\x20só\x20é\x20suportado\x20em\x20cláusulas\x20AND\x20de\x20topo\x20(sem\x20OR/NOT)',{'field':_0x562d95});}const _0x2f803d=_0x247bb9['info'](_0x562d95)||{};if(_0x318e1c[_0xae0edb(0x402)]===_0x4dae79['HRKtk']&&RANGE_CMPS[_0xae0edb(0x1cf)](_0x318e1c[_0xae0edb(0x1f8)])&&!_0x247bb9[_0xae0edb(0x363)](_0x562d95))throw new DslError(_0x4dae79[_0xae0edb(0x1a2)],_0xae0edb(0x2c1)+_0x562d95+_0xae0edb(0x443),{'field':_0x562d95});if(_0x318e1c['kind']===_0xae0edb(0x3b5)&&_0x4dae79[_0xae0edb(0x33a)](_0x318e1c['cmp'],_0x4dae79[_0xae0edb(0x1bd)])&&(_0x4dae79[_0xae0edb(0x351)](_0x2f803d[_0xae0edb(0x1a0)],_0x4dae79[_0xae0edb(0x1c2)])||_0x4dae79[_0xae0edb(0x396)](_0x2f803d[_0xae0edb(0x1a0)],_0x4dae79[_0xae0edb(0x2a0)])||_0x4dae79[_0xae0edb(0x33a)](_0x2f803d['type'],_0x4dae79[_0xae0edb(0x1e7)])))throw new DslError('field',_0xae0edb(0x289)+_0x562d95,{'field':_0x562d95});if((_0x4dae79[_0xae0edb(0x25f)](_0x318e1c[_0xae0edb(0x402)],'in')||_0x318e1c[_0xae0edb(0x402)]==='exists')&&_0x4dae79[_0xae0edb(0x37e)](_0x2f803d[_0xae0edb(0x1a0)],_0x4dae79[_0xae0edb(0x31c)]))throw new DslError(_0xae0edb(0x3b5),_0x318e1c[_0xae0edb(0x402)]+_0xae0edb(0x301)+_0x562d95,{'field':_0x562d95});if(_0x4dae79[_0xae0edb(0x33a)](_0x318e1c[_0xae0edb(0x402)],_0x4dae79[_0xae0edb(0x1a2)])&&_0x4dae79['jwYtx'](_0x2f803d['type'],_0x4dae79['qpnMu'])&&!RANGE_CMPS[_0xae0edb(0x1cf)](_0x318e1c[_0xae0edb(0x1f8)]))throw new DslError(_0xae0edb(0x3b5),_0x562d95+_0xae0edb(0x3db),{'field':_0x562d95});}function fieldPathInfo(_0x43d3ae){const _0x9c8162=_0x5db766,_0x4826bd={'YkVQn':_0x9c8162(0x2c4),'otMBH':_0x9c8162(0x3e2),'urxlQ':'numeric','TCoXA':_0x9c8162(0x31d),'UIrSK':function(_0x1293b8,_0x2600c5){return _0x1293b8(_0x2600c5);},'akVhm':function(_0x115b93,_0x4c0c04){return _0x115b93===_0x4c0c04;},'hhljb':'timestamp','jlKDi':_0x9c8162(0x359)},_0x5ee562=_0x9c8162(0x345)['split']('|');let _0x342665=0x0;while(!![]){switch(_0x5ee562[_0x342665++]){case'0':if(_0x43d3ae===_0x4826bd[_0x9c8162(0x2fc)])return{'path':_0x4826bd[_0x9c8162(0x2fc)],'type':_0x9c8162(0x424),'keywordPath':_0x4826bd[_0x9c8162(0x29e)],'existsPath':_0x4826bd[_0x9c8162(0x2fc)]};continue;case'1':if(LOG_NUMERIC_FIELDS[_0x9c8162(0x1cf)](_0x43d3ae))return{'path':_0x43d3ae,'type':_0x4826bd[_0x9c8162(0x34a)],'existsPath':_0x43d3ae};continue;case'2':return{'path':_0x43d3ae+'.keyword','type':_0x4826bd[_0x9c8162(0x3bc)],'existsPath':_0x43d3ae};case'3':if(_0x4826bd['UIrSK'](isKvPath,_0x43d3ae))return{'path':_0x43d3ae,'type':'kv','existsPath':_0x43d3ae};continue;case'4':if(_0x4826bd[_0x9c8162(0x1c8)](_0x43d3ae,_0x4826bd[_0x9c8162(0x3f8)]))return{'path':TIME_FIELD,'type':_0x4826bd['jlKDi'],'existsPath':TIME_FIELD};continue;case'5':if(isKvnPath(_0x43d3ae))return{'path':_0x43d3ae,'type':_0x9c8162(0x3fd),'existsPath':_0x43d3ae};continue;}break;}}const REQUESTS_FIELD_MAP={'serviceName':{'path':_0x5db766(0x3b2),'type':_0x5db766(0x31d),'existsPath':'service.name'},'service':{'path':_0x5db766(0x3b2),'type':'keyword','existsPath':_0x5db766(0x382)},'method':{'path':_0x5db766(0x1d3),'type':_0x5db766(0x31d),'existsPath':'request.method','upper':!![]},'path':{'path':_0x5db766(0x1cc),'type':_0x5db766(0x424),'keywordPath':'request.url.path.keyword','existsPath':_0x5db766(0x1cc)},'body':{'path':_0x5db766(0x332),'type':'text','keywordPath':'request.body.keyword','existsPath':'request.body'},'response':{'path':'response.result','type':_0x5db766(0x424),'keywordPath':'response.result.keyword','existsPath':_0x5db766(0x2db)},'statusCode':{'path':_0x5db766(0x43a),'type':_0x5db766(0x3fd),'existsPath':_0x5db766(0x43a)},'duration':{'path':_0x5db766(0x311),'type':'numeric','existsPath':_0x5db766(0x311)},'durationMs':{'path':_0x5db766(0x311),'type':_0x5db766(0x3fd),'existsPath':_0x5db766(0x311)},'uuid':{'path':_0x5db766(0x290),'type':_0x5db766(0x31d),'existsPath':_0x5db766(0x27c)},'correlationId':{'path':_0x5db766(0x428),'type':'keyword','existsPath':_0x5db766(0x330)},'traceId':{'path':_0x5db766(0x2e8),'type':'keyword','existsPath':'traceId'},'gatewayId':{'path':'gatewayId.keyword','type':'keyword','existsPath':_0x5db766(0x1e3)},'remoteAddress':{'path':_0x5db766(0x25e),'type':_0x5db766(0x31d),'existsPath':_0x5db766(0x2ce)},'timestamp':{'path':_0x5db766(0x374),'type':_0x5db766(0x359),'existsPath':'timers.finished.at'}},SPANS_FIELD_MAP={'service':{'path':_0x5db766(0x293),'type':_0x5db766(0x31d),'existsPath':_0x5db766(0x20f)},'name':{'path':'name','type':_0x5db766(0x424),'keywordPath':'name.keyword','existsPath':_0x5db766(0x360)},'kind':{'path':_0x5db766(0x33c),'type':_0x5db766(0x31d),'existsPath':_0x5db766(0x402)},'gatewayId':{'path':_0x5db766(0x3b4),'type':_0x5db766(0x31d),'existsPath':'gatewayId'},'clientId':{'path':'clientId.keyword','type':'keyword','existsPath':_0x5db766(0x37a)},'traceId':{'path':'traceId.keyword','type':_0x5db766(0x31d),'existsPath':_0x5db766(0x3da)},'spanId':{'path':'spanId.keyword','type':_0x5db766(0x31d),'existsPath':_0x5db766(0x2eb)},'parentSpanId':{'path':_0x5db766(0x265),'type':_0x5db766(0x31d),'existsPath':_0x5db766(0x271)},'correlationId':{'path':_0x5db766(0x428),'type':'keyword','existsPath':_0x5db766(0x330)},'requestId':{'path':_0x5db766(0x3fa),'type':'keyword','existsPath':_0x5db766(0x388)},'flowId':{'path':_0x5db766(0x2a6),'type':'keyword','existsPath':_0x5db766(0x2b4)},'statusCode':{'path':'statusCode','type':'numeric','existsPath':_0x5db766(0x28a)},'durationMs':{'path':_0x5db766(0x3a2),'type':_0x5db766(0x3fd),'existsPath':'durationMs'},'hasError':{'path':_0x5db766(0x44d),'type':_0x5db766(0x26c),'existsPath':_0x5db766(0x44d)},'timestamp':{'path':_0x5db766(0x39f),'type':'date','existsPath':_0x5db766(0x39f)},'language':{'path':_0x5db766(0x279),'type':_0x5db766(0x31d),'existsPath':_0x5db766(0x322)},'env':{'path':_0x5db766(0x316),'type':'keyword','existsPath':_0x5db766(0x247)},'version':{'path':_0x5db766(0x2b3),'type':'keyword','existsPath':_0x5db766(0x357)},'host':{'path':_0x5db766(0x373),'type':_0x5db766(0x31d),'existsPath':_0x5db766(0x209)}},TRACES_FIELD_MAP={'serviceName':SPANS_FIELD_MAP['service'],'service':SPANS_FIELD_MAP['service'],'name':SPANS_FIELD_MAP[_0x5db766(0x360)],'gatewayId':SPANS_FIELD_MAP[_0x5db766(0x1e3)],'clientId':SPANS_FIELD_MAP[_0x5db766(0x37a)],'traceId':SPANS_FIELD_MAP[_0x5db766(0x3da)],'correlationId':SPANS_FIELD_MAP[_0x5db766(0x330)],'requestId':SPANS_FIELD_MAP['requestId'],'statusCode':SPANS_FIELD_MAP[_0x5db766(0x28a)],'durationMs':SPANS_FIELD_MAP[_0x5db766(0x3a2)],'hasError':SPANS_FIELD_MAP['hasError'],'timestamp':SPANS_FIELD_MAP[_0x5db766(0x2ea)],'language':SPANS_FIELD_MAP[_0x5db766(0x322)],'env':SPANS_FIELD_MAP['env'],'version':SPANS_FIELD_MAP[_0x5db766(0x357)],'host':SPANS_FIELD_MAP['host']},METRICS_FIELD_MAP={'name':{'path':_0x5db766(0x1ff),'type':'keyword','existsPath':'name'},'type':{'path':_0x5db766(0x448),'type':_0x5db766(0x31d),'existsPath':_0x5db766(0x1a0)},'unit':{'path':'unit.keyword','type':_0x5db766(0x31d),'existsPath':_0x5db766(0x350)},'value':{'path':_0x5db766(0x3e8),'type':_0x5db766(0x3fd),'existsPath':_0x5db766(0x3e8)},'count':{'path':_0x5db766(0x203),'type':_0x5db766(0x3fd),'existsPath':_0x5db766(0x203)},'sum':{'path':'sum','type':'numeric','existsPath':_0x5db766(0x2bc)},'min':{'path':_0x5db766(0x29c),'type':_0x5db766(0x3fd),'existsPath':'min'},'max':{'path':_0x5db766(0x303),'type':_0x5db766(0x3fd),'existsPath':'max'},'avg':{'path':'avg','type':_0x5db766(0x3fd),'existsPath':_0x5db766(0x216)},'service':{'path':'service.keyword','type':'keyword','existsPath':'service'},'language':{'path':_0x5db766(0x279),'type':_0x5db766(0x31d),'existsPath':'language'},'env':{'path':_0x5db766(0x316),'type':_0x5db766(0x31d),'existsPath':'env'},'version':{'path':_0x5db766(0x2b3),'type':'keyword','existsPath':_0x5db766(0x357)},'host':{'path':_0x5db766(0x373),'type':_0x5db766(0x31d),'existsPath':_0x5db766(0x209)},'gatewayId':{'path':_0x5db766(0x3b4),'type':_0x5db766(0x31d),'existsPath':_0x5db766(0x1e3)},'clientId':{'path':_0x5db766(0x314),'type':'keyword','existsPath':_0x5db766(0x37a)},'timestamp':{'path':_0x5db766(0x39f),'type':_0x5db766(0x359),'existsPath':_0x5db766(0x39f)}},ATTRIBUTES_PATH_RE=/^attributes\.[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/;function isAttributesPath(_0x98b662){const _0x11406e=_0x5db766;return ATTRIBUTES_PATH_RE[_0x11406e(0x3d6)](_0x98b662);}const DATASET_PROFILES={'logs':{'name':_0x5db766(0x41f),'allowRegex':!![],'timeField':TIME_FIELD,'known':(_0x42c347,_0x47dbb4)=>isKnownField(_0x42c347,_0x47dbb4),'rangeable':_0x2e3743=>isRangeableField(_0x2e3743),'info':_0x5dba80=>fieldPathInfo(_0x5dba80),'groupbyOk':(_0x1dbbc4,_0x115e56)=>_0x115e56[_0x5db766(0x1cf)](_0x1dbbc4)||LOG_FIELD_ALLOWLIST[_0x5db766(0x1cf)](_0x1dbbc4)||isKvPath(_0x1dbbc4)||isKvnPath(_0x1dbbc4),'metricOk':(_0x8d38a9,_0x500d50)=>_0x500d50['has'](_0x8d38a9)||LOG_NUMERIC_FIELDS[_0x5db766(0x1cf)](_0x8d38a9)||isKvnPath(_0x8d38a9),'aggPath':(_0x4a1a6b,_0x4780e0)=>_0x4780e0[_0x5db766(0x1cf)](_0x4a1a6b)||isKvPath(_0x4a1a6b)||isKvnPath(_0x4a1a6b)?_0x4a1a6b:_0x4a1a6b+_0x5db766(0x408),'metricPath':_0x329cb7=>_0x329cb7},'spans':{'name':_0x5db766(0x1d9),'allowRegex':![],'timeField':'@timestamp','known':_0x504ced=>Object[_0x5db766(0x393)][_0x5db766(0x22f)]['call'](SPANS_FIELD_MAP,_0x504ced)||isAttributesPath(_0x504ced),'rangeable':_0x37916a=>{const _0x706a82=_0x5db766,_0x41a046={'RGjWp':function(_0x927bca,_0x225705){return _0x927bca(_0x225705);},'bqEKi':function(_0x3e82ba,_0x2f213f){return _0x3e82ba===_0x2f213f;},'Rnlxs':_0x706a82(0x359)},_0x36bcc1=SPANS_FIELD_MAP[_0x37916a];return _0x41a046['RGjWp'](Boolean,_0x36bcc1&&(_0x36bcc1[_0x706a82(0x1a0)]===_0x706a82(0x3fd)||_0x41a046[_0x706a82(0x212)](_0x36bcc1[_0x706a82(0x1a0)],_0x41a046[_0x706a82(0x25d)])));},'info':_0x5c6cb1=>isAttributesPath(_0x5c6cb1)?{'path':_0x5c6cb1,'type':'kv','existsPath':_0x5c6cb1}:SPANS_FIELD_MAP[_0x5c6cb1],'groupbyOk':_0xe40b71=>[_0x5db766(0x20f),_0x5db766(0x360),_0x5db766(0x402),_0x5db766(0x1e3),_0x5db766(0x28a),'hasError',_0x5db766(0x322),_0x5db766(0x247),_0x5db766(0x357),_0x5db766(0x209)][_0x5db766(0x243)](_0xe40b71),'metricOk':_0x16cf6b=>['durationMs','statusCode'][_0x5db766(0x243)](_0x16cf6b),'aggPath':_0x4eb7c7=>{const _0x48752b=_0x5db766,_0x1d8a97=SPANS_FIELD_MAP[_0x4eb7c7];return _0x1d8a97?_0x1d8a97[_0x48752b(0x37c)]||_0x1d8a97[_0x48752b(0x2ae)]:_0x4eb7c7;},'metricPath':_0x44c0c2=>SPANS_FIELD_MAP[_0x44c0c2]?SPANS_FIELD_MAP[_0x44c0c2][_0x5db766(0x2ae)]:_0x44c0c2},'metrics':{'name':_0x5db766(0x42d),'allowRegex':![],'timeField':_0x5db766(0x39f),'known':_0x57e775=>Object[_0x5db766(0x393)][_0x5db766(0x22f)][_0x5db766(0x277)](METRICS_FIELD_MAP,_0x57e775)||isAttributesPath(_0x57e775),'rangeable':_0x15b674=>{const _0x3e70db=_0x5db766,_0xa48a84={'WIqzW':function(_0xbe0f71,_0x508e93){return _0xbe0f71(_0x508e93);},'yMwwV':function(_0x8f8101,_0x580c0a){return _0x8f8101===_0x580c0a;},'JlALb':_0x3e70db(0x3fd),'NbmMB':function(_0x2db407,_0x20ebbd){return _0x2db407===_0x20ebbd;}},_0x19c5e8=METRICS_FIELD_MAP[_0x15b674];return _0xa48a84[_0x3e70db(0x2c6)](Boolean,_0x19c5e8&&(_0xa48a84[_0x3e70db(0x300)](_0x19c5e8[_0x3e70db(0x1a0)],_0xa48a84['JlALb'])||_0xa48a84[_0x3e70db(0x196)](_0x19c5e8[_0x3e70db(0x1a0)],_0x3e70db(0x359))));},'info':_0x176529=>isAttributesPath(_0x176529)?{'path':_0x176529,'type':'kv','existsPath':_0x176529}:METRICS_FIELD_MAP[_0x176529],'groupbyOk':_0x3ce172=>[_0x5db766(0x360),_0x5db766(0x1a0),_0x5db766(0x350),'service',_0x5db766(0x322),_0x5db766(0x247),_0x5db766(0x357),_0x5db766(0x209),'gatewayId',_0x5db766(0x37a)]['includes'](_0x3ce172)||isAttributesPath(_0x3ce172),'metricOk':_0xae543=>['value',_0x5db766(0x203),_0x5db766(0x2bc),_0x5db766(0x29c),'max',_0x5db766(0x216)][_0x5db766(0x243)](_0xae543),'aggPath':_0xb715c4=>{const _0x224c0b=_0x5db766,_0x42fccc=METRICS_FIELD_MAP[_0xb715c4];return _0x42fccc?_0x42fccc[_0x224c0b(0x2ae)]:_0xb715c4;},'metricPath':_0x327cc4=>METRICS_FIELD_MAP[_0x327cc4]?METRICS_FIELD_MAP[_0x327cc4][_0x5db766(0x2ae)]:_0x327cc4},'traces':{'name':_0x5db766(0x1b3),'allowRegex':![],'timeField':_0x5db766(0x39f),'known':_0x44c653=>Object['prototype'][_0x5db766(0x22f)]['call'](TRACES_FIELD_MAP,_0x44c653),'rangeable':_0x8b302c=>{const _0x486d96=_0x5db766,_0x1ebb66={'UbADC':function(_0x5a85b1,_0x209e2e){return _0x5a85b1(_0x209e2e);},'KGkCX':function(_0x33b885,_0x130081){return _0x33b885===_0x130081;},'JvoRw':_0x486d96(0x3fd),'WdCeo':function(_0x40c54,_0x3bb62d){return _0x40c54===_0x3bb62d;}},_0x2ce914=TRACES_FIELD_MAP[_0x8b302c];return _0x1ebb66['UbADC'](Boolean,_0x2ce914&&(_0x1ebb66[_0x486d96(0x3ce)](_0x2ce914['type'],_0x1ebb66['JvoRw'])||_0x1ebb66['WdCeo'](_0x2ce914['type'],'date')));},'info':_0x1956d0=>TRACES_FIELD_MAP[_0x1956d0],'groupbyOk':_0x160267=>[_0x5db766(0x3fe),_0x5db766(0x20f),_0x5db766(0x1e3),_0x5db766(0x28a),_0x5db766(0x322),_0x5db766(0x247),'version',_0x5db766(0x209)][_0x5db766(0x243)](_0x160267),'metricOk':_0x38c7b2=>[_0x5db766(0x3a2),_0x5db766(0x28a)][_0x5db766(0x243)](_0x38c7b2),'aggPath':_0x4e9d63=>TRACES_FIELD_MAP[_0x4e9d63]?TRACES_FIELD_MAP[_0x4e9d63][_0x5db766(0x2ae)]:_0x4e9d63,'metricPath':_0x3a7f4f=>TRACES_FIELD_MAP[_0x3a7f4f]?TRACES_FIELD_MAP[_0x3a7f4f][_0x5db766(0x2ae)]:_0x3a7f4f},'requests':{'name':_0x5db766(0x1b9),'allowRegex':![],'timeField':_0x5db766(0x374),'known':_0x5ce1cd=>Object[_0x5db766(0x393)]['hasOwnProperty']['call'](REQUESTS_FIELD_MAP,_0x5ce1cd)||isPayloadPath(_0x5ce1cd),'rangeable':_0x7dd44c=>{const _0x1f8176=_0x5db766,_0x5ad208={'WOgwS':function(_0x1d6b07,_0x571813){return _0x1d6b07(_0x571813);},'fjeNv':_0x1f8176(0x3fd),'eJlGk':function(_0x544dcd,_0x22fbd4){return _0x544dcd===_0x22fbd4;},'tKSVg':_0x1f8176(0x359)},_0x34d496=REQUESTS_FIELD_MAP[_0x7dd44c];return _0x5ad208[_0x1f8176(0x3f3)](isPayloadPath,_0x7dd44c)||_0x5ad208[_0x1f8176(0x3f3)](Boolean,_0x34d496&&(_0x34d496['type']===_0x5ad208[_0x1f8176(0x2fd)]||_0x5ad208['eJlGk'](_0x34d496[_0x1f8176(0x1a0)],_0x5ad208['tKSVg'])));},'info':_0x1fdf54=>REQUESTS_FIELD_MAP[_0x1fdf54],'groupbyOk':_0x475ea9=>['serviceName',_0x5db766(0x20f),'method','statusCode',_0x5db766(0x1e3),_0x5db766(0x2ae)][_0x5db766(0x243)](_0x475ea9)||isPayloadPath(_0x475ea9),'metricOk':_0x3082c6=>[_0x5db766(0x327),_0x5db766(0x3a2),'statusCode'][_0x5db766(0x243)](_0x3082c6)||isPayloadPath(_0x3082c6),'aggPath':_0x2ea985=>{const _0xb7bf09=_0x5db766,_0x34120f=REQUESTS_FIELD_MAP[_0x2ea985];return _0x34120f?_0x34120f['keywordPath']||_0x34120f[_0xb7bf09(0x2ae)]:_0x2ea985;},'metricPath':_0x11bc46=>REQUESTS_FIELD_MAP[_0x11bc46]?REQUESTS_FIELD_MAP[_0x11bc46][_0x5db766(0x2ae)]:_0x11bc46}};function aggPathFor(_0x2cd413,_0x1182cc,_0x310573){const _0x190cc5=_0x5db766,_0x4b14e4={'fYbLv':function(_0x545078,_0x47fa5c){return _0x545078||_0x47fa5c;},'LNRGF':_0x190cc5(0x41f)},_0x32f9c6=DATASET_PROFILES[_0x4b14e4[_0x190cc5(0x411)](_0x2cd413,_0x4b14e4[_0x190cc5(0x2b2)])]||DATASET_PROFILES[_0x190cc5(0x41f)];return _0x32f9c6[_0x190cc5(0x1b4)](_0x1182cc,_0x310573||new Set());}function timeFieldFor(_0x2b2ad9){const _0x2dcae2=_0x5db766,_0xda7545={'tmnio':function(_0x3be11f,_0x33c954){return _0x3be11f||_0x33c954;},'nhzQs':'logs'};return(DATASET_PROFILES[_0xda7545[_0x2dcae2(0x445)](_0x2b2ad9,_0xda7545['nhzQs'])]||DATASET_PROFILES[_0x2dcae2(0x41f)])['timeField'];}const REQUESTS_HITS_SOURCE=[_0x5db766(0x27c),_0x5db766(0x330),_0x5db766(0x3da),_0x5db766(0x1e3),_0x5db766(0x382),_0x5db766(0x2a3),_0x5db766(0x1cc),_0x5db766(0x43a),_0x5db766(0x421)];function toNumberOrThrow(_0x5900bd,_0x39853a){const _0x313db8=_0x5db766,_0x431ff7={'qnIEJ':function(_0x5dc1ea,_0x2d1ade){return _0x5dc1ea(_0x2d1ade);}},_0x2d8fd4=_0x431ff7[_0x313db8(0x1a1)](Number,_0x39853a);if(!Number[_0x313db8(0x385)](_0x2d8fd4))throw new DslError(_0x313db8(0x3b5),_0x313db8(0x30a)+_0x5900bd+':\x20'+_0x39853a,{'field':_0x5900bd});return _0x2d8fd4;}const REQUESTS_TEXT_FIELDS=[_0x5db766(0x1a3),_0x5db766(0x40d),_0x5db766(0x1cc),'request.body',_0x5db766(0x2db),_0x5db766(0x27c)];function spanTextClause(_0x127144,_0x183a65){const _0xe9b36f=_0x5db766,_0x4e2d80={'XFppP':function(_0x116365,_0x5ac59d){return _0x116365(_0x5ac59d);},'qNKHW':_0xe9b36f(0x1ff),'VnPsI':_0xe9b36f(0x428),'OaImM':function(_0x28e6db,_0x205cca){return _0x28e6db(_0x205cca);},'cKHuX':_0xe9b36f(0x3fa),'VJyMV':function(_0x5d8a6b,_0x23fd70){return _0x5d8a6b(_0x23fd70);},'rSGPy':'spanId.keyword','kFIej':function(_0x1e0aa3,_0x10761b){return _0x1e0aa3(_0x10761b);},'FRUcM':'flowId.keyword','WIlTg':_0xe9b36f(0x293),'dMfmn':function(_0x4ef0bd,_0x53cc97){return _0x4ef0bd(_0x53cc97);},'nmcOV':'gatewayId.keyword','CWuYl':function(_0x4b5cf7,_0xd04786){return _0x4b5cf7(_0xd04786);},'DGUDM':_0xe9b36f(0x314)},_0x4768b1=_0x34ef5b=>({'wildcard':{[_0x34ef5b]:{'value':'*'+_0x127144+'*','case_insensitive':!![]}}});return{'bool':{'should':[_0x183a65?{'match_phrase':{'name':_0x127144}}:{'match':{'name':{'query':_0x127144,'boost':0x3}}},_0x4e2d80['XFppP'](_0x4768b1,_0x4e2d80['qNKHW']),_0x4e2d80[_0xe9b36f(0x2da)](_0x4768b1,_0xe9b36f(0x2e8)),_0x4768b1(_0x4e2d80[_0xe9b36f(0x27b)]),_0x4e2d80[_0xe9b36f(0x398)](_0x4768b1,_0x4e2d80[_0xe9b36f(0x19a)]),_0x4e2d80[_0xe9b36f(0x3f0)](_0x4768b1,_0x4e2d80[_0xe9b36f(0x24b)]),_0x4e2d80[_0xe9b36f(0x1e2)](_0x4768b1,_0x4e2d80['FRUcM']),_0x4e2d80['OaImM'](_0x4768b1,_0x4e2d80[_0xe9b36f(0x222)]),_0x4e2d80[_0xe9b36f(0x1ec)](_0x4768b1,_0x4e2d80[_0xe9b36f(0x259)]),_0x4e2d80['CWuYl'](_0x4768b1,_0x4e2d80[_0xe9b36f(0x19b)])],'minimum_should_match':0x1}};}function leafToOpenSearch(_0x3059a0,_0x164ba5){const _0x187d2f=_0x5db766,_0x12a94a={'WUNQT':function(_0x192593,_0x3b170a,_0x2e0d6e,_0x504a4d){return _0x192593(_0x3b170a,_0x2e0d6e,_0x504a4d);},'GyDQm':function(_0x272a54,_0x1c9d2d){return _0x272a54||_0x1c9d2d;},'NZhGo':'logs','EyBhH':'phrase','UpAvO':function(_0x25710d,_0x1e979c){return _0x25710d===_0x1e979c;},'SvctK':'term','xUdeu':function(_0x188ebe,_0x3bf079){return _0x188ebe===_0x3bf079;},'fAGYz':_0x187d2f(0x1b9),'QdzCZ':_0x187d2f(0x1d9),'BJwyD':function(_0x31f56e,_0x1def75){return _0x31f56e===_0x1def75;},'ffPSX':_0x187d2f(0x1b3),'ULmyq':function(_0x51928a,_0x5426c2){return _0x51928a!==_0x5426c2;},'Ilvem':_0x187d2f(0x22b),'BLgBE':function(_0x16e847,_0x4b65e4,_0x2af68c){return _0x16e847(_0x4b65e4,_0x2af68c);},'VtEGe':function(_0x54bb7d,_0x230af3){return _0x54bb7d===_0x230af3;},'Srelf':_0x187d2f(0x361),'WvzgP':function(_0x198815,_0x45129f){return _0x198815===_0x45129f;},'RSiRH':'contains','leOza':function(_0x42a2e4,_0x49eb1d){return _0x42a2e4(_0x49eb1d);},'ziaDv':function(_0x2bc151,_0x3bd496){return _0x2bc151===_0x3bd496;},'dyktL':_0x187d2f(0x424),'cqDaV':function(_0x34dcd4,_0x80130b){return _0x34dcd4===_0x80130b;},'WLxgR':'numeric','srFWS':function(_0x277670,_0x382062,_0x2b7d5f){return _0x277670(_0x382062,_0x2b7d5f);},'BGwMj':function(_0x1c7286,_0x31fc9e){return _0x1c7286===_0x31fc9e;},'xaWlX':_0x187d2f(0x26c),'XqLyn':_0x187d2f(0x3bd),'BsqyV':'QeZCx','jRYuV':function(_0x2f5484,_0x236bc5,_0x45a201){return _0x2f5484(_0x236bc5,_0x45a201);},'OmWdZ':_0x187d2f(0x1c6),'kDHzm':'uMJwx','omnuV':function(_0xdcb491,_0x343dc3){return _0xdcb491(_0x343dc3);},'iOupX':_0x187d2f(0x368)};if(_0x3059a0[_0x187d2f(0x402)]===_0x12a94a['EyBhH']||_0x12a94a[_0x187d2f(0x2cd)](_0x3059a0['kind'],_0x12a94a[_0x187d2f(0x246)])){const _0xbead63=_0x3059a0['kind']===_0x12a94a[_0x187d2f(0x36d)];if(_0x12a94a[_0x187d2f(0x295)](_0x164ba5[_0x187d2f(0x360)],_0x12a94a['fAGYz']))return{'multi_match':{'query':_0x3059a0[_0x187d2f(0x3e8)],'fields':REQUESTS_TEXT_FIELDS,'type':_0xbead63?_0x187d2f(0x404):_0x187d2f(0x463)}};if(_0x164ba5['name']===_0x12a94a[_0x187d2f(0x3a6)]||_0x12a94a[_0x187d2f(0x457)](_0x164ba5[_0x187d2f(0x360)],_0x12a94a['ffPSX'])){if(_0x12a94a[_0x187d2f(0x372)](_0x12a94a[_0x187d2f(0x273)],_0x12a94a[_0x187d2f(0x273)])){const _0xcf8c8f=_0x12a94a[_0x187d2f(0x432)](_0x214560,_0x466b8b,_0x27b6c2[_0x187d2f(0x3b5)],_0x47fc79);if(!_0xbc55d8(_0xcf8c8f,_0xb72d36))return![];}else return _0x12a94a['BLgBE'](spanTextClause,_0x3059a0['value'],_0xbead63);}return _0xbead63?{'match_phrase':{'message':_0x3059a0[_0x187d2f(0x3e8)]}}:{'match':{'message':_0x3059a0[_0x187d2f(0x3e8)]}};}if(_0x12a94a[_0x187d2f(0x3b0)](_0x3059a0[_0x187d2f(0x402)],_0x12a94a['Srelf']))return null;if(_0x12a94a[_0x187d2f(0x253)](_0x3059a0[_0x187d2f(0x402)],_0x12a94a[_0x187d2f(0x19c)]))return null;if(_0x3059a0['field']&&_0x12a94a['leOza'](isPayloadPath,_0x3059a0[_0x187d2f(0x3b5)]))return null;const _0x2f7eb0=_0x164ba5[_0x187d2f(0x29d)](_0x3059a0[_0x187d2f(0x3b5)])||{},_0x90958d=_0x3911ae=>_0x2f7eb0['upper']?String(_0x3911ae)[_0x187d2f(0x45d)]():_0x3911ae;if(_0x12a94a[_0x187d2f(0x438)](_0x3059a0['kind'],_0x187d2f(0x403)))return{'exists':{'field':_0x2f7eb0[_0x187d2f(0x2f2)]||_0x3059a0[_0x187d2f(0x3b5)]}};if(_0x12a94a['UpAvO'](_0x3059a0[_0x187d2f(0x402)],'in')){const _0x5f3cda=_0x2f7eb0[_0x187d2f(0x1a0)]==='numeric'?_0x3059a0[_0x187d2f(0x1ab)][_0x187d2f(0x44f)](_0x6ddcbf=>toNumberOrThrow(_0x3059a0[_0x187d2f(0x3b5)],_0x6ddcbf)):_0x3059a0[_0x187d2f(0x1ab)][_0x187d2f(0x44f)](_0x90958d);return{'terms':{[_0x2f7eb0[_0x187d2f(0x2ae)]]:_0x5f3cda}};}switch(_0x3059a0[_0x187d2f(0x1f8)]){case'eq':if(_0x12a94a[_0x187d2f(0x457)](_0x2f7eb0['type'],_0x12a94a[_0x187d2f(0x2d8)]))return{'match':{[_0x2f7eb0[_0x187d2f(0x2ae)]]:_0x3059a0[_0x187d2f(0x3e8)]}};if(_0x12a94a['cqDaV'](_0x2f7eb0[_0x187d2f(0x1a0)],_0x12a94a[_0x187d2f(0x376)]))return{'term':{[_0x2f7eb0[_0x187d2f(0x2ae)]]:_0x12a94a[_0x187d2f(0x35c)](toNumberOrThrow,_0x3059a0[_0x187d2f(0x3b5)],_0x3059a0[_0x187d2f(0x3e8)])}};if(_0x12a94a[_0x187d2f(0x40f)](_0x2f7eb0[_0x187d2f(0x1a0)],_0x12a94a[_0x187d2f(0x1aa)]))return{'term':{[_0x2f7eb0[_0x187d2f(0x2ae)]]:_0x12a94a['cqDaV'](_0x12a94a[_0x187d2f(0x1c9)](String,_0x3059a0[_0x187d2f(0x3e8)])[_0x187d2f(0x3d7)](),_0x12a94a['XqLyn'])}};return{'term':{[_0x2f7eb0[_0x187d2f(0x2ae)]]:_0x90958d(_0x3059a0['value'])}};case'ne':{if(_0x12a94a[_0x187d2f(0x372)](_0x12a94a[_0x187d2f(0x41e)],_0x12a94a[_0x187d2f(0x41e)])){const _0x30674b=_0x1c3896[_0x12a94a[_0x187d2f(0x3ca)](_0x367095,_0x12a94a[_0x187d2f(0x44c)])]||_0x4d3b70[_0x187d2f(0x41f)];return _0x30674b[_0x187d2f(0x1b4)](_0x364fcf,_0x2e80a6||new _0x53aefe());}else{const _0x1aef16=_0x12a94a[_0x187d2f(0x34e)](leafToOpenSearch,{..._0x3059a0,'cmp':'eq'},_0x164ba5);return{'bool':{'must_not':[_0x1aef16]}};}}case'gt':case _0x187d2f(0x25c):case'lt':case _0x12a94a[_0x187d2f(0x2b7)]:{const _0x42083a=_0x2f7eb0[_0x187d2f(0x1a0)]===_0x12a94a[_0x187d2f(0x376)]?toNumberOrThrow(_0x3059a0[_0x187d2f(0x3b5)],_0x3059a0[_0x187d2f(0x3e8)]):_0x3059a0[_0x187d2f(0x3e8)];return{'range':{[_0x2f7eb0[_0x187d2f(0x2ae)]]:{[_0x3059a0[_0x187d2f(0x1f8)]]:_0x42083a}}};}case _0x12a94a[_0x187d2f(0x19c)]:{const _0x2308a2=_0x532045=>({'wildcard':{[_0x532045]:{'value':'*'+_0x3059a0['value']+'*','case_insensitive':!![]}}});if(_0x12a94a[_0x187d2f(0x438)](_0x2f7eb0[_0x187d2f(0x1a0)],_0x12a94a['dyktL'])){if(_0x12a94a['ULmyq'](_0x12a94a[_0x187d2f(0x214)],_0x187d2f(0x412)))_0x2b1c6e={'idx':_0x3a3770,'tok':_0x2ceceb,'cmp':_0x2c7f68};else return{'bool':{'should':[_0x12a94a[_0x187d2f(0x2af)](_0x2308a2,_0x2f7eb0['keywordPath']),{'match_phrase':{[_0x2f7eb0[_0x187d2f(0x2ae)]]:_0x3059a0[_0x187d2f(0x3e8)]}}],'minimum_should_match':0x1}};}return _0x2308a2(_0x2f7eb0[_0x187d2f(0x2ae)]);}default:throw new DslError(_0x12a94a['iOupX'],'operador\x20desconhecido:\x20'+_0x3059a0[_0x187d2f(0x1f8)]);}}function astToOpenSearch(_0x4bd096,_0x5ca437){const _0xc22319=_0x5db766,_0x5d6dd3={'CqHRx':'malformed','QhzCM':'a\x20query\x20deve\x20começar\x20com\x20where(...)','RTvBi':_0xc22319(0x287),'AusAF':function(_0xa26131,_0x5948a7){return _0xa26131===_0x5948a7;},'ZsfkF':_0xc22319(0x34c),'MgOzJ':function(_0x5c4aa1,_0x555da4){return _0x5c4aa1===_0x555da4;},'kvyTH':_0xc22319(0x45b),'lBRbC':function(_0x2a527a,_0x11dec3){return _0x2a527a===_0x11dec3;},'WKooX':function(_0x16bd6f,_0x521dfd){return _0x16bd6f===_0x521dfd;},'zcWwM':function(_0x2adad1,_0x9eb7d2,_0x3bb89f){return _0x2adad1(_0x9eb7d2,_0x3bb89f);}};if(!_0x4bd096)return null;if(_0x4bd096['op']===_0x5d6dd3[_0xc22319(0x364)]){if(_0x5d6dd3[_0xc22319(0x455)](_0xc22319(0x3cc),_0x5d6dd3[_0xc22319(0x381)])){if(!_0x447401[_0xc22319(0x272)](_0x5d8005,_0x422b57))throw new _0x248706('field',_0xc22319(0x2c2)+_0xe3e6f3,{'field':_0x553029});}else{const _0x3ba25d=_0x4bd096['children'][_0xc22319(0x44f)](_0x5a20cf=>astToOpenSearch(_0x5a20cf,_0x5ca437))[_0xc22319(0x2b8)](Boolean);if(_0x3ba25d[_0xc22319(0x27a)]===0x0)return null;return _0x5d6dd3[_0xc22319(0x455)](_0x3ba25d[_0xc22319(0x27a)],0x1)?_0x3ba25d[0x0]:{'bool':{'filter':_0x3ba25d}};}}if(_0x5d6dd3[_0xc22319(0x455)](_0x4bd096['op'],'or')){if(_0x5d6dd3[_0xc22319(0x1e0)](_0xc22319(0x461),_0x5d6dd3[_0xc22319(0x1f1)]))throw new _0x5c6ab8(_0x5d6dd3['CqHRx'],_0x5d6dd3[_0xc22319(0x210)]);else{const _0x271552=_0x4bd096[_0xc22319(0x1c1)]['map'](_0x363e7e=>astToOpenSearch(_0x363e7e,_0x5ca437))[_0xc22319(0x2b8)](Boolean);if(_0x5d6dd3[_0xc22319(0x1d6)](_0x271552[_0xc22319(0x27a)],0x0))return null;return{'bool':{'should':_0x271552,'minimum_should_match':0x1}};}}if(_0x5d6dd3['WKooX'](_0x4bd096['op'],_0xc22319(0x1a7))){const _0x9c20a=astToOpenSearch(_0x4bd096[_0xc22319(0x2d0)],_0x5ca437);return _0x9c20a?{'bool':{'must_not':[_0x9c20a]}}:null;}return _0x5d6dd3[_0xc22319(0x325)](leafToOpenSearch,_0x4bd096,_0x5ca437);}function extractContains(_0x41faae){const _0x1f4dee=_0x5db766,_0x8b9a21={'DAOml':_0x1f4dee(0x2e2),'jvdkE':function(_0x3cd5fc,_0x4f21a6){return _0x3cd5fc===_0x4f21a6;},'fVAqk':_0x1f4dee(0x287)},_0x38597d=[],_0xcc039a=_0x2d0ae1=>{const _0x2552cf=_0x1f4dee;if(!_0x2d0ae1)return null;if(_0x2d0ae1[_0x2552cf(0x402)]===_0x8b9a21[_0x2552cf(0x34d)])return _0x38597d[_0x2552cf(0x237)](_0x2d0ae1[_0x2552cf(0x1bb)]),null;if(_0x8b9a21['jvdkE'](_0x2d0ae1['op'],'and')){const _0x2fb715=_0x2d0ae1[_0x2552cf(0x1c1)][_0x2552cf(0x44f)](_0xcc039a)['filter'](Boolean);if(_0x8b9a21[_0x2552cf(0x45a)](_0x2fb715[_0x2552cf(0x27a)],0x0))return null;return _0x8b9a21[_0x2552cf(0x45a)](_0x2fb715[_0x2552cf(0x27a)],0x1)?_0x2fb715[0x0]:{'op':_0x8b9a21[_0x2552cf(0x417)],'children':_0x2fb715};}return _0x2d0ae1;},_0x553e20=_0xcc039a(_0x41faae&&_0x41faae[_0x1f4dee(0x334)]);return{'containsExprs':_0x38597d,'rootWhere':_0x553e20};}function compileAstFor(_0x500c27,_0x9849d2){const _0xabf5cf=_0x5db766,_0x1f4d08={'GZFXo':function(_0x5ec19f,_0x44456a,_0x31b5dd){return _0x5ec19f(_0x44456a,_0x31b5dd);},'ruUco':function(_0x5e6fb8,_0x50360f){return _0x5e6fb8||_0x50360f;},'ZZUuK':'logs'};return _0x1f4d08[_0xabf5cf(0x2e7)](astToOpenSearch,_0x500c27,DATASET_PROFILES[_0x1f4d08[_0xabf5cf(0x1fe)](_0x9849d2,_0x1f4d08['ZZUuK'])]);}function compileWhere(_0x5a48c5){const _0x7c6aae=_0x5db766,_0x57e4b8={'ocLLv':_0x7c6aae(0x41f),'nZstr':function(_0x5a6860,_0x537bf2,_0x3f5c8b){return _0x5a6860(_0x537bf2,_0x3f5c8b);}},_0x2a7821=DATASET_PROFILES[_0x5a48c5&&_0x5a48c5['dataset']||_0x57e4b8[_0x7c6aae(0x258)]];return _0x57e4b8[_0x7c6aae(0x215)](astToOpenSearch,_0x5a48c5&&_0x5a48c5[_0x7c6aae(0x334)],_0x2a7821);}function normalizeRegexSource(_0x2486b4){const _0x739231=_0x5db766,_0x55e868={'OdFPE':function(_0x214059,_0x1f640f){return _0x214059!==_0x1f640f;}},_0x43e1c3=[],_0x3c7cfa=_0x2486b4[_0x739231(0x3b8)](/\(\?P<([A-Za-z_][A-Za-z0-9_]*)>/g,(_0x548a7f,_0x1d3ff9)=>{return _0x43e1c3['push'](_0x1d3ff9),'(?<'+_0x1d3ff9+'>';}),_0xdb6640=/\(\?<([A-Za-z_][A-Za-z0-9_]*)>/g;let _0x106b6e;while(_0x55e868[_0x739231(0x241)](_0x106b6e=_0xdb6640[_0x739231(0x3d5)](_0x3c7cfa),null)){if(!_0x43e1c3['includes'](_0x106b6e[0x1]))_0x43e1c3[_0x739231(0x237)](_0x106b6e[0x1]);}return{'jsSource':_0x3c7cfa,'names':_0x43e1c3};}function compileRegexes(_0x4f91f3){const _0x28f95d=_0x5db766,_0xf749fb={'nFcRY':function(_0x6d8e52,_0x5b0b6f){return _0x6d8e52(_0x5b0b6f);},'rbVek':function(_0x5aa667,_0x1d8056){return _0x5aa667!==_0x1d8056;},'giJbq':function(_0x3495b9,_0x2b2d38){return _0x3495b9>=_0x2b2d38;},'mnrEZ':'regex','TlBan':function(_0x4aa9fb,_0x1d71fb){return _0x4aa9fb>_0x1d71fb;},'ybXxI':_0x28f95d(0x44e)},_0x3b3e79=[],_0x1162ab=new Set();for(const _0x1011b0 of _0x4f91f3){if(_0xf749fb[_0x28f95d(0x331)](_0x1011b0['kind'],'regex'))continue;if(_0xf749fb[_0x28f95d(0x3e3)](_0x3b3e79[_0x28f95d(0x27a)],MAX_REGEXES))throw new DslError(_0xf749fb[_0x28f95d(0x406)],_0x28f95d(0x23f)+MAX_REGEXES+_0x28f95d(0x19d));if(_0xf749fb[_0x28f95d(0x430)](_0x1011b0['source'][_0x28f95d(0x27a)],MAX_REGEX_LEN))throw new DslError(_0x28f95d(0x361),_0x28f95d(0x3f1));const {jsSource:_0x483c2f,names:_0x447e78}=normalizeRegexSource(_0x1011b0[_0x28f95d(0x383)]);let _0x409e81;try{if(_0x28f95d(0x1cd)!==_0xf749fb[_0x28f95d(0x1fa)]){const _0x3c4116=(_0x1011b0[_0x28f95d(0x312)]||'')[_0x28f95d(0x3b8)](/[^gimsuy]/g,'');_0x409e81=new RegExp(_0x483c2f,_0x3c4116[_0x28f95d(0x243)]('g')?_0x3c4116:_0x3c4116);}else{const _0x2f01e6=_0xf749fb[_0x28f95d(0x3ba)](_0x471812,_0x12c61a[_0x28f95d(0x3e8)]);return _0x3e82e9[_0x28f95d(0x385)](_0x2f01e6)?{'term':{[_0x29fbd1['field']]:_0x2f01e6}}:{'term':{[_0x214767[_0x28f95d(0x3b5)]]:_0x2ef0a2[_0x28f95d(0x3e8)]}};}}catch(_0x4a1941){throw new DslError(_0xf749fb[_0x28f95d(0x406)],_0x4a1941[_0x28f95d(0x2c4)],{'detail':_0x1011b0['source']});}_0x447e78[_0x28f95d(0x20c)](_0x2cc827=>_0x1162ab[_0x28f95d(0x40c)](_0x2cc827)),_0x3b3e79['push']({'regex':_0x409e81,'names':_0x447e78});}return{'regexes':_0x3b3e79,'extracted':_0x1162ab};}function parseCalculate(_0x315253){const _0x936724=_0x5db766,_0x2112a7={'UGKdA':_0x936724(0x203),'mfGrw':'metric'},_0x339c79=_0x315253[_0x936724(0x257)]();if(!_0x339c79)return{'type':_0x2112a7['UGKdA']};if(/^count$/i[_0x936724(0x3d6)](_0x339c79))return{'type':_0x2112a7[_0x936724(0x249)]};const _0x2b6fbb=/^([A-Za-z0-9]+)\s*\(\s*([A-Za-z_][\w.]*)\s*\)$/[_0x936724(0x3d5)](_0x339c79);if(!_0x2b6fbb)throw new DslError(_0x936724(0x418),'métrica\x20inválida:\x20'+_0x339c79,{'detail':_0x339c79});const _0x224058=_0x2b6fbb[0x1][_0x936724(0x3d7)]();if(!METRIC_FUNCS[_0x936724(0x1cf)](_0x224058))throw new DslError(_0x2112a7[_0x936724(0x284)],_0x936724(0x1ac)+_0x2b6fbb[0x1],{'detail':_0x339c79});return{'type':_0x224058,'field':_0x2b6fbb[0x2]};}function parseQuery(_0x5bada1,_0x7dcc73={}){const _0x315b23=_0x5db766,_0x56d562={'SAPtM':function(_0x33df16,_0x51ed1d){return _0x33df16===_0x51ed1d;},'fNyIg':function(_0x14cee5,_0x3fd2fa){return _0x14cee5===_0x3fd2fa;},'vEBub':function(_0x399e0c,_0x33762e){return _0x399e0c===_0x33762e;},'UtkYQ':function(_0x5a8eff,_0x35e46f){return _0x5a8eff(_0x35e46f);},'NGGTw':function(_0x5f0522,_0x2d830b){return _0x5f0522!==_0x2d830b;},'RIOrv':'string','lBiqG':function(_0x57a1b0,_0x51aa05){return _0x57a1b0===_0x51aa05;},'VKdMi':function(_0x4722f4,_0x48b2d1){return _0x4722f4!==_0x48b2d1;},'yBrDY':_0x315b23(0x368),'Flngj':_0x315b23(0x27e),'SOXKG':function(_0x5a5583,_0x4ac1ed){return _0x5a5583>_0x4ac1ed;},'KbPmR':_0x315b23(0x3a5),'TFhBK':'logs','unfRB':'a\x20query\x20deve\x20começar\x20com\x20where(...)','Badie':function(_0x266813,_0x100b60,_0x438d87){return _0x266813(_0x100b60,_0x438d87);},'ZSJet':function(_0x49445c,_0xe9a0d){return _0x49445c<_0xe9a0d;},'vYQwG':_0x315b23(0x2ec),'ozkzk':function(_0x15853f,_0x325a2a){return _0x15853f+_0x325a2a;},'hEltY':function(_0x4e5c39,_0x31a274){return _0x4e5c39(_0x31a274);},'mHdHZ':function(_0x14d00e,_0x2e37d2){return _0x14d00e(_0x2e37d2);},'XkEcG':function(_0x4c951b,_0x100cfe,_0x4a72a5,_0x31a71d){return _0x4c951b(_0x100cfe,_0x4a72a5,_0x31a71d);},'HvcVX':'groupby','rCrtX':_0x315b23(0x2c5),'oUUTB':_0x315b23(0x410),'dHZaA':_0x315b23(0x24e),'vmuFv':function(_0x1acc39,_0x49ddf6){return _0x1acc39+_0x49ddf6;},'rLGYn':function(_0x1b484d,_0x3f1b23){return _0x1b484d-_0x3f1b23;},'TMazr':function(_0x321347,_0x1ab9d6){return _0x321347!==_0x1ab9d6;},'RNWwK':_0x315b23(0x44b),'ZnOkD':'sEgcd','zuSPT':function(_0x360438,_0x5a1326){return _0x360438===_0x5a1326;},'BzrWs':_0x315b23(0x38e),'ntjeE':function(_0x4484fb,_0x25f9e8){return _0x4484fb===_0x25f9e8;},'gkIFx':'field','xcYpb':function(_0x513e4f,_0x362030){return _0x513e4f!==_0x362030;},'gKZNa':_0x315b23(0x203),'QnCTN':function(_0x1cb3ac,_0x321ebf){return _0x1cb3ac===_0x321ebf;},'AWKJI':_0x315b23(0x342),'yNxxx':'desc','NrZnO':function(_0x48e9ab,_0x2eed2a){return _0x48e9ab!==_0x2eed2a;},'FlLKw':function(_0x1cc0dc,_0x2eaf25){return _0x1cc0dc||_0x2eaf25;},'kqqar':function(_0x2b2239,_0x50f8a1){return _0x2b2239>_0x50f8a1;}};if(_0x56d562[_0x315b23(0x30b)](typeof _0x5bada1,_0x315b23(0x194))||!_0x5bada1['trim']())throw new DslError(_0x56d562[_0x315b23(0x2c8)],_0x56d562[_0x315b23(0x460)]);if(_0x56d562[_0x315b23(0x3d3)](_0x5bada1['length'],MAX_QUERY_LEN))throw new DslError(_0x56d562[_0x315b23(0x2c8)],_0x56d562['KbPmR']);let _0x193e74=_0x5bada1['trim'](),_0x4fdcc3=_0x7dcc73['dataset']||_0x56d562['TFhBK'];const _0x15c56c=/^from\s*\(\s*([A-Za-z]+)\s*\)\s*/i[_0x315b23(0x3d5)](_0x193e74);_0x15c56c&&(_0x4fdcc3=_0x15c56c[0x1][_0x315b23(0x3d7)](),_0x193e74=_0x193e74[_0x315b23(0x282)](_0x15c56c[0x0][_0x315b23(0x27a)]));const _0x59015d=DATASET_PROFILES[_0x4fdcc3];if(!_0x59015d)throw new DslError(_0x56d562[_0x315b23(0x2c8)],_0x315b23(0x3d0)+_0x4fdcc3+'\x20(use\x20logs|requests|spans|traces|metrics)');if(!/^where\s*\(/i[_0x315b23(0x3d6)](_0x193e74))throw new DslError(_0x56d562[_0x315b23(0x2c8)],_0x56d562[_0x315b23(0x2ee)]);const _0x3a09f3=_0x193e74[_0x315b23(0x36c)]('('),_0x1f92d5=_0x56d562[_0x315b23(0x1c7)](matchingParen,_0x193e74,_0x3a09f3);if(_0x56d562['ZSJet'](_0x1f92d5,0x0))throw new DslError(_0x56d562[_0x315b23(0x2c8)],_0x56d562['vYQwG']);const _0x40b9e0=_0x193e74['slice'](_0x56d562[_0x315b23(0x3ac)](_0x3a09f3,0x1),_0x1f92d5);let _0x4bdc7c=_0x193e74[_0x315b23(0x282)](_0x56d562[_0x315b23(0x3ac)](_0x1f92d5,0x1));const _0x51a159=_0x56d562[_0x315b23(0x439)](parseWhereAst,_0x56d562[_0x315b23(0x1e1)](tokenizeWhere,_0x40b9e0)),_0x58623b=flattenAstLeaves(_0x51a159),_0x19f685=_0x51a159&&_0x56d562[_0x315b23(0x1a4)](_0x51a159['op'],'or')?'OR':'AND',{regexes:_0x550b8f,extracted:_0x3deab0}=_0x56d562[_0x315b23(0x2cc)](compileRegexes,_0x58623b);_0x56d562[_0x315b23(0x414)](validateWhereAst,_0x51a159,_0x3deab0,_0x59015d);const _0x1278fe={};for(const _0x5b74c0 of[_0x56d562[_0x315b23(0x386)],_0x56d562[_0x315b23(0x355)],_0x56d562[_0x315b23(0x19f)]]){if(_0x56d562['VKdMi'](_0x315b23(0x3d9),_0x315b23(0x229))){const _0x4ea14a=findSection(_0x4bdc7c,_0x5b74c0);if(_0x4ea14a){if(_0x56d562['lBiqG'](_0x56d562[_0x315b23(0x3e1)],_0x315b23(0x1b1)))throw new _0x1fa0f3(_0x315b23(0x368),'contains(...)\x20só\x20é\x20suportado\x20no\x20dataset\x20traces\x20(recebido:\x20'+_0xc6944e[_0x315b23(0x360)]+')');else _0x1278fe[_0x5b74c0]=_0x4ea14a[_0x315b23(0x449)],_0x4bdc7c=_0x56d562[_0x315b23(0x213)](_0x4bdc7c[_0x315b23(0x282)](0x0,_0x4ea14a[_0x315b23(0x2c9)]),'\x20'[_0x315b23(0x415)](_0x56d562[_0x315b23(0x3bb)](_0x4ea14a[_0x315b23(0x1f2)],_0x4ea14a[_0x315b23(0x2c9)])))+_0x4bdc7c[_0x315b23(0x282)](_0x4ea14a[_0x315b23(0x1f2)]);}}else{const _0x444c6a=_0x56d562[_0x315b23(0x324)](_0x2f205d[_0x315b23(0x3e8)],null)||_0x56d562[_0x315b23(0x1a4)](_0x4a02cc[_0x315b23(0x3e8)],_0x33c81d)?-_0x1ae0be:_0x27bca1[_0x315b23(0x3e8)],_0x306ddc=_0x56d562[_0x315b23(0x32a)](_0x55f0eb[_0x315b23(0x3e8)],null)||_0x29658d[_0x315b23(0x3e8)]===_0x33020e?-_0x45a0fa:_0x31464e[_0x315b23(0x3e8)];if(_0x56d562[_0x315b23(0x1a4)](_0x444c6a,_0x306ddc))return 0x0;return _0x444c6a<_0x306ddc?-_0x20596b:_0x29d10b;}}if(_0x4bdc7c[_0x315b23(0x257)]())throw new DslError(_0x315b23(0x368),'token\x20inesperado\x20após\x20where(...):\x20\x22'+_0x4bdc7c[_0x315b23(0x257)]()+'\x22',{'detail':_0x4bdc7c[_0x315b23(0x257)]()});let _0x373fae=[];if(_0x56d562[_0x315b23(0x3bf)](_0x1278fe[_0x315b23(0x1ad)],undefined)){if(_0x56d562[_0x315b23(0x236)](_0x56d562[_0x315b23(0x278)],_0x56d562[_0x315b23(0x21b)])){const _0xf58512=(_0x54de51['values']||[])[_0x315b23(0x44f)](_0x405043=>_0x36adf5(_0x405043)[_0x315b23(0x3d7)]());return _0xf58512[_0x315b23(0x243)](_0x56d562[_0x315b23(0x1e1)](_0x28898e,_0x5bdffa)[_0x315b23(0x3d7)]());}else{_0x373fae=_0x1278fe[_0x315b23(0x1ad)][_0x315b23(0x3b6)](',')[_0x315b23(0x44f)](_0x348c5d=>_0x348c5d[_0x315b23(0x257)]())['filter'](Boolean);if(_0x56d562[_0x315b23(0x3b3)](_0x373fae[_0x315b23(0x27a)],0x0))throw new DslError(_0x56d562[_0x315b23(0x2c8)],_0x56d562['BzrWs']);for(const _0x590177 of _0x373fae){if(!_0x59015d[_0x315b23(0x272)](_0x590177,_0x3deab0)){if(_0x56d562['ntjeE']('UPzxD',_0x315b23(0x346)))throw new DslError(_0x56d562[_0x315b23(0x23d)],_0x315b23(0x2c2)+_0x590177,{'field':_0x590177});else return{'exists':{'field':_0xbed173[_0x315b23(0x2f2)]||_0x33393a[_0x315b23(0x3b5)]}};}}}}const _0x5b495d=_0x56d562[_0x315b23(0x235)](_0x1278fe['calculate'],undefined)?parseCalculate(_0x1278fe[_0x315b23(0x2c5)]):{'type':_0x56d562[_0x315b23(0x232)]};if(_0x56d562[_0x315b23(0x235)](_0x5b495d[_0x315b23(0x1a0)],_0x56d562[_0x315b23(0x232)])){const _0x15a126=_0x5b495d[_0x315b23(0x3b5)],_0x3e7ff3=_0x3deab0[_0x315b23(0x1cf)](_0x15a126);if(!_0x59015d['metricOk'](_0x15a126,_0x3deab0)){if(_0x56d562[_0x315b23(0x440)](_0x315b23(0x342),_0x56d562[_0x315b23(0x1db)]))throw new DslError(_0x56d562[_0x315b23(0x23d)],_0x315b23(0x3c1)+_0x15a126,{'field':_0x15a126});else{if(_0x56d562['NGGTw'](typeof _0x17d1e2,_0x56d562['RIOrv'])||_0x56d562[_0x315b23(0x236)](_0x56e2b0[_0x315b23(0x27a)],0x0)||_0x50b935['length']>_0x4f1588)return null;try{const _0x24d845=_0x1f6b7a[_0x315b23(0x33b)](_0x2ddb4b);return _0x56d562[_0x315b23(0x30b)](_0x24d845,null)&&typeof _0x24d845==='object'?_0x24d845:null;}catch{return null;}}}void _0x3e7ff3;}let _0x4edb3e=_0x56d562[_0x315b23(0x1ef)];if(_0x1278fe[_0x315b23(0x410)]!==undefined){const _0x24aa83=_0x1278fe[_0x315b23(0x410)][_0x315b23(0x257)]()[_0x315b23(0x3d7)]();if(_0x56d562[_0x315b23(0x202)](_0x24aa83,_0x315b23(0x3ea))&&_0x24aa83!==_0x56d562['yNxxx'])throw new DslError(_0x56d562[_0x315b23(0x2c8)],'sort\x20inválido:\x20'+_0x24aa83+_0x315b23(0x1ba));_0x4edb3e=_0x24aa83;}const _0x2fc2bd=_0x550b8f[_0x315b23(0x27a)]>0x0,_0x3ecb0f=_0x373fae[_0x315b23(0x296)](_0xb04ff5=>_0x3deab0[_0x315b23(0x1cf)](_0xb04ff5)),_0x1cd536=_0x56d562[_0x315b23(0x2b1)](_0x5b495d['type'],_0x56d562[_0x315b23(0x232)])&&_0x3deab0['has'](_0x5b495d[_0x315b23(0x3b5)]),_0x448e9f=_0x373fae['some'](_0x542e8b=>isKvPath(_0x542e8b)),_0x24c35d=_0x373fae[_0x315b23(0x296)](_0x5a7132=>isPayloadPath(_0x5a7132)),_0x549784=_0x56d562['NrZnO'](_0x5b495d[_0x315b23(0x1a0)],_0x56d562[_0x315b23(0x232)])&&isPayloadPath(_0x5b495d['field']),_0x17f706=_0x58623b[_0x315b23(0x2b8)](_0x184fb0=>_0x184fb0[_0x315b23(0x3b5)]&&isPayloadPath(_0x184fb0['field'])&&[_0x315b23(0x3b5),'in','exists']['includes'](_0x184fb0[_0x315b23(0x402)])),_0x8ba7d0=_0x56d562['FlLKw'](_0x2fc2bd,_0x3ecb0f)||_0x1cd536||_0x448e9f||_0x24c35d||_0x549784||_0x56d562['SOXKG'](_0x17f706[_0x315b23(0x27a)],0x0);return{'where':_0x51a159,'dataset':_0x4fdcc3,'clauses':_0x58623b,'payloadFilters':_0x17f706,'operator':_0x19f685,'regexes':_0x550b8f,'extracted':_0x3deab0,'groupby':_0x373fae,'calculate':_0x5b495d,'sort':_0x4edb3e,'hasRegex':_0x2fc2bd,'serverSide':_0x8ba7d0,'hasGroupby':_0x56d562[_0x315b23(0x1ae)](_0x373fae['length'],0x0)};}function clauseToOpenSearch(_0x5cddb4){const _0x2a935b=_0x5db766,_0x1c0a83={'AUiGi':function(_0x4a9023,_0x25dd23){return _0x4a9023>=_0x25dd23;},'berbM':function(_0x1a3057,_0x215e81){return _0x1a3057===_0x215e81;},'gFuOY':function(_0x49f3dd,_0x261d5d){return _0x49f3dd===_0x261d5d;},'pLioB':_0x2a935b(0x2f8),'nZIBI':_0x2a935b(0x3b5),'RyXPF':function(_0x47d94a,_0x57e1fb){return _0x47d94a===_0x57e1fb;},'JnvXP':'message','liNsr':function(_0x5037b3,_0xafa4b6){return _0x5037b3(_0xafa4b6);},'WHWjg':function(_0x3e20b4,_0x5931c1){return _0x3e20b4!==_0x5931c1;},'JjXId':_0x2a935b(0x1a9)};if(_0x1c0a83['gFuOY'](_0x5cddb4[_0x2a935b(0x402)],_0x2a935b(0x404)))return{'match_phrase':{'message':_0x5cddb4['value']}};if(_0x5cddb4[_0x2a935b(0x402)]===_0x1c0a83[_0x2a935b(0x2ed)])return{'match':{'message':_0x5cddb4[_0x2a935b(0x3e8)]}};if(_0x1c0a83[_0x2a935b(0x1d1)](_0x5cddb4[_0x2a935b(0x402)],_0x1c0a83[_0x2a935b(0x2bf)])){if(_0x1c0a83[_0x2a935b(0x423)](_0x5cddb4[_0x2a935b(0x3b5)],_0x1c0a83[_0x2a935b(0x2ad)]))return{'match':{'message':_0x5cddb4[_0x2a935b(0x3e8)]}};if(_0x1c0a83['liNsr'](isKvPath,_0x5cddb4[_0x2a935b(0x3b5)]))return{'term':{[_0x5cddb4[_0x2a935b(0x3b5)]]:_0x5cddb4[_0x2a935b(0x3e8)]}};if(isKvnPath(_0x5cddb4[_0x2a935b(0x3b5)])){if(_0x1c0a83[_0x2a935b(0x1af)](_0x1c0a83[_0x2a935b(0x336)],_0x1c0a83[_0x2a935b(0x336)])){if(_0x1c0a83[_0x2a935b(0x3ed)](_0x126fda[_0x2a935b(0x27a)],0x2)&&(_0x3da693[0x0]==='\x22'&&_0xc5b5dd[_0x2a935b(0x434)]('\x22')||_0x1c0a83[_0x2a935b(0x2fa)](_0x563b06[0x0],'\x27')&&_0x3ccc48['endsWith']('\x27')))return _0x3e3a79[_0x2a935b(0x282)](0x1,-0x1);return _0x3f5c32;}else{const _0x4ec8b1=_0x1c0a83['liNsr'](Number,_0x5cddb4[_0x2a935b(0x3e8)]);return Number['isFinite'](_0x4ec8b1)?{'term':{[_0x5cddb4[_0x2a935b(0x3b5)]]:_0x4ec8b1}}:{'term':{[_0x5cddb4[_0x2a935b(0x3b5)]]:_0x5cddb4[_0x2a935b(0x3e8)]}};}}return{'term':{[_0x5cddb4[_0x2a935b(0x3b5)]+'.keyword']:_0x5cddb4[_0x2a935b(0x3e8)]}};}return null;}function buildOpenSearchQuery(_0x1710c3,_0x39817e){const _0xc590a2=_0x5db766,_0x38ca92={'gfuMf':function(_0x46900e,_0x3923af){return _0x46900e(_0x3923af);},'qLPIf':_0xc590a2(0x41f),'Bsgur':function(_0x275a14,_0x1bffe5,_0x2d51a2){return _0x275a14(_0x1bffe5,_0x2d51a2);},'weYXM':function(_0x43f5da,_0x26988b){return _0x43f5da!==_0x26988b;},'kUWSg':'dDWoP'},_0x543b76=DATASET_PROFILES[_0x1710c3&&_0x1710c3['dataset']||_0x38ca92[_0xc590a2(0x318)]],_0x394d68={'range':{[_0x543b76[_0xc590a2(0x1ca)]]:{'gte':_0x39817e[_0xc590a2(0x195)],'lte':_0x39817e['to']}}},_0x1cc381=_0x38ca92[_0xc590a2(0x3d1)](astToOpenSearch,_0x1710c3[_0xc590a2(0x334)],DATASET_PROFILES[_0x1710c3&&_0x1710c3['dataset']||_0x38ca92[_0xc590a2(0x318)]]);if(!_0x1cc381)return _0x38ca92['weYXM'](_0x38ca92['kUWSg'],_0x38ca92[_0xc590a2(0x343)])?{'bool':{'should':[_0x38ca92['gfuMf'](_0x47b738,_0x196031[_0xc590a2(0x37c)]),{'match_phrase':{[_0x4a7e23[_0xc590a2(0x2ae)]]:_0x3e7f06['value']}}],'minimum_should_match':0x1}}:{'bool':{'filter':[_0x394d68]}};return{'bool':{'filter':[_0x394d68],'must':[_0x1cc381]}};}function sourceFieldsFor(_0x1b149c){const _0x31616e=_0x5db766,_0x3a39d6={'uqffD':function(_0x548f8c){return _0x548f8c();},'xDaDD':function(_0x2265e8,_0x200473){return _0x2265e8(_0x200473);},'muTNj':function(_0x3e2419,_0x40aad9){return _0x3e2419===_0x40aad9;},'ahzYt':_0x31616e(0x3f4),'PPbcT':_0x31616e(0x3a4),'XFuTH':function(_0x82d71e,_0x5817ae){return _0x82d71e(_0x5817ae);},'sGBbk':_0x31616e(0x424),'BKRfl':'VlQrv','KEPAz':'field','vDOlr':function(_0x293c9e,_0x467254){return _0x293c9e(_0x467254);},'oJTGd':function(_0x368fa1,_0x4a0eca){return _0x368fa1!==_0x4a0eca;},'GkRtf':_0x31616e(0x203),'aZXHx':function(_0x2ec13b,_0x56a6a8){return _0x2ec13b(_0x56a6a8);}},_0x5380af=new Set([_0x31616e(0x2c4),TIME_FIELD]),_0x568e25=_0x386e8f=>{const _0x180166=_0x31616e;if(_0x1b149c['extracted'][_0x180166(0x1cf)](_0x386e8f))return;if(isBodyPath(_0x386e8f)){if(_0x3a39d6[_0x180166(0x38d)](_0x3a39d6[_0x180166(0x3e4)],_0x3a39d6['PPbcT'])){_0x250fc7++;const _0x2996f1=_0x3a39d6[_0x180166(0x1f4)](_0x5e2ec5);return _0x3a39d6[_0x180166(0x201)](_0x4c3485,')'),_0x2996f1;}else{_0x5380af['add'](_0x180166(0x332));return;}}if(_0x3a39d6[_0x180166(0x23c)](isResponsePath,_0x386e8f)){_0x5380af['add'](_0x180166(0x2db));return;}_0x5380af['add'](_0x386e8f);};_0x1b149c['groupby'][_0x31616e(0x20c)](_0x568e25);if(_0x3a39d6[_0x31616e(0x352)](_0x1b149c[_0x31616e(0x2c5)]['type'],_0x3a39d6[_0x31616e(0x248)]))_0x3a39d6[_0x31616e(0x2a9)](_0x568e25,_0x1b149c[_0x31616e(0x2c5)][_0x31616e(0x3b5)]);return _0x1b149c[_0x31616e(0x3ae)]['forEach'](_0x556196=>{const _0x51e95c=_0x31616e,_0x341165={'liKuy':function(_0x116a34,_0x48a99c){return _0x3a39d6['muTNj'](_0x116a34,_0x48a99c);},'xUFuT':_0x3a39d6[_0x51e95c(0x207)]};if(_0x3a39d6[_0x51e95c(0x356)]!==_0x3a39d6['BKRfl']){const _0x46f679=_0x2960d8=>({'wildcard':{[_0x2960d8]:{'value':'*'+_0x7fdc41[_0x51e95c(0x3e8)]+'*','case_insensitive':!![]}}});if(_0x341165['liKuy'](_0x1550c8[_0x51e95c(0x1a0)],_0x341165[_0x51e95c(0x370)]))return{'bool':{'should':[_0x46f679(_0x301912['keywordPath']),{'match_phrase':{[_0x5c4fb6['path']]:_0x30fdec['value']}}],'minimum_should_match':0x1}};return _0x46f679(_0x560c40[_0x51e95c(0x2ae)]);}else{if(_0x556196[_0x51e95c(0x402)]===_0x3a39d6[_0x51e95c(0x456)])_0x3a39d6['vDOlr'](_0x568e25,_0x556196['field']);}}),Array[_0x31616e(0x195)](_0x5380af);}function metricSubAgg(_0x564bae,_0x4277a3){const _0x22dc31=_0x5db766,_0x5c83e2={'BMdyh':_0x22dc31(0x41f),'EtAUB':_0x22dc31(0x216),'DgXmo':function(_0x403843,_0x525663){return _0x403843===_0x525663;},'gKEHI':_0x22dc31(0x2bc),'RyqxQ':function(_0x5a97ed,_0x138372){return _0x5a97ed===_0x138372;},'LfUFP':_0x22dc31(0x303),'prmLM':_0x22dc31(0x409),'ObQjE':function(_0xac844e,_0x21917d){return _0xac844e===_0x21917d;}},{type:_0x325cfc}=_0x564bae,_0x51f61f=DATASET_PROFILES[_0x4277a3||_0x5c83e2[_0x22dc31(0x347)]],_0x5b62d1=_0x51f61f['metricPath'](_0x564bae[_0x22dc31(0x3b5)]);if(_0x325cfc===_0x5c83e2[_0x22dc31(0x2f7)])return{'metric':{'avg':{'field':_0x5b62d1}}};if(_0x5c83e2[_0x22dc31(0x2ba)](_0x325cfc,_0x5c83e2[_0x22dc31(0x26f)]))return{'metric':{'sum':{'field':_0x5b62d1}}};if(_0x5c83e2[_0x22dc31(0x305)](_0x325cfc,_0x22dc31(0x29c)))return{'metric':{'min':{'field':_0x5b62d1}}};if(_0x5c83e2[_0x22dc31(0x305)](_0x325cfc,_0x5c83e2[_0x22dc31(0x3af)]))return{'metric':{'max':{'field':_0x5b62d1}}};if(_0x325cfc===_0x5c83e2['prmLM'])return{'metric':{'percentiles':{'field':_0x5b62d1,'percents':[0x5f]}}};if(_0x5c83e2[_0x22dc31(0x462)](_0x325cfc,_0x22dc31(0x3f2)))return{'metric':{'percentiles':{'field':_0x5b62d1,'percents':[0x63]}}};return undefined;}function readNativeMetric(_0x344371,_0x57d8a6){const _0x1347c3=_0x5db766,_0x45fe3a={'Wwpsr':function(_0x4bbdda,_0x4d55e2){return _0x4bbdda===_0x4d55e2;},'FXAxf':_0x1347c3(0x203),'bmXHg':function(_0x34d31e,_0x5b6c55){return _0x34d31e===_0x5b6c55;},'bfXHr':'p95','LAmHf':'95.0','UYYpb':function(_0x515aca,_0x1426e2){return _0x515aca===_0x1426e2;},'JuOGW':_0x1347c3(0x3f2),'bNxZj':_0x1347c3(0x263)};if(_0x45fe3a['Wwpsr'](_0x57d8a6[_0x1347c3(0x1a0)],_0x45fe3a[_0x1347c3(0x28d)]))return _0x344371['doc_count'];const _0x21e673=_0x344371['metric']||{};if(_0x45fe3a[_0x1347c3(0x230)](_0x57d8a6[_0x1347c3(0x1a0)],_0x45fe3a[_0x1347c3(0x41a)]))return(_0x21e673['values']&&(_0x21e673['values'][_0x45fe3a[_0x1347c3(0x2fb)]]??_0x21e673['values']['95']))??null;if(_0x45fe3a[_0x1347c3(0x394)](_0x57d8a6[_0x1347c3(0x1a0)],_0x45fe3a['JuOGW']))return(_0x21e673[_0x1347c3(0x1ab)]&&(_0x21e673[_0x1347c3(0x1ab)][_0x45fe3a[_0x1347c3(0x2b6)]]??_0x21e673[_0x1347c3(0x1ab)]['99']))??null;return _0x21e673[_0x1347c3(0x3e8)]??null;}function buildTermsAgg(_0x36979c){const _0x14edac=_0x5db766,_0xf090e={'RBIXv':function(_0x5d16fe,_0x8dfd64){return _0x5d16fe!==_0x8dfd64;},'iokpf':_0x14edac(0x1b3),'HvWbl':'malformed','MFjwH':_0x14edac(0x274),'loodF':function(_0x5c7598,_0x3c9512,_0x341148,_0x13b65d,_0x248f8b){return _0x5c7598(_0x3c9512,_0x341148,_0x13b65d,_0x248f8b);},'DMfTL':function(_0xaf3314,_0x3918e5){return _0xaf3314===_0x3918e5;},'uNFjo':_0x14edac(0x317),'ytApU':function(_0x5a75d3,_0x4570e6){return _0x5a75d3===_0x4570e6;},'pDsdy':'count','VCtlG':_0x14edac(0x3df),'tzSOk':_0x14edac(0x409),'NHVhR':function(_0xe36d5d,_0x388388){return _0xe36d5d<_0x388388;},'cAuwn':function(_0x3685f0,_0x4621ff){return _0x3685f0-_0x4621ff;},'OjqOT':function(_0xab2ff0,_0x4def93){return _0xab2ff0+_0x4def93;},'CiKvm':_0x14edac(0x3cf),'gqODj':function(_0x59d890,_0x1a8475){return _0x59d890(_0x1a8475);}},_0x50542e=_0x36979c[_0x14edac(0x1ad)],_0xfd8c6b=_0x36979c[_0x14edac(0x2c5)],_0x4489c2=_0x1b7542=>{const _0x4b632e=_0x14edac;if(_0xf090e[_0x4b632e(0x43e)](_0xf090e[_0x4b632e(0x285)],_0x4b632e(0x2aa))){if(_0xf090e[_0x4b632e(0x22e)](_0x59594d[_0x4b632e(0x360)],_0xf090e[_0x4b632e(0x2a5)]))throw new _0x4a296a(_0xf090e[_0x4b632e(0x41d)],_0x4b632e(0x400)+_0x103fa7[_0x4b632e(0x360)]+')');if(_0x27a5aa)throw new _0x3ef273(_0x4b632e(0x368),_0xf090e[_0x4b632e(0x251)]);_0xf090e[_0x4b632e(0x2c0)](_0xbc3f63,_0x54e175[_0x4b632e(0x1bb)],_0x123620,_0x5d3390[_0x4b632e(0x1d9)],![]);return;}else{const _0x3ff080=_0x50542e[_0x1b7542],_0x1e3b4c=DATASET_PROFILES[_0x36979c[_0x4b632e(0x260)]||_0x4b632e(0x41f)],_0x2bcdbe=_0x1e3b4c[_0x4b632e(0x1b4)](_0x3ff080,_0x36979c['extracted']),_0x5d17e4=_0xf090e[_0x4b632e(0x37b)](_0xfd8c6b['type'],_0xf090e[_0x4b632e(0x3a0)])?{'_count':_0xf090e[_0x4b632e(0x34b)]}:_0xf090e['ytApU'](_0xfd8c6b[_0x4b632e(0x1a0)],_0xf090e[_0x4b632e(0x32d)])?{'metric.95':_0xf090e[_0x4b632e(0x34b)]}:_0xf090e[_0x4b632e(0x43e)](_0xfd8c6b['type'],_0x4b632e(0x3f2))?{'metric.99':_0xf090e[_0x4b632e(0x34b)]}:{'metric':_0xf090e[_0x4b632e(0x34b)]},_0x4c8b4f={'terms':{'field':_0x2bcdbe,'size':TERMS_CAP}};if(_0xf090e['NHVhR'](_0x1b7542,_0xf090e[_0x4b632e(0x333)](_0x50542e['length'],0x1)))_0x4c8b4f[_0x4b632e(0x31f)]={'sub':_0x4489c2(_0xf090e[_0x4b632e(0x319)](_0x1b7542,0x1))},_0x4c8b4f[_0x4b632e(0x1b0)]['order']={'_count':_0xf090e[_0x4b632e(0x34b)]};else{if(_0xf090e['DMfTL'](_0xf090e['CiKvm'],_0xf090e[_0x4b632e(0x1dd)]))_0xfd8c6b[_0x4b632e(0x1a0)]!==_0xf090e[_0x4b632e(0x3a0)]?(_0x4c8b4f[_0x4b632e(0x31f)]=metricSubAgg(_0xfd8c6b,_0x36979c[_0x4b632e(0x260)]),_0x4c8b4f['terms']['order']=_0x5d17e4):_0x4c8b4f[_0x4b632e(0x1b0)][_0x4b632e(0x3c2)]={'_count':_0xf090e['VCtlG']};else{const _0xa51174={};_0x52e2df[_0x4b632e(0x20c)]((_0x19e512,_0x4b99aa)=>{_0xa51174[_0x19e512]=_0x2d108b[_0x4b99aa];}),_0x597e3b={'dims':_0xa51174,'count':0x0,'values':[]},_0x2e9648[_0x4b632e(0x349)](_0x2fca43,_0xa5d76f);}}return _0x4c8b4f;}};return{'groups':_0xf090e[_0x14edac(0x3dd)](_0x4489c2,0x0)};}function parseTermsAgg(_0x2c915b,_0x534c35){const _0x29aec0=_0x5db766,_0x179685={'Boeyh':_0x29aec0(0x1a7),'lFqVM':function(_0x186ec7){return _0x186ec7();},'aFsSZ':function(_0x2a2868,_0x253858){return _0x2a2868!==_0x253858;},'KWdcY':_0x29aec0(0x34f),'YwXmd':function(_0x380f25,_0x20a8d5){return _0x380f25===_0x20a8d5;},'VNuCs':function(_0x15c18a,_0x566d6e){return _0x15c18a-_0x566d6e;},'SIMSj':_0x29aec0(0x294),'SrAOo':function(_0x50acf2,_0xa1c2ff,_0x331d09){return _0x50acf2(_0xa1c2ff,_0x331d09);},'GSErp':function(_0x273811,_0x18ddb3,_0x5ad71f,_0x4e3fdd){return _0x273811(_0x18ddb3,_0x5ad71f,_0x4e3fdd);},'YNTRK':function(_0x236b4e,_0x5ee939,_0x20af8f){return _0x236b4e(_0x5ee939,_0x20af8f);}},_0x1a3c83=_0x534c35[_0x29aec0(0x1ad)],_0x19b448=_0x534c35[_0x29aec0(0x2c5)],_0x2964d6=[],_0x128d75=(_0x77d1ea,_0x5e47b3,_0x56b0b0)=>{const _0x2f7f4b=_0x29aec0;if(_0x179685[_0x2f7f4b(0x3a3)](_0x2f7f4b(0x1f0),_0x179685[_0x2f7f4b(0x291)]))for(const _0x3e8beb of _0x77d1ea||[]){const _0x414306=Object[_0x2f7f4b(0x341)]({},_0x56b0b0,{[_0x1a3c83[_0x5e47b3]]:_0x3e8beb['key']});if(_0x179685[_0x2f7f4b(0x45f)](_0x5e47b3,_0x179685[_0x2f7f4b(0x427)](_0x1a3c83[_0x2f7f4b(0x27a)],0x1))){if(_0x179685[_0x2f7f4b(0x45f)](_0x179685[_0x2f7f4b(0x2a7)],_0x2f7f4b(0x294)))_0x2964d6[_0x2f7f4b(0x237)](Object[_0x2f7f4b(0x341)]({},_0x414306,{'value':_0x179685[_0x2f7f4b(0x2d5)](readNativeMetric,_0x3e8beb,_0x19b448)}));else return _0x1afafd++,{'op':_0x179685[_0x2f7f4b(0x426)],'child':_0x179685['lFqVM'](_0x2962a8)};}else _0x128d75(_0x3e8beb['sub']&&_0x3e8beb[_0x2f7f4b(0x1be)][_0x2f7f4b(0x35d)]||[],_0x5e47b3+0x1,_0x414306);}else _0x2284d5[_0x5c960c]=_0x2eec1e[_0x4898dd];},_0x7294be=_0x2c915b&&_0x2c915b[_0x29aec0(0x41c)]&&_0x2c915b[_0x29aec0(0x41c)]['buckets']||[];return _0x179685[_0x29aec0(0x2bd)](_0x128d75,_0x7294be,0x0,{}),_0x179685[_0x29aec0(0x2f4)](sortRows,_0x2964d6,_0x534c35['sort']),_0x2964d6;}function getPath(_0x54251e,_0x206135){const _0x52143f=_0x5db766;if(!_0x54251e||!_0x206135)return undefined;if(Object[_0x52143f(0x393)][_0x52143f(0x22f)][_0x52143f(0x277)](_0x54251e,_0x206135))return _0x54251e[_0x206135];return _0x206135[_0x52143f(0x3b6)]('.')[_0x52143f(0x228)]((_0x4839ae,_0x49faa4)=>_0x4839ae===null||_0x4839ae===undefined?undefined:_0x4839ae[_0x49faa4],_0x54251e);}function toNumber(_0x1dddad){const _0x7f588f=_0x5db766,_0x48e5f8={'VuGwn':function(_0x8cb7d,_0x2f070f){return _0x8cb7d===_0x2f070f;}};if(_0x48e5f8[_0x7f588f(0x1f5)](_0x1dddad,null)||_0x1dddad===undefined||_0x48e5f8[_0x7f588f(0x1f5)](_0x1dddad,''))return null;const _0x3784e4=Number(_0x1dddad);return Number[_0x7f588f(0x385)](_0x3784e4)?_0x3784e4:null;}const MAX_PAYLOAD_PARSE_LEN=0x100*0x400;function safeJsonParse(_0x1f5c48){const _0x39e0f7=_0x5db766,_0x12c32e={'HUXQC':function(_0x2ec0fb){return _0x2ec0fb();},'WMIVX':function(_0x23a24d,_0x8685db){return _0x23a24d!==_0x8685db;},'vXYSF':_0x39e0f7(0x194),'nQMOW':function(_0x4e6b72,_0x5c947f){return _0x4e6b72===_0x5c947f;},'WcnNx':function(_0x39fdfe,_0x21d1fe){return _0x39fdfe>_0x21d1fe;},'KUXCp':function(_0x5a5c68,_0x1f6042){return _0x5a5c68===_0x1f6042;},'lUnxp':_0x39e0f7(0x2f0),'AoxDz':_0x39e0f7(0x28b)};if(_0x12c32e[_0x39e0f7(0x205)](typeof _0x1f5c48,_0x12c32e[_0x39e0f7(0x39b)])||_0x12c32e['nQMOW'](_0x1f5c48[_0x39e0f7(0x27a)],0x0)||_0x12c32e[_0x39e0f7(0x42f)](_0x1f5c48[_0x39e0f7(0x27a)],MAX_PAYLOAD_PARSE_LEN))return null;try{const _0x5d1ebd=JSON[_0x39e0f7(0x33b)](_0x1f5c48);return _0x12c32e[_0x39e0f7(0x205)](_0x5d1ebd,null)&&_0x12c32e[_0x39e0f7(0x39c)](typeof _0x5d1ebd,_0x12c32e[_0x39e0f7(0x223)])?_0x5d1ebd:null;}catch{if(_0x12c32e[_0x39e0f7(0x431)](_0x12c32e[_0x39e0f7(0x395)],_0x12c32e[_0x39e0f7(0x395)]))return null;else _0x3137b8++,_0x4801b4[_0x39e0f7(0x237)](_0x12c32e[_0x39e0f7(0x2e1)](_0x253ae9));}}function payloadValue(_0x34c20f,_0xafd40f,_0x49fa66){const _0x466a5a=_0x5db766,_0x36f606={'Zfxka':function(_0x586320,_0x188188){return _0x586320(_0x188188);},'qNKGI':function(_0x3305d2,_0x27481e){return _0x3305d2(_0x27481e);},'CtgSp':function(_0x17ccc8,_0x4a3d03,_0x37225c){return _0x17ccc8(_0x4a3d03,_0x37225c);},'EFDCn':function(_0xd3cbb5,_0x2f6adb,_0x4909c0){return _0xd3cbb5(_0x2f6adb,_0x4909c0);},'OqiOc':_0x466a5a(0x234),'WulkM':function(_0x427302,_0x30b175){return _0x427302===_0x30b175;},'GjgxF':_0x466a5a(0x2db),'HzQro':'response.'};if(_0x36f606[_0x466a5a(0x3b7)](isBodyPath,_0xafd40f)){if(_0x49fa66[_0x466a5a(0x435)]===undefined)_0x49fa66[_0x466a5a(0x435)]=_0x36f606[_0x466a5a(0x2d7)](safeJsonParse,_0x36f606[_0x466a5a(0x1f7)](getPath,_0x34c20f,_0x466a5a(0x332)));return _0x49fa66[_0x466a5a(0x435)]?_0x36f606[_0x466a5a(0x198)](getPath,_0x49fa66[_0x466a5a(0x435)],_0xafd40f['slice'](_0x36f606[_0x466a5a(0x3c7)][_0x466a5a(0x27a)])):undefined;}if(_0x36f606[_0x466a5a(0x3b7)](isResponsePath,_0xafd40f)){if(_0x36f606['WulkM'](_0x49fa66[_0x466a5a(0x220)],undefined))_0x49fa66[_0x466a5a(0x220)]=_0x36f606['Zfxka'](safeJsonParse,getPath(_0x34c20f,_0x36f606[_0x466a5a(0x221)]));return _0x49fa66[_0x466a5a(0x220)]?_0x36f606[_0x466a5a(0x1f7)](getPath,_0x49fa66[_0x466a5a(0x220)],_0xafd40f['slice'](_0x36f606[_0x466a5a(0x399)][_0x466a5a(0x27a)])):undefined;}return undefined;}function flattenLeafPaths(_0x236455,_0x1bf168={}){const _0x33fd01=_0x5db766,_0x69815f={'wNXcX':function(_0x31beb1,_0x22dde9){return _0x31beb1!==_0x22dde9;},'VtdUf':_0x33fd01(0x2f0),'outpi':function(_0x4700a4,_0x27846f){return _0x4700a4<_0x27846f;},'UOkYB':function(_0xad2bd3,_0x210ed7,_0x3b23a1,_0xf79ba8){return _0xad2bd3(_0x210ed7,_0x3b23a1,_0xf79ba8);},'QoPRQ':function(_0x36a9ad,_0x237db3){return _0x36a9ad+_0x237db3;},'pZeYD':'nhnmw'},_0x254ed5=_0x1bf168[_0x33fd01(0x37f)]||0x6,_0x4e322d=[],_0x1793df=(_0x2b8f21,_0x163e69,_0x3505f9)=>{const _0x57c6fe=_0x33fd01;if(_0x69815f[_0x57c6fe(0x452)](_0x2b8f21,null)&&typeof _0x2b8f21===_0x69815f['VtdUf']&&!Array[_0x57c6fe(0x292)](_0x2b8f21)&&_0x69815f[_0x57c6fe(0x304)](_0x3505f9,_0x254ed5))for(const _0x37eab3 of Object[_0x57c6fe(0x39a)](_0x2b8f21)){if(!/^[A-Za-z0-9_][A-Za-z0-9_.-]*$/[_0x57c6fe(0x3d6)](_0x37eab3))continue;_0x69815f[_0x57c6fe(0x2e6)](_0x1793df,_0x2b8f21[_0x37eab3],_0x163e69?_0x163e69+'.'+_0x37eab3:_0x37eab3,_0x69815f[_0x57c6fe(0x240)](_0x3505f9,0x1));}else _0x163e69&&(_0x69815f[_0x57c6fe(0x225)]!==_0x69815f[_0x57c6fe(0x225)]?(_0x3097c0+=_0x3bd277[_0x168850],_0x3af955++):_0x4e322d['push'](_0x163e69));};return _0x1793df(_0x236455,'',0x0),_0x4e322d;}function resolveScanValue(_0x5df684,_0x4e32d6,_0x634562,_0x3acfae,_0x23a608){const _0x1159e9=_0x5db766,_0x1da231={'HqrUI':function(_0x2cd51c,_0x59cb8b){return _0x2cd51c(_0x59cb8b);},'jEnCJ':function(_0x33d1d8,_0x49de10,_0x377460,_0x1faa0b){return _0x33d1d8(_0x49de10,_0x377460,_0x1faa0b);},'rskYI':function(_0x176bdc,_0xa183f0,_0x167f60){return _0x176bdc(_0xa183f0,_0x167f60);}};if(_0x3acfae[_0x1159e9(0x1cf)](_0x4e32d6))return _0x634562[_0x4e32d6];if(_0x1da231['HqrUI'](isPayloadPath,_0x4e32d6))return _0x1da231[_0x1159e9(0x3ab)](payloadValue,_0x5df684,_0x4e32d6,_0x23a608);return _0x1da231['rskYI'](getPath,_0x5df684,_0x4e32d6);}function evalPayloadClause(_0x1b40e1,_0x20d618){const _0x39bc40=_0x5db766,_0x17af0d={'QwTFq':function(_0x3bfaf5,_0x4119d1){return _0x3bfaf5===_0x4119d1;},'NiOgZ':_0x39bc40(0x403),'yRaPr':function(_0x15ec87,_0x478200){return _0x15ec87!==_0x478200;},'QYdNX':function(_0x57844d,_0x23f91f){return _0x57844d===_0x23f91f;},'WfKWh':function(_0x3a4c3b,_0x19b81d){return _0x3a4c3b===_0x19b81d;},'fKJAc':function(_0x149f6d,_0x39c738){return _0x149f6d(_0x39c738);},'Nglpv':function(_0x3c5522,_0x1436da){return _0x3c5522===_0x1436da;},'gsWlL':function(_0x21f10a,_0x4290ef){return _0x21f10a(_0x4290ef);},'ZMwra':function(_0x32a843,_0xf44507){return _0x32a843(_0xf44507);},'lyqxn':function(_0x114ca7,_0x130d8f){return _0x114ca7(_0x130d8f);},'RNKHu':_0x39bc40(0x25c),'qmtOZ':function(_0x3ebbf3,_0x40b522){return _0x3ebbf3(_0x40b522);},'FgQWs':function(_0x10964f,_0x2c7663){return _0x10964f>_0x2c7663;},'yQWit':function(_0x4ca0c8,_0x326958){return _0x4ca0c8>=_0x326958;}};if(_0x17af0d['QwTFq'](_0x20d618[_0x39bc40(0x402)],_0x17af0d['NiOgZ']))return _0x17af0d[_0x39bc40(0x1c4)](_0x1b40e1,undefined)&&_0x1b40e1!==null;if(_0x17af0d['QwTFq'](_0x1b40e1,undefined)||_0x17af0d[_0x39bc40(0x254)](_0x1b40e1,null))return![];if(_0x17af0d[_0x39bc40(0x392)](_0x20d618['kind'],'in')){const _0x1eb0ea=(_0x20d618[_0x39bc40(0x1ab)]||[])['map'](_0x1bb83a=>String(_0x1bb83a)[_0x39bc40(0x3d7)]());return _0x1eb0ea[_0x39bc40(0x243)](_0x17af0d['fKJAc'](String,_0x1b40e1)[_0x39bc40(0x3d7)]());}switch(_0x20d618[_0x39bc40(0x1f8)]){case'eq':return _0x17af0d[_0x39bc40(0x30d)](String(_0x1b40e1)[_0x39bc40(0x3d7)](),_0x17af0d['fKJAc'](String,_0x20d618[_0x39bc40(0x3e8)])[_0x39bc40(0x3d7)]());case'ne':return _0x17af0d['gsWlL'](String,_0x1b40e1)[_0x39bc40(0x3d7)]()!==_0x17af0d['ZMwra'](String,_0x20d618[_0x39bc40(0x3e8)])[_0x39bc40(0x3d7)]();case _0x39bc40(0x2e2):return _0x17af0d[_0x39bc40(0x40a)](String,_0x1b40e1)[_0x39bc40(0x3d7)]()[_0x39bc40(0x243)](String(_0x20d618[_0x39bc40(0x3e8)])[_0x39bc40(0x3d7)]());case'gt':case _0x17af0d[_0x39bc40(0x245)]:case'lt':case _0x39bc40(0x1c6):{const _0xa824db=Number(_0x1b40e1),_0xc5c2a7=_0x17af0d[_0x39bc40(0x1d4)](Number,_0x20d618[_0x39bc40(0x3e8)]);if(!Number[_0x39bc40(0x385)](_0xa824db)||!Number[_0x39bc40(0x385)](_0xc5c2a7))return![];return _0x17af0d[_0x39bc40(0x3ec)](_0x20d618['cmp'],'gt')?_0x17af0d[_0x39bc40(0x354)](_0xa824db,_0xc5c2a7):_0x17af0d[_0x39bc40(0x3ec)](_0x20d618['cmp'],_0x17af0d[_0x39bc40(0x245)])?_0x17af0d[_0x39bc40(0x3e7)](_0xa824db,_0xc5c2a7):_0x20d618[_0x39bc40(0x1f8)]==='lt'?_0xa824db<_0xc5c2a7:_0xa824db<=_0xc5c2a7;}default:return![];}}function evalPayloadFilters(_0x12276f,_0x54f1b0,_0x10959e){const _0x47b457=_0x5db766,_0x7b6dff={'ojozh':_0x47b457(0x3b5),'FXHFa':function(_0x2e13f6,_0xe57848){return _0x2e13f6===_0xe57848;},'jjvMu':function(_0x296f04,_0x15505d){return _0x296f04!==_0x15505d;},'YThsY':'fohvk','imFGq':_0x47b457(0x21c),'AUPNk':function(_0x3d5855,_0x51a3af,_0xa3f06a,_0x30236c){return _0x3d5855(_0x51a3af,_0xa3f06a,_0x30236c);},'nHbNB':function(_0x43e377,_0x218147,_0x2925cb){return _0x43e377(_0x218147,_0x2925cb);}};if(!_0x54f1b0||_0x7b6dff[_0x47b457(0x217)](_0x54f1b0[_0x47b457(0x27a)],0x0))return!![];for(const _0x17d89c of _0x54f1b0){if(_0x7b6dff['jjvMu'](_0x7b6dff[_0x47b457(0x44a)],_0x7b6dff['imFGq'])){const _0x14319b=_0x7b6dff[_0x47b457(0x446)](payloadValue,_0x12276f,_0x17d89c[_0x47b457(0x3b5)],_0x10959e);if(!_0x7b6dff['nHbNB'](evalPayloadClause,_0x14319b,_0x17d89c))return![];}else throw new _0x4daa1e(_0x7b6dff[_0x47b457(0x267)],_0x47b457(0x28c)+_0x1ecd2b,{'field':_0xc4afe4});}return!![];}function extractFromDoc(_0x2054bc,_0x211a96){const _0xfd1e1c=_0x5db766,_0x3e6f3e={'KKGAN':function(_0x48703b,_0x49c33f){return _0x48703b===_0x49c33f;},'AHBTs':'string','gVgOD':function(_0x273fdf,_0x2ca5cf){return _0x273fdf!==_0x2ca5cf;}},_0x43de7b=_0x3e6f3e[_0xfd1e1c(0x1ce)](typeof(_0x2054bc&&_0x2054bc[_0xfd1e1c(0x2c4)]),_0x3e6f3e[_0xfd1e1c(0x353)])?_0x2054bc[_0xfd1e1c(0x2c4)]:'',_0x23acb6={};for(const {regex:_0x3f2136}of _0x211a96){_0x3f2136[_0xfd1e1c(0x3c6)]=0x0;const _0x49a564=_0x3f2136[_0xfd1e1c(0x3d5)](_0x43de7b);if(!_0x49a564)return{'ok':![],'extracted':_0x23acb6};if(_0x49a564[_0xfd1e1c(0x41c)])for(const [_0x527910,_0x5d3175]of Object[_0xfd1e1c(0x2f3)](_0x49a564['groups'])){if(_0x3e6f3e[_0xfd1e1c(0x1d5)](_0x5d3175,undefined))_0x23acb6[_0x527910]=_0x5d3175;}}return{'ok':!![],'extracted':_0x23acb6};}function percentile(_0x2ad522,_0x3af4e0){const _0x129b24=_0x5db766,_0x4110aa={'yitfm':function(_0x56c536,_0x4820ee){return _0x56c536===_0x4820ee;},'YBbjq':function(_0x12178f,_0x4952b6){return _0x12178f*_0x4952b6;},'ESakc':function(_0x170516,_0x5889af){return _0x170516/_0x5889af;},'sJAjF':function(_0x4894b2,_0x50249a){return _0x4894b2+_0x50249a;},'XogXH':function(_0x581491,_0x2a7952){return _0x581491*_0x2a7952;},'zmUvi':function(_0x4a7815,_0x1147cd){return _0x4a7815-_0x1147cd;}};if(_0x4110aa[_0x129b24(0x1b5)](_0x2ad522[_0x129b24(0x27a)],0x0))return null;if(_0x2ad522[_0x129b24(0x27a)]===0x1)return _0x2ad522[0x0];const _0x5fb1e7=_0x4110aa[_0x129b24(0x31b)](_0x4110aa[_0x129b24(0x286)](_0x3af4e0,0x64),_0x2ad522['length']-0x1),_0x3ec9f5=Math[_0x129b24(0x1d7)](_0x5fb1e7),_0xfeddbc=Math[_0x129b24(0x366)](_0x5fb1e7);if(_0x3ec9f5===_0xfeddbc)return _0x2ad522[_0x3ec9f5];return _0x4110aa[_0x129b24(0x2a2)](_0x2ad522[_0x3ec9f5],_0x4110aa[_0x129b24(0x244)](_0x4110aa[_0x129b24(0x275)](_0x2ad522[_0xfeddbc],_0x2ad522[_0x3ec9f5]),_0x4110aa['zmUvi'](_0x5fb1e7,_0x3ec9f5)));}function finalizeMetric(_0x3fded8,_0x12e343){const _0xf80d2b=_0x5db766,_0x5911d={'HTOXg':function(_0x4c8ef6,_0x20ba3a){return _0x4c8ef6===_0x20ba3a;},'zIvSn':function(_0x59441b,_0x58c642){return _0x59441b===_0x58c642;},'Mxycx':_0xf80d2b(0x2bc),'hljGz':_0xf80d2b(0x216),'wKNZg':function(_0x3b89a3,_0x1e8e04){return _0x3b89a3/_0x1e8e04;},'IlCoJ':function(_0x481e6d,_0x5bd994){return _0x481e6d===_0x5bd994;},'OGbEj':_0xf80d2b(0x29c),'OWGna':'max','aJVvj':function(_0x182a98,_0x21740c){return _0x182a98===_0x21740c;},'YSqgD':_0xf80d2b(0x409),'jHJbD':function(_0x5c6fde,_0x1bea9e){return _0x5c6fde===_0x1bea9e;},'vhoAs':'p99'};if(_0x5911d[_0xf80d2b(0x362)](_0x12e343['length'],0x0))return null;if(_0x5911d['zIvSn'](_0x3fded8,_0x5911d[_0xf80d2b(0x41b)]))return _0x12e343[_0xf80d2b(0x228)]((_0x11f5b5,_0x28531a)=>_0x11f5b5+_0x28531a,0x0);if(_0x5911d[_0xf80d2b(0x362)](_0x3fded8,_0x5911d['hljGz']))return _0x5911d[_0xf80d2b(0x2f9)](_0x12e343[_0xf80d2b(0x228)]((_0x40270d,_0x5d5472)=>_0x40270d+_0x5d5472,0x0),_0x12e343['length']);if(_0x5911d[_0xf80d2b(0x310)](_0x3fded8,_0x5911d[_0xf80d2b(0x233)]))return Math[_0xf80d2b(0x29c)](..._0x12e343);if(_0x5911d[_0xf80d2b(0x193)](_0x3fded8,_0x5911d[_0xf80d2b(0x391)]))return Math[_0xf80d2b(0x303)](..._0x12e343);const _0x33737e=_0x12e343[_0xf80d2b(0x282)]()['sort']((_0x16df64,_0x2f26d3)=>_0x16df64-_0x2f26d3);if(_0x5911d[_0xf80d2b(0x2ff)](_0x3fded8,_0x5911d[_0xf80d2b(0x26a)]))return percentile(_0x33737e,0x5f);if(_0x5911d[_0xf80d2b(0x211)](_0x3fded8,_0x5911d[_0xf80d2b(0x45e)]))return percentile(_0x33737e,0x63);return null;}function metricLabel(_0x1855bf){const _0x2cbb00=_0x5db766,_0xc9c8fa={'WCUeG':function(_0xf95b12,_0x107dc8){return _0xf95b12===_0x107dc8;},'JvqXA':'count'};return _0xc9c8fa[_0x2cbb00(0x390)](_0x1855bf[_0x2cbb00(0x1a0)],_0xc9c8fa[_0x2cbb00(0x3d2)])?_0xc9c8fa[_0x2cbb00(0x3d2)]:_0x1855bf[_0x2cbb00(0x1a0)]+'('+_0x1855bf[_0x2cbb00(0x3b5)]+')';}function aggregateServerSide(_0x22b467,_0x18affd){const _0x566f40=_0x5db766,_0x56f7={'YKfEz':function(_0x9e8748,_0xe7dae0){return _0x9e8748===_0xe7dae0;},'wFCis':_0x566f40(0x203),'aOrcJ':function(_0x36e75b,_0x5e9cd5){return _0x36e75b===_0x5e9cd5;},'jNQdB':'p95','wcAlp':_0x566f40(0x1f9),'Ehqoa':_0x566f40(0x263),'nTtNC':function(_0x4d5ee3,_0x249798){return _0x4d5ee3(_0x249798);},'YzfCY':function(_0x9dccdb,_0x4aa906){return _0x9dccdb===_0x4aa906;},'TaZeO':_0x566f40(0x2ea),'RzyEZ':function(_0x210ef7,_0x4216ad,_0x79be12){return _0x210ef7(_0x4216ad,_0x79be12);},'KKSxN':function(_0x47694f,_0x44e48f,_0x267904,_0x6cbf7f){return _0x47694f(_0x44e48f,_0x267904,_0x6cbf7f);},'KfOCE':_0x566f40(0x30f),'iXgno':function(_0x28e513,_0xc59f7e,_0x2face4,_0x1eaa84,_0x1fa46b,_0x161156){return _0x28e513(_0xc59f7e,_0x2face4,_0x1eaa84,_0x1fa46b,_0x161156);},'uovnX':function(_0x35ba0e,_0x475769){return _0x35ba0e===_0x475769;},'FhvNy':function(_0x4930de,_0x3fd54f){return _0x4930de===_0x3fd54f;},'TXwax':function(_0x370c79,_0x9d58ca){return _0x370c79===_0x9d58ca;},'JZbEl':function(_0x13d621,_0x4f706f){return _0x13d621!==_0x4f706f;},'EheQJ':_0x566f40(0x313),'VqTVT':function(_0x2e5620,_0x3a79bc,_0x59c48d){return _0x2e5620(_0x3a79bc,_0x59c48d);}},{groupby:_0x5e219d,calculate:_0x3d897f,regexes:_0x5d076c,extracted:_0x294ed2,payloadFilters:_0x203e4c}=_0x18affd,_0x3f0041=new Map();let _0x245f1f=0x0;for(const _0x22b160 of _0x22b467){const _0x36fbce=_0x22b160&&_0x22b160[_0x566f40(0x3f9)]||{},{ok:_0x148e57,extracted:_0x4cf3fd}=_0x56f7[_0x566f40(0x31a)](extractFromDoc,_0x36fbce,_0x5d076c);if(!_0x148e57)continue;const _0x23d9a0={};if(!_0x56f7['KKSxN'](evalPayloadFilters,_0x36fbce,_0x203e4c,_0x23d9a0))continue;_0x245f1f++;const _0x8079b1=[];let _0x2146ff=![];for(const _0x45303c of _0x5e219d){if(_0x566f40(0x224)===_0x56f7[_0x566f40(0x3aa)]){if(_0x56f7[_0x566f40(0x23b)](_0x2a9a6d['type'],_0x56f7[_0x566f40(0x40b)]))return _0x29f520[_0x566f40(0x20a)];const _0x2b7245=_0x121533[_0x566f40(0x418)]||{};if(_0x56f7[_0x566f40(0x329)](_0x1e2f86['type'],_0x56f7[_0x566f40(0x1c3)]))return(_0x2b7245['values']&&(_0x2b7245[_0x566f40(0x1ab)][_0x56f7[_0x566f40(0x1ea)]]??_0x2b7245[_0x566f40(0x1ab)]['95']))??null;if(_0x56f7[_0x566f40(0x329)](_0x2f72ab[_0x566f40(0x1a0)],_0x566f40(0x3f2)))return(_0x2b7245['values']&&(_0x2b7245[_0x566f40(0x1ab)][_0x56f7[_0x566f40(0x328)]]??_0x2b7245['values']['99']))??null;return _0x2b7245[_0x566f40(0x3e8)]??null;}else{const _0x5d4126=_0x56f7[_0x566f40(0x299)](resolveScanValue,_0x36fbce,_0x45303c,_0x4cf3fd,_0x294ed2,_0x23d9a0);if(_0x56f7[_0x566f40(0x2cf)](_0x5d4126,undefined)||_0x56f7[_0x566f40(0x32e)](_0x5d4126,null)||_0x56f7['TXwax'](_0x5d4126,'')){_0x2146ff=!![];break;}_0x8079b1[_0x566f40(0x237)](String(_0x5d4126));}}if(_0x2146ff)continue;const _0x502931=_0x8079b1['join']('\x00');let _0x1e504c=_0x3f0041[_0x566f40(0x29f)](_0x502931);if(!_0x1e504c){if(_0x56f7[_0x566f40(0x38f)](_0x56f7[_0x566f40(0x3eb)],_0x56f7[_0x566f40(0x3eb)]))return _0x56f7['nTtNC'](_0x391988,_0x451005)||_0x49baa8[_0x566f40(0x1cf)](_0x1780a2)||_0x56f7[_0x566f40(0x384)](_0x15b861,_0x56f7[_0x566f40(0x2fe)]);else{const _0x508e2c={};_0x5e219d[_0x566f40(0x20c)]((_0x24605a,_0x1bf888)=>{_0x508e2c[_0x24605a]=_0x8079b1[_0x1bf888];}),_0x1e504c={'dims':_0x508e2c,'count':0x0,'values':[]},_0x3f0041['set'](_0x502931,_0x1e504c);}}_0x1e504c['count']++;if(_0x56f7[_0x566f40(0x38f)](_0x3d897f[_0x566f40(0x1a0)],_0x56f7['wFCis'])){const _0x5f115a=_0x56f7['iXgno'](resolveScanValue,_0x36fbce,_0x3d897f['field'],_0x4cf3fd,_0x294ed2,_0x23d9a0),_0x23a8bb=_0x56f7[_0x566f40(0x1de)](toNumber,_0x5f115a);if(_0x56f7[_0x566f40(0x38f)](_0x23a8bb,null))_0x1e504c[_0x566f40(0x1ab)][_0x566f40(0x237)](_0x23a8bb);}}const _0x4e3cf0=[];for(const _0x780612 of _0x3f0041[_0x566f40(0x1ab)]()){const _0x5148e1=_0x56f7[_0x566f40(0x384)](_0x3d897f[_0x566f40(0x1a0)],_0x56f7[_0x566f40(0x40b)])?_0x780612['count']:finalizeMetric(_0x3d897f[_0x566f40(0x1a0)],_0x780612[_0x566f40(0x1ab)]);_0x4e3cf0[_0x566f40(0x237)](Object['assign']({},_0x780612[_0x566f40(0x1ee)],{'value':_0x5148e1}));}return _0x56f7[_0x566f40(0x261)](sortRows,_0x4e3cf0,_0x18affd[_0x566f40(0x410)]),{'rows':_0x4e3cf0,'matched':_0x245f1f};}function _0x7ff0(_0x372c90,_0x97e7dc){_0x372c90=_0x372c90-0x193;const _0x3921e3=_0x3921();let _0x7ff0c5=_0x3921e3[_0x372c90];if(_0x7ff0['hAXfng']===undefined){var _0x557d58=function(_0x2ab246){const _0x47e368='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4c45e5='',_0x5f40f3='';for(let _0x124459=0x0,_0x44d282,_0x314ac9,_0x55119a=0x0;_0x314ac9=_0x2ab246['charAt'](_0x55119a++);~_0x314ac9&&(_0x44d282=_0x124459%0x4?_0x44d282*0x40+_0x314ac9:_0x314ac9,_0x124459++%0x4)?_0x4c45e5+=String['fromCharCode'](0xff&_0x44d282>>(-0x2*_0x124459&0x6)):0x0){_0x314ac9=_0x47e368['indexOf'](_0x314ac9);}for(let _0x59e55e=0x0,_0x148cbf=_0x4c45e5['length'];_0x59e55e<_0x148cbf;_0x59e55e++){_0x5f40f3+='%'+('00'+_0x4c45e5['charCodeAt'](_0x59e55e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5f40f3);};_0x7ff0['nQkTnC']=_0x557d58,_0x7ff0['EjmgIe']={},_0x7ff0['hAXfng']=!![];}const _0x3fa434=_0x3921e3[0x0],_0xba9803=_0x372c90+_0x3fa434,_0xa16680=_0x7ff0['EjmgIe'][_0xba9803];return!_0xa16680?(_0x7ff0c5=_0x7ff0['nQkTnC'](_0x7ff0c5),_0x7ff0['EjmgIe'][_0xba9803]=_0x7ff0c5):_0x7ff0c5=_0xa16680,_0x7ff0c5;}function sortRows(_0x50cde1,_0x1fc639){const _0x372c71=_0x5db766,_0xe179cb={'pRXgN':function(_0x5a398b,_0x4b326d){return _0x5a398b===_0x4b326d;},'vhyKA':function(_0x4e6643,_0x4d7f2f){return _0x4e6643===_0x4d7f2f;},'HSTuT':function(_0x4f9dbb,_0x52475f){return _0x4f9dbb===_0x52475f;},'BlPQO':function(_0x348833,_0x4c06f2){return _0x348833===_0x4c06f2;},'OqABz':function(_0x368f4a,_0x1ab37f){return _0x368f4a<_0x1ab37f;},'dhjuY':function(_0x5a67d2,_0x56501c){return _0x5a67d2===_0x56501c;},'BWFqP':_0x372c71(0x3ea)},_0x293da1=_0xe179cb[_0x372c71(0x302)](_0x1fc639,_0xe179cb[_0x372c71(0x42b)])?0x1:-0x1;_0x50cde1[_0x372c71(0x410)]((_0x21abdf,_0x425f1c)=>{const _0xf9bfa8=_0x372c71,_0x3394aa=_0xe179cb[_0xf9bfa8(0x335)](_0x21abdf['value'],null)||_0xe179cb[_0xf9bfa8(0x335)](_0x21abdf[_0xf9bfa8(0x3e8)],undefined)?-Infinity:_0x21abdf[_0xf9bfa8(0x3e8)],_0x1e6456=_0xe179cb[_0xf9bfa8(0x308)](_0x425f1c['value'],null)||_0xe179cb[_0xf9bfa8(0x25a)](_0x425f1c[_0xf9bfa8(0x3e8)],undefined)?-Infinity:_0x425f1c[_0xf9bfa8(0x3e8)];if(_0xe179cb[_0xf9bfa8(0x3fb)](_0x3394aa,_0x1e6456))return 0x0;return _0xe179cb[_0xf9bfa8(0x26b)](_0x3394aa,_0x1e6456)?-_0x293da1:_0x293da1;});}module['exports']={'MAX_QUERY_LEN':MAX_QUERY_LEN,'MAX_REGEXES':MAX_REGEXES,'MAX_SCAN_DOCS':MAX_SCAN_DOCS,'TERMS_CAP':TERMS_CAP,'DEFAULT_HIT_SIZE':DEFAULT_HIT_SIZE,'MAX_HIT_SIZE':MAX_HIT_SIZE,'TIME_FIELD':TIME_FIELD,'LOG_FIELD_ALLOWLIST':LOG_FIELD_ALLOWLIST,'LOG_NUMERIC_FIELDS':LOG_NUMERIC_FIELDS,'METRIC_FUNCS':METRIC_FUNCS,'DslError':DslError,'parseQuery':parseQuery,'parseCalculate':parseCalculate,'normalizeRegexSource':normalizeRegexSource,'buildOpenSearchQuery':buildOpenSearchQuery,'compileWhere':compileWhere,'timeFieldFor':timeFieldFor,'aggPathFor':aggPathFor,'extractContains':extractContains,'compileAstFor':compileAstFor,'REQUESTS_HITS_SOURCE':REQUESTS_HITS_SOURCE,'clauseToOpenSearch':clauseToOpenSearch,'sourceFieldsFor':sourceFieldsFor,'metricLabel':metricLabel,'buildTermsAgg':buildTermsAgg,'parseTermsAgg':parseTermsAgg,'metricSubAgg':metricSubAgg,'readNativeMetric':readNativeMetric,'extractFromDoc':extractFromDoc,'aggregateServerSide':aggregateServerSide,'sortRows':sortRows,'finalizeMetric':finalizeMetric,'percentile':percentile,'getPath':getPath,'isBodyPath':isBodyPath,'isResponsePath':isResponsePath,'isPayloadPath':isPayloadPath,'safeJsonParse':safeJsonParse,'payloadValue':payloadValue,'evalPayloadFilters':evalPayloadFilters,'flattenLeafPaths':flattenLeafPaths};
1
+ 'use strict';function _0x331c(_0x3b4171,_0x49c785){_0x3b4171=_0x3b4171-0x147;const _0x22a187=_0x22a1();let _0x331c9c=_0x22a187[_0x3b4171];if(_0x331c['aVHMnJ']===undefined){var _0x497edb=function(_0xd0398e){const _0x3fd6c5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5388cb='',_0x253cd7='';for(let _0x46a380=0x0,_0x5c6a61,_0x3d0763,_0x4b8723=0x0;_0x3d0763=_0xd0398e['charAt'](_0x4b8723++);~_0x3d0763&&(_0x5c6a61=_0x46a380%0x4?_0x5c6a61*0x40+_0x3d0763:_0x3d0763,_0x46a380++%0x4)?_0x5388cb+=String['fromCharCode'](0xff&_0x5c6a61>>(-0x2*_0x46a380&0x6)):0x0){_0x3d0763=_0x3fd6c5['indexOf'](_0x3d0763);}for(let _0xded77=0x0,_0x550809=_0x5388cb['length'];_0xded77<_0x550809;_0xded77++){_0x253cd7+='%'+('00'+_0x5388cb['charCodeAt'](_0xded77)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x253cd7);};_0x331c['yqcBko']=_0x497edb,_0x331c['wjTFKt']={},_0x331c['aVHMnJ']=!![];}const _0x94dda=_0x22a187[0x0],_0x19ad9d=_0x3b4171+_0x94dda,_0x3b587a=_0x331c['wjTFKt'][_0x19ad9d];return!_0x3b587a?(_0x331c9c=_0x331c['yqcBko'](_0x331c9c),_0x331c['wjTFKt'][_0x19ad9d]=_0x331c9c):_0x331c9c=_0x3b587a,_0x331c9c;}const _0x305bfa=_0x331c;(function(_0xc1086d,_0x6a264a){const _0xbd2e64=_0x331c,_0x6169ed=_0xc1086d();while(!![]){try{const _0x4b6e47=parseInt(_0xbd2e64(0x14e))/0x1+parseInt(_0xbd2e64(0x1df))/0x2*(parseInt(_0xbd2e64(0x26f))/0x3)+parseInt(_0xbd2e64(0x37f))/0x4*(parseInt(_0xbd2e64(0x3b5))/0x5)+-parseInt(_0xbd2e64(0x2ea))/0x6*(-parseInt(_0xbd2e64(0x299))/0x7)+parseInt(_0xbd2e64(0x184))/0x8+parseInt(_0xbd2e64(0x3a2))/0x9+parseInt(_0xbd2e64(0x2be))/0xa*(-parseInt(_0xbd2e64(0x2bf))/0xb);if(_0x4b6e47===_0x6a264a)break;else _0x6169ed['push'](_0x6169ed['shift']());}catch(_0x56953f){_0x6169ed['push'](_0x6169ed['shift']());}}}(_0x22a1,0xb6003));const MAX_QUERY_LEN=0xfa0,MAX_REGEXES=0x8,MAX_REGEX_LEN=0x3e8,MAX_SCAN_DOCS=0x1388,TERMS_CAP=0x32,DEFAULT_HIT_SIZE=0x32,MAX_HIT_SIZE=0xc8,TIME_FIELD='timestamp',LOG_FIELD_ALLOWLIST=new Set([_0x305bfa(0x1e4),_0x305bfa(0x344),_0x305bfa(0x317),'clientId','origin',_0x305bfa(0x341),_0x305bfa(0x303),_0x305bfa(0x372),_0x305bfa(0x1fb),'spanId',_0x305bfa(0x18c),'message',_0x305bfa(0x182),_0x305bfa(0x2bd),_0x305bfa(0x3ae),_0x305bfa(0x401),'exception.type',_0x305bfa(0x2d6),_0x305bfa(0x35f),_0x305bfa(0x1a0),_0x305bfa(0x28b),_0x305bfa(0x3b2),_0x305bfa(0x327),_0x305bfa(0x346),_0x305bfa(0x370),_0x305bfa(0x268),_0x305bfa(0x2a4),'url','host',_0x305bfa(0x380),_0x305bfa(0x385),_0x305bfa(0x252),'application','appName','language',_0x305bfa(0x25f),_0x305bfa(0x20a),'duration','responseTime',_0x305bfa(0x16c),'elapsedMs',_0x305bfa(0x2cf),_0x305bfa(0x304),_0x305bfa(0x21e)]),LOG_NUMERIC_FIELDS=new Set([_0x305bfa(0x20a),'duration','responseTime',_0x305bfa(0x16c),_0x305bfa(0x1eb),_0x305bfa(0x2cf),_0x305bfa(0x304),_0x305bfa(0x21e),_0x305bfa(0x3b2),'httpStatusCode']),KV_PATH_RE=/^kv\.[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/,KVN_FIELDS=new Set([_0x305bfa(0x20a),_0x305bfa(0x3bb),_0x305bfa(0x1eb),'latencyMs',_0x305bfa(0x33a),_0x305bfa(0x281),_0x305bfa(0x3b2),_0x305bfa(0x28b),_0x305bfa(0x2cf),_0x305bfa(0x304)]);function isKvPath(_0x42ccbd){return KV_PATH_RE['test'](_0x42ccbd);}function isKvnPath(_0x5cac4f){const _0x17b822=_0x305bfa,_0x597eac={'oUXfU':'kvn.'};return _0x5cac4f['startsWith'](_0x597eac[_0x17b822(0x249)])&&KVN_FIELDS[_0x17b822(0x34a)](_0x5cac4f[_0x17b822(0x190)](0x4));}const BODY_PATH_RE=/^body\.[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/,RESPONSE_PATH_RE=/^response\.[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/;function isBodyPath(_0x22cef9){const _0x41c779=_0x305bfa;return BODY_PATH_RE[_0x41c779(0x348)](_0x22cef9);}function isResponsePath(_0x5ab1da){const _0x1305dc=_0x305bfa;return RESPONSE_PATH_RE[_0x1305dc(0x348)](_0x5ab1da);}function isPayloadPath(_0x3611e3){const _0x1155aa=_0x305bfa,_0x256814={'nYgpF':function(_0x2a42d7,_0x1d9438){return _0x2a42d7(_0x1d9438);},'HPSRi':function(_0x2cae80,_0x1f3bde){return _0x2cae80(_0x1f3bde);}};return _0x256814[_0x1155aa(0x3cf)](isBodyPath,_0x3611e3)||_0x256814[_0x1155aa(0x18b)](isResponsePath,_0x3611e3);}const METRIC_FUNCS=new Set(['avg',_0x305bfa(0x1fa),_0x305bfa(0x27c),_0x305bfa(0x20c),_0x305bfa(0x3ee),_0x305bfa(0x2a0)]);class DslError extends Error{constructor(_0x504797,_0x5da24f,_0x58f1d2={}){const _0x3426a4=_0x305bfa;super(_0x5da24f),this[_0x3426a4(0x3a1)]=_0x3426a4(0x403),this[_0x3426a4(0x390)]=_0x504797,Object[_0x3426a4(0x26c)](this,_0x58f1d2);}}function matchingParen(_0x3313db,_0xdf7971){const _0x5dc60e=_0x305bfa,_0x2f16bc={'iynYs':function(_0xcfaf13,_0xc62bb8){return _0xcfaf13<_0xc62bb8;},'fgSRe':function(_0x12071f,_0x4c4c52){return _0x12071f===_0x4c4c52;},'VNLHB':function(_0x465f4b,_0x568e68){return _0x465f4b<_0x568e68;},'nPqaI':function(_0x5650c2,_0x2653bf){return _0x5650c2!==_0x2653bf;},'JzGIq':function(_0x3bfa2a,_0x154ec6){return _0x3bfa2a===_0x154ec6;},'YqOyB':function(_0x239793,_0x37768d){return _0x239793<_0x37768d;},'iVkhO':function(_0x35f84c,_0x3454e){return _0x35f84c!==_0x3454e;},'Qjzix':function(_0x1d706f,_0x388aa4){return _0x1d706f===_0x388aa4;},'jEVEH':function(_0x5db7a5,_0x14d50c){return _0x5db7a5===_0x14d50c;}};let _0x267c28=0x0;for(let _0x1e51ca=_0xdf7971;_0x2f16bc[_0x5dc60e(0x3b3)](_0x1e51ca,_0x3313db['length']);_0x1e51ca++){const _0x42c408=_0x3313db[_0x1e51ca];if(_0x2f16bc[_0x5dc60e(0x1b9)](_0x42c408,'\x22')||_0x2f16bc[_0x5dc60e(0x1b9)](_0x42c408,'\x27')){const _0x460b27=_0x42c408;_0x1e51ca++;while(_0x2f16bc[_0x5dc60e(0x1b4)](_0x1e51ca,_0x3313db[_0x5dc60e(0x3cd)])&&_0x2f16bc[_0x5dc60e(0x35e)](_0x3313db[_0x1e51ca],_0x460b27)){if(_0x2f16bc[_0x5dc60e(0x24d)](_0x3313db[_0x1e51ca],'\x5c'))_0x1e51ca++;_0x1e51ca++;}continue;}if(_0x2f16bc['fgSRe'](_0x42c408,'/')){_0x1e51ca++;while(_0x2f16bc[_0x5dc60e(0x3fd)](_0x1e51ca,_0x3313db[_0x5dc60e(0x3cd)])&&_0x2f16bc[_0x5dc60e(0x371)](_0x3313db[_0x1e51ca],'/')){if(_0x3313db[_0x1e51ca]==='\x5c')_0x1e51ca++;_0x1e51ca++;}continue;}if(_0x2f16bc[_0x5dc60e(0x1b9)](_0x42c408,'('))_0x267c28++;else{if(_0x2f16bc[_0x5dc60e(0x27e)](_0x42c408,')')){_0x267c28--;if(_0x2f16bc[_0x5dc60e(0x196)](_0x267c28,0x0))return _0x1e51ca;}}}return-0x1;}function findSection(_0x36ad18,_0x300a73){const _0x59d467=_0x305bfa,_0x55ae80={'FDALb':function(_0x109a18,_0x347c07){return _0x109a18-_0x347c07;},'IFJJu':function(_0x5e7a74,_0x499422){return _0x5e7a74+_0x499422;},'mHtBZ':function(_0x37e300,_0x3acd4d,_0x693b1f){return _0x37e300(_0x3acd4d,_0x693b1f);},'wAjqD':function(_0x146b40,_0x1b1530){return _0x146b40<_0x1b1530;},'xsxpx':function(_0x3c8664,_0x1c0049){return _0x3c8664+_0x1c0049;},'ywaJt':function(_0x1a4431,_0x543282){return _0x1a4431+_0x543282;}},_0x530159=new RegExp(_0x59d467(0x1ad)+_0x300a73+'\x5cs*\x5c(','i'),_0x5b4b6f=_0x530159[_0x59d467(0x3c4)](_0x36ad18);if(!_0x5b4b6f)return null;const _0x20c641=_0x36ad18[_0x59d467(0x3aa)]('(',_0x55ae80[_0x59d467(0x169)](_0x55ae80[_0x59d467(0x2a7)](_0x5b4b6f[_0x59d467(0x1be)],_0x5b4b6f[0x0][_0x59d467(0x3cd)]),0x1)),_0x5f2b03=_0x55ae80[_0x59d467(0x16e)](matchingParen,_0x36ad18,_0x20c641);if(_0x55ae80[_0x59d467(0x38f)](_0x5f2b03,0x0))throw new DslError(_0x59d467(0x330),_0x59d467(0x394)+_0x300a73+_0x59d467(0x1ba),{'detail':_0x300a73+_0x59d467(0x1ba)});return{'content':_0x36ad18[_0x59d467(0x190)](_0x55ae80[_0x59d467(0x366)](_0x20c641,0x1),_0x5f2b03),'start':_0x55ae80[_0x59d467(0x1c9)](_0x5b4b6f[_0x59d467(0x1be)],_0x5b4b6f[0x1]?_0x5b4b6f[0x1][_0x59d467(0x3cd)]:0x0),'end':_0x55ae80[_0x59d467(0x366)](_0x5f2b03,0x1)};}function tokenizeWhere(_0x870666){const _0x20e92b=_0x305bfa,_0x3ea48d={'HXAzt':_0x20e92b(0x2f2),'EgMBR':function(_0x72a6b4,_0x4aa0cf){return _0x72a6b4===_0x4aa0cf;},'BHKWJ':function(_0x514126,_0x4939e1){return _0x514126+_0x4939e1;},'woWMd':function(_0x230e09){return _0x230e09();},'AObgC':function(_0x555da2,_0x41e1ed){return _0x555da2(_0x41e1ed);},'bEJXF':function(_0x2c6420,_0x166dd9){return _0x2c6420||_0x166dd9;},'obNax':function(_0xf09a75,_0x1264c0){return _0xf09a75<_0x1264c0;},'ldECx':function(_0x279075,_0x1c9903){return _0x279075===_0x1c9903;},'JVeAk':_0x20e92b(0x309),'nAflI':'pIZGo','qlqdz':function(_0x3a1323,_0x227bbb){return _0x3a1323===_0x227bbb;},'bwDFe':function(_0x3df820,_0x10d990){return _0x3df820+_0x10d990;},'pTCTT':function(_0x3db2d2,_0x24fd9f){return _0x3db2d2<_0x24fd9f;},'AVbum':function(_0x20e59f,_0x12ddb3){return _0x20e59f!==_0x12ddb3;},'xtBhv':_0x20e92b(0x39f),'aZEvr':function(_0x56772f,_0x954f5){return _0x56772f>=_0x954f5;},'nzanD':_0x20e92b(0x330),'WerMY':_0x20e92b(0x177),'gFkgM':function(_0x473acd,_0x4b6396){return _0x473acd!==_0x4b6396;},'ZYAxC':_0x20e92b(0x2c3),'RbaIy':_0x20e92b(0x291),'feWgl':function(_0x5ebb95,_0x5b2fb6){return _0x5ebb95!==_0x5b2fb6;},'Xrzzs':_0x20e92b(0x307),'vnYAR':function(_0x329f63,_0x4144ca){return _0x329f63>=_0x4144ca;},'PIxGu':_0x20e92b(0x1b5),'eaASP':_0x20e92b(0x29b),'qvTpG':function(_0x21e2fe,_0x5a880e){return _0x21e2fe!==_0x5a880e;},'MXXEC':_0x20e92b(0x198)},_0x285128=[];let _0x6f5001=0x0;const _0x378734=_0x870666['length'];while(_0x3ea48d[_0x20e92b(0x188)](_0x6f5001,_0x378734)){const _0x4eb1c4=_0x870666[_0x6f5001];if(/\s/[_0x20e92b(0x348)](_0x4eb1c4)){_0x6f5001++;continue;}if(_0x3ea48d[_0x20e92b(0x22b)](_0x4eb1c4,'(')||_0x3ea48d[_0x20e92b(0x22b)](_0x4eb1c4,')')||_0x3ea48d['ldECx'](_0x4eb1c4,',')){if(_0x3ea48d['EgMBR'](_0x3ea48d[_0x20e92b(0x256)],_0x3ea48d['nAflI']))_0x2e2d24['terms']['order']={'_count':_0x3ea48d['HXAzt']};else{_0x285128[_0x20e92b(0x1d9)]({'type':_0x4eb1c4}),_0x6f5001++;continue;}}if(_0x4eb1c4==='\x22'||_0x3ea48d['qlqdz'](_0x4eb1c4,'\x27')){const _0x21f947=_0x4eb1c4;let _0xf8c2ed=_0x3ea48d[_0x20e92b(0x23c)](_0x6f5001,0x1),_0x146e6d='';while(_0x3ea48d['pTCTT'](_0xf8c2ed,_0x378734)&&_0x870666[_0xf8c2ed]!==_0x21f947){_0x870666[_0xf8c2ed]==='\x5c'?_0x3ea48d['AVbum'](_0x3ea48d['xtBhv'],_0x3ea48d[_0x20e92b(0x3f9)])?_0x3ea48d[_0x20e92b(0x3b4)](_0x2f4327[_0x967409],'\x5c')?(_0x7170fa+=_0x22cce4[_0x3ea48d[_0x20e92b(0x254)](_0x34cc27,0x1)]||'',_0x5f20df+=0x2):(_0x15b99e+=_0x495f02[_0x328487],_0x37d73f++):(_0x146e6d+=_0x870666[_0x3ea48d[_0x20e92b(0x254)](_0xf8c2ed,0x1)]||'',_0xf8c2ed+=0x2):(_0x146e6d+=_0x870666[_0xf8c2ed],_0xf8c2ed++);}if(_0x3ea48d['aZEvr'](_0xf8c2ed,_0x378734))throw new DslError(_0x3ea48d[_0x20e92b(0x296)],_0x3ea48d[_0x20e92b(0x24f)],{'detail':_0x870666});_0x285128['push']({'type':'phrase','value':_0x146e6d}),_0x6f5001=_0xf8c2ed+0x1;continue;}if(_0x4eb1c4==='/'){if(_0x3ea48d[_0x20e92b(0x247)](_0x3ea48d[_0x20e92b(0x2fc)],_0x3ea48d[_0x20e92b(0x297)])){let _0x225b2e=_0x6f5001+0x1,_0x41822c='';while(_0x225b2e<_0x378734&&_0x3ea48d[_0x20e92b(0x19d)](_0x870666[_0x225b2e],'/')){if(_0x3ea48d[_0x20e92b(0x248)]===_0x20e92b(0x356)){_0x2e722b++;const _0x1ad9eb=_0x3ea48d[_0x20e92b(0x1c7)](_0xe87a64);return _0x3ea48d['AObgC'](_0x4fef3b,')'),_0x1ad9eb;}else _0x870666[_0x225b2e]==='\x5c'?(_0x41822c+=_0x3ea48d['bwDFe']('\x5c',_0x870666[_0x3ea48d[_0x20e92b(0x23c)](_0x225b2e,0x1)]||''),_0x225b2e+=0x2):(_0x41822c+=_0x870666[_0x225b2e],_0x225b2e++);}if(_0x3ea48d['vnYAR'](_0x225b2e,_0x378734))throw new DslError(_0x3ea48d[_0x20e92b(0x296)],_0x3ea48d[_0x20e92b(0x244)],{'detail':_0x870666});let _0x4afa9e=_0x225b2e+0x1,_0x5acbf3='';while(_0x3ea48d[_0x20e92b(0x188)](_0x4afa9e,_0x378734)&&/[a-z]/i[_0x20e92b(0x348)](_0x870666[_0x4afa9e])){_0x5acbf3+=_0x870666[_0x4afa9e],_0x4afa9e++;}_0x285128[_0x20e92b(0x1d9)]({'type':_0x3ea48d[_0x20e92b(0x1a7)],'source':_0x41822c,'flags':_0x5acbf3}),_0x6f5001=_0x4afa9e;continue;}else{if(_0x3ea48d['bEJXF'](!_0x28fe15,!_0x46007f))return _0x286b8c;if(_0x6e72b5[_0x20e92b(0x402)][_0x20e92b(0x3b9)][_0x20e92b(0x2aa)](_0x26b4c0,_0x44a45b))return _0x2d5dd3[_0x179d64];return _0x522099[_0x20e92b(0x19a)]('.')[_0x20e92b(0x1d5)]((_0x5e2cc4,_0x360066)=>_0x5e2cc4===null||_0x5e2cc4===_0x124137?_0x246645:_0x5e2cc4[_0x360066],_0x1d3dad);}}let _0x4cfee4=_0x6f5001,_0x5e7d52='';while(_0x3ea48d['obNax'](_0x4cfee4,_0x378734)&&!/[\s(),"'/]/[_0x20e92b(0x348)](_0x870666[_0x4cfee4])){_0x3ea48d['qvTpG'](_0x3ea48d[_0x20e92b(0x2fe)],_0x3ea48d[_0x20e92b(0x2fe)])?_0x46e854[_0x20e92b(0x1d9)](_0x519e98[_0x20e92b(0x26c)]({},_0x5cca1c,{'value':_0x4cba4f(_0x13f266,_0x20bd60)})):(_0x5e7d52+=_0x870666[_0x4cfee4],_0x4cfee4++);}_0x285128['push']({'type':_0x20e92b(0x33e),'value':_0x5e7d52}),_0x6f5001=_0x4cfee4;}return _0x285128;}const CMP_OPS=[{'tok':'!=','cmp':'ne'},{'tok':'>=','cmp':_0x305bfa(0x225)},{'tok':'<=','cmp':_0x305bfa(0x2ec)},{'tok':'~','cmp':_0x305bfa(0x290)},{'tok':'>','cmp':'gt'},{'tok':'<','cmp':'lt'},{'tok':'=','cmp':'eq'},{'tok':':','cmp':'eq'}];function splitFieldOp(_0x445759){const _0x314d98=_0x305bfa,_0x33731d={'SHdpp':function(_0x13215c,_0x391396){return _0x13215c(_0x391396);},'sdKsg':_0x314d98(0x364),'cXZqr':_0x314d98(0x398),'gBYvQ':function(_0x3ffc09,_0x496e20){return _0x3ffc09>_0x496e20;},'LSmYD':function(_0x4784f6,_0x13f32b){return _0x4784f6===_0x13f32b;},'IANeI':function(_0x882f99,_0x54e0fb){return _0x882f99<_0x54e0fb;},'KpCXg':function(_0xe7a16c,_0x2c2f25){return _0xe7a16c===_0x2c2f25;},'rAPgt':function(_0x2bf1f4,_0x2b45b8){return _0x2bf1f4>_0x2b45b8;},'qwVeo':function(_0x497cca,_0x2e4734){return _0x497cca+_0x2e4734;}};let _0x24dfdd=null;for(const {tok:_0x4244ac,cmp:_0xacc661}of CMP_OPS){if(_0x33731d['sdKsg']===_0x33731d[_0x314d98(0x37b)])return{'bool':{'should':[_0x33731d[_0x314d98(0x3d9)](_0x4ec039,_0x21d733['keywordPath']),{'match_phrase':{[_0x54c811[_0x314d98(0x2a4)]]:_0x529ae6['value']}}],'minimum_should_match':0x1}};else{const _0x70e532=_0x445759[_0x314d98(0x3aa)](_0x4244ac);_0x33731d[_0x314d98(0x192)](_0x70e532,0x0)&&(_0x33731d[_0x314d98(0x1b1)](_0x24dfdd,null)||_0x33731d[_0x314d98(0x2a5)](_0x70e532,_0x24dfdd[_0x314d98(0x266)])||_0x33731d[_0x314d98(0x285)](_0x70e532,_0x24dfdd[_0x314d98(0x266)])&&_0x33731d[_0x314d98(0x306)](_0x4244ac['length'],_0x24dfdd['tok'][_0x314d98(0x3cd)]))&&(_0x24dfdd={'idx':_0x70e532,'tok':_0x4244ac,'cmp':_0xacc661});}}if(!_0x24dfdd)return null;const _0x5237ac=_0x445759[_0x314d98(0x190)](0x0,_0x24dfdd[_0x314d98(0x266)]);if(!/^[A-Za-z_][A-Za-z0-9_.-]*$/[_0x314d98(0x348)](_0x5237ac))return null;return{'field':_0x5237ac,'cmp':_0x24dfdd[_0x314d98(0x185)],'op':_0x24dfdd[_0x314d98(0x2cd)],'value':_0x445759['slice'](_0x33731d[_0x314d98(0x1ed)](_0x24dfdd[_0x314d98(0x266)],_0x24dfdd[_0x314d98(0x2cd)][_0x314d98(0x3cd)]))};}function unquoteValue(_0x2ef086){const _0x3a3251=_0x305bfa,_0x3f0d9a={'RMGot':function(_0x4471d2,_0x27c341){return _0x4471d2>=_0x27c341;},'uiEjX':function(_0x120013,_0x42ca23){return _0x120013===_0x42ca23;}};if(_0x3f0d9a[_0x3a3251(0x1ae)](_0x2ef086[_0x3a3251(0x3cd)],0x2)&&(_0x3f0d9a[_0x3a3251(0x2b7)](_0x2ef086[0x0],'\x22')&&_0x2ef086[_0x3a3251(0x33c)]('\x22')||_0x2ef086[0x0]==='\x27'&&_0x2ef086[_0x3a3251(0x33c)]('\x27')))return _0x2ef086[_0x3a3251(0x190)](0x1,-0x1);return _0x2ef086;}function parseWhereAst(_0x20e71c){const _0x4c1347=_0x305bfa,_0x3f9513={'DwEmo':function(_0x2c49c6,_0x19cd5a){return _0x2c49c6!==_0x19cd5a;},'lIonP':_0x4c1347(0x330),'DMaxM':function(_0x559c7f,_0x1c4d9c){return _0x559c7f===_0x1c4d9c;},'zWpig':function(_0x541651,_0x4da585){return _0x541651===_0x4da585;},'jAWaU':function(_0x20f9ab,_0x44fe6e){return _0x20f9ab(_0x44fe6e);},'WdvhP':_0x4c1347(0x290),'FEnWP':_0x4c1347(0x225),'bongI':function(_0x530133,_0x3c5a5f){return _0x530133>=_0x3c5a5f;},'OCqYJ':function(_0x4383ca,_0x589bc6){return _0x4383ca<_0x589bc6;},'IDxAp':function(_0x111e3f,_0x3a7672){return _0x111e3f<=_0x3a7672;},'OxClM':function(_0x48434a,_0x60c81b,_0x503f5a){return _0x48434a(_0x60c81b,_0x503f5a);},'aLWZj':function(_0x5aff5f){return _0x5aff5f();},'Kfsqf':function(_0x1cc903,_0x66345a){return _0x1cc903===_0x66345a;},'bYftf':_0x4c1347(0x3f0),'hgkus':function(_0x56306d){return _0x56306d();},'TzIwh':function(_0x24ff60,_0x27da36){return _0x24ff60===_0x27da36;},'KWgIw':'jHIzc','RTEWi':'VDBHH','ssyzP':_0x4c1347(0x1f1),'WaWuO':function(_0x3b7e30,_0x16065f){return _0x3b7e30===_0x16065f;},'PcSwy':'word','bvjmZ':function(_0x4a72e5,_0x10d3cc){return _0x4a72e5!==_0x10d3cc;},'coedA':_0x4c1347(0x160),'JjdVa':'dLsLo','aplMF':function(_0x1e2242,_0x54b978){return _0x1e2242===_0x54b978;},'nsKkQ':'a\x20query\x20deve\x20começar\x20com\x20where(...)','OeFXL':_0x4c1347(0x24e),'uOMPh':_0x4c1347(0x29f),'LYFaY':_0x4c1347(0x28d),'RsiJz':function(_0x4018ef){return _0x4018ef();},'MPueH':function(_0x3a4da2){return _0x3a4da2();},'ffRek':function(_0xeb7e1e,_0x1a8452){return _0xeb7e1e!==_0x1a8452;},'aovTY':_0x4c1347(0x34e),'fVkDE':_0x4c1347(0x21c),'qHrOx':function(_0x5c8746,_0x5cf64a){return _0x5c8746!==_0x5cf64a;},'hUaKT':'LMrPx','VjQFv':function(_0x2a699c,_0x465e4b){return _0x2a699c===_0x465e4b;},'AQxUr':'regex','XeBoG':_0x4c1347(0x29a),'dNkSf':_0x4c1347(0x30d),'SiyVK':function(_0x35ef34){return _0x35ef34();},'oAVwE':function(_0x2ed9a8,_0x26df70){return _0x2ed9a8(_0x26df70);},'vssah':'exists(campo)\x20malformado','ekixj':function(_0x38dc23,_0x2e6b3a,_0x49aa75){return _0x38dc23(_0x2e6b3a,_0x49aa75);},'gOXNY':'lista\x20in(...)\x20não\x20fechada','DXpzV':function(_0x4f7fee,_0x1f7132){return _0x4f7fee===_0x1f7132;},'rqlyK':_0x4c1347(0x30c),'ZGitH':function(_0x1a71ef,_0x259e9f){return _0x1a71ef===_0x259e9f;},'cTLAP':'valor\x20inválido\x20na\x20lista\x20in(...)','bRcYw':_0x4c1347(0x23e),'JHfwu':function(_0x314f43,_0x463703){return _0x314f43(_0x463703);},'pLMoH':'aCGAn','MMlau':_0x4c1347(0x2d7),'SylUw':function(_0x563d3a,_0x5666e4){return _0x563d3a<_0x5666e4;},'enYbk':function(_0x17958c,_0x4f5cd5){return _0x17958c!==_0x4f5cd5;},'TcxeP':_0x4c1347(0x2a3)};let _0xb3cf05=0x0;const _0x553cbc=()=>_0x20e71c[_0xb3cf05],_0x19673=(_0x4286e0,_0x32d0bd)=>Boolean(_0x4286e0&&_0x4286e0[_0x4c1347(0x259)]===_0x4c1347(0x33e)&&_0x32d0bd[_0x4c1347(0x348)](_0x4286e0[_0x4c1347(0x38d)])),_0x37321f=_0x263cec=>{const _0xba654a=_0x4c1347,_0x536ee0=_0x20e71c[_0xb3cf05];if(!_0x536ee0||_0x3f9513['DwEmo'](_0x536ee0[_0xba654a(0x259)],_0x263cec))throw new DslError(_0x3f9513['lIonP'],_0xba654a(0x3c7)+_0x263cec+_0xba654a(0x30a));_0xb3cf05++;};function _0x425e4e(){const _0x42362e=_0x4c1347,_0x288e37={'JSsKC':function(_0x33e9ce,_0x43e4c1){return _0x3f9513['DMaxM'](_0x33e9ce,_0x43e4c1);},'qtACq':function(_0xeaabee,_0x351e62){return _0xeaabee!==_0x351e62;},'vLCFG':function(_0x2a5fcf,_0x30b5f9){const _0x406b14=_0x331c;return _0x3f9513[_0x406b14(0x40a)](_0x2a5fcf,_0x30b5f9);},'iCXcv':function(_0x4240c8,_0x2485d9){return _0x4240c8(_0x2485d9);},'AZwnp':function(_0x10adeb,_0x47ecb1){const _0x4f2bac=_0x331c;return _0x3f9513[_0x4f2bac(0x2ff)](_0x10adeb,_0x47ecb1);},'gJngh':function(_0x4c8747,_0x3ad4f4){const _0x26bde1=_0x331c;return _0x3f9513[_0x26bde1(0x27f)](_0x4c8747,_0x3ad4f4);},'UCRkZ':function(_0x527600,_0x66765e){const _0x4fe920=_0x331c;return _0x3f9513[_0x4fe920(0x27f)](_0x527600,_0x66765e);},'LDWUL':_0x3f9513[_0x42362e(0x206)],'vwaLg':_0x3f9513['FEnWP'],'Rtjsf':function(_0x80339a,_0x27def3){return _0x80339a(_0x27def3);},'TWhMd':function(_0x3a70f2,_0x23b622){const _0x249c23=_0x42362e;return _0x3f9513[_0x249c23(0x2ff)](_0x3a70f2,_0x23b622);},'htUqa':function(_0x2b9d1d,_0x3a405e){return _0x2b9d1d>_0x3a405e;},'bEJMa':function(_0x13e60c,_0x4fa992){return _0x3f9513['bongI'](_0x13e60c,_0x4fa992);},'QpkiN':function(_0x490be1,_0x1dad52){const _0x58a9f7=_0x42362e;return _0x3f9513[_0x58a9f7(0x34f)](_0x490be1,_0x1dad52);},'UdjEm':function(_0x142ae0,_0x38303c){const _0x6a26e0=_0x42362e;return _0x3f9513[_0x6a26e0(0x379)](_0x142ae0,_0x38303c);}},_0x1ce1e0=[_0x422503()];while(_0x3f9513[_0x42362e(0x409)](_0x19673,_0x3f9513[_0x42362e(0x1bb)](_0x553cbc),/^or$/i)){if(_0x3f9513[_0x42362e(0x1bd)](_0x3f9513['bYftf'],_0x3f9513[_0x42362e(0x300)]))_0xb3cf05++,_0x1ce1e0[_0x42362e(0x1d9)](_0x422503());else{if(_0x288e37[_0x42362e(0x284)](_0x487686[_0x42362e(0x390)],'exists'))return _0x962718!==_0x548d5f&&_0x288e37['qtACq'](_0xefefb3,null);if(_0x288e37[_0x42362e(0x404)](_0x31e221,_0x5c0277)||_0x14465c===null)return![];if(_0x224a44[_0x42362e(0x390)]==='in'){const _0x39b58d=(_0x47f4b3[_0x42362e(0x215)]||[])['map'](_0x51dff9=>_0x37d368(_0x51dff9)[_0x42362e(0x218)]());return _0x39b58d[_0x42362e(0x3bf)](_0x288e37[_0x42362e(0x34b)](_0x23abf0,_0x2d2c48)[_0x42362e(0x218)]());}switch(_0xa5772c['cmp']){case'eq':return _0x288e37[_0x42362e(0x329)](_0x288e37[_0x42362e(0x34b)](_0x17ab1b,_0x152b15)[_0x42362e(0x218)](),_0x288e37[_0x42362e(0x21a)](_0x4104d6,_0x2fc190['value'])[_0x42362e(0x218)]());case'ne':return _0x288e37[_0x42362e(0x36a)](_0x1ae048,_0x41cc14)['toLowerCase']()!==_0x288e37['iCXcv'](_0x3f65df,_0x61228b[_0x42362e(0x38d)])['toLowerCase']();case _0x288e37[_0x42362e(0x31b)]:return _0x288e37['gJngh'](_0x52fa83,_0x5a258b)[_0x42362e(0x218)]()['includes'](_0x288e37[_0x42362e(0x36a)](_0x39e920,_0x59384d[_0x42362e(0x38d)])[_0x42362e(0x218)]());case'gt':case _0x288e37[_0x42362e(0x1a8)]:case'lt':case _0x42362e(0x2ec):{const _0x30b096=_0x288e37['Rtjsf'](_0x59e30d,_0x3a0e26),_0x568479=_0x3b397c(_0x396cc[_0x42362e(0x38d)]);if(!_0x39f39c[_0x42362e(0x167)](_0x30b096)||!_0x6e548c[_0x42362e(0x167)](_0x568479))return![];return _0x288e37[_0x42362e(0x28a)](_0x16f0f6[_0x42362e(0x185)],'gt')?_0x288e37[_0x42362e(0x2f0)](_0x30b096,_0x568479):_0x2bb707[_0x42362e(0x185)]===_0x288e37[_0x42362e(0x1a8)]?_0x288e37[_0x42362e(0x3d3)](_0x30b096,_0x568479):_0x288e37[_0x42362e(0x329)](_0x5abd8d[_0x42362e(0x185)],'lt')?_0x288e37[_0x42362e(0x2d9)](_0x30b096,_0x568479):_0x288e37[_0x42362e(0x32c)](_0x30b096,_0x568479);}default:return![];}}}return _0x3f9513[_0x42362e(0x2ff)](_0x1ce1e0[_0x42362e(0x3cd)],0x1)?_0x1ce1e0[0x0]:{'op':'or','children':_0x1ce1e0};}function _0x422503(){const _0x1ce8a5=_0x4c1347,_0x280168={'CCHDH':function(_0x3ed1b5){const _0x21b533=_0x331c;return _0x3f9513[_0x21b533(0x406)](_0x3ed1b5);}};if(_0x3f9513[_0x1ce8a5(0x339)](_0x3f9513[_0x1ce8a5(0x1cb)],_0x3f9513[_0x1ce8a5(0x1cb)])){const _0x389c6a=[_0x3f9513[_0x1ce8a5(0x406)](_0x2fcd53)];for(;;){const _0x406bfb=_0x553cbc();if(_0x19673(_0x406bfb,/^and$/i)){if(_0x3f9513['DwEmo'](_0x3f9513[_0x1ce8a5(0x396)],_0x3f9513[_0x1ce8a5(0x396)])){_0xabec0['children'][_0x1ce8a5(0x1cd)](_0x117a89=>_0x2f2367(_0x117a89,_0x4fdf86,_0x2a915c,_0x2abe42));return;}else{_0xb3cf05++,_0x389c6a[_0x1ce8a5(0x1d9)](_0x3f9513[_0x1ce8a5(0x406)](_0x2fcd53));continue;}}const _0x39ddc4=_0x406bfb&&(_0x3f9513[_0x1ce8a5(0x339)](_0x406bfb[_0x1ce8a5(0x259)],_0x3f9513[_0x1ce8a5(0x358)])||_0x406bfb[_0x1ce8a5(0x259)]===_0x1ce8a5(0x29b)||_0x3f9513[_0x1ce8a5(0x308)](_0x406bfb[_0x1ce8a5(0x259)],'(')||_0x3f9513[_0x1ce8a5(0x308)](_0x406bfb[_0x1ce8a5(0x259)],_0x3f9513[_0x1ce8a5(0x180)])&&!/^or$/i[_0x1ce8a5(0x348)](_0x406bfb[_0x1ce8a5(0x38d)]));if(_0x39ddc4){if(_0x3f9513[_0x1ce8a5(0x1a1)](_0x3f9513[_0x1ce8a5(0x318)],_0x3f9513[_0x1ce8a5(0x147)])){_0x389c6a[_0x1ce8a5(0x1d9)](_0x2fcd53());continue;}else return _0x3008b8++,{'op':_0x1ce8a5(0x28d),'child':_0x280168[_0x1ce8a5(0x166)](_0x2f385c)};}break;}return _0x3f9513['aplMF'](_0x389c6a[_0x1ce8a5(0x3cd)],0x1)?_0x389c6a[0x0]:{'op':_0x1ce8a5(0x400),'children':_0x389c6a};}else throw new _0x3a1ce4(_0x1ce8a5(0x330),_0x1ce8a5(0x322)+_0xa20447+_0x1ce8a5(0x176));}function _0x2fcd53(){const _0x556917=_0x4c1347,_0x46155f={'UXdzb':_0x3f9513[_0x556917(0x1da)]};if(_0x3f9513[_0x556917(0x1a1)](_0x3f9513[_0x556917(0x3be)],_0x3f9513[_0x556917(0x19f)])){const _0xc42112=_0x553cbc();if(_0x3f9513['OxClM'](_0x19673,_0xc42112,/^not$/i))return _0xb3cf05++,{'op':_0x3f9513[_0x556917(0x1b7)],'child':_0x3f9513[_0x556917(0x2f1)](_0x2fcd53)};if(_0xc42112&&_0xc42112['type']==='('){_0xb3cf05++;const _0x12cd21=_0x3f9513[_0x556917(0x35b)](_0x425e4e);return _0x37321f(')'),_0x12cd21;}return _0x3f9513[_0x556917(0x35b)](_0x3108b4);}else throw new _0x3317ef(_0x556917(0x330),_0x46155f[_0x556917(0x2ad)]);}function _0x3108b4(){const _0x4e4f2f=_0x4c1347,_0x33fabe={'uzshd':_0x3f9513[_0x4e4f2f(0x349)],'iTHEs':_0x3f9513['fVkDE']};if(_0x3f9513[_0x4e4f2f(0x2df)](_0x3f9513[_0x4e4f2f(0x3d6)],_0x3f9513['hUaKT']))throw new _0xbbebcf(_0x33fabe[_0x4e4f2f(0x3f8)],_0x4e4f2f(0x1e0)+_0x146549,{'field':_0x45a403});else{const _0x2b6374=_0x20e71c[_0xb3cf05];if(!_0x2b6374)throw new DslError('malformed',_0x4e4f2f(0x2d3));if(_0x3f9513[_0x4e4f2f(0x20e)](_0x2b6374[_0x4e4f2f(0x259)],_0x3f9513[_0x4e4f2f(0x358)]))return _0xb3cf05++,{'kind':_0x3f9513[_0x4e4f2f(0x358)],'value':_0x2b6374[_0x4e4f2f(0x38d)]};if(_0x3f9513[_0x4e4f2f(0x40a)](_0x2b6374['type'],_0x3f9513[_0x4e4f2f(0x3cb)]))return _0xb3cf05++,{'kind':_0x3f9513['AQxUr'],'source':_0x2b6374[_0x4e4f2f(0x40c)],'flags':_0x2b6374[_0x4e4f2f(0x2d4)]};if(_0x3f9513[_0x4e4f2f(0x308)](_0x2b6374['type'],')'))throw new DslError(_0x3f9513[_0x4e4f2f(0x163)],_0x3f9513[_0x4e4f2f(0x250)]);if(_0x3f9513[_0x4e4f2f(0x1bd)](_0x2b6374[_0x4e4f2f(0x259)],','))throw new DslError(_0x4e4f2f(0x330),_0x3f9513['dNkSf']);_0xb3cf05++;const _0xe4d175=_0x2b6374[_0x4e4f2f(0x38d)];if(/^contains$/i[_0x4e4f2f(0x348)](_0xe4d175)&&_0x20e71c[_0xb3cf05]&&_0x20e71c[_0xb3cf05][_0x4e4f2f(0x259)]==='('){_0xb3cf05++;const _0xd44cfb=_0x3f9513[_0x4e4f2f(0x3c9)](_0x425e4e);return _0x3f9513['oAVwE'](_0x37321f,')'),{'kind':_0x3f9513[_0x4e4f2f(0x206)],'expr':_0xd44cfb};}if(/^exists$/i[_0x4e4f2f(0x348)](_0xe4d175)){_0x37321f('(');const _0x2979bd=_0x20e71c[_0xb3cf05];if(!_0x2979bd||_0x3f9513[_0x4e4f2f(0x24b)](_0x2979bd[_0x4e4f2f(0x259)],_0x3f9513[_0x4e4f2f(0x180)]))throw new DslError('malformed',_0x3f9513['vssah']);return _0xb3cf05++,_0x3f9513['jAWaU'](_0x37321f,')'),{'kind':_0x4e4f2f(0x17d),'field':_0x2979bd['value']};}const _0x1204d9=_0x20e71c[_0xb3cf05];if(_0x3f9513[_0x4e4f2f(0x2e2)](_0x19673,_0x1204d9,/^in$/i)&&_0x20e71c[_0xb3cf05+0x1]&&_0x3f9513['WaWuO'](_0x20e71c[_0xb3cf05+0x1][_0x4e4f2f(0x259)],'(')&&!_0x3f9513[_0x4e4f2f(0x27f)](splitFieldOp,_0xe4d175)){_0xb3cf05+=0x2;const _0x58a219=[];for(;;){const _0x20d3d5=_0x20e71c[_0xb3cf05];if(!_0x20d3d5)throw new DslError(_0x3f9513['lIonP'],_0x3f9513['gOXNY']);if(_0x3f9513[_0x4e4f2f(0x377)](_0x20d3d5[_0x4e4f2f(0x259)],')')){if(_0x3f9513[_0x4e4f2f(0x335)](_0x4e4f2f(0x30c),_0x3f9513[_0x4e4f2f(0x3a3)])){_0xb3cf05++;break;}else return(_0x4c2b7f[_0x2e0f63||_0x33fabe['iTHEs']]||_0x3b431a[_0x4e4f2f(0x21c)])[_0x4e4f2f(0x1d6)];}if(_0x20d3d5[_0x4e4f2f(0x259)]===','){_0xb3cf05++;continue;}if(_0x3f9513[_0x4e4f2f(0x222)](_0x20d3d5[_0x4e4f2f(0x259)],_0x3f9513[_0x4e4f2f(0x180)])||_0x3f9513[_0x4e4f2f(0x335)](_0x20d3d5['type'],_0x4e4f2f(0x1f1))){_0x58a219['push'](_0x3f9513[_0x4e4f2f(0x27f)](unquoteValue,_0x20d3d5[_0x4e4f2f(0x38d)])),_0xb3cf05++;continue;}throw new DslError('malformed',_0x3f9513[_0x4e4f2f(0x359)]);}if(_0x58a219['length']===0x0)throw new DslError(_0x3f9513[_0x4e4f2f(0x163)],_0x3f9513[_0x4e4f2f(0x154)]);return{'kind':'in','field':_0xe4d175,'values':_0x58a219};}const _0x52242a=_0x3f9513[_0x4e4f2f(0x25b)](splitFieldOp,_0xe4d175);if(_0x52242a){let _0x4492c9=_0x52242a['value'];if(_0x4492c9===''){const _0xc7c0c0=_0x20e71c[_0xb3cf05];if(_0xc7c0c0&&_0x3f9513[_0x4e4f2f(0x335)](_0xc7c0c0[_0x4e4f2f(0x259)],_0x3f9513[_0x4e4f2f(0x358)]))_0x4492c9=_0xc7c0c0[_0x4e4f2f(0x38d)],_0xb3cf05++;else throw new DslError(_0x4e4f2f(0x330),_0x4e4f2f(0x2f4)+_0x52242a[_0x4e4f2f(0x34e)]+_0x52242a['op']+'\x22');}else{if(_0x3f9513[_0x4e4f2f(0x2df)](_0x3f9513[_0x4e4f2f(0x35c)],_0x3f9513[_0x4e4f2f(0x35c)])){const _0x3412d6=_0x46af7b[_0x49737a];if(!_0x3412d6||_0x3f9513['ffRek'](_0x3412d6[_0x4e4f2f(0x259)],_0x27fdfc))throw new _0x13c9cb(_0x3f9513[_0x4e4f2f(0x163)],'esperado\x20\x22'+_0x52fde1+_0x4e4f2f(0x30a));_0x1c0833++;}else _0x4492c9=unquoteValue(_0x4492c9);}return{'kind':_0x3f9513[_0x4e4f2f(0x349)],'field':_0x52242a[_0x4e4f2f(0x34e)],'cmp':_0x52242a['cmp'],'value':_0x4492c9};}return{'kind':_0x3f9513[_0x4e4f2f(0x173)],'value':_0xe4d175};}}const _0x36ef7c=_0x3f9513[_0x4c1347(0x3c9)](_0x425e4e);if(_0x3f9513['SylUw'](_0xb3cf05,_0x20e71c[_0x4c1347(0x3cd)])){if(_0x3f9513[_0x4c1347(0x331)]('kwvBi',_0x3f9513['TcxeP'])){const _0xeea11c=_0x120cf8(_0x100739[_0x4c1347(0x38d)]);return _0x51fb0b[_0x4c1347(0x167)](_0xeea11c)?{'term':{[_0x5bab74[_0x4c1347(0x34e)]]:_0xeea11c}}:{'term':{[_0x4ee2db[_0x4c1347(0x34e)]]:_0x1e4649['value']}};}else{const _0x5bff5d=_0x20e71c[_0xb3cf05];throw new DslError(_0x3f9513['lIonP'],_0x4c1347(0x3db)+(_0x5bff5d[_0x4c1347(0x38d)]||_0x5bff5d['type'])+'\x22');}}return _0x36ef7c;}function flattenAstLeaves(_0x5090e7,_0x34fb00=[]){const _0x5e48df=_0x305bfa,_0x4ed361={'EOqFT':function(_0x48ed71,_0x54dd29){return _0x48ed71===_0x54dd29;},'ZbkXf':'and','Cagbk':function(_0xec0d35,_0x3a5384){return _0xec0d35!==_0x3a5384;},'pRluO':_0x5e48df(0x287),'gkJHm':'YaoxK','TAGaU':function(_0x421ff4,_0x51f679){return _0x421ff4===_0x51f679;},'mUKxs':_0x5e48df(0x28d),'ygAng':function(_0x5cbc3e,_0x25a3e4,_0x4471ec){return _0x5cbc3e(_0x25a3e4,_0x4471ec);}};if(!_0x5090e7)return _0x34fb00;if(_0x4ed361['EOqFT'](_0x5090e7['op'],_0x4ed361[_0x5e48df(0x324)])||_0x4ed361[_0x5e48df(0x384)](_0x5090e7['op'],'or'))return _0x4ed361[_0x5e48df(0x26e)](_0x4ed361[_0x5e48df(0x283)],_0x4ed361[_0x5e48df(0x2c4)])?(_0x5090e7[_0x5e48df(0x2cb)][_0x5e48df(0x1cd)](_0x12ba7c=>flattenAstLeaves(_0x12ba7c,_0x34fb00)),_0x34fb00):_0x2c6103['slice'](0x1,-0x1);if(_0x4ed361[_0x5e48df(0x352)](_0x5090e7['op'],_0x4ed361[_0x5e48df(0x179)]))return _0x4ed361[_0x5e48df(0x2c6)](flattenAstLeaves,_0x5090e7[_0x5e48df(0x1cf)],_0x34fb00),_0x34fb00;return _0x34fb00[_0x5e48df(0x1d9)](_0x5090e7),_0x34fb00;}const RANGE_CMPS=new Set(['gt',_0x305bfa(0x225),'lt',_0x305bfa(0x2ec)]);function isRangeableField(_0xb341f3){const _0x3b6f0e=_0x305bfa,_0x276485={'Ogbhy':function(_0x451a64,_0x4dd6c4){return _0x451a64(_0x4dd6c4);},'AjAqj':function(_0x34e7c5,_0x222c3d){return _0x34e7c5===_0x222c3d;},'JvBuj':_0x3b6f0e(0x343)};return _0x276485[_0x3b6f0e(0x361)](isKvnPath,_0xb341f3)||LOG_NUMERIC_FIELDS['has'](_0xb341f3)||_0x276485[_0x3b6f0e(0x2a1)](_0xb341f3,_0x276485[_0x3b6f0e(0x2ac)]);}function isKnownField(_0x473f27,_0x3e6099){const _0x56dbcd=_0x305bfa,_0x4077aa={'VGXCF':function(_0x96bdcc,_0x48954c){return _0x96bdcc===_0x48954c;},'agMXE':_0x56dbcd(0x219),'KgQgv':'timestamp','PAWre':function(_0x63666a,_0x2c22e8){return _0x63666a(_0x2c22e8);}};return _0x4077aa[_0x56dbcd(0x155)](_0x473f27,_0x4077aa[_0x56dbcd(0x2b6)])||_0x473f27===_0x4077aa[_0x56dbcd(0x2b9)]||LOG_FIELD_ALLOWLIST[_0x56dbcd(0x34a)](_0x473f27)||isKvPath(_0x473f27)||_0x4077aa[_0x56dbcd(0x3a9)](isKvnPath,_0x473f27)||_0x3e6099&&_0x3e6099[_0x56dbcd(0x34a)](_0x473f27);}function validateWhereAst(_0x574e16,_0x33233b,_0x4a1ce1,_0x2a84ee=![]){const _0x20379b=_0x305bfa,_0x14f193={'xRVuU':_0x20379b(0x330),'EkVml':_0x20379b(0x395),'shfcc':function(_0x38e24b,_0x2fb7bc){return _0x38e24b===_0x2fb7bc;},'HynNt':function(_0xc1a03c,_0x2605a7){return _0xc1a03c(_0x2605a7);},'NXRwW':function(_0x6cb9c9,_0x4c3df6){return _0x6cb9c9>=_0x4c3df6;},'cTxrw':function(_0x566202,_0x56ad97){return _0x566202===_0x56ad97;},'ETOVJ':_0x20379b(0x400),'AurmR':function(_0x41c983,_0x30c4c1){return _0x41c983===_0x30c4c1;},'lhKLo':_0x20379b(0x28d),'GMeZy':function(_0x4ed668,_0x3e0eae,_0x251237){return _0x4ed668(_0x3e0eae,_0x251237);},'XfrIg':'field','DKKlX':function(_0x370e33,_0x2ab59d){return _0x370e33===_0x2ab59d;},'NMsHZ':function(_0x2440fe,_0x50db32){return _0x2440fe===_0x50db32;},'NiNZl':function(_0x5582d5,_0x5692d3){return _0x5582d5===_0x5692d3;},'cVtYx':function(_0x2d7dcd,_0x399a39){return _0x2d7dcd!==_0x399a39;},'hdfGw':'sBPxp','FCYXC':function(_0x338bc9,_0x189a6c,_0xbe96e5,_0x52c9f9,_0x8dad17){return _0x338bc9(_0x189a6c,_0xbe96e5,_0x52c9f9,_0x8dad17);},'qCfKa':'regex','eYJVF':function(_0x466fe1,_0x34cd2e){return _0x466fe1===_0x34cd2e;},'PYrRS':_0x20379b(0x290),'HeioM':function(_0x12ad54,_0xffb8bf){return _0x12ad54!==_0xffb8bf;},'eplIg':_0x20379b(0x3e3),'yyqKV':_0x20379b(0x2f3),'LdTMm':'contains(...)\x20só\x20é\x20suportado\x20em\x20cláusulas\x20AND\x20de\x20topo\x20(sem\x20OR/NOT)','uRleI':function(_0x5a5743,_0x44bded,_0x1d3410,_0x4cbfa4,_0x298c1e){return _0x5a5743(_0x44bded,_0x1d3410,_0x4cbfa4,_0x298c1e);},'gmQXp':function(_0x5db72d,_0x357f26){return _0x5db72d===_0x357f26;},'SnrxI':_0x20379b(0x1f1),'HziKc':_0x20379b(0x1cc),'acIxw':'RsYOU','cKXCU':_0x20379b(0x230),'LeAsr':_0x20379b(0x35d),'KlbAt':function(_0x46aafb,_0x4f2e6f){return _0x46aafb===_0x4f2e6f;},'FYpgv':'zuxYr','pKdwa':function(_0x49ea21,_0x5db865){return _0x49ea21===_0x5db865;},'ZNwDQ':function(_0x2cc17f,_0x2a0d53){return _0x2cc17f===_0x2a0d53;},'CwyYt':function(_0x175de8,_0x20efce){return _0x175de8===_0x20efce;},'UlVKK':function(_0x2e0883,_0x55c337){return _0x2e0883!==_0x55c337;},'GAIel':_0x20379b(0x264),'UiqSz':_0x20379b(0x3eb)};if(!_0x574e16)return;if(_0x14f193[_0x20379b(0x1d2)](_0x574e16['op'],_0x14f193['ETOVJ'])){_0x574e16[_0x20379b(0x2cb)][_0x20379b(0x1cd)](_0x16d3fb=>validateWhereAst(_0x16d3fb,_0x33233b,_0x4a1ce1,_0x2a84ee));return;}if(_0x14f193['NMsHZ'](_0x574e16['op'],'or')){_0x574e16[_0x20379b(0x2cb)][_0x20379b(0x1cd)](_0x3ebe8e=>validateWhereAst(_0x3ebe8e,_0x33233b,_0x4a1ce1,!![]));return;}if(_0x14f193[_0x20379b(0x40f)](_0x574e16['op'],_0x20379b(0x28d))){if(_0x14f193[_0x20379b(0x2a9)]('RfitB',_0x14f193[_0x20379b(0x320)])){_0x14f193['FCYXC'](validateWhereAst,_0x574e16[_0x20379b(0x1cf)],_0x33233b,_0x4a1ce1,!![]);return;}else throw new _0x4dcbf6(_0x14f193['xRVuU'],_0x14f193[_0x20379b(0x272)]);}if(_0x574e16['kind']===_0x14f193['qCfKa']){if(!_0x4a1ce1['allowRegex'])throw new DslError(_0x14f193[_0x20379b(0x381)],_0x20379b(0x19b)+_0x4a1ce1[_0x20379b(0x3a1)]);if(_0x2a84ee)throw new DslError(_0x14f193['qCfKa'],'regex\x20só\x20é\x20suportada\x20em\x20cláusulas\x20AND\x20de\x20topo\x20(sem\x20OR/NOT)');return;}if(_0x14f193['eYJVF'](_0x574e16['kind'],_0x14f193[_0x20379b(0x14f)])){if(_0x14f193['HeioM'](_0x14f193[_0x20379b(0x2fa)],_0x14f193[_0x20379b(0x2fa)])){const _0x2a12a6=_0x16a08e=>({'wildcard':{[_0x16a08e]:{'value':'*'+_0x33814e[_0x20379b(0x38d)]+'*','case_insensitive':!![]}}});if(_0x14f193[_0x20379b(0x22f)](_0x57cc1d[_0x20379b(0x259)],_0x20379b(0x25c)))return{'bool':{'should':[_0x14f193[_0x20379b(0x1e3)](_0x2a12a6,_0x5233c3[_0x20379b(0x1b0)]),{'match_phrase':{[_0x4fcc3c['path']]:_0x5bd286[_0x20379b(0x38d)]}}],'minimum_should_match':0x1}};return _0x14f193[_0x20379b(0x1e3)](_0x2a12a6,_0x565a49[_0x20379b(0x2a4)]);}else{if(_0x4a1ce1['name']!==_0x14f193['yyqKV'])throw new DslError('malformed','contains(...)\x20só\x20é\x20suportado\x20no\x20dataset\x20traces\x20(recebido:\x20'+_0x4a1ce1['name']+')');if(_0x2a84ee)throw new DslError(_0x20379b(0x330),_0x14f193['LdTMm']);_0x14f193['uRleI'](validateWhereAst,_0x574e16[_0x20379b(0x368)],_0x33233b,DATASET_PROFILES[_0x20379b(0x205)],![]);return;}}if(_0x14f193['gmQXp'](_0x574e16[_0x20379b(0x390)],_0x14f193[_0x20379b(0x153)])||_0x574e16['kind']==='term')return;const _0x20c435=_0x574e16[_0x20379b(0x34e)];if(!_0x4a1ce1[_0x20379b(0x210)](_0x20c435,_0x33233b))throw new DslError(_0x14f193[_0x20379b(0x3e5)],_0x20379b(0x1e0)+_0x20c435,{'field':_0x20c435});if(_0x14f193[_0x20379b(0x1e3)](isPayloadPath,_0x20c435)&&_0x2a84ee){if(_0x14f193['HziKc']===_0x14f193[_0x20379b(0x333)]){if(_0x14f193[_0x20379b(0x149)](_0x119d05[_0x20379b(0x3cd)],0x2)&&(_0x14f193[_0x20379b(0x22f)](_0x12f1dc[0x0],'\x22')&&_0x32973c['endsWith']('\x22')||_0x14f193[_0x20379b(0x2b5)](_0x4bd37a[0x0],'\x27')&&_0x4fab0e[_0x20379b(0x33c)]('\x27')))return _0x261785[_0x20379b(0x190)](0x1,-0x1);return _0x40d64d;}else throw new DslError(_0x14f193[_0x20379b(0x3e5)],_0x20c435+'\x20(campo\x20do\x20payload)\x20só\x20é\x20suportado\x20em\x20cláusulas\x20AND\x20de\x20topo\x20(sem\x20OR/NOT)',{'field':_0x20c435});}const _0x1be1d8=_0x4a1ce1['info'](_0x20c435)||{};if(_0x574e16[_0x20379b(0x390)]===_0x14f193[_0x20379b(0x3e5)]&&RANGE_CMPS[_0x20379b(0x34a)](_0x574e16[_0x20379b(0x185)])&&!_0x4a1ce1[_0x20379b(0x1aa)](_0x20c435))throw new DslError(_0x14f193[_0x20379b(0x3e5)],_0x20379b(0x393)+_0x20c435+_0x20379b(0x3c1),{'field':_0x20c435});if(_0x14f193[_0x20379b(0x2b5)](_0x574e16[_0x20379b(0x390)],_0x20379b(0x34e))&&_0x14f193[_0x20379b(0x286)](_0x574e16['cmp'],_0x14f193[_0x20379b(0x14f)])&&(_0x14f193[_0x20379b(0x2b5)](_0x1be1d8[_0x20379b(0x259)],_0x14f193['cKXCU'])||_0x14f193[_0x20379b(0x314)](_0x1be1d8[_0x20379b(0x259)],_0x14f193[_0x20379b(0x1dd)])||_0x14f193[_0x20379b(0x2e0)](_0x1be1d8['type'],_0x20379b(0x15a)))){if(_0x14f193[_0x20379b(0x1d2)](_0x20379b(0x1f4),_0x14f193[_0x20379b(0x405)]))throw new DslError('field',_0x20379b(0x3af)+_0x20c435,{'field':_0x20c435});else{if(!_0x58bbce)return null;if(_0x14f193[_0x20379b(0x22f)](_0x5c63ac['op'],_0x14f193[_0x20379b(0x1c4)])){const _0x27b357=_0x4a7c14[_0x20379b(0x2cb)][_0x20379b(0x3e8)](_0x1576bf=>_0x2fc901(_0x1576bf,_0x1544fc))[_0x20379b(0x162)](_0x2ccd5b);if(_0x14f193[_0x20379b(0x2b5)](_0x27b357[_0x20379b(0x3cd)],0x0))return null;return _0x14f193['shfcc'](_0x27b357['length'],0x1)?_0x27b357[0x0]:{'bool':{'filter':_0x27b357}};}if(_0x14f193['shfcc'](_0x5370e2['op'],'or')){const _0xe33a67=_0x7f9d1a[_0x20379b(0x2cb)][_0x20379b(0x3e8)](_0x31d952=>_0x5f3894(_0x31d952,_0x3de642))['filter'](_0x951923);if(_0xe33a67[_0x20379b(0x3cd)]===0x0)return null;return{'bool':{'should':_0xe33a67,'minimum_should_match':0x1}};}if(_0x14f193[_0x20379b(0x314)](_0x394a6d['op'],_0x14f193[_0x20379b(0x31c)])){const _0x132e3f=_0x12c2eb(_0x5a08f1['child'],_0xaf8d38);return _0x132e3f?{'bool':{'must_not':[_0x132e3f]}}:null;}return _0x14f193[_0x20379b(0x292)](_0x4e2656,_0x2db01f,_0x16f799);}}if((_0x14f193[_0x20379b(0x38c)](_0x574e16[_0x20379b(0x390)],'in')||_0x14f193['ZNwDQ'](_0x574e16['kind'],_0x20379b(0x17d)))&&_0x14f193[_0x20379b(0x271)](_0x1be1d8[_0x20379b(0x259)],_0x20379b(0x25c))){if(_0x14f193[_0x20379b(0x194)](_0x14f193['GAIel'],_0x14f193[_0x20379b(0x269)]))throw new DslError(_0x14f193[_0x20379b(0x3e5)],_0x574e16[_0x20379b(0x390)]+'(...)\x20não\x20se\x20aplica\x20a\x20'+_0x20c435,{'field':_0x20c435});else throw new _0x3eaba0(_0x14f193['XfrIg'],_0x29c7c4[_0x20379b(0x390)]+_0x20379b(0x3f1)+_0x1d6aa1,{'field':_0x3d6246});}if(_0x14f193[_0x20379b(0x1d2)](_0x574e16['kind'],_0x14f193['XfrIg'])&&_0x14f193[_0x20379b(0x389)](_0x1be1d8['type'],_0x20379b(0x35d))&&!RANGE_CMPS['has'](_0x574e16[_0x20379b(0x185)]))throw new DslError(_0x20379b(0x34e),_0x20c435+_0x20379b(0x16a),{'field':_0x20c435});}function fieldPathInfo(_0x13b83c){const _0xed0223=_0x305bfa,_0x38223e={'YNNzt':_0xed0223(0x3c0),'sYlsN':function(_0x5b2cdf,_0x4f9d69){return _0x5b2cdf===_0x4f9d69;},'VynfI':_0xed0223(0x343),'oOHaR':_0xed0223(0x35d),'YjeMj':function(_0x29d274,_0x2c9654){return _0x29d274(_0x2c9654);},'FZbxv':_0xed0223(0x288),'ztSkH':_0xed0223(0x230),'jMoVX':'message','fTMAe':'text','jMPCX':_0xed0223(0x414)},_0x93f539=_0x38223e[_0xed0223(0x202)]['split']('|');let _0x564cf8=0x0;while(!![]){switch(_0x93f539[_0x564cf8++]){case'0':if(_0x38223e[_0xed0223(0x410)](_0x13b83c,_0x38223e[_0xed0223(0x2e5)]))return{'path':TIME_FIELD,'type':_0x38223e[_0xed0223(0x255)],'existsPath':TIME_FIELD};continue;case'1':if(_0x38223e[_0xed0223(0x2e4)](isKvnPath,_0x13b83c))return{'path':_0x13b83c,'type':_0xed0223(0x230),'existsPath':_0x13b83c};continue;case'2':return{'path':_0x13b83c+'.keyword','type':_0x38223e[_0xed0223(0x16f)],'existsPath':_0x13b83c};case'3':if(LOG_NUMERIC_FIELDS['has'](_0x13b83c))return{'path':_0x13b83c,'type':_0x38223e[_0xed0223(0x2b0)],'existsPath':_0x13b83c};continue;case'4':if(_0x13b83c===_0xed0223(0x219))return{'path':_0x38223e['jMoVX'],'type':_0x38223e[_0xed0223(0x40e)],'keywordPath':_0x38223e[_0xed0223(0x3fc)],'existsPath':'message'};continue;case'5':if(isKvPath(_0x13b83c))return{'path':_0x13b83c,'type':'kv','existsPath':_0x13b83c};continue;}break;}}const REQUESTS_FIELD_MAP={'serviceName':{'path':'service.name.keyword','type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x26b)},'service':{'path':_0x305bfa(0x22c),'type':'keyword','existsPath':_0x305bfa(0x26b)},'method':{'path':'request.method.keyword','type':'keyword','existsPath':'request.method','upper':!![]},'path':{'path':_0x305bfa(0x2de),'type':_0x305bfa(0x25c),'keywordPath':_0x305bfa(0x374),'existsPath':_0x305bfa(0x2de)},'body':{'path':_0x305bfa(0x278),'type':'text','keywordPath':_0x305bfa(0x33f),'existsPath':_0x305bfa(0x278)},'response':{'path':_0x305bfa(0x2ca),'type':_0x305bfa(0x25c),'keywordPath':'response.result.keyword','existsPath':_0x305bfa(0x2ca)},'statusCode':{'path':_0x305bfa(0x25a),'type':_0x305bfa(0x230),'existsPath':'response.statusCode'},'duration':{'path':'timers.duration','type':_0x305bfa(0x230),'existsPath':_0x305bfa(0x23f)},'durationMs':{'path':_0x305bfa(0x23f),'type':_0x305bfa(0x230),'existsPath':_0x305bfa(0x23f)},'uuid':{'path':_0x305bfa(0x18a),'type':_0x305bfa(0x288),'existsPath':'uuid'},'correlationId':{'path':_0x305bfa(0x22d),'type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x372)},'traceId':{'path':'traceId.keyword','type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x303)},'gatewayId':{'path':_0x305bfa(0x289),'type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x317)},'remoteAddress':{'path':_0x305bfa(0x221),'type':_0x305bfa(0x288),'existsPath':'request.socket.remoteAddress'},'timestamp':{'path':'timers.finished.at','type':'date','existsPath':'timers.finished.at'}},SPANS_FIELD_MAP={'service':{'path':_0x305bfa(0x20d),'type':_0x305bfa(0x288),'existsPath':'service'},'name':{'path':'name','type':'text','keywordPath':'name.keyword','existsPath':_0x305bfa(0x3a1)},'kind':{'path':_0x305bfa(0x3d8),'type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x390)},'gatewayId':{'path':_0x305bfa(0x289),'type':_0x305bfa(0x288),'existsPath':'gatewayId'},'clientId':{'path':'clientId.keyword','type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x1dc)},'traceId':{'path':_0x305bfa(0x2d8),'type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x303)},'spanId':{'path':_0x305bfa(0x276),'type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x30f)},'parentSpanId':{'path':_0x305bfa(0x360),'type':'keyword','existsPath':_0x305bfa(0x388)},'correlationId':{'path':_0x305bfa(0x22d),'type':'keyword','existsPath':_0x305bfa(0x372)},'requestId':{'path':_0x305bfa(0x23d),'type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x1fb)},'flowId':{'path':'flowId.keyword','type':'keyword','existsPath':_0x305bfa(0x18c)},'statusCode':{'path':_0x305bfa(0x3b2),'type':'numeric','existsPath':_0x305bfa(0x3b2)},'durationMs':{'path':_0x305bfa(0x20a),'type':_0x305bfa(0x230),'existsPath':'durationMs'},'hasError':{'path':'hasError','type':_0x305bfa(0x15a),'existsPath':'hasError'},'timestamp':{'path':_0x305bfa(0x1f5),'type':_0x305bfa(0x35d),'existsPath':_0x305bfa(0x1f5)},'language':{'path':_0x305bfa(0x31d),'type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x3e9)},'env':{'path':'env.keyword','type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x385)},'version':{'path':'version.keyword','type':'keyword','existsPath':_0x305bfa(0x25f)},'host':{'path':'host.keyword','type':'keyword','existsPath':_0x305bfa(0x1af)}},TRACES_FIELD_MAP={'serviceName':SPANS_FIELD_MAP[_0x305bfa(0x1e4)],'service':SPANS_FIELD_MAP[_0x305bfa(0x1e4)],'name':SPANS_FIELD_MAP[_0x305bfa(0x3a1)],'gatewayId':SPANS_FIELD_MAP[_0x305bfa(0x317)],'clientId':SPANS_FIELD_MAP[_0x305bfa(0x1dc)],'traceId':SPANS_FIELD_MAP[_0x305bfa(0x303)],'correlationId':SPANS_FIELD_MAP['correlationId'],'requestId':SPANS_FIELD_MAP['requestId'],'statusCode':SPANS_FIELD_MAP[_0x305bfa(0x3b2)],'durationMs':SPANS_FIELD_MAP[_0x305bfa(0x20a)],'hasError':SPANS_FIELD_MAP[_0x305bfa(0x216)],'timestamp':SPANS_FIELD_MAP['timestamp'],'language':SPANS_FIELD_MAP[_0x305bfa(0x3e9)],'env':SPANS_FIELD_MAP[_0x305bfa(0x385)],'version':SPANS_FIELD_MAP[_0x305bfa(0x25f)],'host':SPANS_FIELD_MAP['host']},METRICS_FIELD_MAP={'name':{'path':_0x305bfa(0x37c),'type':_0x305bfa(0x288),'existsPath':'name'},'type':{'path':_0x305bfa(0x413),'type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x259)},'unit':{'path':_0x305bfa(0x2cc),'type':_0x305bfa(0x288),'existsPath':'unit'},'value':{'path':_0x305bfa(0x38d),'type':'numeric','existsPath':_0x305bfa(0x38d)},'count':{'path':_0x305bfa(0x214),'type':_0x305bfa(0x230),'existsPath':_0x305bfa(0x214)},'sum':{'path':'sum','type':_0x305bfa(0x230),'existsPath':_0x305bfa(0x2a0)},'min':{'path':_0x305bfa(0x20c),'type':_0x305bfa(0x230),'existsPath':_0x305bfa(0x20c)},'max':{'path':_0x305bfa(0x3ee),'type':_0x305bfa(0x230),'existsPath':_0x305bfa(0x3ee)},'avg':{'path':'avg','type':'numeric','existsPath':_0x305bfa(0x1ea)},'service':{'path':_0x305bfa(0x20d),'type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x1e4)},'language':{'path':'language.keyword','type':'keyword','existsPath':_0x305bfa(0x3e9)},'env':{'path':_0x305bfa(0x27d),'type':'keyword','existsPath':'env'},'version':{'path':_0x305bfa(0x29d),'type':'keyword','existsPath':'version'},'host':{'path':_0x305bfa(0x3b7),'type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x1af)},'gatewayId':{'path':_0x305bfa(0x289),'type':_0x305bfa(0x288),'existsPath':'gatewayId'},'clientId':{'path':_0x305bfa(0x2e8),'type':_0x305bfa(0x288),'existsPath':_0x305bfa(0x1dc)},'timestamp':{'path':_0x305bfa(0x1f5),'type':'date','existsPath':'@timestamp'}},ATTRIBUTES_PATH_RE=/^attributes\.[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/;function isAttributesPath(_0x295da0){const _0x313080=_0x305bfa;return ATTRIBUTES_PATH_RE[_0x313080(0x348)](_0x295da0);}const DATASET_PROFILES={'logs':{'name':_0x305bfa(0x21c),'allowRegex':!![],'timeField':TIME_FIELD,'known':(_0x5a57f8,_0x27724c)=>isKnownField(_0x5a57f8,_0x27724c),'rangeable':_0x37a590=>isRangeableField(_0x37a590),'info':_0x10d9e8=>fieldPathInfo(_0x10d9e8),'groupbyOk':(_0x2e6104,_0x2102b3)=>_0x2102b3['has'](_0x2e6104)||LOG_FIELD_ALLOWLIST[_0x305bfa(0x34a)](_0x2e6104)||isKvPath(_0x2e6104)||isKvnPath(_0x2e6104),'metricOk':(_0x4fe741,_0x180940)=>_0x180940[_0x305bfa(0x34a)](_0x4fe741)||LOG_NUMERIC_FIELDS[_0x305bfa(0x34a)](_0x4fe741)||isKvnPath(_0x4fe741),'aggPath':(_0x48cd1c,_0x2a1ea1)=>_0x2a1ea1['has'](_0x48cd1c)||isKvPath(_0x48cd1c)||isKvnPath(_0x48cd1c)?_0x48cd1c:_0x48cd1c+_0x305bfa(0x227),'metricPath':_0x5f218e=>_0x5f218e},'spans':{'name':_0x305bfa(0x205),'allowRegex':![],'timeField':_0x305bfa(0x1f5),'known':_0x24ba1c=>Object[_0x305bfa(0x402)][_0x305bfa(0x3b9)]['call'](SPANS_FIELD_MAP,_0x24ba1c)||isAttributesPath(_0x24ba1c),'rangeable':_0x5cf141=>{const _0x114ec4=_0x305bfa,_0x102aa8={'RySej':function(_0x2f82e0,_0x163b5f){return _0x2f82e0(_0x163b5f);},'gzEXf':function(_0x4dfec5,_0x5bf9ec){return _0x4dfec5===_0x5bf9ec;},'DnDmt':_0x114ec4(0x230),'MHdcL':function(_0x52767c,_0x493841){return _0x52767c===_0x493841;}},_0x4b704c=SPANS_FIELD_MAP[_0x5cf141];return _0x102aa8[_0x114ec4(0x315)](Boolean,_0x4b704c&&(_0x102aa8[_0x114ec4(0x1f7)](_0x4b704c[_0x114ec4(0x259)],_0x102aa8[_0x114ec4(0x3f7)])||_0x102aa8['MHdcL'](_0x4b704c[_0x114ec4(0x259)],_0x114ec4(0x35d))));},'info':_0x1c26ec=>isAttributesPath(_0x1c26ec)?{'path':_0x1c26ec,'type':'kv','existsPath':_0x1c26ec}:SPANS_FIELD_MAP[_0x1c26ec],'groupbyOk':_0x41a02b=>[_0x305bfa(0x1e4),_0x305bfa(0x3a1),'kind',_0x305bfa(0x317),_0x305bfa(0x3b2),_0x305bfa(0x216),_0x305bfa(0x3e9),_0x305bfa(0x385),_0x305bfa(0x25f),_0x305bfa(0x1af)][_0x305bfa(0x3bf)](_0x41a02b),'metricOk':_0x57686c=>[_0x305bfa(0x20a),_0x305bfa(0x3b2)]['includes'](_0x57686c),'aggPath':_0x1a9cb0=>{const _0x485e3a=_0x305bfa,_0x4d02b4=SPANS_FIELD_MAP[_0x1a9cb0];return _0x4d02b4?_0x4d02b4['keywordPath']||_0x4d02b4[_0x485e3a(0x2a4)]:_0x1a9cb0;},'metricPath':_0x2767f4=>SPANS_FIELD_MAP[_0x2767f4]?SPANS_FIELD_MAP[_0x2767f4][_0x305bfa(0x2a4)]:_0x2767f4},'metrics':{'name':_0x305bfa(0x1a9),'allowRegex':![],'timeField':_0x305bfa(0x1f5),'known':_0x35acce=>Object[_0x305bfa(0x402)][_0x305bfa(0x3b9)][_0x305bfa(0x2aa)](METRICS_FIELD_MAP,_0x35acce)||isAttributesPath(_0x35acce),'rangeable':_0x1579ea=>{const _0x361f4d=_0x305bfa,_0x954d16={'IPUQe':function(_0x66a914,_0x145704){return _0x66a914(_0x145704);},'MMIPA':_0x361f4d(0x230),'EytSL':function(_0x3b58b8,_0x23f96e){return _0x3b58b8===_0x23f96e;}},_0x1e8512=METRICS_FIELD_MAP[_0x1579ea];return _0x954d16['IPUQe'](Boolean,_0x1e8512&&(_0x1e8512[_0x361f4d(0x259)]===_0x954d16[_0x361f4d(0x337)]||_0x954d16[_0x361f4d(0x1e8)](_0x1e8512[_0x361f4d(0x259)],_0x361f4d(0x35d))));},'info':_0x4bfb8d=>isAttributesPath(_0x4bfb8d)?{'path':_0x4bfb8d,'type':'kv','existsPath':_0x4bfb8d}:METRICS_FIELD_MAP[_0x4bfb8d],'groupbyOk':_0x270a41=>[_0x305bfa(0x3a1),_0x305bfa(0x259),_0x305bfa(0x1f3),'service',_0x305bfa(0x3e9),'env',_0x305bfa(0x25f),_0x305bfa(0x1af),'gatewayId',_0x305bfa(0x1dc)]['includes'](_0x270a41)||isAttributesPath(_0x270a41),'metricOk':_0x4f63c5=>['value',_0x305bfa(0x214),_0x305bfa(0x2a0),'min',_0x305bfa(0x3ee),_0x305bfa(0x1ea)][_0x305bfa(0x3bf)](_0x4f63c5),'aggPath':_0x1b0b9d=>{const _0x31fcac=_0x305bfa,_0x3ffbcb=METRICS_FIELD_MAP[_0x1b0b9d];return _0x3ffbcb?_0x3ffbcb[_0x31fcac(0x2a4)]:_0x1b0b9d;},'metricPath':_0x56163b=>METRICS_FIELD_MAP[_0x56163b]?METRICS_FIELD_MAP[_0x56163b][_0x305bfa(0x2a4)]:_0x56163b},'traces':{'name':_0x305bfa(0x2f3),'allowRegex':![],'timeField':_0x305bfa(0x1f5),'known':_0x1b6ec0=>Object[_0x305bfa(0x402)][_0x305bfa(0x3b9)][_0x305bfa(0x2aa)](TRACES_FIELD_MAP,_0x1b6ec0),'rangeable':_0x382f29=>{const _0x1dab86=_0x305bfa,_0x5cd80d={'tJBEI':function(_0x3584ec,_0x127785){return _0x3584ec(_0x127785);},'iHZNU':_0x1dab86(0x35d)},_0x202d52=TRACES_FIELD_MAP[_0x382f29];return _0x5cd80d['tJBEI'](Boolean,_0x202d52&&(_0x202d52['type']==='numeric'||_0x202d52[_0x1dab86(0x259)]===_0x5cd80d[_0x1dab86(0x1f8)]));},'info':_0xeba2bf=>TRACES_FIELD_MAP[_0xeba2bf],'groupbyOk':_0x3bace1=>[_0x305bfa(0x2dc),_0x305bfa(0x1e4),'gatewayId',_0x305bfa(0x3b2),_0x305bfa(0x3e9),_0x305bfa(0x385),'version','host'][_0x305bfa(0x3bf)](_0x3bace1),'metricOk':_0x11ccb=>['durationMs','statusCode'][_0x305bfa(0x3bf)](_0x11ccb),'aggPath':_0x1a7633=>TRACES_FIELD_MAP[_0x1a7633]?TRACES_FIELD_MAP[_0x1a7633][_0x305bfa(0x2a4)]:_0x1a7633,'metricPath':_0x40eeb0=>TRACES_FIELD_MAP[_0x40eeb0]?TRACES_FIELD_MAP[_0x40eeb0][_0x305bfa(0x2a4)]:_0x40eeb0},'requests':{'name':'requests','allowRegex':![],'timeField':_0x305bfa(0x2bb),'known':_0x513a18=>Object[_0x305bfa(0x402)][_0x305bfa(0x3b9)][_0x305bfa(0x2aa)](REQUESTS_FIELD_MAP,_0x513a18)||isPayloadPath(_0x513a18),'rangeable':_0x1fc270=>{const _0x5e09f8=_0x305bfa,_0x5ed5e8={'yCqBF':function(_0x3251d7,_0x1808d9){return _0x3251d7(_0x1808d9);},'EnaEF':function(_0x22e8a6,_0x3b779e){return _0x22e8a6===_0x3b779e;},'MXqeJ':_0x5e09f8(0x230),'BxdRF':_0x5e09f8(0x35d)},_0x253cf7=REQUESTS_FIELD_MAP[_0x1fc270];return _0x5ed5e8['yCqBF'](isPayloadPath,_0x1fc270)||_0x5ed5e8[_0x5e09f8(0x39d)](Boolean,_0x253cf7&&(_0x5ed5e8['EnaEF'](_0x253cf7[_0x5e09f8(0x259)],_0x5ed5e8['MXqeJ'])||_0x5ed5e8[_0x5e09f8(0x3b1)](_0x253cf7['type'],_0x5ed5e8['BxdRF'])));},'info':_0x3c3df2=>REQUESTS_FIELD_MAP[_0x3c3df2],'groupbyOk':_0x4ad8ea=>['serviceName',_0x305bfa(0x1e4),_0x305bfa(0x370),'statusCode',_0x305bfa(0x317),_0x305bfa(0x2a4)][_0x305bfa(0x3bf)](_0x4ad8ea)||isPayloadPath(_0x4ad8ea),'metricOk':_0x223662=>[_0x305bfa(0x3bb),_0x305bfa(0x20a),_0x305bfa(0x3b2)][_0x305bfa(0x3bf)](_0x223662)||isPayloadPath(_0x223662),'aggPath':_0x1bb66f=>{const _0x24af74=_0x305bfa,_0x59ba29=REQUESTS_FIELD_MAP[_0x1bb66f];return _0x59ba29?_0x59ba29[_0x24af74(0x1b0)]||_0x59ba29[_0x24af74(0x2a4)]:_0x1bb66f;},'metricPath':_0x55965c=>REQUESTS_FIELD_MAP[_0x55965c]?REQUESTS_FIELD_MAP[_0x55965c][_0x305bfa(0x2a4)]:_0x55965c}};function aggPathFor(_0xe4b8a6,_0x37bb5f,_0x25acbd){const _0x43f083=_0x305bfa,_0x170524={'WdaJg':function(_0x1548fa,_0x3bc864){return _0x1548fa||_0x3bc864;}},_0x53fce8=DATASET_PROFILES[_0x170524[_0x43f083(0x1e1)](_0xe4b8a6,_0x43f083(0x21c))]||DATASET_PROFILES[_0x43f083(0x21c)];return _0x53fce8[_0x43f083(0x23b)](_0x37bb5f,_0x25acbd||new Set());}function timeFieldFor(_0x59f04a){const _0x536d4a=_0x305bfa,_0x3fa966={'yktGM':function(_0x4a47e4,_0x4e554f){return _0x4a47e4||_0x4e554f;}};return(DATASET_PROFILES[_0x3fa966['yktGM'](_0x59f04a,_0x536d4a(0x21c))]||DATASET_PROFILES['logs'])['timeField'];}const REQUESTS_HITS_SOURCE=[_0x305bfa(0x1a4),'correlationId',_0x305bfa(0x303),_0x305bfa(0x317),_0x305bfa(0x26b),_0x305bfa(0x2ab),_0x305bfa(0x2de),_0x305bfa(0x25a),_0x305bfa(0x251)];function toNumberOrThrow(_0x1246d4,_0x4a7576){const _0x5d0224=_0x305bfa,_0x464d9f=Number(_0x4a7576);if(!Number[_0x5d0224(0x167)](_0x464d9f))throw new DslError(_0x5d0224(0x34e),_0x5d0224(0x14b)+_0x1246d4+':\x20'+_0x4a7576,{'field':_0x1246d4});return _0x464d9f;}const REQUESTS_TEXT_FIELDS=[_0x305bfa(0x1c8),_0x305bfa(0x3ff),_0x305bfa(0x2de),_0x305bfa(0x278),'response.result',_0x305bfa(0x1a4)];function spanTextClause(_0x3cedc5,_0x4162ad){const _0xab96b7=_0x305bfa,_0xd3465c={'lxpbT':function(_0x5bfd67,_0xd10bfd){return _0x5bfd67(_0xd10bfd);},'YfhpE':_0xab96b7(0x37c),'yfkRB':'correlationId.keyword','cMoqf':function(_0x1514b2,_0x540a8){return _0x1514b2(_0x540a8);},'WPnBd':_0xab96b7(0x276),'hZVxN':_0xab96b7(0x3df),'fzTih':_0xab96b7(0x20d),'MGunt':function(_0x3a5b97,_0xa324a7){return _0x3a5b97(_0xa324a7);},'smSAi':_0xab96b7(0x2e8)},_0xf1d7bf=_0x178f69=>({'wildcard':{[_0x178f69]:{'value':'*'+_0x3cedc5+'*','case_insensitive':!![]}}});return{'bool':{'should':[_0x4162ad?{'match_phrase':{'name':_0x3cedc5}}:{'match':{'name':{'query':_0x3cedc5,'boost':0x3}}},_0xd3465c[_0xab96b7(0x355)](_0xf1d7bf,_0xd3465c[_0xab96b7(0x2e7)]),_0xf1d7bf(_0xab96b7(0x2d8)),_0xf1d7bf(_0xd3465c[_0xab96b7(0x279)]),_0xd3465c[_0xab96b7(0x311)](_0xf1d7bf,_0xab96b7(0x23d)),_0xd3465c['lxpbT'](_0xf1d7bf,_0xd3465c['WPnBd']),_0xd3465c['cMoqf'](_0xf1d7bf,_0xd3465c['hZVxN']),_0xd3465c[_0xab96b7(0x355)](_0xf1d7bf,_0xd3465c[_0xab96b7(0x1ca)]),_0xd3465c[_0xab96b7(0x392)](_0xf1d7bf,_0xab96b7(0x289)),_0xf1d7bf(_0xd3465c[_0xab96b7(0x193)])],'minimum_should_match':0x1}};}function leafToOpenSearch(_0x190393,_0xa0b20f){const _0x9ade21=_0x305bfa,_0x4e8f7d={'hnJTp':function(_0x2bc0e4){return _0x2bc0e4();},'mXHcD':'malformed','Rokgd':function(_0x2f2d81,_0x5dfd89){return _0x2f2d81===_0x5dfd89;},'fnxwC':_0x9ade21(0x290),'AnXDE':function(_0x3d29e7,_0x4671d9){return _0x3d29e7===_0x4671d9;},'owGEu':_0x9ade21(0x400),'XOFkO':function(_0x274b54,_0x1f4094){return _0x274b54===_0x1f4094;},'rXtgA':function(_0x526c80,_0xee7d00){return _0x526c80(_0xee7d00);},'NFztt':function(_0x451542,_0x4387bf){return _0x451542===_0x4387bf;},'vkcKQ':_0x9ade21(0x1f1),'MKyHE':_0x9ade21(0x2d7),'mgtES':'toumG','NAKzl':_0x9ade21(0x2eb),'amMgc':function(_0x4165e0,_0x39a196){return _0x4165e0===_0x39a196;},'zvnAg':function(_0x3ad7a8,_0x4d75e8){return _0x3ad7a8===_0x4d75e8;},'ZCNbR':_0x9ade21(0x211),'IUtqc':function(_0x1017fa,_0x4e0ed1){return _0x1017fa!==_0x4e0ed1;},'eSPqS':_0x9ade21(0x24a),'LNRCg':_0x9ade21(0x205),'HHhek':function(_0x5a8baf,_0x124c59){return _0x5a8baf===_0x124c59;},'hcrEC':'traces','JUXfi':function(_0x1d39cb,_0x53891b){return _0x1d39cb===_0x53891b;},'reGgK':function(_0x151c21,_0x54c504,_0x51dd29){return _0x151c21(_0x54c504,_0x51dd29);},'THsfg':function(_0x3c6477,_0x621eda){return _0x3c6477===_0x621eda;},'zFABs':_0x9ade21(0x29b),'qzQKh':function(_0x230473,_0x4ec6a5){return _0x230473(_0x4ec6a5);},'FptKu':_0x9ade21(0x17d),'NZptf':function(_0x41c88a,_0x15c6ec){return _0x41c88a!==_0x15c6ec;},'wQpfs':_0x9ade21(0x338),'zKsAA':function(_0x415857,_0x48e86f){return _0x415857===_0x48e86f;},'tNwfN':function(_0x27ea2d,_0x2f73cb){return _0x27ea2d!==_0x2f73cb;},'sZmZR':_0x9ade21(0x2c9),'oiTPK':function(_0x402002,_0x50efc4){return _0x402002===_0x50efc4;},'PkBjj':_0x9ade21(0x230),'EEXvP':'bool','QGjRq':function(_0x155417,_0xcff1c8){return _0x155417(_0xcff1c8);},'pisIQ':function(_0xeb6379,_0x25b004,_0x4089de){return _0xeb6379(_0x25b004,_0x4089de);},'zXuQw':_0x9ade21(0x2ec),'UnyeK':_0x9ade21(0x3f2),'yGtlF':'gcsDv','rdrgN':function(_0x2283fc,_0x583eae){return _0x2283fc===_0x583eae;},'JTtWi':_0x9ade21(0x25c),'iqTfa':function(_0x2983c9,_0x553c1e){return _0x2983c9(_0x553c1e);}};if(_0x4e8f7d[_0x9ade21(0x35a)](_0x190393[_0x9ade21(0x390)],_0x4e8f7d['vkcKQ'])||_0x190393['kind']===_0x4e8f7d[_0x9ade21(0x203)]){if(_0x4e8f7d[_0x9ade21(0x35a)](_0x4e8f7d['mgtES'],_0x4e8f7d[_0x9ade21(0x1a6)]))return _0x249adb[_0x9ade21(0x348)](_0x4661f1);else{const _0x6f8bca=_0x4e8f7d[_0x9ade21(0x2ce)](_0x190393[_0x9ade21(0x390)],_0x4e8f7d[_0x9ade21(0x25e)]);if(_0x4e8f7d['zvnAg'](_0xa0b20f[_0x9ade21(0x3a1)],_0x4e8f7d[_0x9ade21(0x1b6)])){if(_0x4e8f7d['IUtqc'](_0x4e8f7d['eSPqS'],_0x4e8f7d[_0x9ade21(0x3ea)]))_0x33f59a++,_0x245a99[_0x9ade21(0x1d9)](_0x4e8f7d[_0x9ade21(0x3fb)](_0x2a63e7));else return{'multi_match':{'query':_0x190393[_0x9ade21(0x38d)],'fields':REQUESTS_TEXT_FIELDS,'type':_0x6f8bca?_0x4e8f7d['vkcKQ']:'best_fields'}};}if(_0xa0b20f[_0x9ade21(0x3a1)]===_0x4e8f7d[_0x9ade21(0x3cc)]||_0x4e8f7d[_0x9ade21(0x174)](_0xa0b20f[_0x9ade21(0x3a1)],_0x4e8f7d[_0x9ade21(0x295)])){if(_0x4e8f7d[_0x9ade21(0x2b3)]('nIEJq',_0x9ade21(0x28f)))return _0x4e8f7d[_0x9ade21(0x1b3)](spanTextClause,_0x190393[_0x9ade21(0x38d)],_0x6f8bca);else _0x3b2887+=_0x3b5522[_0x5c7cad],_0x480816++;}return _0x6f8bca?{'match_phrase':{'message':_0x190393[_0x9ade21(0x38d)]}}:{'match':{'message':_0x190393['value']}};}}if(_0x4e8f7d[_0x9ade21(0x17b)](_0x190393['kind'],_0x4e8f7d[_0x9ade21(0x21b)]))return null;if(_0x4e8f7d['THsfg'](_0x190393['kind'],_0x4e8f7d[_0x9ade21(0x1e7)]))return null;if(_0x190393['field']&&_0x4e8f7d[_0x9ade21(0x191)](isPayloadPath,_0x190393[_0x9ade21(0x34e)]))return null;const _0x767c4=_0xa0b20f[_0x9ade21(0x1b2)](_0x190393[_0x9ade21(0x34e)])||{},_0x38f59a=_0x4b7542=>_0x767c4[_0x9ade21(0x3b6)]?String(_0x4b7542)['toUpperCase']():_0x4b7542;if(_0x4e8f7d['THsfg'](_0x190393[_0x9ade21(0x390)],_0x4e8f7d[_0x9ade21(0x224)])){if(_0x4e8f7d[_0x9ade21(0x3c3)](_0x4e8f7d['wQpfs'],_0x9ade21(0x338)))_0x766353=_0x3865a5(_0x25e89e);else return{'exists':{'field':_0x767c4[_0x9ade21(0x2fb)]||_0x190393['field']}};}if(_0x4e8f7d[_0x9ade21(0x407)](_0x190393['kind'],'in')){if(_0x4e8f7d[_0x9ade21(0x246)](_0x4e8f7d[_0x9ade21(0x298)],_0x9ade21(0x14a))){const _0x1b0cdc=_0x4e8f7d[_0x9ade21(0x280)](_0x767c4[_0x9ade21(0x259)],_0x4e8f7d['PkBjj'])?_0x190393[_0x9ade21(0x215)][_0x9ade21(0x3e8)](_0x1e1fc7=>toNumberOrThrow(_0x190393[_0x9ade21(0x34e)],_0x1e1fc7)):_0x190393['values'][_0x9ade21(0x3e8)](_0x38f59a);return{'terms':{[_0x767c4['path']]:_0x1b0cdc}};}else throw new _0xbb8e28(_0x4e8f7d[_0x9ade21(0x375)],_0x9ade21(0x223)+_0x41db22[_0x9ade21(0x3a1)]+')');}switch(_0x190393[_0x9ade21(0x185)]){case'eq':if(_0x767c4[_0x9ade21(0x259)]===_0x9ade21(0x25c))return{'match':{[_0x767c4['path']]:_0x190393[_0x9ade21(0x38d)]}};if(_0x4e8f7d[_0x9ade21(0x2a6)](_0x767c4[_0x9ade21(0x259)],_0x4e8f7d['PkBjj']))return{'term':{[_0x767c4['path']]:_0x4e8f7d[_0x9ade21(0x1b3)](toNumberOrThrow,_0x190393[_0x9ade21(0x34e)],_0x190393['value'])}};if(_0x767c4[_0x9ade21(0x259)]===_0x4e8f7d[_0x9ade21(0x2c8)])return{'term':{[_0x767c4[_0x9ade21(0x2a4)]]:_0x4e8f7d[_0x9ade21(0x35a)](_0x4e8f7d[_0x9ade21(0x18f)](String,_0x190393[_0x9ade21(0x38d)])['toLowerCase'](),'true')}};return{'term':{[_0x767c4[_0x9ade21(0x2a4)]]:_0x4e8f7d[_0x9ade21(0x18f)](_0x38f59a,_0x190393[_0x9ade21(0x38d)])}};case'ne':{const _0x58490b=_0x4e8f7d[_0x9ade21(0x3b0)](leafToOpenSearch,{..._0x190393,'cmp':'eq'},_0xa0b20f);return{'bool':{'must_not':[_0x58490b]}};}case'gt':case _0x9ade21(0x225):case'lt':case _0x4e8f7d['zXuQw']:{if(_0x4e8f7d[_0x9ade21(0x36c)]!==_0x4e8f7d['yGtlF']){const _0x2db0f8=_0x767c4[_0x9ade21(0x259)]==='numeric'?_0x4e8f7d[_0x9ade21(0x3b0)](toNumberOrThrow,_0x190393[_0x9ade21(0x34e)],_0x190393[_0x9ade21(0x38d)]):_0x190393[_0x9ade21(0x38d)];return{'range':{[_0x767c4['path']]:{[_0x190393['cmp']]:_0x2db0f8}}};}else{const _0x3956aa=[],_0x47b09b=_0x445683=>{const _0x40315d=_0x9ade21;if(!_0x445683)return null;if(_0x4e8f7d['Rokgd'](_0x445683['kind'],_0x4e8f7d['fnxwC']))return _0x3956aa[_0x40315d(0x1d9)](_0x445683[_0x40315d(0x368)]),null;if(_0x4e8f7d['AnXDE'](_0x445683['op'],_0x4e8f7d[_0x40315d(0x29c)])){const _0x2b9090=_0x445683[_0x40315d(0x2cb)][_0x40315d(0x3e8)](_0x47b09b)[_0x40315d(0x162)](_0xd2a358);if(_0x4e8f7d[_0x40315d(0x2ef)](_0x2b9090['length'],0x0))return null;return _0x4e8f7d['XOFkO'](_0x2b9090['length'],0x1)?_0x2b9090[0x0]:{'op':_0x40315d(0x400),'children':_0x2b9090};}return _0x445683;},_0x594dfa=_0x4e8f7d['rXtgA'](_0x47b09b,_0x5080f1&&_0x23c357['where']);return{'containsExprs':_0x3956aa,'rootWhere':_0x594dfa};}}case _0x4e8f7d[_0x9ade21(0x1e7)]:{const _0xd9b49d=_0x23ec24=>({'wildcard':{[_0x23ec24]:{'value':'*'+_0x190393['value']+'*','case_insensitive':!![]}}});if(_0x4e8f7d[_0x9ade21(0x263)](_0x767c4[_0x9ade21(0x259)],_0x4e8f7d[_0x9ade21(0x3d1)]))return{'bool':{'should':[_0x4e8f7d[_0x9ade21(0x321)](_0xd9b49d,_0x767c4['keywordPath']),{'match_phrase':{[_0x767c4[_0x9ade21(0x2a4)]]:_0x190393[_0x9ade21(0x38d)]}}],'minimum_should_match':0x1}};return _0x4e8f7d[_0x9ade21(0x321)](_0xd9b49d,_0x767c4[_0x9ade21(0x2a4)]);}default:throw new DslError(_0x4e8f7d[_0x9ade21(0x375)],_0x9ade21(0x3dc)+_0x190393[_0x9ade21(0x185)]);}}function astToOpenSearch(_0x1c19cf,_0x209178){const _0x419b88=_0x305bfa,_0x592fc8={'InGIM':function(_0x4f2f7d,_0x558b31){return _0x4f2f7d===_0x558b31;},'dqnph':function(_0x49ed10,_0x5dc372){return _0x49ed10===_0x5dc372;},'oYvzw':function(_0x4a28d4,_0x2069c9){return _0x4a28d4/_0x2069c9;},'xJutB':function(_0x1abef,_0x70a502){return _0x1abef*_0x70a502;},'AnRBr':function(_0x2dd959,_0x4c1f67){return _0x2dd959-_0x4c1f67;},'iFKMy':_0x419b88(0x400),'UskMA':function(_0x19ee8c,_0x2bc644){return _0x19ee8c===_0x2bc644;},'fcSeP':'jEFHI','qpZgG':function(_0x141ebc,_0x2495f7){return _0x141ebc!==_0x2495f7;},'frnQs':_0x419b88(0x2b1),'ZjMRr':_0x419b88(0x28d),'IvPsf':_0x419b88(0x3ac),'FbxzM':function(_0x529397,_0x7a5567,_0x491fb4){return _0x529397(_0x7a5567,_0x491fb4);}};if(!_0x1c19cf)return null;if(_0x592fc8[_0x419b88(0x29e)](_0x1c19cf['op'],_0x592fc8['iFKMy'])){if(_0x592fc8[_0x419b88(0x1ac)](_0x592fc8[_0x419b88(0x27a)],_0x592fc8[_0x419b88(0x27a)])){const _0x471131=_0x1c19cf['children'][_0x419b88(0x3e8)](_0x3e0b1b=>astToOpenSearch(_0x3e0b1b,_0x209178))[_0x419b88(0x162)](Boolean);if(_0x471131[_0x419b88(0x3cd)]===0x0)return null;return _0x471131[_0x419b88(0x3cd)]===0x1?_0x471131[0x0]:{'bool':{'filter':_0x471131}};}else{if(_0x592fc8['InGIM'](_0x431da6[_0x419b88(0x3cd)],0x0))return null;if(_0x592fc8[_0x419b88(0x3f5)](_0x5bf143[_0x419b88(0x3cd)],0x1))return _0x5e7e30[0x0];const _0x3444cc=_0x592fc8[_0x419b88(0x253)](_0x2e706f,0x64)*(_0x1e357b[_0x419b88(0x3cd)]-0x1),_0x4c4410=_0x3f9ec1['floor'](_0x3444cc),_0xece0fb=_0x1cb3ef['ceil'](_0x3444cc);if(_0x592fc8[_0x419b88(0x29e)](_0x4c4410,_0xece0fb))return _0x1da39f[_0x4c4410];return _0x45193f[_0x4c4410]+_0x592fc8[_0x419b88(0x3e2)](_0x592fc8[_0x419b88(0x2e6)](_0x12abe1[_0xece0fb],_0x302097[_0x4c4410]),_0x592fc8['AnRBr'](_0x3444cc,_0x4c4410));}}if(_0x1c19cf['op']==='or'){if(_0x592fc8[_0x419b88(0x2af)](_0x592fc8['frnQs'],_0x592fc8[_0x419b88(0x232)])){const _0x54f3cc=_0x3a609f[_0x467401];return _0x54f3cc?_0x54f3cc[_0x419b88(0x1b0)]||_0x54f3cc['path']:_0x52263b;}else{const _0x51f0ba=_0x1c19cf['children'][_0x419b88(0x3e8)](_0xfb4e42=>astToOpenSearch(_0xfb4e42,_0x209178))[_0x419b88(0x162)](Boolean);if(_0x592fc8['dqnph'](_0x51f0ba[_0x419b88(0x3cd)],0x0))return null;return{'bool':{'should':_0x51f0ba,'minimum_should_match':0x1}};}}if(_0x1c19cf['op']===_0x592fc8[_0x419b88(0x32e)]){if(_0x419b88(0x3ac)===_0x592fc8[_0x419b88(0x257)]){const _0x35b99a=_0x592fc8[_0x419b88(0x15e)](astToOpenSearch,_0x1c19cf[_0x419b88(0x1cf)],_0x209178);return _0x35b99a?{'bool':{'must_not':[_0x35b99a]}}:null;}else return _0x586a65[_0x419b88(0x348)](_0x48723d);}return _0x592fc8[_0x419b88(0x15e)](leafToOpenSearch,_0x1c19cf,_0x209178);}function extractContains(_0x2c67e3){const _0x1ef710=_0x305bfa,_0x3825f2={'qgLeT':_0x1ef710(0x290),'iXkAW':function(_0x1f34bf,_0x566873){return _0x1f34bf===_0x566873;},'IbtPY':_0x1ef710(0x400),'lXTvz':function(_0x5d9c18,_0x3865d9){return _0x5d9c18===_0x3865d9;}},_0x209206=[],_0x514416=_0x42b6ad=>{const _0xf1b822=_0x1ef710;if(!_0x42b6ad)return null;if(_0x42b6ad['kind']===_0x3825f2['qgLeT'])return _0x209206[_0xf1b822(0x1d9)](_0x42b6ad[_0xf1b822(0x368)]),null;if(_0x3825f2[_0xf1b822(0x399)](_0x42b6ad['op'],_0x3825f2[_0xf1b822(0x239)])){const _0x5b6e14=_0x42b6ad[_0xf1b822(0x2cb)][_0xf1b822(0x3e8)](_0x514416)['filter'](Boolean);if(_0x3825f2[_0xf1b822(0x273)](_0x5b6e14[_0xf1b822(0x3cd)],0x0))return null;return _0x3825f2[_0xf1b822(0x399)](_0x5b6e14[_0xf1b822(0x3cd)],0x1)?_0x5b6e14[0x0]:{'op':_0xf1b822(0x400),'children':_0x5b6e14};}return _0x42b6ad;},_0x126ac9=_0x514416(_0x2c67e3&&_0x2c67e3['where']);return{'containsExprs':_0x209206,'rootWhere':_0x126ac9};}function compileAstFor(_0x216fad,_0x1188b6){const _0xa52d7d=_0x305bfa,_0x5498c1={'kmaOL':function(_0x5793f1,_0x24474e,_0x50a007){return _0x5793f1(_0x24474e,_0x50a007);},'ccvyY':function(_0x2d963d,_0x317ffa){return _0x2d963d||_0x317ffa;},'PeuIf':_0xa52d7d(0x21c)};return _0x5498c1[_0xa52d7d(0x1bc)](astToOpenSearch,_0x216fad,DATASET_PROFILES[_0x5498c1[_0xa52d7d(0x3f3)](_0x1188b6,_0x5498c1[_0xa52d7d(0x165)])]);}function compileWhere(_0x5331a9){const _0x267931=_0x305bfa,_0x59a895={'zwTEt':'logs'},_0x33b8a7=DATASET_PROFILES[_0x5331a9&&_0x5331a9[_0x267931(0x2d2)]||_0x59a895[_0x267931(0x229)]];return astToOpenSearch(_0x5331a9&&_0x5331a9[_0x267931(0x186)],_0x33b8a7);}function normalizeRegexSource(_0x31bd83){const _0xf6ceee=_0x305bfa,_0x3bd014={'DEMWA':function(_0x2ed3e1,_0x5cc133){return _0x2ed3e1!==_0x5cc133;}},_0xb29202=[],_0xf81a4e=_0x31bd83[_0xf6ceee(0x3a4)](/\(\?P<([A-Za-z_][A-Za-z0-9_]*)>/g,(_0xc6874a,_0x25aa44)=>{const _0x3bcf4c=_0xf6ceee;return _0xb29202[_0x3bcf4c(0x1d9)](_0x25aa44),_0x3bcf4c(0x1ff)+_0x25aa44+'>';}),_0x52b7fe=/\(\?<([A-Za-z_][A-Za-z0-9_]*)>/g;let _0x1952ac;while(_0x3bd014[_0xf6ceee(0x345)](_0x1952ac=_0x52b7fe[_0xf6ceee(0x3c4)](_0xf81a4e),null)){if(!_0xb29202[_0xf6ceee(0x3bf)](_0x1952ac[0x1]))_0xb29202[_0xf6ceee(0x1d9)](_0x1952ac[0x1]);}return{'jsSource':_0xf81a4e,'names':_0xb29202};}function compileRegexes(_0x56f91b){const _0x5b317b=_0x305bfa,_0x4510be={'UBahE':function(_0xce1170,_0x127877){return _0xce1170!==_0x127877;},'NCgrH':_0x5b317b(0x29b),'gNlbs':function(_0x4e6469,_0x15bd19){return _0x4e6469>=_0x15bd19;},'ctdig':function(_0x549601,_0x379fad){return _0x549601>_0x379fad;},'iqVlX':_0x5b317b(0x17f),'lTsYM':function(_0x2eada9,_0x381802){return _0x2eada9(_0x381802);},'WxuCi':function(_0x1d7a90,_0x322bce){return _0x1d7a90!==_0x322bce;},'JRUsW':_0x5b317b(0x23a)},_0x5e6a81=[],_0x1a735d=new Set();for(const _0x3df282 of _0x56f91b){if(_0x4510be[_0x5b317b(0x201)](_0x3df282[_0x5b317b(0x390)],_0x4510be[_0x5b317b(0x228)]))continue;if(_0x4510be[_0x5b317b(0x1c3)](_0x5e6a81[_0x5b317b(0x3cd)],MAX_REGEXES))throw new DslError(_0x4510be[_0x5b317b(0x228)],_0x5b317b(0x277)+MAX_REGEXES+_0x5b317b(0x231));if(_0x4510be[_0x5b317b(0x340)](_0x3df282['source']['length'],MAX_REGEX_LEN))throw new DslError(_0x4510be[_0x5b317b(0x228)],_0x4510be[_0x5b317b(0x1f0)]);const {jsSource:_0x79b5ac,names:_0x437aaa}=_0x4510be['lTsYM'](normalizeRegexSource,_0x3df282[_0x5b317b(0x40c)]);let _0x56ca2f;try{const _0x1ab2ba=(_0x3df282['flags']||'')[_0x5b317b(0x3a4)](/[^gimsuy]/g,'');_0x56ca2f=new RegExp(_0x79b5ac,_0x1ab2ba[_0x5b317b(0x3bf)]('g')?_0x1ab2ba:_0x1ab2ba);}catch(_0x3f3ea9){if(_0x4510be[_0x5b317b(0x367)](_0x4510be[_0x5b317b(0x14c)],_0x4510be[_0x5b317b(0x14c)]))_0x11255c=_0x2eab99[0x1]['toLowerCase'](),_0x1b4d0a=_0x5c7c6f[_0x5b317b(0x190)](_0x5567c2[0x0][_0x5b317b(0x3cd)]);else throw new DslError(_0x4510be[_0x5b317b(0x228)],_0x3f3ea9[_0x5b317b(0x219)],{'detail':_0x3df282[_0x5b317b(0x40c)]});}_0x437aaa[_0x5b317b(0x1cd)](_0x4c32c1=>_0x1a735d[_0x5b317b(0x302)](_0x4c32c1)),_0x5e6a81[_0x5b317b(0x1d9)]({'regex':_0x56ca2f,'names':_0x437aaa});}return{'regexes':_0x5e6a81,'extracted':_0x1a735d};}function parseCalculate(_0x45a869){const _0x517d63=_0x305bfa,_0x12c208={'DlOJf':'count','OdYJn':_0x517d63(0x187)},_0x177eba=_0x45a869[_0x517d63(0x34c)]();if(!_0x177eba)return{'type':_0x12c208[_0x517d63(0x3b8)]};if(/^count$/i[_0x517d63(0x348)](_0x177eba))return{'type':_0x12c208['DlOJf']};const _0x368765=/^([A-Za-z0-9]+)\s*\(\s*([A-Za-z_][\w.]*)\s*\)$/['exec'](_0x177eba);if(!_0x368765)throw new DslError(_0x12c208['OdYJn'],_0x517d63(0x353)+_0x177eba,{'detail':_0x177eba});const _0x10b77a=_0x368765[0x1][_0x517d63(0x218)]();if(!METRIC_FUNCS[_0x517d63(0x34a)](_0x10b77a))throw new DslError(_0x12c208[_0x517d63(0x270)],_0x517d63(0x33d)+_0x368765[0x1],{'detail':_0x177eba});return{'type':_0x10b77a,'field':_0x368765[0x2]};}function parseQuery(_0x279569,_0x22d180={}){const _0x354aa1=_0x305bfa,_0x408082={'Dkcus':function(_0x2cac53,_0xd1427d){return _0x2cac53===_0xd1427d;},'BNWVq':_0x354aa1(0x214),'uKQGF':_0x354aa1(0x1fa),'FFwWy':'p99','OgdUL':function(_0x30697b,_0x11279b){return _0x30697b===_0x11279b;},'YmZDy':_0x354aa1(0x2a0),'NocPG':_0x354aa1(0x1ea),'esZDb':function(_0x5bbec5,_0x664116){return _0x5bbec5/_0x664116;},'szpGg':_0x354aa1(0x20c),'NrvKW':_0x354aa1(0x3ee),'aZQxN':function(_0x1615be,_0x4a588c){return _0x1615be===_0x4a588c;},'ZdHBd':function(_0x528fd0,_0x327bfd){return _0x528fd0===_0x327bfd;},'MPDZZ':function(_0x268007,_0x3b9ff1){return _0x268007<_0x3b9ff1;},'ijJMG':function(_0x525117,_0x5350a8){return _0x525117(_0x5350a8);},'LsruP':function(_0x537705,_0x522e43){return _0x537705===_0x522e43;},'NjeHm':'numeric','uSWAs':function(_0x10c4e3,_0x5a4fcc){return _0x10c4e3!==_0x5a4fcc;},'iLuCj':'string','drVyR':'query\x20vazia','OFLXk':function(_0x44a3d6,_0x42ac36){return _0x44a3d6>_0x42ac36;},'RvNVd':_0x354aa1(0x3e0),'VhPJg':_0x354aa1(0x330),'tcFpw':_0x354aa1(0x395),'Jsazr':_0x354aa1(0x21c),'lELVU':function(_0x3832ec,_0x5b9095){return _0x3832ec!==_0x5b9095;},'oioXs':'YgPHK','FIVsL':function(_0x491dce,_0x3d0906,_0x5d6cc7){return _0x491dce(_0x3d0906,_0x5d6cc7);},'HIhZo':_0x354aa1(0x197),'cDInH':function(_0x3bc15e,_0x609685){return _0x3bc15e+_0x609685;},'jrgwy':function(_0x117122,_0x13f07c){return _0x117122(_0x13f07c);},'nOYzp':function(_0x34e0e3,_0x4b5075){return _0x34e0e3===_0x4b5075;},'xXOFQ':'AND','wWSGG':function(_0xb6ffd3,_0x3e83f4,_0x1dd305,_0x4aac92){return _0xb6ffd3(_0x3e83f4,_0x1dd305,_0x4aac92);},'uRiWW':_0x354aa1(0x362),'JUTFg':_0x354aa1(0x1c5),'ADteS':_0x354aa1(0x2c7),'FdiUE':function(_0x1de2fd,_0x2043d5){return _0x1de2fd!==_0x2043d5;},'nuIEu':'RSzcC','OygqS':function(_0x26c2d0,_0x4bbe3a){return _0x26c2d0-_0x4bbe3a;},'OCRWU':_0x354aa1(0x1fd),'tmvQv':_0x354aa1(0x30b),'nrIQE':_0x354aa1(0x3fa),'cFQVL':function(_0x39cd03,_0xeb745e){return _0x39cd03!==_0xeb745e;},'BdyFl':_0x354aa1(0x3e7),'zcAKf':_0x354aa1(0x1e9),'eRqeE':function(_0x2e8caa,_0x1c3e52){return _0x2e8caa!==_0x1c3e52;},'xdCFR':function(_0x6f43bc,_0x229625){return _0x6f43bc!==_0x229625;},'SAWkg':_0x354aa1(0x34e),'XCzam':_0x354aa1(0x2f2),'UkmOC':function(_0x6e969e,_0x54f44d){return _0x6e969e!==_0x54f44d;},'bOpzM':_0x354aa1(0x386),'WXUwW':function(_0x426393,_0x4413c0){return _0x426393!==_0x4413c0;},'Nbluh':_0x354aa1(0x17e),'FoAUD':function(_0x22d889,_0x305f93){return _0x22d889>_0x305f93;},'prlGM':function(_0x1bf9e0,_0x3cb110){return _0x1bf9e0!==_0x3cb110;},'MwpwD':function(_0x140145,_0x4c580d){return _0x140145>_0x4c580d;},'yowVr':function(_0x3aa36d,_0x4334cb){return _0x3aa36d>_0x4334cb;}};if(_0x408082[_0x354aa1(0x3da)](typeof _0x279569,_0x408082[_0x354aa1(0x36f)])||!_0x279569[_0x354aa1(0x34c)]())throw new DslError(_0x354aa1(0x330),_0x408082[_0x354aa1(0x195)]);if(_0x408082[_0x354aa1(0x332)](_0x279569['length'],MAX_QUERY_LEN)){if(_0x408082['RvNVd']!==_0x408082[_0x354aa1(0x209)]){if(_0x408082[_0x354aa1(0x3de)](_0x11bd18[_0x354aa1(0x259)],_0x408082[_0x354aa1(0x37e)]))return _0x5ccb9d[_0x354aa1(0x3bd)];const _0x39950b=_0xdc09a9[_0x354aa1(0x187)]||{};if(_0x408082[_0x354aa1(0x3de)](_0x363d4b[_0x354aa1(0x259)],_0x408082[_0x354aa1(0x31e)]))return(_0x39950b[_0x354aa1(0x215)]&&(_0x39950b[_0x354aa1(0x215)]['95.0']??_0x39950b[_0x354aa1(0x215)]['95']))??null;if(_0x45da1c[_0x354aa1(0x259)]===_0x408082[_0x354aa1(0x3c6)])return(_0x39950b[_0x354aa1(0x215)]&&(_0x39950b[_0x354aa1(0x215)][_0x354aa1(0x33b)]??_0x39950b[_0x354aa1(0x215)]['99']))??null;return _0x39950b['value']??null;}else throw new DslError(_0x408082[_0x354aa1(0x24c)],_0x408082[_0x354aa1(0x2ed)]);}let _0x208c1c=_0x279569['trim'](),_0x74d0ff=_0x22d180[_0x354aa1(0x2d2)]||_0x408082['Jsazr'];const _0x322b44=/^from\s*\(\s*([A-Za-z]+)\s*\)\s*/i[_0x354aa1(0x3c4)](_0x208c1c);_0x322b44&&(_0x74d0ff=_0x322b44[0x1][_0x354aa1(0x218)](),_0x208c1c=_0x208c1c['slice'](_0x322b44[0x0][_0x354aa1(0x3cd)]));const _0x332966=DATASET_PROFILES[_0x74d0ff];if(!_0x332966){if(_0x408082[_0x354aa1(0x2d1)](_0x408082[_0x354aa1(0x282)],_0x408082['oioXs'])){const _0xafb61c=_0x5419ae[_0x354aa1(0x2cb)]['map'](_0x39eea8)['filter'](_0x5127a2);if(_0x408082['Dkcus'](_0xafb61c[_0x354aa1(0x3cd)],0x0))return null;return _0xafb61c['length']===0x1?_0xafb61c[0x0]:{'op':_0x354aa1(0x400),'children':_0xafb61c};}else throw new DslError(_0x408082[_0x354aa1(0x24c)],_0x354aa1(0x322)+_0x74d0ff+_0x354aa1(0x176));}if(!/^where\s*\(/i[_0x354aa1(0x348)](_0x208c1c))throw new DslError(_0x408082[_0x354aa1(0x24c)],_0x354aa1(0x159));const _0x1aa174=_0x208c1c[_0x354aa1(0x3aa)]('('),_0x18f2ab=_0x408082[_0x354aa1(0x267)](matchingParen,_0x208c1c,_0x1aa174);if(_0x408082['MPDZZ'](_0x18f2ab,0x0))throw new DslError(_0x408082[_0x354aa1(0x24c)],_0x408082['HIhZo']);const _0x368c36=_0x208c1c['slice'](_0x408082['cDInH'](_0x1aa174,0x1),_0x18f2ab);let _0x59a4f1=_0x208c1c['slice'](_0x408082[_0x354aa1(0x234)](_0x18f2ab,0x1));const _0x13277b=parseWhereAst(_0x408082['jrgwy'](tokenizeWhere,_0x368c36)),_0x5786cd=_0x408082[_0x354aa1(0x3ef)](flattenAstLeaves,_0x13277b),_0x4d23b9=_0x13277b&&_0x408082[_0x354aa1(0x408)](_0x13277b['op'],'or')?'OR':_0x408082[_0x354aa1(0x3c2)],{regexes:_0x47e9f7,extracted:_0x519df0}=_0x408082[_0x354aa1(0x39b)](compileRegexes,_0x5786cd);_0x408082[_0x354aa1(0x261)](validateWhereAst,_0x13277b,_0x519df0,_0x332966);const _0x43dd42={};for(const _0x3b0ab5 of[_0x408082[_0x354aa1(0x168)],_0x408082['JUTFg'],_0x408082[_0x354aa1(0x347)]]){if(_0x408082['FdiUE'](_0x408082[_0x354aa1(0x171)],'RSzcC')){if(_0x408082['OgdUL'](_0x2d01f8[_0x354aa1(0x3cd)],0x0))return null;if(_0x273ed2===_0x408082[_0x354aa1(0x3ad)])return _0x5469e4['reduce']((_0x5363b6,_0x115c82)=>_0x5363b6+_0x115c82,0x0);if(_0x408082[_0x354aa1(0x342)](_0x4f2e53,_0x408082['NocPG']))return _0x408082[_0x354aa1(0x1e6)](_0x565e9d[_0x354aa1(0x1d5)]((_0x29a19d,_0x2ae4b2)=>_0x29a19d+_0x2ae4b2,0x0),_0x5eed7d[_0x354aa1(0x3cd)]);if(_0x4d290b===_0x408082[_0x354aa1(0x19c)])return _0x309a1d[_0x354aa1(0x20c)](..._0x2f36f7);if(_0x408082['Dkcus'](_0x3208d8,_0x408082[_0x354aa1(0x22e)]))return _0x334b80[_0x354aa1(0x3ee)](..._0x36903b);const _0x305b41=_0x14ee08[_0x354aa1(0x190)]()['sort']((_0x22ef0b,_0xeeaeca)=>_0x22ef0b-_0xeeaeca);if(_0xfdf191===_0x408082[_0x354aa1(0x31e)])return _0xda680c(_0x305b41,0x5f);if(_0x408082['OgdUL'](_0x2bd42a,_0x354aa1(0x27c)))return _0x7c6b2a(_0x305b41,0x63);return null;}else{const _0x42694b=_0x408082[_0x354aa1(0x267)](findSection,_0x59a4f1,_0x3b0ab5);_0x42694b&&(_0x43dd42[_0x3b0ab5]=_0x42694b['content'],_0x59a4f1=_0x408082[_0x354aa1(0x234)](_0x59a4f1[_0x354aa1(0x190)](0x0,_0x42694b['start']),'\x20'[_0x354aa1(0x1b8)](_0x408082[_0x354aa1(0x323)](_0x42694b[_0x354aa1(0x265)],_0x42694b[_0x354aa1(0x3d0)])))+_0x59a4f1[_0x354aa1(0x190)](_0x42694b['end']));}}if(_0x59a4f1[_0x354aa1(0x34c)]()){if(_0x354aa1(0x3c5)!==_0x408082['OCRWU'])throw new DslError('malformed',_0x354aa1(0x1d1)+_0x59a4f1[_0x354aa1(0x34c)]()+'\x22',{'detail':_0x59a4f1[_0x354aa1(0x34c)]()});else{const _0x2fb13a=_0x4fefa3[_0x354aa1(0x38d)]===null||_0x408082[_0x354aa1(0x342)](_0x303580[_0x354aa1(0x38d)],_0x23da1e)?-_0x2780fd:_0xae508f['value'],_0x26a50e=_0x408082[_0x354aa1(0x3ed)](_0x35b36f['value'],null)||_0x408082[_0x354aa1(0x2f5)](_0x5524a9['value'],_0x55223f)?-_0x361514:_0x10a596[_0x354aa1(0x38d)];if(_0x408082[_0x354aa1(0x3de)](_0x2fb13a,_0x26a50e))return 0x0;return _0x408082[_0x354aa1(0x21d)](_0x2fb13a,_0x26a50e)?-_0x3cc62b:_0x592f70;}}let _0x54ffa7=[];if(_0x43dd42[_0x354aa1(0x362)]!==undefined){if(_0x408082[_0x354aa1(0x2d1)](_0x408082[_0x354aa1(0x363)],_0x408082[_0x354aa1(0x363)]))return null;else{_0x54ffa7=_0x43dd42[_0x354aa1(0x362)][_0x354aa1(0x19a)](',')[_0x354aa1(0x3e8)](_0x353f9c=>_0x353f9c[_0x354aa1(0x34c)]())[_0x354aa1(0x162)](Boolean);if(_0x408082[_0x354aa1(0x2f5)](_0x54ffa7[_0x354aa1(0x3cd)],0x0))throw new DslError(_0x354aa1(0x330),_0x408082[_0x354aa1(0x2ba)]);for(const _0x486b8d of _0x54ffa7){if(!_0x332966[_0x354aa1(0x2c5)](_0x486b8d,_0x519df0)){if(_0x408082['cFQVL'](_0x408082[_0x354aa1(0x204)],_0x408082[_0x354aa1(0x164)]))throw new DslError('field',_0x354aa1(0x245)+_0x486b8d,{'field':_0x486b8d});else{const _0x5503b3=_0x400a0a[_0x29daef];return _0x408082[_0x354aa1(0x3ef)](_0xd88a94,_0x5503b3&&(_0x408082[_0x354aa1(0x1d7)](_0x5503b3[_0x354aa1(0x259)],_0x408082['NjeHm'])||_0x408082[_0x354aa1(0x3de)](_0x5503b3['type'],_0x354aa1(0x35d))));}}}}}const _0x51bb20=_0x408082[_0x354aa1(0x32b)](_0x43dd42[_0x354aa1(0x1c5)],undefined)?_0x408082[_0x354aa1(0x3ef)](parseCalculate,_0x43dd42[_0x354aa1(0x1c5)]):{'type':_0x408082['BNWVq']};if(_0x408082['xdCFR'](_0x51bb20['type'],_0x354aa1(0x214))){if(_0x408082[_0x354aa1(0x2d1)]('dNLwA',_0x354aa1(0x40d))){const _0x201e8c=_0x51bb20[_0x354aa1(0x34e)],_0x3278f9=_0x519df0[_0x354aa1(0x34a)](_0x201e8c);if(!_0x332966['metricOk'](_0x201e8c,_0x519df0))throw new DslError(_0x408082['SAWkg'],'campo\x20não\x20permitido\x20na\x20métrica:\x20'+_0x201e8c,{'field':_0x201e8c});void _0x3278f9;}else _0x2e60ff+=_0xa6e6f8[_0x398c98],_0x37bf80++;}let _0x1f99f5=_0x408082[_0x354aa1(0x294)];if(_0x408082[_0x354aa1(0x178)](_0x43dd42[_0x354aa1(0x2c7)],undefined)){if(_0x408082['UkmOC'](_0x408082[_0x354aa1(0x2e3)],_0x354aa1(0x25d))){const _0x128419=_0x43dd42['sort'][_0x354aa1(0x34c)]()[_0x354aa1(0x218)]();if(_0x408082['WXUwW'](_0x128419,_0x408082[_0x354aa1(0x2f9)])&&_0x128419!==_0x408082[_0x354aa1(0x294)])throw new DslError(_0x354aa1(0x330),_0x354aa1(0x2b8)+_0x128419+_0x354aa1(0x16d));_0x1f99f5=_0x128419;}else return _0x2c64c8[_0x354aa1(0x1d9)](_0x2bc59a),_0x354aa1(0x1ff)+_0x484ec5+'>';}const _0x53c0b5=_0x408082['FoAUD'](_0x47e9f7[_0x354aa1(0x3cd)],0x0),_0x4f6b9a=_0x54ffa7[_0x354aa1(0x19e)](_0x4e2283=>_0x519df0['has'](_0x4e2283)),_0x4b3431=_0x408082[_0x354aa1(0x1e2)](_0x51bb20[_0x354aa1(0x259)],_0x408082[_0x354aa1(0x37e)])&&_0x519df0['has'](_0x51bb20[_0x354aa1(0x34e)]),_0x4b471b=_0x54ffa7[_0x354aa1(0x19e)](_0x253af2=>isKvPath(_0x253af2)),_0x363e9e=_0x54ffa7[_0x354aa1(0x19e)](_0x51c151=>isPayloadPath(_0x51c151)),_0x21eee7=_0x51bb20['type']!==_0x408082['BNWVq']&&_0x408082[_0x354aa1(0x39b)](isPayloadPath,_0x51bb20[_0x354aa1(0x34e)]),_0x8db893=_0x5786cd['filter'](_0x42a060=>_0x42a060[_0x354aa1(0x34e)]&&isPayloadPath(_0x42a060[_0x354aa1(0x34e)])&&['field','in',_0x354aa1(0x17d)]['includes'](_0x42a060['kind'])),_0x542076=_0x53c0b5||_0x4f6b9a||_0x4b3431||_0x4b471b||_0x363e9e||_0x21eee7||_0x408082[_0x354aa1(0x38e)](_0x8db893[_0x354aa1(0x3cd)],0x0);return{'where':_0x13277b,'dataset':_0x74d0ff,'clauses':_0x5786cd,'payloadFilters':_0x8db893,'operator':_0x4d23b9,'regexes':_0x47e9f7,'extracted':_0x519df0,'groupby':_0x54ffa7,'calculate':_0x51bb20,'sort':_0x1f99f5,'hasRegex':_0x53c0b5,'serverSide':_0x542076,'hasGroupby':_0x408082[_0x354aa1(0x37d)](_0x54ffa7[_0x354aa1(0x3cd)],0x0)};}function clauseToOpenSearch(_0x44fa6b){const _0x234ab9=_0x305bfa,_0x3479d0={'oQKDE':function(_0x1212f7,_0x1e16c1){return _0x1212f7===_0x1e16c1;},'BLfqm':function(_0xf6fbab,_0x6a38c7){return _0xf6fbab===_0x6a38c7;},'hZGyM':_0x234ab9(0x2d7),'Khdfh':'eASoF','qxvtR':_0x234ab9(0x219),'qjAew':_0x234ab9(0x22a),'BAKwU':_0x234ab9(0x378),'Jmadp':function(_0x122c08,_0x3b37e4){return _0x122c08(_0x3b37e4);}};if(_0x3479d0[_0x234ab9(0x217)](_0x44fa6b[_0x234ab9(0x390)],'phrase'))return{'match_phrase':{'message':_0x44fa6b['value']}};if(_0x3479d0[_0x234ab9(0x3a6)](_0x44fa6b[_0x234ab9(0x390)],_0x3479d0['hZGyM']))return{'match':{'message':_0x44fa6b[_0x234ab9(0x38d)]}};if(_0x3479d0[_0x234ab9(0x217)](_0x44fa6b[_0x234ab9(0x390)],_0x234ab9(0x34e))){if(_0x3479d0['Khdfh']!==_0x234ab9(0x26a))return{'bool':{'filter':[_0x326cef]}};else{if(_0x44fa6b[_0x234ab9(0x34e)]===_0x3479d0[_0x234ab9(0x382)])return{'match':{'message':_0x44fa6b[_0x234ab9(0x38d)]}};if(isKvPath(_0x44fa6b['field']))return{'term':{[_0x44fa6b[_0x234ab9(0x34e)]]:_0x44fa6b[_0x234ab9(0x38d)]}};if(isKvnPath(_0x44fa6b[_0x234ab9(0x34e)])){if(_0x3479d0['qjAew']!==_0x3479d0['BAKwU']){const _0x237cdd=_0x3479d0[_0x234ab9(0x1ec)](Number,_0x44fa6b[_0x234ab9(0x38d)]);return Number[_0x234ab9(0x167)](_0x237cdd)?{'term':{[_0x44fa6b['field']]:_0x237cdd}}:{'term':{[_0x44fa6b[_0x234ab9(0x34e)]]:_0x44fa6b['value']}};}else _0x326266={'idx':_0x160898,'tok':_0x2de640,'cmp':_0x45d34e};}return{'term':{[_0x44fa6b[_0x234ab9(0x34e)]+'.keyword']:_0x44fa6b[_0x234ab9(0x38d)]}};}}return null;}function buildOpenSearchQuery(_0x3e4b60,_0xed2f4e){const _0x22dfd4=_0x305bfa,_0x31dcad={'oIenQ':function(_0x279a0c,_0x3dec82,_0x3e434b){return _0x279a0c(_0x3dec82,_0x3e434b);},'GXPWs':_0x22dfd4(0x21c)},_0xcb842d=DATASET_PROFILES[_0x3e4b60&&_0x3e4b60[_0x22dfd4(0x2d2)]||_0x22dfd4(0x21c)],_0x5975da={'range':{[_0xcb842d['timeField']]:{'gte':_0xed2f4e['from'],'lte':_0xed2f4e['to']}}},_0x2ec4c2=_0x31dcad['oIenQ'](astToOpenSearch,_0x3e4b60[_0x22dfd4(0x186)],DATASET_PROFILES[_0x3e4b60&&_0x3e4b60[_0x22dfd4(0x2d2)]||_0x31dcad[_0x22dfd4(0x3a7)]]);if(!_0x2ec4c2)return{'bool':{'filter':[_0x5975da]}};return{'bool':{'filter':[_0x5975da],'must':[_0x2ec4c2]}};}function sourceFieldsFor(_0x9b636b){const _0x50822e=_0x305bfa,_0x2b3fc9={'CXltf':function(_0x298d62,_0x559b35){return _0x298d62===_0x559b35;},'cTUZE':_0x50822e(0x214),'YBZhm':function(_0xd2176d,_0x168c48){return _0xd2176d===_0x168c48;},'hkEOq':_0x50822e(0x293),'wMrfE':function(_0x5e784e,_0x7e7f27){return _0x5e784e(_0x7e7f27);},'xKxHS':_0x50822e(0x278),'HSDKs':function(_0x12682e,_0x409f91){return _0x12682e(_0x409f91);},'joAgK':function(_0x5d680a,_0x9428c2){return _0x5d680a!==_0x9428c2;},'YoJdw':_0x50822e(0x1f6),'yBYAn':_0x50822e(0x2ca),'rBxEK':function(_0x717d12,_0x1030b4){return _0x717d12!==_0x1030b4;}},_0x28a9ac=new Set(['message',TIME_FIELD]),_0xbd26cb=_0x4fb358=>{const _0x581608=_0x50822e;if(_0x2b3fc9[_0x581608(0x310)](_0x2b3fc9['hkEOq'],_0x2b3fc9[_0x581608(0x2fd)])){if(_0x9b636b['extracted'][_0x581608(0x34a)](_0x4fb358))return;if(_0x2b3fc9[_0x581608(0x1de)](isBodyPath,_0x4fb358)){_0x28a9ac[_0x581608(0x302)](_0x2b3fc9[_0x581608(0x238)]);return;}if(_0x2b3fc9[_0x581608(0x27b)](isResponsePath,_0x4fb358)){if(_0x2b3fc9[_0x581608(0x1c6)](_0x2b3fc9[_0x581608(0x2d0)],_0x2b3fc9[_0x581608(0x2d0)]))_0x4f79a2[_0x4cfc85]=_0x549e2a[_0x49ee0d];else{_0x28a9ac[_0x581608(0x302)](_0x2b3fc9['yBYAn']);return;}}_0x28a9ac[_0x581608(0x302)](_0x4fb358);}else{const _0x213999=_0x2b3fc9[_0x581608(0x387)](_0x5d9f3b['type'],_0x2b3fc9[_0x581608(0x1e5)])?_0x34248d[_0x581608(0x214)]:_0x5f06a9(_0x2be1d3['type'],_0x239ff3['values']);_0x5db7f7['push'](_0x25c293[_0x581608(0x26c)]({},_0x5d4154['dims'],{'value':_0x213999}));}};_0x9b636b[_0x50822e(0x362)][_0x50822e(0x1cd)](_0xbd26cb);if(_0x2b3fc9[_0x50822e(0x181)](_0x9b636b[_0x50822e(0x1c5)][_0x50822e(0x259)],_0x2b3fc9[_0x50822e(0x1e5)]))_0x2b3fc9[_0x50822e(0x1de)](_0xbd26cb,_0x9b636b['calculate']['field']);return _0x9b636b['clauses'][_0x50822e(0x1cd)](_0x4603f7=>{const _0x127c88=_0x50822e;if(_0x2b3fc9[_0x127c88(0x387)](_0x4603f7['kind'],_0x127c88(0x34e)))_0x2b3fc9[_0x127c88(0x1de)](_0xbd26cb,_0x4603f7['field']);}),Array['from'](_0x28a9ac);}function metricSubAgg(_0x40a2ca,_0x350d90){const _0x33cf5c=_0x305bfa,_0x4dd6d3={'ZfPpl':function(_0x29b4a5,_0x313b51){return _0x29b4a5||_0x313b51;},'OXcgx':function(_0x2bb6e5,_0x2a596d){return _0x2bb6e5===_0x2a596d;},'Cnutt':'avg','ZoJJG':function(_0xd2219d,_0x2000b2){return _0xd2219d===_0x2000b2;},'XEffm':_0x33cf5c(0x2a0),'yXQlI':_0x33cf5c(0x20c),'bnTFG':_0x33cf5c(0x3ee),'qZlBH':_0x33cf5c(0x1fa)},{type:_0x3ff613}=_0x40a2ca,_0x2b7d42=DATASET_PROFILES[_0x4dd6d3[_0x33cf5c(0x1fc)](_0x350d90,'logs')],_0x17a7cc=_0x2b7d42[_0x33cf5c(0x3e6)](_0x40a2ca[_0x33cf5c(0x34e)]);if(_0x4dd6d3[_0x33cf5c(0x319)](_0x3ff613,_0x4dd6d3[_0x33cf5c(0x412)]))return{'metric':{'avg':{'field':_0x17a7cc}}};if(_0x4dd6d3[_0x33cf5c(0x18e)](_0x3ff613,_0x4dd6d3[_0x33cf5c(0x161)]))return{'metric':{'sum':{'field':_0x17a7cc}}};if(_0x4dd6d3[_0x33cf5c(0x18e)](_0x3ff613,_0x4dd6d3[_0x33cf5c(0x1fe)]))return{'metric':{'min':{'field':_0x17a7cc}}};if(_0x4dd6d3[_0x33cf5c(0x319)](_0x3ff613,_0x4dd6d3[_0x33cf5c(0x357)]))return{'metric':{'max':{'field':_0x17a7cc}}};if(_0x3ff613===_0x4dd6d3[_0x33cf5c(0x3f4)])return{'metric':{'percentiles':{'field':_0x17a7cc,'percents':[0x5f]}}};if(_0x4dd6d3[_0x33cf5c(0x18e)](_0x3ff613,_0x33cf5c(0x27c)))return{'metric':{'percentiles':{'field':_0x17a7cc,'percents':[0x63]}}};return undefined;}function readNativeMetric(_0x24ea70,_0x54cd6c){const _0x363228=_0x305bfa,_0x27da8b={'MschZ':function(_0x1ff759,_0x344660){return _0x1ff759===_0x344660;},'AuDyI':_0x363228(0x214),'yQbbu':function(_0x1e5918,_0x1fad03){return _0x1e5918===_0x1fad03;},'Bjgir':_0x363228(0x1fa),'LqWNL':_0x363228(0x15b),'MgLwV':function(_0xdfc6e,_0xb810ef){return _0xdfc6e===_0xb810ef;},'MYYQn':_0x363228(0x33b)};if(_0x27da8b[_0x363228(0x241)](_0x54cd6c['type'],_0x27da8b[_0x363228(0x3ab)]))return _0x24ea70[_0x363228(0x3bd)];const _0xdfb5d3=_0x24ea70[_0x363228(0x187)]||{};if(_0x27da8b[_0x363228(0x1db)](_0x54cd6c[_0x363228(0x259)],_0x27da8b[_0x363228(0x397)]))return(_0xdfb5d3[_0x363228(0x215)]&&(_0xdfb5d3[_0x363228(0x215)][_0x27da8b[_0x363228(0x14d)]]??_0xdfb5d3['values']['95']))??null;if(_0x27da8b['MgLwV'](_0x54cd6c['type'],_0x363228(0x27c)))return(_0xdfb5d3[_0x363228(0x215)]&&(_0xdfb5d3[_0x363228(0x215)][_0x27da8b['MYYQn']]??_0xdfb5d3['values']['99']))??null;return _0xdfb5d3[_0x363228(0x38d)]??null;}function buildTermsAgg(_0x2cb305){const _0x4292ad=_0x305bfa,_0x2a5b8e={'ImCzb':function(_0xd7fe61,_0x927d58){return _0xd7fe61(_0x927d58);},'MeDPu':_0x4292ad(0x278),'KsBWq':_0x4292ad(0x2ca),'TTUvN':'malformed','QxAQc':_0x4292ad(0x21c),'YAMMs':function(_0x1a9e69,_0x4bbf9b){return _0x1a9e69===_0x4bbf9b;},'NrniU':_0x4292ad(0x214),'pWkxQ':_0x4292ad(0x2f2),'hFxyT':'p95','UtUuL':'p99','GlZgW':function(_0x4f7110,_0x49adae){return _0x4f7110<_0x49adae;},'uMsEB':function(_0x18d710,_0xaeaf31){return _0x18d710+_0xaeaf31;},'GxNml':function(_0x5dead3,_0x5dab8d){return _0x5dead3!==_0x5dab8d;},'retnI':_0x4292ad(0x2a2),'AecZB':_0x4292ad(0x1d3),'HgmGm':function(_0xb5dff1,_0x535e88){return _0xb5dff1===_0x535e88;},'wJVkx':_0x4292ad(0x189),'cRnCP':function(_0x1b1ff8,_0x2dcf69){return _0x1b1ff8(_0x2dcf69);}},_0x2c5d51=_0x2cb305['groupby'],_0x1b62b1=_0x2cb305[_0x4292ad(0x1c5)],_0x9c57db=_0x41a312=>{const _0x25534d=_0x4292ad,_0xbea6e={'SAeiM':function(_0x2acbb8,_0xec421a){const _0x517897=_0x331c;return _0x2a5b8e[_0x517897(0x3e1)](_0x2acbb8,_0xec421a);},'mnuDt':_0x2a5b8e[_0x25534d(0x15f)],'dxmAK':_0x2a5b8e[_0x25534d(0x39e)],'WEYzu':_0x2a5b8e[_0x25534d(0x3e4)]},_0x374030=_0x2c5d51[_0x41a312],_0x531fb0=DATASET_PROFILES[_0x2cb305[_0x25534d(0x2d2)]||_0x2a5b8e[_0x25534d(0x415)]],_0x556199=_0x531fb0[_0x25534d(0x23b)](_0x374030,_0x2cb305[_0x25534d(0x240)]),_0x4180d8=_0x2a5b8e[_0x25534d(0x328)](_0x1b62b1[_0x25534d(0x259)],_0x2a5b8e[_0x25534d(0x175)])?{'_count':_0x2a5b8e[_0x25534d(0x148)]}:_0x1b62b1['type']===_0x2a5b8e['hFxyT']?{'metric.95':_0x2a5b8e[_0x25534d(0x148)]}:_0x2a5b8e['YAMMs'](_0x1b62b1[_0x25534d(0x259)],_0x2a5b8e[_0x25534d(0x2db)])?{'metric.99':_0x25534d(0x2f2)}:{'metric':_0x2a5b8e['pWkxQ']},_0x4f81cb={'terms':{'field':_0x556199,'size':TERMS_CAP}};if(_0x2a5b8e[_0x25534d(0x15d)](_0x41a312,_0x2c5d51[_0x25534d(0x3cd)]-0x1))_0x4f81cb[_0x25534d(0x3ec)]={'sub':_0x2a5b8e[_0x25534d(0x3e1)](_0x9c57db,_0x2a5b8e[_0x25534d(0x1ce)](_0x41a312,0x1))},_0x4f81cb[_0x25534d(0x1a2)][_0x25534d(0x18d)]={'_count':_0x25534d(0x2f2)};else{if(_0x2a5b8e[_0x25534d(0x325)](_0x1b62b1[_0x25534d(0x259)],_0x2a5b8e[_0x25534d(0x175)])){if(_0x2a5b8e[_0x25534d(0x325)](_0x2a5b8e[_0x25534d(0x38b)],_0x2a5b8e[_0x25534d(0x3f6)]))_0x4f81cb[_0x25534d(0x3ec)]=metricSubAgg(_0x1b62b1,_0x2cb305['dataset']),_0x4f81cb['terms']['order']=_0x4180d8;else{if(_0x4ace09[_0x25534d(0x240)][_0x25534d(0x34a)](_0x398ead))return;if(_0xbea6e[_0x25534d(0x2b4)](_0x13e163,_0x33c087)){_0x1adac1[_0x25534d(0x302)](_0xbea6e['mnuDt']);return;}if(_0x2d3dea(_0x4cc687)){_0x3da8eb['add'](_0xbea6e['dxmAK']);return;}_0x54ec0b[_0x25534d(0x302)](_0x416db7);}}else{if(_0x2a5b8e['HgmGm'](_0x2a5b8e[_0x25534d(0x2f8)],_0x25534d(0x189)))_0x4f81cb[_0x25534d(0x1a2)]['order']={'_count':_0x2a5b8e['pWkxQ']};else throw new _0x198c28(_0xbea6e[_0x25534d(0x2c0)],'query\x20vazia');}}return _0x4f81cb;};return{'groups':_0x2a5b8e[_0x4292ad(0x199)](_0x9c57db,0x0)};}function parseTermsAgg(_0xc2da95,_0x3fe1db){const _0x2548e5=_0x305bfa,_0x11a5ad={'YqGzb':function(_0x57b86b,_0x16a1ae){return _0x57b86b===_0x16a1ae;},'UbSUS':_0x2548e5(0x411),'AkBnD':function(_0x49dc92,_0x34f5db){return _0x49dc92-_0x34f5db;},'jpiJN':function(_0x5ea28d,_0x588341,_0x130d21){return _0x5ea28d(_0x588341,_0x130d21);},'BYklC':function(_0x4fd9f6,_0x56a59c){return _0x4fd9f6+_0x56a59c;},'xkucU':function(_0x29371d,_0x1ca696,_0x2bc146,_0x3b59e2){return _0x29371d(_0x1ca696,_0x2bc146,_0x3b59e2);}},_0x2e27e9=_0x3fe1db[_0x2548e5(0x362)],_0x368286=_0x3fe1db[_0x2548e5(0x1c5)],_0x98451a=[],_0x374d12=(_0x4db484,_0x4ef274,_0x366b4c)=>{const _0x18e6e8=_0x2548e5;if(_0x11a5ad[_0x18e6e8(0x2c2)](_0x11a5ad[_0x18e6e8(0x37a)],_0x11a5ad[_0x18e6e8(0x37a)]))for(const _0x58d803 of _0x4db484||[]){const _0x443060=Object[_0x18e6e8(0x26c)]({},_0x366b4c,{[_0x2e27e9[_0x4ef274]]:_0x58d803['key']});_0x4ef274===_0x11a5ad['AkBnD'](_0x2e27e9[_0x18e6e8(0x3cd)],0x1)?_0x98451a[_0x18e6e8(0x1d9)](Object[_0x18e6e8(0x26c)]({},_0x443060,{'value':_0x11a5ad[_0x18e6e8(0x236)](readNativeMetric,_0x58d803,_0x368286)})):_0x374d12(_0x58d803['sub']&&_0x58d803[_0x18e6e8(0x274)][_0x18e6e8(0x157)]||[],_0x11a5ad[_0x18e6e8(0x242)](_0x4ef274,0x1),_0x443060);}else return _0x59e608[_0x18e6e8(0x348)](_0x43229a);},_0x105e8b=_0xc2da95&&_0xc2da95[_0x2548e5(0x354)]&&_0xc2da95[_0x2548e5(0x354)][_0x2548e5(0x157)]||[];return _0x11a5ad[_0x2548e5(0x32a)](_0x374d12,_0x105e8b,0x0,{}),_0x11a5ad[_0x2548e5(0x236)](sortRows,_0x98451a,_0x3fe1db['sort']),_0x98451a;}function getPath(_0x417662,_0xee6951){const _0x5a6e34=_0x305bfa;if(!_0x417662||!_0xee6951)return undefined;if(Object[_0x5a6e34(0x402)][_0x5a6e34(0x3b9)][_0x5a6e34(0x2aa)](_0x417662,_0xee6951))return _0x417662[_0xee6951];return _0xee6951['split']('.')['reduce']((_0x10427d,_0x273557)=>_0x10427d===null||_0x10427d===undefined?undefined:_0x10427d[_0x273557],_0x417662);}function toNumber(_0xc7449f){const _0x2f5704=_0x305bfa,_0x29c81b={'VdjSg':function(_0x41f65b,_0x16bf2a){return _0x41f65b===_0x16bf2a;},'BwbBU':function(_0x2e6b2d,_0x3090c4){return _0x2e6b2d===_0x3090c4;}};if(_0x29c81b[_0x2f5704(0x212)](_0xc7449f,null)||_0x29c81b[_0x2f5704(0x2ae)](_0xc7449f,undefined)||_0x29c81b['VdjSg'](_0xc7449f,''))return null;const _0x4dea10=Number(_0xc7449f);return Number[_0x2f5704(0x167)](_0x4dea10)?_0x4dea10:null;}const MAX_PAYLOAD_PARSE_LEN=0x100*0x400;function safeJsonParse(_0xb1a533){const _0x3b892d=_0x305bfa,_0x20a29e={'MYXCl':_0x3b892d(0x34e),'IXxHD':function(_0x20857b,_0x38fe3b){return _0x20857b!==_0x38fe3b;},'eoQTO':_0x3b892d(0x17c),'VhKmg':function(_0x30bd4b,_0x9a2db8){return _0x30bd4b>_0x9a2db8;},'gvjaN':function(_0x4eea0f,_0x9c68ff){return _0x4eea0f===_0x9c68ff;},'tIvGG':'object','NxpWo':function(_0x2d6202,_0x2db8e8){return _0x2d6202!==_0x2db8e8;},'ShtbN':'PcKXi','SvaYe':_0x3b892d(0x26d)};if(_0x20a29e[_0x3b892d(0x3d2)](typeof _0xb1a533,_0x20a29e[_0x3b892d(0x183)])||_0xb1a533['length']===0x0||_0x20a29e[_0x3b892d(0x326)](_0xb1a533[_0x3b892d(0x3cd)],MAX_PAYLOAD_PARSE_LEN))return null;try{const _0x3d4629=JSON['parse'](_0xb1a533);return _0x20a29e[_0x3b892d(0x3d2)](_0x3d4629,null)&&_0x20a29e[_0x3b892d(0x316)](typeof _0x3d4629,_0x20a29e[_0x3b892d(0x334)])?_0x3d4629:null;}catch{if(_0x20a29e[_0x3b892d(0x237)](_0x20a29e[_0x3b892d(0x36d)],_0x20a29e[_0x3b892d(0x38a)]))return null;else throw new _0x2580c9(_0x20a29e[_0x3b892d(0x34d)],_0x339909+_0x3b892d(0x16a),{'field':_0x73b729});}}function payloadValue(_0x1801ad,_0x271a45,_0x6020d6){const _0x3620c6=_0x305bfa,_0x439edf={'GwsTc':function(_0x382123,_0x5625e0){return _0x382123===_0x5625e0;},'AYGbR':function(_0x550bee,_0x1320a0){return _0x550bee(_0x1320a0);},'JjamD':function(_0x4163de,_0x49f535,_0x5f393d){return _0x4163de(_0x49f535,_0x5f393d);},'iWtyo':_0x3620c6(0x278),'FMfEm':'body.','YTdUs':function(_0x39a625,_0xd78ef2){return _0x39a625!==_0xd78ef2;},'LcsZC':_0x3620c6(0x31f),'pbOLl':function(_0x4dc332,_0x5b0aff){return _0x4dc332(_0x5b0aff);},'TfAqi':function(_0x4ee4f6,_0x5ab4c0,_0x976324){return _0x4ee4f6(_0x5ab4c0,_0x976324);},'kvAHk':'response.result','QCNsU':_0x3620c6(0x40b)};if(_0x439edf[_0x3620c6(0x207)](isBodyPath,_0x271a45)){if(_0x439edf[_0x3620c6(0x200)](_0x6020d6[_0x3620c6(0x3ca)],undefined))_0x6020d6[_0x3620c6(0x3ca)]=safeJsonParse(_0x439edf['JjamD'](getPath,_0x1801ad,_0x439edf[_0x3620c6(0x260)]));return _0x6020d6['body']?_0x439edf['JjamD'](getPath,_0x6020d6[_0x3620c6(0x3ca)],_0x271a45[_0x3620c6(0x190)](_0x439edf['FMfEm'][_0x3620c6(0x3cd)])):undefined;}if(_0x439edf[_0x3620c6(0x207)](isResponsePath,_0x271a45)){if(_0x439edf['YTdUs'](_0x439edf['LcsZC'],_0x3620c6(0x3d7))){if(_0x6020d6[_0x3620c6(0x2da)]===undefined)_0x6020d6[_0x3620c6(0x2da)]=_0x439edf[_0x3620c6(0x233)](safeJsonParse,_0x439edf[_0x3620c6(0x1d8)](getPath,_0x1801ad,_0x439edf[_0x3620c6(0x3dd)]));return _0x6020d6['response']?_0x439edf[_0x3620c6(0x213)](getPath,_0x6020d6[_0x3620c6(0x2da)],_0x271a45[_0x3620c6(0x190)](_0x439edf['QCNsU'][_0x3620c6(0x3cd)])):undefined;}else{if(_0x439edf[_0x3620c6(0x200)](_0x38c60e[_0x53e98c],'\x5c'))_0x3ecebc++;_0x483afb++;}}return undefined;}function flattenLeafPaths(_0x3d9834,_0x1e575a={}){const _0x128be4=_0x305bfa,_0x21db39={'inriV':function(_0x404f74,_0x473085){return _0x404f74!==_0x473085;},'seINo':function(_0x248896,_0xa2ddac){return _0x248896===_0xa2ddac;},'wNexa':function(_0x2fe07a,_0x5b3720){return _0x2fe07a<_0x5b3720;}},_0xc737ff=_0x1e575a[_0x128be4(0x1f9)]||0x6,_0x3df03a=[],_0x2977b1=(_0x154e2c,_0x22324c,_0x51b619)=>{const _0x33e853=_0x128be4;if(_0x21db39['inriV'](_0x154e2c,null)&&_0x21db39[_0x33e853(0x2d5)](typeof _0x154e2c,_0x33e853(0x3a5))&&!Array[_0x33e853(0x15c)](_0x154e2c)&&_0x21db39[_0x33e853(0x3bc)](_0x51b619,_0xc737ff))for(const _0x278f07 of Object[_0x33e853(0x312)](_0x154e2c)){if(!/^[A-Za-z0-9_][A-Za-z0-9_.-]*$/['test'](_0x278f07))continue;_0x2977b1(_0x154e2c[_0x278f07],_0x22324c?_0x22324c+'.'+_0x278f07:_0x278f07,_0x51b619+0x1);}else _0x22324c&&_0x3df03a['push'](_0x22324c);};return _0x2977b1(_0x3d9834,'',0x0),_0x3df03a;}function resolveScanValue(_0x17c70d,_0x47d835,_0x4b9aa1,_0x3d370c,_0x2b6b97){const _0x38a941=_0x305bfa,_0x5cff53={'miqIx':function(_0x1bf51e,_0x913147){return _0x1bf51e(_0x913147);},'VHfHw':function(_0x50a2c4,_0x4528e0,_0x7ed612,_0x1f8c1b){return _0x50a2c4(_0x4528e0,_0x7ed612,_0x1f8c1b);},'mmcbf':function(_0x67d30c,_0x46cf26,_0x399b30){return _0x67d30c(_0x46cf26,_0x399b30);}};if(_0x3d370c[_0x38a941(0x34a)](_0x47d835))return _0x4b9aa1[_0x47d835];if(_0x5cff53[_0x38a941(0x3d5)](isPayloadPath,_0x47d835))return _0x5cff53[_0x38a941(0x156)](payloadValue,_0x17c70d,_0x47d835,_0x2b6b97);return _0x5cff53[_0x38a941(0x391)](getPath,_0x17c70d,_0x47d835);}function evalPayloadClause(_0x32f63a,_0x10ee1c){const _0x547a01=_0x305bfa,_0x36acdc={'YrrBB':_0x547a01(0x330),'uVrwd':_0x547a01(0x1d0),'McQzT':function(_0x37266a,_0x3e41cb){return _0x37266a===_0x3e41cb;},'NUMfG':_0x547a01(0x17d),'mVhXR':function(_0x107381,_0x3e8cba){return _0x107381!==_0x3e8cba;},'jgWef':function(_0x4c5e02,_0x5c26ea){return _0x4c5e02===_0x5c26ea;},'UCEJj':function(_0x134069,_0x16d65c){return _0x134069(_0x16d65c);},'HhRDO':function(_0x5b8a0a,_0x1abc41){return _0x5b8a0a(_0x1abc41);},'jXIhd':function(_0x442e48,_0xa11c17){return _0x442e48(_0xa11c17);},'uhWBS':_0x547a01(0x225),'WEvZJ':function(_0x2820a7,_0x148f3b){return _0x2820a7===_0x148f3b;},'Jepmz':_0x547a01(0x2dd),'DRjlG':function(_0x581728,_0xba1735){return _0x581728===_0xba1735;},'USCjH':function(_0x54e33e,_0x50dc49){return _0x54e33e>=_0x50dc49;},'bkCQV':function(_0x441e9e,_0x253019){return _0x441e9e<_0x253019;}};if(_0x36acdc[_0x547a01(0x2bc)](_0x10ee1c[_0x547a01(0x390)],_0x36acdc[_0x547a01(0x2e9)]))return _0x32f63a!==undefined&&_0x36acdc[_0x547a01(0x39c)](_0x32f63a,null);if(_0x36acdc[_0x547a01(0x30e)](_0x32f63a,undefined)||_0x32f63a===null)return![];if(_0x10ee1c[_0x547a01(0x390)]==='in'){const _0x1ba7f5=(_0x10ee1c[_0x547a01(0x215)]||[])[_0x547a01(0x3e8)](_0x1671cf=>String(_0x1671cf)['toLowerCase']());return _0x1ba7f5[_0x547a01(0x3bf)](_0x36acdc[_0x547a01(0x373)](String,_0x32f63a)[_0x547a01(0x218)]());}switch(_0x10ee1c['cmp']){case'eq':return _0x36acdc[_0x547a01(0x2bc)](String(_0x32f63a)[_0x547a01(0x218)](),_0x36acdc[_0x547a01(0x1bf)](String,_0x10ee1c[_0x547a01(0x38d)])['toLowerCase']());case'ne':return String(_0x32f63a)[_0x547a01(0x218)]()!==_0x36acdc[_0x547a01(0x1bf)](String,_0x10ee1c[_0x547a01(0x38d)])[_0x547a01(0x218)]();case'contains':return _0x36acdc['jXIhd'](String,_0x32f63a)['toLowerCase']()[_0x547a01(0x3bf)](_0x36acdc['jXIhd'](String,_0x10ee1c[_0x547a01(0x38d)])[_0x547a01(0x218)]());case'gt':case _0x36acdc[_0x547a01(0x262)]:case'lt':case _0x547a01(0x2ec):{if(_0x36acdc[_0x547a01(0x2a8)](_0x36acdc['Jepmz'],_0x36acdc[_0x547a01(0x220)])){const _0x111248=_0x36acdc[_0x547a01(0x1bf)](Number,_0x32f63a),_0x3f136e=_0x36acdc['jXIhd'](Number,_0x10ee1c['value']);if(!Number[_0x547a01(0x167)](_0x111248)||!Number[_0x547a01(0x167)](_0x3f136e))return![];return _0x36acdc[_0x547a01(0x30e)](_0x10ee1c[_0x547a01(0x185)],'gt')?_0x111248>_0x3f136e:_0x36acdc[_0x547a01(0x28c)](_0x10ee1c[_0x547a01(0x185)],_0x36acdc[_0x547a01(0x262)])?_0x36acdc[_0x547a01(0x301)](_0x111248,_0x3f136e):_0x36acdc[_0x547a01(0x30e)](_0x10ee1c[_0x547a01(0x185)],'lt')?_0x36acdc[_0x547a01(0x151)](_0x111248,_0x3f136e):_0x111248<=_0x3f136e;}else throw new _0x5affeb(_0x36acdc[_0x547a01(0x2f7)],_0x36acdc[_0x547a01(0x39a)]);}default:return![];}}function _0x22a1(){const _0x2bc732=['AvHRqvC','DvzYD2q','ANjND3K','BvzOwfi','EunXqKy','s3ncv3e','weLHzwK','EwzhAfa','BMfTzq','nZK3otrpDM9eAum','CNfSEuS','CMvWBgfJzq','B2jQzwn0','qKXMCw0','r1Hqv3m','sLnKEgq','uefxCMu','Aw5KzxHpzG','qxveEuK','rMvisw4','ww1ArhK','Cgf0DgvYBG','y29UDmoPBsaOFIKGBSoJBYbZzsbHCgXPy2eGysbJyw1WBYbUDw3dQxjPy28VDgvTCg86ia','CgLZsve','rw5Hruy','C3rHDhvZq29Kzq','AxLUwxm','rwDnqLi','mJi3ndv2qvbKzey','DxbWzxi','Ag9ZDc5RzxL3B3jK','rgXpsMy','AgfZt3DUuhjVCgvYDhK','D01VEKi','zhvYyxrPB24','D05LEge','zg9Jx2nVDw50','t2vgweW','Aw5JBhvKzxm','nxWXFdn8nhWWFdi','iokaLcb1C2uGy2fTCg9Zig51BCoPCMLJB3m','EfHprLe','tLPWDgy','zxHLyW','A01NyNa','rKz3v3K','zxnWzxjHzg8GiG','AgHwAwm','u2L5vKS','yM9KEq','qvf4vxi','te5sq2C','BgvUz3rO','zgPxuhu','BLLNCey','C3rHCNq','sLr0v2K','svH4seq','yKvktwe','zgLTCW','BwLXsxG','AfvHs1q','ufPtuuO','A2LUzc5RzxL3B3jK','u0HKCha','Dvnxqxm','Dg9Rzw4GAw5LC3bLCMfKBYbUBYb3AgvYztOGiG','B3bLCMfKB3iGzgvZy29UAgvJAwrVoIa','A3zbsgS','rgTJDxm','zMXVD0LKlMTLExDVCMq','BMv6CwK','sw1dEMi','EeP1Dei','uK1OBeK','vfrvDK4','wgzYswC','Bwv0CMLJugf0Aa','y2z6wu0','BwfW','BgfUz3vHz2u','zvnqCvm','CKHmvK8','ywDNCW','yvPrEe4','Bwf4','AwPktuC','wg5guNe','kc4UlIKGBSoJBYbZzsbHCgXPy2eGysa','sKHLyxu','y2n2EvK','CvPSqKG','zhfUCgG','qwvJwKi','rg5eBxq','DxPZAgq','EhrcAhy','z3jVDxbIEsGUlI4PihzHEMLV','Ag5kvha','AK1qq1G','wxfpEui','q0HQyu4','C2vYDMLJzs5KzxnJCMLWDgLVBG','yw5K','zxHJzxb0Aw9UlM1LC3nHz2u','ChjVDg90ExbL','rhnSrxjYB3i','DKXdrKC','rLLWz3y','AgDRDxm','EKTZque','BK9zENa','t3HdBe0','re1HEe0','CMvZCg9UC2uU','C291CMnL','tKTXzMm','zLrnqwu','tMLowMW','C1LSC04','sMfStu4','q251Dhq','DhLWzs5RzxL3B3jK','BwvZC2fNzs5RzxL3B3jK','uxHbuwm','sMPKvMe','CfDREfe','tLHsD1C','whnICLe','DMfSB3iGBNvTW6LYAwnVigLUDSoHBgLKBYbWyxjHia','sLjvC1C','thfxtKW','nJC0nJGYu0Pst1Ho','ufLYuLm','uvP6vK8','yMTduvy','uNr3DfK','u25YEeK','yLjJwxC','vKDyq0y','vKHMshC','yNvJA2v0CW','t21IDg0','ysbXDwvYEsbKzxzLignVBwxdP2fYignVBsb3AgvYzsGUlI4P','yM9VBa','otuUma','AxnbCNjHEq','r2XAz1C','rMj4EK0','twveuhu','DMrwBvq','wevMzM0','zMLSDgvY','BeLVBLa','EMnbs2y','ugv1swy','q0nireG','AxngAw5PDgu','DvjPv1C','rKrbtgi','igfJzwL0ysbHCgvUyxmGCMfUz2vZicG+lca+psWGpcWGpd0P','ANjpt2i','Bgf0zw5JEu1Z','icH1C2uGyxnJFgrLC2mP','BuH0qLO','rLPIEhy','rgvIAee','BNvjrxu','AM9PBG','tu1Syxu','seHOzwS','tNjUAvu','icH1C2uGBg9NC3XYzxf1zxn0C3XZCgfUC3X0CMfJzxn8Bwv0CMLJCYK','yxnWyxmGBSoJBYbMzwnOywrHCYbUBYb3AgvYzq','y0zrvKW','BvvlEhm','BxvYC3q','veHZzMC','C3rYAw5N','zxHPC3rZ','yxnJ','CMvNzxGGBxvPDg8GBg9Uz2e','ugntD3K','CKj4ruS','Bgv2zwW','zw9rve8','nJi0oty3mNnMrLncCq','y21W','D2HLCMu','Bwv0CMLJ','B2joyxG','AKLirKm','DxvPzc5RzxL3B3jK','sfbtuMK','zMXVD0LK','B3jKzxi','wM9ksKC','uuDQuNe','C2XPy2u','CxPrs2G','z0jzDLe','C21tqwK','vwXws0S','zhjwEvi','AKvwruG','CgfYW6PUDgvZzxmGBSoJBYbIywXHBMnLywrVCYbLBsb3AgvYzsGUlI4P','rfvPrvG','y1jUq1a','C3bSAxq','CMvNzxGGBSoJBYddQsbZDxbVCNrHzgeGBM8Gzgf0yxnLDca','C3PWr2C','zMvxz2W','C29Tzq','Du9nugG','zxjYB3jdB2rL','yNzQBvO','DgvYBxm','Dg5utNm','DxvPza','uMPQzvC','tKflEMW','zwfbu1a','DNDHtgC','Bwv0CMLJCW','CMfUz2vHyMXL','Egzxuwe','vxnRtue','kf58w15blvPHlxOWltLFxsK','uK1hB3q','Ag9ZDa','A2v5D29YzfbHDgG','tfnTwuq','Aw5MBW','CMvhz0S','vK5msei','yMfYCMeGzguGCMvNzxGGBSoJBYbMzwnOywrHig5VihDOzxjL','wKnoyLi','tfLgyvK','CMvWzwf0','zMDtuMu','kc4UlIK','yuXxwMO','A21Ht0W','s2zZCwy','Aw5KzxG','sgHsre8','quPzsgu','BgfZDeLUzgv4','wgXbBMi','z05SyNm','rvrpvKO','y2fSy3vSyxrL','AM9bz0S','D29xtwq','C2vYDMLJzs5Uyw1LxJi','ExDHsNq','zNPuAwG','s1DNsxC','quPfBeW','zM9YrwfJAa','Du1Zrui','y2HPBgq','y29UDgfPBNmOlI4UksbZW7mGW6KGC3vWB3j0ywrVigvTignSW6f1C3vSyxmGqu5eigrLihrVCg8GkhnLBsbpuI9ot1qP','Dg9Rzw4GAw5LC3bLCMfKBYbHCmoZCYb3AgvYzsGUlI4PoIaI','reTlBfG','uMPZvLy','yLnYrNe','CMvKDwnL','DgLTzuzPzwXK','thnYDva','vgzbCwK','ChvZAa','BNnlA1e','EvfIyNu','y2XPzw50swq','tgvbC3i','D01YzKu','mte2nJi4EenwwwH1','y2fTCg8GBSoJBYbWzxjTAxrPzg86ia','v2rHsMC','ChjSr00','shLUtNq','C2vYDMLJzq','y1rvwKu','zxnArgi','zM54D0m','rxL0u0W','v1Dhrw4','yxzN','zwXHChnLze1Z','sM1Hzha','CxDwzw8','BNHAuvG','zfzUy1q','AxfwBfG','CgHYyxnL','zwjAse0','Dw5PDa','ENv4wxi','qhrPBwvZDgfTCa','zfDTyNa','z3Pfwgy','AuHAtLu','Bwf4rgvWDgG','CdK1','CMvXDwvZDeLK','wMzqCgW','s09eD20','EvHrBeK','kd88','r3DZvgm','vujHAeu','wu5oENq','tuT5seu','qMr5rMW','C3bHBNm','v2r2Afa','qvLhyLi','C0rKuwW','uNzovMq','zhvYyxrPB25nCW','DgTcz08','BwLU','C2vYDMLJzs5RzxL3B3jK','vMPrrNy','zgDjBhC','A25VD24','CMvXDwvZDhm','vMrQu2C','sMPHBuq','y291BNq','DMfSDwvZ','AgfZrxjYB3i','B1flreu','Dg9mB3DLCKnHC2u','BwvZC2fNzq','z0PUz2G','EKzbqNm','Bg9NCW','tvbewLO','CMvZCg9UC2vtAxPL','tu1LCva','sMvWBxO','CMvXDwvZDc5ZB2nRzxqUCMvTB3rLqwrKCMvZCY5RzxL3B3jK','wKDPDeG','y29UDgfPBNmOlI4UksbZW7mGW6KGC3vWB3j0ywrVig5VigrHDgfZzxqGDhjHy2vZicHYzwnLyMLKBZOG','rNb0s3u','z3rL','uhPOvLq','lMTLExDVCMq','tKnNCKG','ENDurxq','tgDUEwq','Bgrfq3G','C2vYDMLJzs5Uyw1LlMTLExDVCMq','y29YCMvSyxrPB25jzc5RzxL3B3jK','tNj2s1C','C2HMy2m','BNvTzxjPyW','ihjLz2v4zxmGBM8GD2HLCMu','zNjUuxm','CgjptgW','y0rjBKG','z29fzva','ANbPsK4','tNHWv28','EeT4sfm','swj0ufK','whnJzLG','ywDNugf0Aa','yNDerMu','CMvXDwvZDeLKlMTLExDVCMq','BgLZDgeGAw4OlI4Uksb2yxPPyq','DgLTzxjZlMr1CMf0Aw9U','zxH0CMfJDgvK','txnJAfO','qLLRBem','q1bYEhC','ueL4r3u','y2fTCg8GBSoJBYbWzxjTAxrPzg8Gzw0Gz3jVDxbIEtOG','De53zK4','z0zRz00','whj6ENm','B1vyzLu','uvLjsuG','rhDfBw8','vMHqsMC','sNPhsxe','yMDSq2y','v2vYtvK','wgvcB0C','DgLTzxjZ','zw52AxjVBM1LBNq','B1L2ENC','qKHlv0O','B09iyvi','sLzLqwS','sxzqC2y','x3nVDxjJzq','DhLWzq','CMvZCg9UC2uUC3rHDhvZq29Kzq','sKHMD3u','Dgv4Da','Dg5csuW','DMTJs1e','DMvYC2LVBG','AvD0Ew8','D1Dtr0C','DwHxqLm','CMrYz04','D3nhwNe','zw5K','Awr4','rKLwC0W','Ahr0Ce1LDgHVza','vwLXu3O','zuftB0y','C2vYDMLJzs5Uyw1L','yxnZAwDU','BNPutNG','q2fNyMS','mJDUwfnQAhy','t2rzsM4','q3D5wxq','rwTwBwW','BfHuDNO','C3vI','DwftqNK','C3bHBKLKlMTLExDVCMq','BCoHEgLTBYbKzsa','CMvXDwvZDc5IB2r5','EwzRuKi','zMntzva','sfnes3m','CdK5','zw52lMTLExDVCMq','uwP6AxG','AKfxyvu','B2LuueS','Dg9VAW','B2LVwhm','CfjSDu8','sLnZs0m','s3bdwgC','tK1ZsfO','ELDVBMi','A2v5D29Yza','z2f0zxDHEuLKlMTLExDVCMq','vfDOtwq','Ahr0Cfn0yxr1CW','rfjQBeC','BM90','zMXVB3i','BKLfsNe','y29UDgfPBNm','yMjLywu','r01LwNK','tKTjC0K','wen6yw0','AgnYrum','BNPHBKq','uMjHsxK','C1PTwLi','mZa0nZfTyMLMzhq','CgfYW6PUDgvZzsbMzwnOyw5KBYbZzw0GB3bLCMfUzg8','CMvNzxG','B3Dhrxu','DMvYC2LVBI5RzxL3B3jK','sw5hsu0','vuf5ywy','C3vT','qwPbCwO','zeHirKW','A3D2qMK','Cgf0Aa','sufozuK','ENzUqwC','suzksNu','v0v2wKO','y1z0wxG','y2fSBa','CMvXDwvZDc5TzxrOB2q','sNzcDwO','vvHKEMi','qNDIqLu','CxbAz0C','ENrtA0G','tM91AgC','y2nQAM8','sLvyzMK','u0fLAu0','y1r4CNC','ywDnweu','DwLfALG','C29YDcbPBNBdOwXPzg86ia','s2Drz3y','BNjjuuu','DgLTzxjZlMzPBMLZAgvKlMf0','twnrELq','DgHYzwfK','nZqYndi3mfD4CLD2vW','mJj2D1PHsK0','v0vzENu','C2v0','wxfhEMi','q0zdEeW','z2Tksg0','z3jVDxbIEu9R','EwDbBMC','C29YDa','ruvyDLa','y2L2vgy','CMvZCg9UC2uUCMvZDwX0','y2HPBgrYzw4','Dw5PDc5RzxL3B3jK','Dg9R','yw1nz2m','yNL0zxm','ww9kzhC','BevmvLu','zgf0yxnLDa','B3bLCMfUzg8GyxvZzw50zsbUBYb3AgvYzq','zMXHz3m','C2vjtM8','zxHJzxb0Aw9UvhLWzq','DgvYBq','DhjHy2vjzc5RzxL3B3jK','uxbRAu4','CMvZCg9UC2u','vxrvDuW','C2vYDMLJzu5HBwu','t01juue','CMvXDwvZDc51CMWUCgf0Aa','CuHYt3G','s2XIqxq','zw50CMLLCW','zwTPEgO','yK9WEK0','wwPLtwO','vNLUzKK','qw5sqNi','wwzOCeu','y2XPzw50swqUA2v5D29Yza','tLvnzKC','mtuWC2zwzMPX','wK9dvKy','BhrL','DgngChC','BvrYt3q','qw5yreu','AhrvCwe','uNnPsNO','zgvZyW','DhjHy2vZ','DMfSB3iGyxvZzw50zsbLBsaI','wMriqMq','zKvxCvu','wxjYqKi','D0PwA3G','tMjSDwG','zxbSswC','zxHPC3rZugf0Aa','wLLbEem','AgTft3e','tvHyrum','ELDWAwC','yLLMDgy','vvndAKG','ywrK','DhjHy2vjza','y29UDgvUDeXLBMD0Aa','wfD5t2K','CKfqz3q','AuXyvfe','v2fxDu8','y1vesuq','iIbUBYb3AgvYzq','BxjNALe','whHrr1q','DSoTCMD1BgeGzM9YysbKzsb1BweGBgLZDgeGAw4OlI4Ukq','AMDxzwy','C3bHBKLK','wujAAg0','y01VCwy','A2v5CW','ENjUwhe','qxvYBvi','uNLtzwO','z3zQyu4','z2f0zxDHEuLK','y29Lzee','t1HJz3G','DLjtv00','terxvuW','BgHltg8','BgfUz3vHz2uUA2v5D29Yza','DuTrr0y','ueTptgu','AgrMr3C','AxfuzMe','zgf0yxnLDcbKzxnJB25OzwnPzg86ia','t3LNCvm','wMjRwgy','r3HoBwW','vMHlBwC','Ahr0Cfn0yxr1C0nVzgu','wufntxm','qvP3BNa','EgT1y1u','zvjXzuu','vwrQrw0','vLHRuhK','wMPnuNi','teTfq0i','BwfSzM9YBwvK','zw5zyMS','t0zmwgS','ywnjEhC','DeL2r0C','yxbStuy','sxHJBLy','tu1juee','zw9yDwy','vhPjD2G','CMvZCg9UC2vuAw1L','otKUma','zw5KC1DPDgG','zNvUW6FdO28GzguGBCoPDhjPy2eGzgvZy29UAgvJAwrHoIa','D29Yza','CMvXDwvZDc5IB2r5lMTLExDVCMq','y3rKAwC','Bg9Nz2vY','t2DKvuW','DgLTzxn0yw1W','z2f0zxDHEvnLCNzPy2u','revnv0e','y29Kzq','qur0zvm','DgvZDa','yw92vfK','AgfZ','Aunyy3y','DhjPBq','tvLyq2W','zMLLBgq','t0nXwuO','zxHWB3j0CW','sNHOvKu','vefhyvu','BCoPDhjPy2eGAw52W6fSAwrHoIa','z3jVDxbZ','BhHWyLq','ugL3C0m','yM5urKC','C3n5ELa','y1rmqva','tKz6Dhq','tvb1zuG','CeXnB0G','zgf0zq','BLbXyuK','zxjYB3juExbL','CgfYzw50u3bHBKLKlMTLExDVCMq','t2DIAhK','z3jVDxbIEq','Dg12uxy','CeTTvg8','EM5Zz0K','Ehn4ChG','v3H1q2K','zxHWCG','qNP1s00','vunsA1O','v0DcyLq','vw55zuS','u2H0yK4','wMPHuNO','AuX1q2O','Bwv0Ag9K','AvzRAe8','y29YCMvSyxrPB25jza','vunfsMO','CMvXDwvZDc51CMWUCgf0Ac5RzxL3B3jK','BvHiy0q','wNPowKi','rfHWELy','uhHiBvC','sur4qxa','vwjtvvm','y1HACxi','BMfTzs5RzxL3B3jK','Ew93vNi','qK5xvNe','mte2r01uAK1f','Ag9ZDg5HBwu','CunMs2e','CxH2Dfi','y2vPBa','ru9XrLq','zw52','C2rbswy','q1HSDgy','CgfYzw50u3bHBKLK','wK53rfe','u3zHwwu','CMv0BKK','CeTKD2e','DMfSDwu','txDWD0q','D0fQCuq','A2LUza','Bw1JyMy','tuD1BNq','CMfUz2uGkd4SidWPig7dO28GC3vWB3j0ywrVihbHCMeG','CgfYW6PUDgvZzxmGBSoJBYbIywXHBMnLywrVCYbLBsa','CxvLCNKGzxHJzwrLig8GDgfTyw5OBYbTW6f4Aw1V','uLrfv2K','qMPNAxi','txfXtK0'];_0x22a1=function(){return _0x2bc732;};return _0x22a1();}function evalPayloadFilters(_0x13fbbd,_0x2576dc,_0x557e30){const _0x5a604a=_0x305bfa,_0x4179be={'MMeqP':function(_0x105dc1,_0x2e4fa4){return _0x105dc1===_0x2e4fa4;},'ZzNZB':function(_0x370df2,_0x568bb2,_0xdac795,_0x1a4070){return _0x370df2(_0x568bb2,_0xdac795,_0x1a4070);}};if(!_0x2576dc||_0x4179be[_0x5a604a(0x21f)](_0x2576dc[_0x5a604a(0x3cd)],0x0))return!![];for(const _0x587760 of _0x2576dc){const _0x41ff70=_0x4179be[_0x5a604a(0x376)](payloadValue,_0x13fbbd,_0x587760[_0x5a604a(0x34e)],_0x557e30);if(!evalPayloadClause(_0x41ff70,_0x587760))return![];}return!![];}function extractFromDoc(_0x68eb31,_0x34d62c){const _0x48b2c0=_0x305bfa,_0xb88bc6={'jrOOb':function(_0xedc6,_0xddda1a){return _0xedc6!==_0xddda1a;},'tkBgO':function(_0x1a8412,_0x139892){return _0x1a8412===_0x139892;},'tFzuh':_0x48b2c0(0x17c),'WGBbT':_0x48b2c0(0x2b2),'ZjaRz':_0x48b2c0(0x235),'Ombtm':function(_0x45b809,_0x2c3d89){return _0x45b809!==_0x2c3d89;}},_0xdfab49=_0xb88bc6['tkBgO'](typeof(_0x68eb31&&_0x68eb31[_0x48b2c0(0x219)]),_0xb88bc6['tFzuh'])?_0x68eb31[_0x48b2c0(0x219)]:'',_0x7eab30={};for(const {regex:_0x38e3a4}of _0x34d62c){if(_0xb88bc6[_0x48b2c0(0x20b)](_0xb88bc6[_0x48b2c0(0x36b)],_0x48b2c0(0x1a3))){_0x3a48ab['lastIndex']=0x0;const _0x204c28=_0x362b2d[_0x48b2c0(0x3c4)](_0x4b9099);if(!_0x204c28)return{'ok':![],'extracted':_0xbdbd4f};if(_0x204c28[_0x48b2c0(0x354)])for(const [_0x2b1bde,_0x53a6fd]of _0xfed0f7['entries'](_0x204c28[_0x48b2c0(0x354)])){if(_0xb88bc6[_0x48b2c0(0x16b)](_0x53a6fd,_0x5573c2))_0x115846[_0x2b1bde]=_0x53a6fd;}}else{_0x38e3a4[_0x48b2c0(0x1c1)]=0x0;const _0x45a2ce=_0x38e3a4[_0x48b2c0(0x3c4)](_0xdfab49);if(!_0x45a2ce)return{'ok':![],'extracted':_0x7eab30};if(_0x45a2ce['groups']){if('goEeP'!==_0xb88bc6[_0x48b2c0(0x36e)])return{'exists':{'field':_0x40c934['existsPath']||_0x1ede6d[_0x48b2c0(0x34e)]}};else for(const [_0x5c487f,_0x14d1a5]of Object[_0x48b2c0(0x2e1)](_0x45a2ce[_0x48b2c0(0x354)])){if(_0xb88bc6[_0x48b2c0(0x158)](_0x14d1a5,undefined))_0x7eab30[_0x5c487f]=_0x14d1a5;}}}}return{'ok':!![],'extracted':_0x7eab30};}function percentile(_0x556c0e,_0x33358e){const _0x42f7f2=_0x305bfa,_0xafb003={'vRSWM':function(_0x211a42,_0x157b74){return _0x211a42===_0x157b74;},'CPrxw':function(_0xecf4e8,_0x536b21){return _0xecf4e8*_0x536b21;},'dVncT':function(_0x4fe1b6,_0x14748){return _0x4fe1b6/_0x14748;},'djWPu':function(_0x3961e0,_0x3e810a){return _0x3961e0===_0x3e810a;},'RtwtY':function(_0x4b452f,_0x2d3c45){return _0x4b452f+_0x2d3c45;},'HKfIA':function(_0x37fe87,_0x43adef){return _0x37fe87*_0x43adef;},'JSdxd':function(_0x354dca,_0x146fc6){return _0x354dca-_0x146fc6;}};if(_0xafb003['vRSWM'](_0x556c0e[_0x42f7f2(0x3cd)],0x0))return null;if(_0xafb003[_0x42f7f2(0x31a)](_0x556c0e['length'],0x1))return _0x556c0e[0x0];const _0x37ea91=_0xafb003[_0x42f7f2(0x243)](_0xafb003[_0x42f7f2(0x1ef)](_0x33358e,0x64),_0x556c0e[_0x42f7f2(0x3cd)]-0x1),_0x468f37=Math[_0x42f7f2(0x28e)](_0x37ea91),_0x31b180=Math[_0x42f7f2(0x383)](_0x37ea91);if(_0xafb003[_0x42f7f2(0x3ce)](_0x468f37,_0x31b180))return _0x556c0e[_0x468f37];return _0xafb003[_0x42f7f2(0x152)](_0x556c0e[_0x468f37],_0xafb003['HKfIA'](_0xafb003[_0x42f7f2(0x3a8)](_0x556c0e[_0x31b180],_0x556c0e[_0x468f37]),_0x37ea91-_0x468f37));}function finalizeMetric(_0x52c218,_0x33bfba){const _0x37cb17=_0x305bfa,_0x1aad77={'dgIlw':_0x37cb17(0x2a0),'QZzVO':function(_0x4d5721,_0xa279d4){return _0x4d5721===_0xa279d4;},'wMozB':_0x37cb17(0x1ea),'VXkPy':function(_0x518cee,_0x20ee1a){return _0x518cee/_0x20ee1a;},'sDdQl':function(_0x4d8b6e,_0x43cc04){return _0x4d8b6e===_0x43cc04;},'yfGhP':_0x37cb17(0x20c),'bSrFq':function(_0xce6c55,_0xe76c0){return _0xce6c55===_0xe76c0;},'mNdlb':'max','IxcnV':'p95','hhVic':function(_0xc056f6,_0x1beb9d){return _0xc056f6===_0x1beb9d;},'bDBmm':'p99','XWyOi':function(_0x309769,_0x46574e,_0x3c311e){return _0x309769(_0x46574e,_0x3c311e);}};if(_0x33bfba[_0x37cb17(0x3cd)]===0x0)return null;if(_0x52c218===_0x1aad77[_0x37cb17(0x20f)])return _0x33bfba[_0x37cb17(0x1d5)]((_0x34d26c,_0xace588)=>_0x34d26c+_0xace588,0x0);if(_0x1aad77[_0x37cb17(0x150)](_0x52c218,_0x1aad77[_0x37cb17(0x3ba)]))return _0x1aad77[_0x37cb17(0x32d)](_0x33bfba[_0x37cb17(0x1d5)]((_0x3237b5,_0x399f3a)=>_0x3237b5+_0x399f3a,0x0),_0x33bfba[_0x37cb17(0x3cd)]);if(_0x1aad77[_0x37cb17(0x208)](_0x52c218,_0x1aad77[_0x37cb17(0x3a0)]))return Math[_0x37cb17(0x20c)](..._0x33bfba);if(_0x1aad77[_0x37cb17(0x1d4)](_0x52c218,_0x1aad77['mNdlb']))return Math[_0x37cb17(0x3ee)](..._0x33bfba);const _0x18ce42=_0x33bfba[_0x37cb17(0x190)]()['sort']((_0x4ae566,_0x3e314a)=>_0x4ae566-_0x3e314a);if(_0x52c218===_0x1aad77[_0x37cb17(0x336)])return percentile(_0x18ce42,0x5f);if(_0x1aad77[_0x37cb17(0x3c8)](_0x52c218,_0x1aad77['bDBmm']))return _0x1aad77[_0x37cb17(0x305)](percentile,_0x18ce42,0x63);return null;}function metricLabel(_0x59df2a){const _0x314533=_0x305bfa,_0x44d040={'znsgI':function(_0x2a3587,_0x2697da){return _0x2a3587===_0x2697da;},'xfWQa':_0x314533(0x214)};return _0x44d040[_0x314533(0x365)](_0x59df2a[_0x314533(0x259)],_0x44d040[_0x314533(0x1ab)])?_0x44d040['xfWQa']:_0x59df2a[_0x314533(0x259)]+'('+_0x59df2a[_0x314533(0x34e)]+')';}function aggregateServerSide(_0x494bc7,_0x101466){const _0x226022=_0x305bfa,_0x4a30ba={'CHjaN':function(_0x115f47){return _0x115f47();},'zrnXq':function(_0x2ca395,_0x1678a4,_0x12771e){return _0x2ca395(_0x1678a4,_0x12771e);},'BzuKM':function(_0x150551,_0x362edd,_0x2da183,_0x2bd215){return _0x150551(_0x362edd,_0x2da183,_0x2bd215);},'XlAnb':function(_0x5070ea,_0x5972a7){return _0x5070ea!==_0x5972a7;},'uaSBy':'OQywB','LKECB':function(_0xcfb266,_0x3c959b){return _0xcfb266===_0x3c959b;},'AJYHe':function(_0x1176fa,_0x149fa9){return _0x1176fa===_0x149fa9;},'PzhVT':_0x226022(0x214),'DebhA':function(_0x3f385a,_0x3e76d8){return _0x3f385a(_0x3e76d8);},'mTrOt':function(_0x24a12e,_0x2af0dc){return _0x24a12e===_0x2af0dc;},'qPZsr':function(_0x4f3b5c,_0x53a7d3,_0x4a121c){return _0x4f3b5c(_0x53a7d3,_0x4a121c);}},{groupby:_0x304ee0,calculate:_0x1c1674,regexes:_0x13ee57,extracted:_0x112335,payloadFilters:_0x311ba2}=_0x101466,_0x2568a1=new Map();let _0x4d126a=0x0;for(const _0x5c25ea of _0x494bc7){const _0xfd2e13=_0x5c25ea&&_0x5c25ea[_0x226022(0x258)]||{},{ok:_0xca83c7,extracted:_0x32ce20}=_0x4a30ba[_0x226022(0x313)](extractFromDoc,_0xfd2e13,_0x13ee57);if(!_0xca83c7)continue;const _0x30fe0b={};if(!_0x4a30ba[_0x226022(0x369)](evalPayloadFilters,_0xfd2e13,_0x311ba2,_0x30fe0b))continue;_0x4d126a++;const _0x573b4d=[];let _0x4e7c06=![];for(const _0x2e2673 of _0x304ee0){if(_0x4a30ba[_0x226022(0x1c2)](_0x4a30ba[_0x226022(0x275)],_0x4a30ba[_0x226022(0x275)])){const _0x278268=_0x4426b0[_0x47e1d0];return _0x278268?_0x278268[_0x226022(0x1b0)]||_0x278268[_0x226022(0x2a4)]:_0x46bd82;}else{const _0x1e66bb=resolveScanValue(_0xfd2e13,_0x2e2673,_0x32ce20,_0x112335,_0x30fe0b);if(_0x4a30ba[_0x226022(0x32f)](_0x1e66bb,undefined)||_0x4a30ba[_0x226022(0x1c0)](_0x1e66bb,null)||_0x4a30ba[_0x226022(0x32f)](_0x1e66bb,'')){_0x4e7c06=!![];break;}_0x573b4d['push'](String(_0x1e66bb));}}if(_0x4e7c06)continue;const _0x2c2e77=_0x573b4d[_0x226022(0x172)]('\x00');let _0x475fb7=_0x2568a1['get'](_0x2c2e77);if(!_0x475fb7){const _0x51f607={};_0x304ee0[_0x226022(0x1cd)]((_0x1c4164,_0x312e84)=>{_0x51f607[_0x1c4164]=_0x573b4d[_0x312e84];}),_0x475fb7={'dims':_0x51f607,'count':0x0,'values':[]},_0x2568a1[_0x226022(0x2c1)](_0x2c2e77,_0x475fb7);}_0x475fb7[_0x226022(0x214)]++;if(_0x1c1674[_0x226022(0x259)]!==_0x4a30ba[_0x226022(0x226)]){const _0x36df14=resolveScanValue(_0xfd2e13,_0x1c1674[_0x226022(0x34e)],_0x32ce20,_0x112335,_0x30fe0b),_0x4334f7=_0x4a30ba[_0x226022(0x170)](toNumber,_0x36df14);if(_0x4334f7!==null)_0x475fb7[_0x226022(0x215)][_0x226022(0x1d9)](_0x4334f7);}}const _0x1a8132=[];for(const _0x11a1e2 of _0x2568a1[_0x226022(0x215)]()){if(_0x4a30ba[_0x226022(0x32f)](_0x226022(0x1ee),_0x226022(0x2f6))){const _0x546d67=[_0x4a30ba[_0x226022(0x3fe)](_0x31860c)];while(_0x4a30ba[_0x226022(0x313)](_0x12aab7,_0x5886c8(),/^or$/i)){_0x505492++,_0x546d67['push'](_0x4a30ba[_0x226022(0x3fe)](_0x56c0f5));}return _0x546d67[_0x226022(0x3cd)]===0x1?_0x546d67[0x0]:{'op':'or','children':_0x546d67};}else{const _0x24aabc=_0x4a30ba[_0x226022(0x2ee)](_0x1c1674[_0x226022(0x259)],_0x4a30ba['PzhVT'])?_0x11a1e2[_0x226022(0x214)]:_0x4a30ba[_0x226022(0x313)](finalizeMetric,_0x1c1674['type'],_0x11a1e2['values']);_0x1a8132[_0x226022(0x1d9)](Object[_0x226022(0x26c)]({},_0x11a1e2[_0x226022(0x3d4)],{'value':_0x24aabc}));}}return _0x4a30ba['qPZsr'](sortRows,_0x1a8132,_0x101466['sort']),{'rows':_0x1a8132,'matched':_0x4d126a};}function sortRows(_0x3b971f,_0x578e21){const _0x32ebf9=_0x305bfa,_0x5a49d0={'LmjVv':function(_0x48ade8,_0x554a24){return _0x48ade8===_0x554a24;},'RjjeW':function(_0x4e0128,_0x4811aa){return _0x4e0128===_0x4811aa;},'JxhVE':function(_0x239622,_0x51b0b8){return _0x239622===_0x51b0b8;},'murst':function(_0x17beba,_0x2f5e38){return _0x17beba<_0x2f5e38;},'ebZHM':_0x32ebf9(0x17e)},_0x4e46f5=_0x578e21===_0x5a49d0[_0x32ebf9(0x1f2)]?0x1:-0x1;_0x3b971f[_0x32ebf9(0x2c7)]((_0x2a9142,_0x30f5d5)=>{const _0x2726e2=_0x32ebf9,_0x2f42c9=_0x5a49d0['LmjVv'](_0x2a9142[_0x2726e2(0x38d)],null)||_0x5a49d0[_0x2726e2(0x1a5)](_0x2a9142[_0x2726e2(0x38d)],undefined)?-Infinity:_0x2a9142[_0x2726e2(0x38d)],_0x41667b=_0x5a49d0[_0x2726e2(0x351)](_0x30f5d5['value'],null)||_0x5a49d0[_0x2726e2(0x351)](_0x30f5d5[_0x2726e2(0x38d)],undefined)?-Infinity:_0x30f5d5[_0x2726e2(0x38d)];if(_0x5a49d0[_0x2726e2(0x351)](_0x2f42c9,_0x41667b))return 0x0;return _0x5a49d0[_0x2726e2(0x17a)](_0x2f42c9,_0x41667b)?-_0x4e46f5:_0x4e46f5;});}module[_0x305bfa(0x350)]={'MAX_QUERY_LEN':MAX_QUERY_LEN,'MAX_REGEXES':MAX_REGEXES,'MAX_SCAN_DOCS':MAX_SCAN_DOCS,'TERMS_CAP':TERMS_CAP,'DEFAULT_HIT_SIZE':DEFAULT_HIT_SIZE,'MAX_HIT_SIZE':MAX_HIT_SIZE,'TIME_FIELD':TIME_FIELD,'LOG_FIELD_ALLOWLIST':LOG_FIELD_ALLOWLIST,'LOG_NUMERIC_FIELDS':LOG_NUMERIC_FIELDS,'METRIC_FUNCS':METRIC_FUNCS,'DslError':DslError,'parseQuery':parseQuery,'parseCalculate':parseCalculate,'normalizeRegexSource':normalizeRegexSource,'buildOpenSearchQuery':buildOpenSearchQuery,'compileWhere':compileWhere,'timeFieldFor':timeFieldFor,'aggPathFor':aggPathFor,'extractContains':extractContains,'compileAstFor':compileAstFor,'REQUESTS_HITS_SOURCE':REQUESTS_HITS_SOURCE,'clauseToOpenSearch':clauseToOpenSearch,'sourceFieldsFor':sourceFieldsFor,'metricLabel':metricLabel,'buildTermsAgg':buildTermsAgg,'parseTermsAgg':parseTermsAgg,'metricSubAgg':metricSubAgg,'readNativeMetric':readNativeMetric,'extractFromDoc':extractFromDoc,'aggregateServerSide':aggregateServerSide,'sortRows':sortRows,'finalizeMetric':finalizeMetric,'percentile':percentile,'getPath':getPath,'isBodyPath':isBodyPath,'isResponsePath':isResponsePath,'isPayloadPath':isPayloadPath,'safeJsonParse':safeJsonParse,'payloadValue':payloadValue,'evalPayloadFilters':evalPayloadFilters,'flattenLeafPaths':flattenLeafPaths};