1import{b as h,e as D,f as T,K as V,g as k,a1 as P,q as w,N as U,dv as F,a4 as O,aZ as x,r as o,s as l,v as t,A as s,aC as A,a$ as I,Q as g,V as p,bm as m,R,bk as X,a8 as z,D as n,G as S}from"./ByjodPhJ.js";import{b as H}from"./B9HbF4tI.js";const B=["data-scroll-class"],G={"g-scroll-trigger-item":""},q={class:"media-2xl"},$=["data-scroll-class"],j={class:"title"},K=["data-scroll-class"],Q=["innerHTML"],Z=h({__name:"index",props:{id:{},type:{default:""},data:{default:null},blockIndex:{default:0}},emits:["widget:loaded","widget:not-exist","widget:empty"],setup(f,{emit:C}){const{$getApiTMsg:J}=D(),v=T();V();const{screenResizeState:y}=z(),b=n(),c=H(f),{type:ee,data:r,blockIndex:se,blockUniqueId:te}=c,M=C;k();const _=S(()=>r.value?.field_main_title),L=S(()=>r.value?.field_content),a=n(),d=n(!1),i=n(!1),E=()=>{if(!a.value)return;const{offsetHeight:e,scrollHeight:N}=a.value;i.value=N>e},W=async()=>{d.value=!0,i.value=!1};return P(()=>y.resizeComplete,e=>{e&&E()}),w(async()=>{await U(),F({container:a.value}),E(),M("widget:loaded",c)}),O(()=>{}),(e,N)=>{const u=x("g-scroll-trigger");return o(),l("div",{class:"widget--cinema_synopsis",ref_key:"sectionEl",ref:b,"data-scroll-class":"CLASSNAME_IN_VIEW"in e?e.CLASSNAME_IN_VIEW:s(X)},[t("div",G,[t("div",q,[s(_)?A((o(),l("div",{key:0,class:"title-box","data-scroll-class":"CLASSNAME_IN_VIEW_TEXT_FADEIN_UP"in e?e.CLASSNAME_IN_VIEW_TEXT_FADEIN_UP:s(I)},[t("h2",j,[t("span",null,g(s(_)),1)])],8,$)),[[u,{toggleClassOnlyEnterClassName:"CLASSNAME_IN_VIEW_TEXT_FADEIN_UP"in e?e.CLASSNAME_IN_VIEW_TEXT_FADEIN_UP:s(I),toggleClassOnlyEnter:!0}]]):p("",!0),A((o(),l("div",{class:"description-box","data-scroll-class":"CLASSNAME_IN_VIEW_FADEIN_UP"in e?e.CLASSNAME_IN_VIEW_FADEIN_UP:s(m),style:{"--inview-y":"40px"}},[t("div",null,[t("div",{ref_key:"descEl",ref:a,class:R(["description cmsEditor cmsEditorTable cmsEditorLineClamp",{expanded:s(d)}]),innerHTML:s(L)?.processed},null,10,Q),s(i)?(o(),l("button",{key:0,type:"button",class:"btn-readmore",onClick:W},g(s(v).globalSetting?.field_default_read_more_label),1)):p("",!0)])],8,K)),[[u,{toggleClassOnlyEnterClassName:"CLASSNAME_IN_VIEW_FADEIN_UP"in e?e.CLASSNAME_IN_VIEW_FADEIN_UP:s(m),toggleClassOnlyEnter:!0}]])])])],8,B)}}}),le=Object.assign(Z,{__name:"WidgetsWidgetCinemaSynopsisWidget"});export{le 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.