t2-mapper/docs/_next/static/chunks/bb0aa1c978feffed.js

1 line
27 KiB
JavaScript
Raw Normal View History

2026-02-19 05:51:55 -08:00
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,66027,15823,19273,75555,40143,14448,36553,88587,86491,69230,12598,54440,69637,t=>{"use strict";let e,r,s,i,n,a,o;var u=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};t.s(["Subscribable",()=>u],15823),t.i(47167);var c={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},l=new class{#t=c;#e=!1;setTimeoutProvider(t){this.#t=t}setTimeout(t,e){return this.#t.setTimeout(t,e)}clearTimeout(t){this.#t.clearTimeout(t)}setInterval(t,e){return this.#t.setInterval(t,e)}clearInterval(t){this.#t.clearInterval(t)}},h="undefined"==typeof window||"Deno"in globalThis;function d(){}function p(t,e){return"function"==typeof t?t(e):t}function f(t){return"number"==typeof t&&t>=0&&t!==1/0}function y(t,e){return Math.max(t+(e||0)-Date.now(),0)}function v(t,e){return"function"==typeof t?t(e):t}function b(t,e){return"function"==typeof t?t(e):t}function m(t,e){let{type:r="all",exact:s,fetchStatus:i,predicate:n,queryKey:a,stale:o}=t;if(a){if(s){if(e.queryHash!==O(a,e.options))return!1}else if(!S(e.queryKey,a))return!1}if("all"!==r){let t=e.isActive();if("active"===r&&!t||"inactive"===r&&t)return!1}return("boolean"!=typeof o||e.isStale()===o)&&(!i||i===e.state.fetchStatus)&&(!n||!!n(e))}function g(t,e){let{exact:r,status:s,predicate:i,mutationKey:n}=t;if(n){if(!e.options.mutationKey)return!1;if(r){if(R(e.options.mutationKey)!==R(n))return!1}else if(!S(e.options.mutationKey,n))return!1}return(!s||e.state.status===s)&&(!i||!!i(e))}function O(t,e){return(e?.queryKeyHashFn||R)(t)}function R(t){return JSON.stringify(t,(t,e)=>Q(e)?Object.keys(e).sort().reduce((t,r)=>(t[r]=e[r],t),{}):e)}function S(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).every(r=>S(t[r],e[r]))}var w=Object.prototype.hasOwnProperty;function C(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(let r in t)if(t[r]!==e[r])return!1;return!0}function T(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Q(t){if(!F(t))return!1;let e=t.constructor;if(void 0===e)return!0;let r=e.prototype;return!!F(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(t)===Object.prototype}function F(t){return"[object Object]"===Object.prototype.toString.call(t)}function I(t){return new Promise(e=>{l.setTimeout(e,t)})}function E(t,e,r){return"function"==typeof r.structuralSharing?r.structuralSharing(t,e):!1!==r.structuralSharing?function t(e,r){if(e===r)return e;let s=T(e)&&T(r);if(!s&&!(Q(e)&&Q(r)))return r;let i=(s?e:Object.keys(e)).length,n=s?r:Object.keys(r),a=n.length,o=s?Array(a):{},u=0;for(let c=0;c<a;c++){let a=s?c:n[c],l=e[a],h=r[a];if(l===h){o[a]=l,(s?c<i:w.call(e,a))&&u++;continue}if(null===l||null===h||"object"!=typeof l||"object"!=typeof h){o[a]=h;continue}let d=t(l,h);o[a]=d,d===l&&u++}return i===a&&u===i?e:o}(t,e):e}function P(t,e,r=0){let s=[...t,e];return r&&s.length>r?s.slice(1):s}function j(t,e,r=0){let s=[e,...t];return r&&s.length>r?s.slice(0,-1):s}var U=Symbol();function D(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==U?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))}function x(t,e){return"function"==typeof t?t(...e):!!t}function q(t,e,r){let s,i=!1;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(s??=e(),i||(i=!0,s.aborted?r():s.addEventListener("abort",r,{once:!0})),s)}),t}t.s(["addConsumeAwareSignal",()=>q,"addToEnd",()=>P,"addToStart",()=>j,"ensureQueryFn",()=>D,"functionalUpdate",()=>p,"hashKey",()=>R,"hashQueryKeyByOptions",()=>O,"isServer",()=>h,"isValidTimeout",()=>f,"matchMutation",()=>g,"matchQuery",()=>m,"noop",()=>d,"partialMatchKey",()=>S,"replaceData",()=>E,"resolveEnabled",()=>