PageSourceSearch

https://craftia.pet/_nuxt/DxAdyx15.js

js craftia.pet collected 2026-10-05 21:32:45 UTC 2,439 bytes, 1 lines download raw bytes

1import{bO as S,ar as R,aW as A,bh as b,bi as h,c0 as P,aZ as F,X as M,aO as z,bw as B,J as H}from"./CNChhvB7.js";import"./6LV0Wooo.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"e19f9ceec27eb9ec8b0ae8d679a564d16c77eb54"};var e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="82a716db-cd08-4ddd-a441-d58c76a0d6eb",t._sentryDebugIdIdentifier="sentry-dbid-82a716db-cd08-4ddd-a441-d58c76a0d6eb")}catch{}})();function q(t,e){const o=e/t*100;return 2/Math.PI*100*Math.atan(o/50)}function N(t={}){const{duration:e=2e3,throttle:o=200,hideDelay:u=500,resetDelay:f=400}=t,v=t.estimatedProgress||q,s=S(),i=h(0),l=h(!1),g=h(!1);let p=!1,m,y,I,T;const x=(n={})=>{_(),g.value=!1,D(0,n)};function D(n=0,a={}){if(s.isHydrating)return;if(n>=100)return c({force:a.force});d(),i.value=n<0?0:n;const r=a.force?0:o;r?y=setTimeout(()=>{l.value=!0,E()},r):(l.value=!0,E())}function w(){I=setTimeout(()=>{l.value=!1,T=setTimeout(()=>{i.value=0},f)},u)}function c(n={}){i.value=100,p=!0,d(),_(),n.error&&(g.value=!0),n.force?(i.value=0,l.value=!1):w()}function _(){clearTimeout(I),clearTimeout(T)}function d(){clearTimeout(y),cancelAnimationFrame(m)}function E(){p=!1;let n;function a(r){if(p)return;n??=r;const L=r-n;i.value=Math.max(0,Math.min(100,v(e,L))),m=requestAnimationFrame(a)}m=requestAnimationFrame(a)}let k=()=>{};{const n=s.hook("page:loading:start",()=>{x()}),a=s.hook("page:loading:end",()=>{c()}),r=s.hook("vue:error",()=>c({error:!0}));k=()=>{r(),n(),a(),d(),_()}}return{_cleanup:k,progress:b(i),isLoading:b(l),error:b(g),start:x,set:D,finish:c,clear:d}}function O(t={}){const e=S(),o=e._loadingIndicator||=N(t);return R()&&(e._loadingIndicatorDeps||=0,e._loadingIndicatorDeps++,A(()=>{e._loadingIndicatorDeps--,e._loadingIndicatorDeps===0&&(o._cleanup(),delete e._loadingIndicator)})),o}const C={__name:"BaseLoadingIndicator",setup(t,{expose:e}){const{progress:o}=O(),u=P("loadingIndicatorElementTemplateRef"),f=H(()=>({backgroundSize:o.value===0?"0":`${String(100/o.value*100)}% auto`,opacity:o.value?1:0,transform:`scaleX(${String(o.value)}%)`}));return e({element:u}),(v,s)=>(F(),M("div",{ref_key:"loadingIndicatorElementTemplateRef",ref:u,class:"pointer-events-none fixed inset-x-[0px] top-[0px] z-notification origin-left transition duration-100",style:z(B(f))},null,4))}};export{C as default};

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.