PageSourceSearch

https://www.tretwerk.net/_nuxt/S_Iv_z2M.js

js tretwerk.net collected 2026-10-08 03:33:58 UTC 9,157 bytes, 1 lines download raw bytes

1import"./CiNPy6ld.js";import{$t as e,Jt as t,Kt as n,Vt as r,Yt as i,_t as a,ft as o,nn as s}from"./DhPEby-0.js";import"./BhzMObjC.js";function c(e){if(typeof e!=`object`)return e;var t,n,r=Object.prototype.toString.call(e);if(r===`[object Object]`){if(e.constructor!==Object&&typeof e.constructor==`function`)for(t in n=new e.constructor,e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=c(e[t]));else for(t in n={},e)t===`__proto__`?Object.defineProperty(n,t,{value:c(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=c(e[t]);return n}if(r===`[object Array]`){for(t=e.length,n=Array(t);t--;)n[t]=c(e[t]);return n}return r===`[object Set]`?(n=new Set,e.forEach(function(e){n.add(c(e))}),n):r===`[object Map]`?(n=new Map,e.forEach(function(e,t){n.set(c(t),c(e))}),n):r===`[object Date]`?new Date(+e):r===`[object RegExp]`?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r===`[object DataView]`?new e.constructor(c(e.buffer)):r===`[object ArrayBuffer]`?e.slice(0):r.slice(-6)===`Array]`?new e.constructor(e):e}var l=3456e4;function u(e,t,n){let r=e.indexOf(`;`,t);return r===-1?n:r}function d(e,t,n){let r=e.indexOf(`=`,t);return r<n?r:-1}function f(e,t,n){if(t===n)return``;let r=t,i=n;do{let t=e.charCodeAt(r);if(t!==32&&t!==9)break}while(++r<i);for(;i>r;){let t=e.charCodeAt(i-1);if(t!==32&&t!==9)break;i--}return e.slice(r,i)}var p=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function m(e,t){let n=new p,r=e.length;if(r<2)return n;let i=t?.decode||h,a=t?.allowMultiple||!1,o=0;do{let s=d(e,o,r);if(s===-1)break;let c=u(e,o,r);if(s>c){o=e.lastIndexOf(`;`,s-1)+1;continue}let l=f(e,o,s);if(t?.filter&&!t.filter(l)){o=c+1;continue}let p=i(f(e,s+1,c));if(a){let e=n[l];e===void 0?n[l]=p:Array.isArray(e)?e.push(p):n[l]=[e,p]}else n[l]===void 0&&(n[l]=p);o=c+1}while(o<r);return n}function h(e){if(!e.includes(`%`))return e;try{return decodeURIComponent(e)}catch{return e}}var g=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,_=/^[\u0021-\u003A\u003C-\u007E]*$/,v=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,y=/^[\u0020-\u003A\u003C-\u007E]*$/,b=Object.prototype.toString;function x(e,t,n){let r=typeof e==`object`&&!!e,i=r?t:n,a=i?.stringify||JSON.stringify,o=r?e:{...n,name:e,value:t==null?``:typeof t==`string`?t:a(t)},s=i?.encode||encodeURIComponent;if(!g.test(o.name))throw TypeError(`argument name is invalid: ${o.name}`);let c=o.value?s(o.value):``;if(!_.test(c))throw TypeError(`argument val is invalid: ${o.value}`);if(!o.secure){if(o.partitioned)throw TypeError(`Partitioned cookies must have the Secure attribute`);if(o.sameSite&&String(o.sameSite).toLowerCase()===`none`)throw TypeError(`SameSite=None cookies must have the Secure attribute`);if(o.name.length>9&&o.name.charCodeAt(0)===95&&o.name.charCodeAt(1)===95){let e=o.name.toLowerCase();if(e.startsWith(`__secure-`)||e.startsWith(`__host-`))throw TypeError(`${o.name} cookies must have the Secure attribute`)}}if(o.name.length>7&&o.name.charCodeAt(0)===95&&o.name.charCodeAt(1)===95&&o.name.toLowerCase().startsWith(`__host-`)){if(o.path!==`/`)throw TypeError(`__Host- cookies must have Path=/`);if(o.domain)throw TypeError(`__Host- cookies must not have a Domain attribute`)}let u=o.name+`=`+c;if(o.maxAge!==void 0){if(!Number.isInteger(o.maxAge))throw TypeError(`option maxAge is invalid: ${o.maxAge}`);u+=`; Max-Age=`+Math.max(0,Math.min(o.maxAge,l))}if(o.domain){if(!v.test(o.domain))throw TypeError(`option domain is invalid: ${o.domain}`);u+=`; Domain=`+o.domain}if(o.path){if(!y.test(o.path))throw TypeError(`option path is invalid: ${o.path}`);u+=`; Path=`+o.path}if(o.expires){if(!S(o.expires)||!Number.isFinite(o.expires.valueOf()))throw TypeError(`option expires is invali
1d: ${o.expires}`);u+=`; Expires=`+o.expires.toUTCString()}if(o.httpOnly&&(u+=`; HttpOnly`),o.secure&&(u+=`; Secure`),o.partitioned&&(u+=`; Partitioned`),o.priority)switch(typeof o.priority==`string`?o.priority.toLowerCase():void 0){case`low`:u+=`; Priority=Low`;break;case`medium`:u+=`; Priority=Medium`;break;case`high`:u+=`; Priority=High`;break;default:throw TypeError(`option priority is invalid: ${o.priority}`)}if(o.sameSite)switch(typeof o.sameSite==`string`?o.sameSite.toLowerCase():o.sameSite){case!0:case`strict`:u+=`; SameSite=Strict`;break;case`lax`:u+=`; SameSite=Lax`;break;case`none`:u+=`; SameSite=None`;break;default:throw TypeError(`option sameSite is invalid: ${o.sameSite}`)}return u}function S(e){return b.call(e)===`[object Date]`}function C(e){return typeof e==`string`?`'${e}'`:new w().serialize(e)}var w=function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?e.localeCompare(t):n===`number`&&r===`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){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}return this.serializeObjectEntries(r,Object.entries(e))}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t?.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$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){let 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 n=0;n<e.length;n++)t+=this.serialize(e[n]),n<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((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e}();function T(e,t){return e===t||C(e)===C(t)}i(),o();function E(e){if(e!==`undefined`)try{let t=JSON.parse(e);return typeof t==`number`&&String(t)!==e?e:t}catch{return e}}var D={path:`/`,watch:!0,decode:e=>e&&E(decodeURIComponent(e)),encode:e=>{if(typeof e!=`string`||e===`undefined`)return encodeURIComponent(JSON.stringify(e));try{if(typeof JSON.parse(e)!=`string`)return encodeURIComponent(JSON.stringify(e))}catch{}return encodeURIComponent(e)},refresh:!1},O=globalThis.cookieStore;function k(n,i){let o={...D,...i};o.filter??=e=>e===n;let l=A(o)||{},u;o.maxAge===void 0?o.expires&&(u=o.expires.getTime()-Date.now()):u=o.maxAge*1e3;let d=u!==void 0&&u<=0,f=d||l[n]===void 0||l[n]===null,p=c(d?void 0:l[n]??o.default?.()),m=u&&!d?I(p,u,o.watch&&o.watch!==`shallow`):s(p);{let i=null;try{!O&&typeof BroadcastChannel<`u`&&(i=new BroadcastChannel(`nuxt:cookies:${n}`))}catch{}let s=(e=!1)=>{!e&&(o.readonly||T(m.value,l[n]))||(P(n,m.value===null||m.value===void 0?void 0:o.encode(m.value),o),l[n]=c(m.value),i?.postMessage({value:o.encode(m.value)}))},u=e=>{let t=e.refresh?A(o)?.[n]:o.decode(e.value);d=!0,m.value=t,l[n]=c(t),a(()=>{d=!1})},d=!1,p=!!t();if(p&&e(()=>{d=!0,s(),i?.close()}),O){let t=e=>{let t=e.changed.find(e=>e.name===n),r=e.deleted.find(e=>e.name===n);t&&u({value:t.value}),r&&u({value:null})};O.addEventListener(`change`,t),p&&e(()=>O.removeEventListener(`change`,t))}else i&&(i.onmessage=({data:e})=>u(e));o.watch&&r(m,()=>{d||s(o.refresh)},{deep:o.watch!==`shallow`}),f&&s(f)}return m}function A(e={}){return m(document.cookie,e)}var j=e=>e;function M(e){let{encode:t,decode:n,...r}=e;return{...r,encode:j}}function N(e,t,n={}){let r=M(n);return t===void 0?x(e,``,{...r,maxAge:-1}):x(e,t,r)}function P(e,t,n={}){document.cookie=N(e,t,n)}var F=2147483647;function I(i,a,o){let c,l,u=0,d=o?s(i):{value:i};return t()&&e(()=>{l?.(),clearTimeout(c)}),n((e,t)=>{o&&(l=r(d,t));function n(){let e=a-u,r=e<F?e:F;c=setTimeout(()=>{if(u+=r,u<a)return n();d.value=void 0,t()},r)}function i(){u=0,clearTimeout(c),n()}return{get(){return e(),d.value},set(e){i(),d.value=e,t()}}})}function L(e){return new URL(globalThis.location.href)}export{k as n,L as 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.