1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./xhdzfjPJ.js","./CVGoBl_5.js"])))=>i.map(i=>d[i]); 2(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:astra-oas-frontend":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`bf062f9a-33ef-4d17-916a-744775271a0a`,e._sentryDebugIdIdentifier=`sentry-dbid-bf062f9a-33ef-4d17-916a-744775271a0a`)}catch{}})();import{r as e}from"./CVGoBl_5.js";import{Jt as t,R as n,St as r,V as i,Wt as a,Y as o,b as s,d as c,f as l,j as u,m as d,mt as f,nt as p,p as m,u as h}from"./DKgyLr-x.js";import{t as g}from"./D7UzhVcj.js";import{r as _}from"./BV8FM6d5.js";import{n as v,t as y}from"./DEDSaPyO.js";import{v as b}from"./DHWUqggL.js";import{S as x,n as S}from"#entry";import{t as C}from"./CiXkt2fg.js";import{t as w}from"./TVa2B2Eu.js";import{t as T}from"./DJb-TLmV.js";var E={class:`section-header`},D={key:0,class:`wsc-stories__title`},O=[`id`],k=_(S({__name:`ContentBlocksIntegrationsWSCStories`,props:{anchor:{type:String,required:!1},background_color:{type:null,required:!1},content_type:{type:String,required:!0},data_source:{type:null,required:!1},player_content_type:{type:null,required:!1},title:{type:String,required:!1}},setup(_){let S=[`story`,`moment`,`video`],k=_,A=o(),j=x(),{consentDeclined:M}=v(),{error:N}=y(`integrations/wsc`),P=f(null),F=h(()=>{let e=k.player_content_type;return e&&S.includes(e)?e:`story`}),I=h(()=>F.value===`video`?`row-rectangle-horizontal`:`row-rectangle`),L=h(()=>k.content_type===`circle`?`row-circle`:I.value),R=h(()=>k.data_source?.trim()??``),z=h(()=>[`wsc-stories--layout--${k.content_type}`,`wsc-stories--player--${F.value}`]),B=e=>{switch(F.value){case`moment`:return e(L.value,`moment`);case`video`:return e(L.value,`video`);case`story`:return e(L.value,`story`)}},V=async()=>{if(!R.value)return;let{DataSourceBuilder:t,Theme:n,WidgetRowView:r}=await g(async()=>{let{DataSourceBuilder:t,Theme:n,WidgetRowView:r}=await import(`./xhdzfjPJ.js`).then(t=>e(t.default));return{DataSourceBuilder:t,Theme:n,WidgetRowView:r}},__vite__mapDeps([0,1]),import.meta.url);P.value&&r(A,{dataSource:t().labels({labels:R.value}),contentType:F.value,theme:B(n)})};return n(async()=>{await b(j).toBe(!0),await u(),await V().catch(e=>{N(`WSC Stories widget initialization error:`,e)})}),(e,n)=>{let o=T,u=C,f=w;return r(j)||r(M)?(i(),l(f,{key:0,id:_.anchor,as:`section`,color:_.background_color,class:a([`wsc-stories`,z.value])},{default:p(()=>[s(u,null,{default:p(()=>[c(`section`,E,[_.title?(i(),d(`h2`,D,t(_.title),1)):m(``,!0)]),r(M)?(i(),l(o,{key:0,class:`wsc-stories__consent-placeholder`})):(i(),d(`div`,{key:1,id:r(A),ref_key:`container`,ref:P,class:`wsc-stories__view`},null,8,O))]),_:1})]),_:1},8,[`id`,`color`,`class`])):m(``,!0)}}},[[`__scopeId`,`data-v-92c45f0d`]])),A={};function j(e,t){let n=k;return i(),l(n)}var M=Object.assign(S(A,[[`render`,j]]),{__name:`ContentBlocksIntegrationsWSCStoriesWrapper`});export{M 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.