PageSourceSearch

https://majestyspleasure.com/_nuxt/LocationServicesMenu-02d32afd.mjs

js majestyspleasure.com collected 2026-10-04 21:54:06 UTC 3,155 bytes, 1 lines download raw bytes

1import{_ as k}from"./DownArrow-78b616c6.mjs";import{_ as w,j as x,o as T,A as S,B as v,a as i,c as o,l as r,t as s,e as l,x as b,v as j,s as X,F as f,r as h,a6 as y}from"./entry-9f6422c3.mjs";const M={__name:"LocationServicesMenu",props:{blok:Object},setup(p,{expose:m}){var d;m();const{blok:n}=p,t=x((d=n.service_types[0])==null?void 0:d.title),c=x(!1);T(()=>{console.log(n)});function g(a){return a.toLowerCase().replace(/ /g,"-").replace(/[-]+/g,"-").replace(/[^\w-]+/g,"")}function _(a){t.value=a,c.value=!1}function u(){c.value=!c.value}const e={selectedTitle:t,isExpanded:c,convertToSlug:g,openTab:_,toggleMenu:u};return Object.defineProperty(e,"__isScriptSetup",{enumerable:!1,value:!0}),e}},D=["data-id","data-component","id"],L={class:"location-services__container max-w-[69.25rem] mx-auto futura-std-medium"},z={key:0,class:""},B={class:"heading-xl text-center leading-[82%] mb-7 md:mb-[92px]"},E={key:1,class:"mb-10 md:mb-20"},N={class:"md:flex md:flex-wrap justify-center items-center gap-12",role:"tablist"},V=["id","aria-controls","aria-selected","onClick"],C=["id","aria-labelledby"],O={class:"grid md:grid-cols-2 gap-x-8 gap-y-10 md:gap-y-[4.375rem]"},A={class:"uppercase flex justify-between tracking-[0.125rem]"},F={key:0,class:"text-medium leading-[1.5rem] mb-2 md:mb-4"},Y={key:1,class:"text-xs leading-[2] pl-2"},I={key:0,class:"futura-std-regular text-medium leading-[150%]"};function P(p,m,n,t,c,g){const _=k,u=S("editable");return n.blok?v((i(),o("section",{key:0,class:"location-services px-4 md:px-16 py-16 md:pt-20 md:pb-32","data-id":n.blok._uid,"data-component":n.blok.component,id:n.blok._uid},[r("div",L,[n.blok.heading?(i(),o("header",z,[r("h2",B,s(n.blok.heading),1)])):l("",!0),n.blok.service_types.length>0?(i(),o("nav",E,[r("button",{class:b(["location-services__mobile-btn md:hidden",[t.isExpanded?"opened":""]]),"aria-label":"Open Service Type Dropdown",onClick:m[0]||(m[0]=e=>t.toggleMenu())},[j(s(t.selectedTitle)+" ",1),r("span",null,[X(_)])],2),v(r("ul",N,[(i(!0),o(f,null,h(n.blok.service_types,e=>(i(),o("li",{key:e.title,id:`tab-${t.convertToSlug(e.title)}`,role:"tab","aria-controls":`panel-${t.convertToSlug(e.title)}`,"aria-selected":t.selectedTitle===e.title,class:b(["location-services__menu-item md-down:text-center",[t.selectedTitle===e.title?"selected md-down:hidden":"md-down:flex"]]),onClick:d=>t.openTab(e.title)}
1,[r("u",null,s(e.title),1)],10,V))),128))],512),[[y,t.isExpanded]])])):l("",!0),(i(!0),o(f,null,h(n.blok.service_types,(e,d)=>v((i(),o("div",{key:d,id:`panel-${t.convertToSlug(e.title)}`,role:"tabpanel","aria-labelledby":`tab-${t.convertToSlug(e.title)}`,class:b(["location-services__description",[t.selectedTitle===e.title?"active":""]])},[r("div",O,[(i(!0),o(f,null,h(e.service_type_content_block,a=>(i(),o("div",{key:a.name,class:"location-services__content-bock"},[r("div",null,[r("div",A,[a.name?(i(),o("h3",F,s(a.name),1)):l("",!0),a.cost?(i(),o("div",Y,s(a.cost),1)):l("",!0)]),a.description?(i(),o("div",I,s(a.description),1)):l("",!0)])]))),128))])],10,C)),[[y,t.selectedTitle===e.title]])),128))])],8,D)),[[u,n.blok]]):l("",!0)}var H=w(M,[["render",P]]);export{H as default};

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.