PageSourceSearch

https://seunghoon-kam.github.io/assets/js/main.js

js seunghoon-kam.github.io collected 2026-10-03 09:55:54 UTC 1,380 bytes, 41 lines download raw bytes

1if (typeof Vue === 'undefined') {
2    document.getElementById('app').innerHTML = '<div style="padding:2rem;text-align:center;font-family:sans-serif;"><p>Failed to load Vue. Check your connection or try again later.</p><p>Vue를 불러오지 못했습니다. 네트워크를 확인하거나 나중에 다시 시도해 주세요.</p></div>';
3    throw new Error('Vue is not loaded');
4}
5const { createApp } = Vue;
6
7createApp({
8    data() {
9        return {
10            currentLang: getLanguage(),
11            translations: translations,
12            appsData: appsData
13        };
14    },
15    mounted() {
16        document.documentElement.lang = this.currentLang;
17    },
18    methods: {
19        getAppName(app) {
20            return getAppName(app, this.currentLang);
21        },
22        getAppDescription(app) {
23            return getAppDescription(app, this.currentLang);
24        },
25        getAppStoreLabel(app) {
26            return getAppStoreLabel(app);
27        },
28        getAppDetailUrl(app) {
29            return getAppDetailUrl(app);
30        },
31        handleCardClick(app, event) {
32            if (event.target.closest('.btn, .app-links')) {
33                return;
34            }
35            window.location.href = getAppDetailUrl(app);
36        },
37        handleImageError(event, app) {
38            handleImageError(event, app, this.currentLang);
39        }
40    }
41}).mount('#app');

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.