1import w from"./ShareButton.dd85af51.js";import{o as t,c as i,j as n,y as s,F as l,i as v,r as g,t as o,f as c,b as y,z as d,Z as f}from"./entry.467af7bd.js";const _={key:0,class:"grid-container"},F=s("div",{class:"grid-x grid-margin-x"},[s("div",{class:"small-12 cell"},[s("div",{class:"utl-heading-beta"}," WYSIWYG Content ")])],-1),k=[F],b={class:"grid-container"},I={class:"grid-x grid-margin-x"},T={class:"small-12 medium-7 large-7 cell"},S=["innerHTML"],q={key:1,class:"c-wysiwyg__tags"},L={class:"small-12 medium-5 large-offset-1 large-4 cell"},B={class:"c-wysiwyg__form-wrapper"},x={key:0,class:"c-wysiwyg__form-title"},C={key:1,class:"c-wysiwyg__form-title"},D={key:2,class:"c-wysiwyg__event-details"},H={key:0,class:"c-wysiwyg__event-detail"},M=s("div",{class:"c-wysiwyg__event-detail-title"}," Date ",-1),N={key:1,class:"c-wysiwyg__event-detail"},V=s("div",{class:"c-wysiwyg__event-detail-title"}," Time ",-1),j={key:2,class:"c-wysiwyg__event-detail"},E=s("div",{class:"c-wysiwyg__event-detail-title"}," Location ",-1),W={key:0,class:"small-12 medium-2 large-2 cell"},$=["innerHTML"],z={key:0,class:"c-wysiwyg__tags"},O={__name:"Wysiwyg",props:{eventDate:{type:String,required:!1},eventTime:{type:String,required:!1},eventLocation:{type:String,required:!1},hubspotFormId:{type:String,required:!1},content:{type:String,required:!0},tags:{type:Object,required:!1},inlineForm:{showInlineForm:{type:Boolean,required:!1},hubspotFormId:{type:String,required:!1},formTitle:{type:String,required:!1},hideEventInformation:{type:Boolean,required:!1}},settings:{theme:{type:String,required:!1},showSharingLinks:{type:Boolean,required:!0},showTags:{type:Boolean,required:!1},showComponentTitle:{type:Boolean,required:!0},spacing:{type:String,required:!0}}},setup(e){return(m,P)=>{const u=w,h=f;return t(),i("section",{class:d(["o-flexible-module",{"o-flexible-module--flush":e.settings.spacing=="flush"}])},[e.settings.showComponentTitle?(t(),i("div",_,k)):n("",!0),s("div",{class:d(["c-wysiwyg js-wysiwyg",[`c-wysiwyg--${e.settings.theme}`,{"has-event-booking-form":e.inlineForm.showInlineForm==!0&&(e.hubspotFormId||e.inlineForm.hubspotFormId)}]])},[s("div",b,[s("div",I,[e.inlineForm.showInlineForm==!0&&(e.hubspotFormId||e.inlineForm.hubspotFormId)?(t(),i(l,{key:0},[s("div",T,[e.settings.showSharingLinks==!0?(t(),v(u,{key:0,"share-title":`${m.title||"Page"} - Cisilion`},null,8,["share-title"])):n("",!0),s("div",{class:"c-wysiwyg__content s-wp-cms",innerHTML:e.content},null,8,S),e.tags&&e.settings.showTags==!0?(t(),i("div",q,[(t(!0),i(l,null,g(e.tags,(a,r)=>(t(),i("div",{class:"c-tag",key:r},o(a.name),1))),128))])):n("",!0)]),s("div",L,[s("div",B,[e.inlineForm.formTitle?(t(),i("h3",x,o(e.inlineForm.formTitle),1)):(t(),i("h3",C," Book event ")),e.inlineForm.hideEventInformation?n("",!0):(t(),i("div",D,[e.eventDate?(t(),i("div",H,[M,c(" "+o(e.eventDate),1)])):n("",!0),e.eventTime?(t(),i("div",N,[V,c(" "+o(e.eventTime),1)])):n("",!0),e.eventLocation?(t(),i("div",j,[E,c(" "+o(e.eventLocation),1)])):n("",!0)])),y(h,{hubsId:e.inlineForm.hubspotFormId?e.inlineForm.hubspotFormId:e.hubspotFormId},null,8,["hubsId"])])])],64)):(t(),i(l,{key:1},[e.settings.showSharingLinks==!0?(t(),i("div",W,[y(u,{"share-title":`${m.title||"Page"} - Cisilion`},null,8,["share-title"])])):n("",!0),s("div",{class:d(["small-12 medium-8 large-8 cell",{"medium-offset-1 large-offset-2":e.settings.showSharingLinks!=!0}])},[s("div",{class:"c-wysiwyg__content s-wp-cms",innerHTML:e.content},null,8,$),e.tags&&e.settings.showTags==!0?(t(),i("div",z,[(t(!0),i(l,null,g(e.tags,(a,r)=>(t(),i("div",{class:"c-tag",key:r},o(a.name),1))),128))])):n("",!0)],2)],64))])])],2)],2)}}};export{O as default}; 2//# sourceMappingURL=Wysiwyg.433dd08c.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.