1(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"1efaec818d93a34fc75e3041dd55939e084a0ab6"};var r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="a7c28601-8006-43f8-92d5-bc92c697339c",t._sentryDebugIdIdentifier="sentry-dbid-a7c28601-8006-43f8-92d5-bc92c697339c")}catch{}})();const c={ar:["en","zh-CN","zh-TW"],cn:["de","en","es","fr","id","it","ja","ko","pt","ru","th","vi"],cnhk:["de","en","es","fr","id","it","ja","ko","pt","ru","th","vi"],cnjp:["de","en","es","fr","id","it","ja","ko","pt","ru","th","vi"],cntw:["de","en","es","fr","id","it","ja","ko","pt","ru","th","vi"],cnus:["de","en","es","fr","id","it","ja","ko","pt","ru","th","vi"],de:["en","fr","ja","ko","tr","zh-CN","zh-TW"],en:["ar","de","es","fr","id","it","ja","ko","pl","pt","ru","th","tr","vi","zh-CN","zh-TW"],es:["en","fr","ja","ko","th","zh-CN","zh-TW"],fr:["en","ja","zh-CN","zh-TW"],grk:["en","zh-CN"],idn:["en","zh-CN"],it:["en","zh-CN","zh-TW"],jp:["de","en","es","fr","it","ko","pt","th","tr","vi","zh-CN","zh-TW"],kr:["de","en","fr","ja","zh-CN","zh-TW"],mal:["en","zh-CN"],pol:["en"],pt:["en","ja","zh-CN","zh-TW"],ru:["en","tr","zh-CN","zh-TW"],th:["en","ja","zh-CN","zh-TW"],tr:["en","zh-CN"],ukr:["en"],vt:["en","zh-CN","zh-TW"]},d={ar:"ar",ara:"ar",cn:"cn",de:"de",deoc:"de",en:"en",es:"es",esoc:"es",esus:"es",fr:"fr",froc:"fr",frus:"fr",grk:"grk",idn:"idn",it:"it",itoc:"it",jp:"jp",kr:"kr",mal:"mal",pol:"pol",pt:"pt",ptoc:"pt",ru:"ru",ruoc:"ru",th:"th",thai:"th",tr:"tr",tur:"tr",ukr:"ukr",vt:"vt"},a={0:33,1:11,2:28,3:3,4:10,5:25,6:9,7:13,8:7,9:24,10:8,11:4,12:6},f={ar:{1:1,2:11,3:12,4:13,5:14,6:15,7:16,8:17,9:18,10:2,11:3,12:4,13:5,14:6,15:7,16:8,17:9,18:10},de:{12:19,13:20,14:21,15:15,16:22,17:23},en:{1:1,2:27,3:2,4:12,5:14,6:28,7:17,8:3,9:4,10:16,11:8,12:7,13:9,14:24,15:25,16:10,17:26,18:19},grk:{1:1,2:12,3:2,4:3,5:16,6:8,7:7,8:24,9:9,10:10,11:28,12:25,13:17,14:4,15:14,16:26,17:19},idn:{1:1,2:12,3:2,4:3,5:16,6:8,7:7,8:24,9:9,10:28,11:10,12:25,13:17,14:4,15:14,16:26,17:19},it:{8:29,9:7,10:24,11:8,12:20,13:4},jp:{1:1,2:12,3:11,4:28,5:9,6:3,7:7,8:16,9:8,10:25,11:10,12:24,13:4,14:17,15:30,16:31},kr:{1:11,2:9,3:3,4:16,5:10,6:12,7:24,8:17,9:28,10:7,11:8,12:29,13:30,14:32},mal:{1:1,2:12,3:2,4:3,5:16,6:8,7:7,8:24,9:9,10:28,11:10,12:25,13:17,14:4,15:14,16:26,17:19},pol:{1:1,2:12,3:33,4:3,5:9,6:4,7:16,8:7,9:19,10:17,11:8,12:14,13:26,14:28,15:10,16:25,17:24},pt:{12:19,13:20,14:21,15:15,16:23},ru:{12:19,13:20,14:21,15:15,16:23},th:{1:1,2:12,3:2,4:3,5:27,6:7,7:9,8:16,9:8,10:28,11:25,12:10,13:24,14:17,15:14,16:4,17:19,18:26},tr:{1:1,2:12,3:2,4:3,5:16,6:8,7:7,8:24,9:9,10:28,11:10,12:25,13:17,14:4,15:14,16:26,17:19},ukr:{1:33,2:1,3:12,4:3,5:9,6:4,7:17,8:19,9:8,10:7,11:16,12:10,13:24,14:14,15:28,16:25,17:26,18:27}};function o(t){return typeof t=="string"?t:""}function l(t,r=0){return typeof t=="number"&&Number.isFinite(t)?t:r}function h(t){return`${t}`.padStart(2,"0")}function p(t){if(!t)return null;const r=[t.level_1,t.key,t.ld_key,t.locale].filter(Boolean);for(const e of r){const n=d[e];if(n)return n}return null}function u(t){return{zh:"zh-TW"}[t]||t}function z(t,r){if(!(t!=null&&t.hasTravel))return!1;const e=p(t);if(!e)return!1;const n=c[e];return n?n.includes(u(r)):!1}function k(t){return Array.isArray(t)?t.map(r=>{if(!r||typeof r!="object")return null;const e=r,n=o(e.id),i=o(e.slug),s=o(e.title);return!n||!i?null:{id:n,slug:i,title:s,translations:e.translations&&typeof e.translations=="object"?e.translations:{},sortOrder:l(e.sortOrder),phraseCount:l(e.phraseCount),file:o(e.file)}}).filter(r=>!!r).sort((r,e)=>r.sortOrder-e.sortOrder):[]}function T(t,r){const e=Number(r),i=(f[t]||{})[e]||a[e]||a[0];return`/images/travel/ic_travel_phrase_category_${h(i)}.png`}function v(t,r){var n,i,s;const e=u(r);return((n=t.translations)==null?void 0:n[e])||((i=t.translations)==null?void 0:i[e.split("-")[0]])||t.title||((s=t.translations)==null?void 0:s.en)||t.slug}export{v as a,p as b,z as c,u as d,T as g,k as n};
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.