1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="e65cf2b8-4bf8-a699-faa5-e9b39ce4ed02")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,131805,e=>{"use strict";let t=(e=21)=>{let t="",r=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&r[e]];return t};e.s(["nanoid",()=>t],131805)},65230,e=>{"use strict";let t=async e=>e().then(e=>({success:!0,data:e})).catch(e=>({success:!1,error:e}));e.s(["safePromise",0,t,"sleep",0,e=>new Promise(t=>setTimeout(t,e))])},910683,e=>{"use strict";let t={authApiUrl:"https://us-central1-hume-playground.cloudfunctions.net/api",humePlatformApiHost:"api.hume.ai",firebaseConfig:{apiKey:"AIzaSyCobJNT-Hr_jrmO3mW94R8Fxx4ZWg6yGyA",authDomain:"hume-playground.firebaseapp.com",projectId:"hume-playground",storageBucket:"hume-playground.appspot.com",messagingSenderId:"165561716886",appId:"1:165561716886:web:29651d9659c8781fcab2b7",measurementId:"G-4R5GMSJXG1"},courierClientKey:"ZWM2MTJkMWEtY2UwNy00MmU0LWI3MjgtOWIzYTRjNTIzYWY3",launchDarklySdkClient:"63bd7faf4f35bc1358f8edc8",stripePublishableKey:"pk_live_51Ln8cXHu5QhcXEGNOmQIk9NzxDGFiUxRzKAy24pacnacqZQ30NfZABM98lyY8RfHbMHQBWfbqxUGBzxein0c9LNx00ANF7UMxa",recaptchaKey:"6LezaDImAAAAADnZRx-i9kSenzJH9s3akLQM6nRa",googleClientKey:"165561716886-v0msc5j0f2mqp64btorppsmvae3jgihm.apps.googleusercontent.com",humeWSProtocol:"wss",appleClientId:"com.hume.ai.portal"},r={authApiUrl:"https://us-central1-hume-playground-staging.cloudfunctions.net/api",humePlatformApiHost:"test-api.hume.ai",firebaseConfig:{apiKey:"AIzaSyCqFiCbkdnFAahRegcttnuaLNvGk53Lsy8",authDomain:"hume-playground-staging.firebaseapp.com",projectId:"hume-playground-staging",storageBucket:"hume-playground-staging.appspot.com",messagingSenderId:"34324999753",appId:"1:34324999753:web:19b499cc30a7e852e91998",measurementId:"G-D33G8FXHHE"},courierClientKey:"ZWM2MTJkMWEtY2UwNy00MmU0LWI3MjgtOWIzYTRjNTIzYWY3L3Rlc3Q=",launchDarklySdkClient:"63bd7faf4f35bc1358f8edc7",stripePublishableKey:"pk_test_51Ln8cXHu5QhcXEGNYdTgD1fhAL8HnUYU09xp0TtVd1dRWsYya2NPj9NZ9Xgjqbsqsg8XXfIq8yyDkbXO42gwkQQi00ERLJTuwG",gistConfig:{gistId:"f31cb49d8244b201d34e81a4d71a534f"},recaptchaKey:"6LenvTImAAAAAJe6Helcqz2ds-IMqxPkkPDMU76Y",googleClientKey:"34324999753-5alth5vgfop6ma3tkfn0jb0onba8d9nj.apps.googleusercontent.com",humeWSProtocol:"wss",appleClientId:"com.hume.ai.portal-staging"},s={authApiUrl:"http://127.0.0.1:5001/hume-playground-staging/us-central1/api",humePlatformApiHost:"test-api.hume.ai",firebaseConfig:{apiKey:"AIzaSyCqFiCbkdnFAahRegcttnuaLNvGk53Lsy8",authDomain:"hume-playground-staging.firebaseapp.com",projectId:"hume-playground-staging",storageBucket:"hume-playground-staging.appspot.com",messagingSenderId:"34324999753",appId:"1:34324999753:web:19b499cc30a7e852e91998",measurementId:"G-D33G8FXHHE"},courierClientKey:"ZWM2MTJkMWEtY2UwNy00MmU0LWI3MjgtOWIzYTRjNTIzYWY3L3Rlc3Q=",launchDarklySdkClient:"63bd7faf4f35bc1358f8edc7",stripePublishableKey:"pk_test_51Ln8cXHu5QhcXEGNYdTgD1fhAL8HnUYU09xp0TtVd1dRWsYya2NPj9NZ9Xgjqbsqsg8XXfIq8yyDkbXO42gwkQQi00ERLJTuwG",gistConfig:{gistId:"f31cb49d8244b201d34e81a4d71a534f"},recaptchaKey:"6LenvTImAAAAAJe6Helcqz2ds-IMqxPkkPDMU76Y",googleClientKey:"34324999753-5alth5vgfop6ma3tkfn0jb0onba8d9nj.apps.googleusercontent.com",humeWSProtocol:"wss",appleClientId:"com.hume.ai.portal-staging"},i=(e=>{switch(e){case"prod":return t;case"local":return s;default:return r}})("prod");function n(){return!1}function a(){return!0}e.s(["config",0,i,"isProductionEnvironment",()=>a,"isStagingEnvironment",()=>n])},82681,e=>{"use strict";let t;function r(e){return o(e).segments_count}function s(e){o(e).segments_count+=1}function i(e){o(e).records_count+=1}function n(e,t){o(e).segments_total_raw_size+=t}function a(e){return t?.get(e)}function o(e){let r;return t||(t=new Map),t.has(e)?r=t.get(e):(r={records_count:0,segments_count:0,segments_total_raw_size:0},t.set(e,r),t.size>1e3&&function(){if(!t)return;let e=t.keys().next().value;e&&t.delete(e)}()),r}e.s(["addRecord",()=>i,"addSegment",()=>s,"addWroteData",()=>n,"getReplayStats",()=>a,"getSegmentsCount",()=>r])},697144,e=>{"use strict";var t=e.i(184186);function r(...e){return(0,t.purry)(s,e)}let s=(e,{min:t,max:r})=>void 0!==t&&e<t?t:void 0!==r&&e>r?r:e;e.s(["clamp",()=>r])},505918,(e,t,r)=>{t.exports=e.g&&e.g.Object===Object&&e.g},78974,(e,t,r)=>{var s=e.r(505918),i="object"==typeof self&&self&&self.Object===Object&&self;
2t.exports=s||i||Function("return this")()},328042,(e,t,r)=>{t.exports=e.r(78974).Symbol},684435,(e,t,r)=>{var s=e.r(328042),i=Object.prototype,n=i.hasOwnProperty,a=i.toString,o=s?s.toStringTag:void 0;t.exports=function(e){var t=n.call(e,o),r=e[o];try{e[o]=void 0;var s=!0}catch(e){}var i=a.call(e);return s&&(t?e[o]=r:delete e[o]),i}},933680,(e,t,r)=>{var s=Object.prototype.toString;t.exports=function(e){return s.call(e)}},416907,(e,t,r)=>{var s=e.r(328042),i=e.r(684435),n=e.r(933680),a=s?s.toStringTag:void 0;t.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):n(e)}},394022,(e,t,r)=>{t.exports=function(e){return null!=e&&"object"==typeof e}},692558,(e,t,r)=>{var s=e.r(416907),i=e.r(394022);t.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==s(e)}},239145,(e,t,r)=>{t.exports=function(e,t){for(var r=-1,s=null==e?0:e.length,i=Array(s);++r<s;)i[r]=t(e[r],r,e);return i}},778116,(e,t,r)=>{t.exports=Array.isArray},873021,(e,t,r)=>{var s=e.r(328042),i=e.r(239145),n=e.r(778116),a=e.r(692558),o=1/0,u=s?s.prototype:void 0,l=u?u.toString:void 0;t.exports=function e(t){if("string"==typeof t)return t;if(n(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-o?"-0":r}},553050,(e,t,r)=>{var s=e.r(873021);t.exports=function(e){return null==e?"":s(e)}},184186,e=>{"use strict";function t(e,t,r){let s=e.length-t.length;if(0===s)return e(...t);if(1===s){let s;return s=r=>e(r,...t),void 0===r?s:Object.assign(s,{lazy:r,lazyArgs:t})}throw Error("Wrong number of arguments")}e.s(["purry",()=>t],184186)},941991,578095,e=>{"use strict";let t=(0,e.i(625289).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",()=>t],578095),e.s(["XIcon",()=>t],941991)},991155,e=>{"use strict";var t=function(){};function r(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function s(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var i="u">typeof window,n="u">typeof navigator;e.s(["isBrowser",()=>i,"isNavigator",()=>n,"noop",()=>t,"off",()=>s,"on",()=>r])},959246,(e,t,r)=>{t.exports=e.r(981874)},552281,18182,e=>{"use strict";var t=e.i(604829),r=e.i(30558);e.s(["default",0,r],18182);let s=r.enum(["OWNER","ADMIN","USER"]),i=r.enum(["INVITED","ACTIVE","DEACTIVATED_BY_ADMIN","DEACTIVATED_BY_USER"]),n=r.object({id:r.uuid(),name:r.string(),billing_email:r.email(),archived:r.boolean(),created_on:r.int(),modified_on:r.int(),max_seats:r.int().nullable(),used_seats:r.int().nullable(),downgrade_max_seats:r.int().nullable()}).transform(t.zodToCamelCase);r.object({role:s,status:i.optional(),email:r.email()}).extend({userId:r.uuid()});let a=r.object({user_id:r.string().nullable(),organization_id:r.uuid(),role:s,email:r.email(),status:i.optional(),created_on:r.number().transform(e=>new Date(e)),modified_on:r.number().transform(e=>new Date(e)),first_name:r.string().nullable(),last_name:r.string().nullable()}).transform(t.zodToCamelCase),o=r.object({page_number:r.number(),page_size:r.number(),total_pages:r.int().positive().or(r.literal(0)),pagination_direction:r.enum(["ASC","DESC"]),members_page:r.array(a).or(r.null()).catch(null)}).transform(t.zodToCamelCase);e.s(["MemberRoleSchema",0,s,"OrganizationSchema",0,n,"PagedOrganizationMembersSchema",0,o],552281)},107765,(e,t,r)=>{var s=e.r(553050),i=/[\\^$.*+?()[\]{}|]/g,n=RegExp(i.source);t.exports=function(e){return(e=s(e))&&n.test(e)?e.replace(i,"\\$&"):e}},947210,e=>{"use strict";var t=e.i(107765);let r="^$*.[]{}()?\"!@#%&/\\,><':;|_~`-",s={hasUppercase:e=>/(?=.*[A-Z])/.test(e),hasLowercase:e=>/(?=.*[a-z])/.test(e),hasDigit:e=>/(?=.*[0-9])/.test(e),hasSpecialChar:e=>{let s=(0,t.default)(r);return RegExp(`(?=.*?[${s}])`).test(e)},hasMinLength:e=>e.length>=8};e.s(["ACCEPTED_PASSWORD_SPECIAL_CHARS",0,r,"PASSWORD_VALIDATIONS",0,s,"validatePassword",0,e=>s.hasUppercase(e)&&s.hasLowercase(e)&&s.hasDigit(e)&&s.hasSpecialChar(e)&&s.hasMinLength(e)])},305898,(e,t,r)=>{"use strict";var s=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;r.validate=function(e){if(!e||e.length>254||!s.test(e))return!1;var t=e.split("@");return!(t[0].length>64||t[1].split(".").some(function(e){return e.length>63}))}},568968,e=>{"use strict";var t=e.i(552281),r=e.i(947210),s=e.i(817422);s.z.string().nullish().optional().catch("").transform(e=>null==e?"":e);let i=s.z.array(s.z.string().nullish()),n=s.z.string().or(i).nullish().prefault([]).transform(e=>{let t=[];if("string"==typeof e)t.push(e);else if(Array.isArray(e))for(let r of e)"string"==typeof r&&t.push(r);return t});var a=e.i(305898);s.z.object({firstName:s.z.string().optional(),lastName:s.z.string().optional(),email:s.z.string().optional(),organization:s.z.string().optional(),useCase:s.z.string().optional(),tools:s.z.array(s.z.string()).optional(),referralSource:s.z.string().optional(),password:s.z.string().optional(),googleIdToken:s.z.string().optional(),appleIdToken:s.z.string().optional(),googleClickId:s.z.string().optional(),fbclid:s.z.string().optional(),ttclid:s.z.string().optional()});let o=s.z.object({firebaseUid:s.z.string(),humeUuid:s.z.string(),email:s.z.string(),message:s.z.string(),whitelisted:s.z.boolean()}),u="This field is required",l="Please enter a valid email address";function c(){return s.z.string().min(1,u)}function h(){return c().refine(e=>a.default.validate(e),{message:l})}let d=s.z.boolean().refine(e=>!0===e,{message:u});s.z.object({firstName:s.z.string(),lastName:s.z.string(),newEmail:s.z.string().optional(),organization:s.z.string().optional(),useCase:s.z.string().optional(),industry:s.z.array(s.z.string()).optional()});let p=e=>{if(e.firstName||e.lastName)return`${e.firstName} ${e.lastName}`.trim();let t=e.email.split("@")[0];return t?t.trim():"User"},f=s.z.object({firebaseUid:s.z.string(),humeUuid:s.z.string(),token:s.z.string(),apiKey:s.z.string(),clientSecret:s.z.string().optional(),email:s.z.string(),firstName:s.z.string(),lastName:s.z.string(),organization:s.z.string().nullish().prefault(null),industry:n,useCase:n,tools:s.z.array(s.z.string()).nullish().prefault(null),referralSource:s.z.string().nullish().prefault(null),createdAt:s.z.string(),stripeId:s.z.string(),allowlisted:s.z.boolean(),appName:s.z.string(),userExists:s.z.boolean(),verified:s.z.boolean(),profilePhotoUrl:s.z.string().nullish().prefault(null),isFirstTimeUser:s.z.boolean(),googleClickId:s.z.string().optional(),fbclid:s.z.string().optional(),ttclid:s.z.string().optional(),organizationId:s.z.string().nullish().prefault(null),organizationName:s.z.string().nullish().prefault(null),organizationBillingEmail:s.z.string().nullish().prefault(null),organizationMemberRole:t.MemberRoleSchema.nullish().prefault(null),organizationApiKey:s.z.string().nullish().prefault(null),organizationClientSecret:s.z.string().nullish().prefault(null),organizationStripeId:s.z.string().nullish().prefault(null)}).transform(e=>{let t=p(e);return{...e,displayName:t}}),y=s.z.object({email:c().refine(e=>!e.includes("+"),{message:'"+" signs are not allowed'}).refine(e=>a.default.validate(e),{message:l}),password:s.z.string().refine(e=>e&&(0,r.validatePassword)(e),{message:"Please meet all password requirements"}),termsAgreement:d,ethicsAgreement:d}),g=s.z.object({email:h(),password:c()}),m=s.z.object({email:h()}),v=s.z.object({password:s.z.string().refine(e=>(0,r.validatePassword)(e),{message:"Please meet all password requirements"}),confirmPassword:c()}).refine(e=>e.password===e.confirmPassword,{message:"Passwords must match",path:["confirmPassword"]}),b=s.z.object({firstName:c(),lastName:c(),email:c(),organization:c()});s.z.object({firstName:c(),lastName:c(),referralSource:c(),useCase:c()});let S=s.z.object({profile:s.z.object({email:s.z.string().optional(),given_name:s.z.string().optional(),family_name:s.z.string().optional(),verified_email:s.z.boolean().optional()}).nullable(),providerId:s.z.string().nullable()});e.s(["GoogleUserSchema",0,S,"RegisterUserResponseSchema",0,o,"User",0,f,"confirmPasswordResetFormSchema",0,v,"createDisplayName",0,p,"logInFormSchema",0,g,"profileFormSchema",0,b,"resetPasswordFormSchema",0,m,"shortSignUpSchema",0,y],568968)},618486,e=>{"use strict";var t=e.i(610652),r=e.i(355798);let s=t.createContext(void 0),i=e=>{let r=t.useContext(s);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r},n=({client:e,children:i})=>(t.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,r.jsx)(s.Provider,{value:e,children:i}));e.s(["QueryClientProvider",()=>n,"useQueryClient",()=>i])},132186,505169,e=>{"use strict";e.i(81741);let t={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},r=new class{#e=t;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function s(e){setTimeout(e,0)}e.s(["systemSetTimeoutZero",()=>s,"timeoutManager",()=>r],505169);let i="u"<typeof window||"Deno"in globalThis;function n(){}function a(e,t){return"function"==typeof e?e(t):e}function o(e){return"number"==typeof e&&e>=0&&e!==1/0}function u(e,t){return Math.max(e+(t||0)-Date.now(),0)}function l(e,t){return"function"==typeof e?e(t):e}function c(e,t){let{type:r="all",exact:s,fetchStatus:i,predicate:n,queryKey:a,stale:o}=e;if(a){if(s){if(t.queryHash!==d(a,t.options))return!1}else if(!f(t.queryKey,a))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof o||t.isStale()===o)&&(!i||i===t.state.fetchStatus)&&(!n||!!n(t))}function h(e,t){let{exact:r,status:s,predicate:i,mutationKey:n}=e;if(n){if(!t.options.mutationKey)return!1;if(r){if(p(t.options.mutationKey)!==p(n))return!1}else if(!f(t.options.mutationKey,n))return!1}return(!s||t.state.status===s)&&(!i||!!i(t))}function d(e,t){return(t?.queryKeyHashFn||p)(e)}function p(e){return JSON.stringify(e,(e,t)=>b(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function f(e,t){if(e===t)return!0;
2if(typeof e!=typeof t)return!1;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(Array.isArray(e)&&Array.isArray(t)){for(let r=0;r<t.length;r++)if(!f(e[r],t[r]))return!1;return!0}for(let r of Object.keys(t))if(!f(e[r],t[r]))return!1;return!0}return!1}let y=Object.prototype.hasOwnProperty;function g(e,t,r=0){if(e===t)return e;if(r>500)return t;let s=v(e)&&v(t);if(!s&&!(b(e)&&b(t)))return t;let i=(s?e:Object.keys(e)).length,n=s?t:Object.keys(t),a=n.length,o=s?Array(a):{},u=0;for(let l=0;l<a;l++){let a=s?l:n[l],c=e[a],h=t[a];if(c===h){o[a]=c,(s?l<i:y.call(e,a))&&u++;continue}if(null===c||null===h||"object"!=typeof c||"object"!=typeof h){o[a]=h;continue}let d=g(c,h,r+1);o[a]=d,d===c&&u++}return i===a&&u===i?e:o}function m(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function b(e){if(!S(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!S(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function R(e){return new Promise(t=>{r.setTimeout(t,e)})}function w(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?g(e,t):t}function z(e){return e}function T(e,t,r=0){let s=[...e,t];return r&&s.length>r?s.slice(1):s}function C(e,t,r=0){let s=[t,...e];return r&&s.length>r?s.slice(0,-1):s}let I=Symbol();function E(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==I?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}function O(e,t){return"function"==typeof e?e(...t):!!e}function A(e,t,r){let s,i=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=t(),i||(i=!0,s.aborted?r():s.addEventListener("abort",r,{once:!0})),s)}),e}e.s(["addConsumeAwareSignal",()=>A,"addToEnd",()=>T,"addToStart",()=>C,"ensureQueryFn",()=>E,"functionalUpdate",()=>a,"hashKey",()=>p,"hashQueryKeyByOptions",()=>d,"isServer",()=>i,"isValidTimeout",()=>o,"keepPreviousData",()=>z,"matchMutation",()=>h,"matchQuery",()=>c,"noop",()=>n,"partialMatchKey",()=>f,"replaceData",()=>w,"replaceEqualDeep",()=>g,"resolveQueryValue",()=>l,"shallowEqualObjects",()=>m,"shouldThrowError",()=>O,"skipToken",()=>I,"sleep",()=>R,"timeUntilStale",()=>u],132186)},754891,e=>{"use strict";var t=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};e.s(["Subscribable",()=>t])},833461,852363,e=>{"use strict";let t,r,s,i,n,a,o=e.i(505169).systemSetTimeoutZero,u=(t=[],r=0,s=e=>{e()},i=e=>{e()},n=o,{batch:e=>{let a;r++;try{a=e()}finally{let e;--r||(e=t,t=[],e.length&&n(()=>{i(()=>{e.forEach(e=>{s(e)})})}))}return a},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a=e=>{r?t.push(e):n(()=>{s(e)})},setNotifyFunction:e=>{s=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{n=e}});e.s(["notifyManager",()=>u],833461);var l=e.i(132186);let c=()=>l.isServer;e.s(["isServer",()=>c],852363)},649509,362239,993046,786884,e=>{"use strict";var t=e.i(132186),r=e.i(852363),s=e.i(754891);let i=new class extends s.Subscribable{#r;#s;#i;constructor(){super(),this.#i=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#s||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#s?.(),this.#s=void 0)}setEventListener(e){this.#i=e,this.#s?.(),this.#s=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#r!==e&&(this.#r=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#r?this.#r:globalThis.document?.visibilityState!=="hidden"}};e.s(["focusManager",()=>i],362239);var n=s;let a=new class extends n.Subscribable{#n=!0;#s;#i;constructor(){super(),this.#i=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#s||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#s?.(),this.#s=void 0)}setEventListener(e){this.#i=e,this.#s?.(),this.#s=e(this.setOnline.bind(this))}
2setOnline(e){this.#n!==e&&(this.#n=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#n}};function o(e){return Math.min(1e3*2**e,3e4)}function u(e){return(e??"online")!=="online"||a.isOnline()}e.s(["onlineManager",()=>a],993046);var l=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function c(e){let s,n,c,h=!1,d=0,p="pending",f=new Promise((e,t)=>{n=e,c=t});f.catch(t.noop);let y=()=>i.isFocused()&&("always"===e.networkMode||a.isOnline())&&e.canRun(),g=()=>u(e.networkMode)&&e.canRun(),m=e=>{"pending"===p&&(s?.(),p="resolved",n(e))},v=e=>{"pending"===p&&(s?.(),p="rejected",c(e))},b=()=>new Promise(t=>{s=e=>{("pending"!==p||y())&&t(e)},e.onPause?.()}).then(()=>{s=void 0,"pending"===p&&e.onContinue?.()}),S=()=>{let s;if("pending"!==p)return;let i=0===d?e.initialPromise:void 0;try{s=i??e.fn()}catch(e){s=Promise.reject(e)}Promise.resolve(s).then(m).catch(s=>{if("pending"!==p)return;let i=e.retry??3*!(0,r.isServer)(),n=e.retryDelay??o,a="function"==typeof n?n(d,s):n,u=!0===i||"number"==typeof i&&d<i||"function"==typeof i&&i(d,s);h||!u?v(s):(d++,e.onFail?.(d,s),(0,t.sleep)(a).then(()=>y()?void 0:b()).then(()=>{h?v(s):S()}))})};return{promise:f,status:()=>p,cancel:t=>{if("pending"===p){let r=new l(t);v(r),e.onCancel?.(r)}},continue:()=>(s?.(),f),cancelRetry:()=>{h=!0},continueRetry:()=>{h=!1},canStart:g,start:()=>(g()?S():b().then(S),f)}}e.s(["CancelledError",()=>l,"canFetch",()=>u,"createRetryer",()=>c],649509);var h=e.i(505169),d=class{#a;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,t.isValidTimeout)(this.gcTime)&&(this.#a=h.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??((0,r.isServer)()?1/0:3e5))}clearGcTimeout(){void 0!==this.#a&&(h.timeoutManager.clearTimeout(this.#a),this.#a=void 0)}};e.s(["Removable",()=>d],786884)},358171,640138,e=>{"use strict";e.i(81741);var t=e.i(132186),r=e.i(833461),s=e.i(649509),i=e.i(786884);function n(e){return{onFetch:(r,s)=>{let i=r.options,n=r.fetchOptions?.meta?.fetchMore?.direction,u=r.state.data?.pages||[],l=r.state.data?.pageParams||[],c={pages:[],pageParams:[]},h=0,d=async()=>{let s=!1,d=(0,t.ensureQueryFn)(r.options,r.fetchOptions),p=async(e,i,n)=>{let a;if(s)return Promise.reject(r.signal.reason);if(null==i&&e.pages.length)return Promise.resolve(e);let o=(a={client:r.client,queryKey:r.queryKey,pageParam:i,direction:n?"backward":"forward",meta:r.options.meta},(0,t.addConsumeAwareSignal)(a,()=>r.signal,()=>s=!0),a),u=await d(o),{maxPages:l}=r.options,c=n?t.addToStart:t.addToEnd;return{pages:c(e.pages,u,l),pageParams:c(e.pageParams,i,l)}};if(n&&u.length){let e="backward"===n,t=e?o:a,r={pages:u,pageParams:l};c=await p(r,t(i,r),e)}else{let t=e??u.length;do{let e=0===h?l[0]??i.initialPageParam:a(i,c);if(h>0&&null==e)break;c=await p(c,e),h++}while(h<t)}return c};r.options.persister?r.fetchFn=()=>r.options.persister?.(d,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},s):r.fetchFn=d}}}function a(e,{pages:t,pageParams:r}){let s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,r[s],r):void 0}function o(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}function u(e,t){return!!t&&null!=a(e,t)}function l(e,t){return!!t&&!!e.getPreviousPageParam&&null!=o(e,t)}e.s(["hasNextPage",()=>u,"hasPreviousPage",()=>l,"infiniteQueryBehavior",()=>n],640138);var c=class extends i.Removable{#o;#u;#l;#c;#h;#d;#p;#f;constructor(e){super(),this.#f=!1,this.#p=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#h=e.client,this.#c=this.#h.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#u=p(this.options),this.state=e.state??this.#u,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#o}get promise(){return this.#d?.promise}setOptions(e){if(this.options={...this.#p,...e},e?._type&&(this.#o=e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=p(this.options);void 0!==e.data&&(this.setState(d(e.data,e.dataUpdatedAt)),this.#u=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#c.remove(this)}setData(e,r){let s=(0,t.replaceData)(this.state.data,e,this.options);return this.#y({data:s,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),s}setState(e){this.#y({type:"setState",state:e})}cancel(e){let r=this.#d?.promise;return this.#d?.cancel(e),r?r.then(t.noop).catch(t.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#u}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,t.resolveQueryValue)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===t.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
vendor: 4,100 bytes, line 2
2Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,t.resolveQueryValue)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,t.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#d?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#d?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#c.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){let t=this.observers.indexOf(e);-1!==t&&(this.observers.splice(t,1),this.observers.length||(this.#d&&(this.#f||"paused"===this.state.fetchStatus&&"pending"===this.state.status?this.#d.cancel({revert:!0}):this.#d.cancelRetry()),this.scheduleGc()),this.#c.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#y({type:"invalidate"})}async fetch(e,r){let i;if("idle"!==this.state.fetchStatus&&this.#d?.status()!=="rejected"){if(void 0!==this.state.data&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#d)return this.#d.continueRetry(),this.#d.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let a=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#f=!0,a.signal)})},u=()=>{let e,s=(0,t.ensureQueryFn)(this.options,r),i=(o(e={client:this.#h,queryKey:this.queryKey,meta:this.meta}),e);return(this.#f=!1,this.options.persister)?this.options.persister(s,i,this):s(i)},l=(o(i={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#h,state:this.state,fetchFn:u}),i);("infinite"===this.#o?n(this.options.pages):this.options.behavior)?.onFetch(l,this),this.#l=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#y({type:"fetch",meta:l.fetchOptions?.meta});let c=this.#d=(0,s.createRetryer)({initialPromise:r?.initialPromise,fn:l.fetchFn,onCancel:e=>{e instanceof s.CancelledError&&e.revert&&this.setState({...this.#l,fetchStatus:"idle"}),a.abort()},onFail:(e,t)=>{this.#y({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#y({type:"pause"})},onContinue:()=>{this.#y({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let e=await c.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#c.config.onSuccess?.(e,this),this.#c.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof s.CancelledError){if(e.silent)return this.#d.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#y({type:"error",error:e}),this.#c.config.onError?.(e,this),this.#c.config.onSettled?.(this.state.data,e,this),e}finally{this.#d===c&&(this.#d=void 0),this.scheduleGc()}}#y(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...h(t.data,this.options),fetchMeta:e.meta??null};case"success":let r={...t,...d(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=e.manual?r:void 0,r;case"error":let s=e.error;return{...t,error:s,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),r.notifyManager.batch(()=>
2{this.observers.slice().forEach(e=>{e.onQueryUpdate()}),this.#c.notify({query:this,type:"updated",action:e})})}};function h(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,s.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function d(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function p(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,s=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}e.s(["Query",()=>c,"fetchState",()=>h],358171)},282397,621893,659193,521961,560449,e=>{"use strict";let t;e.i(81741);var r=e.i(618486),s=e.i(610652);let i=s.createContext(!1),n=()=>s.useContext(i);i.Provider,e.s(["useIsRestoring",()=>n],621893),e.i(355798);let a=s.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),o=()=>s.useContext(a);e.s(["useQueryErrorResetBoundary",()=>o],659193);var u=e.i(132186);let l=(e,t,r)=>{let s=r?.state.error&&"function"==typeof e.throwOnError?(0,u.shouldThrowError)(e.throwOnError,[r.state.error,r]):e.throwOnError;(e.suspense||s)&&!t.isReset()&&(e.retryOnMount=!1)},c=e=>{s.useEffect(()=>{e.clearReset()},[e])},h=({result:e,errorResetBoundary:t,throwOnError:r,query:s,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(i&&void 0===e.data||(0,u.shouldThrowError)(r,[e.error,s]));e.s(["ensurePreventErrorBoundaryRetry",()=>l,"getHasError",()=>h,"useClearResetErrorBoundary",()=>c],521961);let d=(e,t)=>void 0===t.state.data,p=e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),r=e.staleTime;e.staleTime="function"==typeof r?(...e)=>t(r(...e)):t(r),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},f=(e,t)=>e?.suspense&&t.isPending,y=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});e.s(["defaultThrowOnError",()=>d,"ensureSuspenseTimers",()=>p,"fetchOptimistic",()=>y,"shouldSuspend",()=>f],560449);var g=e.i(833461);function m(e,t,i){let a=n(),d=o(),m=(0,r.useQueryClient)(i),v=m.defaultQueryOptions(e),b=m.getQueryCache().get(v.queryHash),S=!1!==e.subscribed;v._optimisticResults=a?"isRestoring":S?"optimistic":void 0,p(v),l(v,d,b),c(d);let[R]=s.useState(()=>new t(m,v)),w=R.getOptimisticResult(v),z=!a&&S;if(s.useSyncExternalStore(s.useCallback(e=>{let t=z?R.subscribe(g.notifyManager.batchCalls(e)):u.noop;return R.updateResult(),t},[R,z]),()=>R.getCurrentResult(),()=>R.getCurrentResult()),s.useEffect(()=>{R.setOptions(v)},[v,R]),f(v,w))throw y(v,R,d);if(h({result:w,errorResetBoundary:d,throwOnError:v.throwOnError,query:b,suspense:v.suspense}))throw w.error;return v.notifyOnChangeProps?w:R.trackResult(w)}e.s(["useBaseQuery",()=>m],282397)},848541,302841,e=>{"use strict";var t=e.i(282397),r=e.i(505169),s=e.i(132186),i=e.i(852363),n=e.i(754891),a=e.i(362239),o=e.i(833461),u=e.i(358171),l=class extends n.Subscribable{#h;#g=void 0;#m=void 0;#v=void 0;#b;#S;#R;#w;#z;#T;#C;#I;#E;#O=new Set;constructor(e,t){super(),this.options=t,this.#h=e,this.#R=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#g.addObserver(this),c(this.#g,this.options)?this.#A():this.updateResult(),this.#Q())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return h(this.#g,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return h(this.#g,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#P(),this.#F(),this.#g.removeObserver(this)}setOptions(e){let t=this.options,r=this.#g;if(this.options=this.#h.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,s.resolveQueryValue)(this.options.enabled,this.#g))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#j(),this.#g.setOptions(this.options),t._defaulted&&!(0,s.shallowEqualObjects)(this.options,t)&&this.#h.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#g,observer:this});let i=this.hasListeners();i&&d(this.#g,r,this.options,t)&&this.#A(),this.updateResult(),i&&(this.#g!==r||(0,s.resolveQueryValue)(this.options.enabled,this.#g)!==(0,s.resolveQueryValue)(t.enabled,this.#g)||(0,s.resolveQueryValue)(this.options.staleTime,this.#g)!==(0,s.resolveQueryValue)(t.staleTime,this.#g))&&this.#U();let n=this.#D();i&&(this.#g!==r||(0,s.resolveQueryValue)(this.options.enabled,this.#g)!==(0,s.resolveQueryValue)(t.enabled,this.#g)||n!==this.#E)&&this.#M(n)}getOptimisticResult(e){let t=this.#h.getQueryCache().build(this.#h,e),r=this.createResult(t,e);return(0,s.shallowEqualObjects)(this.getCurrentResult(),r)||(this.#v=r,this.#S=this.options,this.#b=this.#g.state),r}getCurrentResult(){return this.#v}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),Reflect.get(e,r))})}trackProp(e){this.#O.add(e)}getCurrentQuery(){return this.#g}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t,r=this.#h.defaultQueryOptions(e),s=this.#h.getQueryCache().build(this.#h,r),i=()=>{},n=new Promise(e=>{t=e,i=this.#h.getQueryCache().subscribe(t=>{"updated"===t.type&&t.query.queryHash===s.queryHash&&void 0!==s.state.data&&(i(),e(this.createResult(s,r)))})});return Promise.race([s.fetch().then(()=>{let e=this.createResult(s,r);return t?.(e),e}).finally(()=>{i()}),n])}fetch(e){return this.#A({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#v))}#A(e){this.#j();let t=this.#g.fetch(this.options,e);return e?.throwOnError||(t=t.catch(s.noop)),t}#k(e){return!(0,i.isServer)()&&!1!==(0,s.resolveQueryValue)(this.options.enabled,this.#g)&&(0,s.isValidTimeout)(e)}#U(){this.#P();let e=(0,s.resolveQueryValue)(this.options.staleTime,this.#g);if(this.#v.isStale||!this.#k(e))return;let t=(0,s.timeUntilStale)(this.#v.dataUpdatedAt,e)+1;this.#C=r.timeoutManager.setTimeout(()=>{this.#v.isStale||this.updateResult()},t)}#D(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#g):this.options.refetchInterval)??!1}
2#M(e){this.#F(),this.#E=e,0!==this.#E&&this.#k(this.#E)&&(this.#I=r.timeoutManager.setInterval(()=>{(this.options.refetchIntervalInBackground||a.focusManager.isFocused())&&this.#A()},this.#E))}#Q(){this.#U(),this.#M(this.#D())}#P(){void 0!==this.#C&&(r.timeoutManager.clearTimeout(this.#C),this.#C=void 0)}#F(){void 0!==this.#I&&(r.timeoutManager.clearInterval(this.#I),this.#I=void 0)}createResult(e,t){let r,i=this.#g,n=this.options,a=this.#v,o=this.#b,l=this.#S,h=e!==i?e.state:this.#m,{state:f}=e,y={...f},g=!1;if(t._optimisticResults){let r=this.hasListeners(),s=!r&&c(e,t),a=r&&d(e,i,t,n);(s||a)&&(y={...y,...(0,u.fetchState)(f.data,e.options)}),"isRestoring"===t._optimisticResults&&(y.fetchStatus="idle")}let{error:m,errorUpdatedAt:v,status:b}=y;r=y.data;let S=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===b){let e;a?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(e=a.data,S=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#T?.state.data,this.#T):t.placeholderData,void 0!==e&&(b="success",r=(0,s.replaceData)(a?.data,e,t),g=!0)}if(t.select&&void 0!==r&&!S)if(a&&r===o?.data&&t.select===this.#w)r=this.#z;else try{this.#w=t.select,r=t.select(r),r=(0,s.replaceData)(a?.data,r,t),this.#z=r,this.#R=null}catch(e){this.#R=e}else void 0===r&&(this.#R=null);this.#R&&(m=this.#R,r=this.#z,v=Date.now(),b="error",g=!1);let R="fetching"===y.fetchStatus,w="pending"===b,z="error"===b,T=w&&R,C=void 0!==r;return{status:b,fetchStatus:y.fetchStatus,isPending:w,isSuccess:"success"===b,isError:z,isInitialLoading:T,isLoading:T,data:r,dataUpdatedAt:y.dataUpdatedAt,error:m,errorUpdatedAt:v,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:y.dataUpdateCount>h.dataUpdateCount||y.errorUpdateCount>h.errorUpdateCount,isFetching:R,isRefetching:R&&!w,isLoadingError:z&&!C,isPaused:"paused"===y.fetchStatus,isPlaceholderData:g,isRefetchError:z&&C,isStale:p(e,t),refetch:this.refetch,isEnabled:!1!==(0,s.resolveQueryValue)(t.enabled,e)}}updateResult(){let e=this.#v,t=this.createResult(this.#g,this.options);if(this.#b=this.#g.state,this.#S=this.options,void 0!==this.#b.data&&(this.#T=this.#g),(0,s.shallowEqualObjects)(t,e))return;this.#v=t;let r=(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#O.size)return!0;let s=new Set(r??this.#O);return this.options.throwOnError&&s.add("error"),Object.keys(this.#v).some(t=>this.#v[t]!==e[t]&&s.has(t))})();o.notifyManager.batch(()=>{r&&this.listeners.forEach(e=>{e(this.#v)}),this.#h.getQueryCache().notify({query:this.#g,type:"observerResultsUpdated"})})}#j(){let e=this.#h.getQueryCache().build(this.#h,this.options);if(e===this.#g)return;let t=this.#g;this.#g=e,this.#m=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#Q()}};function c(e,t){return!1!==(0,s.resolveQueryValue)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==(0,s.resolveQueryValue)(t.retryOnMount,e))||void 0!==e.state.data&&h(e,t,t.refetchOnMount)}function h(e,t,r){if(!1!==(0,s.resolveQueryValue)(t.enabled,e)&&"static"!==(0,s.resolveQueryValue)(t.staleTime,e)){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&p(e,t)}return!1}function d(e,t,r,i){return(e!==t||!1===(0,s.resolveQueryValue)(i.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&p(e,r)}function p(e,t){return!1!==(0,s.resolveQueryValue)(t.enabled,e)&&e.isStaleByTime((0,s.resolveQueryValue)(t.staleTime,e))}function f(e,r){return(0,t.useBaseQuery)(e,l,r)}e.s(["QueryObserver",()=>l],302841),e.s(["useQuery",()=>f],848541)},990903,e=>{"use strict";e.s(["ERROR_MESSAGE",0,"Something went wrong. Please visit https://dev.hume.ai/docs/support for assistance.","RECAPTCHA_FAILED_MESSAGE",0,"ReCAPTCHA verification failed, please try again","SIGN_UP_FAILED_MESSAGE",0,"We are sorry but there was an error creating your account. Please visit https://dev.hume.ai/docs/support for assistance.","USER_ALREADY_EXISTS_MESSAGE",0,"There is already an account associated with this email"])}]); 3 4//# debugId=e65cf2b8-4bf8-a699-faa5-e9b39ce4ed02
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.