PageSourceSearch

https://genderswap.fm/_app/immutable/chunks/DZ3O-gka.js

js genderswap.fm collected 2026-10-03 23:52:03 UTC 4,172 bytes, 1 lines download raw bytes

1import{payload as e}from"../entry/payload.DSmR2FwN.js";import{X as t,mt as n,pt as r,tt as i}from"./LEMyuIs8.js";function a(e){return e.replace(/[.*+?^${}()|[\]\\]/g,e=>`\\`+e)}var o=/^(\[)?(\.\.\.)?([\w-]+)(?:=([\w-]+))?(\])?$/,s=/^\/\((?:[^)]+)\)$/,c=/\[([ux])\+([^\]]+)\]/;function l(e){return String.fromCodePoint(...e.split(`-`).map(e=>parseInt(e,16)))}function u(e){let t=[];return{pattern:e===`/`||s.test(e)?/^\/$/:RegExp(`^${f(e).map(e=>{let n=/^\[\.\.\.([\w-]+)(?:=([\w-]+))?\]$/.exec(e);if(n)return t.push({name:n[1],matcher:n[2],optional:!1,rest:!0,chained:!0}),`(?:/([^]*))?`;let r=/^\[\[([\w-]+)(?:=([\w-]+))?\]\]$/.exec(e);if(r)return t.push({name:r[1],matcher:r[2],optional:!0,rest:!1,chained:!0}),`(?:/([^/]+))?`;if(!e)return;let i=e.split(/\[(.+?)\](?!\])/);return`/`+i.map((e,n)=>{if(n%2){if(e.startsWith(`x+`)||e.startsWith(`u+`))return g(l(e.slice(2)));let[,r,a,s,c]=o.exec(e);return t.push({name:s,matcher:c,optional:!!r,rest:!!a,chained:a?n===1&&i[0]===``:!1}),a?`([^]*?)`:r?`([^/]*)?`:`([^/]+?)`}return g(e)}).join(``)}).join(``)}/?$`),params:t}}function d(e){return e!==``&&!/^\([^)]+\)$/.test(e)}function f(e){return e.slice(1).split(`/`).filter(d)}function p(e,t){let n=e[`~standard`].validate(t);if(n instanceof Promise)throw Error(`Async param matchers are not supported`);if(n.issues)return{success:!1};let r=n.value;if(typeof r!=`string`&&typeof r!=`number`&&typeof r!=`boolean`&&typeof r!=`bigint`)throw Error(`Param matcher must return a string, number, boolean, or bigint`);return{success:!0,value:r}}function m(e,t,n){let r={},i=e.slice(1),a=i.filter(e=>e!==void 0),o=0;for(let e=0;e<t.length;e+=1){let s=t[e],c=i[e-o];if(s.chained&&s.rest&&o&&(c=i.slice(e-o,e+1).filter(e=>e).join(`/`),o=0),c===void 0){if(s.rest)c=``;else continue}let l=decodeURIComponent(c);if(s.matcher){let e=p(n[s.matcher],l);if(!e.success){if(s.optional&&s.chained){o++;continue}return}r[s.name]=e.value}else r[s.name]=l;let u=t[e+1],d=i[e+1];u&&!u.rest&&u.optional&&d&&s.chained&&(o=0),!u&&!d&&Object.keys(r).length===a.length&&(o=0)}if(!o)return r}var h={"%":`%25`,"/":`%2[Ff]`,"?":`%3[Ff]`,"#":`%23`};function g(e){return e.normalize().split(/([%/?#])/).map((e,t)=>t%2?h[e]:a(e)).join(``)}RegExp(`${c.source}|\\[(\\[)?(\\.\\.\\.)?([\\w-]+?)(?:=([\\w-]+))?\\]\\]?`,`g`);var _=e.base??``,v=e.assets??_??``;function y(e){}function b(e){let t=e;return t[0]===`/`&&(t=t.slice(1)),(v||_)+`/`+t}var x=e.version,S=new class{#e=n({});get data(){return t(this.#e)}set data(e){r(this.#e,e)}#t=n(null);get form(){return t(this.#t)}set form(e){r(this.#t,e)}#n=n(null);get error(){return t(this.#n)}set error(e){r(this.#n,e)}#r=n({});get params(){return t(this.#r)}set params(e){r(this.#r,e)}#i=n({id:null});get route(){return t(this.#i)}set route(e){r(this.#i,e)}#a=n(null);get shallow(){return t(this.#a)}set shallow(e){r(this.#a,e)}#o=n({});get state(){return t(this.#o)}set state(e){r(this.#o,e)}#s=n(-1);get status(){return t(this.#s)}set status(e){r(this.#s,e)}#c=n(new URL(`a:`));get url(){return t(this.#c)}set url(e){r(this.#c,e)}};function C(e){Object.assign(S,e)}var w={get data(){return S.data},get error(){return S.error},get form(){return S.form},get params(){return S.params},get route(){return S.route},get shallow(){return S.shallow},get state(){return S.state},get status(){return S.status},get url(){return S.url}},T=n(null);function E(e){r(T,e)}var D={get from(){return t(T)?t(T).from:null},get to(){return t(T)?t(T).to:null},get type(){return t(T)?t(T).type:null},get willUnload(){return t(T)?t(T).willUnload:null},get delta(){return t(T)?.type===`popstate`?t(T).delta:null},get complete(){return t(T)?t(T).complete:null}},O=36e5,k,A,j=n(!1),M={get current(){return t(j)},async check(){return window.clearTimeout(k),t(j)?Promise.resolve(!0):A??=(async()=>{try{let e=await fetch(`${v}/_app/version.json`,{headers:{"cache-control":`no-cache`}});if(!e.ok)return!1;let n=await e.json();return r(j,t(j)||n.version!==x)}catch{return!1}finally{A=void 0,t(j)||(k=window.setTimeout(M.check,O))}})()}};O&&(k=window.setTimeout(M.check,O));function N(e){e&&i(()=>r(j,t(j)||e!==x))}export{C as a,_ as c,u as d,E as i,y as l,N as n,M as o,w as r,b as s,D as t,m 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.