PageSourceSearch

https://quikirr.com/_next/static/chunks/96959-0c9a8620b37dfc29.js

js quikirr.com collected 2026-10-04 06:46:14 UTC 15,320 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[96959],{18997:(t,e,r)=>{r.d(e,{t:()=>o});let n=/^[a-z][a-z0-9_]*$/;function o(t="operation"){if(!n.test(t))throw Error("invalid analytics operation id prefix");return`${t}_${function(){let t=globalThis.crypto;if("function"==typeof t?.randomUUID)return t.randomUUID();if(!t?.getRandomValues)throw Error("secure analytics operation id unavailable");let e=new Uint8Array(16);t.getRandomValues(e),e[6]=15&e[6]|64,e[8]=63&e[8]|128;let r=Array.from(e,t=>t.toString(16).padStart(2,"0"));return`${r.slice(0,4).join("")}-${r.slice(4,6).join("")}-${r.slice(6,8).join("")}-${r.slice(8,10).join("")}-${r.slice(10).join("")}`}()}`}},35333:(t,e,r)=>{r.d(e,{U$:()=>I,Y2:()=>D,YP:()=>E,ZY:()=>$,gh:()=>C,kZ:()=>T,lt:()=>R,mR:()=>A,mh:()=>P,t_:()=>x,vf:()=>L,zc:()=>O});var n=r(84251),o=r(32078),a=r(18997),i=r(90961),l=r(66645),u=r(78775);let s=new Set(["signup_page","permission_gate","web_app_permission_gate","auth_error","auth_control"]),c=new Set(["signup","signin","reauthenticate"]),d=["attemptId","intent","startedAtMs","surface"],_=/^auth_(login|logout)_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i,f=new Set;function m(t){return"login"===t?"quikirr.auth.pending_login_attempt.v1":"quikirr.auth.pending_logout_attempt.v1"}function p(t){l.vF.error("[authAttemptLifecycle] Auth attempt correlation unavailable",{fallback_state:t})}function g(t,e){return!!(0,i.u6)()||(l.vF.error("[authAttemptLifecycle] Auth lifecycle capture is unavailable",{fallback_state:`auth_${t}_${e}_capture_unavailable`}),!1)}function h(t){try{return window.sessionStorage.removeItem(m(t)),!0}catch{return p(`auth_${t}_attempt_remove_failed`),!1}}function y(t){let e;try{e=window.sessionStorage.getItem(m(t))}catch{return p(`auth_${t}_attempt_read_failed`),null}if(!e)return null;try{let r=JSON.parse(e);if(function(t,e){if(!t||"object"!=typeof t)return!1;let r=Object.keys(t).sort(),n=[...d].sort(),o=r.length===n.length&&r.every((t,e)=>t===n[e]),a="login"===e?c.has(t.intent):"logout"===t.intent;return o&&"string"==typeof t.attemptId&&_.test(t.attemptId)&&t.attemptId.startsWith(`auth_${e}_`)&&s.has(t.surface)&&a&&"number"==typeof t.startedAtMs&&Number.isFinite(t.startedAtMs)&&t.startedAtMs>=0}(r,t))return r}catch{}return h(t),p(`auth_${t}_attempt_invalid_marker`),null}function b(t,e=Date.now()){return Math.max(0,e-t.startedAtMs)}function v(t,e,r){(0,n.PJ)("login"===t?o.R2.AUTH_LOGIN_ABANDONED:o.R2.AUTH_LOGOUT_ABANDONED,{auth_attempt_id:e.attemptId,surface:e.surface,intent:e.intent,duration_ms:b(e),abandonment_reason:r})}function k(t,e=Date.now()){let r=y(t);return!r||f.has(r.attemptId)?null:(f.add(r.attemptId),h(t),b(r,e)>=18e5)?(v(t,r,"expired"),null):r}function w(t,e,r,i){let l;if(!g(t,"start"))return null;let u="login"===t?"logout":"login",s=k(u);s&&v(u,s,"superseded");let c=k(t);c&&v(t,c,"superseded");try{l=(0,a.t)(`auth_${t}`)}catch{return p(`auth_${t}_attempt_id_unavailable`),null}let d={attemptId:l,surface:e,intent:r,startedAtMs:Date.now()};return!function(t,e){try{return window.sessionStorage.setItem(m(t),JSON.stringify(e)),!0}catch{return p(`auth_${t}_attempt_write_failed`),!1}}(t,d)?null:((0,n.PJ)("login"===t?o.R2.AUTH_LOGIN_STARTED:o.R2.AUTH_LOGOUT_STARTED,{auth_attempt_id:l,surface:e,intent:r,route_class:i}),d)}function A(t){return t&&"/"!==t?"/signup"===t||t.startsWith("/signup/")?"signup":"/auth-error"===t||t.startsWith("/auth-error/")?"auth_error":t.startsWith("/analysis/")?"analysis":"/companies"===t||t.startsWith("/companies/")?"companies":"/admin"===t||t.startsWith("/admin/")?"admin":(0,u.qI)(t)?"marketing":"product":"home"}function I(t){return w("login",t.surface,t.intent,t.returnRouteClass)?.attemptId??null}function R(t){if(!g("login","terminal"))return!1;let e=k("login");return!!e&&((0,n.PJ)(o.R2.AUTH_LOGIN_COMPLETED,{auth_attempt_id:e.attemptId,surface:e.surface,intent:e.intent,route_class:t.routeClass,duration_ms:b(e)}),!0)}function x(t,e){if(/login page directly|Application Login URI|Tenant Login URI/i.test(e??""))return{code:"direct_login_access",failureClass:"session"};
1switch(t){case"invalid_request":case"login_required":case"invalid_grant":return{code:t,failureClass:"session"};case"access_denied":return{code:t,failureClass:"user_cancelled"};case"consent_required":return{code:t,failureClass:"consent"};case"server_error":case"temporarily_unavailable":return{code:t,failureClass:"provider"};default:return{code:"unknown_error",failureClass:"unknown"}}}function P(t){if(!g("login","terminal"))return!1;let e=k("login");return!!e&&((0,n.PJ)(o.R2.AUTH_LOGIN_FAILED,{auth_attempt_id:e.attemptId,surface:e.surface,intent:e.intent,route_class:"auth_error",duration_ms:b(e),failure_code:t.code,failure_class:t.failureClass,recoverable:t.recoverable}),!0)}function L(t="auth_control"){let e=window.location.pathname;return w("logout",t,"logout",A(e))?.attemptId??null}function $(){return null!==y("logout")}function T(){return null!==y("login")}function C(t=Date.now()){let e=["login","logout"].map(t=>y(t)).filter(t=>null!==t);return 0===e.length?null:Math.max(0,Math.min(...e.map(e=>18e5-Math.max(0,t-e.startedAtMs))))}function D(t=Date.now()){if(!(0,i.u6)())return 0;let e=0;for(let r of["login","logout"]){let n=y(r);n&&!(t-n.startedAtMs<18e5)&&(k(r,t),e+=1)}return e}function E(t){if(!g("logout","terminal"))return!1;let e=k("logout");return!!e&&((0,n.PJ)(o.R2.AUTH_LOGOUT_COMPLETED,{auth_attempt_id:e.attemptId,surface:e.surface,intent:"logout",route_class:t.routeClass,duration_ms:b(e)}),!0)}function O(){if(!g("logout","terminal"))return!1;let t=k("logout");return!!t&&((0,n.PJ)(o.R2.AUTH_LOGOUT_FAILED,{auth_attempt_id:t.attemptId,surface:t.surface,intent:"logout",route_class:A(window.location.pathname),duration_ms:b(t),failure_code:"navigation_failed"}),!0)}},78775:(t,e,r)=>{r.d(e,{E8:()=>a,Rq:()=>i,qI:()=>o});let n=["/auth-error","/contact","/email-confirmed","/privacy","/security","/signup","/signup-success","/terms","/thank-you","/updates"];function o(t){return!t||"/"===t||n.some(e=>t===e||t.startsWith(`${e}/`))}function a(t){return o(t)?"consent_required":"always_on"}function i(t,e){return!!t&&("/pnl"===t||t.startsWith("/pnl/"))&&e?.get("isExcelDialog")==="true"}},89239:(t,e,r)=>{r.d(e,{$:()=>s,r:()=>u});var n=r(95155),o=r(12115),a=r(42442),i=r(18460),l=r(90568);let u=(0,i.F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline","ghost-link":"hover:bg-transparent text-primary hover:text-primary/80"},size:{default:"h-10 px-4 py-2",xs:"h-8 rounded-md px-2 text-xs",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10","icon-sm":"h-8 w-8","icon-xs":"h-7 w-7"}},defaultVariants:{variant:"default",size:"default"}}),s=o.forwardRef(({className:t,variant:e,size:r,asChild:o=!1,...i},s)=>{let c=o?a.DX:"button";return(0,n.jsx)(c,{className:(0,l.cn)(u({variant:e,size:r,className:t})),ref:s,...i})});s.displayName="Button"},90568:(t,e,r)=>{r.d(e,{cn:()=>l});var n,o,a=r(29722),i=r(622);let l=(n=a.$,o=i.QP,(...t)=>o(n(t)))},90961:(t,e,r)=>{r.d(e,{NV:()=>C,u6:()=>O,uy:()=>E,b5:()=>D});var n=r(32535),o=r(84251),a=r(66645),i=r(32078);let l=["analytics_","posthog_","server_posthog_","server_logger_fallback_state_bridge_"],u=[{from:"autonomyRunId",to:"autonomy_run_id"},{from:"autonomyStepId",to:"autonomy_step_id"},{from:"autonomyCommandKind",to:"autonomy_command_kind"},{from:"analysisId",to:"analysis_id"},{from:"analysis_id",to:"analysis_id"},{from:"requestId",to:"request_id"},{from:"dataCubeRequestId",to:"data_cube_request_id"},{from:"mappingRunId",to:"mapping_run_id"},{from:"mappingAttemptId",to:"mapping_attempt_id"},{from:"phase",to:"phase"},{from:"surface",to:"surface"},{from:"fallback_reason",to:"fallback_reason"},{from:"movement",to:"movement"},{from:"family",to:"family"},{from:"timePeriod",to:"time_period"},{from:"period",to:"period"},{from:"bundle_sha",to:"bundle_sha"},{from:"runtime_sha",to:"runtime_sha"},{from:"recoveredTier",to:"recovered_tier"},{from:"recovered",to:"recovered"},{from:"workerId",to:"worker_id"},{from:"workerErrorName",to:"worker_error_name"},{from:"workerFailureReason",to:"worker_failure_reason"},{from:"granularity",to:"granularity"},{from:"workerName",to:"worker_name"},{from:"failingChunkUrl",to:"failing_chunk_url"},{from:"chunkLoadSource",to:"chunk_load_source"},{from:"chunkLoadVerdict",to:"chunk_load_verdict"},{from:"chunkLoadPageDeploymentServing",to:"chunk_load_page_deployment_serving"},{from:"chunkLoadPinnedRetryServed",to:"chunk_load_pinned_retry_served"},{from:"authorityGap",to:"authority_gap"},{from:"tabId",to:"tab_id"},{from:"compact_parity",to:"compact_parity"}],s=[{from:"autonomyAttempt",to:"autonomy_attempt"},{from:"residentDatasetCount",to:"resident_dataset_count"},{from:"estimatedResidentMB",to:"estimated_resident_mb"},{from:"fallback_duration_ms",to:"fallback_duration_ms"},{from:"fallback_row_count",to:"fallback_row_count"},{from:"fallback_column_count",to:"fallback_column_count"},{from:"fallback_descriptor_count",to:"fallback_descriptor_count"},{from:"fallback_critical_descriptor_count",to:"fallback_critical_descriptor_count"},{from:"fallback_descriptor_backing_scan_grain_count",to:"fallback_descriptor_backing_scan_grain_count"},{from:"fallback_descriptor_backing_scan_work_unit_count",to:"fallback_descriptor_backing_scan_work_unit_count"},{from:"compact_parity_mismatch_count",to:"compact_parity_mismatch_count"}],c=[{from:"divergentRuleFields",to:"divergent_rule_fields",gate:"field_names"},{from:"computeRuleFields",to:"compute_rule_fields",gate:"field_names"},{from:"reason",to:"reason_code",gate:"code"},{from:"skipReason",to:"skip_reason",gate:"code"},{from:"refusalReason",to:"refusal_reason",gate:"code"},{from:"error",to:"error_code",gate:"bracketed_code"}],d=/^[A-Za-z][A-Za-z0-9_]{0,63}$/,_=/^[a-z0-9_:.-]{1,80}$/,f=/^\s*\[([a-z0-9_:.-]{1,80})\]/,m=new Map,p=0,g=!1,h=({fallbackState:t,metadata:e})=>
1{if(g||function(t){for(let e of l)if(t.startsWith(e))return!0;return!1}(t)||p>=200)return;let r=t.slice(0,200),n=m.get(r)??0;if(m.set(r,n+1),n>=5)return;p+=1;let a={fallback_state:r,occurrence_index:n+1,...function(t){var e,r;let n={};for(let{from:r,to:o}of u){if(void 0!==n[o])continue;let a="string"==typeof(e=t[r])&&e.length>0?e.slice(0,128):"number"==typeof e&&Number.isFinite(e)||"boolean"==typeof e?String(e):null;null!==a&&(n[o]=a)}for(let{from:e,to:o}of s){if(void 0!==n[o])continue;let a="number"==typeof(r=t[e])&&Number.isFinite(r)?r:null;null!==a&&(n[o]=a)}for(let{from:e,to:r,gate:o}of c){if(void 0!==n[r])continue;let a=function(t,e){switch(e){case"field_names":return function(t){if(!Array.isArray(t))return null;let e=[...new Set(t.filter(t=>"string"==typeof t&&d.test(t)))];if(0===e.length)return null;let r=e.join(",");if(r.length<=128)return r;let n=`,+${e.length}`.length,o=[],a=0;for(let t of e){let e=a+ +(o.length>0)+t.length;if(e+n>128)break;o.push(t),a=e}return`${o.join(",")},+${e.length-o.length}`}(t);case"code":return"string"==typeof t&&_.test(t)?t:null;case"bracketed_code":if("string"!=typeof t)return null;return f.exec(t)?.[1]??null}}(t[e],o);null!==a&&(n[r]=a)}return n}(e)};g=!0;try{(0,o.PJ)(i.R2.OBSERVABILITY_FALLBACK_STATE_REPORTED,a)}finally{g=!1}};var y=r(4951);let b=/^[0-9a-f]{40}$/i,v=!1;function k(t){let e="string"==typeof t?t.trim().toLowerCase():"";return b.test(e)?e:null}function w(t){return t.slice(0,12)}async function A(){try{let t=await fetch("/api/observability/deployment-identity",{method:"GET",cache:"no-store",headers:{Accept:"application/json"}});if(!t.ok)return null;let e=await t.json();if("object"!=typeof e||null===e)return null;return k(e.deploy_sha)}catch{return null}}async function I(){if(v)return!1;v=!0;let t=k("af37223443c3a073e575ae95a8e5774ea930a80f");if(!t)return!1;let e=await A();if(!e)return!1;if(e===t)return(0,y.cx)(),!1;let r=function(t){let e;if(!t)return null;try{e=new URL(t,"http://localhost")}catch{return null}let r=e.searchParams.get("analysisId")?.trim();if(r)return r.slice(0,64);let n=/^\/(?:analysis|pnl)\/([^/?#]+)/.exec(e.pathname),o=n?.[1]?.trim();return o?decodeURIComponent(o).slice(0,64):null}(window.location?.href??null),n=(0,y.PD)({source:"bundle_attestation",staleIdentity:t,liveIdentity:e,onReloadError:n=>{a.vF.error("[BundleVersionAttestation] Guarded stale-client reload failed",{fallback_state:"stale_client_recovery_reload_failed",fallback_reason:"bundle_attestation",bundle_sha:w(t),runtime_sha:w(e),...r?{analysisId:r}:{},error:n instanceof Error?n.message:String(n)})}});return a.vF.error("[BundleVersionAttestation] The executing client bundle is not the deployed build; a cached previous-deployment bundle is running",{fallback_state:"client_bundle_stale_vs_deployment",fallback_reason:n.outcome,bundle_sha:w(t),runtime_sha:w(e),...r?{analysisId:r}:{}}),!0}function R(t){return t?.trim()||null}function x(){return function(t={}){let e=R(t.apiKey),r=R(t.apiHost);return e&&r?{apiKey:e,apiHost:r,source:"env",hasPartialOverride:!1}:{apiKey:"phc_PYu3tVLd2SF9Mx9Ab6JXZ4uwbAPDGg4yAsjeQWtdcR6",apiHost:"https://us.i.posthog.com",source:"default",hasPartialOverride:!!(e||r)}}({apiKey:"phc_PYu3tVLd2SF9Mx9Ab6JXZ4uwbAPDGg4yAsjeQWtdcR6",apiHost:"https://us.i.posthog.com"})}let P=null,L=!1;function $(t,e){a.vF.error(t,e)}function T(t){let e=x();n.Ay.init(e.apiKey,{api_host:e.apiHost,person_profiles:"identified_only",capture_pageview:!1,capture_pageleave:!0,enable_recording_console_log:!0,logs:{captureConsoleLogs:!0},capture_exceptions:{capture_unhandled_errors:!0,capture_unhandled_rejections:!0,capture_console_errors:!1},before_send:e=>t(e)}),n.Ay.opt_in_capturing({captureEventName:!1})}function C(t){let e,r;return P?(P.isReady()||P.reenableConsent(),P):((e=x()).hasPartialOverride&&!L&&(L=!0,a.vF.error("[PostHogProvider] Falling back to canonical public PostHog config because env overrides are incomplete",{captureMode:t.captureMode,consent:t.consent,configSource:e.source,hasPostHogKey:!0,hasPostHogHost:!0,fallback_state:"posthog_provider_partial_public_override"})),P=(0,o.hr)({client:n.Ay,context:{app:"web",environment:0===(r=window.location.hostname.trim().toLowerCase()).length?"unknown":"quikirr.com"===r||"www.quikirr.com"===r||"quikirr-insights-dc1.vercel.app"===r?"production":"localhost"===r||"127.0.0.1"===r||r.endsWith(".localhost")?"development":r.endsWith(".vercel.app")?"preview":"unknown",app_version:"0.1.0",deploy_sha:"af37223443c3a073e575ae95a8e5774ea930a80f"},initializeClient:T,logger:{error:$}}),(0,a.wX)(h),I(),P)}function D(){P?.withdrawConsent()}function E(){P?P.resetIdentity():a.vF.error("[PostHogIdentifier] Identity reset requested before analytics initialization",{fallback_state:"posthog_identity_reset_before_runtime_ready"})}function O(){return P?.isReady()===!0}}}]);

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.