PageSourceSearch

https://product-and-cake.com/_nuxt/PPWmyhCs.js

js product-and-cake.com collected 2026-10-02 16:11:38 UTC 14,792 bytes, 1 lines download raw bytes

1import{x as R,B as w,C as V,g as x,D as q,k as j,E as H,j as z,G,H as J,r as W,I as U,p as Q,J as X,u as Y,K as Z,L as p,M as F,N as I,O as K,P as k}from"./DtZinLgF.js";function De(){const r=R();return function(e,t){const s=r.$posthog;if(s)try{s().capture(e,t)}catch{}}}function ee(r){return typeof r=="string"?`'${r}'`:new te().serialize(r)}const te=(function(){class r{#e=new Map;compare(e,t){const s=typeof e,o=typeof t;return s==="string"&&o==="string"?e.localeCompare(t):s==="number"&&o==="number"?e-t:String.prototype.localeCompare.call(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return"null";switch(typeof e){case"string":return t?e:`'${e}'`;case"bigint":return`${e}n`;case"object":return this.$object(e);case"function":return this.$function(e)}return String(e)}serializeObject(e){const t=Object.prototype.toString.call(e);if(t!=="[object Object]")return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);const s=e.constructor,o=s===Object||s===void 0?"":s.name;if(o!==""&&globalThis[o]===s)return this.serializeBuiltInType(o,e);
1if(typeof e.toJSON=="function"){const n=e.toJSON();return o+(n!==null&&typeof n=="object"?this.$object(n):`(${this.serialize(n)})`)}return this.serializeObjectEntries(o,Object.entries(e))}serializeBuiltInType(e,t){const s=this["$"+e];if(s)return s.call(this,t);if(typeof t?.entries=="function")return this.serializeObjectEntries(e,t.entries());throw new Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){const s=Array.from(t).sort((n,i)=>this.compare(n[0],i[0]));let o=`${e}{`;for(let n=0;n<s.length;n++){const[i,f]=s[n];o+=`${this.serialize(i,!0)}:${this.serialize(f)}`,n<s.length-1&&(o+=",")}return o+"}"}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){const t=Function.prototype.toString.call(e);return t.slice(-15)==="[native code] }"?`${e.name||""}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,"")}`}$Array(e){let t="[";for(let s=0;s<e.length;s++)t+=this.serialize(e[s]),s<e.length-1&&(t+=",");return t+"]"}$Date(e){try{return`Date(${e.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(",")}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((t,s)=>this.compare(t,s)))}`}$Map(e){return this.serializeObjectEntries("Map",e.entries())}}for(const a of["Error","RegExp","URL"])r.prototype["$"+a]=function(e){return`${a}(${e})`};for(const a of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])r.prototype["$"+a]=function(e){return`${a}[${e.join(",")}]`};for(const a of["BigInt64Array","BigUint64Array"])r.prototype["$"+a]=function(e){return`${a}[${e.join("n,")}${e.length>0?"n":""}]`};return r})(),ae=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],se=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",C=[];class ne{_data=new E;_hash=new E([...ae]);_nDataBytes=0;_minBufferSize=0;finalize(a){a&&this._append(a);const e=this._nDataBytes*8,t=this._data.sigBytes*8;return this._data.words[t>>>5]|=128<<24-t%32,this._data.words[(t+64>>>9<<4)+14]=Math.floor(e/4294967296),this._data.words[(t+64>>>9<<4)+15]=e,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(a,e){const t=this._hash.words;let s=t[0],o=t[1],n=t[2],i=t[3],f=t[4],m=t[5],c=t[6],h=t[7];for(let l=0;l<64;l++){if(l<16)C[l]=a[e+l]|0;else{const v=C[l-15],y=(v<<25|v>>>7)^(v<<14|v>>>18)^v>>>3,u=C[l-2],$=(u<<15|u>>>17)^(u<<13|u>>>19)^u>>>10;C[l]=y+C[l-7]+$+C[l-16]}const g=f&m^~f&c,d=s&o^s&n^o&n,_=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),B=(f<<26|f>>>6)^(f<<21|f>>>11)^(f<<7|f>>>25),b=h+B+g+se[l]+C[l],D=_+d;h=c,c=m,m=f,f=i+b|0,i=n,n=o,o=s,s=b+D|0}t[0]=t[0]+s|0,t[1]=t[1]+o|0,t[2]=t[2]+n|0,t[3]=t[3]+i|0,t[4]=t[4]+f|0,t[5]=t[5]+m|0,t[6]=t[6]+c|0,t[7]=t[7]+h|0}_append(a){typeof a=="string"&&(a=E.fromUtf8(a)),this._data.concat(a),this._nDataBytes+=a.sigBytes}_process(a){let e,t=this._data.sigBytes/64;a?t=Math.ceil(t):t=Math.max((t|0)-this._minBufferSize,0);const s=t*16,o=Math.min(s*4,this._data.sigBytes);if(s){for(let n=0;n<s;n+=16)this._doProcessBlock(this._data.words,n);e=this._data.words.splice(0,s),this._data.sigBytes-=o}return new E(e,o)}}class E{words;sigBytes;constructor(a,e){a=this.words=a||[],this.sigBytes=e===void 0?a.length*4:e}static fromUtf8(a){const e=unescape(encodeURIComponent(a)),t=e.length,s=[];for(let o=0;o<t;o++)s[o>>>2]|=(e.charCodeAt(o)&255)<<24-o%4*8;return new E(s,t)}toBase64(){const a=[];for(let e=0;e<this.sigBytes;e+=3){const t=this.words[e>>>2]>>>24-e%4*8&255,s=this.words[e+1>>>2]>>>24-(e+1)%4*8&255,o=this.words[e+2>>>2]>>>24-(e+2)%4*8&255,n=t<<16|s<<8|o;for(let i=0;i<4&&e*8+i*6<this.sigBytes*8;i++)a.push(re.charAt(n>>>6*(3-i)&63))}return a.join("")}concat(a){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let e=0;e<a.sigBytes;e++){const t=a.words[e>>>2]>>>24-e%4*8&255;this.words[this.sigBytes+e>>>2]|=t<<24-(this.sigBytes+e)%4*8}else for(let e=0;e<a.sigBytes;e+=4)this.words[this.sigBytes+e>>>2]=a.words[e>>>2];this.sigBytes+=a.sigBytes}}function ie(r){return new ne().finalize(r).toBase64()}function O(r){return ie(ee(r))}const oe={trailing:!0};function ce(r,a=25,e={}){if(e={...oe,...e},!Number.isFinite(a))throw new TypeError("Expected `wait` to be a finite number");let t,s,o=[],n,i;const f=(h,l)=>(n=le(r,h,l),n.finally(()=>
1{if(n=null,e.trailing&&i&&!s){const g=f(h,i);return i=null,g}}),n),m=function(...h){return e.trailing&&(i=h),n||new Promise(l=>{const g=!s&&e.leading;clearTimeout(s),s=setTimeout(()=>{s=null;const d=e.leading?t:f(this,h);i=null;for(const _ of o)_(d);o=[]},a),g?(t=f(this,h),l(t)):o.push(l)})},c=h=>{h&&(clearTimeout(h),s=null)};return m.isPending=()=>!!s,m.cancel=()=>{c(s),o=[],i=null},m.flush=()=>{if(c(s),!i||n)return;const h=i;return i=null,f(this,h)},m}async function le(r,a,e){return await r.apply(a,e)}const ue=Symbol.for("nuxt:client-only"),fe=r=>r==="defer"||r===!1;function de(...r){const a=typeof r[r.length-1]=="string"?r.pop():void 0;he(r[0],r[1])&&r.unshift(a);let[e,t,s={}]=r,o=!1;const n=z(()=>p(e));if(typeof n.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof t!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const i=R();s.server??=!0,s.default??=_e,s.getCachedData??=L,s.lazy??=!1,s.immediate??=!0,s.deep??=w.deep,s.dedupe??="cancel",s._functionName,i._asyncData[n.value];function f(){const d={cause:"initial",dedupe:s.dedupe};return i._asyncData[n.value]?._init||(d.cachedData=s.getCachedData(n.value,i,{cause:"initial"}),i._asyncData[n.value]=T(i,n.value,t,s,d.cachedData)),()=>i._asyncData[n.value].execute(d)}const m=f(),c=i._asyncData[n.value];c._deps++;const h=s.server!==!1&&i.payload.serverRendered;{let d=function(y){const u=i._asyncData[y];u?._deps&&(u._deps--,u._deps===0&&u?._off())};const _=G();if(_&&h&&s.immediate&&!_.sp&&(_.sp=[]),_&&!_._nuxtOnBeforeMountCbs){_._nuxtOnBeforeMountCbs=[];const y=_._nuxtOnBeforeMountCbs;V(()=>{y.forEach(u=>{u()}),y.splice(0,y.length)}),x(()=>y.splice(0,y.length))}const B=_&&(_._nuxtClientOnly||q(ue,!1));h&&i.isHydrating&&(c.error.value||c.data.value!=null)?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):_&&(!B&&i.payload.serverRendered&&i.isHydrating||s.lazy)&&s.immediate?_._nuxtOnBeforeMountCbs.push(m):s.immediate&&m();const b=J(),D=j(n,(y,u)=>{if((y||u)&&y!==u){o=!0;const $=i._asyncData[u]?.data.value!==w.value,M=i._asyncDataPromises[u]!==void 0,A={cause:"initial",dedupe:s.dedupe};if(!i._asyncData[y]?._init){let S;u&&$?S=i._asyncData[u].data.value:(S=s.getCachedData(y,i,{cause:"initial"}),A.cachedData=S),i._asyncData[y]=T(i,y,t,s,S)}i._asyncData[y]._deps++,u&&d(u),(s.immediate||$||M)&&i._asyncData[y].execute(A),F(()=>{o=!1})}},{flush:"sync"}),v=s.watch?j(s.watch,()=>{o||(i._asyncData[n.value]?._execute.isPending()&&F(()=>{i._asyncData[n.value]?._execute.flush()}),i._asyncData[n.value]?._execute({cause:"watch",dedupe:s.dedupe}))}):()=>{};b&&H(()=>{D(),v(),d(n.value)})}const l={data:P(()=>i._asyncData[n.value]?.data),pending:P(()=>i._asyncData[n.value]?.pending),status:P(()=>i._asyncData[n.value]?.status),error:P(()=>i._asyncData[n.value]?.error),refresh:(...d)=>i._asyncData[n.value]?._init?i._asyncData[n.value].execute(...d):f()(),execute:(...d)=>l.refresh(...d),clear:()=>{const d=i._asyncData[n.value];if(d?._abortController)try{d._abortController.abort(new DOMException("AsyncData aborted by user.","AbortError"))}finally{d._abortController=void 0}N(i,n.value)}},g=Promise.resolve(i._asyncDataPromises[n.value]).then(()=>l);return Object.assign(g,l),Object.defineProperties(g,{then:{enumerable:!0,value:g.then.bind(g)},catch:{enumerable:!0,value:g.catch.bind(g)},finally:{enumerable:!0,value:g.finally.bind(g)}}),g}function P(r){return z({get(){return r()?.value},set(a){const e=r();e&&(e.value=a)}})}function he(r,a){return!(typeof r=="string"||typeof r=="object"&&r!==null||typeof r=="function"&&typeof a=="function")}function N(r,a){a in r.payload.data&&(r.payload.data[a]=void 0),a in r.payload._errors&&(r.payload._errors[a]=w.errorValue),r._asyncData[a]&&(r._asyncData[a].data.value=void 0,r._asyncData[a].error.value=w.errorValue,r._asyncData[a].pending.value=!1,r._asyncData[a].status.value="idle"),a in r._asyncDataPromises&&(r._asyncDataPromises[a]=void 0)}function ye(r,a){const e={};for(const t of a)e[t]=r[t];return e}function T(r,a,e,t,s){r.payload._errors[a]??=w.errorValue;const o=t.getCachedData!==L,n=e,i=t.deep?W:U,f=s!=null,m=r.hook("app:data:refresh",async h=>{(!h||h.includes(a))&&await c.execute({cause:"refresh:hook"})}),c={data:i(f?s:t.default()),pending:U(!f),error:Z(r.payload._errors,a),status:U("idle"),execute:(...h)=>{const[l,g=void 0]=h,d=l&&g===void 0&&typeof l=="object"?l:{};if(r._asyncDataPromises[a]&&fe(d.dedupe??t.dedupe))return r._asyncDataPromises[a];if(d.cause==="initial"||r.isHydrating){const b="cachedData"in d?d.cachedData:t.getCachedData(a,r,{cause:d.cause??"refresh:manual"});if(b!=null)return r.payload.data[a]=c.data.value=b,c.error.value=w.error
1Value,c.status.value="success",Promise.resolve(b)}c.pending.value=!0,c._abortController&&c._abortController.abort(new DOMException("AsyncData request cancelled by deduplication","AbortError")),c._abortController=new AbortController,c.status.value="pending";const _=new AbortController,B=new Promise((b,D)=>{try{const v=d.timeout??t.timeout,y=ge([c._abortController?.signal,d?.signal],_.signal,v);if(y.aborted){const u=y.reason;D(u instanceof Error?u:new DOMException(String(u??"Aborted"),"AbortError"));return}return y.addEventListener("abort",()=>{const u=y.reason;D(u instanceof Error?u:new DOMException(String(u??"Aborted"),"AbortError"))},{once:!0,signal:_.signal}),Promise.resolve(n(r,{signal:y})).then(b,D)}catch(v){D(v)}}).then(async b=>{let D=b;t.transform&&(D=await t.transform(b)),t.pick&&(D=ye(D,t.pick)),r.payload.data[a]=D,c.data.value=D,c.error.value=w.errorValue,c.status.value="success"}).catch(b=>{if(r._asyncDataPromises[a]&&r._asyncDataPromises[a]!==B||c._abortController?.signal.aborted)return r._asyncDataPromises[a];if(typeof DOMException<"u"&&b instanceof DOMException&&b.name==="AbortError")return c.status.value="idle",r._asyncDataPromises[a];c.error.value=X(b),c.data.value=Y(t.default()),c.status.value="error"}).finally(()=>{c.pending.value=!1,_.abort(),delete r._asyncDataPromises[a]});return r._asyncDataPromises[a]=B,r._asyncDataPromises[a]},_execute:ce((...h)=>c.execute(...h),0,{leading:!0}),_default:t.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{m(),r._asyncData[a]?._init&&(r._asyncData[a]._init=!1),o||Q(()=>{r._asyncData[a]?._init||(N(r,a),c.execute=()=>Promise.resolve(),c.data.value=w.value)})}};return c}const _e=()=>w.value,L=(r,a,e)=>{if(a.isHydrating)return a.payload.data[r];if(e.cause!=="refresh:manual"&&e.cause!=="refresh:hook")return a.static.data[r]};function ge(r,a,e){const t=r.filter(n=>!!n);if(typeof e=="number"&&e>=0){const n=AbortSignal.timeout?.(e);n&&t.push(n)}if(AbortSignal.any)return AbortSignal.any(t);const s=new AbortController;for(const n of t)if(n.aborted){const i=n.reason??new DOMException("Aborted","AbortError");try{s.abort(i)}catch{s.abort()}return s.signal}const o=()=>{const i=t.find(f=>f.aborted)?.reason??new DOMException("Aborted","AbortError");try{s.abort(i)}catch{s.abort()}};for(const n of t)n.addEventListener?.("abort",o,{once:!0,signal:a});return s.signal}function ve(r,a,e){const[t={},s]=typeof a=="string"?[{},a]:[a,e],o=z(()=>p(r)),n=z(()=>p(t.key)||"$f"+O([s,typeof o.value=="string"?o.value:"",...be(t)]));if(!t.baseURL&&typeof o.value=="string"&&o.value[0]==="/"&&o.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:i,lazy:f,default:m,transform:c,pick:h,watch:l,immediate:g,getCachedData:d,deep:_,dedupe:B,timeout:b,...D}
1=t,v=I({...K,...D,cache:typeof t.cache=="boolean"?void 0:t.cache}),y={server:i,lazy:f,default:m,transform:c,pick:h,immediate:g,getCachedData:d,deep:_,dedupe:B,timeout:b,watch:l===!1?[]:[...l||[],v]};if(!g){let $=function(){y.immediate=!0};j(n,$,{flush:"sync",once:!0}),j([...l||[],v],$,{flush:"sync",once:!0})}return de(l===!1?n.value:n,($,{signal:M})=>(t.$fetch||globalThis.$fetch)(o.value,{signal:M,...v}),y)}function be(r){const a=[p(r.method)?.toUpperCase()||"GET",p(r.baseURL)];for(const e of[r.query||r.params]){const t=p(e);if(!t)continue;const s={};for(const[o,n]of Object.entries(t))s[p(o)]=p(n);a.push(s)}if(r.body){const e=p(r.body);if(!e)a.push(O(e));else if(e instanceof ArrayBuffer)a.push(O(Object.fromEntries([...new Uint8Array(e).entries()].map(([t,s])=>[t,s.toString()]))));else if(e instanceof FormData){const t={};for(const s of e.entries()){const[o,n]=s;t[o]=n instanceof File?n.name:n}a.push(O(t))}else if(k(e))a.push(O(I(e)));else try{a.push(O(e))}catch{console.warn("[useFetch] Failed to hash body",e)}}return a}export{ve as a,De 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.