heimdall-api-platform 3.16.0 → 3.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/README.md +8 -4
  2. package/dist/lib/clients/http-client.js +1 -1
  3. package/dist/lib/environment.js +1 -1
  4. package/dist/lib/factory/api-gateway.js +1 -1
  5. package/dist/lib/factory/client-factory.js +1 -1
  6. package/dist/lib/factory/function-factory.js +1 -1
  7. package/dist/lib/factory/operation-flow-factory.js +1 -1
  8. package/dist/lib/factory/server-factory.js +1 -1
  9. package/dist/lib/factory/transformation-function-factory.js +1 -1
  10. package/dist/lib/handle-route.js +1 -1
  11. package/dist/lib/index.js +1 -1
  12. package/dist/lib/integrations/commons-elasticsearch.js +1 -1
  13. package/dist/lib/integrations/commons-opensearch.js +1 -1
  14. package/dist/lib/integrations/commons-splunk.js +1 -1
  15. package/dist/lib/license/license-service.js +1 -1
  16. package/dist/lib/models/base-context.js +1 -1
  17. package/dist/lib/models/flow-context.js +1 -1
  18. package/dist/lib/models/monitor-request-view.js +1 -1
  19. package/dist/lib/models/route-context.js +1 -1
  20. package/dist/lib/models/security-route.js +1 -1
  21. package/dist/lib/models/service-context.js +1 -1
  22. package/dist/lib/models/service-group.js +1 -1
  23. package/dist/lib/models/service-route.js +1 -1
  24. package/dist/lib/models/splunk-data.js +1 -1
  25. package/dist/lib/observability/gateway-log-capture.js +1 -1
  26. package/dist/lib/observability/live-streams.js +1 -1
  27. package/dist/lib/observability/models/monitor-flow-step.js +1 -1
  28. package/dist/lib/observability/models/monitor-function-operation.js +1 -1
  29. package/dist/lib/observability/models/monitor-function-transformation.js +1 -1
  30. package/dist/lib/observability/models/monitor-http-operation.js +1 -1
  31. package/dist/lib/observability/models/monitor-mock-operation.js +1 -1
  32. package/dist/lib/observability/monitor-event-bus.js +1 -1
  33. package/dist/lib/observability/monitor-event.js +1 -1
  34. package/dist/lib/observability/subscribers/monitor-event-subscriber.js +1 -1
  35. package/dist/lib/observability/subscribers/opensearch-event-subscriber.js +1 -1
  36. package/dist/lib/observability/subscribers/redis-event-subscriber.js +1 -1
  37. package/dist/lib/observability/subscribers/spans-event-subscriber.js +1 -1
  38. package/dist/lib/observability/subscribers/splunk-event-subscriber.js +1 -1
  39. package/dist/lib/operations/abstract-operation.js +1 -1
  40. package/dist/lib/operations/function.js +1 -1
  41. package/dist/lib/operations/http.js +1 -1
  42. package/dist/lib/operations/mock.js +1 -1
  43. package/dist/lib/operations/monitor-check.js +1 -1
  44. package/dist/lib/orchestration-flow.js +1 -1
  45. package/dist/lib/router.js +1 -1
  46. package/dist/lib/routes/default-routes-admin.js +1 -1
  47. package/dist/lib/routes/default-routes-docs.js +1 -1
  48. package/dist/lib/routes/default-routes-ingest.js +1 -1
  49. package/dist/lib/routes/default-routes-llms.js +1 -0
  50. package/dist/lib/routes/default-routes-mcp.js +1 -1
  51. package/dist/lib/routes/default-routes-monitor-metrics.js +1 -1
  52. package/dist/lib/routes/default-routes-opensearch.js +1 -1
  53. package/dist/lib/routes/default-routes-pos.js +1 -1
  54. package/dist/lib/routes/default-routes-pre.js +1 -1
  55. package/dist/lib/routes/default-routes-redis.js +1 -1
  56. package/dist/lib/routes/llms-txt-builder.js +1 -0
  57. package/dist/lib/routes/native-routes-catalog.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-const.js +1 -1
  85. package/dist/lib/utils/commons-context.js +1 -1
  86. package/dist/lib/utils/commons-cookie.js +1 -1
  87. package/dist/lib/utils/commons-date.js +1 -1
  88. package/dist/lib/utils/commons-encoding.js +1 -1
  89. package/dist/lib/utils/commons-errors.js +1 -1
  90. package/dist/lib/utils/commons-headers.js +1 -1
  91. package/dist/lib/utils/commons-logger.js +1 -1
  92. package/dist/lib/utils/commons-trace.js +1 -1
  93. package/dist/lib/utils/commons-util.js +1 -1
  94. package/dist/lib/utils/document-utils.js +1 -1
  95. package/dist/lib/utils/monitor-filter-builder.js +1 -1
  96. package/dist/lib/utils/monitor-query-language.js +1 -1
  97. package/package.json +1 -1
@@ -1 +1 @@
1
- 'use strict';const _0x1ff458=_0xf3c3;(function(_0x53eaf0,_0x34d01d){const _0x1c425c=_0xf3c3,_0x241cc7=_0x53eaf0();while(!![]){try{const _0x36aee6=parseInt(_0x1c425c(0x27a))/0x1+-parseInt(_0x1c425c(0x14e))/0x2*(parseInt(_0x1c425c(0xe6))/0x3)+-parseInt(_0x1c425c(0x2c4))/0x4+-parseInt(_0x1c425c(0x1f9))/0x5*(parseInt(_0x1c425c(0x226))/0x6)+-parseInt(_0x1c425c(0x357))/0x7+-parseInt(_0x1c425c(0x194))/0x8*(-parseInt(_0x1c425c(0x13d))/0x9)+parseInt(_0x1c425c(0xe0))/0xa;if(_0x36aee6===_0x34d01d)break;else _0x241cc7['push'](_0x241cc7['shift']());}catch(_0x4f521c){_0x241cc7['push'](_0x241cc7['shift']());}}}(_0xdd19,0xc870c));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=_0x1ff458(0x368),LOG_FIELD_ALLOWLIST=new Set([_0x1ff458(0x190),_0x1ff458(0x229),_0x1ff458(0x156),_0x1ff458(0x27d),'origin',_0x1ff458(0x14d),'traceId',_0x1ff458(0x293),'requestId',_0x1ff458(0x22b),_0x1ff458(0x17f),_0x1ff458(0x1a9),'level',_0x1ff458(0x1b0),_0x1ff458(0x2c0),'exception.message',_0x1ff458(0x195),'exceptionType',_0x1ff458(0xea),_0x1ff458(0x2c3),_0x1ff458(0x212),_0x1ff458(0x282),_0x1ff458(0x19b),_0x1ff458(0x167),_0x1ff458(0x37b),_0x1ff458(0x1e5),_0x1ff458(0x211),_0x1ff458(0x1e1),_0x1ff458(0x1b9),_0x1ff458(0x295),_0x1ff458(0x117),'environment',_0x1ff458(0x197),_0x1ff458(0x311),'language',_0x1ff458(0x34b),'durationMs',_0x1ff458(0x315),_0x1ff458(0xd8),_0x1ff458(0x1e0),_0x1ff458(0x23a),_0x1ff458(0x19e),_0x1ff458(0xd2),_0x1ff458(0x339)]),LOG_NUMERIC_FIELDS=new Set([_0x1ff458(0x279),'duration','responseTime',_0x1ff458(0x1e0),_0x1ff458(0x23a),_0x1ff458(0x19e),_0x1ff458(0xd2),_0x1ff458(0x339),_0x1ff458(0x282),_0x1ff458(0x19b)]),KV_PATH_RE=/^kv\.[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/,KVN_FIELDS=new Set([_0x1ff458(0x279),_0x1ff458(0x315),_0x1ff458(0x23a),_0x1ff458(0x1e0),'responseTime','took',_0x1ff458(0x282),'httpStatus',_0x1ff458(0x19e),'contentLength']);function isKvPath(_0x3e7b1c){const _0x415b68=_0x1ff458;return KV_PATH_RE[_0x415b68(0x142)](_0x3e7b1c);}function isKvnPath(_0x553bf3){const _0x3974f1=_0x1ff458,_0x777b9e={'RzIQv':_0x3974f1(0x101)};return _0x553bf3['startsWith'](_0x777b9e[_0x3974f1(0x1df)])&&KVN_FIELDS[_0x3974f1(0x135)](_0x553bf3[_0x3974f1(0x29b)](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(_0x3a801a){const _0x2bbe79=_0x1ff458;return BODY_PATH_RE[_0x2bbe79(0x142)](_0x3a801a);}function isResponsePath(_0x5160bb){const _0x5ef254=_0x1ff458;return RESPONSE_PATH_RE[_0x5ef254(0x142)](_0x5160bb);}function isPayloadPath(_0x1501cd){const _0x361212=_0x1ff458,_0x27b9ec={'vaEai':function(_0x238737,_0x3c7a85){return _0x238737(_0x3c7a85);}};return _0x27b9ec[_0x361212(0x384)](isBodyPath,_0x1501cd)||_0x27b9ec[_0x361212(0x384)](isResponsePath,_0x1501cd);}const METRIC_FUNCS=new Set([_0x1ff458(0xca),_0x1ff458(0x37f),_0x1ff458(0x1ec),_0x1ff458(0x350),_0x1ff458(0x114),_0x1ff458(0xc0)]);class DslError extends Error{constructor(_0x3bf0ba,_0x40dff7,_0x5b82b4={}){const _0xe840f8=_0x1ff458;super(_0x40dff7),this[_0xe840f8(0x375)]=_0xe840f8(0x14a),this[_0xe840f8(0x34e)]=_0x3bf0ba,Object['assign'](this,_0x5b82b4);}}function matchingParen(_0x3844b0,_0x1651d1){const _0x2f9b87=_0x1ff458,_0xcd6f7a={'juIvX':function(_0xccd56c,_0x214155){return _0xccd56c<_0x214155;},'jNBbo':function(_0x57a981,_0x5ddee4){return _0x57a981===_0x5ddee4;},'nEHyt':function(_0x585edc,_0x502231){return _0x585edc!==_0x502231;},'ZkyiX':_0x2f9b87(0x2f4),'raKYG':function(_0x513917,_0x51e6d8){return _0x513917<_0x51e6d8;},'GLlPV':function(_0x5b61c5,_0xa6d6){return _0x5b61c5===_0xa6d6;},'jdSUm':function(_0x4434a1,_0x270aba){return _0x4434a1===_0x270aba;},'prtbA':function(_0x17ea96,_0x10f9ea){return _0x17ea96===_0x10f9ea;},'rqcdm':_0x2f9b87(0x1c0),'zjaIM':_0x2f9b87(0x13c),'aQXge':function(_0x163b08,_0x491d27){return _0x163b08===_0x491d27;}};let _0x4124ac=0x0;for(let _0x48bf9e=_0x1651d1;_0xcd6f7a[_0x2f9b87(0x33d)](_0x48bf9e,_0x3844b0[_0x2f9b87(0x358)]);_0x48bf9e++){const _0x14dce8=_0x3844b0[_0x48bf9e];if(_0xcd6f7a[_0x2f9b87(0x2c9)](_0x14dce8,'\x22')||_0x14dce8==='\x27'){const _0x344093=_0x14dce8;_0x48bf9e++;while(_0xcd6f7a['juIvX'](_0x48bf9e,_0x3844b0[_0x2f9b87(0x358)])&&_0x3844b0[_0x48bf9e]!==_0x344093){if(_0xcd6f7a['jNBbo'](_0x3844b0[_0x48bf9e],'\x5c'))_0x48bf9e++;_0x48bf9e++;}continue;}if(_0x14dce8==='/'){if(_0xcd6f7a[_0x2f9b87(0x2bb)](_0x2f9b87(0xc7),_0xcd6f7a[_0x2f9b87(0x24b)])){_0x48bf9e++;while(_0xcd6f7a[_0x2f9b87(0x28f)](_0x48bf9e,_0x3844b0['length'])&&_0xcd6f7a['nEHyt'](_0x3844b0[_0x48bf9e],'/')){if(_0xcd6f7a['GLlPV'](_0x3844b0[_0x48bf9e],'\x5c'))_0x48bf9e++;_0x48bf9e++;}continue;}else _0x167db8=_0x5466ef['value'],_0x1d9b9a++;}if(_0xcd6f7a[_0x2f9b87(0x254)](_0x14dce8,'('))_0x4124ac++;else{if(_0xcd6f7a[_0x2f9b87(0x250)](_0x14dce8,')')){if(_0xcd6f7a[_0x2f9b87(0x191)](_0xcd6f7a[_0x2f9b87(0x25e)],_0xcd6f7a[_0x2f9b87(0x168)]))_0xdd916f=_0x53c403[0x1]['toLowerCase'](),_0x329b03=_0x47749d[_0x2f9b87(0x29b)](_0x1fe2d5[0x0][_0x2f9b87(0x358)]);else{_0x4124ac--;if(_0xcd6f7a['aQXge'](_0x4124ac,0x0))return _0x48bf9e;}}}}return-0x1;}function findSection(_0x3a1503,_0x39dd89){const _0x32b102=_0x1ff458,_0x189d1f={'tUDWQ':function(_0x2ca324,_0x3aea25){return _0x2ca324-_0x3aea25;},'oCZex':function(_0x41e670,_0x3536b5,_0x2f6be8){return _0x41e670(_0x3536b5,_0x2f6be8);},'HHJWl':function(_0x2e6bdd,_0x1b2eef){return _0x2e6bdd<_0x1b2eef;},'CvVrI':'malformed','PQxdP':function(_0x457799,_0x1a61bf){return _0x457799+_0x1a61bf;},'aJXqb':function(_0x41e4d6,_0x3316e4){return _0x41e4d6+_0x3316e4;}},_0x1965f4=new RegExp(_0x32b102(0x1e4)+_0x39dd89+_0x32b102(0x185),'i'),_0x3ff275=_0x1965f4[_0x32b102(0x2e2)](_0x3a1503);if(!_0x3ff275)return null;const _0x3f67bb=_0x3a1503[_0x32b102(0x10e)]('(',_0x189d1f['tUDWQ'](_0x3ff275[_0x32b102(0x340)]+_0x3ff275[0x0][_0x32b102(0x358)],0x1)),_0x29f886=_0x189d1f[_0x32b102(0x20e)](matchingParen,_0x3a1503,_0x3f67bb);if(_0x189d1f[_0x32b102(0x11a)](_0x29f886,0x0))throw new DslError(_0x189d1f[_0x32b102(0x331)],_0x32b102(0x288)+_0x39dd89+_0x32b102(0x2fd),{'detail':_0x39dd89+_0x32b102(0x2fd)});return{'content':_0x3a1503[_0x32b102(0x29b)](_0x189d1f[_0x32b102(0x363)](_0x3f67bb,0x1),_0x29f886),'start':_0x189d1f['aJXqb'](_0x3ff275[_0x32b102(0x340)],_0x3ff275[0x1]?_0x3ff275[0x1][_0x32b102(0x358)]:0x0),'end':_0x29f886+0x1};}function tokenizeWhere(_0x1e9980){const _0xbd736b=_0x1ff458,_0x46bc17={'zDTzg':_0xbd736b(0x33a),'BJoEx':_0xbd736b(0x361),'HpOvy':function(_0x20893a,_0x1d79ba,_0x45c27b,_0x2616dd){return _0x20893a(_0x1d79ba,_0x45c27b,_0x2616dd);},'SxWjd':function(_0x126f0a,_0x1c9f10,_0x10fef2){return _0x126f0a(_0x1c9f10,_0x10fef2);},'DvBek':function(_0x477d0a,_0x1d263f){return _0x477d0a(_0x1d263f);},'yaiBd':function(_0x4e2d39,_0x40ace4){return _0x4e2d39===_0x40ace4;},'NFquw':_0xbd736b(0x215),'KmUqY':function(_0x5a9249,_0x34c1a1){return _0x5a9249===_0x34c1a1;},'YPkGz':function(_0x101009,_0x758e){return _0x101009===_0x758e;},'sAfEF':function(_0x3de346,_0x1fb4cb){return _0x3de346===_0x1fb4cb;},'AlCWM':_0xbd736b(0x2dc),'nSuYl':_0xbd736b(0xb7),'dzpqS':function(_0x36bbda,_0xd07146){return _0x36bbda===_0xd07146;},'BQfxT':function(_0x5f169d,_0x213620){return _0x5f169d+_0x213620;},'Zktsy':function(_0x1c500e,_0x55fac1){return _0x1c500e<_0x55fac1;},'OdaAl':function(_0xf5837c,_0x5f18eb){return _0xf5837c!==_0x5f18eb;},'Kfbyj':function(_0x44eb67,_0x59bf70){return _0x44eb67===_0x59bf70;},'igzNd':_0xbd736b(0x213),'dGBfp':function(_0x18371e,_0x59e2bf){return _0x18371e+_0x59e2bf;},'dMIpL':function(_0x4547af,_0x3e2c7b){return _0x4547af===_0x3e2c7b;},'eXyWc':function(_0x349793,_0x2a5537){return _0x349793>=_0x2a5537;},'BBEhM':_0xbd736b(0x348),'qwxNa':function(_0x131b63,_0x38071f){return _0x131b63===_0x38071f;},'XyUpU':function(_0x49944f,_0x450915){return _0x49944f+_0x450915;},'NiXwd':function(_0x390f96,_0x20597a){return _0x390f96!==_0x20597a;},'lBpIa':function(_0x5413ca,_0x2e984f){return _0x5413ca+_0x2e984f;},'JvYzQ':_0xbd736b(0x2b9),'HjMts':_0xbd736b(0x21e),'LLUnz':function(_0x22f662,_0x2bace6){return _0x22f662+_0x2bace6;},'byfzu':function(_0x4274ce,_0x12bbdb){return _0x4274ce!==_0x12bbdb;},'VqFIY':_0xbd736b(0x256),'ajuMA':_0xbd736b(0x1a2)},_0x185085=[];let _0x22fd28=0x0;const _0x42c845=_0x1e9980[_0xbd736b(0x358)];while(_0x22fd28<_0x42c845){const _0x259bee=_0x1e9980[_0x22fd28];if(/\s/[_0xbd736b(0x142)](_0x259bee)){_0x22fd28++;continue;}if(_0x46bc17[_0xbd736b(0x36e)](_0x259bee,'(')||_0x46bc17[_0xbd736b(0x10a)](_0x259bee,')')||_0x46bc17[_0xbd736b(0x333)](_0x259bee,',')){if(_0x46bc17[_0xbd736b(0x181)]!==_0xbd736b(0xb7)){if(!_0x13b3ff['allowRegex'])throw new _0x3f8f2b(_0x46bc17[_0xbd736b(0xdc)],'regex\x20não\x20é\x20suportada\x20no\x20dataset\x20'+_0x34043e[_0xbd736b(0x375)]);if(_0xe185ff)throw new _0x3b1e1c(_0x46bc17[_0xbd736b(0xdc)],_0x46bc17[_0xbd736b(0x1e7)]);return;}else{_0x185085[_0xbd736b(0x314)]({'type':_0x259bee}),_0x22fd28++;continue;}}if(_0x46bc17[_0xbd736b(0x29a)](_0x259bee,'\x22')||_0x259bee==='\x27'){const _0x1f8c68=_0x259bee;let _0x123456=_0x46bc17[_0xbd736b(0x150)](_0x22fd28,0x1),_0x5ed047='';while(_0x46bc17[_0xbd736b(0x258)](_0x123456,_0x42c845)&&_0x46bc17[_0xbd736b(0x24e)](_0x1e9980[_0x123456],_0x1f8c68)){if(_0x46bc17[_0xbd736b(0x1f1)](_0x1e9980[_0x123456],'\x5c')){if(_0x46bc17[_0xbd736b(0x36e)](_0x46bc17[_0xbd736b(0x37a)],_0xbd736b(0x351))){const _0x55ff4f=_0x46bc17[_0xbd736b(0x241)](_0x539ec4,_0x47c7a5,_0x111217['field'],_0x4e9ce2);if(!_0x46bc17[_0xbd736b(0x227)](_0x372403,_0x55ff4f,_0x533205))return![];}else _0x5ed047+=_0x1e9980[_0x46bc17[_0xbd736b(0xc5)](_0x123456,0x1)]||'',_0x123456+=0x2;}else{if(_0x46bc17['dMIpL'](_0xbd736b(0x160),_0xbd736b(0x1fa)))return{'bool':{'should':[_0x46bc17['DvBek'](_0x2410d7,_0x31e2a3['keywordPath']),{'match_phrase':{[_0x2c8c97[_0xbd736b(0x211)]]:_0x3f9052[_0xbd736b(0x1e2)]}}],'minimum_should_match':0x1}};else _0x5ed047+=_0x1e9980[_0x123456],_0x123456++;}}if(_0x46bc17[_0xbd736b(0xcf)](_0x123456,_0x42c845))throw new DslError(_0xbd736b(0x2b9),_0x46bc17[_0xbd736b(0xde)],{'detail':_0x1e9980});_0x185085[_0xbd736b(0x314)]({'type':_0xbd736b(0x2cd),'value':_0x5ed047}),_0x22fd28=_0x46bc17[_0xbd736b(0x150)](_0x123456,0x1);continue;}if(_0x46bc17['qwxNa'](_0x259bee,'/')){let _0x5a0c45=_0x46bc17[_0xbd736b(0x2f5)](_0x22fd28,0x1),_0x21ff8d='';while(_0x46bc17['Zktsy'](_0x5a0c45,_0x42c845)&&_0x46bc17[_0xbd736b(0x34d)](_0x1e9980[_0x5a0c45],'/')){_0x46bc17['yaiBd'](_0x1e9980[_0x5a0c45],'\x5c')?(_0x21ff8d+=_0x46bc17[_0xbd736b(0x2f5)]('\x5c',_0x1e9980[_0x46bc17[_0xbd736b(0x31e)](_0x5a0c45,0x1)]||''),_0x5a0c45+=0x2):(_0x21ff8d+=_0x1e9980[_0x5a0c45],_0x5a0c45++);}if(_0x5a0c45>=_0x42c845)throw new DslError(_0x46bc17[_0xbd736b(0xd5)],_0x46bc17[_0xbd736b(0x2a5)],{'detail':_0x1e9980});let _0x131e7b=_0x46bc17[_0xbd736b(0x1d0)](_0x5a0c45,0x1),_0x18616c='';while(_0x46bc17[_0xbd736b(0x258)](_0x131e7b,_0x42c845)&&/[a-z]/i[_0xbd736b(0x142)](_0x1e9980[_0x131e7b])){if(_0x46bc17[_0xbd736b(0x1b7)](_0x46bc17['VqFIY'],_0x46bc17[_0xbd736b(0x2b0)])){if(!_0xe40b3f)return null;if(_0x46bc17[_0xbd736b(0x333)](_0x216b31['op'],_0x46bc17[_0xbd736b(0x276)])){const _0x4a05da=_0x5b40e7[_0xbd736b(0x332)][_0xbd736b(0x306)](_0x11edc5=>_0x38fcb3(_0x11edc5,_0x525283))['filter'](_0x52a22b);if(_0x46bc17[_0xbd736b(0x333)](_0x4a05da[_0xbd736b(0x358)],0x0))return null;return _0x46bc17[_0xbd736b(0x10a)](_0x4a05da[_0xbd736b(0x358)],0x1)?_0x4a05da[0x0]:{'bool':{'filter':_0x4a05da}};}if(_0x46bc17[_0xbd736b(0x2b7)](_0x1fe900['op'],'or')){const _0x1fa8e3=_0x5d4f86['children'][_0xbd736b(0x306)](_0x42b202=>_0x204d33(_0x42b202,_0x3d3cc2))[_0xbd736b(0x18c)](_0x5f2ec8);if(_0x46bc17[_0xbd736b(0x36e)](_0x1fa8e3['length'],0x0))return null;return{'bool':{'should':_0x1fa8e3,'minimum_should_match':0x1}};}if(_0x1a834c['op']===_0x46bc17[_0xbd736b(0x32d)]){const _0x5525c6=_0x2731ab(_0x55693e[_0xbd736b(0x37e)],_0x469c37);return _0x5525c6?{'bool':{'must_not':[_0x5525c6]}}:null;}return _0x46bc17[_0xbd736b(0x227)](_0x11ca3c,_0x52ea59,_0x58acaa);}else _0x18616c+=_0x1e9980[_0x131e7b],_0x131e7b++;}_0x185085['push']({'type':_0x46bc17[_0xbd736b(0xdc)],'source':_0x21ff8d,'flags':_0x18616c}),_0x22fd28=_0x131e7b;continue;}let _0x1d6fd0=_0x22fd28,_0xacdf2a='';while(_0x1d6fd0<_0x42c845&&!/[\s(),"'/]/[_0xbd736b(0x142)](_0x1e9980[_0x1d6fd0])){_0xacdf2a+=_0x1e9980[_0x1d6fd0],_0x1d6fd0++;}_0x185085['push']({'type':_0x46bc17[_0xbd736b(0x1de)],'value':_0xacdf2a}),_0x22fd28=_0x1d6fd0;}return _0x185085;}const CMP_OPS=[{'tok':'!=','cmp':'ne'},{'tok':'>=','cmp':_0x1ff458(0x176)},{'tok':'<=','cmp':_0x1ff458(0x356)},{'tok':'~','cmp':_0x1ff458(0x2a9)},{'tok':'>','cmp':'gt'},{'tok':'<','cmp':'lt'},{'tok':'=','cmp':'eq'},{'tok':':','cmp':'eq'}];function splitFieldOp(_0x736e67){const _0x4c8f22=_0x1ff458,_0x341b42={'dGcFK':function(_0x188262,_0x32e81e){return _0x188262>_0x32e81e;},'pNyTC':function(_0x4c1eb8,_0x15e4a4){return _0x4c1eb8===_0x15e4a4;},'hAMmT':function(_0x458b2c,_0x11d618){return _0x458b2c===_0x11d618;},'bYOBe':function(_0x388e9d,_0xf8cc75){return _0x388e9d>_0xf8cc75;}};let _0x4bdfa1=null;for(const {tok:_0x181bd5,cmp:_0x3312f8}of CMP_OPS){const _0x4f5407=_0x736e67[_0x4c8f22(0x10e)](_0x181bd5);_0x341b42[_0x4c8f22(0x1f2)](_0x4f5407,0x0)&&(_0x341b42[_0x4c8f22(0x36b)](_0x4bdfa1,null)||_0x4f5407<_0x4bdfa1[_0x4c8f22(0x2ac)]||_0x341b42[_0x4c8f22(0x1c2)](_0x4f5407,_0x4bdfa1[_0x4c8f22(0x2ac)])&&_0x341b42[_0x4c8f22(0x107)](_0x181bd5[_0x4c8f22(0x358)],_0x4bdfa1[_0x4c8f22(0x334)][_0x4c8f22(0x358)]))&&(_0x4bdfa1={'idx':_0x4f5407,'tok':_0x181bd5,'cmp':_0x3312f8});}if(!_0x4bdfa1)return null;const _0xa46580=_0x736e67[_0x4c8f22(0x29b)](0x0,_0x4bdfa1['idx']);if(!/^[A-Za-z_][A-Za-z0-9_.-]*$/[_0x4c8f22(0x142)](_0xa46580))return null;return{'field':_0xa46580,'cmp':_0x4bdfa1['cmp'],'op':_0x4bdfa1[_0x4c8f22(0x334)],'value':_0x736e67[_0x4c8f22(0x29b)](_0x4bdfa1['idx']+_0x4bdfa1['tok'][_0x4c8f22(0x358)])};}function unquoteValue(_0x4f4061){const _0x2fcf8f=_0x1ff458,_0x54a735={'DWdlj':function(_0x32ee6f,_0x45588f){return _0x32ee6f>=_0x45588f;},'trxLK':function(_0xaa50ba,_0x1e48d8){return _0xaa50ba===_0x1e48d8;},'CNrlX':function(_0xca7aee,_0x1e60ae){return _0xca7aee===_0x1e60ae;}};if(_0x54a735[_0x2fcf8f(0x367)](_0x4f4061[_0x2fcf8f(0x358)],0x2)&&(_0x54a735['trxLK'](_0x4f4061[0x0],'\x22')&&_0x4f4061[_0x2fcf8f(0x249)]('\x22')||_0x54a735['CNrlX'](_0x4f4061[0x0],'\x27')&&_0x4f4061['endsWith']('\x27')))return _0x4f4061[_0x2fcf8f(0x29b)](0x1,-0x1);return _0x4f4061;}function parseWhereAst(_0x44a208){const _0x14cb2e=_0x1ff458,_0xab6b72={'xeURR':function(_0x91a051,_0x1f563a){return _0x91a051!==_0x1f563a;},'Rbhml':_0x14cb2e(0x2b9),'aHqiW':function(_0x42434c,_0x51f658,_0x1048c0){return _0x42434c(_0x51f658,_0x1048c0);},'KMkic':function(_0x567b62,_0x25b69c){return _0x567b62===_0x25b69c;},'IMYND':_0x14cb2e(0x1b6),'sryzj':_0x14cb2e(0x259),'nvumt':function(_0x40a12d){return _0x40a12d();},'kYJkp':function(_0x435562,_0x1b9816){return _0x435562===_0x1b9816;},'xwzhu':function(_0x3c0033,_0x5a23e5,_0x580edf,_0x3c0c35){return _0x3c0033(_0x5a23e5,_0x580edf,_0x3c0c35);},'mXCqf':function(_0x5ca491,_0x4e0177){return _0x5ca491+_0x4e0177;},'EtnIa':_0x14cb2e(0x359),'ndSQt':function(_0x3618c7,_0x5afa92,_0x2da5b6){return _0x3618c7(_0x5afa92,_0x2da5b6);},'sTqDu':_0x14cb2e(0x2cd),'GaQQN':_0x14cb2e(0x33a),'pvJZs':function(_0x1b3722,_0x5e82a8){return _0x1b3722===_0x5e82a8;},'UnzaZ':'word','ZOnOs':function(_0x559cf7,_0x129b3b){return _0x559cf7===_0x129b3b;},'LCnNV':_0x14cb2e(0x215),'GyDXL':function(_0x474f2f,_0x4414f1,_0x3c6d3f,_0x111eb4,_0x4d3307){return _0x474f2f(_0x4414f1,_0x3c6d3f,_0x111eb4,_0x4d3307);},'zwfFH':_0x14cb2e(0x261),'BsoJQ':function(_0x339342){return _0x339342();},'JIUGF':'not','YSXgS':function(_0x1c0d16,_0x312a45){return _0x1c0d16===_0x312a45;},'vUwiS':function(_0x1d3b75){return _0x1d3b75();},'SmZCl':function(_0x157456,_0x2e7dcd){return _0x157456(_0x2e7dcd);},'wTalb':'response.result','LCbYq':'operando\x20ausente\x20no\x20where','ljIcX':function(_0x418708,_0x2e0f98){return _0x418708===_0x2e0f98;},'pNMwe':_0x14cb2e(0xd3),'PKNYf':function(_0x933f69,_0x239970){return _0x933f69===_0x239970;},'dYQYw':function(_0xa127a7,_0x3c5847){return _0xa127a7===_0x3c5847;},'caevi':function(_0x2a1495){return _0x2a1495();},'XMUSG':_0x14cb2e(0x2a9),'aYksF':function(_0x3e2b0b,_0x59cb1c){return _0x3e2b0b(_0x59cb1c);},'knYOq':_0x14cb2e(0xc4),'IWBAP':function(_0x582178,_0x48336c){return _0x582178+_0x48336c;},'aQQdd':_0x14cb2e(0xf0),'XyJOu':function(_0x3bb70c,_0x27da74){return _0x3bb70c===_0x27da74;},'BLeWg':_0x14cb2e(0x1c8),'dCBjy':_0x14cb2e(0x2c8),'ldVZH':function(_0x5a7151,_0xe1cc19){return _0x5a7151!==_0xe1cc19;},'TtrZA':_0x14cb2e(0x186),'ETiEz':_0x14cb2e(0x159),'BEiVF':_0x14cb2e(0x20d),'FBkzu':function(_0x4bf67a,_0x136a0d){return _0x4bf67a<_0x136a0d;}};let _0x52dd1a=0x0;const _0x14e57a=()=>_0x44a208[_0x52dd1a],_0x5b0b02=(_0x5bff0b,_0x2d5e66)=>Boolean(_0x5bff0b&&_0x5bff0b['type']===_0x14cb2e(0x1a2)&&_0x2d5e66[_0x14cb2e(0x142)](_0x5bff0b[_0x14cb2e(0x1e2)])),_0x29a60e=_0x37669a=>{const _0x2dcbaa=_0x14cb2e,_0x4f1204=_0x44a208[_0x52dd1a];if(!_0x4f1204||_0xab6b72[_0x2dcbaa(0x257)](_0x4f1204['type'],_0x37669a))throw new DslError(_0xab6b72[_0x2dcbaa(0x352)],_0x2dcbaa(0x312)+_0x37669a+_0x2dcbaa(0xdf));_0x52dd1a++;};function _0x56f8bc(){const _0x462b0f=_0x14cb2e,_0x519249=[_0x1013c2()];while(_0xab6b72[_0x462b0f(0x112)](_0x5b0b02,_0x14e57a(),/^or$/i)){_0xab6b72[_0x462b0f(0x1af)](_0xab6b72[_0x462b0f(0x2e6)],_0xab6b72['sryzj'])?(_0x53dd11+=_0x1fd949[_0x1753ee],_0x2c2dd0++):(_0x52dd1a++,_0x519249[_0x462b0f(0x314)](_0xab6b72[_0x462b0f(0x20b)](_0x1013c2)));}return _0xab6b72[_0x462b0f(0x24a)](_0x519249[_0x462b0f(0x358)],0x1)?_0x519249[0x0]:{'op':'or','children':_0x519249};}function _0x1013c2(){const _0x297d00=_0x14cb2e,_0x42a8d0={'inlaV':function(_0x5b7cb4,_0x26f437,_0xbe5d57){return _0x5b7cb4(_0x26f437,_0xbe5d57);},'WCKqF':function(_0x31d067,_0xeb7a92,_0x3997b4,_0x73ec36){return _0xab6b72['xwzhu'](_0x31d067,_0xeb7a92,_0x3997b4,_0x73ec36);},'LEeKI':function(_0x4bb986,_0x38d073){const _0x4cb8ba=_0xf3c3;return _0xab6b72[_0x4cb8ba(0x1aa)](_0x4bb986,_0x38d073);}},_0x1e1eb1=[_0xab6b72[_0x297d00(0x20b)](_0x21c7bb)];for(;;){if(_0xab6b72[_0x297d00(0x2ba)]===_0xab6b72[_0x297d00(0x2ba)]){const _0x33e503=_0x14e57a();if(_0xab6b72[_0x297d00(0x2fc)](_0x5b0b02,_0x33e503,/^and$/i)){_0x52dd1a++,_0x1e1eb1[_0x297d00(0x314)](_0x21c7bb());continue;}const _0x18730a=_0x33e503&&(_0x33e503['type']===_0xab6b72['sTqDu']||_0xab6b72['KMkic'](_0x33e503[_0x297d00(0x1dc)],_0xab6b72[_0x297d00(0x14b)])||_0xab6b72[_0x297d00(0x355)](_0x33e503[_0x297d00(0x1dc)],'(')||_0xab6b72[_0x297d00(0x1af)](_0x33e503['type'],_0xab6b72[_0x297d00(0x34f)])&&!/^or$/i[_0x297d00(0x142)](_0x33e503[_0x297d00(0x1e2)]));if(_0x18730a){_0x1e1eb1['push'](_0xab6b72[_0x297d00(0x20b)](_0x21c7bb));continue;}break;}else{const _0x40e6fe=_0xfd4fca[_0x297d00(0x1eb)]({},_0x510c2b,{[_0x52d2a3[_0x3492c9]]:_0x5c95ef[_0x297d00(0x268)]});_0x12746e===_0x3593d4['length']-0x1?_0x6c0542[_0x297d00(0x314)](_0xf31097[_0x297d00(0x1eb)]({},_0x40e6fe,{'value':_0x42a8d0[_0x297d00(0xfd)](_0x42c986,_0x5c27bb,_0x2d17b6)})):_0x42a8d0[_0x297d00(0x1b3)](_0x39a96a,_0x42277f[_0x297d00(0x188)]&&_0x485921[_0x297d00(0x188)]['buckets']||[],_0x42a8d0[_0x297d00(0xbb)](_0x392384,0x1),_0x40e6fe);}}return _0xab6b72[_0x297d00(0xe8)](_0x1e1eb1['length'],0x1)?_0x1e1eb1[0x0]:{'op':_0xab6b72[_0x297d00(0x189)],'children':_0x1e1eb1};}function _0x21c7bb(){const _0xfd477d=_0x14cb2e,_0x5700fe={'cxkwG':function(_0x3a18ee,_0x49feb8,_0x2b2a69,_0x5a5cfd,_0x2a32c6){const _0x334ec2=_0xf3c3;return _0xab6b72[_0x334ec2(0x16f)](_0x3a18ee,_0x49feb8,_0x2b2a69,_0x5a5cfd,_0x2a32c6);}};if(_0xab6b72[_0xfd477d(0x257)](_0xab6b72[_0xfd477d(0x1bf)],_0xfd477d(0x261))){_0x5700fe[_0xfd477d(0x109)](_0x2e3b0e,_0x3277ff[_0xfd477d(0x37e)],_0x4b5e42,_0x354645,!![]);return;}else{const _0x373724=_0xab6b72[_0xfd477d(0x325)](_0x14e57a);if(_0x5b0b02(_0x373724,/^not$/i))return _0x52dd1a++,{'op':_0xab6b72[_0xfd477d(0x26f)],'child':_0xab6b72['BsoJQ'](_0x21c7bb)};if(_0x373724&&_0xab6b72[_0xfd477d(0x1d8)](_0x373724[_0xfd477d(0x1dc)],'(')){_0x52dd1a++;const _0x718ada=_0xab6b72['vUwiS'](_0x56f8bc);return _0xab6b72[_0xfd477d(0x35d)](_0x29a60e,')'),_0x718ada;}return _0xab6b72[_0xfd477d(0x267)](_0x14d23e);}}function _0x14d23e(){const _0xa478a9=_0x14cb2e,_0x13d056={'XDFoH':_0xa478a9(0x159)},_0x302fde=_0x44a208[_0x52dd1a];if(!_0x302fde)throw new DslError(_0xab6b72[_0xa478a9(0x352)],_0xab6b72[_0xa478a9(0x342)]);if(_0xab6b72[_0xa478a9(0x2e1)](_0x302fde[_0xa478a9(0x1dc)],_0xab6b72[_0xa478a9(0x22f)]))return _0x52dd1a++,{'kind':_0xab6b72[_0xa478a9(0x22f)],'value':_0x302fde['value']};if(_0x302fde[_0xa478a9(0x1dc)]===_0xab6b72[_0xa478a9(0x14b)])return _0x52dd1a++,{'kind':_0xab6b72[_0xa478a9(0x14b)],'source':_0x302fde[_0xa478a9(0x133)],'flags':_0x302fde[_0xa478a9(0x12c)]};if(_0xab6b72['KMkic'](_0x302fde['type'],')'))throw new DslError(_0xa478a9(0x2b9),_0xab6b72[_0xa478a9(0x35a)]);if(_0xab6b72[_0xa478a9(0x387)](_0x302fde[_0xa478a9(0x1dc)],','))throw new DslError(_0xab6b72['Rbhml'],_0xa478a9(0xf6));_0x52dd1a++;const _0x50ae0c=_0x302fde[_0xa478a9(0x1e2)];if(/^contains$/i[_0xa478a9(0x142)](_0x50ae0c)&&_0x44a208[_0x52dd1a]&&_0xab6b72['dYQYw'](_0x44a208[_0x52dd1a]['type'],'(')){_0x52dd1a++;const _0x276730=_0xab6b72[_0xa478a9(0x374)](_0x56f8bc);return _0xab6b72['SmZCl'](_0x29a60e,')'),{'kind':_0xab6b72['XMUSG'],'expr':_0x276730};}if(/^exists$/i[_0xa478a9(0x142)](_0x50ae0c)){_0x29a60e('(');const _0x5722d5=_0x44a208[_0x52dd1a];if(!_0x5722d5||_0xab6b72[_0xa478a9(0x257)](_0x5722d5[_0xa478a9(0x1dc)],_0xab6b72[_0xa478a9(0x34f)]))throw new DslError('malformed',_0xa478a9(0x2be));return _0x52dd1a++,_0xab6b72[_0xa478a9(0x304)](_0x29a60e,')'),{'kind':_0xab6b72['knYOq'],'field':_0x5722d5[_0xa478a9(0x1e2)]};}const _0x2bdef5=_0x44a208[_0x52dd1a];if(_0x5b0b02(_0x2bdef5,/^in$/i)&&_0x44a208[_0xab6b72[_0xa478a9(0x1aa)](_0x52dd1a,0x1)]&&_0x44a208[_0xab6b72[_0xa478a9(0x2c7)](_0x52dd1a,0x1)]['type']==='('&&!splitFieldOp(_0x50ae0c)){_0x52dd1a+=0x2;const _0x46bf95=[];for(;;){if(_0xab6b72[_0xa478a9(0x257)](_0xab6b72[_0xa478a9(0x2c2)],_0xab6b72[_0xa478a9(0x2c2)]))throw new _0x4dd529(_0x13d056[_0xa478a9(0x336)],_0x5d498d[_0xa478a9(0x34e)]+_0xa478a9(0x2d4)+_0x2aebfb,{'field':_0x194ac2});else{const _0x24f472=_0x44a208[_0x52dd1a];if(!_0x24f472)throw new DslError(_0xa478a9(0x2b9),_0xa478a9(0x1c6));if(_0xab6b72[_0xa478a9(0xe8)](_0x24f472[_0xa478a9(0x1dc)],')')){_0x52dd1a++;break;}if(_0xab6b72[_0xa478a9(0x379)](_0x24f472['type'],',')){_0x52dd1a++;continue;}if(_0x24f472['type']===_0xab6b72['UnzaZ']||_0x24f472[_0xa478a9(0x1dc)]===_0xab6b72['sTqDu']){if(_0xab6b72[_0xa478a9(0x24a)](_0xa478a9(0x24c),'UIIts'))_0x435113[_0xb70479]=_0x2f1f2a[_0x423181];else{_0x46bf95[_0xa478a9(0x314)](unquoteValue(_0x24f472[_0xa478a9(0x1e2)])),_0x52dd1a++;continue;}}throw new DslError(_0xab6b72[_0xa478a9(0x352)],_0xab6b72[_0xa478a9(0x17d)]);}}if(_0xab6b72['YSXgS'](_0x46bf95[_0xa478a9(0x358)],0x0))throw new DslError(_0xab6b72[_0xa478a9(0x352)],_0xab6b72['dCBjy']);return{'kind':'in','field':_0x50ae0c,'values':_0x46bf95};}const _0x3f5381=splitFieldOp(_0x50ae0c);if(_0x3f5381){let _0x4a46aa=_0x3f5381[_0xa478a9(0x1e2)];if(_0x4a46aa===''){if(_0xab6b72[_0xa478a9(0xc2)](_0xab6b72['TtrZA'],_0xab6b72[_0xa478a9(0xb4)])){_0x355e5a[_0xa478a9(0x193)](_0xab6b72[_0xa478a9(0x37c)]);return;}else{const _0x4c5e62=_0x44a208[_0x52dd1a];if(_0x4c5e62&&_0xab6b72['PKNYf'](_0x4c5e62[_0xa478a9(0x1dc)],_0xa478a9(0x2cd)))_0x4a46aa=_0x4c5e62['value'],_0x52dd1a++;else throw new DslError('malformed',_0xa478a9(0x1e3)+_0x3f5381[_0xa478a9(0x159)]+_0x3f5381['op']+'\x22');}}else _0x4a46aa=_0xab6b72[_0xa478a9(0x35d)](unquoteValue,_0x4a46aa);return{'kind':_0xab6b72[_0xa478a9(0x248)],'field':_0x3f5381[_0xa478a9(0x159)],'cmp':_0x3f5381['cmp'],'value':_0x4a46aa};}return{'kind':_0xab6b72[_0xa478a9(0x2df)],'value':_0x50ae0c};}const _0x555d75=_0xab6b72[_0x14cb2e(0x20b)](_0x56f8bc);if(_0xab6b72[_0x14cb2e(0x11f)](_0x52dd1a,_0x44a208[_0x14cb2e(0x358)])){const _0x3e0a83=_0x44a208[_0x52dd1a];throw new DslError(_0xab6b72[_0x14cb2e(0x352)],_0x14cb2e(0x1cf)+(_0x3e0a83[_0x14cb2e(0x1e2)]||_0x3e0a83[_0x14cb2e(0x1dc)])+'\x22');}return _0x555d75;}function flattenAstLeaves(_0x3ca281,_0x3f8d31=[]){const _0x39bd7e=_0x1ff458,_0x1cb9d4={'KPFhX':function(_0x2f0fb0,_0x30a4d1){return _0x2f0fb0===_0x30a4d1;},'WjWJx':function(_0x3fa8eb,_0x48ff71){return _0x3fa8eb<_0x48ff71;},'oxSUS':function(_0x42b861,_0xea259){return _0x42b861>_0xea259;},'ykPKC':function(_0x3e3bbf,_0x55ac49){return _0x3e3bbf+_0x55ac49;},'dlbYd':_0x39bd7e(0x215),'ykrxU':function(_0x51af4b,_0x1a648e){return _0x51af4b!==_0x1a648e;},'fJBzo':_0x39bd7e(0x1ff),'JMXcx':_0x39bd7e(0x2dc),'ZkHNW':function(_0x3f2517,_0x204b76,_0x295a02){return _0x3f2517(_0x204b76,_0x295a02);}};if(!_0x3ca281)return _0x3f8d31;if(_0x1cb9d4[_0x39bd7e(0xdb)](_0x3ca281['op'],_0x1cb9d4[_0x39bd7e(0x1c5)])||_0x3ca281['op']==='or'){if(_0x1cb9d4[_0x39bd7e(0x205)](_0x1cb9d4[_0x39bd7e(0x2ef)],_0x1cb9d4['fJBzo'])){let _0xece585=null;for(const {tok:_0x1b86f0,cmp:_0x2d53c4}of _0x26f125){const _0x108e7c=_0x553418[_0x39bd7e(0x10e)](_0x1b86f0);_0x108e7c>0x0&&(_0x1cb9d4[_0x39bd7e(0xdb)](_0xece585,null)||_0x1cb9d4[_0x39bd7e(0x13b)](_0x108e7c,_0xece585[_0x39bd7e(0x2ac)])||_0x108e7c===_0xece585[_0x39bd7e(0x2ac)]&&_0x1cb9d4['oxSUS'](_0x1b86f0[_0x39bd7e(0x358)],_0xece585[_0x39bd7e(0x334)]['length']))&&(_0xece585={'idx':_0x108e7c,'tok':_0x1b86f0,'cmp':_0x2d53c4});}if(!_0xece585)return null;const _0x1ac3ee=_0x2cc595[_0x39bd7e(0x29b)](0x0,_0xece585[_0x39bd7e(0x2ac)]);if(!/^[A-Za-z_][A-Za-z0-9_.-]*$/[_0x39bd7e(0x142)](_0x1ac3ee))return null;return{'field':_0x1ac3ee,'cmp':_0xece585[_0x39bd7e(0x32b)],'op':_0xece585[_0x39bd7e(0x334)],'value':_0x1452f3[_0x39bd7e(0x29b)](_0x1cb9d4[_0x39bd7e(0x25d)](_0xece585[_0x39bd7e(0x2ac)],_0xece585[_0x39bd7e(0x334)][_0x39bd7e(0x358)]))};}else return _0x3ca281['children'][_0x39bd7e(0xb9)](_0x37a3db=>flattenAstLeaves(_0x37a3db,_0x3f8d31)),_0x3f8d31;}if(_0x1cb9d4[_0x39bd7e(0xdb)](_0x3ca281['op'],_0x1cb9d4[_0x39bd7e(0x2ae)]))return _0x1cb9d4[_0x39bd7e(0x12f)](flattenAstLeaves,_0x3ca281['child'],_0x3f8d31),_0x3f8d31;return _0x3f8d31[_0x39bd7e(0x314)](_0x3ca281),_0x3f8d31;}const RANGE_CMPS=new Set(['gt',_0x1ff458(0x176),'lt','lte']);function isRangeableField(_0x292fb7){const _0x4f0a94=_0x1ff458,_0x43e130={'RWBbh':function(_0x50ac7f,_0x1c8175){return _0x50ac7f===_0x1c8175;},'yDjHh':_0x4f0a94(0x368)};return isKvnPath(_0x292fb7)||LOG_NUMERIC_FIELDS[_0x4f0a94(0x135)](_0x292fb7)||_0x43e130[_0x4f0a94(0x2b4)](_0x292fb7,_0x43e130[_0x4f0a94(0xeb)]);}function isKnownField(_0x2d50f5,_0x49ab76){const _0xfbaf87=_0x1ff458,_0x210982={'rkRYP':function(_0x10b954,_0x5749d9){return _0x10b954===_0x5749d9;},'hnFHY':'timestamp','LqLuj':function(_0x2caa77,_0x56279d){return _0x2caa77(_0x56279d);}};return _0x2d50f5===_0xfbaf87(0x1a9)||_0x210982[_0xfbaf87(0x376)](_0x2d50f5,_0x210982[_0xfbaf87(0x317)])||LOG_FIELD_ALLOWLIST['has'](_0x2d50f5)||_0x210982[_0xfbaf87(0x1b2)](isKvPath,_0x2d50f5)||isKvnPath(_0x2d50f5)||_0x49ab76&&_0x49ab76[_0xfbaf87(0x135)](_0x2d50f5);}function validateWhereAst(_0x5ae8fc,_0x1697a8,_0x4c4f10,_0x2a33eb=![]){const _0x6148bb=_0x1ff458,_0x226311={'kTMaV':_0x6148bb(0xc0),'jbfQx':function(_0x35d545,_0x5d9752){return _0x35d545===_0x5d9752;},'iGCnR':'avg','ojins':_0x6148bb(0x350),'BSauD':_0x6148bb(0x114),'JROYs':function(_0x1208fa,_0x358386){return _0x1208fa===_0x358386;},'zwKNf':_0x6148bb(0x37f),'IPBeI':'p99','UVkyi':function(_0x1c942a,_0x53a03e,_0x2047f7){return _0x1c942a(_0x53a03e,_0x2047f7);},'xZpai':'phrase','aOWyT':function(_0x5ee7d9,_0x35f1b9){return _0x5ee7d9===_0x35f1b9;},'WwCZm':_0x6148bb(0x243),'hNbsP':function(_0x4d1f5e,_0x17bf1f,_0x37d524){return _0x4d1f5e(_0x17bf1f,_0x37d524);},'ikuHt':_0x6148bb(0x128),'UDDYD':function(_0xa1b665,_0xb5e397){return _0xa1b665===_0xb5e397;},'osnco':_0x6148bb(0x215),'IFgSX':function(_0x480f30,_0x418823){return _0x480f30===_0x418823;},'CiUPN':function(_0x80b943,_0x20d732){return _0x80b943===_0x20d732;},'tquqf':'TyrxX','fjRkf':function(_0x3c3115,_0x3ac3f3){return _0x3c3115===_0x3ac3f3;},'xuYjm':_0x6148bb(0x2dc),'zoHfb':_0x6148bb(0x33a),'EFAtp':function(_0x3a8961,_0x1cc7e6){return _0x3a8961!==_0x1cc7e6;},'taIuv':_0x6148bb(0x2b1),'FbAei':function(_0x61ca91,_0x344ba0){return _0x61ca91===_0x344ba0;},'RkCpi':_0x6148bb(0x2a9),'jXVoj':_0x6148bb(0x1e9),'IVHPj':_0x6148bb(0x210),'KHmCW':function(_0x43791f,_0x2305f6){return _0x43791f!==_0x2305f6;},'VDqSX':_0x6148bb(0x2b9),'KzWVF':function(_0x3a9d6d,_0x42bd73,_0x5001fb,_0x5a9caa,_0x1238a3){return _0x3a9d6d(_0x42bd73,_0x5001fb,_0x5a9caa,_0x1238a3);},'ejEUA':_0x6148bb(0x20d),'AHGVV':_0x6148bb(0x159),'mXaqc':function(_0x25025c,_0x2bb9e2){return _0x25025c===_0x2bb9e2;},'kErlW':'VIIVZ','tojJI':function(_0x2b5a6f,_0x1b16af){return _0x2b5a6f===_0x1b16af;},'PvTTk':function(_0x189c9f,_0x431a41){return _0x189c9f===_0x431a41;},'lqkMs':function(_0x36fc9c,_0x482b31){return _0x36fc9c===_0x482b31;},'aZoda':_0x6148bb(0xb3),'vbFMm':function(_0x30cf3d,_0x27d612){return _0x30cf3d===_0x27d612;},'KCjAP':_0x6148bb(0xc4),'RXXvR':function(_0x551bf7,_0x29cfd7){return _0x551bf7===_0x29cfd7;},'IuYek':_0x6148bb(0x198)};if(!_0x5ae8fc)return;if(_0x226311[_0x6148bb(0x1ca)](_0x5ae8fc['op'],_0x226311[_0x6148bb(0xcb)])){_0x5ae8fc['children'][_0x6148bb(0xb9)](_0x1d76b0=>validateWhereAst(_0x1d76b0,_0x1697a8,_0x4c4f10,_0x2a33eb));return;}if(_0x226311[_0x6148bb(0xe7)](_0x5ae8fc['op'],'or')){if(_0x226311[_0x6148bb(0x240)](_0x226311[_0x6148bb(0x103)],_0x226311[_0x6148bb(0x103)])){_0x5ae8fc[_0x6148bb(0x332)]['forEach'](_0x567d16=>validateWhereAst(_0x567d16,_0x1697a8,_0x4c4f10,!![]));return;}else{if(_0x1678c4[_0x6148bb(0x358)]===0x0)return null;if(_0x5a1f17===_0x226311[_0x6148bb(0x313)])return _0x69aa8c[_0x6148bb(0x21b)]((_0x41d38e,_0x455ae9)=>_0x41d38e+_0x455ae9,0x0);if(_0x226311['jbfQx'](_0x34f3e9,_0x226311[_0x6148bb(0x137)]))return _0x22b159[_0x6148bb(0x21b)]((_0x445a0d,_0x55b177)=>_0x445a0d+_0x55b177,0x0)/_0x31ae1c['length'];if(_0x4959b0===_0x226311[_0x6148bb(0x2b3)])return _0xcc51de['min'](..._0x3eac01);if(_0x226311[_0x6148bb(0x2da)](_0x802c8,_0x226311[_0x6148bb(0xed)]))return _0xd3fadb[_0x6148bb(0x114)](..._0x8a45c1);const _0x5c1a20=_0xcb19c5[_0x6148bb(0x29b)]()[_0x6148bb(0x118)]((_0x2a68ce,_0xb25286)=>_0x2a68ce-_0xb25286);if(_0x226311['JROYs'](_0x25119c,_0x226311[_0x6148bb(0x131)]))return _0x6ff53(_0x5c1a20,0x5f);if(_0x226311[_0x6148bb(0x2da)](_0x29ee1f,_0x226311[_0x6148bb(0x360)]))return _0x226311['UVkyi'](_0xe77a26,_0x5c1a20,0x63);return null;}}if(_0x226311[_0x6148bb(0x155)](_0x5ae8fc['op'],_0x226311['xuYjm'])){validateWhereAst(_0x5ae8fc[_0x6148bb(0x37e)],_0x1697a8,_0x4c4f10,!![]);return;}if(_0x5ae8fc[_0x6148bb(0x34e)]===_0x226311[_0x6148bb(0x2de)]){if(_0x226311[_0x6148bb(0x265)](_0x226311[_0x6148bb(0x2f9)],'KNLig')){if(!_0x4c4f10[_0x6148bb(0x2fa)])throw new DslError('regex','regex\x20não\x20é\x20suportada\x20no\x20dataset\x20'+_0x4c4f10[_0x6148bb(0x375)]);if(_0x2a33eb)throw new DslError(_0x226311[_0x6148bb(0x2de)],_0x6148bb(0x361));return;}else{const _0x3c5c67=_0x226311[_0x6148bb(0x319)](_0x5cefa3[_0x6148bb(0x34e)],'phrase');if(_0x226311['JROYs'](_0x5ab73c['name'],'requests'))return{'multi_match':{'query':_0x453eea[_0x6148bb(0x1e2)],'fields':_0x590ff3,'type':_0x3c5c67?_0x226311[_0x6148bb(0x1ee)]:'best_fields'}};if(_0x226311[_0x6148bb(0x2da)](_0xc5c87d[_0x6148bb(0x375)],_0x6148bb(0x16a))||_0x226311['aOWyT'](_0x347798[_0x6148bb(0x375)],_0x226311['WwCZm']))return _0x226311[_0x6148bb(0x225)](_0x23bd04,_0x2e2c0d['value'],_0x3c5c67);return _0x3c5c67?{'match_phrase':{'message':_0x4ad8b4[_0x6148bb(0x1e2)]}}:{'match':{'message':_0x13575f[_0x6148bb(0x1e2)]}};}}if(_0x226311['FbAei'](_0x5ae8fc[_0x6148bb(0x34e)],_0x226311[_0x6148bb(0x36d)])){if(_0x226311[_0x6148bb(0x265)](_0x226311[_0x6148bb(0x224)],_0x226311[_0x6148bb(0x349)])){if(_0x226311[_0x6148bb(0x2ff)](_0x4c4f10[_0x6148bb(0x375)],_0x226311[_0x6148bb(0x15c)]))throw new DslError(_0x226311[_0x6148bb(0x289)],_0x6148bb(0x381)+_0x4c4f10[_0x6148bb(0x375)]+')');if(_0x2a33eb)throw new DslError(_0x226311['VDqSX'],_0x226311[_0x6148bb(0x2a4)]);_0x226311[_0x6148bb(0x1ce)](validateWhereAst,_0x5ae8fc[_0x6148bb(0x2b6)],_0x1697a8,DATASET_PROFILES[_0x6148bb(0x16a)],![]);return;}else return _0x3285a9(_0x328ebc)||_0x40e5bb[_0x6148bb(0x135)](_0x3c37b5)||_0x226311[_0x6148bb(0x2da)](_0x5dc293,_0x6148bb(0x368));}if(_0x226311[_0x6148bb(0x1ca)](_0x5ae8fc['kind'],_0x226311[_0x6148bb(0x1ee)])||_0x5ae8fc[_0x6148bb(0x34e)]===_0x226311[_0x6148bb(0x1b5)])return;const _0x57cb42=_0x5ae8fc['field'];if(!_0x4c4f10[_0x6148bb(0xcc)](_0x57cb42,_0x1697a8))throw new DslError(_0x226311[_0x6148bb(0x164)],'campo\x20não\x20permitido:\x20'+_0x57cb42,{'field':_0x57cb42});if(isPayloadPath(_0x57cb42)&&_0x2a33eb){if(_0x226311[_0x6148bb(0x337)](_0x226311['kErlW'],_0x226311['kErlW']))throw new DslError(_0x6148bb(0x159),_0x57cb42+'\x20(campo\x20do\x20payload)\x20só\x20é\x20suportado\x20em\x20cláusulas\x20AND\x20de\x20topo\x20(sem\x20OR/NOT)',{'field':_0x57cb42});else{_0x229190--;if(_0x226311[_0x6148bb(0xfc)](_0x2ac747,0x0))return _0xba04e5;}}const _0xaea758=_0x4c4f10['info'](_0x57cb42)||{};if(_0x226311[_0x6148bb(0x116)](_0x5ae8fc[_0x6148bb(0x34e)],_0x226311['AHGVV'])&&RANGE_CMPS[_0x6148bb(0x135)](_0x5ae8fc[_0x6148bb(0x32b)])&&!_0x4c4f10[_0x6148bb(0x291)](_0x57cb42))throw new DslError(_0x6148bb(0x159),_0x6148bb(0xff)+_0x57cb42+_0x6148bb(0x22c),{'field':_0x57cb42});if(_0x226311[_0x6148bb(0xfc)](_0x5ae8fc[_0x6148bb(0x34e)],_0x226311['AHGVV'])&&_0x226311[_0x6148bb(0x240)](_0x5ae8fc[_0x6148bb(0x32b)],_0x6148bb(0x2a9))&&(_0x226311[_0x6148bb(0x116)](_0xaea758[_0x6148bb(0x1dc)],_0x6148bb(0x230))||_0x226311['PvTTk'](_0xaea758['type'],'date')||_0x226311[_0x6148bb(0xc9)](_0xaea758[_0x6148bb(0x1dc)],_0x226311[_0x6148bb(0x187)])))throw new DslError(_0x226311[_0x6148bb(0x164)],'contém\x20(~)\x20não\x20se\x20aplica\x20a\x20campo\x20numérico/tempo:\x20'+_0x57cb42,{'field':_0x57cb42});if((_0x226311[_0x6148bb(0x125)](_0x5ae8fc[_0x6148bb(0x34e)],'in')||_0x226311['vbFMm'](_0x5ae8fc['kind'],_0x226311[_0x6148bb(0x12e)]))&&_0x226311[_0x6148bb(0x1f0)](_0xaea758[_0x6148bb(0x1dc)],_0x6148bb(0x1d1)))throw new DslError(_0x226311[_0x6148bb(0x164)],_0x5ae8fc[_0x6148bb(0x34e)]+'(...)\x20não\x20se\x20aplica\x20a\x20'+_0x57cb42,{'field':_0x57cb42});if(_0x226311['CiUPN'](_0x5ae8fc[_0x6148bb(0x34e)],_0x226311[_0x6148bb(0x164)])&&_0x226311['PvTTk'](_0xaea758[_0x6148bb(0x1dc)],_0x6148bb(0x2f2))&&!RANGE_CMPS[_0x6148bb(0x135)](_0x5ae8fc[_0x6148bb(0x32b)])){if(_0x226311[_0x6148bb(0x240)](_0x6148bb(0x198),_0x226311[_0x6148bb(0x1ae)]))throw new DslError(_0x6148bb(0x159),_0x57cb42+'\x20aceita\x20apenas\x20ranges\x20(>,\x20>=,\x20<,\x20<=)',{'field':_0x57cb42});else throw new _0x5a0bb0('malformed',_0x226311[_0x6148bb(0x2a4)]);}}function fieldPathInfo(_0x33a6da){const _0x5a3240=_0x1ff458,_0x20e06a={'czEKo':function(_0x5b1de1,_0x1d85e0){return _0x5b1de1===_0x1d85e0;},'yYhRV':_0x5a3240(0x368),'kDemm':_0x5a3240(0x2f2),'iqNZX':_0x5a3240(0x230),'lzeiD':function(_0x136c0b,_0x5ed50b){return _0x136c0b(_0x5ed50b);},'Aofdk':_0x5a3240(0x154),'FJgiD':_0x5a3240(0x1a9),'KvWqJ':_0x5a3240(0x1d1),'YscpZ':_0x5a3240(0xb8)},_0x5edc29=_0x5a3240(0x2d7)[_0x5a3240(0x297)]('|');let _0x43b0c5=0x0;while(!![]){switch(_0x5edc29[_0x43b0c5++]){case'0':if(_0x20e06a[_0x5a3240(0x1f8)](_0x33a6da,_0x20e06a[_0x5a3240(0xb5)]))return{'path':TIME_FIELD,'type':_0x20e06a[_0x5a3240(0x35e)],'existsPath':TIME_FIELD};continue;case'1':if(isKvnPath(_0x33a6da))return{'path':_0x33a6da,'type':_0x20e06a[_0x5a3240(0xba)],'existsPath':_0x33a6da};continue;case'2':if(_0x20e06a['lzeiD'](isKvPath,_0x33a6da))return{'path':_0x33a6da,'type':'kv','existsPath':_0x33a6da};continue;case'3':return{'path':_0x33a6da+'.keyword','type':_0x20e06a[_0x5a3240(0xd1)],'existsPath':_0x33a6da};case'4':if(_0x20e06a[_0x5a3240(0x1f8)](_0x33a6da,_0x20e06a['FJgiD']))return{'path':_0x5a3240(0x1a9),'type':_0x20e06a['KvWqJ'],'keywordPath':_0x20e06a[_0x5a3240(0x161)],'existsPath':_0x5a3240(0x1a9)};continue;case'5':if(LOG_NUMERIC_FIELDS[_0x5a3240(0x135)](_0x33a6da))return{'path':_0x33a6da,'type':_0x20e06a['iqNZX'],'existsPath':_0x33a6da};continue;}break;}}const REQUESTS_FIELD_MAP={'serviceName':{'path':'service.name.keyword','type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x277)},'service':{'path':_0x1ff458(0x1f5),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x277)},'method':{'path':_0x1ff458(0x2f6),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x31a),'upper':!![]},'path':{'path':_0x1ff458(0xf2),'type':'text','keywordPath':_0x1ff458(0x2b2),'existsPath':_0x1ff458(0xf2)},'body':{'path':_0x1ff458(0x30a),'type':'text','keywordPath':_0x1ff458(0x1d9),'existsPath':'request.body'},'response':{'path':_0x1ff458(0x2a3),'type':_0x1ff458(0x1d1),'keywordPath':'response.result.keyword','existsPath':_0x1ff458(0x2a3)},'statusCode':{'path':_0x1ff458(0x1d3),'type':_0x1ff458(0x230),'existsPath':_0x1ff458(0x1d3)},'duration':{'path':_0x1ff458(0x35f),'type':_0x1ff458(0x230),'existsPath':_0x1ff458(0x35f)},'durationMs':{'path':_0x1ff458(0x35f),'type':_0x1ff458(0x230),'existsPath':_0x1ff458(0x35f)},'uuid':{'path':_0x1ff458(0x21c),'type':'keyword','existsPath':_0x1ff458(0x1ac)},'correlationId':{'path':'correlationId.keyword','type':_0x1ff458(0x154),'existsPath':'correlationId'},'traceId':{'path':'traceId.keyword','type':'keyword','existsPath':'traceId'},'gatewayId':{'path':_0x1ff458(0x308),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x156)},'remoteAddress':{'path':_0x1ff458(0x216),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x2e3)},'timestamp':{'path':_0x1ff458(0xee),'type':'date','existsPath':_0x1ff458(0xee)}},SPANS_FIELD_MAP={'service':{'path':_0x1ff458(0x287),'type':'keyword','existsPath':'service'},'name':{'path':_0x1ff458(0x375),'type':_0x1ff458(0x1d1),'keywordPath':_0x1ff458(0x196),'existsPath':'name'},'kind':{'path':_0x1ff458(0x126),'type':'keyword','existsPath':_0x1ff458(0x34e)},'gatewayId':{'path':_0x1ff458(0x308),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x156)},'clientId':{'path':'clientId.keyword','type':'keyword','existsPath':_0x1ff458(0x27d)},'traceId':{'path':_0x1ff458(0x178),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x32f)},'spanId':{'path':_0x1ff458(0x300),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x22b)},'parentSpanId':{'path':_0x1ff458(0x30c),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x1be)},'correlationId':{'path':_0x1ff458(0x16d),'type':'keyword','existsPath':_0x1ff458(0x293)},'requestId':{'path':_0x1ff458(0x200),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x120)},'flowId':{'path':_0x1ff458(0x1e6),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x17f)},'statusCode':{'path':'statusCode','type':_0x1ff458(0x230),'existsPath':_0x1ff458(0x282)},'durationMs':{'path':'durationMs','type':_0x1ff458(0x230),'existsPath':_0x1ff458(0x279)},'hasError':{'path':_0x1ff458(0x208),'type':_0x1ff458(0xb3),'existsPath':_0x1ff458(0x208)},'timestamp':{'path':'@timestamp','type':_0x1ff458(0x2f2),'existsPath':_0x1ff458(0x16c)},'language':{'path':_0x1ff458(0x152),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x321)},'env':{'path':_0x1ff458(0x2ce),'type':'keyword','existsPath':_0x1ff458(0x117)},'version':{'path':_0x1ff458(0x35c),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x34b)},'host':{'path':_0x1ff458(0x222),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x1b9)}},TRACES_FIELD_MAP={'serviceName':SPANS_FIELD_MAP[_0x1ff458(0x190)],'service':SPANS_FIELD_MAP[_0x1ff458(0x190)],'name':SPANS_FIELD_MAP[_0x1ff458(0x375)],'gatewayId':SPANS_FIELD_MAP['gatewayId'],'clientId':SPANS_FIELD_MAP[_0x1ff458(0x27d)],'traceId':SPANS_FIELD_MAP[_0x1ff458(0x32f)],'correlationId':SPANS_FIELD_MAP['correlationId'],'requestId':SPANS_FIELD_MAP[_0x1ff458(0x120)],'statusCode':SPANS_FIELD_MAP[_0x1ff458(0x282)],'durationMs':SPANS_FIELD_MAP[_0x1ff458(0x279)],'hasError':SPANS_FIELD_MAP[_0x1ff458(0x208)],'timestamp':SPANS_FIELD_MAP[_0x1ff458(0x368)],'language':SPANS_FIELD_MAP[_0x1ff458(0x321)],'env':SPANS_FIELD_MAP['env'],'version':SPANS_FIELD_MAP[_0x1ff458(0x34b)],'host':SPANS_FIELD_MAP[_0x1ff458(0x1b9)]},METRICS_FIELD_MAP={'name':{'path':_0x1ff458(0x196),'type':'keyword','existsPath':_0x1ff458(0x375)},'type':{'path':_0x1ff458(0x30b),'type':'keyword','existsPath':_0x1ff458(0x1dc)},'unit':{'path':_0x1ff458(0x23b),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x13f)},'value':{'path':_0x1ff458(0x1e2),'type':_0x1ff458(0x230),'existsPath':_0x1ff458(0x1e2)},'count':{'path':'count','type':'numeric','existsPath':_0x1ff458(0x199)},'sum':{'path':_0x1ff458(0xc0),'type':_0x1ff458(0x230),'existsPath':'sum'},'min':{'path':_0x1ff458(0x350),'type':'numeric','existsPath':'min'},'max':{'path':_0x1ff458(0x114),'type':_0x1ff458(0x230),'existsPath':_0x1ff458(0x114)},'avg':{'path':_0x1ff458(0xca),'type':'numeric','existsPath':_0x1ff458(0xca)},'service':{'path':_0x1ff458(0x287),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x190)},'language':{'path':'language.keyword','type':_0x1ff458(0x154),'existsPath':'language'},'env':{'path':_0x1ff458(0x2ce),'type':_0x1ff458(0x154),'existsPath':'env'},'version':{'path':_0x1ff458(0x35c),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x34b)},'host':{'path':_0x1ff458(0x222),'type':_0x1ff458(0x154),'existsPath':'host'},'gatewayId':{'path':_0x1ff458(0x308),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x156)},'clientId':{'path':_0x1ff458(0x371),'type':_0x1ff458(0x154),'existsPath':_0x1ff458(0x27d)},'timestamp':{'path':_0x1ff458(0x16c),'type':_0x1ff458(0x2f2),'existsPath':_0x1ff458(0x16c)}},ATTRIBUTES_PATH_RE=/^attributes\.[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/;function isAttributesPath(_0x126563){return ATTRIBUTES_PATH_RE['test'](_0x126563);}const DATASET_PROFILES={'logs':{'name':'logs','allowRegex':!![],'timeField':TIME_FIELD,'known':(_0x3e20b1,_0x5997d4)=>isKnownField(_0x3e20b1,_0x5997d4),'rangeable':_0x41cd3e=>isRangeableField(_0x41cd3e),'info':_0x29a7d0=>fieldPathInfo(_0x29a7d0),'groupbyOk':(_0x1afdec,_0x2482af)=>_0x2482af['has'](_0x1afdec)||LOG_FIELD_ALLOWLIST[_0x1ff458(0x135)](_0x1afdec)||isKvPath(_0x1afdec)||isKvnPath(_0x1afdec),'metricOk':(_0x367b12,_0x1b324f)=>_0x1b324f[_0x1ff458(0x135)](_0x367b12)||LOG_NUMERIC_FIELDS[_0x1ff458(0x135)](_0x367b12)||isKvnPath(_0x367b12),'aggPath':(_0x14503f,_0x4e3c50)=>_0x4e3c50[_0x1ff458(0x135)](_0x14503f)||isKvPath(_0x14503f)||isKvnPath(_0x14503f)?_0x14503f:_0x14503f+_0x1ff458(0x17e),'metricPath':_0x126640=>_0x126640},'spans':{'name':_0x1ff458(0x16a),'allowRegex':![],'timeField':'@timestamp','known':_0x34b15a=>Object[_0x1ff458(0x29c)][_0x1ff458(0x207)]['call'](SPANS_FIELD_MAP,_0x34b15a)||isAttributesPath(_0x34b15a),'rangeable':_0x918ece=>{const _0x4cafb6=_0x1ff458,_0x1693f3={'YwNXT':function(_0x4a2b7c,_0x42ac19){return _0x4a2b7c(_0x42ac19);},'naLIJ':function(_0x53b54c,_0x5d3423){return _0x53b54c===_0x5d3423;},'mHfdE':function(_0xecbbc6,_0x49ceba){return _0xecbbc6===_0x49ceba;},'QCWKe':_0x4cafb6(0x2f2)},_0x1769d5=SPANS_FIELD_MAP[_0x918ece];return _0x1693f3[_0x4cafb6(0x242)](Boolean,_0x1769d5&&(_0x1693f3[_0x4cafb6(0x370)](_0x1769d5['type'],_0x4cafb6(0x230))||_0x1693f3[_0x4cafb6(0x235)](_0x1769d5['type'],_0x1693f3[_0x4cafb6(0x17b)])));},'info':_0x4c3ee4=>isAttributesPath(_0x4c3ee4)?{'path':_0x4c3ee4,'type':'kv','existsPath':_0x4c3ee4}:SPANS_FIELD_MAP[_0x4c3ee4],'groupbyOk':_0x636deb=>[_0x1ff458(0x190),_0x1ff458(0x375),_0x1ff458(0x34e),_0x1ff458(0x156),_0x1ff458(0x282),'hasError',_0x1ff458(0x321),_0x1ff458(0x117),_0x1ff458(0x34b),_0x1ff458(0x1b9)][_0x1ff458(0x34a)](_0x636deb),'metricOk':_0x599845=>[_0x1ff458(0x279),_0x1ff458(0x282)][_0x1ff458(0x34a)](_0x599845),'aggPath':_0x43b9a0=>{const _0x301b43=_0x1ff458,_0x19953e=SPANS_FIELD_MAP[_0x43b9a0];return _0x19953e?_0x19953e[_0x301b43(0x144)]||_0x19953e[_0x301b43(0x211)]:_0x43b9a0;},'metricPath':_0x1089fd=>SPANS_FIELD_MAP[_0x1089fd]?SPANS_FIELD_MAP[_0x1089fd]['path']:_0x1089fd},'metrics':{'name':'metrics','allowRegex':![],'timeField':_0x1ff458(0x16c),'known':_0xc1e2b1=>Object[_0x1ff458(0x29c)][_0x1ff458(0x207)][_0x1ff458(0x106)](METRICS_FIELD_MAP,_0xc1e2b1)||isAttributesPath(_0xc1e2b1),'rangeable':_0x2d4ad5=>{const _0x50319f=_0x1ff458,_0xf0c0cf={'JuuVz':function(_0x18a03a,_0x573965){return _0x18a03a(_0x573965);},'PmqqR':function(_0x4cd0f5,_0x4eb1cf){return _0x4cd0f5===_0x4eb1cf;},'uiWEu':'date'},_0xbd22d4=METRICS_FIELD_MAP[_0x2d4ad5];return _0xf0c0cf['JuuVz'](Boolean,_0xbd22d4&&(_0xf0c0cf[_0x50319f(0x1da)](_0xbd22d4['type'],'numeric')||_0xf0c0cf['PmqqR'](_0xbd22d4[_0x50319f(0x1dc)],_0xf0c0cf[_0x50319f(0xf3)])));},'info':_0x3e44e7=>isAttributesPath(_0x3e44e7)?{'path':_0x3e44e7,'type':'kv','existsPath':_0x3e44e7}:METRICS_FIELD_MAP[_0x3e44e7],'groupbyOk':_0x554997=>['name',_0x1ff458(0x1dc),_0x1ff458(0x13f),_0x1ff458(0x190),'language',_0x1ff458(0x117),_0x1ff458(0x34b),_0x1ff458(0x1b9),_0x1ff458(0x156),_0x1ff458(0x27d)][_0x1ff458(0x34a)](_0x554997)||isAttributesPath(_0x554997),'metricOk':_0x5a8656=>['value','count','sum',_0x1ff458(0x350),_0x1ff458(0x114),_0x1ff458(0xca)][_0x1ff458(0x34a)](_0x5a8656),'aggPath':_0xf2641b=>{const _0x564257=_0x1ff458,_0x7b2d0e=METRICS_FIELD_MAP[_0xf2641b];return _0x7b2d0e?_0x7b2d0e[_0x564257(0x211)]:_0xf2641b;},'metricPath':_0x3ccb1a=>METRICS_FIELD_MAP[_0x3ccb1a]?METRICS_FIELD_MAP[_0x3ccb1a][_0x1ff458(0x211)]:_0x3ccb1a},'traces':{'name':_0x1ff458(0x243),'allowRegex':![],'timeField':_0x1ff458(0x16c),'known':_0x1be061=>Object[_0x1ff458(0x29c)][_0x1ff458(0x207)][_0x1ff458(0x106)](TRACES_FIELD_MAP,_0x1be061),'rangeable':_0x3a2d50=>{const _0x4621c3=_0x1ff458,_0x28c4f3={'iWEXN':function(_0x56db4c,_0x14a643){return _0x56db4c(_0x14a643);},'tIeyi':function(_0x565e7e,_0x584c2a){return _0x565e7e===_0x584c2a;},'TBAbH':function(_0x5de6fb,_0x2553fa){return _0x5de6fb===_0x2553fa;},'HnOJb':_0x4621c3(0x2f2)},_0x4d8009=TRACES_FIELD_MAP[_0x3a2d50];return _0x28c4f3['iWEXN'](Boolean,_0x4d8009&&(_0x28c4f3[_0x4621c3(0x1ba)](_0x4d8009[_0x4621c3(0x1dc)],'numeric')||_0x28c4f3[_0x4621c3(0x179)](_0x4d8009[_0x4621c3(0x1dc)],_0x28c4f3[_0x4621c3(0x232)])));},'info':_0x31881d=>TRACES_FIELD_MAP[_0x31881d],'groupbyOk':_0x5491f9=>['serviceName','service','gatewayId',_0x1ff458(0x282),_0x1ff458(0x321),'env',_0x1ff458(0x34b),_0x1ff458(0x1b9)][_0x1ff458(0x34a)](_0x5491f9),'metricOk':_0x5d1870=>[_0x1ff458(0x279),'statusCode'][_0x1ff458(0x34a)](_0x5d1870),'aggPath':_0x3b7cd6=>TRACES_FIELD_MAP[_0x3b7cd6]?TRACES_FIELD_MAP[_0x3b7cd6]['path']:_0x3b7cd6,'metricPath':_0x3e05ec=>TRACES_FIELD_MAP[_0x3e05ec]?TRACES_FIELD_MAP[_0x3e05ec][_0x1ff458(0x211)]:_0x3e05ec},'requests':{'name':_0x1ff458(0x203),'allowRegex':![],'timeField':_0x1ff458(0xee),'known':_0x3f2af6=>Object[_0x1ff458(0x29c)][_0x1ff458(0x207)][_0x1ff458(0x106)](REQUESTS_FIELD_MAP,_0x3f2af6)||isPayloadPath(_0x3f2af6),'rangeable':_0x52ff63=>{const _0x2ba9b5=_0x1ff458,_0x53dcbd={'QxYqe':function(_0x5a1949,_0x454415){return _0x5a1949(_0x454415);},'kkoSE':function(_0x3d3bb4,_0x367222){return _0x3d3bb4===_0x367222;},'AiiTa':function(_0x50859d,_0x3abb51){return _0x50859d===_0x3abb51;},'pDvdN':_0x2ba9b5(0x2f2)},_0x4c6978=REQUESTS_FIELD_MAP[_0x52ff63];return isPayloadPath(_0x52ff63)||_0x53dcbd[_0x2ba9b5(0x2d0)](Boolean,_0x4c6978&&(_0x53dcbd[_0x2ba9b5(0xd4)](_0x4c6978[_0x2ba9b5(0x1dc)],_0x2ba9b5(0x230))||_0x53dcbd['AiiTa'](_0x4c6978['type'],_0x53dcbd[_0x2ba9b5(0x284)])));},'info':_0x37ced4=>REQUESTS_FIELD_MAP[_0x37ced4],'groupbyOk':_0xd72495=>[_0x1ff458(0x383),_0x1ff458(0x190),_0x1ff458(0x37b),_0x1ff458(0x282),_0x1ff458(0x156),_0x1ff458(0x211)]['includes'](_0xd72495)||isPayloadPath(_0xd72495),'metricOk':_0x4c1639=>[_0x1ff458(0x315),'durationMs','statusCode'][_0x1ff458(0x34a)](_0x4c1639)||isPayloadPath(_0x4c1639),'aggPath':_0x2d2af8=>{const _0x2f9597=_0x1ff458,_0x3c1883=REQUESTS_FIELD_MAP[_0x2d2af8];return _0x3c1883?_0x3c1883[_0x2f9597(0x144)]||_0x3c1883[_0x2f9597(0x211)]:_0x2d2af8;},'metricPath':_0x24e67a=>REQUESTS_FIELD_MAP[_0x24e67a]?REQUESTS_FIELD_MAP[_0x24e67a]['path']:_0x24e67a}};function aggPathFor(_0x5bf42d,_0x13c399,_0x4a0017){const _0x4e194e=_0x1ff458,_0x3de3d7=DATASET_PROFILES[_0x5bf42d||'logs']||DATASET_PROFILES[_0x4e194e(0x18d)];return _0x3de3d7['aggPath'](_0x13c399,_0x4a0017||new Set());}function timeFieldFor(_0x140540){const _0x11e7c7=_0x1ff458,_0x122871={'tBhHd':function(_0x3fe660,_0x17d22f){return _0x3fe660||_0x17d22f;},'iQyWa':_0x11e7c7(0x18d)};return(DATASET_PROFILES[_0x122871[_0x11e7c7(0x2aa)](_0x140540,_0x122871['iQyWa'])]||DATASET_PROFILES['logs'])[_0x11e7c7(0x1ea)];}const REQUESTS_HITS_SOURCE=[_0x1ff458(0x1ac),_0x1ff458(0x293),_0x1ff458(0x32f),_0x1ff458(0x156),_0x1ff458(0x277),_0x1ff458(0x31a),'request.url.path',_0x1ff458(0x1d3),_0x1ff458(0x173)];function toNumberOrThrow(_0x479da2,_0x3b52c1){const _0x578f9e=_0x1ff458,_0xc6984e={'oIIeB':function(_0x131c01,_0x3c8b18){return _0x131c01(_0x3c8b18);},'IRdme':_0x578f9e(0x159)},_0x22264d=_0xc6984e[_0x578f9e(0xef)](Number,_0x3b52c1);if(!Number[_0x578f9e(0x218)](_0x22264d))throw new DslError(_0xc6984e[_0x578f9e(0x27c)],'valor\x20numérico\x20inválido\x20para\x20'+_0x479da2+':\x20'+_0x3b52c1,{'field':_0x479da2});return _0x22264d;}const REQUESTS_TEXT_FIELDS=[_0x1ff458(0x1a0),_0x1ff458(0x344),_0x1ff458(0xf2),_0x1ff458(0x30a),_0x1ff458(0x2a3),_0x1ff458(0x1ac)];function spanTextClause(_0x10c298,_0xe752e7){const _0x373060=_0x1ff458,_0x116457={'toWTQ':function(_0x3edd80,_0x258bbc){return _0x3edd80(_0x258bbc);},'QKsaE':_0x373060(0x196),'UDLiD':'traceId.keyword','leDId':_0x373060(0x16d),'PMHet':_0x373060(0x200),'ISTLl':function(_0x4fe89c,_0x380275){return _0x4fe89c(_0x380275);},'vFTJr':_0x373060(0x300),'jIhIj':_0x373060(0x1e6),'oyTaH':function(_0x17897e,_0x2bb827){return _0x17897e(_0x2bb827);},'ukEsM':_0x373060(0x287),'MkMhV':function(_0x3747a0,_0x5dbf39){return _0x3747a0(_0x5dbf39);},'BAzcE':function(_0x357042,_0x187720){return _0x357042(_0x187720);},'mAXNp':'clientId.keyword'},_0xd08661=_0x14db0c=>({'wildcard':{[_0x14db0c]:{'value':'*'+_0x10c298+'*','case_insensitive':!![]}}});return{'bool':{'should':[_0xe752e7?{'match_phrase':{'name':_0x10c298}}:{'match':{'name':{'query':_0x10c298,'boost':0x3}}},_0x116457[_0x373060(0x270)](_0xd08661,_0x116457['QKsaE']),_0x116457['toWTQ'](_0xd08661,_0x116457[_0x373060(0x373)]),_0xd08661(_0x116457[_0x373060(0x385)]),_0xd08661(_0x116457[_0x373060(0x2f1)]),_0x116457[_0x373060(0x1ab)](_0xd08661,_0x116457[_0x373060(0xf9)]),_0xd08661(_0x116457[_0x373060(0x100)]),_0x116457[_0x373060(0x147)](_0xd08661,_0x116457['ukEsM']),_0x116457[_0x373060(0x10b)](_0xd08661,_0x373060(0x308)),_0x116457[_0x373060(0x11e)](_0xd08661,_0x116457[_0x373060(0x201)])],'minimum_should_match':0x1}};}function leafToOpenSearch(_0x179991,_0x120bd8){const _0x22b756=_0x1ff458,_0x137679={'oMmFR':function(_0x1e109a,_0x508cc1){return _0x1e109a===_0x508cc1;},'LZnUS':function(_0x5a50c1,_0x243ff2,_0x2cd246){return _0x5a50c1(_0x243ff2,_0x2cd246);},'cOFiU':function(_0x106100,_0xc63628){return _0x106100(_0xc63628);},'MmGwP':function(_0x2cfebf,_0xc75d37){return _0x2cfebf===_0xc75d37;},'hUBDr':function(_0x2fb5a6,_0x2f3a0f,_0x58b75a){return _0x2fb5a6(_0x2f3a0f,_0x58b75a);},'idokO':_0x22b756(0x2a3),'GhbfI':function(_0x27e356,_0x1f314e,_0x251928){return _0x27e356(_0x1f314e,_0x251928);},'XWeuX':'kvn.','ReEsF':function(_0x42dc71,_0x57df8b){return _0x42dc71!==_0x57df8b;},'fQRBt':function(_0x37d812,_0x1b0417){return _0x37d812(_0x1b0417);},'CoerD':function(_0x2c5fda,_0x357ae5){return _0x2c5fda(_0x357ae5);},'TbofK':function(_0x55340f,_0x358ca4){return _0x55340f===_0x358ca4;},'lnATM':function(_0x1abf5b,_0x454bde){return _0x1abf5b>_0x454bde;},'tmEhk':function(_0xb6523e,_0x401ae1){return _0xb6523e>=_0x401ae1;},'qmEzy':function(_0x391c31,_0x22cc9f){return _0x391c31===_0x22cc9f;},'yzEPF':_0x22b756(0x2cd),'bhoXH':_0x22b756(0x129),'GcShH':function(_0x185cd6,_0x457075){return _0x185cd6===_0x457075;},'yNrnc':function(_0x2e1da5,_0x2f4292){return _0x2e1da5===_0x2f4292;},'rOGWD':'spans','lrmOh':function(_0x62fc45,_0x245bbd){return _0x62fc45===_0x245bbd;},'mjLCR':_0x22b756(0x243),'MkXMs':function(_0x53b02b,_0x7c0e9e,_0x464c95){return _0x53b02b(_0x7c0e9e,_0x464c95);},'dZwxq':'regex','SzifX':_0x22b756(0xc4),'HKWVa':_0x22b756(0x22a),'qFGve':function(_0xd3cee7,_0x1f2cfc){return _0xd3cee7===_0x1f2cfc;},'jCIyp':_0x22b756(0x1d1),'jSZfa':function(_0x229ec3,_0x4f9eb2){return _0x229ec3===_0x4f9eb2;},'XmiTo':'numeric','cLxlD':function(_0x469adf,_0x64d87f,_0x1a3f2f){return _0x469adf(_0x64d87f,_0x1a3f2f);},'OROPm':function(_0x32a1ac,_0x521cd1){return _0x32a1ac===_0x521cd1;},'EmxJd':_0x22b756(0x377),'IxKHe':'gte','ySyZP':_0x22b756(0x356),'qleUC':_0x22b756(0x2a9),'qXwCL':function(_0x4e3d7d,_0x37550b){return _0x4e3d7d!==_0x37550b;},'BJFgR':_0x22b756(0xd9),'UkAVN':function(_0x4a2cb6,_0x25e719){return _0x4a2cb6(_0x25e719);},'SrCEM':'malformed'};if(_0x137679[_0x22b756(0xf1)](_0x179991['kind'],_0x137679[_0x22b756(0x2e0)])||_0x179991['kind']==='term'){if(_0x137679[_0x22b756(0x14f)](_0x22b756(0x19d),_0x137679[_0x22b756(0x1fc)])){if(_0x556d86(_0xda9246)){if(_0x137679[_0x22b756(0x14f)](_0x513a7f[_0x22b756(0x1bd)],_0x354dec))_0x2430c1[_0x22b756(0x1bd)]=_0x228135(_0x137679[_0x22b756(0x345)](_0x13dffe,_0x560f6c,'request.body'));return _0x10623b[_0x22b756(0x1bd)]?_0x5e3dba(_0x36ccf6[_0x22b756(0x1bd)],_0x451846['slice'](_0x22b756(0x2bd)[_0x22b756(0x358)])):_0x5c5a4b;}if(_0x137679[_0x22b756(0x30e)](_0x113dcd,_0x57cd95)){if(_0x137679[_0x22b756(0x302)](_0x4e8c33[_0x22b756(0x21d)],_0x2590be))_0x3611ac['response']=_0x137679[_0x22b756(0x30e)](_0x1d541,_0x137679['hUBDr'](_0x5431d8,_0x46e524,_0x137679[_0x22b756(0x182)]));return _0x1f19c2[_0x22b756(0x21d)]?_0x137679['GhbfI'](_0x1dd4e3,_0x44c0df[_0x22b756(0x21d)],_0x645d41['slice'](_0x22b756(0x238)[_0x22b756(0x358)])):_0x53ae5e;}return _0x2dd1e5;}else{const _0x3e66ea=_0x137679[_0x22b756(0xc3)](_0x179991['kind'],_0x137679[_0x22b756(0x2e0)]);if(_0x137679[_0x22b756(0xf1)](_0x120bd8[_0x22b756(0x375)],_0x22b756(0x203)))return{'multi_match':{'query':_0x179991[_0x22b756(0x1e2)],'fields':REQUESTS_TEXT_FIELDS,'type':_0x3e66ea?_0x137679[_0x22b756(0x2e0)]:_0x22b756(0xe9)}};if(_0x137679['yNrnc'](_0x120bd8[_0x22b756(0x375)],_0x137679['rOGWD'])||_0x137679['lrmOh'](_0x120bd8['name'],_0x137679[_0x22b756(0x2e7)]))return _0x137679['MkXMs'](spanTextClause,_0x179991[_0x22b756(0x1e2)],_0x3e66ea);return _0x3e66ea?{'match_phrase':{'message':_0x179991[_0x22b756(0x1e2)]}}:{'match':{'message':_0x179991[_0x22b756(0x1e2)]}};}}if(_0x137679[_0x22b756(0x366)](_0x179991[_0x22b756(0x34e)],_0x137679['dZwxq']))return null;if(_0x137679[_0x22b756(0x14f)](_0x179991[_0x22b756(0x34e)],_0x22b756(0x2a9)))return null;if(_0x179991['field']&&_0x137679[_0x22b756(0x2ea)](isPayloadPath,_0x179991[_0x22b756(0x159)]))return null;const _0x5a6a4a=_0x120bd8[_0x22b756(0x307)](_0x179991['field'])||{},_0x1d9bec=_0x4fb8e0=>_0x5a6a4a[_0x22b756(0x31c)]?String(_0x4fb8e0)[_0x22b756(0x27f)]():_0x4fb8e0;if(_0x137679[_0x22b756(0x347)](_0x179991[_0x22b756(0x34e)],_0x137679[_0x22b756(0x2f7)]))return{'exists':{'field':_0x5a6a4a[_0x22b756(0x2f8)]||_0x179991[_0x22b756(0x159)]}};if(_0x179991[_0x22b756(0x34e)]==='in'){if(_0x137679[_0x22b756(0x354)](_0x22b756(0x281),_0x137679[_0x22b756(0x285)])){const _0x5df657=_0x137679[_0x22b756(0x24f)](_0x5a6a4a[_0x22b756(0x1dc)],_0x22b756(0x230))?_0x179991[_0x22b756(0x1c4)][_0x22b756(0x306)](_0x48b432=>toNumberOrThrow(_0x179991[_0x22b756(0x159)],_0x48b432)):_0x179991['values'][_0x22b756(0x306)](_0x1d9bec);return{'terms':{[_0x5a6a4a[_0x22b756(0x211)]]:_0x5df657}};}else return _0x21fa02[_0x22b756(0x17c)](_0x137679[_0x22b756(0x353)])&&_0x7f7652[_0x22b756(0x135)](_0x2c81af[_0x22b756(0x29b)](0x4));}switch(_0x179991[_0x22b756(0x32b)]){case'eq':if(_0x5a6a4a[_0x22b756(0x1dc)]===_0x137679[_0x22b756(0x28e)])return{'match':{[_0x5a6a4a[_0x22b756(0x211)]]:_0x179991[_0x22b756(0x1e2)]}};if(_0x137679[_0x22b756(0x274)](_0x5a6a4a[_0x22b756(0x1dc)],_0x137679[_0x22b756(0x145)]))return{'term':{[_0x5a6a4a[_0x22b756(0x211)]]:_0x137679[_0x22b756(0x2f0)](toNumberOrThrow,_0x179991[_0x22b756(0x159)],_0x179991[_0x22b756(0x1e2)])}};if(_0x5a6a4a[_0x22b756(0x1dc)]===_0x22b756(0xb3))return{'term':{[_0x5a6a4a[_0x22b756(0x211)]]:_0x137679[_0x22b756(0x2ea)](String,_0x179991[_0x22b756(0x1e2)])[_0x22b756(0x22e)]()==='true'}};return{'term':{[_0x5a6a4a[_0x22b756(0x211)]]:_0x1d9bec(_0x179991[_0x22b756(0x1e2)])}};case'ne':{if(_0x137679['OROPm'](_0x137679['EmxJd'],_0x137679['EmxJd'])){const _0x4e903e=_0x137679[_0x22b756(0x2d1)](leafToOpenSearch,{..._0x179991,'cmp':'eq'},_0x120bd8);return{'bool':{'must_not':[_0x4e903e]}};}else{_0x214f06[_0x22b756(0x15f)]=0x0;const _0x40f2eb=_0x13c77f[_0x22b756(0x2e2)](_0x20d9ff);if(!_0x40f2eb)return{'ok':![],'extracted':_0x38127e};if(_0x40f2eb[_0x22b756(0x1cd)])for(const [_0x4507b3,_0x4c9e1f]of _0x503bdb[_0x22b756(0x157)](_0x40f2eb['groups'])){if(_0x137679[_0x22b756(0x354)](_0x4c9e1f,_0x4eeda1))_0x1fe3f6[_0x4507b3]=_0x4c9e1f;}}}case'gt':case _0x137679['IxKHe']:case'lt':case _0x137679[_0x22b756(0x264)]:{const _0x3d771b=_0x5a6a4a[_0x22b756(0x1dc)]===_0x137679[_0x22b756(0x145)]?toNumberOrThrow(_0x179991[_0x22b756(0x159)],_0x179991[_0x22b756(0x1e2)]):_0x179991[_0x22b756(0x1e2)];return{'range':{[_0x5a6a4a['path']]:{[_0x179991[_0x22b756(0x32b)]]:_0x3d771b}}};}case _0x137679[_0x22b756(0x2cf)]:{const _0x18c501=_0x3c00f6=>({'wildcard':{[_0x3c00f6]:{'value':'*'+_0x179991[_0x22b756(0x1e2)]+'*','case_insensitive':!![]}}});if(_0x5a6a4a[_0x22b756(0x1dc)]===_0x137679['jCIyp']){if(_0x137679[_0x22b756(0x1b1)](_0x137679[_0x22b756(0x25b)],_0x137679['BJFgR'])){const _0x521b01=_0x137679[_0x22b756(0x246)](_0x28299f,_0x23a411),_0x35f9aa=_0x137679[_0x22b756(0x2ea)](_0x20faba,_0x4345b5['value']);if(!_0xe20488[_0x22b756(0x218)](_0x521b01)||!_0x2642c4[_0x22b756(0x218)](_0x35f9aa))return![];return _0x137679['TbofK'](_0x2a0261['cmp'],'gt')?_0x137679[_0x22b756(0x34c)](_0x521b01,_0x35f9aa):_0x24cf99[_0x22b756(0x32b)]==='gte'?_0x137679[_0x22b756(0xcd)](_0x521b01,_0x35f9aa):_0x137679[_0x22b756(0x302)](_0x580e6f[_0x22b756(0x32b)],'lt')?_0x521b01<_0x35f9aa:_0x521b01<=_0x35f9aa;}else return{'bool':{'should':[_0x137679['cOFiU'](_0x18c501,_0x5a6a4a['keywordPath']),{'match_phrase':{[_0x5a6a4a[_0x22b756(0x211)]]:_0x179991[_0x22b756(0x1e2)]}}],'minimum_should_match':0x1}};}return _0x137679[_0x22b756(0x301)](_0x18c501,_0x5a6a4a[_0x22b756(0x211)]);}default:throw new DslError(_0x137679[_0x22b756(0x23d)],_0x22b756(0x2db)+_0x179991[_0x22b756(0x32b)]);}}function astToOpenSearch(_0x8e34cd,_0xd93811){const _0x59b7a0=_0x1ff458,_0x317886={'MCnKI':function(_0x2e9feb,_0x5d9fa4){return _0x2e9feb||_0x5d9fa4;},'Ozmzc':_0x59b7a0(0x18d),'xZvZh':function(_0x496e41,_0x1ad92d){return _0x496e41===_0x1ad92d;},'CzCQu':_0x59b7a0(0x327),'lHmpS':_0x59b7a0(0x2b8),'AwWmr':function(_0x3cd6d1,_0x2f246c){return _0x3cd6d1===_0x2f246c;},'bTRdQ':function(_0x263044,_0x5b2f43){return _0x263044===_0x5b2f43;},'ahlIa':_0x59b7a0(0x2dc),'HmmOx':function(_0x6e8818,_0x606bf2,_0x559da8){return _0x6e8818(_0x606bf2,_0x559da8);},'VdkjK':function(_0x24e49b,_0x38e3f1,_0x1e1446){return _0x24e49b(_0x38e3f1,_0x1e1446);}};if(!_0x8e34cd)return null;if(_0x317886['xZvZh'](_0x8e34cd['op'],_0x59b7a0(0x215))){if(_0x317886[_0x59b7a0(0xb2)]!=='kVeOP')return(_0x506d90[_0x317886[_0x59b7a0(0x180)](_0x4704b2,_0x317886[_0x59b7a0(0x255)])]||_0x35fced['logs'])[_0x59b7a0(0x1ea)];else{const _0x3635fb=_0x8e34cd[_0x59b7a0(0x332)][_0x59b7a0(0x306)](_0x1f9053=>astToOpenSearch(_0x1f9053,_0xd93811))[_0x59b7a0(0x18c)](Boolean);if(_0x317886[_0x59b7a0(0x16e)](_0x3635fb[_0x59b7a0(0x358)],0x0))return null;return _0x3635fb[_0x59b7a0(0x358)]===0x1?_0x3635fb[0x0]:{'bool':{'filter':_0x3635fb}};}}if(_0x317886[_0x59b7a0(0x16e)](_0x8e34cd['op'],'or')){if(_0x317886[_0x59b7a0(0x16e)](_0x59b7a0(0x2b8),_0x317886['lHmpS'])){const _0x3df449=_0x8e34cd[_0x59b7a0(0x332)][_0x59b7a0(0x306)](_0x173fdf=>astToOpenSearch(_0x173fdf,_0xd93811))[_0x59b7a0(0x18c)](Boolean);if(_0x317886[_0x59b7a0(0x111)](_0x3df449['length'],0x0))return null;return{'bool':{'should':_0x3df449,'minimum_should_match':0x1}};}else{const _0x3bb50d=_0x58b902[_0x5ba83f];return _0x3bb50d?_0x3bb50d[_0x59b7a0(0x144)]||_0x3bb50d[_0x59b7a0(0x211)]:_0x237c72;}}if(_0x317886[_0x59b7a0(0x369)](_0x8e34cd['op'],_0x317886['ahlIa'])){const _0x3608f8=_0x317886[_0x59b7a0(0x26c)](astToOpenSearch,_0x8e34cd[_0x59b7a0(0x37e)],_0xd93811);return _0x3608f8?{'bool':{'must_not':[_0x3608f8]}}:null;}return _0x317886[_0x59b7a0(0x324)](leafToOpenSearch,_0x8e34cd,_0xd93811);}function extractContains(_0x25aeb4){const _0x3225e9=_0x1ff458,_0x544fe1={'lBkaf':function(_0x2b7f6e,_0x1610ff){return _0x2b7f6e===_0x1610ff;},'viTan':function(_0x2193d4,_0x264e49){return _0x2193d4===_0x264e49;},'ZDxfw':'and','PFQbX':function(_0x5c77f9,_0x25fc5f){return _0x5c77f9(_0x25fc5f);}},_0x2d6626=[],_0x3a2f27=_0x15096c=>{const _0x563fc3=_0xf3c3;if(!_0x15096c)return null;if(_0x544fe1[_0x563fc3(0x33c)](_0x15096c['kind'],_0x563fc3(0x2a9)))return _0x2d6626[_0x563fc3(0x314)](_0x15096c[_0x563fc3(0x2b6)]),null;if(_0x544fe1[_0x563fc3(0x21a)](_0x15096c['op'],_0x544fe1[_0x563fc3(0x2d5)])){const _0x2220dc=_0x15096c[_0x563fc3(0x332)]['map'](_0x3a2f27)['filter'](Boolean);if(_0x544fe1[_0x563fc3(0x33c)](_0x2220dc['length'],0x0))return null;return _0x544fe1[_0x563fc3(0x33c)](_0x2220dc[_0x563fc3(0x358)],0x1)?_0x2220dc[0x0]:{'op':_0x544fe1[_0x563fc3(0x2d5)],'children':_0x2220dc};}return _0x15096c;},_0x961a8c=_0x544fe1[_0x3225e9(0x23e)](_0x3a2f27,_0x25aeb4&&_0x25aeb4['where']);return{'containsExprs':_0x2d6626,'rootWhere':_0x961a8c};}function compileAstFor(_0x2d2f63,_0x1bc596){const _0x48f030=_0x1ff458,_0x9f646b={'lBxgO':function(_0x47355f,_0x2bda4d){return _0x47355f||_0x2bda4d;}};return astToOpenSearch(_0x2d2f63,DATASET_PROFILES[_0x9f646b[_0x48f030(0x217)](_0x1bc596,_0x48f030(0x18d))]);}function compileWhere(_0x2d7ffc){const _0x51f19e=_0x1ff458,_0x4d8ca3=DATASET_PROFILES[_0x2d7ffc&&_0x2d7ffc['dataset']||_0x51f19e(0x18d)];return astToOpenSearch(_0x2d7ffc&&_0x2d7ffc['where'],_0x4d8ca3);}function normalizeRegexSource(_0x3ad36b){const _0x4d1d6d=_0x1ff458,_0x3d0a5a={'oExSS':function(_0x10ef8c,_0x5dfe64){return _0x10ef8c===_0x5dfe64;},'YHCuZ':_0x4d1d6d(0x215),'zwafc':function(_0x277665,_0x43ae5f){return _0x277665(_0x43ae5f);},'TuOBu':_0x4d1d6d(0x1d7),'yRtcK':function(_0x605076,_0x5bce41){return _0x605076!==_0x5bce41;}},_0x8ceeaf=[],_0x40cb5b=_0x3ad36b['replace'](/\(\?P<([A-Za-z_][A-Za-z0-9_]*)>/g,(_0x88404d,_0x186ed8)=>{const _0x2feb26=_0x4d1d6d,_0x477cd6={'RsTmt':function(_0x29a6f0,_0x5abb10){const _0xab6707=_0xf3c3;return _0x3d0a5a[_0xab6707(0x2a2)](_0x29a6f0,_0x5abb10);},'DodIf':'contains','Imona':_0x3d0a5a[_0x2feb26(0xf8)],'uMNZZ':function(_0x482f1b,_0x2c7be3){const _0x2faf79=_0x2feb26;return _0x3d0a5a[_0x2faf79(0x15d)](_0x482f1b,_0x2c7be3);}};if(_0x3d0a5a[_0x2feb26(0x2a2)](_0x2feb26(0x2af),_0x3d0a5a[_0x2feb26(0x105)])){const _0x5a8996={'DJKFV':function(_0x194d31,_0x37524d){const _0x291aee=_0x2feb26;return _0x477cd6[_0x291aee(0xfb)](_0x194d31,_0x37524d);},'ottzA':_0x477cd6['DodIf'],'lVutb':_0x477cd6['Imona'],'KZYOL':function(_0x3f4e5,_0x1bdbee){return _0x477cd6['RsTmt'](_0x3f4e5,_0x1bdbee);}},_0x2849cd=[],_0x18d0e7=_0x5066fe=>{const _0x4409c0=_0x2feb26;if(!_0x5066fe)return null;if(_0x5a8996[_0x4409c0(0x239)](_0x5066fe['kind'],_0x5a8996[_0x4409c0(0xe3)]))return _0x2849cd[_0x4409c0(0x314)](_0x5066fe[_0x4409c0(0x2b6)]),null;if(_0x5a8996[_0x4409c0(0x239)](_0x5066fe['op'],_0x5a8996[_0x4409c0(0x10d)])){const _0xa61d2e=_0x5066fe[_0x4409c0(0x332)]['map'](_0x18d0e7)[_0x4409c0(0x18c)](_0x192029);if(_0xa61d2e[_0x4409c0(0x358)]===0x0)return null;return _0x5a8996[_0x4409c0(0x108)](_0xa61d2e['length'],0x1)?_0xa61d2e[0x0]:{'op':_0x5a8996[_0x4409c0(0x10d)],'children':_0xa61d2e};}return _0x5066fe;},_0x1bed38=_0x477cd6[_0x2feb26(0x121)](_0x18d0e7,_0x322b5c&&_0x2be145['where']);return{'containsExprs':_0x2849cd,'rootWhere':_0x1bed38};}else return _0x8ceeaf['push'](_0x186ed8),_0x2feb26(0x245)+_0x186ed8+'>';}),_0x3a5e1e=/\(\?<([A-Za-z_][A-Za-z0-9_]*)>/g;let _0x2a83b0;while(_0x3d0a5a['yRtcK'](_0x2a83b0=_0x3a5e1e[_0x4d1d6d(0x2e2)](_0x40cb5b),null)){if(!_0x8ceeaf[_0x4d1d6d(0x34a)](_0x2a83b0[0x1]))_0x8ceeaf[_0x4d1d6d(0x314)](_0x2a83b0[0x1]);}return{'jsSource':_0x40cb5b,'names':_0x8ceeaf};}function compileRegexes(_0x23fe68){const _0x51d050=_0x1ff458,_0x328e27={'mgXmG':function(_0x49bb03,_0x5358e2){return _0x49bb03!==_0x5358e2;},'ShJVg':_0x51d050(0x309),'ivPPw':function(_0x14f8ed,_0x3bdb60){return _0x14f8ed!==_0x3bdb60;},'cBnFK':function(_0x8a085a,_0x3c9895){return _0x8a085a>=_0x3c9895;},'QNqum':'regex','ixBLj':function(_0x1b49f8,_0x364cd8){return _0x1b49f8>_0x364cd8;},'XtuDF':_0x51d050(0xbf),'sFyvj':function(_0x39d217,_0x15abca){return _0x39d217(_0x15abca);}},_0x45034e=[],_0x306dba=new Set();for(const _0x5bea3b of _0x23fe68){if(_0x328e27[_0x51d050(0x148)](_0x328e27[_0x51d050(0x1fb)],_0x51d050(0x228))){if(_0x328e27[_0x51d050(0x1f4)](_0x5bea3b['kind'],_0x51d050(0x33a)))continue;if(_0x328e27['cBnFK'](_0x45034e[_0x51d050(0x358)],MAX_REGEXES))throw new DslError(_0x328e27[_0x51d050(0x36f)],'máximo\x20de\x20'+MAX_REGEXES+_0x51d050(0x2d9));if(_0x328e27[_0x51d050(0x175)](_0x5bea3b[_0x51d050(0x133)][_0x51d050(0x358)],MAX_REGEX_LEN))throw new DslError(_0x328e27[_0x51d050(0x36f)],_0x328e27['XtuDF']);const {jsSource:_0x59b7c0,names:_0x10ad41}=_0x328e27[_0x51d050(0x1e8)](normalizeRegexSource,_0x5bea3b[_0x51d050(0x133)]);let _0x299431;try{const _0x4e2696=(_0x5bea3b['flags']||'')[_0x51d050(0x223)](/[^gimsuy]/g,'');_0x299431=new RegExp(_0x59b7c0,_0x4e2696[_0x51d050(0x34a)]('g')?_0x4e2696:_0x4e2696);}catch(_0x4b3c10){throw new DslError(_0x51d050(0x33a),_0x4b3c10[_0x51d050(0x1a9)],{'detail':_0x5bea3b['source']});}_0x10ad41[_0x51d050(0xb9)](_0xe7ecf1=>_0x306dba[_0x51d050(0x193)](_0xe7ecf1)),_0x45034e['push']({'regex':_0x299431,'names':_0x10ad41});}else return _0x323d5a[_0x51d050(0x142)](_0x52f901);}return{'regexes':_0x45034e,'extracted':_0x306dba};}function parseCalculate(_0x564f37){const _0x24e4b2=_0x1ff458,_0x181423=_0x564f37[_0x24e4b2(0x1d2)]();if(!_0x181423)return{'type':_0x24e4b2(0x199)};if(/^count$/i['test'](_0x181423))return{'type':_0x24e4b2(0x199)};const _0x20d6cc=/^([A-Za-z0-9]+)\s*\(\s*([A-Za-z_][\w.]*)\s*\)$/['exec'](_0x181423);if(!_0x20d6cc)throw new DslError(_0x24e4b2(0x292),_0x24e4b2(0x382)+_0x181423,{'detail':_0x181423});const _0x3d4ab6=_0x20d6cc[0x1][_0x24e4b2(0x22e)]();if(!METRIC_FUNCS[_0x24e4b2(0x135)](_0x3d4ab6))throw new DslError(_0x24e4b2(0x292),_0x24e4b2(0x244)+_0x20d6cc[0x1],{'detail':_0x181423});return{'type':_0x3d4ab6,'field':_0x20d6cc[0x2]};}function parseQuery(_0x1904f9,_0x341802={}){const _0x200d28=_0x1ff458,_0x3c8aa9={'vqogp':function(_0x1f3773,_0x19514e,_0x2bd44f){return _0x1f3773(_0x19514e,_0x2bd44f);},'jePSd':function(_0x17b2ee,_0x437dbd){return _0x17b2ee||_0x437dbd;},'TtSsz':_0x200d28(0x18d),'qVZtm':function(_0xbd3d8b,_0x329d47){return _0xbd3d8b===_0x329d47;},'DGYMD':function(_0x49981a,_0x5b1c3f){return _0x49981a!==_0x5b1c3f;},'uWnPZ':function(_0x3bba4f,_0x484ccf){return _0x3bba4f===_0x484ccf;},'DDKvA':function(_0x5cdf52,_0x4440dd){return _0x5cdf52===_0x4440dd;},'ahpJV':function(_0x12e45a,_0x5c5613){return _0x12e45a(_0x5c5613);},'KDXFZ':function(_0x328dfd,_0x27e998){return _0x328dfd(_0x27e998);},'yhTud':_0x200d28(0x2a9),'dSPAe':function(_0x541166,_0x39751f){return _0x541166(_0x39751f);},'BOyJo':function(_0x5a5867,_0x4d73fa){return _0x5a5867(_0x4d73fa);},'UOqzB':_0x200d28(0x176),'uwMAs':'lte','deMJs':function(_0x1fb5c6,_0x5af838){return _0x1fb5c6(_0x5af838);},'POEJD':function(_0xad1c5e,_0xf78960){return _0xad1c5e>_0xf78960;},'ttIZB':function(_0x3290e2,_0x48ebcd){return _0x3290e2>=_0x48ebcd;},'ZjduN':function(_0x197720,_0x1a73ea){return _0x197720===_0x1a73ea;},'jWBJk':function(_0x196917,_0x2401fd){return _0x196917<_0x2401fd;},'YMhYC':function(_0xde61f5,_0x1f4174){return _0xde61f5<=_0x1f4174;},'kVVUo':'count','XMBtx':function(_0x23ddc3,_0x4f0070,_0x5f8025){return _0x23ddc3(_0x4f0070,_0x5f8025);},'RCIOm':function(_0x30485d,_0x8accab){return _0x30485d===_0x8accab;},'waGJF':function(_0x43fa00,_0x575f2a){return _0x43fa00===_0x575f2a;},'DzRSa':function(_0x3511b2,_0x49792d){return _0x3511b2(_0x49792d);},'LBAjd':'string','SoVjk':'malformed','MtdyB':'query\x20vazia','ZaGxE':_0x200d28(0xfa),'CyeTj':_0x200d28(0x153),'cbjYG':_0x200d28(0x24d),'MbNEh':function(_0x2fd6c1,_0x1c190a){return _0x2fd6c1<_0x1c190a;},'VgVVr':_0x200d28(0x23f),'pyNxo':function(_0x50f328,_0x4de726){return _0x50f328+_0x4de726;},'YoeYz':function(_0x4f7b86,_0x8b2d63){return _0x4f7b86+_0x8b2d63;},'XuRZo':'AND','lxCCC':'groupby','Qloyp':'calculate','PtakD':function(_0x29c2e3,_0x5c9f9e){return _0x29c2e3!==_0x5c9f9e;},'XXdxo':_0x200d28(0x338),'ZstTu':_0x200d28(0x253),'fnOfC':function(_0x506f0f,_0x3e8ae9){return _0x506f0f+_0x3e8ae9;},'XQWCs':function(_0x236833,_0x804d62){return _0x236833-_0x804d62;},'vqeUB':function(_0x1f33d1,_0x42100f){return _0x1f33d1!==_0x42100f;},'HknYi':function(_0xfd23fe,_0x51bc77){return _0xfd23fe===_0x51bc77;},'OtgaD':_0x200d28(0x146),'suWsF':_0x200d28(0x183),'FpCsj':'dqVeK','UiKah':_0x200d28(0x115),'gDFbA':_0x200d28(0x2bf),'BxanM':'field','YZMeD':function(_0x529628,_0x323e36){return _0x529628!==_0x323e36;},'frOPY':function(_0x2b1c4a,_0x3ab10d){return _0x2b1c4a!==_0x3ab10d;},'nzUvS':_0x200d28(0x364),'GCxEq':'asc','qtFRL':function(_0x4c922b,_0x34e134){return _0x4c922b!==_0x34e134;},'owqEE':function(_0x9ec189,_0x25d734){return _0x9ec189>_0x25d734;},'uXrLZ':function(_0x2e0881,_0x49f918){return _0x2e0881!==_0x49f918;},'SkfJb':function(_0x5549d6,_0x3a4bfe){return _0x5549d6(_0x3a4bfe);},'iyPep':function(_0x305d6f,_0x3e6bad){return _0x305d6f>_0x3e6bad;}};if(_0x3c8aa9[_0x200d28(0x18a)](typeof _0x1904f9,_0x3c8aa9[_0x200d28(0x273)])||!_0x1904f9['trim']())throw new DslError(_0x3c8aa9[_0x200d28(0xe2)],_0x3c8aa9[_0x200d28(0x19c)]);if(_0x1904f9[_0x200d28(0x358)]>MAX_QUERY_LEN){if(_0x3c8aa9[_0x200d28(0x18a)](_0x200d28(0xfa),_0x3c8aa9[_0x200d28(0x10c)]))return _0x3c8aa9[_0x200d28(0x1fe)](_0x288baa,_0x440cdf,_0x530d8e[_0x3c8aa9[_0x200d28(0x335)](_0x4b3832,_0x3c8aa9[_0x200d28(0x214)])]);else throw new DslError(_0x200d28(0x2b9),_0x200d28(0x139));}let _0x1b2391=_0x1904f9['trim'](),_0x47719a=_0x341802['dataset']||_0x3c8aa9[_0x200d28(0x214)];const _0x2ee735=/^from\s*\(\s*([A-Za-z]+)\s*\)\s*/i[_0x200d28(0x2e2)](_0x1b2391);_0x2ee735&&(_0x47719a=_0x2ee735[0x1][_0x200d28(0x22e)](),_0x1b2391=_0x1b2391[_0x200d28(0x29b)](_0x2ee735[0x0][_0x200d28(0x358)]));const _0x3f151a=DATASET_PROFILES[_0x47719a];if(!_0x3f151a){if(_0x3c8aa9[_0x200d28(0x15e)](_0x3c8aa9[_0x200d28(0x252)],'ImNYm')){if(_0x3c8aa9['qVZtm'](_0x12f232[_0x388a31],'\x5c'))_0x55aef6++;_0x940a9a++;}else throw new DslError(_0x3c8aa9[_0x200d28(0xe2)],_0x200d28(0x26a)+_0x47719a+'\x20(use\x20logs|requests|spans|traces|metrics)');}if(!/^where\s*\(/i['test'](_0x1b2391))throw new DslError(_0x3c8aa9[_0x200d28(0xe2)],_0x3c8aa9[_0x200d28(0xda)]);const _0x3f75f9=_0x1b2391[_0x200d28(0x10e)]('('),_0x430de5=matchingParen(_0x1b2391,_0x3f75f9);if(_0x3c8aa9[_0x200d28(0x204)](_0x430de5,0x0))throw new DslError(_0x200d28(0x2b9),_0x3c8aa9['VgVVr']);const _0x5f2af6=_0x1b2391['slice'](_0x3c8aa9['pyNxo'](_0x3f75f9,0x1),_0x430de5);let _0x24ba99=_0x1b2391[_0x200d28(0x29b)](_0x3c8aa9[_0x200d28(0x310)](_0x430de5,0x1));const _0x14f253=parseWhereAst(_0x3c8aa9['ahpJV'](tokenizeWhere,_0x5f2af6)),_0x1cd305=_0x3c8aa9['dSPAe'](flattenAstLeaves,_0x14f253),_0x44f506=_0x14f253&&_0x3c8aa9[_0x200d28(0x343)](_0x14f253['op'],'or')?'OR':_0x3c8aa9['XuRZo'],{regexes:_0x46016c,extracted:_0x1e4349}=_0x3c8aa9[_0x200d28(0x33e)](compileRegexes,_0x1cd305);validateWhereAst(_0x14f253,_0x1e4349,_0x3f151a);const _0x44d803={};for(const _0x3bb606 of[_0x3c8aa9[_0x200d28(0x1c7)],_0x3c8aa9[_0x200d28(0x206)],_0x200d28(0x118)]){const _0x105427=_0x3c8aa9[_0x200d28(0x1b4)](findSection,_0x24ba99,_0x3bb606);if(_0x105427){if(_0x3c8aa9[_0x200d28(0x1bb)](_0x3c8aa9[_0x200d28(0x283)],_0x3c8aa9[_0x200d28(0x136)]))_0x44d803[_0x3bb606]=_0x105427[_0x200d28(0x163)],_0x24ba99=_0x3c8aa9[_0x200d28(0x323)](_0x24ba99[_0x200d28(0x29b)](0x0,_0x105427[_0x200d28(0x221)]),'\x20'['repeat'](_0x3c8aa9[_0x200d28(0x328)](_0x105427[_0x200d28(0x2d6)],_0x105427[_0x200d28(0x221)])))+_0x24ba99[_0x200d28(0x29b)](_0x105427[_0x200d28(0x2d6)]);else{if(_0x3c8aa9[_0x200d28(0x15e)](_0x1c062e[_0x200d28(0x34e)],_0x200d28(0xc4)))return _0x3c8aa9[_0x200d28(0x18a)](_0x3f80c3,_0x3704c7)&&_0x181b89!==null;if(_0x3c8aa9['uWnPZ'](_0x11ba9e,_0x1a66c6)||_0x3c8aa9['uWnPZ'](_0x3da4dd,null))return![];if(_0x3c8aa9[_0x200d28(0x329)](_0x276350[_0x200d28(0x34e)],'in')){const _0x1fb446=(_0x9a7038['values']||[])[_0x200d28(0x306)](_0x56c27=>_0x384eb1(_0x56c27)[_0x200d28(0x22e)]());return _0x1fb446[_0x200d28(0x34a)](_0x3c8aa9['ahpJV'](_0x3d7d5a,_0x51f720)[_0x200d28(0x22e)]());}switch(_0x59382[_0x200d28(0x32b)]){case'eq':return _0x3c8aa9[_0x200d28(0x343)](_0x3c8aa9[_0x200d28(0x2ee)](_0x26b352,_0x29aa91)[_0x200d28(0x22e)](),_0x3c8aa9['ahpJV'](_0x344988,_0x13f3d5[_0x200d28(0x1e2)])[_0x200d28(0x22e)]());case'ne':return _0x3c8aa9[_0x200d28(0x1a6)](_0xc8f25b,_0x12b52d)[_0x200d28(0x22e)]()!==_0x3c8aa9[_0x200d28(0x1a6)](_0x4defa4,_0x26ca9e[_0x200d28(0x1e2)])[_0x200d28(0x22e)]();case _0x3c8aa9[_0x200d28(0x2d8)]:return _0x3c8aa9[_0x200d28(0x298)](_0x421002,_0x22a647)['toLowerCase']()[_0x200d28(0x34a)](_0x3c8aa9['BOyJo'](_0x6846c6,_0x3a476f[_0x200d28(0x1e2)])['toLowerCase']());case'gt':case _0x3c8aa9['UOqzB']:case'lt':case _0x3c8aa9[_0x200d28(0xd7)]:{const _0x49364f=_0x3c8aa9[_0x200d28(0x1f7)](_0x21ef3e,_0x2393ab),_0x216222=_0x3c8aa9[_0x200d28(0x2ee)](_0x27b7ba,_0x335476[_0x200d28(0x1e2)]);if(!_0x56b6c0[_0x200d28(0x218)](_0x49364f)||!_0x197551[_0x200d28(0x218)](_0x216222))return![];return _0x3c8aa9['DDKvA'](_0x3cab54[_0x200d28(0x32b)],'gt')?_0x3c8aa9[_0x200d28(0x2cb)](_0x49364f,_0x216222):_0x3c8aa9[_0x200d28(0x329)](_0x14ee7b['cmp'],_0x3c8aa9[_0x200d28(0x1c3)])?_0x3c8aa9[_0x200d28(0x380)](_0x49364f,_0x216222):_0x3c8aa9[_0x200d28(0x2ab)](_0x452256['cmp'],'lt')?_0x3c8aa9[_0x200d28(0x32a)](_0x49364f,_0x216222):_0x3c8aa9['YMhYC'](_0x49364f,_0x216222);}default:return![];}}}}if(_0x24ba99['trim']())throw new DslError(_0x200d28(0x2b9),_0x200d28(0x25c)+_0x24ba99['trim']()+'\x22',{'detail':_0x24ba99[_0x200d28(0x1d2)]()});let _0x3dc650=[];if(_0x3c8aa9['vqeUB'](_0x44d803['groupby'],undefined)){_0x3dc650=_0x44d803[_0x200d28(0x22d)][_0x200d28(0x297)](',')[_0x200d28(0x306)](_0x39fd3e=>_0x39fd3e[_0x200d28(0x1d2)]())[_0x200d28(0x18c)](Boolean);if(_0x3c8aa9[_0x200d28(0x102)](_0x3dc650[_0x200d28(0x358)],0x0))throw new DslError(_0x200d28(0x2b9),_0x3c8aa9[_0x200d28(0x17a)]);for(const _0x1a515e of _0x3dc650){if(_0x3c8aa9[_0x200d28(0x1a7)]!==_0x3c8aa9[_0x200d28(0xbe)]){if(!_0x3f151a['groupbyOk'](_0x1a515e,_0x1e4349)){if(_0x3c8aa9[_0x200d28(0x26e)]===_0x3c8aa9[_0x200d28(0x1d4)])_0x3c8aa9['DGYMD'](_0x5216e3[_0x200d28(0x1dc)],_0x3c8aa9[_0x200d28(0x18f)])?(_0x7a007c[_0x200d28(0x29f)]=_0x3c8aa9[_0x200d28(0x1b4)](_0xe21229,_0xc8ad26,_0x518dea[_0x200d28(0x1ed)]),_0x5f430e['terms'][_0x200d28(0x219)]=_0x4fc3ff):_0x20da04[_0x200d28(0x2d3)]['order']={'_count':'desc'};else throw new DslError(_0x3c8aa9[_0x200d28(0x263)],_0x200d28(0x192)+_0x1a515e,{'field':_0x1a515e});}}else{if(_0x2b9326===null||_0x3c8aa9[_0x200d28(0x294)](_0x32c3a3,_0x35a5fc)||_0x3c8aa9[_0x200d28(0x372)](_0x3ed34e,''))return null;const _0x3dfc0a=_0x3c8aa9[_0x200d28(0x1ef)](_0x23c1cd,_0x24588f);return _0xeabe99[_0x200d28(0x218)](_0x3dfc0a)?_0x3dfc0a:null;}}}const _0x16f7e4=_0x3c8aa9[_0x200d28(0x12d)](_0x44d803[_0x200d28(0xb1)],undefined)?_0x3c8aa9[_0x200d28(0x1a6)](parseCalculate,_0x44d803[_0x200d28(0xb1)]):{'type':_0x3c8aa9[_0x200d28(0x18f)]};if(_0x3c8aa9[_0x200d28(0x18e)](_0x16f7e4['type'],_0x200d28(0x199))){const _0x366d86=_0x16f7e4[_0x200d28(0x159)],_0x214fff=_0x1e4349[_0x200d28(0x135)](_0x366d86);if(!_0x3f151a[_0x200d28(0x231)](_0x366d86,_0x1e4349))throw new DslError(_0x3c8aa9[_0x200d28(0x263)],'campo\x20não\x20permitido\x20na\x20métrica:\x20'+_0x366d86,{'field':_0x366d86});void _0x214fff;}let _0x256883=_0x3c8aa9['nzUvS'];if(_0x3c8aa9[_0x200d28(0x1bb)](_0x44d803['sort'],undefined)){const _0x5a50ee=_0x44d803[_0x200d28(0x118)][_0x200d28(0x1d2)]()['toLowerCase']();if(_0x5a50ee!==_0x3c8aa9[_0x200d28(0xfe)]&&_0x3c8aa9[_0x200d28(0x2a6)](_0x5a50ee,_0x3c8aa9[_0x200d28(0x140)]))throw new DslError(_0x3c8aa9[_0x200d28(0xe2)],_0x200d28(0x123)+_0x5a50ee+_0x200d28(0x151));_0x256883=_0x5a50ee;}const _0x27ae42=_0x3c8aa9[_0x200d28(0x20f)](_0x46016c[_0x200d28(0x358)],0x0),_0x4a1393=_0x3dc650[_0x200d28(0x162)](_0x55322b=>_0x1e4349[_0x200d28(0x135)](_0x55322b)),_0x376481=_0x3c8aa9[_0x200d28(0x18a)](_0x16f7e4[_0x200d28(0x1dc)],_0x3c8aa9['kVVUo'])&&_0x1e4349[_0x200d28(0x135)](_0x16f7e4[_0x200d28(0x159)]),_0x19bc6b=_0x3dc650['some'](_0x17c055=>isKvPath(_0x17c055)),_0x3cb1bd=_0x3dc650[_0x200d28(0x162)](_0x16ec2b=>isPayloadPath(_0x16ec2b)),_0x1216b0=_0x3c8aa9[_0x200d28(0x318)](_0x16f7e4[_0x200d28(0x1dc)],_0x3c8aa9[_0x200d28(0x18f)])&&_0x3c8aa9[_0x200d28(0x322)](isPayloadPath,_0x16f7e4['field']),_0x4be699=_0x1cd305[_0x200d28(0x18c)](_0x1bab37=>_0x1bab37[_0x200d28(0x159)]&&isPayloadPath(_0x1bab37[_0x200d28(0x159)])&&['field','in','exists'][_0x200d28(0x34a)](_0x1bab37['kind'])),_0x6145ae=_0x27ae42||_0x4a1393||_0x376481||_0x19bc6b||_0x3cb1bd||_0x1216b0||_0x3c8aa9['iyPep'](_0x4be699['length'],0x0);return{'where':_0x14f253,'dataset':_0x47719a,'clauses':_0x1cd305,'payloadFilters':_0x4be699,'operator':_0x44f506,'regexes':_0x46016c,'extracted':_0x1e4349,'groupby':_0x3dc650,'calculate':_0x16f7e4,'sort':_0x256883,'hasRegex':_0x27ae42,'serverSide':_0x6145ae,'hasGroupby':_0x3dc650[_0x200d28(0x358)]>0x0};}function clauseToOpenSearch(_0x2c0312){const _0x4a625a=_0x1ff458,_0x106d49={'QvnMj':function(_0x187e51,_0x2e06ad){return _0x187e51===_0x2e06ad;},'Jhzct':'phrase','ysuUY':_0x4a625a(0x20d),'bRPKT':function(_0x3221f3,_0x2ae2a3){return _0x3221f3===_0x2ae2a3;},'SxcRS':_0x4a625a(0x159),'GPOTd':function(_0x3a676f,_0x1b6ce2){return _0x3a676f===_0x1b6ce2;},'kfcxj':function(_0x3ff8b7,_0x14c061){return _0x3ff8b7(_0x14c061);}};if(_0x106d49[_0x4a625a(0xe1)](_0x2c0312[_0x4a625a(0x34e)],_0x106d49[_0x4a625a(0xf7)]))return{'match_phrase':{'message':_0x2c0312['value']}};if(_0x106d49[_0x4a625a(0xe1)](_0x2c0312[_0x4a625a(0x34e)],_0x106d49[_0x4a625a(0x143)]))return{'match':{'message':_0x2c0312[_0x4a625a(0x1e2)]}};if(_0x106d49[_0x4a625a(0x19a)](_0x2c0312['kind'],_0x106d49[_0x4a625a(0x12b)])){if(_0x106d49[_0x4a625a(0x251)](_0x2c0312[_0x4a625a(0x159)],_0x4a625a(0x1a9)))return{'match':{'message':_0x2c0312[_0x4a625a(0x1e2)]}};if(isKvPath(_0x2c0312[_0x4a625a(0x159)]))return{'term':{[_0x2c0312[_0x4a625a(0x159)]]:_0x2c0312[_0x4a625a(0x1e2)]}};if(_0x106d49[_0x4a625a(0xd0)](isKvnPath,_0x2c0312[_0x4a625a(0x159)])){const _0x3db075=_0x106d49[_0x4a625a(0xd0)](Number,_0x2c0312[_0x4a625a(0x1e2)]);return Number[_0x4a625a(0x218)](_0x3db075)?{'term':{[_0x2c0312[_0x4a625a(0x159)]]:_0x3db075}}:{'term':{[_0x2c0312[_0x4a625a(0x159)]]:_0x2c0312[_0x4a625a(0x1e2)]}};}return{'term':{[_0x2c0312[_0x4a625a(0x159)]+_0x4a625a(0x17e)]:_0x2c0312[_0x4a625a(0x1e2)]}};}return null;}function buildOpenSearchQuery(_0xfa5143,_0x46852f){const _0x4809d1=_0x1ff458,_0xae8446={'ygwyd':_0x4809d1(0x2b9),'mJTOS':_0x4809d1(0x28d),'VmILf':function(_0x2bd0e7,_0x1a00f0,_0x297590){return _0x2bd0e7(_0x1a00f0,_0x297590);},'sRDSe':_0x4809d1(0x18d),'Fexau':function(_0x346dc6,_0x51d43e){return _0x346dc6===_0x51d43e;},'EalIa':_0x4809d1(0x2c5),'JfTyP':_0x4809d1(0x1a1)},_0x18d2ba=DATASET_PROFILES[_0xfa5143&&_0xfa5143[_0x4809d1(0x1ed)]||'logs'],_0x317049={'range':{[_0x18d2ba[_0x4809d1(0x1ea)]]:{'gte':_0x46852f[_0x4809d1(0x2dd)],'lte':_0x46852f['to']}}},_0x247c4c=_0xae8446[_0x4809d1(0x278)](astToOpenSearch,_0xfa5143[_0x4809d1(0x2e8)],DATASET_PROFILES[_0xfa5143&&_0xfa5143[_0x4809d1(0x1ed)]||_0xae8446[_0x4809d1(0x2e9)]]);if(!_0x247c4c){if(_0xae8446[_0x4809d1(0x124)](_0xae8446[_0x4809d1(0x31f)],_0xae8446[_0x4809d1(0x1cb)]))throw new _0x41252d(_0xae8446[_0x4809d1(0x262)],_0xae8446['mJTOS']);else return{'bool':{'filter':[_0x317049]}};}return{'bool':{'filter':[_0x317049],'must':[_0x247c4c]}};}function sourceFieldsFor(_0x4545a7){const _0x7f62da=_0x1ff458,_0x39e5c2={'poKgN':function(_0x735228,_0x1f7f9f){return _0x735228(_0x1f7f9f);},'zLYfQ':'response.result','WQvfs':function(_0x4b8696,_0x6f0ba4,_0x1f1e73,_0x1526dd){return _0x4b8696(_0x6f0ba4,_0x1f1e73,_0x1526dd);},'rsXKu':function(_0x1919c6,_0x5eb1a3){return _0x1919c6+_0x5eb1a3;},'ocxpa':function(_0x232092,_0x18bc0b){return _0x232092!==_0x18bc0b;},'QGeqT':'VvsNn','QvFsA':_0x7f62da(0x159),'FCRXD':'message','HSqEs':'count','XJUIp':function(_0x8e1836,_0x327025){return _0x8e1836(_0x327025);}},_0x2f0d1e=new Set([_0x39e5c2[_0x7f62da(0x174)],TIME_FIELD]),_0x4c3473=_0x5dfae0=>{const _0x48b371=_0x7f62da;if(_0x4545a7[_0x48b371(0x31d)]['has'](_0x5dfae0))return;if(_0x39e5c2[_0x48b371(0x23c)](isBodyPath,_0x5dfae0)){_0x2f0d1e['add'](_0x48b371(0x30a));return;}if(isResponsePath(_0x5dfae0)){_0x2f0d1e[_0x48b371(0x193)](_0x39e5c2[_0x48b371(0x234)]);return;}_0x2f0d1e[_0x48b371(0x193)](_0x5dfae0);};_0x4545a7['groupby']['forEach'](_0x4c3473);if(_0x39e5c2[_0x7f62da(0x11c)](_0x4545a7[_0x7f62da(0xb1)]['type'],_0x39e5c2['HSqEs']))_0x39e5c2[_0x7f62da(0x122)](_0x4c3473,_0x4545a7[_0x7f62da(0xb1)]['field']);return _0x4545a7[_0x7f62da(0x326)]['forEach'](_0x5e7b6f=>{const _0xafeb9a=_0x7f62da;if(_0x39e5c2[_0xafeb9a(0x11c)](_0x39e5c2[_0xafeb9a(0x280)],'duVON')){if(_0x5e7b6f[_0xafeb9a(0x34e)]===_0x39e5c2[_0xafeb9a(0x2bc)])_0x39e5c2[_0xafeb9a(0x23c)](_0x4c3473,_0x5e7b6f[_0xafeb9a(0x159)]);}else _0x39e5c2['WQvfs'](_0x7722a1,_0x313b18[_0xafeb9a(0x188)]&&_0xabf8b1[_0xafeb9a(0x188)]['buckets']||[],_0x39e5c2[_0xafeb9a(0x299)](_0x3ed975,0x1),_0x45eb52);}),Array[_0x7f62da(0x2dd)](_0x2f0d1e);}function _0xdd19(){const _0x505e44=['DgfjDxy','ywXSB3DszwDLEa','CgD6zLG','BMrtuxq','kc4UlIK','C0T3yNO','s0HTq1C','C3bHBKLKlMTLExDVCMq','vwTbvK4','tw1hD1a','whbQv1y','yvLRC0y','yKD1rhq','BwfW','Aw5MBW','z2f0zxDHEuLKlMTLExDVCMq','DgjIr00','CMvXDwvZDc5IB2r5','DhLWzs5RzxL3B3jK','CgfYzw50u3bHBKLKlMTLExDVCMq','AefIsg4','y09gAvu','BNf3Cha','ww9LwxO','yxbWtMfTzq','zxnWzxjHzg8GiG','A1rnyvy','ChvZAa','zhvYyxrPB24','z1DttwK','Ag5gsfK','DvHYtfO','sLjpwxm','CMvXDwvZDc5TzxrOB2q','CxDxz2m','DxbWzxi','zxH0CMfJDgvK','BejWswe','rwfSswe','qNvus20','BgfUz3vHz2u','u2TMsMi','zM5pzKm','vMrRAKS','qNnVsLe','y2XHDxnLCW','A1zLt1a','wffxq3m','rerlDKe','ALDcsMS','y21W','zMXVB3i','qwXdv00','AwriwMu','DhjHy2vjza','yKnyBuy','q3zwCKK','y2HPBgrYzw4','EwfPqMq','Dg9R','AMvqu2q','wergB0G','BvHHCwm','qKrnDhK','CMvZCg9UC2vtAxPL','CMvNzxG','yLfvqxy','BejRywy','ANvjDLG','qK95sM8','y2vPBa','Aw5KzxG','B2jQzwn0','tenIwxe','DvDUufO','C2vYDMLJzs5KzxnJCMLWDgLVBG','tfPUvvm','t0jcq24','vgjVzKS','yxnWyxmGBSoJBYbMzwnOywrHCYbUBYb3AgvYzq','svziugO','Aw5JBhvKzxm','DMvYC2LVBG','Bg5bve0','tMLyD2q','A2LUza','vw56yvO','BwLU','tMLXANm','uMjOBwW','wfDLDvG','uMvfC0y','ChzkwNm','BhrL','otGWnde1ognizvv3uq','BgvUz3rO','wgvlquO','Ce5nD2u','ALvVtLi','DMvYC2LVBI5RzxL3B3jK','u21Aq2W','A0rLBw0','DgLTzxjZlMr1CMf0Aw9U','svbczuK','CMvNzxGGC8oZimoPihn1Cg9YDgfKysbLBsbJBmoHDxn1BgfZieforcbKzsb0B3bVicHZzw0Gt1iVtK9ukq','shfqq0u','uff4zfa','zgvZyW','A2v5CW','Eu5YBMm','rfDKBgO','DgLTzxn0yw1W','yLrszfe','wg9tAM0','Ce55vem','B0PNAxG','uMTdCgK','C0fMruy','uu5XDw0','BMfmsuO','y2XPzw50swqUA2v5D29Yza','D2fhsKy','vurmAuq','y2fLDMK','BMfTzq','CMTswva','A1LNwwK','qMnxwwq','whLkt3u','AwD6tMq','Bwv0Ag9K','D1rHBgi','ruvQC0u','y2HPBgq','CdK1','DhrjwKi','y29UDgfPBNmOlI4UksbZW7mGW6KGC3vWB3j0ywrVig5VigrHDgfZzxqGDhjHy2vZicHYzwnLyMLKBZOG','BCoPDhjPy2eGAw52W6fSAwrHoIa','C2vYDMLJzu5HBwu','DMffywK','Bgveswq','EKLureW','ueTowwy','y2fSy3vSyxrL','q3Pduxu','yM9VBa','vhrYwKe','EvLOuLy','DNH5uwu','vLHzu0G','BwvZC2fNzs5RzxL3B3jK','zM9YrwfJAa','AxfowLG','tevLs0K','rhnHww0','sgfmALq','rNbdC2O','CMvNzxGGBxvPDg8GBg9Uz2e','C3vT','CxDcuMG','BgrwwKG','r2ntAeG','zxHPC3rZ','zeDczNa','EMvWAKi','tgDtrvu','wxnxrxK','BhfRtxm','yxzN','B3nUy28','A25VD24','Dg1fAgS','uxPlBwC','zvH5v2m','A2zJEgO','qw9MzgS','y29UDgvUDeXLBMD0Aa','CgfYW6PUDgvZzsbMzwnOyw5KBYbZzw0GB3bLCMfUzg8','A2TVu0u','sNzzELe','t1PRBxa','DxDnqxm','CMvZCg9UC2vuAw1L','r0zUC1G','y2jQwuC','s1bgAfG','EKruEMC','ruLnCge','qKjfAe0','iIbUBYb3AgvYzq','mZa0mtG4nZbQu2zrCvC','uxzUtwO','u29wAMS','B3r0EKe','rwjUvfi','D0XyA0q','ntC4mu5VD3LXtG','suzNu1G','wK9Ut3m','yMvZDf9MAwvSzhm','zxjYB3juExbL','EurQsgG','rNDnAfa','qLnHDuq','DgLTzxjZlMzPBMLZAgvKlMf0','B0Ljzui','Bgj1r3C','Cw1fENK','CMvXDwvZDc51CMWUCgf0Aa','DwLxrxu','zg9Jx2nVDw50','yujNvK4','DSoTCMD1BgeGzM9YysbKzsb1BweGBgLZDgeGAw4OlI4Ukq','sMH6y3q','wuHdDvO','DKzusNi','DhP2AKe','uNnuBxq','yu9xEvq','Aw5Syvy','r0n4rxe','CMfUz2uGkd4SidWPig7dO28GC3vWB3j0ywrVihbHCMeG','AKLOswO','A3zUlG','sgTUwwK','Dhf1Cwy','zNLNCvm','vhvpqNu','y2fSBa','yLLpqMu','s1Pzt0W','y3HRD0C','s21vCvK','twTnAfy','wMfhEeu','Bfz1Dgi','Aw5KzxHpzG','yKzxsuG','AhDMvw4','qxDxBxi','yuHXAvC','A0fAugy','Bwf4','BLP6C3m','Dg9QsKK','zw52','C29YDa','rw5ds2i','seHkv2W','tuXIq0m','B2n4Cge','CeXHDuu','qKf6y0u','rKjRENu','CMvXDwvZDeLK','Du1owLO','wePvsxa','C29YDcbPBNBdOwXPzg86ia','rMv4yxu','uhzuvgS','A2LUzc5RzxL3B3jK','DNvvze0','y29UDgfPBNmOlI4UksbZW7mGW6KGC3vWB3j0ywrVigvTignSW6f1C3vSyxmGqu5eigrLihrVCg8GkhnLBsbpuI9ot1qP','BhHty1m','DLDuq1u','u3HJuLm','zMXHz3m','wvPnzuq','s0nQqva','wMTitLC','rMDwrKW','ENDltMy','ExnWAeq','C291CMnL','BvnVAxm','AgfZ','wNn0vhu','AuDdBLi','BM11Cfy','CxvLCNKGzxHJzwrLig8GDgfTyw5OBYbTW6f4Aw1V','AxnbCNjHEq','v2PxsNG','qxj2thu','mtHnA0v0v2G','vfzrAgm','Dw5PDa','BNPvDLm','C2v0','DgvZDa','Exn1vvK','A2v5D29YzfbHDgG','wg1Pvg8','z3jVDxbIEsGUlI4PihzHEMLV','B3LuyuG','BwDyBuC','q3PRyxO','rhnSrxjYB3i','r2fruu4','qK1bDNG','Bg9Nz2vY','mte3nhHuEvP2yG','B01TrLi','qLfMEfq','icH1C2uGyxnJFgrLC2mP','BgfUz3vHz2uUA2v5D29Yza','vxzKyvm','A2v5D29Yza','zMPsA2y','z2f0zxDHEuLK','zw50CMLLCW','vw5AEuW','zMLLBgq','AM9PBG','wufzqMW','v3DdwM0','ENDHzMm','CvzADg0','BgfZDeLUzgv4','uxf1rhu','wxnJCfO','C29Tzq','y29UDgvUDa','quHhvLy','whDxzfy','rePPz3q','y29Kzq','EMPHsu0','A1zMCMK','C3bHBNm','z2v0','qhrPBwvZDgfTCa','y29YCMvSyxrPB25jzc5RzxL3B3jK','EfP2wMG','r3LeweW','uefNAey','t1vTEwi','u2nSD0y','DgLTzxjZ','rKnsweq','AxHctgO','z3rL','BhH2BvO','DhjHy2vjzc5RzxL3B3jK','vejbyKG','t3rNyuq','uunxs2u','C3rHCNrZv2L0Aa','qKXLv2C','lMTLExDVCMq','zMXVD0LK','tunUs0K','BLn1wwW','AwrVA08','C1HzuKW','C3rYAw5N','xhmQxcG','Cg1StNi','yvPVzge','C3vI','tenUtLy','reDztuq','s1zPB2m','zMLSDgvY','Bg9NCW','zNjpufK','A1zwvw8','C2vYDMLJzq','Chj0yKe','y2fTCg8GBSoJBYbWzxjTAxrPzg8Gzw0Gz3jVDxbIEtOG','ywrK','odq3mtq0vKPxB25t','zxHJzxb0Aw9UlNr5Cgu','BMfTzs5RzxL3B3jK','yxbWBgLJyxrPB24','A1DIvK4','y291BNq','yLjqs1q','Ahr0Cfn0yxr1C0nVzgu','txrKEui','AKDqAvK','yNL0zxm','vNDtt20','C2vYDMLJzs5Uyw1LxJi','DezPzhy','D29Yza','Bwv0CMLJugf0Aa','EuzrzLC','yNvJA2v0CW','ywHWsLy','C3vxC0y','DfbmCM0','BwvZC2fNzq','BvHdCwy','svnutgW','DxvPza','rLrHCvO','sxvzzwS','s01RAwm','DgHYzwfK','CvH3q0W','thfmDwO','v0nlCuy','we1cDhG','zwPfvue','twfkuLq','yNLMENu','otKUma','Ag9ZDa','DeLLEwK','uhrHA0q','BK50yM0','yM9KEq','CgfYzw50u3bHBKLK','ENDMrKG','s1bywNC','sNvsCMW','AefnBvq','vu9XEKi','DMfSDwvZ','zgXIwwq','BgLZDgeGAw4OlI4UksbUW6nVigzLy2HHzge','BhHdq0m','DMfSB3iGAw52W6fSAwrVig5HigXPC3rHigLUkc4UlIK','wePeBxq','vurewuq','sMzuEva','CxLtrgS','z3jVDxbZ','s3PxvKy','Dg9Rzw4GAw5LC3bLCMfKBYbUBYb3AgvYztOGiG','teXvBNO','Dgv4Da','DhjPBq','CMvZCg9UC2uUC3rHDhvZq29Kzq','z0rgyKe','x3nVDxjJzq','tKj1zwG','s1zcvgy','wvnyz1m','CMvXDwvZDc5IB2r5lMTLExDVCMq','ug1XCvi','icHJyw1WBYbKBYbWyxLSB2fKksbZW7mGW6KGC3vWB3j0ywrVigvTignSW6f1C3vSyxmGqu5eigrLihrVCg8GkhnLBsbpuI9ot1qP','DhLWzq','D1fOweG','ywP1tue','uNPjuxy','Bgf0zw5JEu1Z','DxjS','DMfSDwu','DMfSB3iGyxvZzw50zsbLBsaI','kf58w15blvPHlxOWltLFxsK','Ahr0Ce1LDgHVza','zMXVD0LKlMTLExDVCMq','qKPVrxG','C0z5DMO','uK1iyKK','DgLTzuzPzwXK','yxnZAwDU','CdK5','zgf0yxnLDa','EfPWywK','rhPsu2e','uLHyDLi','s2zIEwO','zeDJrKS','sLDuAwC','AxzquhC','C2vYDMLJzs5Uyw1LlMTLExDVCMq','B2LmDxe','zgvnsNm','y3Pfs28','mZe3mdy1yNrNwM5s','zfLWvuS','u2HkvMC','yMHVweG','Axz0rhK','DNfVz3a','rfHwDhK','CMvXDwvZDeLKlMTLExDVCMq','BufytNa','sKDHuvO','CMvXDwvZDhm','twjorwG','EwTYEfu','uwXVExa','AgfZt3DUuhjVCgvYDhK','AgfZrxjYB3i','swzQvKe','yvf1EeO','BNz1Bxq','zxnUCeO','DgvYBq','B0nAzxG','B3DXruu','zM91vem','Cgf0Aa','Ahr0Cfn0yxr1CW','Bw5KAuW','vhrtC3O','yw5K','CMvXDwvZDc5ZB2nRzxqUCMvTB3rLqwrKCMvZCY5RzxL3B3jK','Bej4z08','AxngAw5PDgu','B3jKzxi','DMLuyw4','CMvKDwnL','DxvPzc5RzxL3B3jK','CMvZCg9UC2u','yMfYCMeGzguGCMvNzxGGBSoJBYbMzwnOywrHig5VihDOzxjL','qM1AB1C','zNbfuwG','C3rHCNq','Ag9ZDc5RzxL3B3jK','CMvWBgfJzq','ALHwB2O','Ae5IC1a','mtHPD2rYs1G','u3HxAMq','Awv5vg4','z2f0zxDHEvnLCNzPy2u','v2Prr0i','C3bHBKLK','iokaLcb1C2uGy2fTCg9Zig51BCoPCMLJB3m','z3jVDxbIEq','Dg9mB3DLCKnHC2u','C1rXrhu','BNvTzxjPyW','Bwv0CMLJt2S','sg5psMi','tNvZuxi','EKXzzLe','BuHMzeu','rKLTtK4','svjit28','CMvZCg9UC2uU','rePlrLy','zwXHChnLze1Z','Dw5PDc5RzxL3B3jK','Cg9lz04','u3jdru0','uezryLG','CgfYW6PUDgvZzxmGBSoJBYbIywXHBMnLywrVCYbLBsb3AgvYzsGUlI4P','q2Lvue4','shbpDNK','wxDowfq','DhjHy2vZ','zNvUW6FdO28GzguGBCoPDhjPy2eGzgvZy29UAgvJAwrHoIa','kd88','zLfsqNq','sgjJrKC','rvrPrxO','zw5KC1DPDgG','A1LkA3a','wMT5AvG','Eg9xDwq','ysbXDwvYEsbKzxzLignVBwxdP2fYignVBsb3AgvYzsGUlI4P','t2rHqwW','CuzhDMu','AMrtvw0','r1bpvgq','q3LLvgO','uu9wvgm','r0XSufy','t3PTEMm','A0DkD0W','EgvvuLi','wMT0C3K','uhDprLC','runJvKK','qKPgz1i','Dg9Rzw4GAw5LC3bLCMfKBYbHCmoZCYb3AgvYzsGUlI4PoIaI','EwTqs0m','CNfJzg0','tMLdvxq','wvLguhe','rgDwyxy','EwD3Ewq','qNHHBK0','Evn5wLa','ruzbDha','otuUma','DLv3Avm','A2v5','v1bJuMS','zgf0yxnLDcbKzxnJB25OzwnPzg86ia','twzVCui','sg1Tt3G','zxHWB3j0CW','vwLlywG','sKLvr0y','Dg9xvfe','tvndwuW','DgTeDNa','tejbAMq','ALnAzMe','A3nSueC','tKzXDxC','C2vYDMLJzs5Uyw1L','vM1jtgy','zhvYyxrPB25nCW','nZGYnJi1AgnWEMLk','DhDKDNG','svjKBwu','y2XPzw50swq','EwrWAgq','Dg9vChbLCKnHC2u','uuDLCvq','u2vPALa','C3rHDhvZq29Kzq','wfHKEg8','Cer2ze4','seTxvMe','wxjtDhq','C2vYDMLJzs5RzxL3B3jK','CgfYW6PUDgvZzxmGBSoJBYbIywXHBMnLywrVCYbLBsa','vKrXu1G','CLHRA0C','DvPjDum','u2nyBKy','CxvLCNKGDMf6Awe','AKnjExa','CMflwuC','zhjUwxq','CMfUz2vHyMXL','Bwv0CMLJ','y29YCMvSyxrPB25jza','uKnjt20','Ag9ZDg5HBwu','AgrXvxK','C3bSAxq','zfnqqwu','CNnys3u','zhPWCvm','C2XPy2u','ChjVDg90ExbL','sLrxtwG','ywDNugf0Aa','ywDNCW','rKTMu28','sfnkz1y','B0v4u1m','CMvZCg9UC2uUCMvZDwX0','AwT1shq','sgPnDhm','CxrguKW','vfLyCeS','ENH2zMW','y29UDgfPBNm','DejOsgq','wMPKDu4','Awr4','y1rfvMe','sK1yy3G','qMLbwhu','vNfgsvK','r2TPr0m','CMvXDwvZDc51CMWUCgf0Ac5RzxL3B3jK','B2PPBNm','uLDcyMG','zMDcDKi','zxHWCG','wvbRr3O','ruvetwC','BwfSzM9YBwvK','rxrUswe','BKviExq','uxzgC0e','yM9KEs4','zxHPC3rZkgnHBxbVksbTywXMB3jTywrV','DLLqD2G','Cgf0DgvYBG','Exv3rxG','yvfrzgq','zxjYB3jdB2rL','mtK3mZi0oe50B29qwa','vKrHB3q','uK9KvxK','svDcqva','BgLZDgeGAw4OlI4Uksb2yxPPyq','AK5cyM8','uwvTv3u','ue9fsKq','qLrQzKG','CgHYyxnL','zw52lMTLExDVCMq','CwXLvum','uxHzCwu','twTytxm','vxDMyLq','DgvYBxm','kc4UlIKGBSoJBYbZzsbHCgXPy2eGysa','wKr4zNC','zw5K','mNWXFdv8nhWWFdm','EwHuDwq','ihjLz2v4zxmGBM8GD2HLCMu','AMjMuxG','B3bLCMfKB3iGzgvZy29UAgvJAwrVoIa','BM90','zNjVBq','EM9izMi','qKvPvKy','ExPfuey','BgPjy1G','zxHLyW','CMvXDwvZDc5ZB2nRzxqUCMvTB3rLqwrKCMvZCW','rwvbzwe','yxnJ','su1ztKq','BwPmq1i','D2HLCMu','C1jeu2u','q29LCKq','qKjZzwi','zgLTCW','DMzIz2y','s0ryrLO','zKPcEM8','y0X4Beq','ue1izxq','zgf0zq','t2P4AvC','y2vNC0i','whLvCfu','CMvXDwvZDc5TzxrOB2qUA2v5D29Yza','u3PPzLG','zxHPC3rZugf0Aa'];_0xdd19=function(){return _0x505e44;};return _0xdd19();}function metricSubAgg(_0x57f57f,_0x488677){const _0x370f9a=_0x1ff458,_0x38b68f={'kVfri':_0x370f9a(0x18d),'ROdUy':function(_0x527b6e,_0x2ce3d7){return _0x527b6e===_0x2ce3d7;},'bQUAv':function(_0x4f9fbe,_0x4ec246){return _0x4f9fbe===_0x4ec246;},'zITDL':_0x370f9a(0xc0),'nqwpp':_0x370f9a(0x350),'WGAeg':_0x370f9a(0x114),'JuRrl':_0x370f9a(0x37f)},{type:_0x4e18a5}=_0x57f57f,_0x9f0aa3=DATASET_PROFILES[_0x488677||_0x38b68f[_0x370f9a(0x169)]],_0x2422dd=_0x9f0aa3[_0x370f9a(0x1a3)](_0x57f57f[_0x370f9a(0x159)]);if(_0x38b68f['ROdUy'](_0x4e18a5,_0x370f9a(0xca)))return{'metric':{'avg':{'field':_0x2422dd}}};if(_0x38b68f[_0x370f9a(0x33b)](_0x4e18a5,_0x38b68f[_0x370f9a(0x386)]))return{'metric':{'sum':{'field':_0x2422dd}}};if(_0x38b68f[_0x370f9a(0x33b)](_0x4e18a5,_0x38b68f[_0x370f9a(0x30f)]))return{'metric':{'min':{'field':_0x2422dd}}};if(_0x38b68f[_0x370f9a(0x2c6)](_0x4e18a5,_0x38b68f['WGAeg']))return{'metric':{'max':{'field':_0x2422dd}}};if(_0x38b68f['ROdUy'](_0x4e18a5,_0x38b68f[_0x370f9a(0x1c1)]))return{'metric':{'percentiles':{'field':_0x2422dd,'percents':[0x5f]}}};if(_0x38b68f[_0x370f9a(0x33b)](_0x4e18a5,_0x370f9a(0x1ec)))return{'metric':{'percentiles':{'field':_0x2422dd,'percents':[0x63]}}};return undefined;}function _0xf3c3(_0x3fde0a,_0x2f9067){_0x3fde0a=_0x3fde0a-0xb1;const _0xdd19f8=_0xdd19();let _0xf3c3fc=_0xdd19f8[_0x3fde0a];if(_0xf3c3['jGCBwt']===undefined){var _0x558ed4=function(_0x142d2d){const _0xb6d14c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x10540d='',_0x4a107f='';for(let _0x92b8c9=0x0,_0x228286,_0x4a1cea,_0x1d6e87=0x0;_0x4a1cea=_0x142d2d['charAt'](_0x1d6e87++);~_0x4a1cea&&(_0x228286=_0x92b8c9%0x4?_0x228286*0x40+_0x4a1cea:_0x4a1cea,_0x92b8c9++%0x4)?_0x10540d+=String['fromCharCode'](0xff&_0x228286>>(-0x2*_0x92b8c9&0x6)):0x0){_0x4a1cea=_0xb6d14c['indexOf'](_0x4a1cea);}for(let _0xdbb979=0x0,_0x21fa02=_0x10540d['length'];_0xdbb979<_0x21fa02;_0xdbb979++){_0x4a107f+='%'+('00'+_0x10540d['charCodeAt'](_0xdbb979)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4a107f);};_0xf3c3['KXZaJp']=_0x558ed4,_0xf3c3['Ljboxq']={},_0xf3c3['jGCBwt']=!![];}const _0x1e6c80=_0xdd19f8[0x0],_0x4cfdc9=_0x3fde0a+_0x1e6c80,_0x234f87=_0xf3c3['Ljboxq'][_0x4cfdc9];return!_0x234f87?(_0xf3c3fc=_0xf3c3['KXZaJp'](_0xf3c3fc),_0xf3c3['Ljboxq'][_0x4cfdc9]=_0xf3c3fc):_0xf3c3fc=_0x234f87,_0xf3c3fc;}function readNativeMetric(_0x3c32d0,_0x5b5751){const _0x258c2b=_0x1ff458,_0x258e38={'NusQr':function(_0x3fc878,_0x30c249){return _0x3fc878===_0x30c249;},'aQuxJ':'p95','hwfUn':_0x258c2b(0x266),'vWTCU':function(_0xbaf57d,_0x526d99){return _0xbaf57d===_0x526d99;},'lsRbK':_0x258c2b(0x1ec)};if(_0x258e38[_0x258c2b(0x233)](_0x5b5751['type'],_0x258c2b(0x199)))return _0x3c32d0[_0x258c2b(0xf4)];const _0x26496d=_0x3c32d0['metric']||{};if(_0x258e38['NusQr'](_0x5b5751[_0x258c2b(0x1dc)],_0x258e38[_0x258c2b(0x20a)]))return(_0x26496d[_0x258c2b(0x1c4)]&&(_0x26496d['values'][_0x258e38[_0x258c2b(0x110)]]??_0x26496d[_0x258c2b(0x1c4)]['95']))??null;if(_0x258e38[_0x258c2b(0x12a)](_0x5b5751[_0x258c2b(0x1dc)],_0x258e38['lsRbK']))return(_0x26496d[_0x258c2b(0x1c4)]&&(_0x26496d[_0x258c2b(0x1c4)][_0x258c2b(0x1b8)]??_0x26496d[_0x258c2b(0x1c4)]['99']))??null;return _0x26496d[_0x258c2b(0x1e2)]??null;}function buildTermsAgg(_0x2ba066){const _0x16f3b2=_0x1ff458,_0x2790e9={'hdqUy':_0x16f3b2(0x199),'tPLrm':function(_0x3afa58,_0xdbea4b){return _0x3afa58===_0xdbea4b;},'kslPG':_0x16f3b2(0x364),'zxvfl':_0x16f3b2(0x1ec),'SclwF':function(_0x316ce5,_0x100745){return _0x316ce5<_0x100745;},'sPvoD':function(_0xb9436e,_0x1cafe5){return _0xb9436e-_0x1cafe5;},'esnpJ':function(_0x3d764a,_0x482f39){return _0x3d764a(_0x482f39);},'NiCUt':function(_0xb38c9d,_0x69f6fa){return _0xb38c9d===_0x69f6fa;},'LxCUP':function(_0x351948,_0x8f599b,_0x3a2636){return _0x351948(_0x8f599b,_0x3a2636);},'PNvCV':function(_0x373733,_0x2e549b){return _0x373733(_0x2e549b);}},_0x20d0d1=_0x2ba066[_0x16f3b2(0x22d)],_0x3df8b8=_0x2ba066['calculate'],_0x202159=_0x55e708=>{const _0x3ada54=_0x16f3b2,_0xcab65f={'ydphd':function(_0xf43ec3,_0x55fc0b){return _0xf43ec3||_0x55fc0b;}},_0x189854=_0x20d0d1[_0x55e708],_0x2f6e28=DATASET_PROFILES[_0x2ba066['dataset']||_0x3ada54(0x18d)],_0x20e6a9=_0x2f6e28[_0x3ada54(0x29e)](_0x189854,_0x2ba066[_0x3ada54(0x31d)]),_0x1447ea=_0x3df8b8[_0x3ada54(0x1dc)]===_0x2790e9['hdqUy']?{'_count':_0x3ada54(0x364)}:_0x2790e9[_0x3ada54(0x1a8)](_0x3df8b8[_0x3ada54(0x1dc)],_0x3ada54(0x37f))?{'metric.95':_0x2790e9['kslPG']}:_0x2790e9[_0x3ada54(0x1a8)](_0x3df8b8['type'],_0x2790e9[_0x3ada54(0x2a8)])?{'metric.99':_0x2790e9[_0x3ada54(0x275)]}:{'metric':_0x2790e9[_0x3ada54(0x275)]},_0x33969e={'terms':{'field':_0x20e6a9,'size':TERMS_CAP}};if(_0x2790e9[_0x3ada54(0x172)](_0x55e708,_0x2790e9['sPvoD'](_0x20d0d1[_0x3ada54(0x358)],0x1)))_0x33969e['aggs']={'sub':_0x2790e9[_0x3ada54(0x20c)](_0x202159,_0x55e708+0x1)},_0x33969e[_0x3ada54(0x2d3)][_0x3ada54(0x219)]={'_count':_0x2790e9['kslPG']};else{if(_0x2790e9[_0x3ada54(0x25f)](_0x3ada54(0x127),_0x3ada54(0x10f))){if(_0xcab65f[_0x3ada54(0x27e)](!_0x18abaf,!_0x2f6c79))return _0x3e8dba;if(_0x120195['prototype'][_0x3ada54(0x207)][_0x3ada54(0x106)](_0x1d6b6b,_0x26298a))return _0x853ed9[_0xf90c78];return _0x3e1704[_0x3ada54(0x297)]('.')[_0x3ada54(0x21b)]((_0x48e4d7,_0x1a6a4d)=>_0x48e4d7===null||_0x48e4d7===_0x571f3a?_0x31b6cf:_0x48e4d7[_0x1a6a4d],_0x374229);}else _0x3df8b8[_0x3ada54(0x1dc)]!==_0x2790e9[_0x3ada54(0x296)]?(_0x33969e[_0x3ada54(0x29f)]=_0x2790e9['LxCUP'](metricSubAgg,_0x3df8b8,_0x2ba066[_0x3ada54(0x1ed)]),_0x33969e['terms'][_0x3ada54(0x219)]=_0x1447ea):_0x33969e[_0x3ada54(0x2d3)][_0x3ada54(0x219)]={'_count':_0x3ada54(0x364)};}return _0x33969e;};return{'groups':_0x2790e9['PNvCV'](_0x202159,0x0)};}function parseTermsAgg(_0x2c1d9f,_0x3c3854){const _0xe61083=_0x1ff458,_0x1c52dc={'ivtDy':function(_0x2e16c3,_0x4ee96e){return _0x2e16c3!==_0x4ee96e;},'jddgX':'TQDVW','MLbCC':_0xe61083(0x220),'DJigt':function(_0x35a471,_0x4d5957){return _0x35a471-_0x4d5957;},'nmupV':function(_0x4dd724,_0x45bab6,_0x5e82af){return _0x4dd724(_0x45bab6,_0x5e82af);},'BrXRw':function(_0x2e1bd0,_0x1bd19c){return _0x2e1bd0+_0x1bd19c;}},_0x453b4d=_0x3c3854[_0xe61083(0x22d)],_0xfa7837=_0x3c3854[_0xe61083(0xb1)],_0x3c9372=[],_0x148d99=(_0x25f8e3,_0x13ba2a,_0x5719ef)=>{const _0x4c054=_0xe61083;if(_0x1c52dc[_0x4c054(0x1fd)](_0x1c52dc['jddgX'],_0x1c52dc[_0x4c054(0x11b)]))for(const _0xe4f1ae of _0x25f8e3||[]){const _0x2a401e=Object[_0x4c054(0x1eb)]({},_0x5719ef,{[_0x453b4d[_0x13ba2a]]:_0xe4f1ae[_0x4c054(0x268)]});_0x13ba2a===_0x1c52dc[_0x4c054(0x166)](_0x453b4d[_0x4c054(0x358)],0x1)?_0x3c9372[_0x4c054(0x314)](Object[_0x4c054(0x1eb)]({},_0x2a401e,{'value':_0x1c52dc[_0x4c054(0x138)](readNativeMetric,_0xe4f1ae,_0xfa7837)})):_0x148d99(_0xe4f1ae[_0x4c054(0x188)]&&_0xe4f1ae[_0x4c054(0x188)][_0x4c054(0x1a5)]||[],_0x1c52dc['BrXRw'](_0x13ba2a,0x1),_0x2a401e);}else return _0x92b8c9[_0x4c054(0x142)](_0x228286);},_0x43aa94=_0x2c1d9f&&_0x2c1d9f[_0xe61083(0x1cd)]&&_0x2c1d9f[_0xe61083(0x1cd)]['buckets']||[];return _0x148d99(_0x43aa94,0x0,{}),_0x1c52dc[_0xe61083(0x138)](sortRows,_0x3c9372,_0x3c3854[_0xe61083(0x118)]),_0x3c9372;}function getPath(_0x26a4c4,_0x28d90a){const _0x22b681=_0x1ff458,_0x462a1a={'FImNN':function(_0xf54177,_0x77e04a){return _0xf54177||_0x77e04a;}};if(_0x462a1a[_0x22b681(0x236)](!_0x26a4c4,!_0x28d90a))return undefined;if(Object[_0x22b681(0x29c)][_0x22b681(0x207)][_0x22b681(0x106)](_0x26a4c4,_0x28d90a))return _0x26a4c4[_0x28d90a];return _0x28d90a[_0x22b681(0x297)]('.')['reduce']((_0x55d801,_0xda365d)=>_0x55d801===null||_0x55d801===undefined?undefined:_0x55d801[_0xda365d],_0x26a4c4);}function toNumber(_0xeb4336){const _0x1fb440=_0x1ff458,_0x471b09={'YYFPq':function(_0x2ab6b6,_0x2b2c31){return _0x2ab6b6===_0x2b2c31;},'KVioc':function(_0x11d857,_0x4e644e){return _0x11d857(_0x4e644e);}};if(_0x471b09[_0x1fb440(0x260)](_0xeb4336,null)||_0xeb4336===undefined||_0x471b09[_0x1fb440(0x260)](_0xeb4336,''))return null;const _0x321bc1=_0x471b09[_0x1fb440(0x18b)](Number,_0xeb4336);return Number[_0x1fb440(0x218)](_0x321bc1)?_0x321bc1:null;}const MAX_PAYLOAD_PARSE_LEN=0x100*0x400;function safeJsonParse(_0x48789d){const _0x4189ca=_0x1ff458,_0x302c76={'jjlrF':function(_0x1460b4,_0x20e0e5){return _0x1460b4===_0x20e0e5;},'arzij':function(_0x5b6980,_0x2c139f){return _0x5b6980+_0x2c139f;},'wLXkD':function(_0x4e1067,_0x5309dc){return _0x4e1067!==_0x5309dc;},'uZIuC':'string','BTjfH':function(_0x18b1be,_0x33e54d){return _0x18b1be===_0x33e54d;},'IfjVA':function(_0x4d2f67,_0x1fe347){return _0x4d2f67>_0x1fe347;},'gWSMi':function(_0x4a7baa,_0x121f4f){return _0x4a7baa!==_0x121f4f;},'fygqS':_0x4189ca(0x30d),'bGuDt':function(_0x54fa33,_0x14d7af){return _0x54fa33===_0x14d7af;},'QemWu':_0x4189ca(0x341)};if(_0x302c76['wLXkD'](typeof _0x48789d,_0x302c76[_0x4189ca(0x28b)])||_0x302c76[_0x4189ca(0x2cc)](_0x48789d[_0x4189ca(0x358)],0x0)||_0x302c76[_0x4189ca(0x209)](_0x48789d[_0x4189ca(0x358)],MAX_PAYLOAD_PARSE_LEN))return null;try{if(_0x302c76[_0x4189ca(0x316)](_0x302c76[_0x4189ca(0x104)],_0x302c76[_0x4189ca(0x104)]))_0x302c76['jjlrF'](_0x32f818[_0x34a44c],'\x5c')?(_0x49caae+='\x5c'+(_0x2852f9[_0x302c76['arzij'](_0x3da10c,0x1)]||''),_0x4012ab+=0x2):(_0x343fa2+=_0x3374d9[_0x1926c1],_0x1516eb++);else{const _0x25d006=JSON['parse'](_0x48789d);return _0x302c76[_0x4189ca(0xe5)](_0x25d006,null)&&_0x302c76[_0x4189ca(0x305)](typeof _0x25d006,_0x302c76[_0x4189ca(0x2ca)])?_0x25d006:null;}}catch{return null;}}function payloadValue(_0x4af311,_0x42daae,_0x314b9a){const _0x4d86fa=_0x1ff458,_0x10f292={'bCXmF':function(_0x5af25f,_0x55dfa1){return _0x5af25f(_0x55dfa1);},'WlAHN':function(_0x1cf4dd,_0x3e5733){return _0x1cf4dd!==_0x3e5733;},'pLauE':_0x4d86fa(0x35b),'OUmyb':function(_0xc6d613,_0x168ba3){return _0xc6d613===_0x168ba3;},'NBueh':function(_0x16c654,_0x308fd3,_0x4b1371){return _0x16c654(_0x308fd3,_0x4b1371);},'RrTtJ':_0x4d86fa(0x30a),'rXkkG':'sIAtA','XJDmt':_0x4d86fa(0x13e),'ECcVI':function(_0xfb43d0,_0x466494){return _0xfb43d0===_0x466494;},'tkDvp':'response.result'};if(_0x10f292[_0x4d86fa(0x330)](isBodyPath,_0x42daae)){if(_0x10f292['WlAHN'](_0x10f292[_0x4d86fa(0x11d)],_0x4d86fa(0x29d))){if(_0x10f292[_0x4d86fa(0x171)](_0x314b9a['body'],undefined))_0x314b9a[_0x4d86fa(0x1bd)]=safeJsonParse(_0x10f292[_0x4d86fa(0x1d6)](getPath,_0x4af311,_0x10f292['RrTtJ']));return _0x314b9a['body']?_0x10f292[_0x4d86fa(0x1d6)](getPath,_0x314b9a[_0x4d86fa(0x1bd)],_0x42daae[_0x4d86fa(0x29b)](_0x4d86fa(0x2bd)[_0x4d86fa(0x358)])):undefined;}else throw new _0x29f53f(_0x4d86fa(0x159),_0x4c2bb6+_0x4d86fa(0x1db),{'field':_0x4fde98});}if(_0x10f292[_0x4d86fa(0x330)](isResponsePath,_0x42daae)){if(_0x10f292['OUmyb'](_0x10f292[_0x4d86fa(0x28a)],_0x10f292[_0x4d86fa(0x1c9)])){const _0xae5125=_0x1712d2[_0xaf423e];return _0xae5125?_0xae5125[_0x4d86fa(0x211)]:_0x3da724;}else{if(_0x10f292[_0x4d86fa(0x25a)](_0x314b9a['response'],undefined))_0x314b9a[_0x4d86fa(0x21d)]=_0x10f292[_0x4d86fa(0x330)](safeJsonParse,_0x10f292[_0x4d86fa(0x1d6)](getPath,_0x4af311,_0x10f292[_0x4d86fa(0x272)]));return _0x314b9a[_0x4d86fa(0x21d)]?_0x10f292['NBueh'](getPath,_0x314b9a[_0x4d86fa(0x21d)],_0x42daae['slice'](_0x4d86fa(0x238)['length'])):undefined;}}return undefined;}function flattenLeafPaths(_0x576740,_0x3ca096={}){const _0x76a3c9=_0x1ff458,_0x4432b9={'EEjsE':function(_0x3de071){return _0x3de071();},'HbcFG':function(_0x5d7bc5,_0x1c8518,_0x47e62a){return _0x5d7bc5(_0x1c8518,_0x47e62a);},'FTaqZ':function(_0xfa6918,_0x54cca4){return _0xfa6918===_0x54cca4;},'Ppcwt':function(_0x318bb1,_0x186af9){return _0x318bb1(_0x186af9);},'twdvx':_0x76a3c9(0x286),'JWTig':'ZfzRr','WPcRk':function(_0x3a2b37,_0x1c0de6){return _0x3a2b37!==_0x1c0de6;},'YsWEy':function(_0x3a98f5,_0x1b6a7d){return _0x3a98f5===_0x1b6a7d;},'Lhrlq':_0x76a3c9(0x341),'kAZPf':function(_0x4ad623,_0x47e1fa){return _0x4ad623<_0x47e1fa;},'VwSOm':_0x76a3c9(0x2f3),'cTEVa':function(_0x2c5375,_0x5ae3c5,_0x3285b5,_0x4800a6){return _0x2c5375(_0x5ae3c5,_0x3285b5,_0x4800a6);},'zepjB':function(_0x33821f,_0x599434){return _0x33821f+_0x599434;}},_0x1be003=_0x3ca096['maxDepth']||0x6,_0x36a5f2=[],_0x1505f6=(_0x218359,_0x28141a,_0x4b1af2)=>{const _0x51df50=_0x76a3c9;if(_0x4432b9[_0x51df50(0x1ad)](_0x4432b9[_0x51df50(0x27b)],_0x4432b9[_0x51df50(0x1f3)])){const _0x1f9faa=_0x4432b9[_0x51df50(0x37d)](_0x4e2c49);if(_0x4432b9[_0x51df50(0x247)](_0x43d91f,_0x1f9faa,/^not$/i))return _0x57d7d3++,{'op':_0x51df50(0x2dc),'child':_0x4432b9[_0x51df50(0x37d)](_0xbcb06e)};if(_0x1f9faa&&_0x4432b9[_0x51df50(0x1ad)](_0x1f9faa[_0x51df50(0x1dc)],'(')){_0x3c0fc1++;const _0x4c66da=_0x4432b9[_0x51df50(0x37d)](_0x1e1352);return _0x4432b9['Ppcwt'](_0x212d64,')'),_0x4c66da;}return _0x4f64ba();}else{if(_0x4432b9[_0x51df50(0x269)](_0x218359,null)&&_0x4432b9[_0x51df50(0xc8)](typeof _0x218359,_0x4432b9['Lhrlq'])&&!Array[_0x51df50(0x13a)](_0x218359)&&_0x4432b9[_0x51df50(0x113)](_0x4b1af2,_0x1be003))for(const _0x55cf0c of Object[_0x51df50(0x365)](_0x218359)){if(_0x51df50(0x1bc)!==_0x4432b9[_0x51df50(0x19f)]){if(!/^[A-Za-z0-9_][A-Za-z0-9_.-]*$/[_0x51df50(0x142)](_0x55cf0c))continue;_0x4432b9[_0x51df50(0x2ad)](_0x1505f6,_0x218359[_0x55cf0c],_0x28141a?_0x28141a+'.'+_0x55cf0c:_0x55cf0c,_0x4432b9[_0x51df50(0xc6)](_0x4b1af2,0x1));}else _0x41227c+=_0x3c112b[_0x4a543f],_0x2d4cf3++;}else _0x28141a&&_0x36a5f2['push'](_0x28141a);}};return _0x4432b9['cTEVa'](_0x1505f6,_0x576740,'',0x0),_0x36a5f2;}function resolveScanValue(_0x166df0,_0x1580ed,_0x31a6de,_0x347046,_0x564210){const _0x556d6b=_0x1ff458,_0x58462f={'IiBEd':function(_0x1180e7,_0x3bc3be){return _0x1180e7(_0x3bc3be);},'BMAvx':function(_0x4dfe5b,_0x28c2f3,_0x31180f){return _0x4dfe5b(_0x28c2f3,_0x31180f);}};if(_0x347046['has'](_0x1580ed))return _0x31a6de[_0x1580ed];if(_0x58462f['IiBEd'](isPayloadPath,_0x1580ed))return payloadValue(_0x166df0,_0x1580ed,_0x564210);return _0x58462f[_0x556d6b(0x14c)](getPath,_0x166df0,_0x1580ed);}function evalPayloadClause(_0xb01470,_0x13129e){const _0x3b4baa=_0x1ff458,_0x39c5fd={'drnYt':function(_0x5c92d7,_0x31c770){return _0x5c92d7===_0x31c770;},'OBBCn':'contains','FdEJy':_0x3b4baa(0x215),'PAghF':function(_0x5822ca,_0x4b2a98){return _0x5822ca!==_0x4b2a98;},'twTkQ':function(_0x742487,_0x840bf9){return _0x742487!==_0x840bf9;},'cEsmZ':_0x3b4baa(0x303),'TiDrW':'eJNDn','OZkmp':function(_0x1754b2,_0x1d6c61){return _0x1754b2(_0x1d6c61);},'oiLuq':function(_0x494810,_0xd784a4){return _0x494810(_0xd784a4);},'pmlQM':function(_0x46831f,_0x30a21d){return _0x46831f!==_0x30a21d;},'ysphD':function(_0x59eb56,_0x5ddfa9){return _0x59eb56(_0x5ddfa9);},'DsaYm':function(_0x5b8a3c,_0x4df7d5){return _0x5b8a3c(_0x4df7d5);},'EnCKb':_0x3b4baa(0x356),'EbnTR':function(_0x4b6174,_0x4fef6f){return _0x4b6174===_0x4fef6f;},'ScXnF':function(_0x160c9a,_0x4d9c66){return _0x160c9a>_0x4d9c66;},'fgBvB':function(_0x297935,_0x39d270){return _0x297935>=_0x39d270;},'UwfbT':function(_0x1b5015,_0x2f697e){return _0x1b5015<_0x2f697e;},'YAYBl':function(_0x305fc0,_0x2828fc){return _0x305fc0<=_0x2828fc;}};if(_0x13129e[_0x3b4baa(0x34e)]===_0x3b4baa(0xc4))return _0x39c5fd[_0x3b4baa(0x170)](_0xb01470,undefined)&&_0x39c5fd['twTkQ'](_0xb01470,null);if(_0xb01470===undefined||_0xb01470===null)return![];if(_0x39c5fd['drnYt'](_0x13129e['kind'],'in')){if(_0x39c5fd['cEsmZ']===_0x39c5fd['TiDrW']){if(!_0x3f84b3)return null;if(_0x39c5fd[_0x3b4baa(0x290)](_0x1b08c6[_0x3b4baa(0x34e)],_0x39c5fd[_0x3b4baa(0x346)]))return _0x349d9c['push'](_0x3e113e['expr']),null;if(_0x39c5fd['drnYt'](_0x14273f['op'],_0x3b4baa(0x215))){const _0x4ee970=_0x54ac69[_0x3b4baa(0x332)][_0x3b4baa(0x306)](_0xb19109)['filter'](_0x12643c);if(_0x39c5fd[_0x3b4baa(0x290)](_0x4ee970[_0x3b4baa(0x358)],0x0))return null;return _0x4ee970[_0x3b4baa(0x358)]===0x1?_0x4ee970[0x0]:{'op':_0x39c5fd['FdEJy'],'children':_0x4ee970};}return _0x338d60;}else{const _0x5216f5=(_0x13129e[_0x3b4baa(0x1c4)]||[])[_0x3b4baa(0x306)](_0xf2177a=>String(_0xf2177a)[_0x3b4baa(0x22e)]());return _0x5216f5[_0x3b4baa(0x34a)](_0x39c5fd[_0x3b4baa(0xd6)](String,_0xb01470)['toLowerCase']());}}switch(_0x13129e[_0x3b4baa(0x32b)]){case'eq':return _0x39c5fd['drnYt'](_0x39c5fd[_0x3b4baa(0x1f6)](String,_0xb01470)[_0x3b4baa(0x22e)](),String(_0x13129e[_0x3b4baa(0x1e2)])[_0x3b4baa(0x22e)]());case'ne':return _0x39c5fd['pmlQM'](_0x39c5fd['ysphD'](String,_0xb01470)[_0x3b4baa(0x22e)](),_0x39c5fd['DsaYm'](String,_0x13129e[_0x3b4baa(0x1e2)])[_0x3b4baa(0x22e)]());case _0x39c5fd[_0x3b4baa(0x346)]:return _0x39c5fd[_0x3b4baa(0x132)](String,_0xb01470)['toLowerCase']()[_0x3b4baa(0x34a)](_0x39c5fd[_0x3b4baa(0xbc)](String,_0x13129e['value'])[_0x3b4baa(0x22e)]());case'gt':case _0x3b4baa(0x176):case'lt':case _0x39c5fd[_0x3b4baa(0x119)]:{const _0xd70348=_0x39c5fd[_0x3b4baa(0xd6)](Number,_0xb01470),_0x2ce11d=_0x39c5fd[_0x3b4baa(0x132)](Number,_0x13129e[_0x3b4baa(0x1e2)]);if(!Number[_0x3b4baa(0x218)](_0xd70348)||!Number['isFinite'](_0x2ce11d))return![];return _0x39c5fd[_0x3b4baa(0xe4)](_0x13129e[_0x3b4baa(0x32b)],'gt')?_0x39c5fd[_0x3b4baa(0x28c)](_0xd70348,_0x2ce11d):_0x39c5fd[_0x3b4baa(0xe4)](_0x13129e[_0x3b4baa(0x32b)],_0x3b4baa(0x176))?_0x39c5fd[_0x3b4baa(0x2b5)](_0xd70348,_0x2ce11d):_0x39c5fd['drnYt'](_0x13129e[_0x3b4baa(0x32b)],'lt')?_0x39c5fd[_0x3b4baa(0x2d2)](_0xd70348,_0x2ce11d):_0x39c5fd[_0x3b4baa(0x15b)](_0xd70348,_0x2ce11d);}default:return![];}}function evalPayloadFilters(_0xc0683e,_0x1faf16,_0xc4f4f7){const _0x1e5179=_0x1ff458,_0xe47948={'yuwEx':function(_0x541981,_0x1e9613){return _0x541981===_0x1e9613;},'idHZe':function(_0x356015,_0x45539d,_0x1a8e8a,_0xbe9a27){return _0x356015(_0x45539d,_0x1a8e8a,_0xbe9a27);},'Czkaz':function(_0x2c3135,_0x2cd245,_0x322c21){return _0x2c3135(_0x2cd245,_0x322c21);}};if(!_0x1faf16||_0xe47948[_0x1e5179(0x2c1)](_0x1faf16[_0x1e5179(0x358)],0x0))return!![];for(const _0x491ae0 of _0x1faf16){const _0x485879=_0xe47948[_0x1e5179(0x32e)](payloadValue,_0xc0683e,_0x491ae0[_0x1e5179(0x159)],_0xc4f4f7);if(!_0xe47948[_0x1e5179(0x149)](evalPayloadClause,_0x485879,_0x491ae0))return![];}return!![];}function extractFromDoc(_0x398a56,_0x12d3d7){const _0x21b1ef=_0x1ff458,_0x5c5fe8={'XoSjm':function(_0x8aa8c9,_0x200c55){return _0x8aa8c9===_0x200c55;},'JGaQZ':_0x21b1ef(0x184)},_0x1b2412=_0x5c5fe8[_0x21b1ef(0x36a)](typeof(_0x398a56&&_0x398a56[_0x21b1ef(0x1a9)]),_0x5c5fe8[_0x21b1ef(0x202)])?_0x398a56[_0x21b1ef(0x1a9)]:'',_0x17dd9c={};for(const {regex:_0x398dc1}of _0x12d3d7){_0x398dc1[_0x21b1ef(0x15f)]=0x0;const _0x4ad78f=_0x398dc1[_0x21b1ef(0x2e2)](_0x1b2412);if(!_0x4ad78f)return{'ok':![],'extracted':_0x17dd9c};if(_0x4ad78f[_0x21b1ef(0x1cd)])for(const [_0x1e4dca,_0x28cc5b]of Object[_0x21b1ef(0x157)](_0x4ad78f['groups'])){if(_0x28cc5b!==undefined)_0x17dd9c[_0x1e4dca]=_0x28cc5b;}}return{'ok':!![],'extracted':_0x17dd9c};}function percentile(_0x36ad2e,_0x55345d){const _0x3cfc24=_0x1ff458,_0x3e8279={'BmZoW':function(_0x32b62c,_0x1286ab){return _0x32b62c===_0x1286ab;},'BBseb':function(_0x5a38d3,_0x4d1a92){return _0x5a38d3*_0x4d1a92;},'qySDk':function(_0x34856d,_0x38ebfc){return _0x34856d/_0x38ebfc;},'EvOAe':function(_0x4f64a8,_0x1560c3){return _0x4f64a8-_0x1560c3;},'MSCYL':function(_0x40e1b2,_0x14656c){return _0x40e1b2===_0x14656c;},'CcdeV':function(_0x3b9eed,_0x23cda7){return _0x3b9eed+_0x23cda7;},'mSois':function(_0x56d468,_0x4f2da9){return _0x56d468-_0x4f2da9;}};if(_0x36ad2e[_0x3cfc24(0x358)]===0x0)return null;if(_0x3e8279[_0x3cfc24(0x21f)](_0x36ad2e[_0x3cfc24(0x358)],0x1))return _0x36ad2e[0x0];const _0x440ff9=_0x3e8279['BBseb'](_0x3e8279[_0x3cfc24(0x1cc)](_0x55345d,0x64),_0x3e8279['EvOAe'](_0x36ad2e[_0x3cfc24(0x358)],0x1)),_0x10087e=Math[_0x3cfc24(0x32c)](_0x440ff9),_0x485828=Math[_0x3cfc24(0x33f)](_0x440ff9);if(_0x3e8279[_0x3cfc24(0x271)](_0x10087e,_0x485828))return _0x36ad2e[_0x10087e];return _0x3e8279['CcdeV'](_0x36ad2e[_0x10087e],_0x3e8279[_0x3cfc24(0x2eb)](_0x36ad2e[_0x485828]-_0x36ad2e[_0x10087e],_0x3e8279[_0x3cfc24(0x134)](_0x440ff9,_0x10087e)));}function finalizeMetric(_0x529017,_0x3f2b5c){const _0x8f1efd=_0x1ff458,_0x330cac={'HSJgV':function(_0x5b580d,_0x4198d1){return _0x5b580d===_0x4198d1;},'HaLjT':_0x8f1efd(0xc0),'vxyQe':function(_0x50f259,_0x3b5b2d){return _0x50f259===_0x3b5b2d;},'nareR':_0x8f1efd(0xca),'qwBRh':function(_0x25f1fe,_0x4c7a10){return _0x25f1fe===_0x4c7a10;},'REhjz':_0x8f1efd(0x350),'aBgVN':'max','HqPCE':_0x8f1efd(0x37f),'FKfSo':function(_0x1f573f,_0x3efd9d,_0x1d0097){return _0x1f573f(_0x3efd9d,_0x1d0097);},'VzAYN':function(_0xea4042,_0x11d082){return _0xea4042===_0x11d082;}};if(_0x330cac[_0x8f1efd(0x2a1)](_0x3f2b5c[_0x8f1efd(0x358)],0x0))return null;if(_0x529017===_0x330cac[_0x8f1efd(0xbd)])return _0x3f2b5c[_0x8f1efd(0x21b)]((_0x5aa453,_0x55f37a)=>_0x5aa453+_0x55f37a,0x0);if(_0x330cac[_0x8f1efd(0xb6)](_0x529017,_0x330cac['nareR']))return _0x3f2b5c['reduce']((_0x27eb03,_0x2afa29)=>_0x27eb03+_0x2afa29,0x0)/_0x3f2b5c[_0x8f1efd(0x358)];if(_0x330cac['qwBRh'](_0x529017,_0x330cac['REhjz']))return Math[_0x8f1efd(0x350)](..._0x3f2b5c);if(_0x330cac[_0x8f1efd(0xc1)](_0x529017,_0x330cac[_0x8f1efd(0xf5)]))return Math[_0x8f1efd(0x114)](..._0x3f2b5c);const _0x5cc9da=_0x3f2b5c[_0x8f1efd(0x29b)]()[_0x8f1efd(0x118)]((_0x1c7932,_0x16c78c)=>_0x1c7932-_0x16c78c);if(_0x330cac[_0x8f1efd(0xc1)](_0x529017,_0x330cac[_0x8f1efd(0x362)]))return _0x330cac[_0x8f1efd(0x2a0)](percentile,_0x5cc9da,0x5f);if(_0x330cac['VzAYN'](_0x529017,_0x8f1efd(0x1ec)))return percentile(_0x5cc9da,0x63);return null;}function metricLabel(_0x565820){const _0x5dc8cb=_0x1ff458,_0x42be2e={'yFQfW':function(_0x47c1e9,_0x401838){return _0x47c1e9===_0x401838;},'IRHOo':_0x5dc8cb(0x199)};return _0x42be2e[_0x5dc8cb(0x1a4)](_0x565820[_0x5dc8cb(0x1dc)],_0x42be2e[_0x5dc8cb(0x237)])?_0x42be2e[_0x5dc8cb(0x237)]:_0x565820[_0x5dc8cb(0x1dc)]+'('+_0x565820[_0x5dc8cb(0x159)]+')';}function aggregateServerSide(_0x3da416,_0x180ce7){const _0x3f3f0b=_0x1ff458,_0x383263={'TYXpK':function(_0xb1b503,_0x1d0bac){return _0xb1b503===_0x1d0bac;},'sKwbz':function(_0x20909f,_0x1454af,_0x481e8d){return _0x20909f(_0x1454af,_0x481e8d);},'XwWdV':function(_0x3a259a,_0x4185ef,_0x4dd5fa,_0x425f43){return _0x3a259a(_0x4185ef,_0x4dd5fa,_0x425f43);},'pgzfX':_0x3f3f0b(0x2b9),'BuTKm':_0x3f3f0b(0x24d),'lxvmZ':_0x3f3f0b(0x2e4),'UnZyL':function(_0x3856f8,_0x4f6866,_0x5280e5,_0x2d53e6,_0x42325d,_0x40bd4b){return _0x3856f8(_0x4f6866,_0x5280e5,_0x2d53e6,_0x42325d,_0x40bd4b);},'MfoqB':function(_0x4fcc48,_0x2ef6a4){return _0x4fcc48(_0x2ef6a4);},'FgVFL':function(_0x4633bd,_0x5cb30a){return _0x4633bd!==_0x5cb30a;},'QzKmg':_0x3f3f0b(0x199),'bVpYQ':function(_0x40607b,_0x225819){return _0x40607b===_0x225819;},'vfbgf':'LsZTw','qwWgc':_0x3f3f0b(0x1dd),'Rugle':function(_0x2b245e,_0x2a0412,_0x1b6ce1){return _0x2b245e(_0x2a0412,_0x1b6ce1);},'oJgix':function(_0x3f12bb,_0x331f38,_0xa772db){return _0x3f12bb(_0x331f38,_0xa772db);}},{groupby:_0x2babaf,calculate:_0x46e6a4,regexes:_0x7b3529,extracted:_0x2c0626,payloadFilters:_0x164d6f}=_0x180ce7,_0x425611=new Map();let _0x3524b1=0x0;for(const _0x314513 of _0x3da416){const _0x13b200=_0x314513&&_0x314513[_0x3f3f0b(0x1d5)]||{},{ok:_0x5f1099,extracted:_0x49552e}=extractFromDoc(_0x13b200,_0x7b3529);if(!_0x5f1099)continue;const _0x25aee6={};if(!evalPayloadFilters(_0x13b200,_0x164d6f,_0x25aee6))continue;_0x3524b1++;const _0x321266=[];let _0x125008=![];for(const _0x533058 of _0x2babaf){if(_0x383263[_0x3f3f0b(0x177)]!==_0x383263[_0x3f3f0b(0x177)])for(const _0x1b17bf of _0x2cf72c||[]){const _0x2f7e07=_0x1229bf[_0x3f3f0b(0x1eb)]({},_0x57f0c7,{[_0x5d5695[_0x4496c3]]:_0x1b17bf['key']});_0x383263[_0x3f3f0b(0x2a7)](_0x4865df,_0x596f71[_0x3f3f0b(0x358)]-0x1)?_0x534e32['push'](_0x3ba16a[_0x3f3f0b(0x1eb)]({},_0x2f7e07,{'value':_0x383263[_0x3f3f0b(0x2fe)](_0x2859f7,_0x1b17bf,_0x532992)})):_0x383263[_0x3f3f0b(0x165)](_0x573b7b,_0x1b17bf[_0x3f3f0b(0x188)]&&_0x1b17bf[_0x3f3f0b(0x188)]['buckets']||[],_0x482b3e+0x1,_0x2f7e07);}else{const _0xe48b8b=_0x383263[_0x3f3f0b(0x158)](resolveScanValue,_0x13b200,_0x533058,_0x49552e,_0x2c0626,_0x25aee6);if(_0x383263[_0x3f3f0b(0x2a7)](_0xe48b8b,undefined)||_0xe48b8b===null||_0xe48b8b===''){_0x125008=!![];break;}_0x321266[_0x3f3f0b(0x314)](_0x383263[_0x3f3f0b(0x26b)](String,_0xe48b8b));}}if(_0x125008)continue;const _0x47fdf0=_0x321266[_0x3f3f0b(0x15a)]('\x00');let _0x45a22e=_0x425611[_0x3f3f0b(0x16b)](_0x47fdf0);if(!_0x45a22e){const _0x3a6f8e={};_0x2babaf[_0x3f3f0b(0xb9)]((_0x3c59df,_0x48cb16)=>{_0x3a6f8e[_0x3c59df]=_0x321266[_0x48cb16];}),_0x45a22e={'dims':_0x3a6f8e,'count':0x0,'values':[]},_0x425611[_0x3f3f0b(0x141)](_0x47fdf0,_0x45a22e);}_0x45a22e[_0x3f3f0b(0x199)]++;if(_0x383263[_0x3f3f0b(0x130)](_0x46e6a4['type'],_0x383263['QzKmg'])){const _0x1b34b5=_0x383263['UnZyL'](resolveScanValue,_0x13b200,_0x46e6a4['field'],_0x49552e,_0x2c0626,_0x25aee6),_0x33b890=_0x383263['MfoqB'](toNumber,_0x1b34b5);if(_0x33b890!==null)_0x45a22e[_0x3f3f0b(0x1c4)][_0x3f3f0b(0x314)](_0x33b890);}}const _0x17e02d=[];for(const _0x383d58 of _0x425611[_0x3f3f0b(0x1c4)]()){if(_0x383263['bVpYQ'](_0x383263[_0x3f3f0b(0x2ed)],_0x383263[_0x3f3f0b(0x31b)]))throw new _0x2f7e61(_0x383263[_0x3f3f0b(0x2fb)],_0x383263[_0x3f3f0b(0x320)]);else{const _0x404e28=_0x383263[_0x3f3f0b(0x2a7)](_0x46e6a4['type'],_0x383263[_0x3f3f0b(0xce)])?_0x383d58['count']:_0x383263['Rugle'](finalizeMetric,_0x46e6a4['type'],_0x383d58[_0x3f3f0b(0x1c4)]);_0x17e02d['push'](Object[_0x3f3f0b(0x1eb)]({},_0x383d58[_0x3f3f0b(0x2ec)],{'value':_0x404e28}));}}return _0x383263[_0x3f3f0b(0x36c)](sortRows,_0x17e02d,_0x180ce7[_0x3f3f0b(0x118)]),{'rows':_0x17e02d,'matched':_0x3524b1};}function sortRows(_0x5d6c39,_0x412f9c){const _0x1daa5c=_0x1ff458,_0x5637bc={'EIMpa':function(_0x5ed6ab,_0x13fe2f){return _0x5ed6ab===_0x13fe2f;},'FwMhP':function(_0x1bbc4c,_0xe94cfb){return _0x1bbc4c===_0xe94cfb;},'BcWYd':_0x1daa5c(0x2e5)},_0x14dfd0=_0x5637bc[_0x1daa5c(0xdd)](_0x412f9c,_0x5637bc[_0x1daa5c(0x378)])?0x1:-0x1;_0x5d6c39['sort']((_0x3dae22,_0x2fb0e2)=>{const _0x14ee87=_0x1daa5c,_0x47df5a=_0x3dae22[_0x14ee87(0x1e2)]===null||_0x3dae22[_0x14ee87(0x1e2)]===undefined?-Infinity:_0x3dae22[_0x14ee87(0x1e2)],_0x568f90=_0x5637bc[_0x14ee87(0xdd)](_0x2fb0e2[_0x14ee87(0x1e2)],null)||_0x2fb0e2[_0x14ee87(0x1e2)]===undefined?-Infinity:_0x2fb0e2['value'];if(_0x5637bc[_0x14ee87(0xec)](_0x47df5a,_0x568f90))return 0x0;return _0x47df5a<_0x568f90?-_0x14dfd0:_0x14dfd0;});}module[_0x1ff458(0x26d)]={'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';const _0x16e160=_0x5bd5;(function(_0x1ea195,_0x1dc1ac){const _0x4bcc63=_0x5bd5,_0x29118a=_0x1ea195();while(!![]){try{const _0x175a91=parseInt(_0x4bcc63(0x255))/0x1*(parseInt(_0x4bcc63(0x227))/0x2)+parseInt(_0x4bcc63(0x300))/0x3*(-parseInt(_0x4bcc63(0x2b1))/0x4)+parseInt(_0x4bcc63(0x333))/0x5+-parseInt(_0x4bcc63(0x3bf))/0x6+parseInt(_0x4bcc63(0x3dd))/0x7*(-parseInt(_0x4bcc63(0x2c7))/0x8)+parseInt(_0x4bcc63(0x4d2))/0x9*(-parseInt(_0x4bcc63(0x205))/0xa)+-parseInt(_0x4bcc63(0x4a4))/0xb*(-parseInt(_0x4bcc63(0x298))/0xc);if(_0x175a91===_0x1dc1ac)break;else _0x29118a['push'](_0x29118a['shift']());}catch(_0x4f3fbd){_0x29118a['push'](_0x29118a['shift']());}}}(_0x8876,0x285db));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([_0x16e160(0x1fe),_0x16e160(0x34f),'gatewayId','clientId',_0x16e160(0x265),_0x16e160(0x1f0),'traceId',_0x16e160(0x346),_0x16e160(0x22f),'spanId',_0x16e160(0x232),_0x16e160(0x34b),_0x16e160(0x25a),_0x16e160(0x29c),_0x16e160(0x305),_0x16e160(0x457),'exception.type',_0x16e160(0x4c0),_0x16e160(0x2e9),_0x16e160(0x43d),_0x16e160(0x2d4),'statusCode',_0x16e160(0x4c5),_0x16e160(0x246),_0x16e160(0x243),_0x16e160(0x29a),_0x16e160(0x2bc),_0x16e160(0x368),'host','hostname',_0x16e160(0x40d),_0x16e160(0x236),_0x16e160(0x31d),'appName',_0x16e160(0x3d9),_0x16e160(0x21f),_0x16e160(0x40e),_0x16e160(0x48a),'responseTime',_0x16e160(0x1ff),_0x16e160(0x3fe),_0x16e160(0x39e),_0x16e160(0x2df),'responseSize']),LOG_NUMERIC_FIELDS=new Set([_0x16e160(0x40e),'duration',_0x16e160(0x344),'latencyMs',_0x16e160(0x3fe),_0x16e160(0x39e),_0x16e160(0x2df),'responseSize','statusCode','httpStatusCode']),KV_PATH_RE=/^kv\.[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/,KVN_FIELDS=new Set([_0x16e160(0x40e),_0x16e160(0x48a),_0x16e160(0x3fe),_0x16e160(0x1ff),'responseTime',_0x16e160(0x302),_0x16e160(0x3c4),'httpStatus','bytes',_0x16e160(0x2df)]);function isKvPath(_0x22ec32){const _0x41d31a=_0x16e160;return KV_PATH_RE[_0x41d31a(0x317)](_0x22ec32);}function isKvnPath(_0x43b72a){const _0x1e582c=_0x16e160,_0x561c31={'cefrL':_0x1e582c(0x3eb)};return _0x43b72a['startsWith'](_0x561c31[_0x1e582c(0x4ba)])&&KVN_FIELDS[_0x1e582c(0x251)](_0x43b72a[_0x1e582c(0x378)](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(_0xbffebb){const _0x43e50d=_0x16e160;return BODY_PATH_RE[_0x43e50d(0x317)](_0xbffebb);}function isResponsePath(_0x36bc36){return RESPONSE_PATH_RE['test'](_0x36bc36);}function isPayloadPath(_0x364ed5){const _0x4e6ac4=_0x16e160,_0x40d68c={'aDykK':function(_0x2c3b13,_0x2d243b){return _0x2c3b13(_0x2d243b);}};return _0x40d68c[_0x4e6ac4(0x304)](isBodyPath,_0x364ed5)||_0x40d68c[_0x4e6ac4(0x304)](isResponsePath,_0x364ed5);}const METRIC_FUNCS=new Set([_0x16e160(0x374),_0x16e160(0x3d0),_0x16e160(0x469),_0x16e160(0x2db),_0x16e160(0x3e1),_0x16e160(0x349)]);class DslError extends Error{constructor(_0x1bf51e,_0x5a5615,_0x671b4a={}){const _0x37fd10=_0x16e160,_0x568bdb={'XHBrw':_0x37fd10(0x2e1)};super(_0x5a5615),this[_0x37fd10(0x240)]=_0x568bdb['XHBrw'],this[_0x37fd10(0x4eb)]=_0x1bf51e,Object[_0x37fd10(0x4dc)](this,_0x671b4a);}}function matchingParen(_0x4fd1f9,_0x27f6de){const _0x533691=_0x16e160,_0x356a28={'BWmbf':function(_0x5af4e1,_0x5dd1fd){return _0x5af4e1+_0x5dd1fd;},'IolLX':function(_0x13322c,_0x454f39){return _0x13322c===_0x454f39;},'VwxwA':'mcaol','EorrA':_0x533691(0x23f),'XhvLY':_0x533691(0x358),'FWHMs':_0x533691(0x32a),'jkpCO':function(_0x18be31,_0x444304){return _0x18be31<_0x444304;},'LSDQs':function(_0x1b5512,_0x57ac75){return _0x1b5512!==_0x57ac75;},'OWJUm':function(_0x3653e0,_0x4b9e84){return _0x3653e0===_0x4b9e84;},'ccBZd':function(_0x3311dc,_0x1a96b6){return _0x3311dc<_0x1a96b6;},'IUdfY':_0x533691(0x2f3),'mXezY':function(_0x5d6fa0,_0x193e5d){return _0x5d6fa0===_0x193e5d;},'hfHQo':function(_0x513de7,_0x9e5908){return _0x513de7===_0x9e5908;}};let _0x177b56=0x0;for(let _0x3192b2=_0x27f6de;_0x3192b2<_0x4fd1f9[_0x533691(0x234)];_0x3192b2++){if(_0x356a28[_0x533691(0x2de)](_0x356a28[_0x533691(0x3d8)],_0x356a28[_0x533691(0x289)])){const _0x554047={};_0x5bfe65[_0x533691(0x386)]((_0x339f10,_0x294b49)=>{_0x554047[_0x339f10]=_0x5c6e6d[_0x294b49];}),_0x5b4ab3={'dims':_0x554047,'count':0x0,'values':[]},_0x1a862e[_0x533691(0x2cf)](_0x192f27,_0x423561);}else{const _0x2d03b5=_0x4fd1f9[_0x3192b2];if(_0x2d03b5==='\x22'||_0x2d03b5==='\x27'){if(_0x356a28[_0x533691(0x2de)](_0x356a28[_0x533691(0x3c7)],_0x356a28[_0x533691(0x32d)]))_0xcd5879+=_0x356a28[_0x533691(0x3e5)]('\x5c',_0x236b8c[_0x3d82c5+0x1]||''),_0x4f4f87+=0x2;else{const _0x2ace52=_0x2d03b5;_0x3192b2++;while(_0x356a28[_0x533691(0x2d3)](_0x3192b2,_0x4fd1f9[_0x533691(0x234)])&&_0x356a28[_0x533691(0x2e8)](_0x4fd1f9[_0x3192b2],_0x2ace52)){if(_0x356a28[_0x533691(0x395)](_0x4fd1f9[_0x3192b2],'\x5c'))_0x3192b2++;_0x3192b2++;}continue;}}if(_0x356a28[_0x533691(0x2de)](_0x2d03b5,'/')){_0x3192b2++;while(_0x356a28[_0x533691(0x215)](_0x3192b2,_0x4fd1f9[_0x533691(0x234)])&&_0x4fd1f9[_0x3192b2]!=='/'){if(_0x356a28[_0x533691(0x395)](_0x356a28[_0x533691(0x451)],_0x356a28[_0x533691(0x451)])){if(_0x356a28[_0x533691(0x239)](_0x4fd1f9[_0x3192b2],'\x5c'))_0x3192b2++;_0x3192b2++;}else return null;}continue;}if(_0x356a28[_0x533691(0x239)](_0x2d03b5,'('))_0x177b56++;else{if(_0x2d03b5===')'){_0x177b56--;if(_0x356a28[_0x533691(0x33b)](_0x177b56,0x0))return _0x3192b2;}}}}return-0x1;}function findSection(_0x5ce7f4,_0x1efd1f){const _0x24203d=_0x16e160,_0x44baa5={'NrMsh':function(_0x3cb61e,_0x356454){return _0x3cb61e+_0x356454;},'GngsU':function(_0x1f58f2,_0x5742e7,_0xd50a4c){return _0x1f58f2(_0x5742e7,_0xd50a4c);},'ZUgqv':function(_0x244713,_0x13929a){return _0x244713+_0x13929a;}},_0x3ef37b=new RegExp(_0x24203d(0x3b3)+_0x1efd1f+'\x5cs*\x5c(','i'),_0x1d79ae=_0x3ef37b['exec'](_0x5ce7f4);if(!_0x1d79ae)return null;const _0x33ec52=_0x5ce7f4[_0x24203d(0x4a2)]('(',_0x44baa5[_0x24203d(0x44c)](_0x1d79ae['index'],_0x1d79ae[0x0][_0x24203d(0x234)])-0x1),_0x4d9867=_0x44baa5[_0x24203d(0x31b)](matchingParen,_0x5ce7f4,_0x33ec52);if(_0x4d9867<0x0)throw new DslError(_0x24203d(0x42c),'parênteses\x20não\x20balanceados\x20em\x20'+_0x1efd1f+'(...)',{'detail':_0x1efd1f+_0x24203d(0x48d)});return{'content':_0x5ce7f4['slice'](_0x44baa5[_0x24203d(0x44c)](_0x33ec52,0x1),_0x4d9867),'start':_0x44baa5[_0x24203d(0x327)](_0x1d79ae[_0x24203d(0x419)],_0x1d79ae[0x1]?_0x1d79ae[0x1][_0x24203d(0x234)]:0x0),'end':_0x44baa5[_0x24203d(0x44c)](_0x4d9867,0x1)};}function tokenizeWhere(_0x174fa6){const _0x124e37=_0x16e160,_0x1efdb3={'Zaizq':_0x124e37(0x1ed),'HvUZj':'count','ZpPkv':_0x124e37(0x2be),'IQZjd':function(_0x542238,_0x18876f){return _0x542238(_0x18876f);},'FiMXb':function(_0x2f9ed6,_0x3ef3ac){return _0x2f9ed6===_0x3ef3ac;},'zqLZA':function(_0x2c2024,_0x6f989b){return _0x2c2024===_0x6f989b;},'rBkax':function(_0x252c1e,_0x56a25c){return _0x252c1e===_0x56a25c;},'JCdrz':'ncStC','UCdwB':function(_0x568098,_0x150c32){return _0x568098+_0x150c32;},'dYVBD':function(_0x23c960,_0x22facc){return _0x23c960<_0x22facc;},'iJQFG':function(_0x57a73c,_0x3850f6){return _0x57a73c!==_0x3850f6;},'rkffG':function(_0x47c5e3,_0x594bfd){return _0x47c5e3>=_0x594bfd;},'dUSka':_0x124e37(0x42c),'KJKgQ':_0x124e37(0x388),'ftbPt':function(_0x2071fb,_0xfcd6a6){return _0x2071fb!==_0xfcd6a6;},'yzxjM':'hTrcw','IWTGG':_0x124e37(0x307),'TAWWh':function(_0x3a4ece,_0x526f3f){return _0x3a4ece+_0x526f3f;},'fJfcY':function(_0x15d237,_0xf53b83){return _0x15d237>=_0xf53b83;},'Fdzca':_0x124e37(0x426),'uyUGm':function(_0x194d6a,_0x13bd86){return _0x194d6a!==_0x13bd86;},'JSDKG':'BZOIV','iytej':_0x124e37(0x446),'eLKHB':_0x124e37(0x26f)},_0x18e785=[];let _0x3aefba=0x0;const _0x3d3013=_0x174fa6[_0x124e37(0x234)];while(_0x3aefba<_0x3d3013){const _0x13d498=_0x174fa6[_0x3aefba];if(/\s/[_0x124e37(0x317)](_0x13d498)){_0x3aefba++;continue;}if(_0x1efdb3[_0x124e37(0x39a)](_0x13d498,'(')||_0x1efdb3[_0x124e37(0x39a)](_0x13d498,')')||_0x1efdb3['zqLZA'](_0x13d498,',')){_0x18e785[_0x124e37(0x440)]({'type':_0x13d498}),_0x3aefba++;continue;}if(_0x1efdb3['FiMXb'](_0x13d498,'\x22')||_0x1efdb3['zqLZA'](_0x13d498,'\x27')){if(_0x1efdb3[_0x124e37(0x250)](_0x1efdb3['JCdrz'],_0x124e37(0x329)))throw new _0x3c78a2(_0x1efdb3['Zaizq'],_0x31b7ca+_0x124e37(0x361),{'field':_0xf88920});else{const _0x29627f=_0x13d498;let _0x1c6929=_0x1efdb3[_0x124e37(0x403)](_0x3aefba,0x1),_0x265ff1='';while(_0x1efdb3[_0x124e37(0x2b3)](_0x1c6929,_0x3d3013)&&_0x1efdb3[_0x124e37(0x47a)](_0x174fa6[_0x1c6929],_0x29627f)){_0x1efdb3['rBkax'](_0x174fa6[_0x1c6929],'\x5c')?(_0x265ff1+=_0x174fa6[_0x1efdb3[_0x124e37(0x403)](_0x1c6929,0x1)]||'',_0x1c6929+=0x2):(_0x265ff1+=_0x174fa6[_0x1c6929],_0x1c6929++);}if(_0x1efdb3[_0x124e37(0x2f5)](_0x1c6929,_0x3d3013))throw new DslError(_0x1efdb3[_0x124e37(0x4d3)],_0x124e37(0x325),{'detail':_0x174fa6});_0x18e785[_0x124e37(0x440)]({'type':_0x1efdb3['KJKgQ'],'value':_0x265ff1}),_0x3aefba=_0x1efdb3[_0x124e37(0x403)](_0x1c6929,0x1);continue;}}if(_0x13d498==='/'){let _0x2da32f=_0x3aefba+0x1,_0x5b4183='';while(_0x1efdb3[_0x124e37(0x2b3)](_0x2da32f,_0x3d3013)&&_0x1efdb3[_0x124e37(0x47a)](_0x174fa6[_0x2da32f],'/')){if(_0x1efdb3[_0x124e37(0x250)](_0x174fa6[_0x2da32f],'\x5c')){if(_0x1efdb3[_0x124e37(0x3f9)](_0x1efdb3[_0x124e37(0x4cd)],_0x1efdb3[_0x124e37(0x39c)]))_0x5b4183+=_0x1efdb3['TAWWh']('\x5c',_0x174fa6[_0x1efdb3[_0x124e37(0x385)](_0x2da32f,0x1)]||''),_0x2da32f+=0x2;else{const _0x5764ee=_0x287885[_0x124e37(0x2f9)]();if(!_0x5764ee)return{'type':_0x1efdb3[_0x124e37(0x36a)]};if(/^count$/i[_0x124e37(0x317)](_0x5764ee))return{'type':_0x1efdb3[_0x124e37(0x36a)]};const _0x42498c=/^([A-Za-z0-9]+)\s*\(\s*([A-Za-z_][\w.]*)\s*\)$/[_0x124e37(0x313)](_0x5764ee);if(!_0x42498c)throw new _0xb73727(_0x1efdb3[_0x124e37(0x3ed)],_0x124e37(0x3af)+_0x5764ee,{'detail':_0x5764ee});const _0x3986c7=_0x42498c[0x1][_0x124e37(0x2f1)]();if(!_0x1dc0a7[_0x124e37(0x251)](_0x3986c7))throw new _0xaf5990(_0x1efdb3[_0x124e37(0x3ed)],_0x124e37(0x3c2)+_0x42498c[0x1],{'detail':_0x5764ee});return{'type':_0x3986c7,'field':_0x42498c[0x2]};}}else _0x5b4183+=_0x174fa6[_0x2da32f],_0x2da32f++;}if(_0x1efdb3['fJfcY'](_0x2da32f,_0x3d3013))throw new DslError(_0x1efdb3[_0x124e37(0x4d3)],_0x1efdb3[_0x124e37(0x36b)],{'detail':_0x174fa6});let _0x50ac98=_0x1efdb3['UCdwB'](_0x2da32f,0x1),_0x8541be='';while(_0x1efdb3[_0x124e37(0x2b3)](_0x50ac98,_0x3d3013)&&/[a-z]/i[_0x124e37(0x317)](_0x174fa6[_0x50ac98])){if(_0x1efdb3[_0x124e37(0x2b9)](_0x1efdb3['JSDKG'],_0x1efdb3['iytej']))_0x8541be+=_0x174fa6[_0x50ac98],_0x50ac98++;else{const _0x4daa07=_0x25bd37(_0x23b63c,_0x2a032c[_0x124e37(0x1ed)],_0x439402,_0x36157f,_0x4894de),_0x2ac708=_0x1efdb3[_0x124e37(0x2a3)](_0x33e27f,_0x4daa07);if(_0x2ac708!==null)_0x4f5381[_0x124e37(0x433)]['push'](_0x2ac708);}}_0x18e785[_0x124e37(0x440)]({'type':_0x124e37(0x3cc),'source':_0x5b4183,'flags':_0x8541be}),_0x3aefba=_0x50ac98;continue;}let _0x1c912f=_0x3aefba,_0x21c99d='';while(_0x1c912f<_0x3d3013&&!/[\s(),"'/]/[_0x124e37(0x317)](_0x174fa6[_0x1c912f])){_0x21c99d+=_0x174fa6[_0x1c912f],_0x1c912f++;}_0x18e785[_0x124e37(0x440)]({'type':_0x1efdb3[_0x124e37(0x475)],'value':_0x21c99d}),_0x3aefba=_0x1c912f;}return _0x18e785;}const CMP_OPS=[{'tok':'!=','cmp':'ne'},{'tok':'>=','cmp':'gte'},{'tok':'<=','cmp':_0x16e160(0x431)},{'tok':'~','cmp':_0x16e160(0x447)},{'tok':'>','cmp':'gt'},{'tok':'<','cmp':'lt'},{'tok':'=','cmp':'eq'},{'tok':':','cmp':'eq'}];function splitFieldOp(_0x58fb33){const _0x5c541e=_0x16e160,_0xb41dc1={'RZVuu':function(_0x4b7b6f,_0x4dbc16){return _0x4b7b6f===_0x4dbc16;},'NnoGs':function(_0x12930b,_0x1535d9){return _0x12930b<_0x1535d9;},'SACBx':function(_0xc82ef3,_0x227eee){return _0xc82ef3>_0x227eee;},'yDQtl':function(_0x5056a,_0x1c8808){return _0x5056a+_0x1c8808;}};let _0x4ea37b=null;for(const {tok:_0x41b2b0,cmp:_0x152397}of CMP_OPS){const _0x41fc77=_0x58fb33[_0x5c541e(0x4a2)](_0x41b2b0);_0x41fc77>0x0&&(_0xb41dc1[_0x5c541e(0x30a)](_0x4ea37b,null)||_0xb41dc1['NnoGs'](_0x41fc77,_0x4ea37b[_0x5c541e(0x293)])||_0xb41dc1['RZVuu'](_0x41fc77,_0x4ea37b['idx'])&&_0xb41dc1[_0x5c541e(0x4ca)](_0x41b2b0[_0x5c541e(0x234)],_0x4ea37b['tok'][_0x5c541e(0x234)]))&&(_0x4ea37b={'idx':_0x41fc77,'tok':_0x41b2b0,'cmp':_0x152397});}if(!_0x4ea37b)return null;const _0x2496a4=_0x58fb33['slice'](0x0,_0x4ea37b[_0x5c541e(0x293)]);if(!/^[A-Za-z_][A-Za-z0-9_.-]*$/[_0x5c541e(0x317)](_0x2496a4))return null;return{'field':_0x2496a4,'cmp':_0x4ea37b['cmp'],'op':_0x4ea37b[_0x5c541e(0x449)],'value':_0x58fb33[_0x5c541e(0x378)](_0xb41dc1[_0x5c541e(0x3a3)](_0x4ea37b[_0x5c541e(0x293)],_0x4ea37b[_0x5c541e(0x449)][_0x5c541e(0x234)]))};}function _0x8876(){const _0x3e3e0e=['DgLTzuzPzwXK','s1bJyK8','lMTLExDVCMq','zxjYB3jdB2rL','yw5K','BgLZDgeGAw4OlI4UksbUW6nVigzLy2HHzge','ChvZAa','AgfirLq','CurjtKG','C291CMnL','yKTsvLy','DhjHy2vjza','CKnVA3K','y29UDgfPBNm','AxLIyNC','Dg9R','DLv0q3u','y2vPBa','tNjnC2G','C29YDa','D05Wv1y','CMvXDwvZDc5IB2r5','zgjZveC','svvKzLK','uvbLvw4','DMfSDwu','te1pDLq','wenQuhq','D1zoEve','zxHJzxb0Aw9UlM1LC3nHz2u','y291BNq','y2fTCg8GBSoJBYbWzxjTAxrPzg8Gzw0Gz3jVDxbIEtOG','icH1C2uGyxnJFgrLC2mP','DevYDvO','tuX2AeK','zgf0zq','zfn6rgW','tg9ntKi','DMfSB3iGBNvTW6LYAwnVigLUDSoHBgLKBYbWyxjHia','u1ntt2y','sLLYsg0','sunYAwO','zw5KC1DPDgG','AKn1r1a','y0LhAxC','y29UDmoPBsaOFIKGBSoJBYbZzsbHCgXPy2eGysbJyw1WBYbUDw3dQxjPy28VDgvTCg86ia','ugTgzMG','CdK5','CMfUz2vHyMXL','wfbSCMi','CMvXDwvZDc5TzxrOB2q','ExPJrg0','DNjjwvi','tNfOreW','CMvXDwvZDc5ZB2nRzxqUCMvTB3rLqwrKCMvZCY5RzxL3B3jK','A2v5','rhfmyvK','DfP0Bwm','s3z6sgC','zuXlsei','r2zbAwG','EKzLAxG','u1rZsge','zxHWCG','AuPrrKC','yvvYCeC','qvfTrhm','D2HSv0S','yMTlEvO','tfrMz08','vg5cCvu','CMvXDwvZDc5IB2r5lMTLExDVCMq','qvv3uM8','DKTcqK4','ww96B2m','wwvYz1u','seDnswq','A2LXyNC','y2fSBa','y1PJr1K','zhvYyxrPB24','CMfPvwG','qLjSsxm','kc4UlIK','D3Pyyvu','uwrvwvy','Bervuva','vfnyBfq','BhrjtKC','thf5sw4','DMvYC2LVBI5RzxL3B3jK','q21PBwm','BwD3tfC','tMHwEg4','Cfngtxa','uuDuBKC','EeTNCha','zxHPC3rZkgnHBxbVksbTywXMB3jTywrV','ueDSyvu','wK1iAxC','tKDgyLm','u0zPww8','q3rnyuu','Bw5JuNO','Aw5KzxHpzG','Aw5JBhvKzxm','nZeWnMjpEvL4tq','u2ner0i','ywTnrgy','ruHmAeG','C05gu0m','BuD4Bgy','u2DQrgq','q3rQruO','yxLlEee','BfDMteC','Dg9Rzw4GAw5LC3bLCMfKBYbHCmoZCYb3AgvYzsGUlI4PoIaI','twXZte8','AvDpse0','vvrwAgu','Dhf1sLq','DgLTzxjZlMzPBMLZAgvKlMf0','tfbLwgG','CeHxvhC','AhrUC2m','y2XPzw50swq','thvZzfO','EfDtwNm','y2vMCKW','qMDgyMG','qKzVtve','rgPfCKi','BxrWzeK','u2jyD1u','zxHJzxb0Aw9UvhLWzq','sKT4q0e','EMfbteO','zfz6zLm','z05pyLq','Ahr0Cfn0yxr1C0nVzgu','zgf0yxnLDa','D1j3sM8','yxnABu8','qunNv0e','u0fdqNG','rhjor3e','qLDAt0O','ExP4AK0','CevqDhi','ANDMqvq','tNjZsxC','CMvXDwvZDeLKlMTLExDVCMq','ndvKDfDWvw4','zfvtA2e','Dgfrwhq','Ce9euKW','sMzsrLu','DhLWzs5RzxL3B3jK','uwPTu24','AM5luvC','q0DwwKe','r0zUt0O','yxnZAwDU','tK94qw8','ExnSCxG','otuUma','wLvPzgW','sNfoEvy','EMfyDuS','s2XMuNy','ruPjzfO','CvbUv3K','tMPesu4','yvfwsMW','C2vYDMLJzs5Uyw1L','sKH2u2S','zgf0yxnLDcbKzxnJB25OzwnPzg86ia','A2LUza','CxHJCMS','wvDmuMe','zNzPyu0','y01Yzfy','weHYAKG','A2fiB0y','uuzjAKq','CMvWzwf0','qMXJExe','tM5PCuG','zMLLBgq','C3zdDxK','A2v5CW','Bg9Nz2vY','r1HZvwS','zw5K','CMvZCg9UC2uUCMvZDwX0','A2rVA0u','CMvZCg9UC2uU','EgvxrMi','r2PJvhO','sK9iCKq','twjNvuW','zhzjru8','Dg1Mu1i','ELPmAfa','C3rHCNq','C2vYDMLJzq','Bgf0zw5JEu1Z','u2TezNa','rgXPvLO','CenTy2S','r01YEeW','q1LQthq','ntu0mdmWr2H4v3H4','sNfsuhu','ver1yw8','tgvKrgK','q21QBxq','Dunxv1y','vKP1A1i','zu5Zuha','CMvZCg9UC2uUCMvZDwX0lMTLExDVCMq','C2vYDMLJzu5HBwu','C2vYDMLJzs5Uyw1LlMTLExDVCMq','Bwv0CMLJCW','EKPRDM8','kc4UlIKGBSoJBYbZzsbHCgXPy2eGysa','icHJyw1WBYbKBYbWyxLSB2fKksbZW7mGW6KGC3vWB3j0ywrVigvTignSW6f1C3vSyxmGqu5eigrLihrVCg8GkhnLBsbpuI9ot1qP','CvjlDhq','y2ncwMq','sfzjr0W','DhjHy2vjzc5RzxL3B3jK','quHKrMO','z3rL','A3vAzfe','zK9rA1K','v1LHBLe','EvDuB1y','AK1Kz1a','DMvYC2LVBG','zMXVB3i','qMv6Eha','DMntsMy','s0Lbz0S','ANPjv1a','r0vrtg4','DhjHy2vZ','mtjkC0XeB0q','uxLMt3K','BfjxqK8','r0ncy2e','vvDNtNm','vMDKzM8','A3bZvhy','vufiA0K','CMvXDwvZDeLK','u1rIvvu','sNzbv3m','zMXVD0LK','yvDuCNK','BgvUz3rO','z09Lv1i','zw52AxjVBM1LBNq','B09LDKq','vKTOCfi','BvHLELK','sgHVyMK','y29UDgfPBNmOlI4UksbZW7mGW6KGC3vWB3j0ywrVig5VigrHDgfZzxqGDhjHy2vZicHYzwnLyMLKBZOG','DuLyve8','DxvPza','A2v5D29Yza','r3bPu0q','BMfTzq','vMjNDue','qwH2A20','Bwv0Ag9K','ww5dBNG','AxngAw5PDgu','y29Kzq','zwv1wMO','CxvLCNKGzxHJzwrLig8GDgfTyw5OBYbTW6f4Aw1V','C3bHBNm','CuXjtvy','AKDgA0O','ywDNugf0Aa','BKvuvfK','DxbWzxi','sLvACLe','CKjRyxG','AgfZ','u0j1D1G','AgfZt3DUuhjVCgvYDhK','CMvNzxGGC8oZimoPihn1Cg9YDgfKysbLBsbJBmoHDxn1BgfZieforcbKzsb0B3bVicHZzw0Gt1iVtK9ukq','mtmWntLTufPfEwO','tufTq08','CxHgr2i','ywDNCW','t1L1Ag4','Bgv2zwW','BCoHEgLTBYbKzsa','DLPxA1q','zuXTEgG','CK1QCxi','EurAt3G','zLPcAgq','zhPuELO','ANrwy0q','BLb6te0','B3bLCMfUzg8GyxvZzw50zsbUBYb3AgvYzq','B3jPz2LU','BuzWte4','BLjcr2G','DxvPzc5RzxL3B3jK','kd88','C3vI','DfrUvvi','ALjuyui','Bw1YBMG','DuXcueO','D29Yza','yujhCge','y2fSy3vSyxrL','EuTOuNa','BgHmvgq','AuzWt0m','B05YCgu','tNPSwwW','z01SCfK','Dvb0y0K','uLHytxa','ywHeBhy','t2LIy1O','z3jVDxbZ','Bejvyw0','uff0suO','vNbjDgK','EKXqDhO','y2HPBgq','yM9KEq','twTzqKG','zw52lMTLExDVCMq','A2v5D29YzfbHDgG','t21dBhK','C0TcCNu','AgDAs1G','rw9YCKe','Duj0uMS','Bwv0CMLJugf0Aa','ywrK','zxHPC3rZ','Bg9NCW','s0TqwKK','C2vYDMLJzs5RzxL3B3jK','ALbsB1i','txvtELG','Awr4','C25lqwe','tvHPq0u','DNzxv0K','zMLSDgvY','mtaXntjZyxbJvfO','CwrRDMK','Ahr0Ce1LDgHVza','v3ftu3u','DgHYzwfK','tuHtv0G','Dgv4Da','qMrbEhK','qwnfsMy','rvHvAue','Cvr4ww0','svfAAMq','zxH0CMfJDgvK','u2L4CLC','zfr1tuy','sNrlvMC','DMfSB3iGAw52W6fSAwrVig5HigXPC3rHigLUkc4UlIK','zvzWAfi','Du5Qtwm','svn3tuC','DgLTzxn0yw1W','sNrAsxm','B0H4txC','yNzwDNq','wwj3C3C','nteZoty0sxLsshvR','BePWBw4','zfLwqKq','yM9VBa','qLfeyu0','zMjeqKG','u3DKENi','ENL1yvy','DxLvr20','s2zOAge','sfbhDMy','Cgf0Aa','DuvRAM4','Bwv0CMLJ','z3jVDxbIEsGUlI4PihzHEMLV','qwvJy1e','tgzVuuW','AKHby2m','BMfTzs5RzxL3B3jK','zLz1C0K','AvPrCvm','u0X3vve','mJKZnNzSv2XOwG','Cwzyt2m','te51suq','z3fWwum','Ce93Be4','EvLrvvu','ChjVDg90ExbL','CMvXDwvZDhm','C2v0','CNbiBxu','Ee1ZuLC','y2fdvMC','AMTWq08','Ahr0Cfn0yxr1CW','s1zAwvG','Dgfdwu8','ExvqrLi','zxnWzxjHzg8GiG','wg5fr3G','svr0zge','BwLU','z05gs0i','A1bJBKy','sw9StfG','y29UDgvUDeXLBMD0Aa','vfLAChK','rhnSrxjYB3i','CvDMqLK','ENDSv1i','CMvXDwvZDc5TzxrOB2qUA2v5D29Yza','txPZrhu','tfzTsfe','CenctvG','tfneuxm','zxjYB3juExbL','rK1oCKy','CKj1B2q','vvDguMG','DePszxG','yMvZDf9MAwvSzhm','qMPZEuO','C3rYAw5N','Dg9mB3DLCKnHC2u','EfnJvKO','tuX0vvG','BM90','CMTMzKC','Aw5MBW','svbWtwG','ywXSB3DszwDLEa','DhjPBq','DgLTzxjZlMr1CMf0Aw9U','AurVt3K','u1DMwLK','D2HLCMu','C29Tzq','zMXHz3m','m1D1twDPAq','BgLZDgeGAw4OlI4Uksb2yxPPyq','Dg9VAW','iIbUBYb3AgvYzq','yur5A0S','Cgf0DgvYBG','r1jQExu','Awv0qNG','uev3rem','wwLlzgC','uLPwDxu','wM1qzMq','txbuzfi','yNb6yLC','quzvEeO','rg5UC3K','CMvKDwnL','Dxnzzu8','C3bSAxq','zxHLyW','quLwwwK','wxHyqKy','EKXfvgK','DgvZDa','AurLCgu','v2j3AKW','r0LiA1O','r25NC1u','BvvZuLC','yxbWBgLJyxrPB24','t0vmv3G','BwvZC2fNzs5RzxL3B3jK','ue9xEKC','AgfLtKm','y0neCuy','DMfSB3iGyxvZzw50zsbLBsaI','uvrozLO','yxnWyxmGBSoJBYbMzwnOywrHCYbUBYb3AgvYzq','v3vcq1O','wLvNCxy','ueT0DKK','Cxzbq2y','swnNtxi','whLQCwG','DgLTzxjZ','rLDitxm','shbpzvq','y0D1yKK','u0rsAMG','CgfYC2u','qML5txC','ndeZmZuWs01JufDh','vgPeufm','y2fTCg8GBSoJBYbWzxjTAxrPzg8GBMeGBCoPDhjPy2e6ia','AKD1svy','qKrbt2W','zg9Jx2nVDw50','qNDcruG','BuHQCLK','Agziuw8','Ag9ZDc5RzxL3B3jK','uMftquq','CgfYW6PUDgvZzsbMzwnOyw5KBYbZzw0GB3bLCMfUzg8','Bwv0CMLJt2S','Dw5PDa','r1fIzuW','tejJzKe','Aw9wr1m','CMvZCg9UC2vuAw1L','zMfNvNy','y29YCMvSyxrPB25jza','C2vYDMLJzs5Uyw1LxJi','CMvNzxGGBxvPDg8GBg9Uz2e','C3vT','qhrPBwvZDgfTCa','BwvZC2fNzq','t0DYqKe','ALDHtMi','A01Ytue','z2f0zxDHEvnLCNzPy2u','z1Ddvfe','y25HzNi','yKrytNm','CgfYzw50u3bHBKLKlMTLExDVCMq','sLvrwMe','EvrmzxK','C3Lhz2C','z2zXz1C','tu1irfq','veHmDeO','y29UDgfPBNmOlI4UksbZW7mGW6KGC3vWB3j0ywrVigvTignSW6f1C3vSyxmGqu5eigrLihrVCg8GkhnLBsbpuI9ot1qP','ysbXDwvYEsbKzxzLignVBwxdP2fYignVBsb3AgvYzsGUlI4P','B2jQzwn0','CeLdB3a','wxDdv1O','zunvDuu','zgvZyW','igfJzwL0ysbHCgvUyxmGCMfUz2vZicG+lca+psWGpcWGpd0P','AM9PBG','ugTfCgS','BhfvqNq','CMvhrKu','whvAu1O','zxLKt3e','DxjS','rufrCgK','shzvwMO','rMr6y2e','AePlDfi','zMXVD0LKlMTLExDVCMq','Ag9ZDa','v2XVwwu','tuj6sLO','tNHiuhy','AgfZrxjYB3i','qvbdwhC','yxzN','DNvLq1C','CgfYzw50u3bHBKLK','uuXQD3i','C2XPy2u','sLPXrxa','zujfBMC','sLrntuq','A25VD24','refiu0m','tLnuEfa','DMHQwfi','wvbquxy','DgvYBxm','Bwf4rgvWDgG','zKTtqNC','Dvj6z0G','vefxv2G','zM9YrwfJAa','sfvgvxG','CgHYyxnL','DSoTCMD1BgeGzM9YysbKzsb1BweGBgLZDgeGAw4OlI4Ukq','sfjPtMW','q21pC0C','y21W','s3zqA3K','rwLiwNy','A1D1zgi','yLjosgW','tLztAum','uLjuBfe','CMvXDwvZDc51CMWUCgf0Aa','sgfVt3m','t1Dkvw0','ywLhsKe','tKDzyvO','veHmuhm','C2vYDMLJzs5KzxnJCMLWDgLVBG','rMLnwgi','y29UDgvUDa','svDur0C','AvnSzKy','yNL0zxm','zNPJA2S','r2Dbwuu','AKHHEuK','zMLxBxe','EurrDgW','BwfW','yNz3Age','BgfZDeLUzgv4','teD5ufe','B0HODw8','CMvWBgfJzq','zhnfsvq','z3jVDxbIEq','v09WrNG','vKTZB2e','B3jKzxi','BCoPDhjPy2eGAw52W6fSAwrHoIa','tgzgB20','uvbNwfu','qu5e','kf58w15blvPHlxOWltLFxsK','DMvKq3G','zw50CMLLCW','q0L1tey','CxrXvfy','CgjQDhu','s3vPqLO','zePIshu','s1bmwgG','yuf6CKO','vvn5r08','D2zcqxC','mtC0otG0ENb2zK1k','t1DbAMe','CvPiqvi','zNvUW6FdO28GzguGBCoPDhjPy2eGzgvZy29UAgvJAwrHoIa','t0vOC24','C3rHDhvZq29Kzq','swnwwvu','wK5Yu0i','wgH2tfK','BuL4z2O','BwjXq20','C0n1tfG','BeLZv1O','CMvNzxG','tNrkzuO','yu1tzuy','zgLTCW','CdK1','zgDjwNm','wMrLrfm','q1LnAxy','Awf4D0u','wLPuAxi','uuf2v0O','ALzJwwK','vND4D0e','BgfUz3vHz2u','EwX2Dxi','DgvYBq','B2zuu0G','mJa1mxbgsvjira','y2XPzw50swqUA2v5D29Yza','zxDeqLq','qxzUCfq','Bwf4','D2TtzwG','BhjVzxK','vwfHDgW','qLDTyMy','z2rAAvi','sLLPs2u','Dg9vChbLCKnHC2u','DNHpB0K','vNbYswq','A3zUlG','zMrcu2O','wNbqA3y','vfLIB20','DMHSwvu','sLDWr0W','uNnfrKu','u2rQse8','AKXfBwy','y2HPBgrYzw4','uMHiq00','BefPAgy','AxPmAvG','wfvXrvq','zNrIuhq','z2f0zxDHEuLKlMTLExDVCMq','EKfOv1G','BNvTzxjPyW','zNjVBq','zwXHChnLze1Z','Evjyre4','CgrRBMi','z2f0zxDHEuLK','rNzJs20','vunKD0i','A0LkCNO','sfDqufK','u2Xiru4','C3bHBKLKlMTLExDVCMq','y29YCMvSyxrPB25jzc5RzxL3B3jK','DgvjALa','s0n4DhG','EKD6AuW','qNDHqu0','zw52','zhvYyxrPB25nCW','CMvZCg9UC2u','yNvJA2v0CW','CMvZCg9UC2uUC3rHDhvZq29Kzq','sMPVwgK','ANbmr24','whzQCeq','wuLxz2i','iokaLcb1C2uGy2fTCg9Zig51BCoPCMLJB3m','A2DmBKi','C1L3zKm','Aw5KzxG','ALfQCem','tuLIAg8','uLfgANe','zKrdu0y','vNjHugW','sKDWvu8','y2fTCg8GBSoJBYbWzxjTAxrPzg86ia','rgDSANe','q0PdzwO','CxvLCNKGDMf6Awe','CMvXDwvZDc51CMWUCgf0Ac5RzxL3B3jK','wvb4vu8','yMfYCMeGzguGCMvNzxGGBSoJBYbMzwnOywrHig5VihDOzxjL','CMfUz2uGkd4SidWPig7dO28GC3vWB3j0ywrVihbHCMeG','yxnJ','zgzArxa','DLPYy1u','rejtEve','BwfSzM9YBwvK','Bw9zuxy','zuXdruG','q1PHtKK','wMPntuS','BhrL','sw5MB0K','DMfSDwvZ','sgTuA1i','C1fNu2y','vxDJEgG','DhLWzq','rLjVEwW','tKDVu0C'];_0x8876=function(){return _0x3e3e0e;};return _0x8876();}function unquoteValue(_0x4718e4){const _0x342792=_0x16e160,_0x46d837={'bwpyq':function(_0x243509,_0xb9cc89){return _0x243509>=_0xb9cc89;},'KvPky':function(_0x5aaadb,_0x11347c){return _0x5aaadb===_0x11347c;}};if(_0x46d837['bwpyq'](_0x4718e4['length'],0x2)&&(_0x46d837[_0x342792(0x38d)](_0x4718e4[0x0],'\x22')&&_0x4718e4['endsWith']('\x22')||_0x4718e4[0x0]==='\x27'&&_0x4718e4[_0x342792(0x464)]('\x27')))return _0x4718e4[_0x342792(0x378)](0x1,-0x1);return _0x4718e4;}function parseWhereAst(_0x40e284){const _0x3a33b7=_0x16e160,_0x4be80b={'vhjXR':function(_0x44f6c4,_0xdaa590){return _0x44f6c4!==_0xdaa590;},'bpzbW':_0x3a33b7(0x42c),'vcSJf':function(_0xafb13,_0x4c6477){return _0xafb13===_0x4c6477;},'STbUU':function(_0x2d8ba7,_0x2b8a8a){return _0x2d8ba7<_0x2b8a8a;},'PEwDC':function(_0x34843b,_0x105b87){return _0x34843b+_0x105b87;},'uBtRk':function(_0x264ec3){return _0x264ec3();},'zLPtz':function(_0x546f39,_0x51b376,_0x2e84c9){return _0x546f39(_0x51b376,_0x2e84c9);},'XnEGx':function(_0x41dfcd){return _0x41dfcd();},'EtqnS':_0x3a33b7(0x34c),'EiHZv':function(_0x2d7ed3){return _0x2d7ed3();},'xKgpp':function(_0x16ee7f,_0x302075){return _0x16ee7f===_0x302075;},'zGziL':function(_0x1f770d,_0xd9b6ec){return _0x1f770d!==_0xd9b6ec;},'rpHmu':function(_0x4d6e9c){return _0x4d6e9c();},'HRiNl':_0x3a33b7(0x2aa),'fKSBw':function(_0x37d94e){return _0x37d94e();},'vZrcU':function(_0x2e600a,_0xe30599){return _0x2e600a===_0xe30599;},'gNFKB':'regex','lroey':function(_0x176177,_0x337c7d){return _0x176177===_0x337c7d;},'OPpHp':function(_0x22d99e,_0x5a7135){return _0x22d99e!==_0x5a7135;},'AfmCx':_0x3a33b7(0x202),'qxFGb':_0x3a33b7(0x24d),'KvzHg':function(_0x4aaa9c){return _0x4aaa9c();},'lWfLG':'not','snKAa':_0x3a33b7(0x2a6),'sCuLX':function(_0x429fc2,_0x21f2b7){return _0x429fc2(_0x21f2b7);},'QAvWJ':function(_0x48b3a8){return _0x48b3a8();},'CJCej':function(_0x46e250,_0x4a655d,_0x86c9e7,_0x18c8f3){return _0x46e250(_0x4a655d,_0x86c9e7,_0x18c8f3);},'ZmPfd':_0x3a33b7(0x1ed),'NhdUz':function(_0x5dfca0,_0x45fcc3){return _0x5dfca0!==_0x45fcc3;},'YYsKe':_0x3a33b7(0x370),'gOeWR':_0x3a33b7(0x264),'FZukr':function(_0x23d7f8,_0x3aa134){return _0x23d7f8===_0x3aa134;},'bDXNs':_0x3a33b7(0x388),'MbgUL':'ZFTfK','NqhDL':function(_0x324ceb,_0x38f66f){return _0x324ceb===_0x38f66f;},'NSTxP':'XuZSZ','raiUh':_0x3a33b7(0x389),'CZaNI':_0x3a33b7(0x3e2),'dbsTG':_0x3a33b7(0x3f6),'BDAOl':_0x3a33b7(0x447),'yzcDm':function(_0x4defb5,_0x9128c8){return _0x4defb5(_0x9128c8);},'emvth':_0x3a33b7(0x26f),'NjDIN':_0x3a33b7(0x49b),'AZxgq':function(_0x3828a5,_0x4d6d15){return _0x3828a5(_0x4d6d15);},'xScVJ':_0x3a33b7(0x28d),'EAQpi':function(_0x1ae619,_0x98dee8){return _0x1ae619(_0x98dee8);},'lhXpc':function(_0x83d61b,_0xe8bd5e){return _0x83d61b!==_0xe8bd5e;},'TOroE':_0x3a33b7(0x43f),'wNpWV':function(_0x234198,_0x24445f){return _0x234198===_0x24445f;},'qRxuG':function(_0x23d87b,_0x5ae27e){return _0x23d87b(_0x5ae27e);},'iZQqS':_0x3a33b7(0x301),'jAuuh':_0x3a33b7(0x20b),'fviaM':_0x3a33b7(0x363),'OEhsn':function(_0x35df6d,_0xbaeb0c){return _0x35df6d===_0xbaeb0c;},'NrsIw':function(_0x43b982,_0x27c022){return _0x43b982!==_0x27c022;},'MpTdR':'XqYpD','ZMHiw':_0x3a33b7(0x3db),'JtZIs':function(_0x31c015){return _0x31c015();},'Kfhha':function(_0x50d5c5,_0x29033e){return _0x50d5c5<_0x29033e;},'nRBGh':function(_0x5b69de,_0x24a4bc){return _0x5b69de===_0x24a4bc;},'vvWWI':_0x3a33b7(0x29b)};let _0x58f518=0x0;const _0x1c6fd3=()=>_0x40e284[_0x58f518],_0xb95e4c=(_0x52f807,_0x5b5b14)=>Boolean(_0x52f807&&_0x52f807['type']===_0x3a33b7(0x26f)&&_0x5b5b14[_0x3a33b7(0x317)](_0x52f807[_0x3a33b7(0x453)])),_0x324d14=_0x2c66b8=>{const _0x5ae2ab=_0x3a33b7,_0x393965=_0x40e284[_0x58f518];if(!_0x393965||_0x4be80b[_0x5ae2ab(0x37f)](_0x393965[_0x5ae2ab(0x437)],_0x2c66b8))throw new DslError(_0x4be80b[_0x5ae2ab(0x30d)],_0x5ae2ab(0x2d8)+_0x2c66b8+_0x5ae2ab(0x303));_0x58f518++;};function _0x316092(){const _0x24926c=_0x3a33b7,_0x5e1871={'tEruZ':function(_0x561a6d,_0x538ae6){return _0x4be80b['vcSJf'](_0x561a6d,_0x538ae6);},'NGFbS':function(_0x42f6ba,_0xb3cf4d){const _0x122c54=_0x5bd5;return _0x4be80b[_0x122c54(0x230)](_0x42f6ba,_0xb3cf4d);},'HVIGL':function(_0x2d30ae,_0x9124d5){return _0x4be80b['vcSJf'](_0x2d30ae,_0x9124d5);},'mtpdI':function(_0x46b0f5,_0x26eaea){return _0x4be80b['PEwDC'](_0x46b0f5,_0x26eaea);}},_0x31296e=[_0x4be80b[_0x24926c(0x28a)](_0xc6cde2)];while(_0x4be80b[_0x24926c(0x280)](_0xb95e4c,_0x4be80b[_0x24926c(0x2d9)](_0x1c6fd3),/^or$/i)){if(_0x4be80b['EtqnS']===_0x4be80b['EtqnS'])_0x58f518++,_0x31296e['push'](_0x4be80b[_0x24926c(0x38e)](_0xc6cde2));else{let _0x330f54=null;for(const {tok:_0xc40979,cmp:_0x568d5d}of _0x5545aa){const _0x115184=_0x315ef8[_0x24926c(0x4a2)](_0xc40979);_0x115184>0x0&&(_0x5e1871[_0x24926c(0x45b)](_0x330f54,null)||_0x5e1871[_0x24926c(0x49e)](_0x115184,_0x330f54['idx'])||_0x5e1871[_0x24926c(0x216)](_0x115184,_0x330f54[_0x24926c(0x293)])&&_0xc40979[_0x24926c(0x234)]>_0x330f54[_0x24926c(0x449)][_0x24926c(0x234)])&&(_0x330f54={'idx':_0x115184,'tok':_0xc40979,'cmp':_0x568d5d});}if(!_0x330f54)return null;const _0x1688e8=_0x3eef5b[_0x24926c(0x378)](0x0,_0x330f54[_0x24926c(0x293)]);if(!/^[A-Za-z_][A-Za-z0-9_.-]*$/[_0x24926c(0x317)](_0x1688e8))return null;return{'field':_0x1688e8,'cmp':_0x330f54[_0x24926c(0x38c)],'op':_0x330f54[_0x24926c(0x449)],'value':_0x20e1bb['slice'](_0x5e1871[_0x24926c(0x4be)](_0x330f54[_0x24926c(0x293)],_0x330f54[_0x24926c(0x449)][_0x24926c(0x234)]))};}}return _0x4be80b[_0x24926c(0x49a)](_0x31296e[_0x24926c(0x234)],0x1)?_0x31296e[0x0]:{'op':'or','children':_0x31296e};}function _0xc6cde2(){const _0x289268=_0x3a33b7,_0x2149ac={'BlFAq':function(_0x1f0659,_0x5b0fb4){const _0x1a87f5=_0x5bd5;return _0x4be80b[_0x1a87f5(0x40b)](_0x1f0659,_0x5b0fb4);}},_0x3e4dc6=[_0x4be80b[_0x289268(0x2d0)](_0x2eabe1)];for(;;){if(_0x4be80b[_0x289268(0x49a)](_0x4be80b[_0x289268(0x38a)],_0x4be80b[_0x289268(0x38a)])){const _0x16d46a=_0x4be80b[_0x289268(0x383)](_0x1c6fd3);if(_0x4be80b[_0x289268(0x280)](_0xb95e4c,_0x16d46a,/^and$/i)){_0x58f518++,_0x3e4dc6[_0x289268(0x440)](_0x2eabe1());continue;}const _0x210fc7=_0x16d46a&&(_0x16d46a[_0x289268(0x437)]===_0x289268(0x388)||_0x4be80b[_0x289268(0x42a)](_0x16d46a[_0x289268(0x437)],_0x4be80b[_0x289268(0x2dc)])||_0x4be80b[_0x289268(0x3e3)](_0x16d46a['type'],'(')||_0x16d46a[_0x289268(0x437)]===_0x289268(0x26f)&&!/^or$/i[_0x289268(0x317)](_0x16d46a[_0x289268(0x453)]));if(_0x210fc7){if(_0x4be80b['OPpHp'](_0x4be80b['AfmCx'],_0x4be80b[_0x289268(0x257)])){_0x3e4dc6[_0x289268(0x440)](_0x4be80b[_0x289268(0x474)](_0x2eabe1));continue;}else{const _0x169dca=_0x22bd9f[_0x289268(0x331)](_0x2f105d);return _0x2149ac['BlFAq'](_0x169dca,null)&&typeof _0x169dca==='object'?_0x169dca:null;}}break;}else _0x1d34b5[_0x289268(0x381)][_0x289268(0x3ae)]={'_count':_0x289268(0x360)};}return _0x4be80b['lroey'](_0x3e4dc6['length'],0x1)?_0x3e4dc6[0x0]:{'op':_0x289268(0x43e),'children':_0x3e4dc6};}function _0x2eabe1(){const _0x17fa4d=_0x3a33b7,_0x3f5517=_0x1c6fd3();if(_0x4be80b[_0x17fa4d(0x280)](_0xb95e4c,_0x3f5517,/^not$/i))return _0x58f518++,{'op':_0x4be80b[_0x17fa4d(0x4ad)],'child':_0x2eabe1()};if(_0x3f5517&&_0x4be80b[_0x17fa4d(0x222)](_0x3f5517[_0x17fa4d(0x437)],'(')){if(_0x4be80b[_0x17fa4d(0x3e3)](_0x17fa4d(0x2a6),_0x4be80b[_0x17fa4d(0x294)])){_0x58f518++;const _0x10f59c=_0x316092();return _0x4be80b[_0x17fa4d(0x3ca)](_0x324d14,')'),_0x10f59c;}else return _0x1df263[_0x17fa4d(0x440)](_0x4e3f83),'(?<'+_0x3e0036+'>';}return _0x4be80b[_0x17fa4d(0x3d6)](_0x5a2790);}function _0x5a2790(){const _0x5b8e3b=_0x3a33b7,_0x41b987={'MHSWH':_0x4be80b[_0x5b8e3b(0x30b)],'haHFT':function(_0x2af385,_0x57c5b5){const _0x2ddc4e=_0x5b8e3b;return _0x4be80b[_0x2ddc4e(0x222)](_0x2af385,_0x57c5b5);},'mIxgj':function(_0x4ac954,_0x42dc2b){return _0x4be80b['sCuLX'](_0x4ac954,_0x42dc2b);}};if(_0x4be80b['NhdUz'](_0x4be80b['YYsKe'],_0x5b8e3b(0x22c))){const _0x46ca15=_0x40e284[_0x58f518];if(!_0x46ca15)throw new DslError(_0x4be80b[_0x5b8e3b(0x30d)],_0x4be80b[_0x5b8e3b(0x235)]);if(_0x4be80b['FZukr'](_0x46ca15[_0x5b8e3b(0x437)],_0x4be80b[_0x5b8e3b(0x352)])){if(_0x4be80b['MbgUL']===_0x4be80b[_0x5b8e3b(0x1f9)])return _0x58f518++,{'kind':_0x4be80b[_0x5b8e3b(0x352)],'value':_0x46ca15[_0x5b8e3b(0x453)]};else _0x4be80b['CJCej'](_0x453aa4,_0x2e4038[_0x5b8e3b(0x26a)]&&_0x1e0d3e['sub'][_0x5b8e3b(0x410)]||[],_0x43edca+0x1,_0x1ebaf0);}if(_0x4be80b[_0x5b8e3b(0x46f)](_0x46ca15['type'],_0x4be80b[_0x5b8e3b(0x2dc)])){if(_0x4be80b['zGziL'](_0x4be80b[_0x5b8e3b(0x37e)],_0x5b8e3b(0x366)))_0x501e6f[_0x1b117c]==='\x5c'?(_0x1e914a+=_0x375bdd[_0x4251b3+0x1]||'',_0x5dff0b+=0x2):(_0xbbfc32+=_0x38484e[_0x48f9c1],_0x4db79e++);else return _0x58f518++,{'kind':_0x4be80b['gNFKB'],'source':_0x46ca15['source'],'flags':_0x46ca15[_0x5b8e3b(0x2ff)]};}if(_0x46ca15[_0x5b8e3b(0x437)]===')')throw new DslError(_0x4be80b[_0x5b8e3b(0x30d)],_0x5b8e3b(0x33e));if(_0x4be80b[_0x5b8e3b(0x49a)](_0x46ca15[_0x5b8e3b(0x437)],','))throw new DslError(_0x4be80b['bpzbW'],_0x4be80b[_0x5b8e3b(0x48b)]);_0x58f518++;const _0x380da0=_0x46ca15[_0x5b8e3b(0x453)];if(/^contains$/i[_0x5b8e3b(0x317)](_0x380da0)&&_0x40e284[_0x58f518]&&_0x40e284[_0x58f518]['type']==='('){if(_0x4be80b[_0x5b8e3b(0x3e3)](_0x4be80b[_0x5b8e3b(0x42f)],_0x4be80b[_0x5b8e3b(0x450)]))return _0x62b942[_0x5b8e3b(0x3f4)]['forEach'](_0x5c8343=>_0x12a9bf(_0x5c8343,_0x1b55e3)),_0x1638b9;else{_0x58f518++;const _0x2b9e02=_0x4be80b['EiHZv'](_0x316092);return _0x324d14(')'),{'kind':_0x4be80b[_0x5b8e3b(0x337)],'expr':_0x2b9e02};}}if(/^exists$/i[_0x5b8e3b(0x317)](_0x380da0)){_0x4be80b[_0x5b8e3b(0x46d)](_0x324d14,'(');const _0x489a5e=_0x40e284[_0x58f518];if(!_0x489a5e||_0x4be80b[_0x5b8e3b(0x40b)](_0x489a5e[_0x5b8e3b(0x437)],_0x4be80b['emvth']))throw new DslError(_0x4be80b[_0x5b8e3b(0x30d)],_0x4be80b[_0x5b8e3b(0x4e6)]);return _0x58f518++,_0x4be80b['AZxgq'](_0x324d14,')'),{'kind':_0x4be80b[_0x5b8e3b(0x2f2)],'field':_0x489a5e[_0x5b8e3b(0x453)]};}const _0x627199=_0x40e284[_0x58f518];if(_0x4be80b['zLPtz'](_0xb95e4c,_0x627199,/^in$/i)&&_0x40e284[_0x4be80b[_0x5b8e3b(0x308)](_0x58f518,0x1)]&&_0x40e284[_0x4be80b['PEwDC'](_0x58f518,0x1)][_0x5b8e3b(0x437)]==='('&&!_0x4be80b[_0x5b8e3b(0x369)](splitFieldOp,_0x380da0)){if(_0x4be80b['lhXpc'](_0x5b8e3b(0x1fc),_0x5b8e3b(0x1fc))){const _0x2b1d3a=_0x4be80b[_0x5b8e3b(0x422)](_0x402862,_0x62a4fc,_0x4f2bab[_0x5b8e3b(0x1ed)],_0x22ed7b);if(!_0x4be80b[_0x5b8e3b(0x280)](_0x30936f,_0x2b1d3a,_0x4e97fb))return![];}else{_0x58f518+=0x2;const _0x4a1e41=[];for(;;){const _0x28f428=_0x40e284[_0x58f518];if(!_0x28f428)throw new DslError(_0x4be80b['bpzbW'],_0x4be80b['TOroE']);if(_0x4be80b[_0x5b8e3b(0x3e3)](_0x28f428['type'],')')){_0x58f518++;break;}if(_0x28f428['type']===','){_0x58f518++;continue;}if(_0x4be80b[_0x5b8e3b(0x44e)](_0x28f428['type'],_0x5b8e3b(0x26f))||_0x4be80b[_0x5b8e3b(0x46f)](_0x28f428[_0x5b8e3b(0x437)],'phrase')){_0x4a1e41[_0x5b8e3b(0x440)](_0x4be80b['qRxuG'](unquoteValue,_0x28f428[_0x5b8e3b(0x453)])),_0x58f518++;continue;}throw new DslError(_0x5b8e3b(0x42c),_0x5b8e3b(0x2a8));}if(_0x4be80b[_0x5b8e3b(0x222)](_0x4a1e41[_0x5b8e3b(0x234)],0x0))throw new DslError('malformed',_0x4be80b[_0x5b8e3b(0x2c5)]);return{'kind':'in','field':_0x380da0,'values':_0x4a1e41};}}const _0x31d2e0=splitFieldOp(_0x380da0);if(_0x31d2e0){if('kodYG'==='kodYG'){let _0x271925=_0x31d2e0[_0x5b8e3b(0x453)];if(_0x4be80b[_0x5b8e3b(0x46f)](_0x271925,'')){if(_0x4be80b['jAuuh']!==_0x4be80b[_0x5b8e3b(0x4ee)]){const _0x1ed9de=_0x40e284[_0x58f518];if(_0x1ed9de&&_0x4be80b[_0x5b8e3b(0x3c3)](_0x1ed9de[_0x5b8e3b(0x437)],_0x4be80b[_0x5b8e3b(0x352)])){if(_0x4be80b[_0x5b8e3b(0x4d0)](_0x4be80b[_0x5b8e3b(0x30c)],_0x4be80b['MpTdR'])){const _0x1ba708=_0x1f251a[_0x5b8e3b(0x1ed)],_0x3d16b1=_0x527e95[_0x5b8e3b(0x251)](_0x1ba708);if(!_0x3bd9cb['metricOk'](_0x1ba708,_0x2b28b3))throw new _0x4f784c(_0x41b987[_0x5b8e3b(0x29d)],_0x5b8e3b(0x335)+_0x1ba708,{'field':_0x1ba708});void _0x3d16b1;}else _0x271925=_0x1ed9de[_0x5b8e3b(0x453)],_0x58f518++;}else throw new DslError(_0x4be80b[_0x5b8e3b(0x30d)],_0x5b8e3b(0x323)+_0x31d2e0[_0x5b8e3b(0x1ed)]+_0x31d2e0['op']+'\x22');}else{if(_0x41b987[_0x5b8e3b(0x441)](_0x55c533[_0x5b8e3b(0x4eb)],_0x41b987[_0x5b8e3b(0x29d)]))_0x41b987[_0x5b8e3b(0x3c8)](_0x3a2375,_0x3efa45[_0x5b8e3b(0x1ed)]);}}else _0x271925=_0x4be80b['qRxuG'](unquoteValue,_0x271925);return{'kind':_0x5b8e3b(0x1ed),'field':_0x31d2e0['field'],'cmp':_0x31d2e0[_0x5b8e3b(0x38c)],'value':_0x271925};}else _0x113cbe+=_0x1d0c90[_0x30140d],_0x3996ab++;}return{'kind':_0x4be80b[_0x5b8e3b(0x49d)],'value':_0x380da0};}else throw new _0x32fddd(_0x5b8e3b(0x1ed),_0x5b8e3b(0x459)+_0x425cc7,{'field':_0x452486});}const _0x2192d7=_0x4be80b[_0x3a33b7(0x2ad)](_0x316092);if(_0x4be80b[_0x3a33b7(0x2ba)](_0x58f518,_0x40e284[_0x3a33b7(0x234)])){if(_0x4be80b[_0x3a33b7(0x267)]('wgJLQ',_0x4be80b[_0x3a33b7(0x296)]))_0x4cc74d=_0x4d47e8(_0x64e75e);else{const _0x48f9b3=_0x40e284[_0x58f518];throw new DslError('malformed','token\x20inesperado\x20no\x20where:\x20\x22'+(_0x48f9b3[_0x3a33b7(0x453)]||_0x48f9b3[_0x3a33b7(0x437)])+'\x22');}}return _0x2192d7;}function flattenAstLeaves(_0x1bd46b,_0x1ff7e8=[]){const _0x4c7209=_0x16e160,_0x4977e1={'JUQZa':function(_0x3ed40b,_0xe35569){return _0x3ed40b===_0xe35569;},'pSFMp':_0x4c7209(0x447),'teIjP':function(_0x3fcf51,_0x37b5b0){return _0x3fcf51===_0x37b5b0;},'NGYaZ':_0x4c7209(0x43e),'NOxAo':function(_0xc8e8e,_0x3a5048){return _0xc8e8e===_0x3a5048;},'GfAih':function(_0x4c7d6e,_0x572909){return _0x4c7d6e===_0x572909;},'AUwRo':'zLETi','CmOsG':'not'};if(!_0x1bd46b)return _0x1ff7e8;if(_0x4977e1[_0x4c7209(0x4dd)](_0x1bd46b['op'],_0x4977e1[_0x4c7209(0x397)])||_0x4977e1[_0x4c7209(0x476)](_0x1bd46b['op'],'or')){if(_0x4977e1[_0x4c7209(0x482)]!==_0x4c7209(0x316)){if(!_0x477f85)return null;if(_0x4977e1[_0x4c7209(0x354)](_0x49a982[_0x4c7209(0x4eb)],_0x4977e1[_0x4c7209(0x498)]))return _0x2ef84c[_0x4c7209(0x440)](_0xd822bc[_0x4c7209(0x479)]),null;if(_0x4977e1[_0x4c7209(0x409)](_0x563191['op'],'and')){const _0x3737c2=_0x374805['children'][_0x4c7209(0x3a4)](_0x552aab)[_0x4c7209(0x297)](_0x439855);if(_0x3737c2['length']===0x0)return null;return _0x4977e1[_0x4c7209(0x354)](_0x3737c2[_0x4c7209(0x234)],0x1)?_0x3737c2[0x0]:{'op':_0x4977e1['NGYaZ'],'children':_0x3737c2};}return _0x1875f4;}else return _0x1bd46b[_0x4c7209(0x3f4)][_0x4c7209(0x386)](_0x200a90=>flattenAstLeaves(_0x200a90,_0x1ff7e8)),_0x1ff7e8;}if(_0x4977e1['GfAih'](_0x1bd46b['op'],_0x4977e1[_0x4c7209(0x38b)]))return flattenAstLeaves(_0x1bd46b[_0x4c7209(0x281)],_0x1ff7e8),_0x1ff7e8;return _0x1ff7e8['push'](_0x1bd46b),_0x1ff7e8;}const RANGE_CMPS=new Set(['gt',_0x16e160(0x219),'lt','lte']);function isRangeableField(_0x1c966d){const _0x3a66bc=_0x16e160,_0x4573e3={'mmrnh':function(_0x86b27f,_0x3ed241){return _0x86b27f(_0x3ed241);},'EJIdZ':function(_0x2d1d15,_0x2b2f5d){return _0x2d1d15===_0x2b2f5d;},'loXmq':_0x3a66bc(0x2ac)};return _0x4573e3[_0x3a66bc(0x26d)](isKvnPath,_0x1c966d)||LOG_NUMERIC_FIELDS[_0x3a66bc(0x251)](_0x1c966d)||_0x4573e3[_0x3a66bc(0x4e4)](_0x1c966d,_0x4573e3['loXmq']);}function isKnownField(_0x1d86bf,_0x14a2b4){const _0x3101b6=_0x16e160,_0x1950b6={'InfoI':_0x3101b6(0x34b),'JOHrD':function(_0x4835ef,_0x331c30){return _0x4835ef===_0x331c30;},'LfFom':_0x3101b6(0x2ac),'sQgSf':function(_0x3ad8ff,_0x555358){return _0x3ad8ff(_0x555358);}};return _0x1d86bf===_0x1950b6[_0x3101b6(0x432)]||_0x1950b6[_0x3101b6(0x1f8)](_0x1d86bf,_0x1950b6[_0x3101b6(0x3b0)])||LOG_FIELD_ALLOWLIST[_0x3101b6(0x251)](_0x1d86bf)||_0x1950b6[_0x3101b6(0x435)](isKvPath,_0x1d86bf)||isKvnPath(_0x1d86bf)||_0x14a2b4&&_0x14a2b4[_0x3101b6(0x251)](_0x1d86bf);}function validateWhereAst(_0xd1b363,_0x4376b9,_0x26f7da,_0x3cfba1=![]){const _0x5e8802=_0x16e160,_0x5efd7b={'kMrMA':_0x5e8802(0x1ed),'aWTry':function(_0x27d661,_0x4917bd){return _0x27d661===_0x4917bd;},'wRwJo':_0x5e8802(0x43e),'fiWmq':_0x5e8802(0x2b5),'gMlpY':_0x5e8802(0x4d9),'jpLGn':function(_0x33e722,_0x36bbc4,_0x2e4646,_0x538522,_0x1373ee){return _0x33e722(_0x36bbc4,_0x2e4646,_0x538522,_0x1373ee);},'TYZpy':function(_0x18ff8b,_0x418d6b){return _0x18ff8b===_0x418d6b;},'dSzDl':_0x5e8802(0x3cc),'iFpOC':_0x5e8802(0x254),'CYjLt':function(_0x28bb63,_0x146b53){return _0x28bb63!==_0x146b53;},'GCBca':_0x5e8802(0x288),'pHWTw':function(_0x574f04,_0x1e2ca4){return _0x574f04!==_0x1e2ca4;},'hyRaY':_0x5e8802(0x42c),'UTVhe':_0x5e8802(0x35a),'JqRPu':_0x5e8802(0x388),'vedCx':function(_0x3afd69,_0x38773e){return _0x3afd69===_0x38773e;},'pEPtr':_0x5e8802(0x3db),'SBpMS':function(_0x47de74,_0xc9cf16){return _0x47de74(_0xc9cf16);},'AcEJf':function(_0x1660d4,_0x3c39d0){return _0x1660d4===_0x3c39d0;},'Dgljq':_0x5e8802(0x447),'YQbop':function(_0x29e8c8,_0x3148bd){return _0x29e8c8===_0x3148bd;},'VKhpR':_0x5e8802(0x3fc),'BwBEH':_0x5e8802(0x45d),'eBEng':_0x5e8802(0x28d),'XFsxD':'text','eeuZj':function(_0x2b9522,_0x43dbf7){return _0x2b9522===_0x43dbf7;},'qdkvi':function(_0x3cb951,_0x5d493e){return _0x3cb951!==_0x5d493e;},'BZoJj':_0x5e8802(0x461)};if(!_0xd1b363)return;if(_0x5efd7b[_0x5e8802(0x233)](_0xd1b363['op'],_0x5efd7b[_0x5e8802(0x4c7)])){_0xd1b363[_0x5e8802(0x3f4)][_0x5e8802(0x386)](_0x30c9fc=>validateWhereAst(_0x30c9fc,_0x4376b9,_0x26f7da,_0x3cfba1));return;}if(_0xd1b363['op']==='or'){if(_0x5efd7b[_0x5e8802(0x3a2)]!==_0x5efd7b[_0x5e8802(0x277)]){_0xd1b363[_0x5e8802(0x3f4)][_0x5e8802(0x386)](_0x2b96cb=>validateWhereAst(_0x2b96cb,_0x4376b9,_0x26f7da,!![]));return;}else throw new _0x2bc6f6(_0x5efd7b[_0x5e8802(0x34e)],_0x5e8802(0x420)+_0x4729ac,{'field':_0x4388a4});}if(_0x5efd7b['aWTry'](_0xd1b363['op'],_0x5e8802(0x2f4))){_0x5efd7b[_0x5e8802(0x413)](validateWhereAst,_0xd1b363[_0x5e8802(0x281)],_0x4376b9,_0x26f7da,!![]);return;}if(_0x5efd7b['TYZpy'](_0xd1b363[_0x5e8802(0x4eb)],_0x5efd7b[_0x5e8802(0x45e)])){if(!_0x26f7da[_0x5e8802(0x2f8)])throw new DslError(_0x5e8802(0x3cc),'regex\x20não\x20é\x20suportada\x20no\x20dataset\x20'+_0x26f7da[_0x5e8802(0x240)]);if(_0x3cfba1)throw new DslError('regex',_0x5efd7b[_0x5e8802(0x274)]);return;}if(_0xd1b363[_0x5e8802(0x4eb)]===_0x5e8802(0x447)){if(_0x5efd7b[_0x5e8802(0x204)](_0x5efd7b[_0x5e8802(0x22a)],_0x5e8802(0x288)))_0x37f4b[_0x5e8802(0x440)](_0x3023bc['assign']({},_0x904afb,{'value':_0x538257(_0x34a0c1,_0x18e991)}));else{if(_0x5efd7b[_0x5e8802(0x4b5)](_0x26f7da[_0x5e8802(0x240)],_0x5e8802(0x226)))throw new DslError(_0x5efd7b['hyRaY'],_0x5e8802(0x23b)+_0x26f7da['name']+')');if(_0x3cfba1)throw new DslError(_0x5e8802(0x42c),_0x5efd7b[_0x5e8802(0x4b1)]);_0x5efd7b[_0x5e8802(0x413)](validateWhereAst,_0xd1b363[_0x5e8802(0x479)],_0x4376b9,DATASET_PROFILES[_0x5e8802(0x249)],![]);return;}}if(_0xd1b363[_0x5e8802(0x4eb)]===_0x5efd7b[_0x5e8802(0x206)]||_0x5efd7b[_0x5e8802(0x3b4)](_0xd1b363[_0x5e8802(0x4eb)],_0x5efd7b[_0x5e8802(0x4ce)]))return;const _0x3026b2=_0xd1b363[_0x5e8802(0x1ed)];if(!_0x26f7da[_0x5e8802(0x37c)](_0x3026b2,_0x4376b9))throw new DslError(_0x5efd7b['kMrMA'],_0x5e8802(0x420)+_0x3026b2,{'field':_0x3026b2});if(_0x5efd7b['SBpMS'](isPayloadPath,_0x3026b2)&&_0x3cfba1)throw new DslError(_0x5efd7b[_0x5e8802(0x34e)],_0x3026b2+_0x5e8802(0x213),{'field':_0x3026b2});const _0x2a01af=_0x26f7da[_0x5e8802(0x2f6)](_0x3026b2)||{};if(_0x5efd7b[_0x5e8802(0x2e0)](_0xd1b363[_0x5e8802(0x4eb)],_0x5efd7b['kMrMA'])&&RANGE_CMPS[_0x5e8802(0x251)](_0xd1b363[_0x5e8802(0x38c)])&&!_0x26f7da[_0x5e8802(0x46a)](_0x3026b2))throw new DslError(_0x5e8802(0x1ed),_0x5e8802(0x427)+_0x3026b2+'\x20—\x20use\x20campos\x20numéricos',{'field':_0x3026b2});if(_0x5efd7b[_0x5e8802(0x233)](_0xd1b363['kind'],_0x5efd7b['kMrMA'])&&_0x5efd7b['AcEJf'](_0xd1b363['cmp'],_0x5efd7b[_0x5e8802(0x421)])&&(_0x5efd7b['YQbop'](_0x2a01af[_0x5e8802(0x437)],_0x5efd7b[_0x5e8802(0x238)])||_0x2a01af[_0x5e8802(0x437)]===_0x5efd7b[_0x5e8802(0x339)]||_0x5efd7b['YQbop'](_0x2a01af[_0x5e8802(0x437)],_0x5e8802(0x2b4))))throw new DslError(_0x5efd7b[_0x5e8802(0x34e)],_0x5e8802(0x467)+_0x3026b2,{'field':_0x3026b2});if((_0x5efd7b[_0x5e8802(0x2a0)](_0xd1b363[_0x5e8802(0x4eb)],'in')||_0x5efd7b[_0x5e8802(0x2e0)](_0xd1b363[_0x5e8802(0x4eb)],_0x5efd7b[_0x5e8802(0x37a)]))&&_0x2a01af[_0x5e8802(0x437)]===_0x5efd7b['XFsxD'])throw new DslError(_0x5efd7b[_0x5e8802(0x34e)],_0xd1b363['kind']+'(...)\x20não\x20se\x20aplica\x20a\x20'+_0x3026b2,{'field':_0x3026b2});if(_0x5efd7b[_0x5e8802(0x247)](_0xd1b363[_0x5e8802(0x4eb)],_0x5efd7b[_0x5e8802(0x34e)])&&_0x2a01af[_0x5e8802(0x437)]===_0x5efd7b[_0x5e8802(0x339)]&&!RANGE_CMPS[_0x5e8802(0x251)](_0xd1b363[_0x5e8802(0x38c)])){if(_0x5efd7b[_0x5e8802(0x299)](_0x5efd7b['BZoJj'],'SNrAT'))throw new DslError(_0x5e8802(0x1ed),_0x3026b2+'\x20aceita\x20apenas\x20ranges\x20(>,\x20>=,\x20<,\x20<=)',{'field':_0x3026b2});else{if(!_0x5d8f7c[_0x5e8802(0x4a3)](_0x5902b8[0x1]))_0x1f6195[_0x5e8802(0x440)](_0x5a57ac[0x1]);}}}function fieldPathInfo(_0x358aa9){const _0x4602e3=_0x16e160,_0x345c9c={'sTtiX':function(_0x11a281,_0x2c8c00){return _0x11a281(_0x2c8c00);},'HaoOs':_0x4602e3(0x3fc),'qbUQg':function(_0x28683a,_0x4b0ba1){return _0x28683a===_0x4b0ba1;},'yKhRp':_0x4602e3(0x34b),'vtOSi':_0x4602e3(0x29e),'GIHkZ':_0x4602e3(0x31f),'ZNrSB':'timestamp','kiqbw':_0x4602e3(0x45d),'Mtyen':_0x4602e3(0x23e)};if(_0x345c9c['sTtiX'](isKvPath,_0x358aa9))return{'path':_0x358aa9,'type':'kv','existsPath':_0x358aa9};if(isKvnPath(_0x358aa9))return{'path':_0x358aa9,'type':_0x345c9c[_0x4602e3(0x394)],'existsPath':_0x358aa9};if(LOG_NUMERIC_FIELDS[_0x4602e3(0x251)](_0x358aa9))return{'path':_0x358aa9,'type':'numeric','existsPath':_0x358aa9};if(_0x345c9c['qbUQg'](_0x358aa9,_0x4602e3(0x34b)))return{'path':_0x345c9c['yKhRp'],'type':_0x345c9c['vtOSi'],'keywordPath':_0x345c9c[_0x4602e3(0x31a)],'existsPath':_0x345c9c[_0x4602e3(0x272)]};if(_0x358aa9===_0x345c9c[_0x4602e3(0x3c6)])return{'path':TIME_FIELD,'type':_0x345c9c[_0x4602e3(0x487)],'existsPath':TIME_FIELD};return{'path':_0x358aa9+'.keyword','type':_0x345c9c['Mtyen'],'existsPath':_0x358aa9};}const REQUESTS_FIELD_MAP={'serviceName':{'path':_0x16e160(0x20f),'type':_0x16e160(0x23e),'existsPath':_0x16e160(0x4e8)},'service':{'path':_0x16e160(0x20f),'type':'keyword','existsPath':_0x16e160(0x4e8)},'method':{'path':_0x16e160(0x2e4),'type':_0x16e160(0x23e),'existsPath':_0x16e160(0x46c),'upper':!![]},'path':{'path':_0x16e160(0x393),'type':_0x16e160(0x29e),'keywordPath':_0x16e160(0x424),'existsPath':'request.url.path'},'body':{'path':_0x16e160(0x44f),'type':_0x16e160(0x29e),'keywordPath':_0x16e160(0x481),'existsPath':_0x16e160(0x44f)},'response':{'path':_0x16e160(0x1f3),'type':'text','keywordPath':_0x16e160(0x20d),'existsPath':_0x16e160(0x1f3)},'statusCode':{'path':_0x16e160(0x411),'type':_0x16e160(0x3fc),'existsPath':'response.statusCode'},'duration':{'path':_0x16e160(0x2fa),'type':_0x16e160(0x3fc),'existsPath':'timers.duration'},'durationMs':{'path':_0x16e160(0x2fa),'type':_0x16e160(0x3fc),'existsPath':_0x16e160(0x2fa)},'uuid':{'path':_0x16e160(0x268),'type':'keyword','existsPath':_0x16e160(0x23d)},'correlationId':{'path':'correlationId.keyword','type':'keyword','existsPath':'correlationId'},'traceId':{'path':_0x16e160(0x217),'type':_0x16e160(0x23e),'existsPath':'traceId'},'gatewayId':{'path':_0x16e160(0x3fa),'type':_0x16e160(0x23e),'existsPath':_0x16e160(0x401)},'remoteAddress':{'path':_0x16e160(0x470),'type':_0x16e160(0x23e),'existsPath':'request.socket.remoteAddress'},'timestamp':{'path':_0x16e160(0x4b3),'type':_0x16e160(0x45d),'existsPath':'timers.finished.at'}},SPANS_FIELD_MAP={'service':{'path':_0x16e160(0x290),'type':_0x16e160(0x23e),'existsPath':_0x16e160(0x1fe)},'name':{'path':_0x16e160(0x240),'type':'text','keywordPath':_0x16e160(0x2c3),'existsPath':_0x16e160(0x240)},'kind':{'path':'kind.keyword','type':'keyword','existsPath':_0x16e160(0x4eb)},'gatewayId':{'path':'gatewayId.keyword','type':_0x16e160(0x23e),'existsPath':_0x16e160(0x401)},'clientId':{'path':'clientId.keyword','type':_0x16e160(0x23e),'existsPath':_0x16e160(0x4b7)},'traceId':{'path':_0x16e160(0x217),'type':'keyword','existsPath':_0x16e160(0x445)},'spanId':{'path':_0x16e160(0x407),'type':_0x16e160(0x23e),'existsPath':'spanId'},'parentSpanId':{'path':_0x16e160(0x353),'type':_0x16e160(0x23e),'existsPath':_0x16e160(0x376)},'correlationId':{'path':_0x16e160(0x408),'type':_0x16e160(0x23e),'existsPath':_0x16e160(0x346)},'requestId':{'path':_0x16e160(0x4d1),'type':'keyword','existsPath':_0x16e160(0x22f)},'flowId':{'path':_0x16e160(0x36d),'type':'keyword','existsPath':'flowId'},'statusCode':{'path':'statusCode','type':'numeric','existsPath':'statusCode'},'durationMs':{'path':_0x16e160(0x40e),'type':_0x16e160(0x3fc),'existsPath':'durationMs'},'hasError':{'path':_0x16e160(0x372),'type':_0x16e160(0x2b4),'existsPath':'hasError'},'timestamp':{'path':'@timestamp','type':_0x16e160(0x45d),'existsPath':_0x16e160(0x34a)},'language':{'path':'language.keyword','type':'keyword','existsPath':_0x16e160(0x3d9)},'env':{'path':'env.keyword','type':_0x16e160(0x23e),'existsPath':'env'},'version':{'path':_0x16e160(0x494),'type':_0x16e160(0x23e),'existsPath':_0x16e160(0x21f)},'host':{'path':_0x16e160(0x33c),'type':_0x16e160(0x23e),'existsPath':_0x16e160(0x36e)}},TRACES_FIELD_MAP={'serviceName':SPANS_FIELD_MAP['service'],'service':SPANS_FIELD_MAP['service'],'name':SPANS_FIELD_MAP[_0x16e160(0x240)],'gatewayId':SPANS_FIELD_MAP[_0x16e160(0x401)],'clientId':SPANS_FIELD_MAP[_0x16e160(0x4b7)],'traceId':SPANS_FIELD_MAP[_0x16e160(0x445)],'correlationId':SPANS_FIELD_MAP[_0x16e160(0x346)],'requestId':SPANS_FIELD_MAP[_0x16e160(0x22f)],'statusCode':SPANS_FIELD_MAP[_0x16e160(0x3c4)],'durationMs':SPANS_FIELD_MAP[_0x16e160(0x40e)],'hasError':SPANS_FIELD_MAP['hasError'],'timestamp':SPANS_FIELD_MAP[_0x16e160(0x2ac)],'language':SPANS_FIELD_MAP[_0x16e160(0x3d9)],'env':SPANS_FIELD_MAP[_0x16e160(0x40d)],'version':SPANS_FIELD_MAP[_0x16e160(0x21f)],'host':SPANS_FIELD_MAP[_0x16e160(0x36e)]},METRICS_FIELD_MAP={'name':{'path':_0x16e160(0x2c3),'type':'keyword','existsPath':_0x16e160(0x240)},'type':{'path':_0x16e160(0x4d7),'type':'keyword','existsPath':_0x16e160(0x437)},'unit':{'path':'unit.keyword','type':_0x16e160(0x23e),'existsPath':_0x16e160(0x340)},'value':{'path':_0x16e160(0x453),'type':_0x16e160(0x3fc),'existsPath':_0x16e160(0x453)},'count':{'path':_0x16e160(0x458),'type':_0x16e160(0x3fc),'existsPath':'count'},'sum':{'path':_0x16e160(0x349),'type':_0x16e160(0x3fc),'existsPath':_0x16e160(0x349)},'min':{'path':_0x16e160(0x2db),'type':_0x16e160(0x3fc),'existsPath':_0x16e160(0x2db)},'max':{'path':_0x16e160(0x3e1),'type':_0x16e160(0x3fc),'existsPath':_0x16e160(0x3e1)},'avg':{'path':_0x16e160(0x374),'type':_0x16e160(0x3fc),'existsPath':_0x16e160(0x374)},'service':{'path':_0x16e160(0x290),'type':_0x16e160(0x23e),'existsPath':_0x16e160(0x1fe)},'language':{'path':'language.keyword','type':_0x16e160(0x23e),'existsPath':_0x16e160(0x3d9)},'env':{'path':_0x16e160(0x284),'type':'keyword','existsPath':_0x16e160(0x40d)},'version':{'path':_0x16e160(0x494),'type':_0x16e160(0x23e),'existsPath':_0x16e160(0x21f)},'host':{'path':'host.keyword','type':_0x16e160(0x23e),'existsPath':'host'},'gatewayId':{'path':_0x16e160(0x3fa),'type':_0x16e160(0x23e),'existsPath':_0x16e160(0x401)},'clientId':{'path':_0x16e160(0x3de),'type':_0x16e160(0x23e),'existsPath':'clientId'},'timestamp':{'path':_0x16e160(0x34a),'type':_0x16e160(0x45d),'existsPath':_0x16e160(0x34a)}},ATTRIBUTES_PATH_RE=/^attributes\.[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$/;function isAttributesPath(_0x254430){const _0x5506f1=_0x16e160;return ATTRIBUTES_PATH_RE[_0x5506f1(0x317)](_0x254430);}const DATASET_PROFILES={'logs':{'name':_0x16e160(0x28e),'allowRegex':!![],'timeField':TIME_FIELD,'known':(_0x204214,_0x1bd948)=>isKnownField(_0x204214,_0x1bd948),'rangeable':_0x30871b=>isRangeableField(_0x30871b),'info':_0x1a6d11=>fieldPathInfo(_0x1a6d11),'groupbyOk':(_0x4ba76b,_0x4e902e)=>_0x4e902e[_0x16e160(0x251)](_0x4ba76b)||LOG_FIELD_ALLOWLIST['has'](_0x4ba76b)||isKvPath(_0x4ba76b)||isKvnPath(_0x4ba76b),'metricOk':(_0x21bcdc,_0x46aedc)=>_0x46aedc[_0x16e160(0x251)](_0x21bcdc)||LOG_NUMERIC_FIELDS[_0x16e160(0x251)](_0x21bcdc)||isKvnPath(_0x21bcdc),'aggPath':(_0x19384f,_0x4ebf63)=>_0x4ebf63['has'](_0x19384f)||isKvPath(_0x19384f)||isKvnPath(_0x19384f)?_0x19384f:_0x19384f+'.keyword','metricPath':_0x52c000=>_0x52c000},'spans':{'name':_0x16e160(0x249),'allowRegex':![],'timeField':_0x16e160(0x34a),'known':_0xd20236=>Object[_0x16e160(0x2cd)][_0x16e160(0x253)][_0x16e160(0x488)](SPANS_FIELD_MAP,_0xd20236)||isAttributesPath(_0xd20236),'rangeable':_0x1611d3=>{const _0x423ffc=_0x16e160,_0x2adf6d={'BiyMw':function(_0x264e2a,_0x2fca50){return _0x264e2a===_0x2fca50;},'gWCTQ':_0x423ffc(0x3fc),'cCDqF':_0x423ffc(0x45d)},_0x33eda5=SPANS_FIELD_MAP[_0x1611d3];return Boolean(_0x33eda5&&(_0x2adf6d[_0x423ffc(0x332)](_0x33eda5[_0x423ffc(0x437)],_0x2adf6d[_0x423ffc(0x350)])||_0x2adf6d[_0x423ffc(0x332)](_0x33eda5[_0x423ffc(0x437)],_0x2adf6d[_0x423ffc(0x322)])));},'info':_0x5ccc87=>isAttributesPath(_0x5ccc87)?{'path':_0x5ccc87,'type':'kv','existsPath':_0x5ccc87}:SPANS_FIELD_MAP[_0x5ccc87],'groupbyOk':_0x2aa8f1=>[_0x16e160(0x1fe),_0x16e160(0x240),_0x16e160(0x4eb),_0x16e160(0x401),_0x16e160(0x3c4),_0x16e160(0x372),_0x16e160(0x3d9),_0x16e160(0x40d),_0x16e160(0x21f),_0x16e160(0x36e)][_0x16e160(0x4a3)](_0x2aa8f1),'metricOk':_0x33458a=>[_0x16e160(0x40e),_0x16e160(0x3c4)][_0x16e160(0x4a3)](_0x33458a),'aggPath':_0x364878=>{const _0x474830=_0x16e160,_0x273324=SPANS_FIELD_MAP[_0x364878];return _0x273324?_0x273324[_0x474830(0x285)]||_0x273324[_0x474830(0x2bc)]:_0x364878;},'metricPath':_0x3059e1=>SPANS_FIELD_MAP[_0x3059e1]?SPANS_FIELD_MAP[_0x3059e1][_0x16e160(0x2bc)]:_0x3059e1},'metrics':{'name':_0x16e160(0x210),'allowRegex':![],'timeField':_0x16e160(0x34a),'known':_0x21f926=>Object['prototype']['hasOwnProperty'][_0x16e160(0x488)](METRICS_FIELD_MAP,_0x21f926)||isAttributesPath(_0x21f926),'rangeable':_0x1f15f4=>{const _0x1f2fdf=_0x16e160,_0x32c307={'kcoOX':function(_0x4e0c33,_0x38b4dd){return _0x4e0c33===_0x38b4dd;},'BjsyJ':'numeric','fVusI':function(_0x4340d7,_0x3a6dcd){return _0x4340d7===_0x3a6dcd;},'TDuao':'date'},_0x2ff2f1=METRICS_FIELD_MAP[_0x1f15f4];return Boolean(_0x2ff2f1&&(_0x32c307['kcoOX'](_0x2ff2f1[_0x1f2fdf(0x437)],_0x32c307[_0x1f2fdf(0x2ef)])||_0x32c307[_0x1f2fdf(0x2c4)](_0x2ff2f1['type'],_0x32c307[_0x1f2fdf(0x207)])));},'info':_0x253bc5=>isAttributesPath(_0x253bc5)?{'path':_0x253bc5,'type':'kv','existsPath':_0x253bc5}:METRICS_FIELD_MAP[_0x253bc5],'groupbyOk':_0x5e1a8f=>['name',_0x16e160(0x437),_0x16e160(0x340),_0x16e160(0x1fe),_0x16e160(0x3d9),_0x16e160(0x40d),_0x16e160(0x21f),_0x16e160(0x36e),_0x16e160(0x401),_0x16e160(0x4b7)]['includes'](_0x5e1a8f)||isAttributesPath(_0x5e1a8f),'metricOk':_0x5995a9=>[_0x16e160(0x453),_0x16e160(0x458),'sum',_0x16e160(0x2db),'max',_0x16e160(0x374)][_0x16e160(0x4a3)](_0x5995a9),'aggPath':_0x292121=>{const _0x590673=_0x16e160,_0x4b71d8=METRICS_FIELD_MAP[_0x292121];return _0x4b71d8?_0x4b71d8[_0x590673(0x2bc)]:_0x292121;},'metricPath':_0x5cde74=>METRICS_FIELD_MAP[_0x5cde74]?METRICS_FIELD_MAP[_0x5cde74][_0x16e160(0x2bc)]:_0x5cde74},'traces':{'name':'traces','allowRegex':![],'timeField':_0x16e160(0x34a),'known':_0x33c736=>Object[_0x16e160(0x2cd)][_0x16e160(0x253)][_0x16e160(0x488)](TRACES_FIELD_MAP,_0x33c736),'rangeable':_0x2d030a=>{const _0x43b44d=_0x16e160,_0x5d0b11={'GjcTz':function(_0x26b3dd,_0x43c793){return _0x26b3dd(_0x43c793);},'mgwLW':function(_0x19c486,_0x43f5a0){return _0x19c486===_0x43f5a0;},'THLPs':_0x43b44d(0x3fc),'zAxKT':function(_0x2239ce,_0x22d947){return _0x2239ce===_0x22d947;},'LPeXh':_0x43b44d(0x45d)},_0x4af712=TRACES_FIELD_MAP[_0x2d030a];return _0x5d0b11[_0x43b44d(0x1f7)](Boolean,_0x4af712&&(_0x5d0b11[_0x43b44d(0x496)](_0x4af712[_0x43b44d(0x437)],_0x5d0b11[_0x43b44d(0x398)])||_0x5d0b11['zAxKT'](_0x4af712['type'],_0x5d0b11[_0x43b44d(0x4b4)])));},'info':_0x3b9d92=>TRACES_FIELD_MAP[_0x3b9d92],'groupbyOk':_0x942ea9=>[_0x16e160(0x20e),_0x16e160(0x1fe),_0x16e160(0x401),_0x16e160(0x3c4),'language',_0x16e160(0x40d),_0x16e160(0x21f),_0x16e160(0x36e)][_0x16e160(0x4a3)](_0x942ea9),'metricOk':_0x5354f5=>['durationMs',_0x16e160(0x3c4)][_0x16e160(0x4a3)](_0x5354f5),'aggPath':_0x8e6d1=>TRACES_FIELD_MAP[_0x8e6d1]?TRACES_FIELD_MAP[_0x8e6d1][_0x16e160(0x2bc)]:_0x8e6d1,'metricPath':_0x8d7c0e=>TRACES_FIELD_MAP[_0x8d7c0e]?TRACES_FIELD_MAP[_0x8d7c0e][_0x16e160(0x2bc)]:_0x8d7c0e},'requests':{'name':_0x16e160(0x2ce),'allowRegex':![],'timeField':_0x16e160(0x4b3),'known':_0x5e012c=>Object[_0x16e160(0x2cd)][_0x16e160(0x253)][_0x16e160(0x488)](REQUESTS_FIELD_MAP,_0x5e012c)||isPayloadPath(_0x5e012c),'rangeable':_0xf6bca5=>{const _0x1670f2=_0x16e160,_0x27294e={'SBuwX':function(_0x2ec027,_0x591486){return _0x2ec027(_0x591486);},'jHAcc':function(_0x2d84dc,_0x159f1b){return _0x2d84dc===_0x159f1b;},'SgjDd':_0x1670f2(0x3fc),'pbjtu':_0x1670f2(0x45d)},_0x3accba=REQUESTS_FIELD_MAP[_0xf6bca5];return _0x27294e['SBuwX'](isPayloadPath,_0xf6bca5)||_0x27294e[_0x1670f2(0x252)](Boolean,_0x3accba&&(_0x27294e[_0x1670f2(0x2c2)](_0x3accba[_0x1670f2(0x437)],_0x27294e[_0x1670f2(0x4aa)])||_0x27294e[_0x1670f2(0x2c2)](_0x3accba[_0x1670f2(0x437)],_0x27294e[_0x1670f2(0x3b8)])));},'info':_0x3a0e19=>REQUESTS_FIELD_MAP[_0x3a0e19],'groupbyOk':_0x35c965=>[_0x16e160(0x20e),_0x16e160(0x1fe),_0x16e160(0x243),_0x16e160(0x3c4),_0x16e160(0x401),'path'][_0x16e160(0x4a3)](_0x35c965)||isPayloadPath(_0x35c965),'metricOk':_0x1ecd4d=>[_0x16e160(0x48a),_0x16e160(0x40e),_0x16e160(0x3c4)][_0x16e160(0x4a3)](_0x1ecd4d)||isPayloadPath(_0x1ecd4d),'aggPath':_0x131fac=>{const _0x32b86=_0x16e160,_0x1d9e97=REQUESTS_FIELD_MAP[_0x131fac];return _0x1d9e97?_0x1d9e97[_0x32b86(0x285)]||_0x1d9e97[_0x32b86(0x2bc)]:_0x131fac;},'metricPath':_0x529ffa=>REQUESTS_FIELD_MAP[_0x529ffa]?REQUESTS_FIELD_MAP[_0x529ffa][_0x16e160(0x2bc)]:_0x529ffa}};function aggPathFor(_0x233a00,_0x5c0e0c,_0x3312b2){const _0x3c794f=_0x16e160,_0x2f7195={'Xyjqh':function(_0x12ee89,_0x2e2b67){return _0x12ee89||_0x2e2b67;}},_0x552a64=DATASET_PROFILES[_0x2f7195[_0x3c794f(0x32b)](_0x233a00,_0x3c794f(0x28e))]||DATASET_PROFILES[_0x3c794f(0x28e)];return _0x552a64[_0x3c794f(0x24c)](_0x5c0e0c,_0x3312b2||new Set());}function timeFieldFor(_0x54f8df){const _0x402a55=_0x16e160,_0x3f86fe={'DliVZ':function(_0x3567d0,_0x54c929){return _0x3567d0||_0x54c929;}};return(DATASET_PROFILES[_0x3f86fe[_0x402a55(0x201)](_0x54f8df,'logs')]||DATASET_PROFILES['logs'])[_0x402a55(0x43a)];}const REQUESTS_HITS_SOURCE=[_0x16e160(0x23d),_0x16e160(0x346),_0x16e160(0x445),_0x16e160(0x401),'service.name',_0x16e160(0x46c),_0x16e160(0x393),_0x16e160(0x411),_0x16e160(0x32c)];function toNumberOrThrow(_0x5329ba,_0x4217ca){const _0x29882f=_0x16e160,_0x1b896d={'SFEJY':_0x29882f(0x1ed)},_0x3a6c15=Number(_0x4217ca);if(!Number['isFinite'](_0x3a6c15))throw new DslError(_0x1b896d['SFEJY'],_0x29882f(0x460)+_0x5329ba+':\x20'+_0x4217ca,{'field':_0x5329ba});return _0x3a6c15;}function _0x5bd5(_0x35f663,_0x458c34){_0x35f663=_0x35f663-0x1ea;const _0x8876ca=_0x8876();let _0x5bd5b0=_0x8876ca[_0x35f663];if(_0x5bd5['fMbibo']===undefined){var _0x48d5a1=function(_0x2a587f){const _0x530ba3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x364110='',_0x2461e3='';for(let _0x26301b=0x0,_0x467efd,_0x4abdbc,_0x5181e8=0x0;_0x4abdbc=_0x2a587f['charAt'](_0x5181e8++);~_0x4abdbc&&(_0x467efd=_0x26301b%0x4?_0x467efd*0x40+_0x4abdbc:_0x4abdbc,_0x26301b++%0x4)?_0x364110+=String['fromCharCode'](0xff&_0x467efd>>(-0x2*_0x26301b&0x6)):0x0){_0x4abdbc=_0x530ba3['indexOf'](_0x4abdbc);}for(let _0x1e43f6=0x0,_0x4bd0b8=_0x364110['length'];_0x1e43f6<_0x4bd0b8;_0x1e43f6++){_0x2461e3+='%'+('00'+_0x364110['charCodeAt'](_0x1e43f6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2461e3);};_0x5bd5['PBFmRm']=_0x48d5a1,_0x5bd5['ZaNPmZ']={},_0x5bd5['fMbibo']=!![];}const _0x517846=_0x8876ca[0x0],_0x261cd7=_0x35f663+_0x517846,_0x48fe92=_0x5bd5['ZaNPmZ'][_0x261cd7];return!_0x48fe92?(_0x5bd5b0=_0x5bd5['PBFmRm'](_0x5bd5b0),_0x5bd5['ZaNPmZ'][_0x261cd7]=_0x5bd5b0):_0x5bd5b0=_0x48fe92,_0x5bd5b0;}const REQUESTS_TEXT_FIELDS=[_0x16e160(0x347),_0x16e160(0x399),'request.url.path','request.body',_0x16e160(0x1f3),'uuid'];function spanTextClause(_0x120a94,_0x3f7428){const _0x41f7b=_0x16e160,_0x465205={'ayKxA':function(_0x43cded,_0xe0b65b){return _0x43cded(_0xe0b65b);},'FRoyl':_0x41f7b(0x2c3),'ahDlv':function(_0x496f76,_0x33e5a6){return _0x496f76(_0x33e5a6);},'zFeix':_0x41f7b(0x217),'tZtmc':_0x41f7b(0x408),'kuZdQ':_0x41f7b(0x4d1),'eCUuE':_0x41f7b(0x407),'DAHSC':_0x41f7b(0x36d),'ZdeDS':function(_0x17ae6a,_0x2dac4c){return _0x17ae6a(_0x2dac4c);},'bKRVV':'service.keyword','yYQUU':function(_0x59e863,_0x1bd363){return _0x59e863(_0x1bd363);},'zaXuK':_0x41f7b(0x3fa),'TPtSe':'clientId.keyword'},_0x124533=_0x295d7a=>({'wildcard':{[_0x295d7a]:{'value':'*'+_0x120a94+'*','case_insensitive':!![]}}});return{'bool':{'should':[_0x3f7428?{'match_phrase':{'name':_0x120a94}}:{'match':{'name':{'query':_0x120a94,'boost':0x3}}},_0x465205[_0x41f7b(0x4ac)](_0x124533,_0x465205[_0x41f7b(0x438)]),_0x465205['ahDlv'](_0x124533,_0x465205[_0x41f7b(0x477)]),_0x124533(_0x465205[_0x41f7b(0x473)]),_0x465205[_0x41f7b(0x27a)](_0x124533,_0x465205[_0x41f7b(0x21a)]),_0x465205[_0x41f7b(0x4ac)](_0x124533,_0x465205[_0x41f7b(0x35f)]),_0x465205[_0x41f7b(0x4ac)](_0x124533,_0x465205[_0x41f7b(0x37d)]),_0x465205[_0x41f7b(0x3d2)](_0x124533,_0x465205[_0x41f7b(0x444)]),_0x465205[_0x41f7b(0x2cc)](_0x124533,_0x465205[_0x41f7b(0x4e2)]),_0x124533(_0x465205['TPtSe'])],'minimum_should_match':0x1}};}function leafToOpenSearch(_0x18cbc8,_0x223f91){const _0x2c48c6=_0x16e160,_0x545726={'FGRfv':function(_0x410a25,_0x24f1f1){return _0x410a25(_0x24f1f1);},'BdAxy':function(_0x270ea3,_0x473957){return _0x270ea3===_0x473957;},'PkFfh':'numeric','qDINH':function(_0x4f3c86,_0x8b2898){return _0x4f3c86!==_0x8b2898;},'DBSyQ':_0x2c48c6(0x26f),'LfoQL':_0x2c48c6(0x42c),'bvVvt':_0x2c48c6(0x49b),'jbWwt':_0x2c48c6(0x28d),'sKBru':function(_0x15782d,_0x13b246){return _0x15782d===_0x13b246;},'BwaAM':function(_0x296f42,_0x570b7f){return _0x296f42===_0x570b7f;},'iaxwE':function(_0x46587b,_0x1d8350){return _0x46587b===_0x1d8350;},'mbqCm':_0x2c48c6(0x428),'mHjrY':_0x2c48c6(0x3db),'QGTnG':function(_0x191c79,_0x1e6e4f){return _0x191c79===_0x1e6e4f;},'uCWWV':_0x2c48c6(0x388),'wFySZ':function(_0xc9581b,_0x123e27){return _0xc9581b===_0x123e27;},'jzIWP':_0x2c48c6(0x2ce),'moYQv':_0x2c48c6(0x2ee),'ioVGS':'spans','zJkvo':function(_0x1a2149,_0xea93e){return _0x1a2149===_0xea93e;},'UWFRh':'traces','GMrxL':function(_0x3801b2,_0x3eddc2){return _0x3801b2!==_0x3eddc2;},'QLjwr':_0x2c48c6(0x24b),'haeNC':_0x2c48c6(0x3cc),'KPLXh':function(_0x51ae38,_0x2d9d00){return _0x51ae38===_0x2d9d00;},'PQtIJ':_0x2c48c6(0x447),'MXiCE':function(_0x3afafb,_0x43d9f1){return _0x3afafb(_0x43d9f1);},'yWToV':function(_0xdb0868,_0x1e7327){return _0xdb0868===_0x1e7327;},'WYanQ':function(_0x3bbf37,_0x295549){return _0x3bbf37===_0x295549;},'fHMFT':_0x2c48c6(0x29e),'EXUiA':function(_0x1c00f8,_0x3a2b76){return _0x1c00f8===_0x3a2b76;},'NniqH':function(_0x515d99,_0xe3c9ac){return _0x515d99===_0xe3c9ac;},'eVphR':function(_0x39462f,_0x3609d9){return _0x39462f(_0x3609d9);},'OGEis':'true','ddyLZ':_0x2c48c6(0x431),'NtJeJ':_0x2c48c6(0x3cb),'KIAgK':function(_0x5c7409,_0x1ae7dc,_0x2c141f){return _0x5c7409(_0x1ae7dc,_0x2c141f);},'STsHa':_0x2c48c6(0x3b1),'Uaatl':_0x2c48c6(0x315),'rBuod':function(_0x506506,_0x558b9b){return _0x506506(_0x558b9b);}};if(_0x545726[_0x2c48c6(0x40c)](_0x18cbc8[_0x2c48c6(0x4eb)],'phrase')||_0x18cbc8[_0x2c48c6(0x4eb)]===_0x545726[_0x2c48c6(0x33a)]){const _0x1cb6f0=_0x545726[_0x2c48c6(0x499)](_0x18cbc8[_0x2c48c6(0x4eb)],_0x545726[_0x2c48c6(0x20a)]);if(_0x545726['wFySZ'](_0x223f91[_0x2c48c6(0x240)],_0x545726[_0x2c48c6(0x224)]))return{'multi_match':{'query':_0x18cbc8[_0x2c48c6(0x453)],'fields':REQUESTS_TEXT_FIELDS,'type':_0x1cb6f0?_0x545726[_0x2c48c6(0x20a)]:_0x545726[_0x2c48c6(0x42d)]}};if(_0x223f91[_0x2c48c6(0x240)]===_0x545726[_0x2c48c6(0x343)]||_0x545726[_0x2c48c6(0x211)](_0x223f91[_0x2c48c6(0x240)],_0x545726[_0x2c48c6(0x2ec)])){if(_0x545726[_0x2c48c6(0x203)](_0x2c48c6(0x4e7),_0x545726[_0x2c48c6(0x377)]))return spanTextClause(_0x18cbc8['value'],_0x1cb6f0);else{const _0x149cf8=_0x4e2f4c[_0x2e16d5];return _0x545726['FGRfv'](_0x56b900,_0x149cf8&&(_0x545726[_0x2c48c6(0x29f)](_0x149cf8[_0x2c48c6(0x437)],_0x545726[_0x2c48c6(0x468)])||_0x545726['BdAxy'](_0x149cf8['type'],_0x2c48c6(0x45d))));}}return _0x1cb6f0?{'match_phrase':{'message':_0x18cbc8[_0x2c48c6(0x453)]}}:{'match':{'message':_0x18cbc8['value']}};}if(_0x545726['QGTnG'](_0x18cbc8[_0x2c48c6(0x4eb)],_0x545726[_0x2c48c6(0x321)]))return null;if(_0x545726['KPLXh'](_0x18cbc8[_0x2c48c6(0x4eb)],_0x545726[_0x2c48c6(0x27e)]))return null;if(_0x18cbc8['field']&&_0x545726[_0x2c48c6(0x295)](isPayloadPath,_0x18cbc8[_0x2c48c6(0x1ed)]))return null;const _0x279b58=_0x223f91[_0x2c48c6(0x2f6)](_0x18cbc8[_0x2c48c6(0x1ed)])||{},_0x3e290f=_0x1f5a28=>_0x279b58[_0x2c48c6(0x24e)]?String(_0x1f5a28)[_0x2c48c6(0x3e8)]():_0x1f5a28;if(_0x18cbc8[_0x2c48c6(0x4eb)]===_0x2c48c6(0x28d))return{'exists':{'field':_0x279b58['existsPath']||_0x18cbc8['field']}};if(_0x545726[_0x2c48c6(0x21d)](_0x18cbc8[_0x2c48c6(0x4eb)],'in')){const _0x4b81d7=_0x279b58[_0x2c48c6(0x437)]===_0x545726[_0x2c48c6(0x468)]?_0x18cbc8[_0x2c48c6(0x433)][_0x2c48c6(0x3a4)](_0x284b2b=>toNumberOrThrow(_0x18cbc8[_0x2c48c6(0x1ed)],_0x284b2b)):_0x18cbc8['values'][_0x2c48c6(0x3a4)](_0x3e290f);return{'terms':{[_0x279b58['path']]:_0x4b81d7}};}switch(_0x18cbc8['cmp']){case'eq':if(_0x545726[_0x2c48c6(0x21c)](_0x279b58[_0x2c48c6(0x437)],_0x545726['fHMFT']))return{'match':{[_0x279b58[_0x2c48c6(0x2bc)]]:_0x18cbc8['value']}};if(_0x279b58[_0x2c48c6(0x437)]===_0x545726['PkFfh'])return{'term':{[_0x279b58[_0x2c48c6(0x2bc)]]:toNumberOrThrow(_0x18cbc8[_0x2c48c6(0x1ed)],_0x18cbc8[_0x2c48c6(0x453)])}};if(_0x545726[_0x2c48c6(0x2a1)](_0x279b58[_0x2c48c6(0x437)],_0x2c48c6(0x2b4)))return{'term':{[_0x279b58[_0x2c48c6(0x2bc)]]:_0x545726[_0x2c48c6(0x1ec)](_0x545726[_0x2c48c6(0x2a9)](String,_0x18cbc8['value'])[_0x2c48c6(0x2f1)](),_0x545726['OGEis'])}};return{'term':{[_0x279b58[_0x2c48c6(0x2bc)]]:_0x3e290f(_0x18cbc8['value'])}};case'ne':{const _0x4cd134=leafToOpenSearch({..._0x18cbc8,'cmp':'eq'},_0x223f91);return{'bool':{'must_not':[_0x4cd134]}};}case'gt':case _0x2c48c6(0x219):case'lt':case _0x545726['ddyLZ']:{if(_0x545726[_0x2c48c6(0x3cd)]==='lIsWZ'){const _0x39c2cf=_0x545726[_0x2c48c6(0x29f)](_0x279b58[_0x2c48c6(0x437)],_0x545726[_0x2c48c6(0x468)])?_0x545726[_0x2c48c6(0x223)](toNumberOrThrow,_0x18cbc8[_0x2c48c6(0x1ed)],_0x18cbc8[_0x2c48c6(0x453)]):_0x18cbc8[_0x2c48c6(0x453)];return{'range':{[_0x279b58[_0x2c48c6(0x2bc)]]:{[_0x18cbc8['cmp']]:_0x39c2cf}}};}else{_0x390167('(');const _0xee5a63=_0x2ff730[_0x39ee0f];if(!_0xee5a63||_0x545726[_0x2c48c6(0x442)](_0xee5a63[_0x2c48c6(0x437)],_0x545726[_0x2c48c6(0x42b)]))throw new _0x5acb26(_0x545726[_0x2c48c6(0x2c1)],_0x545726[_0x2c48c6(0x2af)]);return _0x5b1e42++,_0x275649(')'),{'kind':_0x545726['jbWwt'],'field':_0xee5a63[_0x2c48c6(0x453)]};}}case'contains':{if(_0x545726[_0x2c48c6(0x203)](_0x545726[_0x2c48c6(0x478)],_0x545726[_0x2c48c6(0x3e4)])){const _0x40b943=_0x46b25a=>({'wildcard':{[_0x46b25a]:{'value':'*'+_0x18cbc8[_0x2c48c6(0x453)]+'*','case_insensitive':!![]}}});if(_0x545726[_0x2c48c6(0x3bb)](_0x279b58[_0x2c48c6(0x437)],_0x2c48c6(0x29e)))return{'bool':{'should':[_0x40b943(_0x279b58[_0x2c48c6(0x285)]),{'match_phrase':{[_0x279b58[_0x2c48c6(0x2bc)]]:_0x18cbc8[_0x2c48c6(0x453)]}}],'minimum_should_match':0x1}};return _0x545726[_0x2c48c6(0x2eb)](_0x40b943,_0x279b58['path']);}else{const _0x1ca718={'CGVZA':function(_0x2e5e1e,_0x292175){const _0x5f3264=_0x2c48c6;return _0x545726[_0x5f3264(0x287)](_0x2e5e1e,_0x292175);},'LqyIn':function(_0xf7656e,_0x13950c){return _0x545726['BwaAM'](_0xf7656e,_0x13950c);},'sYwfC':function(_0x5764ce,_0xb65a78){return _0x5764ce===_0xb65a78;},'JHvSk':function(_0x2d34fa,_0x54915a){return _0x2d34fa<_0x54915a;}},_0x319fe6=_0x545726[_0x2c48c6(0x3d4)](_0x5c7f04,_0x545726[_0x2c48c6(0x3c9)])?0x1:-0x1;_0x13b81b['sort']((_0x42d242,_0x4bc503)=>{const _0xec87e7=_0x2c48c6,_0x594356=_0x1ca718[_0xec87e7(0x4da)](_0x42d242['value'],null)||_0x1ca718[_0xec87e7(0x493)](_0x42d242[_0xec87e7(0x453)],_0x317256)?-_0x38a111:_0x42d242[_0xec87e7(0x453)],_0x463b26=_0x1ca718['LqyIn'](_0x4bc503[_0xec87e7(0x453)],null)||_0x1ca718[_0xec87e7(0x418)](_0x4bc503['value'],_0x5e6fcd)?-_0x48a217:_0x4bc503[_0xec87e7(0x453)];if(_0x1ca718[_0xec87e7(0x4da)](_0x594356,_0x463b26))return 0x0;return _0x1ca718[_0xec87e7(0x4e9)](_0x594356,_0x463b26)?-_0x319fe6:_0x319fe6;});}}default:throw new DslError('malformed','operador\x20desconhecido:\x20'+_0x18cbc8['cmp']);}}function astToOpenSearch(_0x232db1,_0x534bbf){const _0x3d5c4a=_0x16e160,_0x37e5c7={'bkKyZ':_0x3d5c4a(0x42c),'yTLey':function(_0xa85c01,_0x284838){return _0xa85c01===_0x284838;},'UWgNs':_0x3d5c4a(0x43e),'VFlrX':function(_0x45d0ed,_0x4f7236){return _0x45d0ed===_0x4f7236;},'jPRoR':_0x3d5c4a(0x390),'FmFKM':_0x3d5c4a(0x2e7),'Bezxp':function(_0x189be2,_0x3116ca){return _0x189be2===_0x3116ca;},'AQmDs':function(_0x5d26dc,_0x3ff313){return _0x5d26dc!==_0x3ff313;},'rMjqr':_0x3d5c4a(0x21e),'ACgWA':function(_0x24c86e,_0x572cc6){return _0x24c86e===_0x572cc6;},'syGgg':_0x3d5c4a(0x2f4),'RXXMp':function(_0x30381e,_0x3350bb,_0x5c3059){return _0x30381e(_0x3350bb,_0x5c3059);}};if(!_0x232db1)return null;if(_0x37e5c7[_0x3d5c4a(0x355)](_0x232db1['op'],_0x37e5c7[_0x3d5c4a(0x22b)])){if(_0x37e5c7['VFlrX'](_0x37e5c7[_0x3d5c4a(0x291)],_0x37e5c7['FmFKM']))throw new _0x59aeb3(_0x3d5c4a(0x42c),_0x3d5c4a(0x4ae)+_0x3e3fd['trim']()+'\x22',{'detail':_0x2a311e[_0x3d5c4a(0x2f9)]()});else{const _0x49aeb2=_0x232db1['children'][_0x3d5c4a(0x3a4)](_0x6e84b7=>astToOpenSearch(_0x6e84b7,_0x534bbf))[_0x3d5c4a(0x297)](Boolean);if(_0x37e5c7['VFlrX'](_0x49aeb2[_0x3d5c4a(0x234)],0x0))return null;return _0x37e5c7[_0x3d5c4a(0x221)](_0x49aeb2['length'],0x1)?_0x49aeb2[0x0]:{'bool':{'filter':_0x49aeb2}};}}if(_0x232db1['op']==='or'){if(_0x37e5c7[_0x3d5c4a(0x47c)]('ddxqy',_0x37e5c7[_0x3d5c4a(0x25e)])){const _0x4a5a6f=_0x232db1['children'][_0x3d5c4a(0x3a4)](_0x59af7b=>astToOpenSearch(_0x59af7b,_0x534bbf))['filter'](Boolean);if(_0x37e5c7[_0x3d5c4a(0x4c9)](_0x4a5a6f[_0x3d5c4a(0x234)],0x0))return null;return{'bool':{'should':_0x4a5a6f,'minimum_should_match':0x1}};}else throw new _0x59cbdb(_0x37e5c7[_0x3d5c4a(0x47e)],_0x3d5c4a(0x23b)+_0x136e85[_0x3d5c4a(0x240)]+')');}if(_0x232db1['op']===_0x37e5c7[_0x3d5c4a(0x356)]){const _0xe5beae=astToOpenSearch(_0x232db1['child'],_0x534bbf);return _0xe5beae?{'bool':{'must_not':[_0xe5beae]}}:null;}return _0x37e5c7[_0x3d5c4a(0x279)](leafToOpenSearch,_0x232db1,_0x534bbf);}function extractContains(_0x2f2681){const _0x7749be=_0x16e160,_0x6621b={'uIXTO':_0x7749be(0x2f0),'HGMId':function(_0x5cef50,_0x51c82b){return _0x5cef50!==_0x51c82b;},'GXsUk':_0x7749be(0x42c),'lqUBt':function(_0x1c7358,_0x5688a6){return _0x1c7358===_0x5688a6;},'MIbho':_0x7749be(0x447),'wpMVJ':'NxHPv','EWxjA':function(_0x1ab5ce,_0x5672da){return _0x1ab5ce===_0x5672da;},'SlHEN':_0x7749be(0x43e),'TnBqU':function(_0x2e6075,_0x206822){return _0x2e6075===_0x206822;},'VrzYc':'OKtOn','MuSzX':function(_0x1a672a,_0x576a28){return _0x1a672a===_0x576a28;},'mxqsf':function(_0x228da3,_0x3f13b9){return _0x228da3(_0x3f13b9);}},_0x4e179c=[],_0x4aea73=_0x4997c2=>{const _0x3615b6=_0x7749be,_0x1e7061={'QPeUn':_0x3615b6(0x388),'lJpmn':_0x6621b[_0x3615b6(0x1f1)]};if(_0x6621b[_0x3615b6(0x486)]('qArAo','Rnvpe')){if(!_0x4997c2)return null;if(_0x6621b['lqUBt'](_0x4997c2[_0x3615b6(0x4eb)],_0x6621b[_0x3615b6(0x41b)])){if(_0x6621b[_0x3615b6(0x364)](_0x3615b6(0x371),_0x6621b['wpMVJ']))return _0x4e179c[_0x3615b6(0x440)](_0x4997c2['expr']),null;else _0x48815c=_0x2167e4[0x1]['toLowerCase'](),_0x20507c=_0x337ed2[_0x3615b6(0x378)](_0x5aacea[0x0][_0x3615b6(0x234)]);}if(_0x6621b['EWxjA'](_0x4997c2['op'],_0x6621b[_0x3615b6(0x406)])){if(_0x6621b[_0x3615b6(0x480)](_0x3615b6(0x497),_0x6621b['VrzYc'])){const _0x358c14=typeof(_0xc8795d&&_0x49c39e['message'])===_0x6621b[_0x3615b6(0x23c)]?_0x1468f0[_0x3615b6(0x34b)]:'',_0xf6a5e5={};for(const {regex:_0x118979}of _0x172d9e){_0x118979[_0x3615b6(0x3a6)]=0x0;const _0x485513=_0x118979[_0x3615b6(0x313)](_0x358c14);if(!_0x485513)return{'ok':![],'extracted':_0xf6a5e5};if(_0x485513[_0x3615b6(0x27c)])for(const [_0x13c69a,_0x43a9bc]of _0x184467[_0x3615b6(0x3b5)](_0x485513[_0x3615b6(0x27c)])){if(_0x6621b[_0x3615b6(0x486)](_0x43a9bc,_0x43b5af))_0xf6a5e5[_0x13c69a]=_0x43a9bc;}}return{'ok':!![],'extracted':_0xf6a5e5};}else{const _0x56e16d=_0x4997c2['children'][_0x3615b6(0x3a4)](_0x4aea73)[_0x3615b6(0x297)](Boolean);if(_0x6621b[_0x3615b6(0x292)](_0x56e16d[_0x3615b6(0x234)],0x0))return null;return _0x56e16d[_0x3615b6(0x234)]===0x1?_0x56e16d[0x0]:{'op':_0x6621b[_0x3615b6(0x406)],'children':_0x56e16d};}}return _0x4997c2;}else{const _0x134bdf=_0x10e0f1[_0x30077f];if(_0x134bdf&&_0x134bdf['type']===_0x1e7061[_0x3615b6(0x452)])_0x27598f=_0x134bdf[_0x3615b6(0x453)],_0x54c7e8++;else throw new _0x23152f(_0x1e7061[_0x3615b6(0x2b2)],_0x3615b6(0x323)+_0x528159[_0x3615b6(0x1ed)]+_0xd59112['op']+'\x22');}},_0x1d2e23=_0x6621b['mxqsf'](_0x4aea73,_0x2f2681&&_0x2f2681[_0x7749be(0x2fd)]);return{'containsExprs':_0x4e179c,'rootWhere':_0x1d2e23};}function compileAstFor(_0x71bc2e,_0x2eaf96){const _0x3797e7=_0x16e160,_0x57a41f={'vKBBN':function(_0x9516b2,_0x1f43eb,_0x2cdced){return _0x9516b2(_0x1f43eb,_0x2cdced);},'wVNyQ':function(_0x384b5f,_0x44cd80){return _0x384b5f||_0x44cd80;}};return _0x57a41f[_0x3797e7(0x483)](astToOpenSearch,_0x71bc2e,DATASET_PROFILES[_0x57a41f[_0x3797e7(0x456)](_0x2eaf96,_0x3797e7(0x28e))]);}function compileWhere(_0x52761e){const _0x4e0c46=_0x16e160,_0x292762={'qTxYm':'logs','bvwha':function(_0x21780d,_0x33ba74,_0x5806a1){return _0x21780d(_0x33ba74,_0x5806a1);}},_0x4e0900=DATASET_PROFILES[_0x52761e&&_0x52761e[_0x4e0c46(0x4c6)]||_0x292762[_0x4e0c46(0x2a2)]];return _0x292762[_0x4e0c46(0x3a5)](astToOpenSearch,_0x52761e&&_0x52761e[_0x4e0c46(0x2fd)],_0x4e0900);}function normalizeRegexSource(_0x2de675){const _0x598c54=_0x16e160,_0x2b3151={'JTMMD':function(_0xe54b0,_0x9610b6){return _0xe54b0===_0x9610b6;},'UAHkI':function(_0x266754,_0xf9d03a){return _0x266754-_0xf9d03a;},'mFpLN':function(_0x49fbb3,_0x3ceed1,_0x4ab8f2){return _0x49fbb3(_0x3ceed1,_0x4ab8f2);},'OWDKJ':function(_0x35134d,_0x48b707,_0x2a509f,_0x460e0b){return _0x35134d(_0x48b707,_0x2a509f,_0x460e0b);},'kpsTv':function(_0x1d6e04,_0x302f1d){return _0x1d6e04+_0x302f1d;},'LusdZ':function(_0x4ce9fe,_0x47544e){return _0x4ce9fe!==_0x47544e;},'iDepe':_0x598c54(0x47b)},_0x4b073b=[],_0xd284f=_0x2de675[_0x598c54(0x3a9)](/\(\?P<([A-Za-z_][A-Za-z0-9_]*)>/g,(_0x116a4d,_0x2f062d)=>{const _0x3b6b5f=_0x598c54;return _0x4b073b[_0x3b6b5f(0x440)](_0x2f062d),_0x3b6b5f(0x269)+_0x2f062d+'>';}),_0x36a0ad=/\(\?<([A-Za-z_][A-Za-z0-9_]*)>/g;let _0x4a55ec;while((_0x4a55ec=_0x36a0ad[_0x598c54(0x313)](_0xd284f))!==null){if(_0x2b3151[_0x598c54(0x4b8)](_0x2b3151['iDepe'],_0x2b3151[_0x598c54(0x318)]))for(const _0x924412 of _0x3d742a||[]){const _0x4f4185=_0xfa9e80[_0x598c54(0x4dc)]({},_0x28883d,{[_0x11506c[_0x16e6a5]]:_0x924412['key']});_0x2b3151[_0x598c54(0x37b)](_0x5b2a23,_0x2b3151[_0x598c54(0x22e)](_0x498453['length'],0x1))?_0x22b059[_0x598c54(0x440)](_0x165bd0['assign']({},_0x4f4185,{'value':_0x2b3151[_0x598c54(0x266)](_0x4053e5,_0x924412,_0x1c89e7)})):_0x2b3151['OWDKJ'](_0x2608fb,_0x924412['sub']&&_0x924412[_0x598c54(0x26a)][_0x598c54(0x410)]||[],_0x2b3151[_0x598c54(0x22d)](_0x37a5e7,0x1),_0x4f4185);}else{if(!_0x4b073b[_0x598c54(0x4a3)](_0x4a55ec[0x1]))_0x4b073b[_0x598c54(0x440)](_0x4a55ec[0x1]);}}return{'jsSource':_0xd284f,'names':_0x4b073b};}function compileRegexes(_0x567d3c){const _0x8b31f1=_0x16e160,_0xe74841={'IPpMh':function(_0x5da669,_0x3e54f9){return _0x5da669===_0x3e54f9;},'CtMaE':'sum','pOwlN':'avg','zAhWX':function(_0x1699ed,_0x23c01e){return _0x1699ed===_0x23c01e;},'XCcge':_0x8b31f1(0x2db),'jQjpC':function(_0x568c95,_0x6d3836){return _0x568c95===_0x6d3836;},'GRjyu':function(_0x5a37e7,_0x4bf612){return _0x5a37e7===_0x4bf612;},'eNsPp':_0x8b31f1(0x3d0),'eydOq':function(_0x5463c,_0x474da7,_0x5143c3){return _0x5463c(_0x474da7,_0x5143c3);},'TSXlT':_0x8b31f1(0x469),'Swdzr':function(_0x410dae,_0x335471,_0x4e4501){return _0x410dae(_0x335471,_0x4e4501);},'dJbHu':function(_0x14149d,_0x285e70){return _0x14149d!==_0x285e70;},'AeccQ':_0x8b31f1(0x3cc),'aMSeF':function(_0x1560ab,_0xc3b705){return _0x1560ab>=_0xc3b705;},'tTnUR':function(_0x3e05bc,_0x308749){return _0x3e05bc>_0x308749;},'IcVYU':_0x8b31f1(0x348),'wLdbw':function(_0x39f65c,_0x129d57){return _0x39f65c(_0x129d57);},'OYuhn':function(_0x3102ec,_0x41caaf){return _0x3102ec===_0x41caaf;},'qePNt':_0x8b31f1(0x4e5),'TYbom':_0x8b31f1(0x283)},_0x2fef33=[],_0x4f8003=new Set();for(const _0x427a0f of _0x567d3c){if(_0xe74841[_0x8b31f1(0x3ba)](_0x427a0f[_0x8b31f1(0x4eb)],_0xe74841[_0x8b31f1(0x2c0)]))continue;if(_0xe74841[_0x8b31f1(0x3ce)](_0x2fef33[_0x8b31f1(0x234)],MAX_REGEXES))throw new DslError(_0xe74841[_0x8b31f1(0x2c0)],_0x8b31f1(0x25b)+MAX_REGEXES+'\x20regexes\x20no\x20where');if(_0xe74841[_0x8b31f1(0x26b)](_0x427a0f[_0x8b31f1(0x443)][_0x8b31f1(0x234)],MAX_REGEX_LEN))throw new DslError(_0xe74841['AeccQ'],_0xe74841[_0x8b31f1(0x3c5)]);const {jsSource:_0x797ff,names:_0x2c5948}=_0xe74841['wLdbw'](normalizeRegexSource,_0x427a0f[_0x8b31f1(0x443)]);let _0x2c658c;try{if(_0xe74841[_0x8b31f1(0x259)](_0xe74841['qePNt'],_0xe74841[_0x8b31f1(0x3ee)])){if(_0xe74841[_0x8b31f1(0x2f7)](_0x472a1f[_0x8b31f1(0x234)],0x0))return null;if(_0xe74841[_0x8b31f1(0x2f7)](_0x457b54,_0xe74841[_0x8b31f1(0x4a0)]))return _0x409891[_0x8b31f1(0x310)]((_0x45c7aa,_0x2f7dd6)=>_0x45c7aa+_0x2f7dd6,0x0);if(_0x3c47fc===_0xe74841[_0x8b31f1(0x2cb)])return _0x28ffc5[_0x8b31f1(0x310)]((_0x511347,_0x1fa1a3)=>_0x511347+_0x1fa1a3,0x0)/_0x315aad[_0x8b31f1(0x234)];if(_0xe74841[_0x8b31f1(0x3fb)](_0x3af52a,_0xe74841['XCcge']))return _0x4228d0[_0x8b31f1(0x2db)](..._0x1ca860);if(_0xe74841[_0x8b31f1(0x41a)](_0x51fc7f,_0x8b31f1(0x3e1)))return _0x305eda['max'](..._0x13e087);const _0x1df1fe=_0x5afa9c[_0x8b31f1(0x378)]()[_0x8b31f1(0x44d)]((_0x192d23,_0x1f3846)=>_0x192d23-_0x1f3846);if(_0xe74841[_0x8b31f1(0x306)](_0x4a7bb5,_0xe74841[_0x8b31f1(0x20c)]))return _0xe74841[_0x8b31f1(0x367)](_0xa2cbaf,_0x1df1fe,0x5f);if(_0xe74841[_0x8b31f1(0x306)](_0x52fcbc,_0xe74841[_0x8b31f1(0x491)]))return _0xe74841[_0x8b31f1(0x2b7)](_0x55dae7,_0x1df1fe,0x63);return null;}else{const _0xa009f4=(_0x427a0f[_0x8b31f1(0x2ff)]||'')[_0x8b31f1(0x3a9)](/[^gimsuy]/g,'');_0x2c658c=new RegExp(_0x797ff,_0xa009f4[_0x8b31f1(0x4a3)]('g')?_0xa009f4:_0xa009f4);}}catch(_0x7e8589){throw new DslError(_0xe74841[_0x8b31f1(0x2c0)],_0x7e8589[_0x8b31f1(0x34b)],{'detail':_0x427a0f['source']});}_0x2c5948['forEach'](_0x54af6a=>_0x4f8003[_0x8b31f1(0x28c)](_0x54af6a)),_0x2fef33[_0x8b31f1(0x440)]({'regex':_0x2c658c,'names':_0x2c5948});}return{'regexes':_0x2fef33,'extracted':_0x4f8003};}function parseCalculate(_0x296324){const _0x14cd47=_0x16e160,_0x50d4c6={'JGpUO':_0x14cd47(0x458),'WuBCZ':'metric'},_0x46f52c=_0x296324[_0x14cd47(0x2f9)]();if(!_0x46f52c)return{'type':_0x50d4c6[_0x14cd47(0x41f)]};if(/^count$/i['test'](_0x46f52c))return{'type':_0x50d4c6[_0x14cd47(0x41f)]};const _0x202534=/^([A-Za-z0-9]+)\s*\(\s*([A-Za-z_][\w.]*)\s*\)$/[_0x14cd47(0x313)](_0x46f52c);if(!_0x202534)throw new DslError(_0x50d4c6['WuBCZ'],_0x14cd47(0x3af)+_0x46f52c,{'detail':_0x46f52c});const _0x27ef57=_0x202534[0x1]['toLowerCase']();if(!METRIC_FUNCS[_0x14cd47(0x251)](_0x27ef57))throw new DslError(_0x50d4c6[_0x14cd47(0x326)],_0x14cd47(0x3c2)+_0x202534[0x1],{'detail':_0x46f52c});return{'type':_0x27ef57,'field':_0x202534[0x2]};}function parseQuery(_0xc1c972,_0x208027={}){const _0x57d87a=_0x16e160,_0x5738db={'taCYO':_0x57d87a(0x28e),'LNuID':function(_0x54a7c3,_0x1ff235,_0x3c4183){return _0x54a7c3(_0x1ff235,_0x3c4183);},'yuPFR':function(_0x42865c,_0x339d4e){return _0x42865c===_0x339d4e;},'SXipL':_0x57d87a(0x43e),'MLvhI':function(_0x26a791,_0x2b19e4){return _0x26a791===_0x2b19e4;},'Hhobi':function(_0x1c7a28,_0x551beb){return _0x1c7a28===_0x551beb;},'YPxUO':function(_0x1e2585,_0x182cbb,_0x242fdd){return _0x1e2585(_0x182cbb,_0x242fdd);},'dsEIT':function(_0x2acf47,_0x3a96ce,_0x420683,_0x52bb82,_0x4aad63){return _0x2acf47(_0x3a96ce,_0x420683,_0x52bb82,_0x4aad63);},'vxOoI':'phrase','iybbw':'best_fields','iDoOy':function(_0x41c96b,_0x40f652,_0x9aea5d){return _0x41c96b(_0x40f652,_0x9aea5d);},'ptAPo':function(_0x4f6591,_0x3407d5,_0xb09575){return _0x4f6591(_0x3407d5,_0xb09575);},'JfRFU':'field','vUtCu':function(_0x1393f1,_0x238abf){return _0x1393f1(_0x238abf);},'KPcbO':_0x57d87a(0x3fc),'iWOHM':function(_0x40b254,_0x4875c3){return _0x40b254===_0x4875c3;},'JYiKe':function(_0xd68c17,_0x1608b7){return _0xd68c17!==_0x1608b7;},'lRWBO':'string','JUZrQ':_0x57d87a(0x3ea),'yDZOx':_0x57d87a(0x46b),'hJKtR':'malformed','HPGvf':_0x57d87a(0x423),'bRGRu':'oHxMw','ICcUZ':_0x57d87a(0x35b),'izLiX':'parênteses\x20não\x20balanceados\x20em\x20where(...)','uPtcI':function(_0x17edb7,_0xb11ff0){return _0x17edb7+_0xb11ff0;},'FoOlW':function(_0x2ea10d,_0x40cbc1){return _0x2ea10d(_0x40cbc1);},'oHhuo':function(_0x37e95d,_0x56ca41){return _0x37e95d(_0x56ca41);},'RsEFE':function(_0x2a40b8,_0x25a908){return _0x2a40b8(_0x25a908);},'cGubI':_0x57d87a(0x3b2),'htnsc':function(_0x3c5149,_0x4121bf,_0x4d2c08,_0x147103){return _0x3c5149(_0x4121bf,_0x4d2c08,_0x147103);},'FRfFB':_0x57d87a(0x3ab),'XvjpD':_0x57d87a(0x271),'kIJrz':_0x57d87a(0x44d),'POWzG':_0x57d87a(0x49f),'xWSZs':function(_0x42b93a,_0x52583f){return _0x42b93a!==_0x52583f;},'WbwjL':_0x57d87a(0x415),'RRTlQ':function(_0x18524d,_0x7005c4){return _0x18524d+_0x7005c4;},'SDRjh':function(_0x521808,_0x294c26){return _0x521808-_0x294c26;},'CtjEJ':function(_0x1aa41e,_0x50826f){return _0x1aa41e===_0x50826f;},'rqcBm':_0x57d87a(0x351),'TILcZ':function(_0x1f0ba6,_0x4bf33f){return _0x1f0ba6===_0x4bf33f;},'dzTzZ':_0x57d87a(0x4c8),'CIuLF':_0x57d87a(0x3e6),'waIsX':function(_0x4942bc,_0x32b91b){return _0x4942bc===_0x32b91b;},'KuiBZ':_0x57d87a(0x2bf),'Yozoc':_0x57d87a(0x200),'vrIYR':function(_0x530929,_0x504155){return _0x530929!==_0x504155;},'AIVYi':_0x57d87a(0x458),'aiGJA':function(_0x20c52e,_0x2a271b){return _0x20c52e!==_0x2a271b;},'Cmimc':_0x57d87a(0x1eb),'MlsLO':'pMiSQ','KlfRv':_0x57d87a(0x360),'JWpGL':function(_0x2ad255,_0xa365ec){return _0x2ad255!==_0xa365ec;},'kgLnB':_0x57d87a(0x209),'fbDBH':_0x57d87a(0x4c1),'cZcGY':_0x57d87a(0x428),'pdknb':function(_0x425cf2,_0x1d50c8){return _0x425cf2>_0x1d50c8;},'XCjPt':function(_0x34ed9f,_0x26e1fd){return _0x34ed9f!==_0x26e1fd;},'RaSAD':function(_0x37393b,_0x3600ef){return _0x37393b(_0x3600ef);},'YiKdg':function(_0x1ee9ea,_0xb3ac6e){return _0x1ee9ea||_0xb3ac6e;},'FvcKm':function(_0xb9eb8c,_0xa2cfc0){return _0xb9eb8c>_0xa2cfc0;}};if(_0x5738db['JYiKe'](typeof _0xc1c972,_0x5738db[_0x57d87a(0x229)])||!_0xc1c972[_0x57d87a(0x2f9)]()){if(_0x5738db[_0x57d87a(0x24f)]===_0x5738db[_0x57d87a(0x25f)]){const _0x5335c2=_0x2f6048[_0x1a62bf&&_0x267bf1['dataset']||_0x5738db[_0x57d87a(0x2d6)]];return _0x5738db[_0x57d87a(0x2c9)](_0xc1b20d,_0x4bb22f&&_0x2707b0['where'],_0x5335c2);}else throw new DslError(_0x5738db['hJKtR'],_0x5738db[_0x57d87a(0x2bb)]);}if(_0xc1c972['length']>MAX_QUERY_LEN)throw new DslError(_0x5738db[_0x57d87a(0x36c)],_0x57d87a(0x248));let _0x3df858=_0xc1c972[_0x57d87a(0x2f9)](),_0xfb48ab=_0x208027[_0x57d87a(0x4c6)]||'logs';const _0x428f61=/^from\s*\(\s*([A-Za-z]+)\s*\)\s*/i['exec'](_0x3df858);_0x428f61&&(_0xfb48ab=_0x428f61[0x1]['toLowerCase'](),_0x3df858=_0x3df858[_0x57d87a(0x378)](_0x428f61[0x0][_0x57d87a(0x234)]));const _0x2550c0=DATASET_PROFILES[_0xfb48ab];if(!_0x2550c0){if(_0x5738db[_0x57d87a(0x3e7)](_0x5738db['bRGRu'],_0x57d87a(0x2ae)))throw new _0x1d1e87(_0x57d87a(0x1ed),_0x2bbad6[_0x57d87a(0x4eb)]+_0x57d87a(0x212)+_0x45cb43,{'field':_0x3a3435});else throw new DslError(_0x57d87a(0x42c),_0x57d87a(0x4ea)+_0xfb48ab+'\x20(use\x20logs|requests|spans|traces|metrics)');}if(!/^where\s*\(/i[_0x57d87a(0x317)](_0x3df858))throw new DslError('malformed',_0x5738db['ICcUZ']);const _0x18e543=_0x3df858[_0x57d87a(0x4a2)]('('),_0x57537c=_0x5738db[_0x57d87a(0x2fb)](matchingParen,_0x3df858,_0x18e543);if(_0x57537c<0x0)throw new DslError(_0x5738db[_0x57d87a(0x36c)],_0x5738db[_0x57d87a(0x3f7)]);const _0x3c4a9c=_0x3df858[_0x57d87a(0x378)](_0x5738db[_0x57d87a(0x278)](_0x18e543,0x1),_0x57537c);let _0xa5de8f=_0x3df858[_0x57d87a(0x378)](_0x57537c+0x1);const _0x515b85=_0x5738db['FoOlW'](parseWhereAst,_0x5738db[_0x57d87a(0x3a8)](tokenizeWhere,_0x3c4a9c)),_0x2f8bed=_0x5738db[_0x57d87a(0x3f1)](flattenAstLeaves,_0x515b85),_0x521086=_0x515b85&&_0x5738db[_0x57d87a(0x4b0)](_0x515b85['op'],'or')?'OR':_0x5738db[_0x57d87a(0x32f)],{regexes:_0x3dd36f,extracted:_0x2aee3a}=compileRegexes(_0x2f8bed);_0x5738db[_0x57d87a(0x4b6)](validateWhereAst,_0x515b85,_0x2aee3a,_0x2550c0);const _0x2b1e25={};for(const _0x3eb50e of[_0x5738db['FRfFB'],_0x5738db[_0x57d87a(0x414)],_0x5738db[_0x57d87a(0x404)]]){if(_0x5738db[_0x57d87a(0x2d7)]('vHiNv',_0x5738db[_0x57d87a(0x320)])){const _0x393b56='3|0|2|4|1'['split']('|');let _0x1a8cfe=0x0;while(!![]){switch(_0x393b56[_0x1a8cfe++]){case'0':if(_0x5738db[_0x57d87a(0x2d7)](_0x329767['op'],_0x5738db['SXipL'])||_0x5738db['MLvhI'](_0x24bc3b['op'],'or'))return _0x4c8940['children'][_0x57d87a(0x386)](_0x58fd2e=>_0x508478(_0x58fd2e,_0x1aef89)),_0x2894dc;continue;case'1':return _0x27563e;case'2':if(_0x5738db[_0x57d87a(0x23a)](_0x13edc6['op'],'not'))return _0x5738db[_0x57d87a(0x425)](_0x39283a,_0x1b1a22['child'],_0x442721),_0x302d54;continue;case'3':if(!_0x252280)return _0xd1ec2c;continue;case'4':_0x5b035c[_0x57d87a(0x440)](_0x20f60e);continue;}break;}}else{const _0x31c3ef=_0x5738db['YPxUO'](findSection,_0xa5de8f,_0x3eb50e);if(_0x31c3ef){if(_0x5738db[_0x57d87a(0x4b9)](_0x57d87a(0x345),_0x5738db[_0x57d87a(0x319)]))_0x2b1e25[_0x3eb50e]=_0x31c3ef[_0x57d87a(0x39b)],_0xa5de8f=_0x5738db[_0x57d87a(0x392)](_0x5738db[_0x57d87a(0x278)](_0xa5de8f[_0x57d87a(0x378)](0x0,_0x31c3ef[_0x57d87a(0x1fd)]),'\x20'[_0x57d87a(0x1ea)](_0x5738db[_0x57d87a(0x330)](_0x31c3ef[_0x57d87a(0x1f2)],_0x31c3ef['start']))),_0xa5de8f['slice'](_0x31c3ef[_0x57d87a(0x1f2)]));else{_0x5738db[_0x57d87a(0x3aa)](_0x2e023a,_0x3dd822[_0x57d87a(0x281)],_0x35764a,_0x28a132,!![]);return;}}}}if(_0xa5de8f[_0x57d87a(0x2f9)]()){if(_0x5738db[_0x57d87a(0x4ab)](_0x57d87a(0x351),_0x5738db['rqcBm']))throw new DslError(_0x5738db[_0x57d87a(0x36c)],_0x57d87a(0x4ae)+_0xa5de8f[_0x57d87a(0x2f9)]()+'\x22',{'detail':_0xa5de8f[_0x57d87a(0x2f9)]()});else return{'multi_match':{'query':_0x90b2c['value'],'fields':_0x5a1cfd,'type':_0x192011?_0x5738db[_0x57d87a(0x3e9)]:_0x5738db[_0x57d87a(0x448)]}};}let _0x1cfdd9=[];if(_0x5738db['JYiKe'](_0x2b1e25[_0x57d87a(0x3ab)],undefined)){if(_0x5738db['TILcZ'](_0x5738db[_0x57d87a(0x261)],_0x5738db[_0x57d87a(0x3b6)])){const _0x38609d=_0x32755f[_0x230b3a&&_0x21cf5e[_0x57d87a(0x4c6)]||_0x5738db['taCYO']],_0x4905f5={'range':{[_0x38609d[_0x57d87a(0x43a)]]:{'gte':_0x534cc0[_0x57d87a(0x3fd)],'lte':_0xfb6c4d['to']}}},_0x56882b=_0x5738db[_0x57d87a(0x2fb)](_0x1723b7,_0x82e22e[_0x57d87a(0x2fd)],_0x139bf3[_0x43a57d&&_0x2ae9d3[_0x57d87a(0x4c6)]||_0x5738db[_0x57d87a(0x2d6)]]);if(!_0x56882b)return{'bool':{'filter':[_0x4905f5]}};return{'bool':{'filter':[_0x4905f5],'must':[_0x56882b]}};}else{_0x1cfdd9=_0x2b1e25[_0x57d87a(0x3ab)][_0x57d87a(0x312)](',')[_0x57d87a(0x3a4)](_0xd3c243=>_0xd3c243['trim']())[_0x57d87a(0x297)](Boolean);if(_0x5738db['waIsX'](_0x1cfdd9[_0x57d87a(0x234)],0x0))throw new DslError(_0x5738db[_0x57d87a(0x36c)],_0x5738db[_0x57d87a(0x3b9)]);for(const _0x4e79c6 of _0x1cfdd9){if(_0x5738db['MLvhI'](_0x5738db[_0x57d87a(0x484)],_0x57d87a(0x200))){if(!_0x2550c0['groupbyOk'](_0x4e79c6,_0x2aee3a))throw new DslError(_0x5738db['JfRFU'],_0x57d87a(0x459)+_0x4e79c6,{'field':_0x4e79c6});}else{const _0x384b8e=_0x5738db['ptAPo'](_0x529b58,{..._0x62c436,'cmp':'eq'},_0x3908e3);return{'bool':{'must_not':[_0x384b8e]}};}}}}const _0x3f4af7=_0x5738db[_0x57d87a(0x46e)](_0x2b1e25[_0x57d87a(0x271)],undefined)?parseCalculate(_0x2b1e25[_0x57d87a(0x271)]):{'type':_0x5738db[_0x57d87a(0x314)]};if(_0x5738db[_0x57d87a(0x396)](_0x3f4af7[_0x57d87a(0x437)],_0x5738db[_0x57d87a(0x314)])){if(_0x5738db[_0x57d87a(0x4b0)]('iNNxg',_0x5738db[_0x57d87a(0x495)]))throw new _0x2a214a(_0x5738db[_0x57d87a(0x4d6)],_0x57d87a(0x427)+_0x13524a+_0x57d87a(0x416),{'field':_0x324c7c});else{const _0x526805=_0x3f4af7[_0x57d87a(0x1ed)],_0x48de73=_0x2aee3a[_0x57d87a(0x251)](_0x526805);if(!_0x2550c0[_0x57d87a(0x33f)](_0x526805,_0x2aee3a)){if(_0x5738db[_0x57d87a(0x396)](_0x5738db[_0x57d87a(0x4af)],_0x5738db[_0x57d87a(0x4af)])){const _0x21f3ef=_0x5c964f[_0x3c2cd8];return _0x5738db[_0x57d87a(0x44a)](_0x5cea05,_0x21f3ef&&(_0x5738db[_0x57d87a(0x45c)](_0x21f3ef['type'],_0x5738db[_0x57d87a(0x43b)])||_0x5738db['iWOHM'](_0x21f3ef[_0x57d87a(0x437)],_0x57d87a(0x45d))));}else throw new DslError(_0x5738db[_0x57d87a(0x4d6)],_0x57d87a(0x335)+_0x526805,{'field':_0x526805});}void _0x48de73;}}let _0x4a8d66=_0x5738db['KlfRv'];if(_0x5738db[_0x57d87a(0x3f0)](_0x2b1e25[_0x57d87a(0x44d)],undefined)){if(_0x5738db[_0x57d87a(0x417)]===_0x5738db[_0x57d87a(0x2b6)])return _0x5626ca[_0x57d87a(0x378)](0x1,-0x1);else{const _0x3023ba=_0x2b1e25[_0x57d87a(0x44d)][_0x57d87a(0x2f9)]()[_0x57d87a(0x2f1)]();if(_0x3023ba!==_0x5738db[_0x57d87a(0x489)]&&_0x3023ba!==_0x5738db[_0x57d87a(0x4e3)])throw new DslError(_0x5738db[_0x57d87a(0x36c)],'sort\x20inválido:\x20'+_0x3023ba+_0x57d87a(0x45a));_0x4a8d66=_0x3023ba;}}const _0x411b27=_0x5738db[_0x57d87a(0x400)](_0x3dd36f['length'],0x0),_0x380edc=_0x1cfdd9[_0x57d87a(0x2fe)](_0x15acbc=>_0x2aee3a['has'](_0x15acbc)),_0x3a370a=_0x5738db[_0x57d87a(0x455)](_0x3f4af7['type'],_0x5738db[_0x57d87a(0x314)])&&_0x2aee3a[_0x57d87a(0x251)](_0x3f4af7[_0x57d87a(0x1ed)]),_0x38babf=_0x1cfdd9[_0x57d87a(0x2fe)](_0x254758=>isKvPath(_0x254758)),_0x2e00e9=_0x1cfdd9[_0x57d87a(0x2fe)](_0x349f58=>isPayloadPath(_0x349f58)),_0x4db503=_0x3f4af7[_0x57d87a(0x437)]!==_0x5738db[_0x57d87a(0x314)]&&_0x5738db[_0x57d87a(0x33d)](isPayloadPath,_0x3f4af7['field']),_0x1977d2=_0x2f8bed['filter'](_0x339f85=>_0x339f85[_0x57d87a(0x1ed)]&&isPayloadPath(_0x339f85[_0x57d87a(0x1ed)])&&[_0x57d87a(0x1ed),'in',_0x57d87a(0x28d)][_0x57d87a(0x4a3)](_0x339f85[_0x57d87a(0x4eb)])),_0x1abdb1=_0x5738db[_0x57d87a(0x309)](_0x411b27,_0x380edc)||_0x3a370a||_0x38babf||_0x2e00e9||_0x4db503||_0x5738db[_0x57d87a(0x400)](_0x1977d2['length'],0x0);return{'where':_0x515b85,'dataset':_0xfb48ab,'clauses':_0x2f8bed,'payloadFilters':_0x1977d2,'operator':_0x521086,'regexes':_0x3dd36f,'extracted':_0x2aee3a,'groupby':_0x1cfdd9,'calculate':_0x3f4af7,'sort':_0x4a8d66,'hasRegex':_0x411b27,'serverSide':_0x1abdb1,'hasGroupby':_0x5738db[_0x57d87a(0x402)](_0x1cfdd9[_0x57d87a(0x234)],0x0)};}function clauseToOpenSearch(_0x549551){const _0x600847=_0x16e160,_0x452fe4={'xqDhx':_0x600847(0x388),'HpOeT':_0x600847(0x42c),'SbXwU':function(_0xd6e8d1,_0x5bf712){return _0xd6e8d1(_0x5bf712);},'xMsRW':_0x600847(0x3db),'ylvur':function(_0x25fd97,_0x21eb3b){return _0x25fd97===_0x21eb3b;},'mTrzF':'field','HWPPY':_0x600847(0x334),'dgIZs':function(_0x165770,_0x183b69){return _0x165770===_0x183b69;},'dvIEO':_0x600847(0x34b),'yslqx':function(_0x49ac2d,_0x3d6781){return _0x49ac2d===_0x3d6781;},'wzXaU':_0x600847(0x3be)};if(_0x549551['kind']===_0x600847(0x388))return{'match_phrase':{'message':_0x549551['value']}};if(_0x549551[_0x600847(0x4eb)]===_0x452fe4[_0x600847(0x2d1)])return{'match':{'message':_0x549551[_0x600847(0x453)]}};if(_0x452fe4[_0x600847(0x3da)](_0x549551[_0x600847(0x4eb)],_0x452fe4['mTrzF'])){if('TjDPS'!==_0x452fe4[_0x600847(0x405)]){const _0xff6384=(_0x499dec['flags']||'')['replace'](/[^gimsuy]/g,'');_0x4283ad=new _0x1cae9b(_0x5a8413,_0xff6384[_0x600847(0x4a3)]('g')?_0xff6384:_0xff6384);}else{if(_0x452fe4[_0x600847(0x3d1)](_0x549551[_0x600847(0x1ed)],_0x452fe4[_0x600847(0x1fa)]))return{'match':{'message':_0x549551[_0x600847(0x453)]}};if(isKvPath(_0x549551[_0x600847(0x1ed)]))return{'term':{[_0x549551[_0x600847(0x1ed)]]:_0x549551['value']}};if(_0x452fe4[_0x600847(0x4bf)](isKvnPath,_0x549551[_0x600847(0x1ed)])){if(_0x452fe4[_0x600847(0x4de)](_0x600847(0x3ec),_0x452fe4[_0x600847(0x48e)])){let _0x29cf0c=_0x102852[_0x600847(0x453)];if(_0x29cf0c===''){const _0xbb07df=_0x213873[_0x228a76];if(_0xbb07df&&_0xbb07df[_0x600847(0x437)]===_0x452fe4['xqDhx'])_0x29cf0c=_0xbb07df[_0x600847(0x453)],_0x19410a++;else throw new _0x801a00(_0x452fe4[_0x600847(0x32e)],_0x600847(0x323)+_0x38478f['field']+_0x34dfe7['op']+'\x22');}else _0x29cf0c=_0x452fe4['SbXwU'](_0x5eefab,_0x29cf0c);return{'kind':_0x600847(0x1ed),'field':_0x3ca8cf[_0x600847(0x1ed)],'cmp':_0xc294a3['cmp'],'value':_0x29cf0c};}else{const _0x41d60d=_0x452fe4['SbXwU'](Number,_0x549551[_0x600847(0x453)]);return Number[_0x600847(0x245)](_0x41d60d)?{'term':{[_0x549551[_0x600847(0x1ed)]]:_0x41d60d}}:{'term':{[_0x549551[_0x600847(0x1ed)]]:_0x549551[_0x600847(0x453)]}};}}return{'term':{[_0x549551['field']+_0x600847(0x43c)]:_0x549551[_0x600847(0x453)]}};}}return null;}function buildOpenSearchQuery(_0x5c5e08,_0x4fe1de){const _0x2b3ec7=_0x16e160,_0x3c5002={'XuVmq':function(_0x44084c,_0x5a9b75){return _0x44084c===_0x5a9b75;},'whlWK':_0x2b3ec7(0x447),'LedDi':function(_0x3cccd8,_0x1a7b06){return _0x3cccd8===_0x1a7b06;},'ScDGB':function(_0x1d9c30,_0x350af1){return _0x1d9c30===_0x350af1;},'HkTkR':'and','ZZTir':function(_0xf17584,_0x42e6d){return _0xf17584(_0x42e6d);},'ISwMG':function(_0x12cff9,_0x59e0a7,_0x5d78b4){return _0x12cff9(_0x59e0a7,_0x5d78b4);},'tsupJ':function(_0x35b18b,_0x200bc1){return _0x35b18b===_0x200bc1;},'oOevD':_0x2b3ec7(0x4cc)},_0x44f67a=DATASET_PROFILES[_0x5c5e08&&_0x5c5e08[_0x2b3ec7(0x4c6)]||_0x2b3ec7(0x28e)],_0x429247={'range':{[_0x44f67a[_0x2b3ec7(0x43a)]]:{'gte':_0x4fe1de['from'],'lte':_0x4fe1de['to']}}},_0x1b4696=_0x3c5002[_0x2b3ec7(0x2ab)](astToOpenSearch,_0x5c5e08[_0x2b3ec7(0x2fd)],DATASET_PROFILES[_0x5c5e08&&_0x5c5e08[_0x2b3ec7(0x4c6)]||'logs']);if(!_0x1b4696){if(_0x3c5002['tsupJ'](_0x3c5002['oOevD'],_0x3c5002[_0x2b3ec7(0x237)]))return{'bool':{'filter':[_0x429247]}};else{const _0x56202a=[],_0x4c0cfa=_0x48c7b2=>{const _0x4a41d5=_0x2b3ec7;if(!_0x48c7b2)return null;if(_0x3c5002['XuVmq'](_0x48c7b2[_0x4a41d5(0x4eb)],_0x3c5002[_0x4a41d5(0x47d)]))return _0x56202a[_0x4a41d5(0x440)](_0x48c7b2[_0x4a41d5(0x479)]),null;if(_0x48c7b2['op']==='and'){const _0x4a1446=_0x48c7b2[_0x4a41d5(0x3f4)][_0x4a41d5(0x3a4)](_0x4c0cfa)[_0x4a41d5(0x297)](_0xc6893c);if(_0x3c5002[_0x4a41d5(0x208)](_0x4a1446[_0x4a41d5(0x234)],0x0))return null;return _0x3c5002[_0x4a41d5(0x4a5)](_0x4a1446[_0x4a41d5(0x234)],0x1)?_0x4a1446[0x0]:{'op':_0x3c5002[_0x4a41d5(0x434)],'children':_0x4a1446};}return _0x48c7b2;},_0x2a6b39=_0x3c5002[_0x2b3ec7(0x3d5)](_0x4c0cfa,_0x5b2a3d&&_0x5375fd[_0x2b3ec7(0x2fd)]);return{'containsExprs':_0x56202a,'rootWhere':_0x2a6b39};}}return{'bool':{'filter':[_0x429247],'must':[_0x1b4696]}};}function sourceFieldsFor(_0x56d15d){const _0x1511d5=_0x16e160,_0x5598bc={'KVZYX':function(_0x49c804,_0x1612f2){return _0x49c804(_0x1612f2);},'zEVAX':'request.body','VsYAg':_0x1511d5(0x1f3),'qRKtt':function(_0x331997,_0x20c11a){return _0x331997===_0x20c11a;},'lxgUw':_0x1511d5(0x1ed),'OWAja':_0x1511d5(0x34b),'tUovh':function(_0x55d307,_0x5d7691){return _0x55d307!==_0x5d7691;},'NGoSG':_0x1511d5(0x458),'OELWx':function(_0x25f5ef,_0x5a3f38){return _0x25f5ef(_0x5a3f38);}},_0x5c7e96=new Set([_0x5598bc[_0x1511d5(0x3c0)],TIME_FIELD]),_0xc0cb56=_0x374d32=>{const _0x31eeb5=_0x1511d5;if(_0x56d15d[_0x31eeb5(0x2a4)][_0x31eeb5(0x251)](_0x374d32))return;if(_0x5598bc[_0x31eeb5(0x2d5)](isBodyPath,_0x374d32)){_0x5c7e96[_0x31eeb5(0x28c)](_0x5598bc['zEVAX']);return;}if(_0x5598bc[_0x31eeb5(0x2d5)](isResponsePath,_0x374d32)){_0x5c7e96[_0x31eeb5(0x28c)](_0x5598bc['VsYAg']);return;}_0x5c7e96['add'](_0x374d32);};_0x56d15d[_0x1511d5(0x3ab)][_0x1511d5(0x386)](_0xc0cb56);if(_0x5598bc['tUovh'](_0x56d15d[_0x1511d5(0x271)][_0x1511d5(0x437)],_0x5598bc[_0x1511d5(0x439)]))_0x5598bc[_0x1511d5(0x31e)](_0xc0cb56,_0x56d15d['calculate'][_0x1511d5(0x1ed)]);return _0x56d15d['clauses']['forEach'](_0x15dc82=>{const _0x126b78=_0x1511d5;if(_0x5598bc[_0x126b78(0x214)](_0x15dc82[_0x126b78(0x4eb)],_0x5598bc['lxgUw']))_0x5598bc[_0x126b78(0x2d5)](_0xc0cb56,_0x15dc82[_0x126b78(0x1ed)]);}),Array['from'](_0x5c7e96);}function metricSubAgg(_0x3cbf35,_0x129141){const _0x3d8395=_0x16e160,_0x1241b1={'BgFbh':function(_0x523ad9,_0x338e4b){return _0x523ad9||_0x338e4b;},'mUsRW':function(_0x5060ab,_0x263173){return _0x5060ab===_0x263173;},'vZWkT':'avg','DjErB':_0x3d8395(0x349),'QCxRn':_0x3d8395(0x2db),'qWfBY':function(_0x3f6211,_0x411f10){return _0x3f6211===_0x411f10;},'DrNGq':_0x3d8395(0x3e1),'XUqET':'p99'},{type:_0x5eefa5}=_0x3cbf35,_0x363586=DATASET_PROFILES[_0x1241b1[_0x3d8395(0x4bb)](_0x129141,_0x3d8395(0x28e))],_0x302fc8=_0x363586[_0x3d8395(0x28b)](_0x3cbf35[_0x3d8395(0x1ed)]);if(_0x1241b1[_0x3d8395(0x31c)](_0x5eefa5,_0x1241b1[_0x3d8395(0x25c)]))return{'metric':{'avg':{'field':_0x302fc8}}};if(_0x5eefa5===_0x1241b1[_0x3d8395(0x4bd)])return{'metric':{'sum':{'field':_0x302fc8}}};if(_0x1241b1[_0x3d8395(0x31c)](_0x5eefa5,_0x1241b1['QCxRn']))return{'metric':{'min':{'field':_0x302fc8}}};if(_0x1241b1[_0x3d8395(0x2e2)](_0x5eefa5,_0x1241b1[_0x3d8395(0x4cb)]))return{'metric':{'max':{'field':_0x302fc8}}};if(_0x1241b1[_0x3d8395(0x31c)](_0x5eefa5,_0x3d8395(0x3d0)))return{'metric':{'percentiles':{'field':_0x302fc8,'percents':[0x5f]}}};if(_0x5eefa5===_0x1241b1[_0x3d8395(0x3f8)])return{'metric':{'percentiles':{'field':_0x302fc8,'percents':[0x63]}}};return undefined;}function readNativeMetric(_0x96d866,_0x34e0be){const _0x13e2fa=_0x16e160,_0xe0e723={'svCuy':function(_0x1d5f57,_0x343326){return _0x1d5f57===_0x343326;},'lhLTd':'count','vhlYU':_0x13e2fa(0x3d0),'jdfVm':_0x13e2fa(0x4df),'YPPQv':function(_0x93e714,_0xbf39ba){return _0x93e714===_0xbf39ba;},'FvMkC':_0x13e2fa(0x469),'GQbeL':'99.0'};if(_0xe0e723[_0x13e2fa(0x1ee)](_0x34e0be[_0x13e2fa(0x437)],_0xe0e723[_0x13e2fa(0x273)]))return _0x96d866[_0x13e2fa(0x338)];const _0x2d7bba=_0x96d866[_0x13e2fa(0x2be)]||{};if(_0xe0e723[_0x13e2fa(0x1ee)](_0x34e0be['type'],_0xe0e723[_0x13e2fa(0x3ef)]))return(_0x2d7bba[_0x13e2fa(0x433)]&&(_0x2d7bba[_0x13e2fa(0x433)][_0xe0e723['jdfVm']]??_0x2d7bba['values']['95']))??null;if(_0xe0e723[_0x13e2fa(0x380)](_0x34e0be[_0x13e2fa(0x437)],_0xe0e723['FvMkC']))return(_0x2d7bba[_0x13e2fa(0x433)]&&(_0x2d7bba[_0x13e2fa(0x433)][_0xe0e723[_0x13e2fa(0x341)]]??_0x2d7bba[_0x13e2fa(0x433)]['99']))??null;return _0x2d7bba[_0x13e2fa(0x453)]??null;}function buildTermsAgg(_0x67f4ca){const _0x45019d=_0x16e160,_0x5c6faf={'tquJT':'timestamp','oNrpe':function(_0x95b1e5,_0x34abda){return _0x95b1e5!==_0x34abda;},'VbguA':_0x45019d(0x226),'uEkjn':_0x45019d(0x42c),'WMDUN':function(_0x5e15f7,_0x5a0237,_0x1b7a05,_0x416333,_0x574fbb){return _0x5e15f7(_0x5a0237,_0x1b7a05,_0x416333,_0x574fbb);},'taQXt':_0x45019d(0x28e),'FWAhY':function(_0x146ad3,_0x3f7b0a){return _0x146ad3===_0x3f7b0a;},'wPYeU':function(_0x2bc6fb,_0x2c3e34){return _0x2bc6fb===_0x2c3e34;},'veWvL':_0x45019d(0x3d0),'JtKVg':function(_0x5806c0,_0x49c43e){return _0x5806c0===_0x49c43e;},'fzckk':_0x45019d(0x469),'mncRz':_0x45019d(0x360),'KKPZI':function(_0x21b8fe,_0x5034b8){return _0x21b8fe<_0x5034b8;},'lDUQP':function(_0x3bfd79,_0x360485){return _0x3bfd79-_0x360485;},'jLEmf':function(_0x22960b,_0x150dcd){return _0x22960b!==_0x150dcd;},'GFnOJ':_0x45019d(0x262),'DqtkD':function(_0x5be755,_0x3dd729){return _0x5be755(_0x3dd729);},'NzlYl':function(_0x86dd27,_0xe584f){return _0x86dd27===_0xe584f;},'Qrtvs':_0x45019d(0x34d),'fOQkY':'count','JYrHm':_0x45019d(0x2fc),'LVmHQ':function(_0x27be51,_0x36d639,_0xbe2db9){return _0x27be51(_0x36d639,_0xbe2db9);},'nPzLM':_0x45019d(0x4c2)},_0x1e7509=_0x67f4ca[_0x45019d(0x3ab)],_0x59586d=_0x67f4ca[_0x45019d(0x271)],_0x577c74=_0x3fe210=>{const _0x5cd332=_0x45019d,_0x32fe3c={'EHLhH':_0x5c6faf[_0x5cd332(0x241)],'pODRL':_0x5c6faf[_0x5cd332(0x2bd)],'qxcrk':function(_0x57b00c,_0xb6edf1,_0x26a53b,_0x1ac785,_0x2e316f){return _0x5c6faf['WMDUN'](_0x57b00c,_0xb6edf1,_0x26a53b,_0x1ac785,_0x2e316f);}},_0x114ce5=_0x1e7509[_0x3fe210],_0x5eda27=DATASET_PROFILES[_0x67f4ca['dataset']||_0x5c6faf[_0x5cd332(0x4d4)]],_0x45ddc7=_0x5eda27[_0x5cd332(0x24c)](_0x114ce5,_0x67f4ca[_0x5cd332(0x2a4)]),_0xb1c545=_0x5c6faf['FWAhY'](_0x59586d[_0x5cd332(0x437)],_0x5cd332(0x458))?{'_count':_0x5cd332(0x360)}:_0x5c6faf['wPYeU'](_0x59586d[_0x5cd332(0x437)],_0x5c6faf['veWvL'])?{'metric.95':'desc'}:_0x5c6faf[_0x5cd332(0x2a7)](_0x59586d['type'],_0x5c6faf[_0x5cd332(0x39f)])?{'metric.99':_0x5c6faf['mncRz']}:{'metric':_0x5c6faf['mncRz']},_0x6440a9={'terms':{'field':_0x45ddc7,'size':TERMS_CAP}};if(_0x5c6faf[_0x5cd332(0x28f)](_0x3fe210,_0x5c6faf[_0x5cd332(0x490)](_0x1e7509['length'],0x1))){if(_0x5c6faf[_0x5cd332(0x3f3)](_0x5cd332(0x244),_0x5c6faf[_0x5cd332(0x4db)]))_0x6440a9[_0x5cd332(0x258)]={'sub':_0x5c6faf['DqtkD'](_0x577c74,_0x3fe210+0x1)},_0x6440a9[_0x5cd332(0x381)]['order']={'_count':_0x5cd332(0x360)};else return _0x1aed09(_0x59e4cb)||_0x4feec0[_0x5cd332(0x251)](_0x311ebd)||_0x1c5299===_0x5c6faf[_0x5cd332(0x4b2)];}else{if(_0x5c6faf[_0x5cd332(0x276)](_0x5c6faf['Qrtvs'],'MHCAc')){const _0x5e0a62=_0x447848['children'][_0x5cd332(0x3a4)](_0x1506d2=>_0x3d36a5(_0x1506d2,_0x518e52))[_0x5cd332(0x297)](_0x1ba5e9);if(_0x5e0a62[_0x5cd332(0x234)]===0x0)return null;return{'bool':{'should':_0x5e0a62,'minimum_should_match':0x1}};}else{if(_0x5c6faf[_0x5cd332(0x3f3)](_0x59586d[_0x5cd332(0x437)],_0x5c6faf[_0x5cd332(0x21b)])){if(_0x5c6faf[_0x5cd332(0x275)](_0x5c6faf[_0x5cd332(0x462)],_0x5c6faf[_0x5cd332(0x462)])){if(_0x15f7c1[_0x5cd332(0x240)]!==_0x32fe3c[_0x5cd332(0x4a7)])throw new _0x4e07dc('malformed','contains(...)\x20só\x20é\x20suportado\x20no\x20dataset\x20traces\x20(recebido:\x20'+_0x31f098['name']+')');if(_0xc9de8f)throw new _0x158cf9(_0x32fe3c[_0x5cd332(0x4d5)],_0x5cd332(0x35a));_0x32fe3c[_0x5cd332(0x4ec)](_0x4b82cd,_0x3a3165[_0x5cd332(0x479)],_0x2f12d9,_0x1bcf19['spans'],![]);return;}else _0x6440a9[_0x5cd332(0x258)]=_0x5c6faf[_0x5cd332(0x2e6)](metricSubAgg,_0x59586d,_0x67f4ca[_0x5cd332(0x4c6)]),_0x6440a9['terms'][_0x5cd332(0x3ae)]=_0xb1c545;}else{if(_0x5cd332(0x49c)===_0x5c6faf[_0x5cd332(0x263)])for(const [_0x15e891,_0x22be1a]of _0x3915d5[_0x5cd332(0x3b5)](_0x58b328[_0x5cd332(0x27c)])){if(_0x5c6faf[_0x5cd332(0x275)](_0x22be1a,_0x1f62d9))_0x7a012b[_0x15e891]=_0x22be1a;}else _0x6440a9[_0x5cd332(0x381)]['order']={'_count':_0x5c6faf[_0x5cd332(0x4a1)]};}}}return _0x6440a9;};return{'groups':_0x5c6faf['DqtkD'](_0x577c74,0x0)};}function parseTermsAgg(_0x30ea3b,_0x5ce284){const _0x556f55=_0x16e160,_0x5a0599={'pICop':function(_0x2bfbee,_0x48097f){return _0x2bfbee===_0x48097f;},'VpIti':function(_0x5b52d4,_0x22faa7){return _0x5b52d4(_0x22faa7);},'BRlIs':'response.result','JjoXi':function(_0x298c6c,_0x3906e8,_0x5cff66){return _0x298c6c(_0x3906e8,_0x5cff66);},'akMDf':_0x556f55(0x1f5),'dVzfS':function(_0x2d487e,_0xac72c7){return _0x2d487e!==_0xac72c7;},'qeksb':_0x556f55(0x365),'MPdsJ':_0x556f55(0x485),'AvnpT':_0x556f55(0x4e0),'NVSiC':_0x556f55(0x311),'aAzrJ':function(_0x40f426,_0x133fac){return _0x40f426-_0x133fac;},'tJRex':function(_0x5edc33,_0x28fb5a,_0x45fd46,_0x40bfe7){return _0x5edc33(_0x28fb5a,_0x45fd46,_0x40bfe7);},'qfXOc':function(_0x4b8246,_0x54aa4a){return _0x4b8246+_0x54aa4a;},'PKtvI':function(_0x2748de,_0xbfa9c,_0x418a23,_0x5d6832){return _0x2748de(_0xbfa9c,_0x418a23,_0x5d6832);}},_0x2bcdb0=_0x5ce284['groupby'],_0x8b9aa7=_0x5ce284[_0x556f55(0x271)],_0x3560e2=[],_0xeffb7d=(_0x5a6218,_0x2ca789,_0x3c23fd)=>{const _0x4c4e08=_0x556f55,_0x492e2b={'cIGiw':function(_0x416ba1,_0x5813cb){const _0x48315e=_0x5bd5;return _0x5a0599[_0x48315e(0x35d)](_0x416ba1,_0x5813cb);},'ITtda':function(_0x5989f0,_0x7ef7f4){const _0x86ac56=_0x5bd5;return _0x5a0599[_0x86ac56(0x27f)](_0x5989f0,_0x7ef7f4);},'vLHGW':_0x5a0599[_0x4c4e08(0x48c)],'kkaau':function(_0x10b9ab,_0x3019ac,_0x274f13){return _0x5a0599['JjoXi'](_0x10b9ab,_0x3019ac,_0x274f13);},'LzNgQ':_0x5a0599[_0x4c4e08(0x4a6)]};if(_0x5a0599[_0x4c4e08(0x4c3)](_0x5a0599['qeksb'],_0x5a0599['MPdsJ']))for(const _0x39156c of _0x5a6218||[]){if(_0x5a0599[_0x4c4e08(0x3e0)]!==_0x5a0599[_0x4c4e08(0x391)]){const _0x302205=Object[_0x4c4e08(0x4dc)]({},_0x3c23fd,{[_0x2bcdb0[_0x2ca789]]:_0x39156c[_0x4c4e08(0x471)]});_0x5a0599[_0x4c4e08(0x35d)](_0x2ca789,_0x5a0599[_0x4c4e08(0x3bc)](_0x2bcdb0[_0x4c4e08(0x234)],0x1))?_0x3560e2[_0x4c4e08(0x440)](Object[_0x4c4e08(0x4dc)]({},_0x302205,{'value':_0x5a0599[_0x4c4e08(0x412)](readNativeMetric,_0x39156c,_0x8b9aa7)})):_0x5a0599[_0x4c4e08(0x2ed)](_0xeffb7d,_0x39156c['sub']&&_0x39156c['sub']['buckets']||[],_0x5a0599[_0x4c4e08(0x2c8)](_0x2ca789,0x1),_0x302205);}else return _0xdfa510++,{'kind':'regex','source':_0xc36551['source'],'flags':_0x5db170[_0x4c4e08(0x2ff)]};}else{if(_0x492e2b[_0x4c4e08(0x466)](_0x412a95[_0x4c4e08(0x40f)],_0x38e2ba))_0x3fc8c6[_0x4c4e08(0x40f)]=_0x492e2b[_0x4c4e08(0x2da)](_0x1a5b7e,_0x48f358(_0x5eb93a,_0x492e2b['vLHGW']));return _0x563a77[_0x4c4e08(0x40f)]?_0x492e2b['kkaau'](_0x3857d0,_0x14d2eb[_0x4c4e08(0x40f)],_0x5a1614['slice'](_0x492e2b['LzNgQ'][_0x4c4e08(0x234)])):_0x948e0d;}},_0x27aaff=_0x30ea3b&&_0x30ea3b[_0x556f55(0x27c)]&&_0x30ea3b[_0x556f55(0x27c)][_0x556f55(0x410)]||[];return _0x5a0599[_0x556f55(0x328)](_0xeffb7d,_0x27aaff,0x0,{}),sortRows(_0x3560e2,_0x5ce284[_0x556f55(0x44d)]),_0x3560e2;}function getPath(_0x149172,_0x3fc6b3){const _0x22f2df=_0x16e160,_0x5ae915={'dfZEp':function(_0x3c5c8e,_0x4eb777){return _0x3c5c8e||_0x4eb777;}};if(_0x5ae915[_0x22f2df(0x429)](!_0x149172,!_0x3fc6b3))return undefined;if(Object[_0x22f2df(0x2cd)][_0x22f2df(0x253)][_0x22f2df(0x488)](_0x149172,_0x3fc6b3))return _0x149172[_0x3fc6b3];return _0x3fc6b3[_0x22f2df(0x312)]('.')[_0x22f2df(0x310)]((_0x81001b,_0x4a4f26)=>_0x81001b===null||_0x81001b===undefined?undefined:_0x81001b[_0x4a4f26],_0x149172);}function toNumber(_0x10d249){const _0x286ac8=_0x16e160,_0x346c57={'THLtJ':function(_0x15ec18,_0x28f4c3){return _0x15ec18===_0x28f4c3;},'LcMvz':function(_0x3db232,_0x3acc68){return _0x3db232===_0x3acc68;},'zyuaV':function(_0x3cf524,_0x31fd7c){return _0x3cf524(_0x31fd7c);}};if(_0x346c57[_0x286ac8(0x359)](_0x10d249,null)||_0x346c57['LcMvz'](_0x10d249,undefined)||_0x10d249==='')return null;const _0x4aaafd=_0x346c57[_0x286ac8(0x2b8)](Number,_0x10d249);return Number[_0x286ac8(0x245)](_0x4aaafd)?_0x4aaafd:null;}const MAX_PAYLOAD_PARSE_LEN=0x100*0x400;function safeJsonParse(_0x3b29cd){const _0x531f80=_0x16e160,_0xbdb57={'kPcnF':function(_0x31f037,_0x56525d){return _0x31f037!==_0x56525d;},'yRXDN':function(_0x2bb72f,_0x58ef66){return _0x2bb72f===_0x58ef66;},'tmfSR':function(_0x212cf5,_0x5902be){return _0x212cf5>_0x5902be;},'JqNyV':function(_0x33246c,_0x3a742f){return _0x33246c===_0x3a742f;},'fZBhd':'xgvQw','qLIMV':_0x531f80(0x2c6),'caCVg':function(_0x8ed1b9,_0x2bd478){return _0x8ed1b9===_0x2bd478;}};if(_0xbdb57[_0x531f80(0x2dd)](typeof _0x3b29cd,'string')||_0xbdb57[_0x531f80(0x3ff)](_0x3b29cd[_0x531f80(0x234)],0x0)||_0xbdb57[_0x531f80(0x1fb)](_0x3b29cd[_0x531f80(0x234)],MAX_PAYLOAD_PARSE_LEN))return null;try{if(_0xbdb57[_0x531f80(0x4e1)](_0xbdb57[_0x531f80(0x260)],_0xbdb57[_0x531f80(0x24a)])){const _0x480884=_0x3fd27a(_0x23023a[_0x531f80(0x453)]);return _0x5eb781[_0x531f80(0x245)](_0x480884)?{'term':{[_0x28f1dd[_0x531f80(0x1ed)]]:_0x480884}}:{'term':{[_0x418238[_0x531f80(0x1ed)]]:_0x3d88bb[_0x531f80(0x453)]}};}else{const _0x2bf013=JSON[_0x531f80(0x331)](_0x3b29cd);return _0x2bf013!==null&&_0xbdb57[_0x531f80(0x2d2)](typeof _0x2bf013,_0x531f80(0x35c))?_0x2bf013:null;}}catch{return null;}}function payloadValue(_0x43115e,_0x2c8abe,_0x4cd87b){const _0x1471b6=_0x16e160,_0x297049={'RQFjq':function(_0x225dfd,_0x2b9485){return _0x225dfd(_0x2b9485);},'JGXXO':function(_0x189f29,_0x1a0716){return _0x189f29===_0x1a0716;},'LoMNB':function(_0x2897a3,_0x37844f,_0x46e5cf){return _0x2897a3(_0x37844f,_0x46e5cf);},'gANLw':_0x1471b6(0x44f),'uNMYF':'body.','aBGpa':function(_0x9865bd,_0xe402d1){return _0x9865bd(_0xe402d1);},'abeRc':function(_0x35e4c7,_0x1f05c5){return _0x35e4c7(_0x1f05c5);},'xeWFb':function(_0x4ac58e,_0x1b087d,_0x2a9928){return _0x4ac58e(_0x1b087d,_0x2a9928);},'vVAHT':_0x1471b6(0x1f3),'TZGVh':_0x1471b6(0x1f5)};if(_0x297049[_0x1471b6(0x41c)](isBodyPath,_0x2c8abe)){if(_0x297049['JGXXO'](_0x4cd87b['body'],undefined))_0x4cd87b[_0x1471b6(0x282)]=safeJsonParse(_0x297049[_0x1471b6(0x45f)](getPath,_0x43115e,_0x297049['gANLw']));return _0x4cd87b[_0x1471b6(0x282)]?getPath(_0x4cd87b[_0x1471b6(0x282)],_0x2c8abe[_0x1471b6(0x378)](_0x297049['uNMYF'][_0x1471b6(0x234)])):undefined;}if(_0x297049[_0x1471b6(0x270)](isResponsePath,_0x2c8abe)){if(_0x4cd87b[_0x1471b6(0x40f)]===undefined)_0x4cd87b[_0x1471b6(0x40f)]=_0x297049['abeRc'](safeJsonParse,_0x297049[_0x1471b6(0x1f6)](getPath,_0x43115e,_0x297049['vVAHT']));return _0x4cd87b['response']?_0x297049['xeWFb'](getPath,_0x4cd87b[_0x1471b6(0x40f)],_0x2c8abe[_0x1471b6(0x378)](_0x297049['TZGVh'][_0x1471b6(0x234)])):undefined;}return undefined;}function flattenLeafPaths(_0x3d0afd,_0x279ebe={}){const _0x2ced0c=_0x16e160,_0x536e27={'OmCly':function(_0x52ecb3,_0x3b057d){return _0x52ecb3!==_0x3b057d;},'gNObT':_0x2ced0c(0x35c),'Dnnsy':_0x2ced0c(0x3dc),'WOpFx':_0x2ced0c(0x228),'VraPl':function(_0x160973,_0x47f6c4,_0x94344f,_0x34f049){return _0x160973(_0x47f6c4,_0x94344f,_0x34f049);}},_0x4a85c6=_0x279ebe[_0x2ced0c(0x382)]||0x6,_0x37b37e=[],_0x27f2ed=(_0x9b8066,_0x3ca16f,_0x34c6b1)=>{const _0x14d13d=_0x2ced0c;if(_0x536e27['OmCly'](_0x9b8066,null)&&typeof _0x9b8066===_0x536e27[_0x14d13d(0x4c4)]&&!Array['isArray'](_0x9b8066)&&_0x34c6b1<_0x4a85c6){if(_0x536e27[_0x14d13d(0x30f)]==='euDTq'){_0x1f75f4[_0x14d13d(0x3a6)]=0x0;const _0x2cff27=_0x1e1c34[_0x14d13d(0x313)](_0x42e955);if(!_0x2cff27)return{'ok':![],'extracted':_0xd676bd};if(_0x2cff27['groups'])for(const [_0x30cec8,_0x425193]of _0x407fdd['entries'](_0x2cff27['groups'])){if(_0x425193!==_0x500338)_0x5d5bb2[_0x30cec8]=_0x425193;}}else for(const _0x268d8b of Object[_0x14d13d(0x1ef)](_0x9b8066)){if(_0x536e27[_0x14d13d(0x286)](_0x536e27[_0x14d13d(0x3ac)],_0x536e27['WOpFx']))_0x29bfbc+=_0x59b8be[_0x2d18e8],_0x112886++;else{if(!/^[A-Za-z0-9_][A-Za-z0-9_.-]*$/[_0x14d13d(0x317)](_0x268d8b))continue;_0x536e27[_0x14d13d(0x41e)](_0x27f2ed,_0x9b8066[_0x268d8b],_0x3ca16f?_0x3ca16f+'.'+_0x268d8b:_0x268d8b,_0x34c6b1+0x1);}}}else _0x3ca16f&&_0x37b37e[_0x14d13d(0x440)](_0x3ca16f);};return _0x27f2ed(_0x3d0afd,'',0x0),_0x37b37e;}function resolveScanValue(_0x13ee2e,_0x372e5c,_0x3eb6f7,_0x21ac73,_0x5d6cde){const _0x538d3d=_0x16e160,_0x3d5c0a={'RlMNm':function(_0x5f9ece,_0x34415a){return _0x5f9ece(_0x34415a);},'jVcYi':function(_0x17b283,_0x3e243c,_0xae04c6,_0x1e6574){return _0x17b283(_0x3e243c,_0xae04c6,_0x1e6574);}};if(_0x21ac73[_0x538d3d(0x251)](_0x372e5c))return _0x3eb6f7[_0x372e5c];if(_0x3d5c0a['RlMNm'](isPayloadPath,_0x372e5c))return _0x3d5c0a[_0x538d3d(0x3d7)](payloadValue,_0x13ee2e,_0x372e5c,_0x5d6cde);return getPath(_0x13ee2e,_0x372e5c);}function evalPayloadClause(_0x1bbb30,_0x22126c){const _0x369191=_0x16e160,_0x46dcf7={'AFUxJ':function(_0x225d1b,_0x412fe7){return _0x225d1b(_0x412fe7);},'sNFSC':_0x369191(0x44f),'JvAWs':function(_0x49a7ef,_0x222985){return _0x49a7ef===_0x222985;},'CYMiv':'exists','lBUam':function(_0x31d196,_0x27ef56){return _0x31d196!==_0x27ef56;},'ukQrl':function(_0x31bf35,_0x211b0f){return _0x31bf35!==_0x211b0f;},'iSlfF':function(_0x2da599,_0x27b3ad){return _0x2da599(_0x27b3ad);},'kaHoF':function(_0x2d93ad,_0xf630b9){return _0x2d93ad(_0xf630b9);},'QTNfZ':function(_0x42e77c,_0x1e723b){return _0x42e77c!==_0x1e723b;},'eLCEH':function(_0x2d3bfd,_0x38f811){return _0x2d3bfd(_0x38f811);},'OibcZ':_0x369191(0x447),'uLBPJ':function(_0x4c7bb2,_0x18f588){return _0x4c7bb2(_0x18f588);},'LBcfA':function(_0x52a7c6,_0x3a9d96){return _0x52a7c6(_0x3a9d96);},'eLmxh':_0x369191(0x219),'vueCW':'lte','iLvAa':function(_0x55a89b,_0x1a1b9a){return _0x55a89b===_0x1a1b9a;},'LGyPQ':_0x369191(0x387),'QjmSn':function(_0x44860f,_0x3b4f07){return _0x44860f(_0x3b4f07);},'btsoU':function(_0x3f9245,_0x1c5537){return _0x3f9245(_0x1c5537);},'KCxtx':function(_0x5127a6,_0x543239){return _0x5127a6>_0x543239;},'Uwcxh':function(_0x110f84,_0x6cd244){return _0x110f84>=_0x6cd244;},'fEOii':function(_0x1b5131,_0x5027c2){return _0x1b5131<_0x5027c2;},'ABhqX':function(_0x59a453,_0x206a0d){return _0x59a453<=_0x206a0d;}};if(_0x46dcf7[_0x369191(0x231)](_0x22126c[_0x369191(0x4eb)],_0x46dcf7[_0x369191(0x3d3)]))return _0x46dcf7[_0x369191(0x27d)](_0x1bbb30,undefined)&&_0x46dcf7['ukQrl'](_0x1bbb30,null);if(_0x46dcf7['JvAWs'](_0x1bbb30,undefined)||_0x1bbb30===null)return![];if(_0x46dcf7['JvAWs'](_0x22126c[_0x369191(0x4eb)],'in')){const _0x164424=(_0x22126c[_0x369191(0x433)]||[])[_0x369191(0x3a4)](_0x57b54c=>String(_0x57b54c)['toLowerCase']());return _0x164424['includes'](_0x46dcf7[_0x369191(0x39d)](String,_0x1bbb30)[_0x369191(0x2f1)]());}switch(_0x22126c[_0x369191(0x38c)]){case'eq':return _0x46dcf7[_0x369191(0x4f1)](String,_0x1bbb30)['toLowerCase']()===String(_0x22126c[_0x369191(0x453)])[_0x369191(0x2f1)]();case'ne':return _0x46dcf7[_0x369191(0x324)](_0x46dcf7[_0x369191(0x42e)](String,_0x1bbb30)[_0x369191(0x2f1)](),String(_0x22126c[_0x369191(0x453)])[_0x369191(0x2f1)]());case _0x46dcf7[_0x369191(0x27b)]:return _0x46dcf7[_0x369191(0x26e)](String,_0x1bbb30)[_0x369191(0x2f1)]()['includes'](_0x46dcf7[_0x369191(0x342)](String,_0x22126c[_0x369191(0x453)])[_0x369191(0x2f1)]());case'gt':case _0x46dcf7[_0x369191(0x25d)]:case'lt':case _0x46dcf7[_0x369191(0x375)]:{if(_0x46dcf7['iLvAa'](_0x369191(0x387),_0x46dcf7[_0x369191(0x3a7)])){const _0xf867eb=_0x46dcf7[_0x369191(0x4d8)](Number,_0x1bbb30),_0x45a010=_0x46dcf7['btsoU'](Number,_0x22126c[_0x369191(0x453)]);if(!Number[_0x369191(0x245)](_0xf867eb)||!Number[_0x369191(0x245)](_0x45a010))return![];return _0x22126c[_0x369191(0x38c)]==='gt'?_0x46dcf7[_0x369191(0x40a)](_0xf867eb,_0x45a010):_0x22126c['cmp']===_0x369191(0x219)?_0x46dcf7[_0x369191(0x436)](_0xf867eb,_0x45a010):_0x46dcf7[_0x369191(0x231)](_0x22126c['cmp'],'lt')?_0x46dcf7['fEOii'](_0xf867eb,_0x45a010):_0x46dcf7['ABhqX'](_0xf867eb,_0x45a010);}else{if(_0x2deeea[_0x369191(0x2a4)]['has'](_0x4c0916))return;if(_0x46dcf7[_0x369191(0x30e)](_0x1ba09d,_0x364ab1)){_0x14bda4[_0x369191(0x28c)](_0x46dcf7[_0x369191(0x4a8)]);return;}if(_0xd6c0ea(_0x4db4d3)){_0xcaa4eb['add'](_0x369191(0x1f3));return;}_0x2ecd5e[_0x369191(0x28c)](_0x3579aa);}}default:return![];}}function evalPayloadFilters(_0xfdd35d,_0x103c20,_0x2c4270){const _0x3557a9=_0x16e160,_0x6cf5d8={'HjZUa':function(_0x199fc7,_0x15c66e){return _0x199fc7===_0x15c66e;},'pwrgF':function(_0x34c8a7,_0x2b3835,_0xe7dc68,_0x1e9aac){return _0x34c8a7(_0x2b3835,_0xe7dc68,_0x1e9aac);},'jRTaB':function(_0x36c0f0,_0x525cd3,_0x1554e5){return _0x36c0f0(_0x525cd3,_0x1554e5);}};if(!_0x103c20||_0x6cf5d8['HjZUa'](_0x103c20['length'],0x0))return!![];for(const _0x4bee8e of _0x103c20){const _0xd920c2=_0x6cf5d8['pwrgF'](payloadValue,_0xfdd35d,_0x4bee8e['field'],_0x2c4270);if(!_0x6cf5d8[_0x3557a9(0x26c)](evalPayloadClause,_0xd920c2,_0x4bee8e))return![];}return!![];}function extractFromDoc(_0x5ef95a,_0x28c09d){const _0x3d6910=_0x16e160,_0x2ef40c={'FaXik':function(_0xc8fa35,_0x37b8a5){return _0xc8fa35===_0x37b8a5;},'GEQLn':_0x3d6910(0x2f0),'uRzgH':function(_0x5e7de0,_0x184fda){return _0x5e7de0!==_0x184fda;}},_0xde0691=_0x2ef40c['FaXik'](typeof(_0x5ef95a&&_0x5ef95a[_0x3d6910(0x34b)]),_0x2ef40c[_0x3d6910(0x225)])?_0x5ef95a['message']:'',_0xc1ebd3={};for(const {regex:_0x13f7b5}of _0x28c09d){_0x13f7b5['lastIndex']=0x0;const _0x5d90fb=_0x13f7b5['exec'](_0xde0691);if(!_0x5d90fb)return{'ok':![],'extracted':_0xc1ebd3};if(_0x5d90fb[_0x3d6910(0x27c)])for(const [_0x414740,_0x5cc5f5]of Object[_0x3d6910(0x3b5)](_0x5d90fb['groups'])){if(_0x2ef40c[_0x3d6910(0x384)](_0x5cc5f5,undefined))_0xc1ebd3[_0x414740]=_0x5cc5f5;}}return{'ok':!![],'extracted':_0xc1ebd3};}function percentile(_0x52be93,_0x433c9f){const _0x406e68=_0x16e160,_0xa80e7={'cMrdV':function(_0x32f871,_0x3c1dcc){return _0x32f871===_0x3c1dcc;},'QdUYV':function(_0x44432d,_0x180afb){return _0x44432d*_0x180afb;},'jwfAT':function(_0x4d3752,_0x1cd411){return _0x4d3752/_0x1cd411;},'WloYe':function(_0x24a4e8,_0xe91c25){return _0x24a4e8-_0xe91c25;},'kWudb':function(_0xba1d5d,_0x2aa0e3){return _0xba1d5d+_0x2aa0e3;}};if(_0xa80e7[_0x406e68(0x4ef)](_0x52be93[_0x406e68(0x234)],0x0))return null;if(_0xa80e7['cMrdV'](_0x52be93[_0x406e68(0x234)],0x1))return _0x52be93[0x0];const _0x3aaf66=_0xa80e7[_0x406e68(0x48f)](_0xa80e7[_0x406e68(0x4cf)](_0x433c9f,0x64),_0xa80e7['WloYe'](_0x52be93[_0x406e68(0x234)],0x1)),_0x5e9c7d=Math[_0x406e68(0x220)](_0x3aaf66),_0x34570a=Math[_0x406e68(0x44b)](_0x3aaf66);if(_0xa80e7['cMrdV'](_0x5e9c7d,_0x34570a))return _0x52be93[_0x5e9c7d];return _0xa80e7[_0x406e68(0x38f)](_0x52be93[_0x5e9c7d],_0xa80e7[_0x406e68(0x36f)](_0x52be93[_0x34570a],_0x52be93[_0x5e9c7d])*_0xa80e7[_0x406e68(0x36f)](_0x3aaf66,_0x5e9c7d));}function finalizeMetric(_0x1693be,_0x40489b){const _0x25d273=_0x16e160,_0xfa53dc={'QFIjD':function(_0x59cd31,_0x43e10e){return _0x59cd31===_0x43e10e;},'GgAYE':_0x25d273(0x349),'ZjMMK':_0x25d273(0x374),'LTfgO':function(_0x217475,_0x42e9ec){return _0x217475/_0x42e9ec;},'jCuGP':'min','RhHCM':'max','jHayI':function(_0x508d58,_0x59957e,_0x21f186){return _0x508d58(_0x59957e,_0x21f186);},'SixrW':_0x25d273(0x469)};if(_0xfa53dc[_0x25d273(0x4f2)](_0x40489b['length'],0x0))return null;if(_0x1693be===_0xfa53dc[_0x25d273(0x3a0)])return _0x40489b[_0x25d273(0x310)]((_0xdca648,_0x59a25b)=>_0xdca648+_0x59a25b,0x0);if(_0xfa53dc['QFIjD'](_0x1693be,_0xfa53dc[_0x25d273(0x430)]))return _0xfa53dc[_0x25d273(0x47f)](_0x40489b[_0x25d273(0x310)]((_0x581b77,_0x4278e6)=>_0x581b77+_0x4278e6,0x0),_0x40489b[_0x25d273(0x234)]);if(_0x1693be===_0xfa53dc[_0x25d273(0x465)])return Math[_0x25d273(0x2db)](..._0x40489b);if(_0xfa53dc[_0x25d273(0x4f2)](_0x1693be,_0xfa53dc[_0x25d273(0x3f5)]))return Math['max'](..._0x40489b);const _0x5dce87=_0x40489b[_0x25d273(0x378)]()['sort']((_0x31fc23,_0x54a85a)=>_0x31fc23-_0x54a85a);if(_0x1693be===_0x25d273(0x3d0))return _0xfa53dc[_0x25d273(0x3a1)](percentile,_0x5dce87,0x5f);if(_0x1693be===_0xfa53dc[_0x25d273(0x2a5)])return _0xfa53dc['jHayI'](percentile,_0x5dce87,0x63);return null;}function metricLabel(_0x2d72fc){const _0x4045b9=_0x16e160,_0x4bc6b1={'ewDBT':function(_0x3bcda7,_0x3b2abb){return _0x3bcda7===_0x3b2abb;},'jjqJz':_0x4045b9(0x458)};return _0x4bc6b1[_0x4045b9(0x3df)](_0x2d72fc[_0x4045b9(0x437)],_0x4bc6b1['jjqJz'])?_0x4bc6b1['jjqJz']:_0x2d72fc['type']+'('+_0x2d72fc[_0x4045b9(0x1ed)]+')';}function aggregateServerSide(_0x550d87,_0x250a5b){const _0x2b18bc=_0x16e160,_0x16cc1a={'ICrij':function(_0x207a65,_0x402d45){return _0x207a65===_0x402d45;},'qtqTV':_0x2b18bc(0x2f4),'qZHAR':function(_0x3548f0,_0x27b61c,_0x9fc9c4){return _0x3548f0(_0x27b61c,_0x9fc9c4);},'Ybwsw':function(_0x3f056b,_0x1389d6,_0x247021){return _0x3f056b(_0x1389d6,_0x247021);},'ZxJPr':function(_0x4bcfde){return _0x4bcfde();},'gfqgW':_0x2b18bc(0x1f3),'VKsoa':_0x2b18bc(0x41d),'LiGTV':function(_0x42f36a){return _0x42f36a();},'FMNrF':function(_0x412602){return _0x412602();},'JZqEp':function(_0x38848a,_0x4919ec){return _0x38848a===_0x4919ec;},'YWLRa':function(_0x5eb062,_0x5ac94e){return _0x5eb062(_0x5ac94e);},'gqpYC':function(_0x1a0452){return _0x1a0452();},'LMOvT':function(_0x362bd7,_0x3e9345){return _0x362bd7!==_0x3e9345;},'MAmCO':_0x2b18bc(0x472),'wzhrf':function(_0x49cc75,_0x3e3fbc,_0x1ee711,_0x4ec4d8){return _0x49cc75(_0x3e3fbc,_0x1ee711,_0x4ec4d8);},'ltING':function(_0x29f1d7,_0x8f4705){return _0x29f1d7===_0x8f4705;},'YwCWZ':_0x2b18bc(0x2e3),'BFoMQ':function(_0x1be5bb,_0x5dea0b){return _0x1be5bb!==_0x5dea0b;},'USyGO':_0x2b18bc(0x458),'MzsDu':function(_0x5cebcb,_0x27ae58,_0x5a4e1e,_0x1e5d8f,_0x37a451,_0x50f9b2){return _0x5cebcb(_0x27ae58,_0x5a4e1e,_0x1e5d8f,_0x37a451,_0x50f9b2);},'SdjHO':_0x2b18bc(0x242),'XHrjH':function(_0x40f3ab,_0x961255,_0x5def78){return _0x40f3ab(_0x961255,_0x5def78);}},{groupby:_0x260228,calculate:_0x464740,regexes:_0x472c03,extracted:_0x9cf8f1,payloadFilters:_0x630992}=_0x250a5b,_0x275558=new Map();let _0xfb8452=0x0;for(const _0x161414 of _0x550d87){if(_0x16cc1a[_0x2b18bc(0x454)](_0x16cc1a[_0x2b18bc(0x256)],_0x2b18bc(0x472))){if(!_0x522536)return null;if(_0x16cc1a[_0x2b18bc(0x463)](_0x31650b['op'],'and')){const _0x2eeded=_0x24d6b6['children'][_0x2b18bc(0x3a4)](_0x54fad2=>_0x12e70b(_0x54fad2,_0x5c82b7))[_0x2b18bc(0x297)](_0x25ce8e);if(_0x2eeded[_0x2b18bc(0x234)]===0x0)return null;return _0x2eeded['length']===0x1?_0x2eeded[0x0]:{'bool':{'filter':_0x2eeded}};}if(_0x5de459['op']==='or'){const _0x1f1e2e=_0x5668cb['children']['map'](_0xfb040f=>_0x4d2efd(_0xfb040f,_0x42fd51))[_0x2b18bc(0x297)](_0xf5309c);if(_0x16cc1a[_0x2b18bc(0x463)](_0x1f1e2e[_0x2b18bc(0x234)],0x0))return null;return{'bool':{'should':_0x1f1e2e,'minimum_should_match':0x1}};}if(_0x16cc1a['ICrij'](_0xc777fa['op'],_0x16cc1a[_0x2b18bc(0x3b7)])){const _0x5c735e=_0x1d1fe8(_0x3b5fb4['child'],_0x464671);return _0x5c735e?{'bool':{'must_not':[_0x5c735e]}}:null;}return _0x16cc1a[_0x2b18bc(0x3c1)](_0x5921e0,_0x24af5f,_0x396a79);}else{const _0x511004=_0x161414&&_0x161414['_source']||{},{ok:_0x216067,extracted:_0x43c365}=extractFromDoc(_0x511004,_0x472c03);if(!_0x216067)continue;const _0x2b8a95={};if(!_0x16cc1a['wzhrf'](evalPayloadFilters,_0x511004,_0x630992,_0x2b8a95))continue;_0xfb8452++;const _0x13fb07=[];let _0x128777=![];for(const _0x2513da of _0x260228){const _0x256d74=resolveScanValue(_0x511004,_0x2513da,_0x43c365,_0x9cf8f1,_0x2b8a95);if(_0x256d74===undefined||_0x16cc1a['JZqEp'](_0x256d74,null)||_0x16cc1a[_0x2b18bc(0x463)](_0x256d74,'')){_0x128777=!![];break;}_0x13fb07[_0x2b18bc(0x440)](_0x16cc1a[_0x2b18bc(0x4ed)](String,_0x256d74));}if(_0x128777)continue;const _0x1c0330=_0x13fb07[_0x2b18bc(0x362)]('\x00');let _0x2a86c6=_0x275558['get'](_0x1c0330);if(!_0x2a86c6){if(_0x16cc1a[_0x2b18bc(0x492)](_0x2b18bc(0x218),_0x16cc1a[_0x2b18bc(0x35e)])){const _0x388fd1=[_0x19abb8()];while(_0x16cc1a[_0x2b18bc(0x2b0)](_0x4716d7,_0x16cc1a['ZxJPr'](_0x5696bd),/^or$/i)){_0x41dd52++,_0x388fd1[_0x2b18bc(0x440)](_0x16cc1a['ZxJPr'](_0x27721a));}return _0x388fd1['length']===0x1?_0x388fd1[0x0]:{'op':'or','children':_0x388fd1};}else{const _0x41e83f={};_0x260228[_0x2b18bc(0x386)]((_0x4647dd,_0x4e76f1)=>{const _0x30492b=_0x2b18bc,_0x491707={'kdokE':_0x16cc1a[_0x30492b(0x357)]};if(_0x16cc1a['VKsoa']!==_0x16cc1a[_0x30492b(0x3ad)]){_0x1901a2[_0x30492b(0x28c)](_0x491707[_0x30492b(0x1f4)]);return;}else _0x41e83f[_0x4647dd]=_0x13fb07[_0x4e76f1];}),_0x2a86c6={'dims':_0x41e83f,'count':0x0,'values':[]},_0x275558[_0x2b18bc(0x2cf)](_0x1c0330,_0x2a86c6);}}_0x2a86c6[_0x2b18bc(0x458)]++;if(_0x16cc1a[_0x2b18bc(0x4bc)](_0x464740[_0x2b18bc(0x437)],_0x16cc1a[_0x2b18bc(0x3bd)])){const _0x418004=_0x16cc1a[_0x2b18bc(0x2e5)](resolveScanValue,_0x511004,_0x464740[_0x2b18bc(0x1ed)],_0x43c365,_0x9cf8f1,_0x2b8a95),_0x14ff41=_0x16cc1a[_0x2b18bc(0x4ed)](toNumber,_0x418004);if(_0x16cc1a[_0x2b18bc(0x454)](_0x14ff41,null))_0x2a86c6['values'][_0x2b18bc(0x440)](_0x14ff41);}}}const _0xbff048=[];for(const _0x467991 of _0x275558[_0x2b18bc(0x433)]()){if(_0x16cc1a[_0x2b18bc(0x379)](_0x16cc1a[_0x2b18bc(0x3f2)],_0x2b18bc(0x242))){const _0x52887e=_0x464740[_0x2b18bc(0x437)]===_0x16cc1a[_0x2b18bc(0x3bd)]?_0x467991[_0x2b18bc(0x458)]:_0x16cc1a[_0x2b18bc(0x4f0)](finalizeMetric,_0x464740[_0x2b18bc(0x437)],_0x467991[_0x2b18bc(0x433)]);_0xbff048[_0x2b18bc(0x440)](Object[_0x2b18bc(0x4dc)]({},_0x467991[_0x2b18bc(0x3cf)],{'value':_0x52887e}));}else{const _0x477221=_0x16cc1a['LiGTV'](_0x289c88);if(_0x16cc1a[_0x2b18bc(0x2b0)](_0x42c72f,_0x477221,/^not$/i))return _0x228b49++,{'op':_0x16cc1a['qtqTV'],'child':_0x16cc1a[_0x2b18bc(0x2ea)](_0x2f85ae)};if(_0x477221&&_0x16cc1a['JZqEp'](_0x477221[_0x2b18bc(0x437)],'(')){_0x2e36f5++;const _0x271594=_0x29b8db();return _0x16cc1a[_0x2b18bc(0x4ed)](_0xac573,')'),_0x271594;}return _0x16cc1a[_0x2b18bc(0x2ca)](_0xfdf275);}}return _0x16cc1a[_0x2b18bc(0x4f0)](sortRows,_0xbff048,_0x250a5b[_0x2b18bc(0x44d)]),{'rows':_0xbff048,'matched':_0xfb8452};}function sortRows(_0xa272d1,_0x213a76){const _0xd83641={'mGxlf':function(_0x39fe08,_0x32100c){return _0x39fe08===_0x32100c;},'jGuIV':function(_0x1a2a8b,_0x32a74b){return _0x1a2a8b===_0x32a74b;},'APCXw':function(_0x1bd007,_0x5252b8){return _0x1bd007<_0x5252b8;},'MebEm':function(_0x3708b9,_0x3a3f54){return _0x3708b9===_0x3a3f54;},'OLAWU':'asc'},_0xdc7f88=_0xd83641['MebEm'](_0x213a76,_0xd83641['OLAWU'])?0x1:-0x1;_0xa272d1['sort']((_0x17e128,_0x59261b)=>{const _0x1da290=_0x5bd5,_0x48a153=_0xd83641[_0x1da290(0x4a9)](_0x17e128[_0x1da290(0x453)],null)||_0x17e128[_0x1da290(0x453)]===undefined?-Infinity:_0x17e128[_0x1da290(0x453)],_0x4dda64=_0xd83641[_0x1da290(0x4a9)](_0x59261b[_0x1da290(0x453)],null)||_0xd83641['mGxlf'](_0x59261b[_0x1da290(0x453)],undefined)?-Infinity:_0x59261b[_0x1da290(0x453)];if(_0xd83641[_0x1da290(0x336)](_0x48a153,_0x4dda64))return 0x0;return _0xd83641[_0x1da290(0x373)](_0x48a153,_0x4dda64)?-_0xdc7f88:_0xdc7f88;});}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};