1import{bE as d,bW as a}from"./useConfig-DLqk4N_9.js";import{aV as u}from"./index-BMfzZz2f.js";import{i as l}from"./app-bridge-PA9a5H5h.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new o.Error().stack;s&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[s]="b628676d-7d1c-4d96-809a-1a65e93785e1",o._sentryDebugIdIdentifier="sentry-dbid-b628676d-7d1c-4d96-809a-1a65e93785e1")}catch(n){}})();const m=()=>a({url:"/config/getConfig"}),g=()=>a({url:"/config/getGameWiki"});var b=(o=>(o[o.COMMON=1]="COMMON",o[o.UNKNOWN=2]="UNKNOWN",o[o.WATERFALL=3]="WATERFALL",o))(b||{});const I=()=>a({url:"config/getGameConfig"}),h=()=>d({url:"/config/version/webQueryVersion"}),L=o=>d({url:"/forum/post/extra",data:o}),A={pns:"2",mc:"3"},{VITE_APP_UNIVERSAL_LINK_ORIGIN_PATH:i}={VITE_APP_BASE_URL:"https://api.kurobbs.com",VITE_APP_TRACK_URL:"https://event.kurobbs.com",VITE_APP_CDN_URL:"https://web-static.kurobbs.com/resource/prod/",VITE_APP_ENV:"production",VITE_APP_APPID:"f60ac5d1621847cabde3e7404ba764c3",VITE_APP_OSS_SERVER:"https://prod-alicdn-community.kurobbs.com",VITE_ALI_LICENSE_KEY:"bPxeveE5vPBZaeeLr5b6e5349906144da9d11c96816439c7b",VITE_APP_MONO_AVATAR_HANDLER:"https://web-static.kurobbs.com/app-widgets/avatar-handler/index.html?jsbridge_upgrade_postMessage=1",VITE_APP_DOWNLOAD_URL:"https://www.kurobbs.com/download.html",VITE_APP_UNIVERSAL_LINK_ORIGIN_PATH:"bbs.kurobbs",VITE_APP_PNS_CASHIER_URL:"https://pay.kurogames.com/pns/cashier?utm_source=bbs_web",VITE_APP_MC_CASHIER_URL:"https://pay.kurogames.com/mc/cashier?utm_source=bbs_web",VITE_APP_EXTERNAL_LINK_GAME_WHITELIST:"https://web-static.kurobbs.com",BASE_URL:"https://web-static.kurobbs.com/resource/prod/",MODE:"production",DEV:!1,PROD:!0,SSR:!1,LEGACY:!1},c={android:"kuro",ios:"kuro"},N=o=>{const s=o.meta.appPath;if(!s)return null;const n=s.match(/:[a-zA-Z]+/g)||[];let e=s;for(const _ of n){const t=_.slice(1),r=o.params[t]||o.query[t];if(!r)return null;e=e.replace(":".concat(t),t==="game"&&A[r]||r)}return e.includes(":")?null:(navigator.userAgent.toLowerCase().includes("android")?c.android:c.ios)+e},R=()=>i?location.origin.includes(i):!1,V=(o=location.origin+"/download.html")=>{!u()&&l()?window.jsBridge.callHandler("finishPage"):location.href=o};export{b as E,I as a,h as b,g as c,L as f,m as g,N as h,R as i,V as o};
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.