PageSourceSearch

https://upfan.io/_nuxt/DiinwhJ6.js

js upfan.io collected 2026-10-09 23:13:35 UTC 1,903 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a12184-606a-7fc3-a463-d0edc0a61b55")}catch(e){}}();import{d as e,f as t,l as n,p as r,u as i}from"./UEhFN3J7.js";var a=`upfan_native_contact`,o=`upfan_native_contact_return`,s=`upfan_contact_submitted`,c=`upfan_contact_audience`;function l(t){let n=new URLSearchParams(t.replace(/^#/,``)),r=n.get(i),a=n.get(e);return!r||!/^[\w-]{1,128}$/.test(r)||a!==`android`&&a!==`ios`?{}:{[i]:r,[e]:a}}function u(a,o){for(let n of[t,r,i,e])Reflect.deleteProperty(a,n);a[n]=`app`,Object.assign(a,l(new URLSearchParams(o).toString()))}var d={cs:`/cs/kontakt`,en:`/en/contact`,sk:`/sk/kontakt`};function f(e){let t=new URL(d[e.locale],e.siteUrl);t.searchParams.set(a,`1`),e.topic&&t.searchParams.set(`topic`,e.topic);let n=l(new URLSearchParams(e.analyticsHeaders).toString());Object.keys(n).length&&(t.hash=new URLSearchParams(n).toString());for(let[n,r]of Object.entries(e.attribution??{}))r&&t.searchParams.set(n,r);return t.toString()}function p(e){let t;if(e.siteUrl)try{let n=new URL(e.siteUrl).hostname.toLowerCase().replace(/^www\./,``);n===`upfan.dev`&&(t=`upfan-dev`),n===`upfan.io`&&(t=`upfan`)}catch{}let n=e.nativeUrlScheme.replace(/:.*$/,``).trim(),r=new URL(`${t||n||`upfan`}://contact`);return r.searchParams.set(o,`1`),r.searchParams.set(s,`1`),r.searchParams.set(c,e.audience),r.toString()}function m(e){let[t=``,n=``]=e.split(`#`),[r=`/`,i=``]=t.split(`?`),a=new URLSearchParams(i),s=a.has(o);if(!s)return{isContactReturn:s,path:e};a.delete(o);let c=a.toString(),l=n?`#${n}`:``;return{isContactReturn:s,path:`${r}${c?`?${c}`:``}${l}`}}export{p as a,f as i,s as n,m as o,u as r,l as s,a as t};
2//# chunkId=01a12184-606a-7fc3-a463-d0edc0a61b55

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.