PageSourceSearch

https://www.pandastaroil.co.th/_nuxt/DKUXh_OO.js

js pandastaroil.co.th collected 2026-10-08 21:03:59 UTC 4,224 bytes, 2 lines download raw bytes

1import{_ as G}from"./B9LKi5RP.js";import{d as H,W as P,H as R,a as T,Y as U,v as F,a8 as Y,o as l,e as r,k as t,j as a,A as z,av as K,c as d,F as u,x as w,b as o,M as N,bI as X,bH as q,aE as b,ay as x,c2 as J,f as E,b_ as Z,r as ee,l as V,z as te}from"./4czN1GdW.js";import{_ as ae,a as oe,b as ne}from"./CFoTcIex.js";import{_ as le}from"./3h58uUsv.js";import{_ as se}from"./BfqoBT23.js";import"./D17bEHi_.js";import"./BvkBI9bc.js";import"./DtQYMb2L.js";import"./zdkDiIBT.js";import"./BjYP5sR0.js";import"./BDtSZUVF.js";const re={class:"tw-flex tw-h-16 tw-items-center tw-justify-between tw-bg-white tw-px-4 tw-py-2"},ce=H({__name:"DefaultMobileDrawer.client",props:{modelValue:{type:Boolean,default:!1},modelModifiers:{}},emits:["update:modelValue"],setup(C){const c=P(C,"modelValue"),h=ee(window.innerWidth);R(c,n=>{n&&(h.value=window.innerWidth)});const I=()=>{c.value=!1},{menus:D,redirectPath:M,getPath:Q}=T(),i=U(),{locale:S}=F(),{$i18n:g}=Y(),v=V(()=>i.value.length>1),k=V(()=>i.value.find(n=>n.code===S.value)),A=async n=>{await g.setLocale(n),g.setLocaleCookie(n),i.main.code!==n?window.location.href=`/${n}`:window.location.href="/"};return(n,y)=>{const B=G,W=K,_=se,m=q,p=X,f=le,L=oe,O=J,$=ae,j=ne;return l(),r(j,{modelValue:c.value,"onUpdate:modelValue":y[0]||(y[0]=e=>c.value=e),side:"left",overlay:"",width:o(h),breakpoint:500,class:"fast-mobile-drawer"},{default:t(()=>[a($,{class:"fast-mobile-drawer-scroll fit tw-bg-primary tw-text-white"},{default:t(()=>[z("div",re,[a(B,{"custom-class":"md:!tw-py-0"}),a(W,{flat:"",round:"",dense:"",icon:"close",class:"tw-text-black","aria-label":n.$t("global.menu"),onClick:I},null,8,["aria-label"])]),a(f,{padding:"",class:"fast-mobile-drawer-list",role:"list"},{default:t(()=>[(l(!0),d(u,null,w(o(D),e=>(l(),d(u,{key:e._id},[e.code===o(N).EXTERNAL_LINK?(l(),r(p,{key:0,tag:"a",href:e.externalLink||"#",target:"_blank",rel:"noopener noreferrer",dark:"",class:"fast-mobile-drawer-item !tw-text-white",title:e.title},{default:t(()=>[a(m,null,{default:t(()=>[a(_,null,{default:t(()=>
1[b(x(e.title),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["href","title"])):(l(),r(L,{key:1,label:e.title,dark:"","expand-icon":"add","expanded-icon":"remove",to:n.$localePath(o(M)(e.componentName,e.slug,e.code)),"hide-expand-icon":!e.subMenus,"content-inset-level":0,"header-class":"fast-mobile-drawer-item fast-mobile-drawer-expansion-header","expand-icon-class":"fast-mobile-drawer-expand-icon","active-class":"tw-text-white"},{default:t(()=>[a(f,{role:"list",class:"fast-mobile-drawer-submenu-list"},{default:t(()=>[(l(!0),d(u,null,w(e.subMenus,s=>(l(),r(p,{key:s._id,to:o(Q)({componentName:s.subMenuOf?s.componentName:e.componentName,categorySlug:e.subMenus&&e.subMenus.length>0?s.slug:e.slug,slug:e.code===o(N).GALLERY_REVIEW?s.slug:"",subMenuOf:s.subMenuOf}),class:"fast-mobile-drawer-item !tw-text-white",title:s.title},{default:t(()=>[a(m,null,{default:t(()=>[a(_,null,{default:t(()=>[b(x(s.title),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["to","title"]))),128))]),_:2},1024)]),_:2},1032,["label","to","hide-expand-icon"]))],64))),128)),o(v)?(l(),r(O,{key:0,dark:"","aria-hidden":"true"})):E("",!0),o(v)?(l(),r(L,{key:1,label:o(Z)[o(k)?.code||"en"],dark:"","expand-icon":"add","expanded-icon":"remove",icon:"language","content-inset-level":0,"header-class":"fast-mobile-drawer-item fast-mobile-drawer-expansion-header fast-mobile-drawer-language-header","expand-icon-class":"fast-mobile-drawer-expand-icon fast-mobile-drawer-language-expand-icon","icon-class":"fast-mobile-drawer-language-icon","active-class":"tw-text-white"},{default:t(()=>[a(f,{role:"list",class:"fast-mobile-drawer-submenu-list"},{default:t(()=>[(l(!0),d(u,null,w(o(i).value,e=>(l(),r(p,{key:e.code,clickable:"",class:"fast-mobile-drawer-item !tw-text-white",active:e.code===o(k)?.code,onClick:s=>A(e.code)},{default:t(()=>[a(m,null,{default:t(()=>[a(_,null,{default:t(()=>[b(x(e.display),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["active","onClick"]))),128))]),_:1})]),_:1},8,["label"])):E("",!0)]),_:1})]),_:1})]),_:1},8,["modelValue","width"])}}}),ge=Object.assign(te(ce,[["__scopeId","data-v-7ece5486"]]),{__name:"NavigationDefaultMobileDrawer"});export{ge as default};
2//# sourceMappingURL=DKUXh_OO.js.map

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.