import"./vue_common-DLc3UGkQ.js";import{V as i}from"./vue-match-heights-Cb0o5Pgm.js";import{V as o,E as n}from"./EventListing-BEaS3ipJ.js";import{m as c}from"./mixins-C42ajhct.js";import{n as l}from"./AlertComponent-CZRUfFVd.js";import"./_commonjsHelpers-D6-XlEtG.js";Vue.prototype.base_url=window.base_url;const d={mixins:[c],components:{VueSlickCarousel:o},props:["banners","is_logged","is_customer","is_organiser","is_admin","is_multi_vendor","demo_mode","check_session","s_host"],data(){return{check:0,route,dir:!1}},methods:{getRoute(s){return route(s)},verifyD(){this.check=this.check_session?1:0,this.check==0&&axios.post("https://cblicense.classiebit.com/verifyd",{domain:window.location.hostname,s_host:this.s_host}).then(s=>{typeof s.data.status<"u"&&s.data.status!=0?this.checkSession():window.location.href=base_url+"/404"}).catch(s=>{})},checkSession(){axios.post(route("eventmie.check_session")).then(s=>{}).catch(s=>{})},getDirection(){document.documentElement.dir=="rtl"?this.dir=!0:this.dir=!1}},mounted(){this.verifyD(),this.getDirection(),this.hideSkeleton(),console.log(document.documentElement.dir)}};var m=function(){var t=this,e=t._self._c;return e("VueSlickCarousel",{attrs:{autoplay:!0,autoplaySpeed:3e3,arrows:!0,dots:!0,infinite:!0,slidesToShow:1,paginationEnabled:!1,rtl:t.dir}},t._l(t.banners,function(a,r){return e("div",{key:r,class:"lgx-item-common",attrs:{item:a,index:r}},[e("section",[e("div",{staticClass:"container-fluid p-0"},[e("div",{staticClass:"cover-img-bg",style:{backgroundImage:`url(${t.getImageUrl(a.image)})`}},[a.button_url!=null?e("a",{attrs:{href:a.button_url}},[e("img",{staticClass:"cover-img prevent_draggable",attrs:{src:t.getImageUrl(a.image),alt:a.title}})]):e("img",{staticClass:"cover-img prevent_draggable",attrs:{src:t.getImageUrl(a.image),alt:a.title}}),t.demo_mode?e("div",{staticClass:"banner-slider-form"},[e("h1",{staticClass:"text-white mb-0 fw-bold display-5"},[t._v("Eventmie Pro 3.0")]),e("p",{staticClass:"fw-bold text-white"},[t._v("Smarter, Faster, Stronger Event Management. Perfected by AI")]),e("div",{staticClass:"d-flex mt-2"},[e("a",{staticClass:"btn btn-dark border border-1",attrs:{target:"_blank",href:"https://eventmie-pro-docs.classiebit.com"}},[e("i",{staticClass:"fas fa-book"}),t._v(" Get Started")]),t._v("   ")]),e("div",{staticClass:"d-flex mt-2 d-none d-sm-block"},[e("a",{staticClass:"btn btn-info text-white border border-1",attrs:{target:"_blank",href:"https://eventmie-pro-docs.classiebit.com/docs/3.0/changelog/changes"}},[e("i",{staticClass:"fas fa-wand-magic-sparkles"}),t._v(" New in v3.0")])])]):t._e()])])])])}),0)},u=[],h=l(d,m,u,!1,null,null);const _=h.exports;Vue.use(i);window.app=new Vue({el:"#eventmie_app",components:{EventListing:n,BannerSlider:_}});
