1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`798154dfe6f02312abe2ebb46dcac5b55267091e`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:listening-web":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c73060a1-287c-4d3c-a147-bd8217a876ab`,e._sentryDebugIdIdentifier=`sentry-dbid-c73060a1-287c-4d3c-a147-bd8217a876ab`)}catch{}})();import{C as e,Jo as t,L as n,Q as r,Sa as i,Y as a,Z as ee,b as o,d as s,f as c,g as l,it as te,j as u,ka as d,l as f,lt as p,n as m,ot as ne,p as h,t as g,w as _,x as v}from"./Schema-BiKO9Vds.js";var y=`~effect/http/HttpClientError`,re=e=>t(e,y),ie=class extends i(`HttpClientError`){constructor(e){`cause`in e.reason?super({...e,cause:e.reason.cause}):super(e)}[y]=y;get request(){return this.reason.request}get response(){return`response`in this.reason?this.reason.response:void 0}get message(){return this.reason.message}},b=e=>e.endsWith(`Error`)?e.slice(0,-5):e,x=(e,t,n)=>t?`${e}: ${t} (${n})`:`${e} error (${n})`,ae=class extends i(`TransportError`){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return x(b(this._tag),this.description,this.methodAndUrl)}},oe=class extends i(`InvalidUrlError`){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return x(b(this._tag),this.description,this.methodAndUrl)}},se=class extends i(`StatusCodeError`){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return x(b(this._tag),this.description,e)}},ce=class extends i(`DecodeError`){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return x(b(this._tag),this.description,e)}},le=class extends i(`EmptyBodyError`){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return x(b(this._tag),this.description,e)}};d(6),d(7),d(1);var S=h([`auto`,`openai/gpt-oss-120b`,`google/gemma-4-31b-it`,`qwen/qwen3.7-flash`,`google/gemma-4-26b-a4b-it`,`openai/gpt-5.6-luna`]),C=h([`2000`,`4000`,`full`]),w=h([`no-text`,`interrupted`,`provider`]),T=v({requestId:o.check(ne(4)),model:S,context:C}),ue=v({model:S,context:C,description:l(o),summary:l(o),keyPoints:l(o
1),rawResponse:o,durationMs:f,costUsd:l(f),inputTokens:l(f),outputTokens:l(f),sourceWords:s,sentWords:s,fallbackCount:p(s),costIncomplete:p(m)}),de=_(`DocumentInsightsProgress`,{phase:h([`reading`,`summarizing`,`fallback`,`writing`]),model:S,completedSections:s,totalSections:s,startedAt:f,updatedAt:f,deadlineAt:f,estimatedRemainingMs:f}),fe=()=>`auto`,pe=v({model:S,context:C}),me=v({...T.fields,retryRequestId:p(T.fields.requestId)}),he=v({message:o,reason:p(w)}),ge=u([v({status:c(`pending`),requestId:T.fields.requestId,progress:l(de)}),v({status:c(`completed`),requestId:T.fields.requestId,result:ue}),v({status:c(`failed`),requestId:T.fields.requestId,error:he})]),E=o.pipe(n(te(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3})?Z$/,{message:`Must be a UTC instant, e.g. 2027-03-22T01:00:00.000Z`,identifier:`IsoInstant`}))),D=s.pipe(n(r(0))),O=h([`monthly_default`,`yearly_default`,`yearly_promo_59`,`yearly_promo_69`,`yearly_second_offer`]).annotate({description:"The plan vocabulary a request may name. Closed set; legacy prices excluded. Membership is not an offer â `yearly_second_offer` is refused with a 400, and `GET /billing/checkout-config` lists what may actually be bought."});O.literals;var k=h([`day`,`week`,`month`,`year`]);a(k);var _e=v({plan_id:l(O),interval:k,amount_cents:D,display_name:o,currency:o,interval_count:s.pipe(n(ee(0)))}),ve=h([`none`,`trialing`,`active`,`past_due`,`canceled`]),ye=h([`stripe`,`revenue_cat`,`referral`,`comp`]),be=h([`stripe`,`app_store`,`play_store`,`referral`,`comp`,`none`]),xe=v({entitlement:v({state:ve,access_until:l(E),source:l(ye)}),billing:v({provider:be,plan:l(_e),renews_at:l(E),cancel_at_period_end:m,can_change_plan_in_app:m,can_cancel_in_app:m,card_needed_for_plan:l(O),manage_url:l(o)}),free_tier:v({eligible:m,reason:l(o)})}),A=h([`payment_method_update`,`invoice_history`]),j=v({flow:A}),M=v({url:o}),Se=v({reason:p(l(o))}),Ce=v({status:h([`canceled`]),access_until:E}),we=h([`immediate_invoice`,`next_invoice`,`trial`]),Te=v({description:o,amount_cents:s,period:v({start:E,end:E})}),N=v({amount_cents:D,at:E}),P=v({plan_id:O,currency:o,terms:we,due_today_cents:D,credit_cents:D,balance_applied_cents:s,lines:g(Te),next_charge:l(N),pending_items_cents:s,proration_date:E}),Ee=v({plan_id:O}),De=v({plan_id:O,proration_date:E,expected_due_today_cents:D}),Oe=v({status:h([`changed`]),effective_at:E,charged_cents:D,next_charge:l(N)}),F=class extends e()(`InternalServerError`,{message:o},{httpApiStatus:500}){},I=class extends e()(`DocumentInsightsFailedError`,{message:o,reason:p(w)},{httpApiStatus:422}){},L=class extends e()(`BadRequestError`,{message:o},{httpApiStatus:400}){},R=class extends e()(`UnauthorizedError`,{message:o},{httpApiStatus:401}){},z=class extends e()(`NotFoundError`,{message:o},{httpApiStatus:404}){},B=class extends e()(`ConflictError`,{message:o},{httpApiStatus:409}){},V=class extends e()(`PlanChangePreviewStaleError`,{message:o,preview:P},{httpApiStatus:409}){},H=class extends e()(`FileTooLargeError`,{message:o,max_file_size_bytes:s,received_file_size_bytes:s},{httpApiStatus:413}){},U=class extends e()(`AudioRechunkingError`,{message:o,audioId:o},{httpApiStatus:503}){},W=class extends e()(`DocumentInaccessibleError`,{message:o,url:o,status_code:l(s)},{httpApiStatus:422}){},G=class extends e()(`UploadQuotaExceededError`,{message:o,max_uploads:s,reset_at_ms:s},{httpApiStatus:429}){},K=class extends e()(`UploadDocumentTypeNotAllowedError`,{message:o,document_type:o},{httpApiStatus:403}){},q=class extends e()(`TooManyRequestsError`,{message:o},{httpApiStatus:429}){},J=class extends e()(`RateLimitedError`,{message:o,scope:p(h([`identity`,`global`])),reason:p(h([`exceeded`,`store-error`])),retry_after_seconds:f},{httpApiStatus:429}){},Y=class extends e()(`CaptchaError`,{message:o,reason:p(o)},{httpApiStatus:403}){},X=class extends e()(`BadGatewayError`,{message:o},{httpApiStatus:502}){},Z=class extends e()(`ServiceUnavailableError`,{message:o},{httpApiStatus:503}){},ke=u([o,s,_(`symbol`,{key:o})]),Ae=v({_tag:h([`Pointer`,`Unexpected`,`Missing`,`Composite`,`Refinement`,`Transformation`,`Type`,`Forbidden`]),path:g(ke),message:o}),je=class extends e()(`HttpApiDecodeError`,{issues:g(Ae),message:o},{httpApiStatus:400,description:`The request did not match the expected schema`}){},Q=new Set([`InternalServerError`,`DocumentInsightsFailedError`,`BadRequestError`,`UnauthorizedError`,`NotFoundError`,`C
1onflictError`,`PlanChangePreviewStaleError`,`FileTooLargeError`,`AudioRechunkingError`,`DocumentInaccessibleError`,`UploadQuotaExceededError`,`UploadDocumentTypeNotAllowedError`,`TooManyRequestsError`,`RateLimitedError`,`CaptchaError`,`BadGatewayError`,`ServiceUnavailableError`]),Me=e=>typeof e!=`object`||!e||!(`_tag`in e)||typeof e._tag!=`string`||!Q.has(e._tag)?!1:`message`in e&&typeof e.message==`string`,Ne=e=>typeof e==`object`&&e&&`_tag`in e&&(e._tag===`Unauthorized`||e._tag===`UnauthorizedError`)?!0:re(e)?e.response?.status===401:!1,Pe=u([F,I,L,R,z,B,V,H,U,W,G,K,q,J,Y,X,Z]),$=a(Pe),Fe=h([`transient`,`permanent`,`session`]),Ie=e=>Ne(e)?`session`:$(e)&&(e._tag===`NotFoundError`||e._tag===`BadRequestError`)?`permanent`:`transient`,Le=e=>{if($(e)&&e._tag===`RateLimitedError`)return e.retry_after_seconds>0?e.retry_after_seconds*1e3:void 0};export{Ee as A,le as B,Se as C,P as D,Oe as E,pe as F,oe as H,me as I,ge as L,xe as M,D as N,j as O,O as P,fe as R,Me as S,De as T,se as U,ie as V,ae as W,R as _,Y as a,Le as b,I as c,F as d,z as f,q as g,Z as h,L as i,k as j,M as k,H as l,J as m,U as n,B as o,V as p,X as r,W as s,Fe as t,je as u,K as v,Ce as w,Ie as x,G as y,ce as z}; 2//# sourceMappingURL=errors-BnQcWde3.js.map
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.