1import{b as m,e as v,t as $}from"./DFiTElg1.js";import{o as n,h as s,k as o,r as k,n as c,b as H,w as f,a0 as a,q as d,t as _,a6 as V,c as u,a1 as S}from"./CcC3R_JF.js";const w={props:{buttonPosition:{type:String,default:"center"},visibleHeight:{type:[Number,String],default:50}},data:()=>({fullyVisible:!1}),computed:{containerHeight(){const t=this.$refs["rm-container"].clientHeight;return t?t*(Number(this.visibleHeight)/100):100}},mounted(){this.setHeight()},methods:{toggleSection(){this.fullyVisible=!this.fullyVisible,this.setHeight()},setHeight(){this.fullyVisible?this.$refs["rm-content"].style.height="auto":this.$refs["rm-content"].style.height=`${this.containerHeight}px`}}},C={ref:"rm-container",class:"read-more"},x={ref:"rm-content",class:"rm-content"},M={class:"rm-additional"};function N(t,h,e,b,g,r){const i=v;return n(),s("div",C,[o("div",x,[k(t.$slots,"default",{},void 0,!0)],512),o("div",M,[o("div",{class:c(["rm-overlay",{"rm-overlay--visible":t.fullyVisible}])},null,2),o("div",{class:c(["rm-actions",{[`rm-actions--${e.buttonPosition}`]:e.buttonPosition}])},[H(i,{id:"show-more-button",quaternary:"",onClick:V(r.toggleSection,["prevent"])},{default:f(()=>[t.fullyVisible?(n(),s(a,{key:0},[d(_(t.$t("buttons.showLess")),1)],64)):(n(),s(a,{key:1},[d(_(t.$t("buttons.showMore")),1)],64))]),_:1},8,["onClick"])],2)])],512)}const B=Object.assign(m(w,[["render",N],["__scopeId","data-v-fdd1ebb4"]]),{__name:"FnReadMore"}),j={props:{data:{type:Object,default:()=>({})},transformation:{type:String,default:""}}};function F(t,h,e,b,g,r){const i=$,p=B;return n(),u(p,{"visible-height":e.data.visible_height,"button-position":e.data.button_position},{default:f(()=>[(n(!0),s(a,null,S(e.data.components,(l,y)=>(n(),u(i,{key:y,type:l.acf_fc_layout,data:l,transformation:e.transformation},null,8,["type","data","transformation"]))),128))]),_:1},8,["visible-height","button-position"])}const R=Object.assign(m(j,[["render",F]]),{__name:"FnCmsReadMore"});export{R 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.