1import{r as n,aQ as x,p as j,aY as d,a5 as f,q as g,eA as h,j as t,R as C,aN as P}from"./index-CNagSlXC.js";import y from"./NotFoundPage-index-CuNpctsQ.js";import{D as R}from"./DiscountBanner-index-7lCIhF1l.js";import{P as v,f as H,m as N,r as b,c as k,b as D}from"./plugins-index-BGYZh34t.js";import{u as E}from"./web-namespaces-index-B2FhlbSH.js";import"./StarsBackground-DpZVuZXz.js";import"./starsBackground-C-35Oakf.js";import"./DiscountBanner-styled-B2Rv6U0t.js";import"./VideoPageQuery-C1E57atT.js";import"./ArticleCardContent-BVliUN3a.js";import"./EmbedPlayer-xc-MBBbH.js";import"./Error-D7UaxmAi.js";import"./Whitelist-CXE_gOy0.js";import"./connect-B5-6MHo9.js";import"./loadable-BUkpCPp0.js";import"./LoadingCircle-DpTAWnMM.js";import"./molecules-intl-CGpXOgec.js";import"./PublisherDropzone-intl-D6kZyBaS.js";import"./Poster-CnG32-YI.js";import"./AdWrappedPlayer-CUVrIjuH.js";import"./locales-DVoF7sBb.js";import"./deepmerge-dist-cjs-i1gyAUHG.js";import"./VideoCard-index-dd3wkwNW.js";import"./Card-index-jRdv5hb2.js";import"./errors-DecWiRMw.js";import"./IconMenu-tkcufuy_.js";import"./WatchlistMenu-index-CznJcH5-.js";import"./ProducerWatchlists-intl-BXWkM20k.js";import"./ProducerPodcast-BwrgzFd1.js";import"./Tag-index-BqpvIaRb.js";import"./ProducerVideos-CWM06-G5.js";import"./FormLabel-index-B2le3SNn.js";import"./CategorySelection-styled-BV6E1YrI.js";import"./Input-index-CiBry2FD.js";import"./ProducerWatchlists-styled-CM97UxDW.js";import"./assetAttributes-C7jPswTp.js";import"./TextArea-index-DV3nthrt.js";import"./MultilingualTabs-index-C1Sto9QQ.js";import"./LanguageSelection-index-CBpRQsr1.js";import"./useDebounce-index-CEXMPes-.js";import"./Alugha2GoVideoMeta-intl-BF2qUw12.js";import"./isEqual-VV6axsoc.js";import"./_baseIsEqual-CbgBRosw.js";import"./_setToArray-DMMUXyzd.js";import"./ProducerWatchlist-CskToD9v.js";import"./addVideoToWatchlist-Bzn6STmp.js";import"./InfoBar-index-R7nhk8CB.js";import"./IconWarning-DDLdbt1r.js";import"./IconLock-CFyzBnDF.js";import"./SmartTime-index-BEKcZBD3.js";import"./IconLaunch-BZe1sJH3.js";import"./VideoInfoCollaborationsQuery-DqtP5P2c.js";import"./Comment-index-COF3GxjR.js";import"./Badge-index-T3DB0zZd.js";import"./ContactForm-index-B1LB4UUt.js";import"./customerData-BGtEJCBa.js";import"./ContactForm-intl-purNclH1.js";import"./CountrySelection-index-B4gjtbA8.js";import"./CheckBox-CW170eiZ.js";import"./AnimatedButton.styled-CMZ4Mm8E.js";import"./PricingPageDetailsTable-CbGXwcJn.js";import"./PackageColumn-CtQNP4z1.js";import"./PricingPage-intl-BLRRDS88.js";import"./Elements-intl-DKaDo41Q.js";import"./ProjectOverview-intl-BsiKiFjt.js";import"./ProducerPage-intl-CE2p6d1k.js";import"./ErrorPicture-DRLL-zOC.js";import"./SwitchButton-index-CQKlQrea.js";import"./react-intersection-observer.m-DG9EqUKj.js";import"./PricingPage-styled-B9rkBXan.js";import"./gridBackground-CrXQ4BPa.js";import"./PlanCheckoutSummary-intl-Wi2zzhQr.js";import"./PlanDetail-ltlyHpOT.js";const L=({rawHtml:s})=>{const i=n.useContext(v);return n.useMemo(()=>E().use(function(){this.parser=(m,r)=>H(i(r.toString()))}).use(function(){return m=>N(m,r=>r.type==="element"?D(r):r)}).use(b,{...x,components:k}),[i]).processSync(s).result},Vt=s=>{const i=j(),e=d(),p=f(),m=g(),r=s.slug||p.slug||"",o=h(i.locale,r);if(!o)return t.jsx(y,{});const a=m.toCmsPage(r);if(e.pathname!==a)return t.jsx(C,{to:a});const c=m.toCmsPage(r,!0);return t.jsxs(t.Fragment,{children:[t.jsx(R,{}),t.jsxs("div",{className:"alugha-cms",children:[t.jsxs(P,{children:[t.jsx("title",{children:o.title}),t.jsx("link",{rel:"canonical",href:c}),o.meta.map((l,u)=>t.jsx("meta",{...l},u))]}),t.jsx("div",{dangerouslySetInnerHTML:{__html:o.head}}),t.jsx("div",{className:o.classes,children:t.jsx(L,{rawHtml:o.body})})]})]})};export{Vt 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.