PageSourceSearch

https://tree-nation.com/_nuxt/fv8zpdUF.js

js tree-nation.com collected 2026-09-24 08:34:55 UTC 1,040 bytes, 1 lines download raw bytes

1import{f as m}from"./5YsNzNZD.js";import{T as f}from"./Cp7NiT3U.js";import{bV as d,aO as x}from"./C9liJd2o.js";import{u as h,a0 as g,a4 as _,h as S,aF as v,g as n,aj as i,e as C}from"./BnZv-h_Q.js";const y={class:"flex gap-1"},B=h({__name:"PhonePrefixSelect",props:{prefix:{default:""}},emits:["update"],setup(s,{emit:c}){const l=c,r=C(()=>x("catalogStore","countries")?.sort((e,a)=>e.name.localeCompare(a.name))||[]);g(async()=>{if(!r.value.length){const e=await m();e&&d("catalogStore/updateCountries",e)}});const p=e=>{l("update",e?.prefix)},o=e=>e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase(),u=(e,a)=>{const t=o(a);return o(e.code).includes(t)||o(e.name).includes(t)||e.prefix.includes(t)};return(e,a)=>(_(),S(f,{value:s.prefix,"search-value":s.prefix,title:"Pref",icon:"flag",options:r.value,"filter-by":u,style:{"min-height":"100%"},onUpdate:p},{option:v(({option:t})=>[n("span",y,[n("span",null,i(t.name),1),n("span",null," (+"+i(t.prefix)+") ",1)])]),_:1},8,["value","search-value","options"]))}});export{B as _};

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.