https://reconai.net/_next/static/chunks/591-fdb52536dd80ef5a.js?dpl=dpl_5pixzFYsY84tPepMsu9TTVBkU6N4
1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[591],{51181:function(e,n,t){t.d(n,{j:function(){return o},n:function(){return a}});var r=t(68160),i=t(2483);function o(e,n){var t;let r={...(0,i.Wd)(),...n};null===(t=window.analytics)||void 0===t||t.track(e,r)}function a(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(e,(0,r.l)({source:"dashboard",...n}))}},591:function(e,n,t){t.d(n,{p:function(){return i}});var r=t(51181);function i(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.j)(e,{path:window.location.pathname,ts:new Date().toISOString(),referrer:document.referrer||null,...n})}},2483:function(e,n,t){t.d(n,{$L:function(){return k},CN:function(){return _},JV:function(){return c},Li:function(){return a},On:function(){return w},SN:function(){return o},TP:function(){return u},Wd:function(){return y},c1:function(){return s},fS:function(){return i},v4:function(){return g}});var r=t(53101);let i=["production","commander","internal","beta","synthetic","all"],o=["local","preview","production","all"],a=["SW1","SW1.5","SW2","all"],s=["24h","7d","30d"],u={production:"Production",commander:"Commander",internal:"Internal",beta:"Beta",synthetic:"Synthetic",all:"All"},c={local:"Local",preview:"Preview",production:"Production",all:"All envs"},l=["@recon.ai","@trustbyrecon.com"],d=new Set;function m(e){return"".concat(null!=e?e:"").split(",").map(e=>e.trim().toLowerCase()).filter(Boolean)}function f(){let e=m(r.env.NEXT_PUBLIC_RECON_COMMANDER_EMAILS);return 0===e.length?d:new Set(e)}function v(e){let n="".concat(null!=e?e:"").trim().toLowerCase();return n.length>0?n:null}function h(e,n){var t;if(!e)return;if(e instanceof URLSearchParams)return null!==(t=e.get(n))&&void 0!==t?t:void 0;let r=e[n];return null==r?void 0:"".concat(r)}function p(e){let n="".concat(null!=e?e:"").trim().toLowerCase();return"1"===n||"true"===n||"yes"===n}function _(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=function(){var e,n;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.cohortOverride)return t.cohortOverride;let i="smoke-test"===(null!==(e=h(t.searchParams,"sessionType"))&&void 0!==e?e:h(t.searchParams,"session_type"))||p(h(t.searchParams,"smoke"))||p(h(t.searchParams,"smoke_test"));if("smoke-test"===t.sessionTypeOverride||i)return"synthetic";let o=v(t.email),a="".concat(null!==(n=t.pathname)&&void 0!==n?n:"");if((t.isAdmin||a.startsWith("/admin"))&&(o&&f().has(o)||t.isAdmin))return"commander";if(o){if(f().has(o))return"commander";if((function(){let e=m(r.env.NEXT_PUBLIC_RECON_INTERNAL_EMAIL_DOMAINS);return e.length>0?e:l})().some(e=>o.endsWith(e.startsWith("@")?e:"@".concat(e))))return"internal"}let s=h(t.searchParams,"cohort");return"design_partner"===s||"design-partner"===s?"design_partner":"beta"===s||p(h(t.searchParams,"beta"))?"beta":"production"}(e),t=function(e){let n="".concat(null!=e?e:"").trim().toLowerCase();return n&&"localhost"!==n&&"127.0.0.1"!==n&&"::1"!==n?n.includes(".vercel.app")||n.includes("-preview")||n.includes("staging")?"preview":"production":"local"}(e.hostname),i=function(){var e;let n="".concat(null!==(e=r.env.NEXT_PUBLIC_RECON_RELEASE)&&void 0!==e?e:"SW1.5").trim();return"SW1"===n||"SW1.5"===n||"SW2"===n?n:"SW1.5"}(),o="synthetic"===n||"smoke-test"===e.sessionTypeOverride?"smoke-test":"live";return{cohort:n,environment:t,release:i,workspace:"ReconAI",sessionType:o,email:v(e.email),isAdmin:e.isAdmin}}function w(e){return{userType:e.cohort,environment:e.environment,workspace:e.workspace,sessionType:e.sessionType,release:e.release}}function g(e,n){let t=new URLSearchParams;if("production"!==e.audience&&t.set("audience",e.audience),"all"!==e.environment&&t.set("env",e.environment),"all"!==e.release&&t.set("release",e.release),"7d"!==e.time&&t.set("time",e.time),n)for(let[e,r]of Object.entries(n))null!=r&&""!==r&&t.set(e,r);let r=t.toString();return r?"?".concat(r):""}let S=null;function k(e){S=e}function y(){return S?w(S):w(_({pathname:window.location.pathname,hostname:window.location.hostname,searchParams:new URLSearchParams(window.location.search)}))}},68160:function(e,n){function t(e){if(null==e)return;let n=String(e).trim();return""===n?void 0:n}n.l=function(e){let n={source:e.source},r=t(e.orgId),i=t(e.missionId),o=t(e.taskId),a=t(e.stepId),s=t(e.toolName),u=t(e.agentId),c=t(e.agentName),l=t(e.trustState),d=t(e.reason),m=t(e.guardKind),f=t(e.sdkVersion),v=t(e.actionType),h=t(e.runId),p=t(e.parentRunId);if(void 0!==r&&(n.org_id=r),void 0!==i&&(n.mission_id=i),void 0!==o&&(n.task_id=o),void 0!==a&&(n.step_id=a),void 0!==s&&(n.tool_name=s),void 0!==u&&(n.agent_id=u),void 0!==c&&(n.agent_name=c),void 0!==l&&(n.trust_state=l),void 0!==d&&(n.reason=d),void 0!==e.success&&null!==e.success&&(n.success=e.success),void 0!==e.durationMs&&null!==e.durationMs&&Number.isFinite(e.durationMs)&&(n.duration_ms=e.durationMs),void 0!==m&&(n.guard_kind=m),void 0!==f&&(n.sdk_version=f),void 0!==v&&(n.action_type=v),void 0!==h&&(n.run_id=h),void 0!==p&&(n.parent_run_id=p),e.extras)for(let[t,r]of Object.entries(e.extras))void 0!==r&&(n[t]=r);return n}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.