1import{_ as b}from"./hKoFiw4g.js";import{d as w,n as o,a as n,e as i,f as a,R as u,t as I,q as v,c as m,_ as C}from"./BgOPsrZ5.js";import"./BqWQEYAq.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new s.Error().stack;r&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[r]="ad2bb511-40cd-432e-a487-4bc9807060a3",s._sentryDebugIdIdentifier="sentry-dbid-ad2bb511-40cd-432e-a487-4bc9807060a3")}catch{}})();const D={class:"max-w-6xl mx-auto px-4"},V={key:0,class:"pt-8 pb-2"},A={key:1,class:"flex justify-center py-4"},B={class:"aspect-w-16 aspect-h-9"},z={class:"o7-phone relative w-full"},E={class:"absolute inset-[12px] rounded-[36px] bg-black overflow-hidden"},N={class:"absolute inset-0"},j={key:2,class:"py-6"},q={class:"aspect-w-16 aspect-h-9"},P={class:"w-full overflow-hidden rounded-xl"},R=w({__name:"youtube-video",props:{element:{}},setup(s){const r=s,d=o(()=>r.element??r);function y(e){if(e){if(typeof e=="string")return e;if(Array.isArray(e)){const t=e[0];return(t==null?void 0:t.url)||(t==null?void 0:t.path)||(t==null?void 0:t.permalink)||(t==null?void 0:t.src)||void 0}return e.url||e.path||e.permalink||e.src||void 0}}const x=o(()=>{var t;const e=(t=d.value)==null?void 0:t.youtube_items;return Array.isArray(e)?e:[]}),l=o(()=>x.value[0]||null),p=o(()=>{var e;return y((e=l.value)==null?void 0:e.cover_photo)||""}),_=o(()=>{var e,t,h;return((t=(e=d.value)==null?void 0:e.header)==null?void 0:t.title)||((h=d.value)==null?void 0:h.title)||""}),c=o(()=>{var e;return((e=d.value)==null?void 0:e.background_color)==="dark"?"dark":"light"}),f=o(()=>c.value==="dark"?"bg-black":"bg-white"),g=o(()=>c.value==="dark"?"iphone-frame-dark":"iphone-frame-light"),k=o(()=>{var t;const e=(t=d.value)==null?void 0:t.show_in_phone;return typeof e=="boolean"?e:!0});return(e,t)=>(n(),i("section",{class:u(["py-12 lg:py-40",f.value])},[a("div",D,[_.value?(n(),i("div",V,[a("h3",{class:u(["text-left leading-tight font-semibold text-[28px] sm:text-4xl md:text-5xl lg:text-6xl lg:pb-[3rem]",c.value==="dark"?"text-white":"text-black"])},I(_.value),3)])):v("",!0),k.value?(n(),i("div",A,[a("div",B,[a("div",z,[a("div",{class:u(["absolute inset-0 rounded-[44px] shadow-2xl transition-colors duration-500",g.value])},null,2),a("div",E,[t[0]||(t[0]=a("div",{class:"o7-notch absolute z-50 top-1/2 -translate-y-1/2 left-0 ml-[8px] h-[120px] w-[26px] bg-black rounded-r-[18px] shadow-[2px_0_8px_rgba(0,0,0,0.4)]","aria-hidden":"true"},null,-1)),a("div",N,[l.value&&l.value.youtube_id?(n(),m(b,{key:0,index:0,"video-id":l.value.youtube_id||"","image-path":p.value},null,8,["video-id","image-path"])):v("",!0)])])])])])):(n(),i("div",j,[a("div",q,[a("div",P,[l.value&&l.value.youtube_id?(n(),m(b,{key:0,index:0,"video-id":l.value.youtube_id||"","image-path":p.value},null,8,["video-id","image-path"])):v("",!0)])])]))])],2))}}),F=C(R,[["__scopeId","data-v-67dc5ac7"]]);export{F as default}; 2//# sourceMappingURL=glmrB0wM.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.