PageSourceSearch

https://ledax.com/_next/static/chunks/707.1b1dea4441ec93e7.js

js ledax.com collected 2026-10-10 02:09:14 UTC 8,055 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[707],{39707:function(e,t,r){r.r(t),r.d(t,{built_for_browser:function(){return S},default:function(){return q}});var i=r(12471),s=Symbol.for("apollo.skipToken"),n=r(11735),o=r(2474),u=r(47637),a=r(92511),c=r(34511);function l(e){var t=Promise.resolve(e);return t.status="fulfilled",t.value=e,t}r(68876);var h=Symbol(),f=Symbol();function p(e){var t,r=((t={toPromise:function(){var e;return("fulfilled"===(e=r[h]).promise.status?e.promise:r[f]).then(function(){return r})}})[h]=e,t[f]=e.promise,t);return r}var d=["canonizeResults","context","errorPolicy","fetchPolicy","refetchWritePolicy","returnPartialData"],y=function(){function e(e,t){var r=this;this.key={},this.listeners=new Set,this.references=0,this.softReferences=0,this.handleNext=this.handleNext.bind(this),this.handleError=this.handleError.bind(this),this.dispose=this.dispose.bind(this),this.observable=e,t.onDispose&&(this.onDispose=t.onDispose),this.setResult(),this.subscribeToQuery();var i=function(){var e;r.references||(r.autoDisposeTimeoutId=setTimeout(r.dispose,null!==(e=t.autoDisposeTimeoutMs)&&void 0!==e?e:3e4))};this.promise.then(i,i)}return Object.defineProperty(e.prototype,"disposed",{get:function(){return this.subscription.closed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"watchQueryOptions",{get:function(){return this.observable.options},enumerable:!1,configurable:!0}),e.prototype.reinitialize=function(){var e=this.observable,t=this.watchQueryOptions.fetchPolicy,r="no-cache"===t||"standby"===t;try{if(r?e.silentSetOptions({fetchPolicy:"standby"}):(e.resetLastResults(),e.silentSetOptions({fetchPolicy:"cache-first"})),this.subscribeToQuery(),r)return;e.resetDiff(),this.setResult()}finally{e.silentSetOptions({fetchPolicy:t})}},e.prototype.retain=function(){var e=this;this.references++,clearTimeout(this.autoDisposeTimeoutId);var t=!1;return function(){t||(t=!0,e.references--,setTimeout(function(){e.references||e.dispose()}))}},e.prototype.softRetain=function(){var e=this;this.softReferences++;var t=!1;return function(){t||(t=!0,e.softReferences--,setTimeout(function(){e.softReferences||e.references||e.dispose()}))}},e.prototype.didChangeOptions=function(e){var t=this;return d.some(function(r){return r in e&&!(0,c.D)(t.watchQueryOptions[r],e[r])})},e.prototype.applyOptions=function(e){var t=this.watchQueryOptions,r=t.fetchPolicy,i=t.canonizeResults;return"standby"===r&&r!==e.fetchPolicy?this.initiateFetch(this.observable.reobserve(e)):(this.observable.silentSetOptions(e),i!==e.canonizeResults&&(this.result=(0,n.pi)((0,n.pi)({},this.result),this.observable.getCurrentResult()),this.promise=l(this.result))),this.promise},e.prototype.listen=function(e){var t=this;return this.listeners.add(e),function(){t.listeners.delete(e)}},e.prototype.refetch=function(e){return this.initiateFetch(this.observable.refetch(e))},e.prototype.fetchMore=function(e){return this.initiateFetch(this.observable.fetchMore(e))},e.prototype.dispose=function(){this.subscription.unsubscribe(),this.onDispose()},e.prototype.onDispose=function(){},e.prototype.handleNext=function(e){var t;if("pending"===this.promise.status)void 0===e.data&&(e.data=this.result.data),this.result=e,null===(t=this.resolve)||void 0===t||t.call(this,e);else{if(e.data===this.result.data&&e.networkStatus===this.result.networkStatus)return;void 0===e.data&&(e.data=this.result.data),this.result=e,this.promise=l(e),this.deliver(this.promise)}},e.prototype.handleError=function(e){var t,r;(this.subscription.unsubscribe(),this.subscription=this.observable.resubscribeAfterError(this.handleNext,this.handleError),"pending"===this.promise.status)?null===(t=this.reject)||void 0===t||t.call(this,e):(this.promise=((r=Promise.reject(e)).catch(function(){}),r.status="rejected",r.reason=e,r),this.deliver(this.promise))},e.prototype.deliver=function(e){this.listeners.forEach(function(t){return t(e)})},e.prototype.initiateFetch=function(e){var t=this;return this.promise=this.createPendingPromise(),this.promise.catch(function(){}),e.then(function(){setTimeout(function(){var e;"pending"===t.promise.status&&(t.result=t.observable.getCurrentResult(),null===(e=t.resolve)||void 0===e||e.call(t,t.result))})}).catch(function(){}),e},e.prototype.subscribeToQuery=function(){var e=this;this.subscription=this.observable.filter(function(t){return!(0,c.D)(t.data,{})&&!(0,c.D)(t,e.result)}).subscribe(this.handleNext,this.handleError)},e.prototype.setResult=function(){var e=this.observable.getCurrentResult(!1);(0,c.D)(e,this.result)||(this.result=e,this.promise=e.data&&(!e.partial||this.watchQueryOptions.returnPartialData)?l(e):this.createPendingPromise())},e.prototype.createPendingPromise=function(){var e,t=this;return"status"in(e=new Promise(function(e,r){t.resolve=e,t.reject=r}))||(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e},e}(),v=function(){function e(e){void 0===e&&(e=Object.create(null)),this.queryRefs=new u.B(a.mr),this.options=e}return e.prototype.getQueryRef=function(e,t){var r=this.queryRefs.lookupArray(e);
1return r.current||(r.current=new y(t(),{autoDisposeTimeoutMs:this.options.autoDisposeTimeoutMs,onDispose:function(){delete r.current}})),r.current},e.prototype.add=function(e,t){this.queryRefs.lookupArray(e).current=t},e}(),b=Symbol.for("apollo.suspenseCache"),m=r(75165),P=r(92),g=r(88607),w=r(79045);function R(e,t){var r=(0,i.x)(t.client),u=(r[b]||(r[b]=new v(null===(T=r.defaultOptions.react)||void 0===T?void 0:T.suspense)),r[b]),a=(S=(q={client:r,query:e,options:t}).client,_=q.query,E=q.options,C=function(){if(E===s)return{query:_,fetchPolicy:"standby"};var e,t,r,i,o,u=E.fetchPolicy||(null===(o=S.defaultOptions.watchQuery)||void 0===o?void 0:o.fetchPolicy)||"cache-first",a=(0,n.pi)((0,n.pi)({},E),{fetchPolicy:u,query:_,notifyOnNetworkStatusChange:!1,nextFetchPolicy:void 0});return!1!==globalThis.__DEV__&&(t=a.query,r=a.fetchPolicy,i=a.returnPartialData,(0,g.Vp)(t,g.n_.Query),void 0===(e=r)&&(e="cache-first"),(0,P.kG)(["cache-first","network-only","no-cache","cache-and-network"].includes(e),56,e),"no-cache"===r&&i&&!1!==globalThis.__DEV__&&P.kG.warn(57)),E.skip&&(a.fetchPolicy="standby"),a},M=[S,E,_],(j=o.useRef()).current&&(0,c.D)(j.current.deps,M)||(j.current={value:C(),deps:M}),j.current.value),l=a.fetchPolicy,d=a.variables,y=t.queryKey,m=o.useRef("standby"!==l);m.current||(m.current="standby"!==l);var R=(0,n.ev)([e,(0,w.B)(d)],[].concat(void 0===y?[]:y),!0),k=u.getQueryRef(R,function(){return r.watchQuery(a)}),D=o.useState(p(k)),O=D[0],Q=D[1];if(O[h]!==k&&Q(p(k)),k.didChangeOptions(a)){var T,q,S,_,E,C,M,j,x=k.applyOptions(a);O[f]=x}o.useEffect(function(){var e=setTimeout(function(){k.disposed&&u.add(R,k)});return function(){return clearTimeout(e)}});var N=o.useCallback(function(e){var t=k.fetchMore(e);return Q(p(k)),t},[k]),F=o.useCallback(function(e){var t=k.refetch(e);return Q(p(k)),t},[k]);return o.useEffect(function(){return k.softRetain()},[k]),[m.current?O:void 0,{fetchMore:N,refetch:F}]}var k=r(21432),D=r(32457),O=r(2265),Q=r(22884),T=new WeakMap;function q(e){let{options:t,result:r,children:n,queryKey:o}=e,u=(0,i.x)();if(!T.has(t)){let e="preloadedQuery:".concat(u.queryManager.generateQueryId());T.set(t,e),Q.ZP.debug("Preloaded query %s started on the server, simulating ongoing request",e),u.onQueryStarted({type:"started",id:e,options:t}),r.then(t=>{for(let r of(Q.ZP.debug("Preloaded query %s: received events: %o",e,t),t))u.onQueryProgress({...r,id:e})})}return!function(e,t){void 0===t&&(t=Object.create(null)),(0,m.I)("useBackgroundQuery",R,(0,i.x)("object"==typeof t?t.client:void 0))(e,t)}(...(0,O.useMemo)(()=>{let{query:e,...r}={...t,query:(0,k.Ps)((0,D.S)((0,k.Ps)(t.query)))};return[e,o?{...r,queryKey:o}:s]},[t,o])),n}let S=!0},75165:function(e,t,r){r.d(t,{I:function(){return s}});var i=Symbol.for("apollo.hook.wrappers");function s(e,t,r){var s=r.queryManager,n=s&&s[i],o=n&&n[e];return o?o(t):t}}}]);

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.