PageSourceSearch

https://www.ragate.co.jp/_nuxt/Bt9ftWLC.js

js ragate.co.jp collected 2026-10-02 07:14:51 UTC 5,430 bytes, 1 lines download raw bytes

1import{b as a,v as e,x as t}from"./BvhsVrQh.js";import{c as s,w as n,ao as r,Q as c,f as o,s as i,y as u,x as l,u as d,O as y,g as f,B as _,b as v,e as p}from"./fvFM3gIz.js";const D={trailing:!0};function m(a,e=25,t={}){if(t={...D,...t},!Number.isFinite(e))throw new TypeError("Expected `wait` to be a finite number");let s,n,r,c,o=[];const i=(e,s)=>(r=async function(a,e,t){return await a.apply(e,t)}(a,e,s),r.finally(()=>{if(r=null,t.trailing&&c&&!n){const a=i(e,c);return c=null,a}}),r);return function(...a){return r?(t.trailing&&(c=a),r):new Promise(r=>{const c=!n&&t.leading;clearTimeout(n),n=setTimeout(()=>{n=null;const e=t.leading?s:i(this,a);for(const a of o)a(e);o=[]},e),c?(s=i(this,a),r(s)):o.push(r)})}}const h=Symbol.for("nuxt:client-only");function g(...t){const o="string"==typeof t[t.length-1]?t.pop():void 0;(function(a,e){if("string"==typeof a)return!1;if("object"==typeof a&&null!==a)return!1;if("function"==typeof a&&"function"==typeof e)return!1;return!0})(t[0],t[1])&&t.unshift(o);let[i,u,l={}]=t;const d=s(()=>c(i));if("string"!=typeof d.value)throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if("function"!=typeof u)throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const D=a();l.server??=!0,l.default??=w,l.getCachedData??=C,l.lazy??=!1,l.immediate??=!0,l.deep??=e.deep,l.dedupe??="cancel",l._functionName,D._asyncData[d.value];const m={cause:"initial",dedupe:l.dedupe};D._asyncData[d.value]?._init||(m.cachedData=l.getCachedData(d.value,D,{cause:"initial"}),D._asyncData[d.value]=b(D,d.value,u,l,m.cachedData));const g=D._asyncData[d.value];g._deps++;const O=()=>D._asyncData[d.value].execute(m),k=!1!==l.server&&D.payload.serverRendered;{let a=function(a){const e=D._asyncData[a];e?._deps&&(e._deps--,0===e._deps&&e?._off())};const e=f();if(e&&k&&l.immediate&&!e.sp&&(e.sp=[]),e&&!e._nuxtOnBeforeMountCbs){e._nuxtOnBeforeMountCbs=[];const a=e._nuxtOnBeforeMountCbs;_(()=>{a.forEach(a=>{a()}),a.splice(0,a.length)}),v(()=>a.splice(0,a.length))}const t=e&&(e._nuxtClientOnly||p(h,!1));k&&D.isHydrating&&(g.error.value||void 0!==g.data.value)?g.status.value=g.error.value?"error":"success":e&&(!t&&D.payload.serverRendered&&D.isHydrating||l.lazy)&&l.immediate?e._nuxtOnBeforeMountCbs.push(O):l.immediate&&"success"!==g.status.value&&O();const s=y(),c=n([d,...l.watch||[]],([e],[t])=>{if((e||t)&&e!==t){const s=void 0!==D._asyncData[t]?.data.value,n=void 0!==D._asyncDataPromises[t];t&&a(t);const r={cause:"initial",dedupe:l.dedupe};if(!D._asyncData[e]?._init){let a;t&&s?a=D._asyncData[t]?.data.value:(a=l.getCachedData(e,D,{cause:"initial"}),r.cachedData=a),D._asyncData[e]=b(D,e,u,l,a)}D._asyncData[e]._deps++,(l.immediate||s||n)&&D._asyncData[e].execute(r)}else g._execute({cause:"watch",dedupe:l.dedupe})},{flush:"sync"});s&&r(()=>{c(),a(d.value)})}const j={data:x(()=>D._asyncData[d.value]?.data),pending:x(()=>D._asyncData[d.value]?.pending),status:x(()=>D._asyncData[d.value]?.status),error:x(()=>D._asyncData[d.value]?.error),refresh:(...a)=>D._asyncData[d.value].execute(...a),execute:(...a)=>D._asyncData[d.value].execute(...a),clear:()=>P(D,d.value)},B=Promise.resolve(D._asyncDataPromises[d.value]).then(()=>j);return Object.assign(B,j),B}function x(a){return s({get:()=>a()?.value,set(e){const t=a();t&&(t.value=e)}})}function P(a,e){e in a.payload.data&&(a.payload.data[e]=void 0),e in a.payload._errors&&(a.payload._errors[e]=void 0),a._asyncData[e]&&(a._asyncData[e].data.value=d(a._asyncData[e]._default()),a._asyncData[e].error.value=void 0,a._asyncData[e].status.value="idle"),e in a._asyncDataPromises&&(a._asyncDataPromises[e]&&(a._asyncDataPromises[e].cancelled=!0),a._asyncDataPromises[e]=void 0)}function b(a,e,n,r,c){a.payload._errors[e]??=void 0;const y=r.getCachedData!==C,f=n,_=r.deep?o:i,v=void 0!==c,p=a.hook("app:data:refresh",async a=>{a&&!a.includes(e)||await D.execute({cause:"refresh:hook"})}),D={data:_(v?c:r.default()),pending:s(()=>"pending"===D.status.value),error:u(a.payload._errors,e),status:i("idle"),execute:(...s)=>{const[n,c]=s,o=n&&void 0===c&&"object"==typeof n?n:{};
1if(a._asyncDataPromises[e]){if("defer"===(o.dedupe??r.dedupe))return a._asyncDataPromises[e];a._asyncDataPromises[e].cancelled=!0}{const t="cachedData"in o?o.cachedData:r.getCachedData(e,a,{cause:o.cause??"refresh:manual"});if(void 0!==t)return a.payload.data[e]=D.data.value=t,D.error.value=void 0,D.status.value="success",Promise.resolve(t)}D.status.value="pending";const i=new Promise((e,t)=>{try{e(f(a))}catch(s){t(s)}}).then(async t=>{if(i.cancelled)return a._asyncDataPromises[e];let s=t;r.transform&&(s=await r.transform(t)),r.pick&&(s=function(a,e){const t={};for(const s of e)t[s]=a[s];return t}(s,r.pick)),a.payload.data[e]=s,D.data.value=s,D.error.value=void 0,D.status.value="success"}).catch(s=>{if(i.cancelled)return a._asyncDataPromises[e];D.error.value=t(s),D.data.value=d(r.default()),D.status.value="error"}).finally(()=>{i.cancelled||delete a._asyncDataPromises[e]});return a._asyncDataPromises[e]=i,a._asyncDataPromises[e]},_execute:m((...a)=>D.execute(...a),0,{leading:!0}),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{p(),a._asyncData[e]?._init&&(a._asyncData[e]._init=!1),y||l(()=>{a._asyncData[e]?._init||(P(a,e),D.execute=()=>Promise.resolve())})}};return D}const w=()=>{},C=(a,e,t)=>e.isHydrating?e.payload.data[a]:"refresh:manual"!==t.cause&&"refresh:hook"!==t.cause?e.static.data[a]:void 0;export{g as u};

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.