PageSourceSearch

https://www.listening.com/assets/user-hooks-BeryhIAq.js

js listening.com collected 2026-09-24 08:54:58 UTC 2,259 bytes, 2 lines download raw bytes

1import{F as e,gt as t}from"./api-contract-BBRQu6_I.js";import{t as n}from"./useMutation-fVceI65m.js";import{t as r}from"./compiler-runtime-DPI-XUKY.js";import{r as i}from"./runtime-context-DR7xYiHc.js";import{C as a,S as o,b as s,f as c,g as l,h as u,l as d,m as f,p,s as m,x as h,y as g}from"./user-Cm2rgg6q.js";var _=r(),v=e=>({onSuccess:(t,n)=>(e.setQueryData(h,e=>e?{...e,...n}:void 0),e.invalidateQueries({queryKey:h}))}),y=36e5,b={queryKey:a,queryFn:()=>l,staleTime:y},x={queryKey:o,queryFn:()=>u,staleTime:y},S={queryKey:h,queryFn:()=>f,staleTime:y},C={queryKey:m,queryFn:()=>c,staleTime:y},w=e=>({queryKey:d(e),queryFn:()=>p(e),staleTime:e.surface===`paywall`?0:y}),T=t=>{let n=(0,_.c)(5),r=i(),a;n[0]===r?a=n[1]:(a=r.queryOptions(b),n[0]=r,n[1]=a);let o=t?.enabled??!0,s;return n[2]!==a||n[3]!==o?(s={...a,enabled:o},n[2]=a,n[3]=o,n[4]=s):s=n[4],e(s)},E=t=>{let n=(0,_.c)(5),r=i(),a;n[0]===r?a=n[1]:(a=r.queryOptions(C),n[0]=r,n[1]=a);let o=t?.enabled??!0,s;return n[2]!==a||n[3]!==o?(s={...a,enabled:o},n[2]=a,n[3]=o,n[4]=s):s=n[4],e(s)},D=t=>{let n=(0,_.c)(3),{enabled:r,...a}=t===void 0?{}:t,o=r===void 0||r,s=i().queryOptions(w(a)),c;return n[0]!==o||n[1]!==s?(c={...s,enabled:o},n[0]=o,n[1]=s,n[2]=c):c=n[2],e(c)},O=()=>{let t=(0,_.c)(2),n=i(),r;return t[0]===n?r=t[1]:(r=n.queryOptions(x),t[0]=n,t[1]=r),e(r)},k=t=>{let n=(0,_.c)(5),r=i(),a;n[0]===r?a=n[1]:(a=r.queryOptions(S),n[0]=r,n[1]=a);let o=t?.enabled??!0,s;return n[2]!==a||n[3]!==o?(s={...a,enabled:o},n[2]=a,n[3]=o,n[4]=s):s=n[4],e(s)},A=()=>{let e=(0,_.c)(7),r=t(),a=i(),o;e[0]===a?o=e[1]:(o=a.mutationOptions({mutationFn:M}),e[0]=a,e[1]=o);let s;e[2]===r?s=e[3]:(s=v(r),e[2]=r,e[3]=s);let c;return e[4]!==o||e[5]!==s?(c={...o,...s},e[4]=o,e[5]=s,e[6]=c):c=e[6],n(c)},j=()=>{let e=(0,_.c)(7),r=t(),a=i(),s;e[0]===a?s=e[1]:(s=a.mutationOptions({mutationFn:N}),e[0]=a,e[1]=s);let c;e[2]===r?c=e[3]:(c=(e,t)=>(r.setQueryData(o,e=>!e||typeof e!=`object`?e:{...e,...t}),r.invalidateQueries({queryKey:o})),e[2]=r,e[3]=c);let l;return e[4]!==s||e[5]!==c?(l={...s,onSuccess:c},e[4]=s,e[5]=c,e[6]=l):l=e[6],n(l)};function M(e){return g(e)}function N(e){return s(e)}export{A as a,T as c,j as i,S as l,E as n,k as o,D as r,O as s,C as t,b as u};
2//# sourceMappingURL=user-hooks-BeryhIAq.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.