PageSourceSearch

https://ai.leadslide.com/js/1374.dc32fb40.js

js leadslide.com collected 2026-10-02 06:22:41 UTC 50,304 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunktest_vuetify"]=self["webpackChunktest_vuetify"]||[]).push([[1374,3638],{4573:function(t,e,i){i.d(e,{Z:function(){return v}});var s=i(3431),o=i(5424),a=i(2418),l=i(7024),n=i(7310),r=i(9759),c=i(7894),d=i(1737),m=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:!0===t.is_visible,expression:"is_visible === true"}],staticClass:"button-bar-new text-center"},[t.text_color||t.background_color?e("div",{staticClass:"color_pallet pa-2"},[!t.item.outlined&&t.background_color?e("div",{staticClass:"background"},[e(n.Z,{staticClass:"mx-auto",attrs:{dark:"",flat:"","hide-canvas":!1,"hide-inputs":!0,"hide-mode-switch":!0,"canvas-height":140,"show-swatches":!1},model:{value:t.item.color,callback:function(e){t.$set(t.item,"color",e)},expression:"item.color"}})],1):t._e(),t.text_color?e("div",{staticClass:"text"},[e(n.Z,{staticClass:"mx-auto",attrs:{dark:"",flat:"","hide-canvas":!1,"hide-inputs":!0,"hide-mode-switch":!0,"canvas-height":140,"show-swatches":!1},model:{value:t.item.text_color,callback:function(e){t.$set(t.item,"text_color",e)},expression:"item.text_color"}})],1):t._e()]):t._e(),t.config?e("div",{staticClass:"config-opts"},[e(c.Z,{staticClass:"config-inner"},[e(l.Z,{staticClass:"pa-0 mh-25",attrs:{cols:"12",xs:"6",sm:"6",md:"6"}},[e(a.Z,{staticClass:"ma-0 pa-0",attrs:{small:"",dark:"",label:"Outlined"},model:{value:t.item.outlined,callback:function(e){t.$set(t.item,"outlined",e)},expression:"item.outlined"}})],1),e(l.Z,{staticClass:"pa-0 mh-25",attrs:{cols:"12",xs:"6",sm:"6",md:"6"}},[e(a.Z,{staticClass:"ma-0 pa-0",attrs:{dark:"",label:"Block"},model:{value:t.item.block,callback:function(e){t.$set(t.item,"block",e)},expression:"item.block"}})],1),e(l.Z,{staticClass:"pa-0 mh-25",attrs:{cols:"12",xs:"6",sm:"6",md:"6"}},[e(a.Z,{staticClass:"ma-0 pa-0",attrs:{dark:"",label:"Small"},model:{value:t.item.small,callback:function(e){t.$set(t.item,"small",e)},expression:"item.small"}})],1),e(l.Z,{staticClass:"pa-0 mh-25",attrs:{cols:"12",xs:"6",sm:"6",md:"6"}},[e(a.Z,{staticClass:"ma-0 pa-0",attrs:{dark:"",label:"Large"},model:{value:t.item.large,callback:function(e){t.$set(t.item,"large",e)},expression:"item.large"}})],1),e(l.Z,{staticClass:"pa-0 mh-25",attrs:{cols:"12",xs:"6",sm:"6",md:"6"}},[e(a.Z,{staticClass:"ma-0 pa-0",attrs:{dark:"",label:"FAB"},model:{value:t.item.fab,callback:function(e){t.$set(t.item,"fab",e)},expression:"item.fab"}})],1),e(l.Z,{staticClass:"pa-0 mh-25",attrs:{cols:"12",xs:"6",sm:"6",md:"6"}},[e(a.Z,{staticClass:"ma-0 pa-0",attrs:{dark:"",label:"Text"},model:{value:t.item.text,callback:function(e){t.$set(t.item,"text",e)},expression:"item.text"}})],1),e(l.Z,{staticClass:"pa-0 mh-25",attrs:{cols:"12",xs:"6",sm:"6",md:"6"}},[e(a.Z,{staticClass:"ma-0 pa-0",attrs:{dark:"",label:"Round"},model:{value:t.item.rounded,callback:function(e){t.$set(t.item,"rounded",e)},expression:"item.rounded"}})],1),e(l.Z,{staticClass:"pa-0 text-center mh-25",attrs:{cols:"6",xs:"6",sm:"6",md:"6"}},[e(s.Z,{attrs:{color:"blue-grey darken-4"},on:{click:function(e){return t.openIconModal(t.item)}}},[t.item.icon&&""!==t.item.item?e(r.Z,{staticClass:"white--text"},[t._v(" "+t._s(t.item.icon)+" ")]):t._e(),t.item.icon&&""!==t.item.item?t._e():e("span",{staticClass:"pl-2 white--text"},[t._v(" No Icon ")])],1)],1)],1)],1):t._e(),t.link_opts?e("div",{staticClass:"link-opts pa-4"},[e(c.Z,{staticClass:"pa-2 config-inner"},[e(l.Z,{staticClass:"pa-0 mh-25",attrs:{cols:"12",xs:"12",sm:"12",md:"12"}},[e(d.Z,{attrs:{counter:100,dark:"",label:"Value"},model:{value:t.item.value,callback:function(e){t.$set(t.item,"value",e)},expression:"item.value"}})],1),e(l.Z,{staticClass:"pa-0 mh-25",attrs:{cols:"12",xs:"12",sm:"12",md:"12"}},[e(d.Z,{attrs:{counter:100,dark:"",label:"Link"},model:{value:t.item.href,callback:function(e){t.$set(t.item,"href",e)},expression:"item.href"}})],1)],1)],1):t._e(),t.config_color?e("div",{staticClass:"color-opts"},[e(c.Z,{staticClass:"pl-6 pt-4 pr-4 config-inner button-inner-config"},[e(l.Z,{directives:[{name:"show",rawName:"v-show",value:!t.item.outlined,expression:"!item.outlined"}],staticClass:"pa-0 mh-25",attrs:{cols:"12",xs:"3",sm:"3",md:"3"}},[e(s.Z,{staticClass:"mt-3",attrs:{color:t.item.color,fab:"",rounded:"",small:""},on:{click:function(e){return t.switch_opt("bck_col")}}})],1),e(l.Z,{directives:[{name:"show",rawName:"v-show",value:!t.item.outlined,expression:"!item.outlined"}],staticClass:"pa-0 mh-25 text-left pt-2 pl-2",attrs:{cols:"12",xs:"9",sm:"9",md:"9"}},[e(d.Z,{staticClass:"white--text",attrs:{color:"white",label:"Backgroun
1d Color"},model:{value:t.item.color,callback:function(e){t.$set(t.item,"color",e)},expression:"item.color"}})],1),e(l.Z,{staticClass:"pa-0 mh-25",attrs:{cols:"12",xs:"3",sm:"3",md:"3"}},[e(s.Z,{staticClass:"mt-3",attrs:{fab:"",rounded:"",small:"",color:t.item.text_color},on:{click:function(e){return t.switch_opt("txt_col")}}})],1),e(l.Z,{staticClass:"pa-0 mh-25 text-left pt-2 pl-2",attrs:{cols:"12",xs:"9",sm:"9",md:"9"}},[e(d.Z,{staticClass:"white--text",attrs:{color:"white",label:"Text Color"},model:{value:t.item.text_color,callback:function(e){t.$set(t.item,"text_color",e)},expression:"item.text_color"}})],1)],1)],1):t._e(),e(o.Z,{attrs:{dark:""}},[e(s.Z,{staticClass:"white--text",attrs:{color:"#263238"},on:{click:function(e){return t.switch_opt("color")}}},[e(r.Z,[t._v(" mdi-palette-swatch ")])],1),e(s.Z,{staticClass:"white--text",attrs:{color:"#263238"},on:{click:function(e){return t.switch_opt("link")}}},[e(r.Z,[t._v(" mdi-link ")])],1),e(s.Z,{attrs:{color:"#263238",dark:""},on:{click:function(e){return t.switch_opt("conf")}}},[e(r.Z,{staticClass:"white--text"},[t._v(" mdi-cogs ")])],1),e(s.Z,{staticClass:"white--text",attrs:{color:"#263238"},on:{click:t.return_data}},[e(r.Z,[t._v(" mdi-close-box ")])],1)],1)],1)},h=[],u=i(9288),p={components:{},props:{is_visible:Boolean,item:Object,return_data:Function},data(){return{icon_select:!1,config:!1,link_opts:!1,config_link:!1,config_color:!1,color_pallet:!1,text_color:!1,background_color:!1,button_icon_dialog:!1,icons:[{id:""},{id:"mdi-facebook"},{id:"mdi-facebook-box"},{id:"mdi-twitter"},{id:"mdi-twitter-box"},{id:"mdi-twitter-circle"},{id:"mdi-linkedin"},{id:"mdi-linkedin-box"},{id:"mdi-arrow-all"},{id:"mdi-arrow-bottom-left"},{id:"mdi-arrow-bottom-left-bold-outline"},{id:"mdi-arrow-bottom-left-thick"},{id:"mdi-arrow-bottom-right"},{id:"mdi-arrow-bottom-right-bold-outline"},{id:"mdi-arrow-bottom-right-thick"},{id:"mdi-arrow-collapse"},{id:"mdi-arrow-down-bold-outline"},{id:"mdi-arrow-down-box"},{id:"mdi-arrow-down-circle"},{id:"mdi-arrow-down-thick"},{id:"mdi-arrow-left"},{id:"mdi-arrow-left-bold"},{id:"mdi-arrow-left-bold-box"},{id:"mdi-arrow-left-bold-circle"},{id:"mdi-arrow-left-bold-outline"},{id:"mdi-arrow-left-thick"},{id:"mdi-arrow-right"},{id:"mdi-arrow-right-bold"},{id:"mdi-arrow-up"},{id:"mdi-arrow-up-bold"},{id:"mdi-arrow-up-bold-outline"},{id:"mdi-arrow-up-thick"},{id:"mdi-home"},{id:"mdi-fast-forward"},{id:"mdi-fast-forward-outline"},{id:"mdi-send"},{id:"mdi-cogs"},{id:"mdi-lock"},{id:"mdi-feather"},{id:"mdi-account"}]}},methods:{openIconModal:t=>{let e={active:!0,item:t};u.Z.dispatch("setIconBlock",e)},close_icon_dialog(){this.button_icon_dialog=!1},switch_opt(t){switch(t){case"conf":this.text_color=!1,this.background_color=!1,this.config=!this.config,this.link_opts=!1,this.config_color=!1;break;case"link":this.text_color=!1,this.background_color=!1,this.config_color=!1,this.config=!1,this.link_opts=!this.link_opts;break;case"color":this.text_color=!1,this.background_color=!1,this.config=!1,this.link_opts=!1,this.config_color=!this.config_color;break;case"txt_col":this.background_color=!1,this.text_color=!this.text_color;break;case"bck_col":this.text_color=!1,this.background_color=!this.background_color;break}}}},g=p,b=i(1001),_=(0,b.Z)(g,m,h,!1,null,null,null),v=_.exports},4699:function(t,e,i){i.r(e),i.d(e,{default:function(){return Ke}});var s=i(1303),o=function(){var t=this,e=t._self._c;return t.campaign.steps?e(s.Z,{staticClass:"design-wrapper page",attrs:{height:"100%"}},[e("campaigns-save-bar"),e(s.Z,{staticClass:"edit-wrapper-outer no-radius elevation-0"},[e("page")],1)],1):t._e()},a=[],l=i(6835),n=i(3431),r=i(4702),c=i(9759),d=i(8978),m=i(1781),h=i(827),u=i(1206),p=function(){var t=this,e=t._self._c;return e("div",{staticClass:"edit-page-wrapper ls-edit-wrap"},[e("div",{},[e("campaigns-config-size")],1),t.campaign.steps[0]?e("div",{ref:"lsPage",attrs:{id:"leadslide-page-edit"}},[e("blocks-outer-block",{attrs:{page:t.campaign.steps[0],save_block:t.save_block,save_page:t.save_page}}),e(u.Z,{attrs:{fixed:"",right:"","hide-overlay":""},model:{value:t.show_drawer,callback:function(e){t.show_drawer=e},expression:"show_drawer"}},[e(m.Z,[e(h.km,[e(h.V9,{staticClass:"title"},[t._v(" LeadSlide Blocks ")]),e(h.oZ,[t._v(" Click and Slide blocks onto page ")])],1)],1),e(r.Z),e("ul",{attrs:{id:"block-list"}},[e("draggable",{staticClass:"list-group",attrs:{list:t.outer_blocks,group:{name:"blocks",pull:"clone",put:!1}},on:{change:t.log}},t._l(t.outer_blocks,(function(t,i){return e("li",{staticClass:"outer-block-wrapper outer-block"},[e(d.Z,{staticClass:"ma-auto",attrs:{width:"200px",src:"/"+t.block_image}})],1)})),0)],1)],1),e(n.Z,{staticClass:"add_outer_block",attrs:{color:"light-blue lighten-1 white--text",small:"",rounded:"",fab:""},on:{click:function(e){return t.load_drawer(!!t.show_drawer)}}},[t.show_drawer?t._e():e(c.Z,[t._v(" mdi-plus ")]),t.show_drawer?e(c.Z,[t._v(" mdi-minus ")]):t._e()],1)],1):t._e()])},g=[],b=i(629),_=i(9980),v=i.n(_),f=i(1819),k=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-wrapper"},[!t.outerBlock.active&&t.loaded?e(f.Z,{staticClass:"pr-0 pl-0",attrs:{fluid:""}},[e("ul",{staticClass:"ob-designer"},[e("draggable",{attrs:{group:"blocks",handle:".handle"},model:{value:t.page.blocks,callback:function(e){t.$set(t.page,"blocks",e)},expression:"page.blocks"}},t._l(t.page.blocks,(function(i,o){return e("li",{staticClass:"outer-block-wrapper outer-block",class:{has_background:i.using_image,"parallax-background":i.parallax},style:i.using_image?!0===i.image_overlay?"background: linear-gradient( "+i.image_overlay_color+", "+i.image_overlay_color+" ), url('"+i.background_image+"');":"background: url('"+i.background_image+"');":"background-color:"+i.color+";"},[e("blocks-options-outer-block",{attrs:{block:i,index:o,blocks:t.page.blocks}}),i.container?e(f.Z,{class:[i.pt?"pt-"+i.pt:"",i.pb?" pb-"+i.pb:"",i.mt?" mt-"+i.mt:"",i.mb?" mb-"+i.mb:""]},[e(s.Z,{attrs:{color:"transparent",flat:"",height:i.height<1?"auto":i.height}},[e("blocks-inner-block",{attrs:{block:i,align:i.align,justify:i.justify,block_index:o,blocks:i.inner_blocks}})],1)],1):t._e(),i.container?t._e():e("div",{class:[i.pt?"pt-"+i.pt:"",i.pb?" pb-"+i.pb:"",i.mt?" mt-"+i.mt:"",i.mb?" mb-"+i.mb:""]},[e(s.Z,{attrs:{color:"transparent",height:i.height<1?"auto":i.height,flat:""}},[e("blocks-inner-block",{attrs:{block:i,align:i.align,justify:i.justify,block_index:o,blocks:i.inner_blocks}})],1)],1)],1)})),0)],1)]):t._e()],1)},x=[],Z=i(5195),w=i(5424),y=i(8760),C=function(){var t=this,e=t._self._c;return e("div",{staticClass:"outer-block-options"},[e(w.Z,{attrs:{dark:""}},[e(y.Z,{attrs:{right:""},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e(n.Z,t._g(t._b({attrs:{icon:"",color:"blue-grey darken-4"},on:{click:function(e){return t.open_modal(t.block,t.index)}}},"v-btn",s,!1),i),[e(c.Z,[t._v("mdi-pencil")])],1)]}}])},[e("span",[t._v("Edit")])]),e(y.Z,{attrs:{right:""},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e(n.Z,t._g(t._b({staticClass:"handle",attrs:{color:"blue-grey darken-4"}},"v-btn",s,!1),i),[e(c.Z,[t._v(" mdi-cursor-move ")])],1)]}}])},[e("span",[t._v("Hold down and move block")])]),e(y.Z,{attrs:{right:""},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e(n.Z,t._g(t._b({attrs:{color:"blue-grey darken-4"},on:{click:function(e){return t.clone_block(t.block)}}},"v-btn",s,!1),i),[e(c.Z,[t._v(" mdi-transfer ")])],1)]}}])},[e("span",[t._v("Clone Block")])]),e(y.Z,{attrs:{right:""},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e(n.Z,t._g(t._b({attrs:{color:"blue-grey darken-4"},on:{click:function(e){return t.delete_outer_block(t.block,t.index)}}},"v-btn",s,!1),i),[e(c.Z,[t._v("mdi-delete")])],1)]}}])},[e("span",[t._v("Delete current block")])])],1)],1)},B=[],$={props:{block:Object,blocks:Array,index:Number},components:{},computed:{},data(){return{show_model:!1}},methods:{open_modal(t,e){let i={active:!0,item:t,index:e,top:document.documentElement.scrollTop||document.body.scrollTop};this.$store.dispatch("setOuterBlock",i)},clone_block(t){this.$store.dispatch("cloneCampaignBlock",{block:t,index:this.index})},save_outer_options(){this.show_model=!1},close_outer_options(){this.show_model=!1},delete_outer_block(t,e){confirm("Are you sure you wish to delete this block?")&&this.$store.dispatch("deleteC
1ampaignBlock",{step:0,index:e}),console.log("delete")}}},S=$,A=i(1001),O=(0,A.Z)(S,C,B,!1,null,null,null),M=O.exports,F=i(5255),I=i(7024),T=i(7894),j=function(){var t=this,e=t._self._c;return e(T.Z,{staticClass:"testingheight",style:t.block.height<1?"height: auto;":"height:"+t.block.height+"px",attrs:{align:t.align,justify:t.justify}},t._l(t.blocks,(function(i,o){return e(I.Z,{class:"offset-sm-"+i.sm_offset+" offset-md-"+i.md_offset+" offset-lg-"+i.lg_offset,staticStyle:{position:"relative"},style:i.stretch?"height:100%; background-color:"+i.color+";":"",attrs:{cols:"12",sm:i.sm,md:i.md,lg:i.lg}},[i.block_contents.length&&"list"!==i.type?e("div",{staticClass:"ai-btn--wrapper"},[e(y.Z,{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:s}){return[e(n.Z,t._g({staticStyle:{height:"28px",width:"28px"},attrs:{color:"blue",fab:"",small:""},on:{click:function(e){return t.setAiModel(i,t.block_index,o)}}},s),[e("span",{staticClass:"material-symbols-outlined white--text"},[t._v(" cognition ")])])]}}],null,!0)},[e("span",[t._v("Ai Help")])])],1):t._e(),e("blocks-options-inner-block",{attrs:{item:i}}),e(T.Z,{style:i.stretch?"height:100%;":t.block.height<1?"height: auto;":"height:"+t.block.height+"px",attrs:{justify:i.justify,align:i.align}},[e(I.Z,{class:"pt-"+i.pt+" pr-"+i.pr+" pb-"+i.pb+" pl-"+i.pl+"  mt-"+i.mt+" mb-"+i.mb+" mr-"+i.mr+" ml-"+i.ml,attrs:{cols:"12",xs:"12",sm:"12",md:"12",lg:"12"}},[e(s.Z,{staticClass:"pa-0",attrs:{color:i.stretch?"transparent":i.color,flat:!i.outlined}},[e(F.ZB,{staticClass:"pa-0"},[e(T.Z,{staticClass:"ma-0 ma-0"},t._l(i.block_contents,(function(s){return"regular"===i.type?e(I.Z,{class:"ma-0 pa-0 inner_block ",attrs:{cols:"12",lg:s.lg,md:s.md,sm:s.sm,xs:s.xs,align:s.align}},[e("blocks-content-block",{attrs:{type:s.type,content:s}})],1):t._e()})),1)],1)],1)],1)],1)],1)})),1)},L=[],N=i(8770),H=i(9174),z=i(2515),E=i(1726),P=i(3845),W=function(){var t=this,e=t._self._c;return t.show?e(T.Z,{attrs:{justify:"center"}},[e(N.Z,{attrs:{fullscreen:"","hide-overlay":"",transition:"dialog-bottom-transition"},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e(n.Z,t._g(t._b({staticClass:"edit-inner-block",attrs:{color:"blue-grey darken-4",text:"",small:""}},"v-btn",s,!1),i),[e(c.Z,[t._v(" mdi-pencil ")])],1)]}}],null,!1,201432755),model:{value:t.dialog,callback:function(e){t.dialog=e},expression:"dialog"}},[e(s.Z,[e(E.Z,{attrs:{dark:"",color:"black"}},[e(n.Z,{attrs:{icon:"",dark:""},on:{click:function(e){t.dialog=!1}}},[e(c.Z,[t._v("mdi-close")])],1),e(P.qW,[t._v("Inner Block Options")]),e(z.Z),e(P.lj,[e(n.Z,{attrs:{dark:"",text:""},on:{click:function(e){t.dialog=!1}}},[t._v(" Close Options ")])],1)],1),e(f.Z,[e(T.Z,[e(I.Z,{attrs:{cols:"12",sm:"12",md:"12"}},[e("h2",{staticClass:"headline mb-5"}
1,[t._v(" Background Color ")]),e("blocks-functions-color-picker",{attrs:{item:t.item}})],1)],1),e(T.Z,[e(I.Z,{attrs:{cols:"12",sm:"12",md:"12"}},[e("h2",{staticClass:"headline mb-5"},[t._v(" Padding ")])]),e(I.Z,{attrs:{cols:"12",sm:"12",md:"3"}},[e(H.Z,{attrs:{label:"Top","thumb-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.pt,callback:function(e){t.$set(t.item,"pt",e)},expression:"item.pt"}})],1),e(I.Z,{attrs:{cols:"12",sm:"12",md:"3"}},[e(H.Z,{attrs:{label:"Bottom","thumb-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.pb,callback:function(e){t.$set(t.item,"pb",e)},expression:"item.pb"}})],1),e(I.Z,{attrs:{cols:"12",sm:"12",md:"3"}},[e(H.Z,{attrs:{label:"Right","thumb-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.pr,callback:function(e){t.$set(t.item,"pr",e)},expression:"item.pr"}})],1),e(I.Z,{attrs:{cols:"12",sm:"12",md:"3"}},[e(H.Z,{attrs:{label:"Left","thumb-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.pl,callback:function(e){t.$set(t.item,"pl",e)},expression:"item.pl"}})],1),e(I.Z,{attrs:{cols:"12",sm:"12",md:"12"}},[e("h2",{staticClass:"headline mb-5"},[t._v(" Margin ")])]),e(I.Z,{attrs:{cols:"12",sm:"12",md:"3"}},[e(H.Z,{attrs:{label:"Top","thumb-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.mt,callback:function(e){t.$set(t.item,"mt",e)},expression:"item.mt"}})],1),e(I.Z,{attrs:{cols:"12",sm:"12",md:"3"}},[e(H.Z,{attrs:{label:"Bottom","thumb-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.mb,callback:function(e){t.$set(t.item,"mb",e)},expression:"item.mb"}})],1),e(I.Z,{attrs:{cols:"12",sm:"12",md:"3"}},[e(H.Z,{attrs:{label:"Right","thumb-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.mr,callback:function(e){t.$set(t.item,"mr",e)},expression:"item.mr"}})],1),e(I.Z,{attrs:{cols:"12",sm:"12",md:"3"}},[e(H.Z,{attrs:{label:"Left","thumb-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.ml,callback:function(e){t.$set(t.item,"ml",e)},expression:"item.ml"}})],1)],1),e(T.Z,[e(I.Z,{attrs:{cols:"12"}},[e("h2",{staticClass:"headline"},[t._v(" Column Sizes ")])]),e(I.Z,{attrs:{cols:"12",sm:"4",md:"4",lg:"4"}},[e("h3",{staticClass:"body-1 font-weight-bold mb-12"},[t._v(" Size at Small ")]),e(H.Z,{attrs:{label:t.item.sm.toString(),"thumb-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.sm,callback:function(e){t.$set(t.item,"sm",e)},expression:"item.sm"}})],1),e(I.Z,{attrs:{cols:"12",sm:"4",md:"4",lg:"4"}},[e("h3",{staticClass:"body-1 font-weight-bold mb-12"},[t._v(" Size at Medium ")]),e(H.Z,{attrs:{label:t.item.md.toString(),"thumb-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.md,callback:function(e){t.$set(t.item,"md",e)},expression:"item.md"}})],1),e(I.Z,{attrs:{cols:"12",sm:"4",md:"4",lg:"4"}},[e("h3",{staticClass:"body-1 font-weight-bold mb-12"},[t._v(" Size at Large ")]),e(H.Z,{attrs:{label:t.item.lg.toString(),"thumb-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.lg,callback:function(e){t.$set(t.item,"lg",e)},expression:"item.lg"}})],1)],1),e(T.Z,{staticClass:"mt-12"},[e(I.Z,{attrs:{cols:"12"}},[e("h2",{staticClass:"headline"},[t._v(" Column Offset Sizes ")])]),e(I.Z,{attrs:{cols:"12",sm:"4",md:"4",lg:"4"}},[e("h3",{staticClass:"body-1 font-weight-bold mb-12"},[t._v(" Offset at Small ")]),e(H.Z,{attrs:{label:t.item.sm_offset.toString(),"thumb-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.sm_offset,callback:function(e){t.$set(t.item,"sm_offset",e)},expression:"item.sm_offset"}})],1),e(I.Z,{attrs:{cols:"12",sm:"4",md:"4",lg:"4"}},[e("h3",{staticClass:"body-1 font-weight-bold mb-12"},[t._v(" Offset at Medium ")]),e(H.Z,{attrs:{label:t.item.md_offset.toString(),"thumb
1-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.md_offset,callback:function(e){t.$set(t.item,"md_offset",e)},expression:"item.md_offset"}})],1),e(I.Z,{attrs:{cols:"12",sm:"4",md:"4",lg:"4"}},[e("h3",{staticClass:"body-1 font-weight-bold mb-12"},[t._v(" Offset at Large ")]),e(H.Z,{attrs:{label:t.item.lg_offset.toString(),"thumb-color":"black","track-color":"grey","thumb-label":"always",min:"0",max:"12"},model:{value:t.item.lg_offset,callback:function(e){t.$set(t.item,"lg_offset",e)},expression:"item.lg_offset"}})],1)],1)],1),e(r.Z),t._v(" "+t._s(t.item)+" ")],1)],1)],1):t._e()},V=[],R=i(7310),D=function(){var t=this,e=t._self._c;return e("div",[e(R.Z,{attrs:{"dot-size":"25",swatches:t.swatches,"show-swatches":"","swatches-max-height":"200"},model:{value:t.item[t.changeKey],callback:function(e){t.$set(t.item,t.changeKey,e)},expression:"item[changeKey]"}}),t._v(" COLOR: "+t._s(t.item.color)+" ")],1)},X=[],q={props:{changeKey:{type:[String],required:!1,default:"color"},item:Object},components:{},data(){return{types:["hexa","rgba"],type:"hexa",hex:"#FF00FF",hexa:"#FF00FFFF",rgba:{r:255,g:0,b:255,a:1},hsla:{h:300,s:1,l:.5,a:1},hsva:{h:300,s:1,v:1,a:1},swatches:[["#FF0000","#AA0000","#550000"],["#FFFF00","#AAAA00","#555500"],["#00FF00","#00AA00","#005500"],["#00FFFF","#00AAAA","#005555"],["#0000FF","#0000AA","#000055"]]}},methods:{},watch:{color:function(t,e){"value"!==this.changeKey&&(this.item.using_image=!1,this.item.using_video=!1,this.item.parallax=!1,this.item.parallax=!1,this.item.background_image="")}},computed:{color:{get(){return this[this.type]},set(t){this[this.type]=t}},showColor(){return"string"===typeof this.color?this.color:JSON.stringify(Object.keys(this.color).reduce(((t,e)=>(t[e]=Number(this.color[e].toFixed(2)),t)),{}),null,2)}}},K=q,J=(0,A.Z)(K,D,X,!1,null,null,null),U=J.exports,G={props:{item:Object},components:{BlocksFunctionsColorPicker:U},data(){return{show:!1,dialog:!1}}},Y=G,Q=(0,A.Z)(Y,W,V,!1,null,null,null),tt=Q.exports,et=function(){var t=this,e=t._self._c;return e("div",{class:"content-wrapper pt-"+t.content.pt+" pr-"+t.content.pr+" pb-"+t.content.pb+" pl-"+t.content.pl+"  mt-"+t.content.mt+" mb-"+t.content.mb+" mr-"+t.content.mr+" ml-"+t.content.ml},["icon"===t.type?e("blocks-icon-block",{attrs:{content:t.content}}):t._e(),"video"===t.type?e("blocks-video-block",{attrs:{content:t.content}}):t._e(),"text"===t.type?e("blocks-text-block",{attrs:{content:t.content}}):t._e(),"image"===t.type?e("blocks-image-block",{attrs:{content:t.content}}):t._e(),"list"===t.type?e("blocks-list-block",{attrs:{content:t.content}}):t._e(),"button"===t.type?e("blocks-button-block",{attrs:{content:t.content}}):t._e(),"navigation"===t.type?e("blocks-navigation-block",{attrs:{content:t.content}}):t._e(),"form"===t.type?e("blocks-form-block",{attrs:{content:t.content}}):t._e()],1)},it=[],st=function(){var t=this,e=t._self._c;return e("div",{class:t.content.type},[e(c.Z,{class:t.content.classes+" content",style:"color:"+t.content.text_color,on:{click:function(e){return t.set_icon(t.content)}}},[t._v(" "+t._s(t.content.icon)+" ")])],1)},ot=[],at=i(9288),lt={props:{content:Object},components:{},data(){return{icon_dialog:!1}},computed:{...(0,b.nv)(["setIconBlock"])},methods:{set_icon:t=>{console.log(at.Z);let e={item:t,active:!0};at.Z.dispatch("setIconBlock",e).then((()=>{console.log("opened ? ")}))},close_icon_dialog(){this.icon_dialog=!1}}},nt=lt,rt=(0,A.Z)(nt,st,ot,!1,null,null,null),ct=rt.exports,dt=function(){var t=this,e=t._self._c;return e("div",{class:t.content.classes+" content"},[e("div",{class:"content_wrapper"+t.content.type,on:{mouseenter:function(e){t.show_options=!0},mouseleave:t.close_toolbar}},[e("blocks-functions-video",{attrs:{is_visible:t.show_options,item:t.content,close_function:t.close_toolbar}}),e("iframe",{staticStyle:{"min-height":"250px"},attrs:{width:"100%",height:"100%",src:t.content.value.replace("watch?v=","embed/"),frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})],1)])},mt=[],ht={props:{content:Object},components:{},data(){return{show_options:!1}},methods:{close_toolbar(){this.show_options=!1}}},ut=ht,pt=(0,A.Z)(ut,dt,mt,!1,null,null,null),gt=pt.exports,bt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"mt-1 mb-1",style:"color:"+t.content.text_color+"; position:relative;"},[t.modifying_theme?t._e():e("div",{staticClass:"text-content",class:{"text--shadow-1":t.content.shadow},on:{mouseenter:function(e){t.text_options=!0},mouseleave:function(e){t.text_options=!1}}},[e("blocks-functions-text",{attrs:{close_function:t.close_text_opts,item:t.content}}),e("global-functions-wizy-wig",{attrs:{model:t.content,model_key:"c
1ontent"}})],1)])},_t=[],vt=function(){var t=this,e=t._self._c;return e("div",[t.is_visible?e("div",{staticClass:"text-toolbar"},[e(s.Z,{attrs:{color:"#263238"}},[e(w.Z,{staticClass:"text-button-toggle",attrs:{dark:""}},[e(n.Z,{on:{click:function(e){t.item.align="left"}}},[e(c.Z,{class:{"success--text":"left"===t.item.align}},[t._v("mdi-format-align-left ")])],1),e(n.Z,{on:{click:function(e){t.item.align="center"}}},[e(c.Z,{class:{"success--text":"center"===t.item.align}},[t._v("mdi-format-align-center")])],1),e(n.Z,{on:{click:function(e){t.item.align="right"}}},[e(c.Z,{class:{"success--text":"right"===t.item.align}},[t._v("mdi-format-align-right")])],1),e(n.Z,{staticClass:"white--text",attrs:{color:"#263238"},on:{click:function(e){t.item.bold=!t.item.bold}}},[e(c.Z,{class:{"success--text":t.item.bold}},[t._v(" mdi-format-bold ")])],1),e(n.Z,{staticClass:"white--text",attrs:{color:"#263238"},on:{click:function(e){t.item.italic=!t.item.italic}}},[e(c.Z,{class:{"success--text":t.item.italic}},[t._v(" mdi-format-italic ")])],1),e(n.Z,{staticClass:"white--text",attrs:{color:"#263238"},on:{click:function(e){t.item.underline=!t.item.underline}}},[e(c.Z,{class:{"success--text":t.item.underline}},[t._v(" mdi-format-underline ")])],1),e(n.Z,{staticClass:"white--text",attrs:{color:"#263238"},on:{click:function(e){t.show_settings=!t.show_settings}}},[e(c.Z,[t._v(" mdi-cogs ")])],1),e(n.Z,{staticClass:"white--text",attrs:{color:"#263238"},on:{click:t.close_function}},[e(c.Z,[t._v(" mdi-close-box ")])],1)],1)],1)],1):t._e(),e("blocks-models-text-block",{attrs:{is_visible:t.show_settings,item:t.item,close_text_settings:t.close_text_settings}}
1)],1)},ft=[],kt=i(4072),xt=i(8884),Zt=function(){var t=this,e=t._self._c;return e(N.Z,{attrs:{fullscreen:"","hide-overlay":"",transition:"dialog-bottom-transition"},model:{value:t.is_visible,callback:function(e){t.is_visible=e},expression:"is_visible"}},[e(s.Z,{staticStyle:{"border-radius":"0px"}},[e(E.Z,{attrs:{dark:"",color:"black"}},[e(n.Z,{attrs:{icon:"",dark:""},on:{click:t.close_text_settings}},[e(c.Z,[t._v("mdi-close")])],1),e(P.qW,[t._v("Text Settings")]),e(z.Z),e(P.lj,[e(n.Z,{attrs:{dark:"",text:""},on:{click:t.close_text_settings}},[t._v(" Close Options ")])],1)],1),e(F.ZB,[e(s.Z,[e(F.EB,[t._v(" Preview ")]),e(F.ZB,{staticClass:"text-center"},[e("div",{class:" content "+t.item.classes+" mb-12",style:"color:"+t.item.text_color+"; position:relative;"},[e("span",{class:{"font-weight-bold":!0===t.item.bold,"font-italic":!0===t.item.italic,"text-uppercase":t.item.uppsercase,"text-lowercase":t.item.lowercase,underline:!0===t.item.underline,"text-shadow":!0===t.item.shadow},domProps:{innerHTML:t._s(t.item.content)}})])])],1),e(r.Z,{staticClass:"mt-12 mb-6"}),e(f.Z,[e(T.Z,[e(I.Z,{attrs:{cols:"12",sm:"12",md:"12",lg:"12"}},[t._v(" "+t._s(t.item.classes)+" "),e(kt.Z,{attrs:{items:t.sizes,"item-value":"id","item-text":"name",label:"Font Size"},model:{value:t.item.classes,callback:function(e){t.$set(t.item,"classes",e)},expression:"item.classes"}})],1),e(I.Z,{attrs:{cols:"12",sm:"4",md:"3"}},[e(xt.Z,{attrs:{label:"Text Shadow"},model:{value:t.item.shadow,callback:function(e){t.$set(t.item,"shadow",e)},expression:"item.shadow"}}),e(xt.Z,{attrs:{label:"Bold"},model:{value:t.item.bold,callback:function(e){t.$set(t.item,"bold",e)},expression:"item.bold"}}),e(xt.Z,{attrs:{label:"Underline"},model:{value:t.item.underline,callback:function(e){t.$set(t.item,"underline",e)},expression:"item.underline"}}),e(xt.Z,{directives:[{name:"show",rawName:"v-show",value:!t.item.lowercase,expression:"!item.lowercase"}],attrs:{label:"Uppercase"},model:{value:t.item.uppercase,callback:function(e){t.$set(t.item,"uppercase",e)},expression:"item.uppercase"}}),e(xt.Z,{directives:[{name:"show",rawName:"v-show",value:!t.item.uppercase,expression:"!item.uppercase"}],attrs:{label:"Lowercase"},model:{value:t.item.lowercase,callback:function(e){t.$set(t.item,"lowercase",e)},expression:"item.lowercase"}})],1),e(I.Z,{attrs:{cols:"12",sm:"4",md:"3"}},[e("p",{staticClass:"body-1"},[t._v(" Text Color ")]),e(R.Z,{staticClass:"mx-auto",attrs:{dark:"",flat:"","hide-canvas":!1,"hide-inputs":!1,"hide-mode-switch":!1,"canvas-height":150,"show-swatches":!1},model:{value:t.item.text_color,callback:function(e){t.$set(t.item,"text_color",e)},expression:"item.text_color"}})],1)],1)],1)],1)],1)],1)},wt=[],yt={props:{is_visible:Boolean,item:Object,close_text_settings:Function},components:{},data(){return{size:"display-4",sizes:[{id:"text-h2 text-lg-h1",name:"H1"},{id:"text-h3 text-lg-h2",name:"H2"},{id:"text-h4 text-lg-h3",name:"H3"},{id:"text-h4",name:"H4"},{id:"headline",name:"Headline"},{id:"body-1",name:"Body"},{id:"body-2",name:"Body Small"}]}},methods:{}},Ct=yt,Bt=(0,A.Z)(Ct,Zt,wt,!1,null,null,null),$t=Bt.exports,St={components:{BlocksModelsTextBlock:$t},props:{is_visible:Boolean,item:Object,close_function:Function},data(){return{show_settings:!1,show_holder:!1,color:"#8E00FF",hideCanvas:!1,hideInputs:!0,hideModeSwitch:!0,mode:"hexa",modes:["rgba","hsla","hexa"],showSwatches:!1,typeface:1,type_faces:[{id:1,name:"Arial",family:'"Helvetica Neue", Arial, sans-serif'}]}},methods:{close_text_settings(){this.show_settings=!1}}},At=St,Ot=(0,A.Z)(At,vt,ft,!1,null,null,null),Mt=Ot.exports,Ft=i(3226),It={props:{content:Object},components:{BlocksFunctionsText:Mt,GlobalFunctionsWizyWig:Ft.Z},watch:{toggle_multiple:function(t){}},computed:{...(0,b.Se)(["theme_colors","theme_fonts","selected_theme","modifying_theme"])},data(){return{padding_top:0,text_options:!1,toggle_multiple:[0]}},methods:{open_text_options(){this.padding_top=30,this.text_options=!0},close_text_opts(){this.padding_top=0,this.text_options=!1}}},Tt=It,jt=(0,A.Z)(Tt,bt,_t,!1,null,null,null),Lt=jt.exports,Nt=function(){var t=this,e=t._self._c;return e("div",[e(d.Z,{staticClass:"ls-image",style:t.content.rounded?"width:150px; height:150px; border-radius: 150px;":"",attrs:{"max-height":t.content.max_height,"max-width":t.content.max_width,"min-height":t.content.min_height,"min-width":t.content.min_width,src:t.content.value,"lazy-src":t.content.value,contain:t.content.contain},on:{click:function(e){return t.setImageBlock(t.content)}}})],1)},Ht=[],zt={props:{content:Object},components:{},data(){return{image_dialog:!1,media_url:"media/"}},methods:{setImageBlock:t=>{let e={active:!0,item:t};at.Z.dispatch("setImageBlock",e)}}}
1,Et=zt,Pt=(0,A.Z)(Et,Nt,Ht,!1,null,null,null),Wt=Pt.exports,Vt=function(){var t=this,e=t._self._c;return e("div")},Rt=[],Dt={props:{content:Object},components:{},data(){return{}}},Xt=Dt,qt=(0,A.Z)(Xt,Vt,Rt,!1,null,null,null),Kt=qt.exports,Jt=function(){var t=this,e=t._self._c;return e("div",{class:t.content.classes,staticStyle:{position:"relative"}},[e(n.Z,{staticClass:"pl-8 pr-8",class:!t.content.xLarge||t.content.small||t.content.large?" "+t.content.classes:"v-size--xxl",staticStyle:{position:"relative"},style:"color:"+t.content.text_color,attrs:{rounded:t.content.rounded,text:t.content.text,fab:t.content.fab,small:t.content.small,block:t.content.block,"x-large":t.content.large,outlined:t.content.outlined,color:t.content.color,"min-width":t.content.min_width,"min-height":t.content.min_height},on:{click:t.toggleOptions}},[t.content.icon&&""!==t.content.icon?e(c.Z,{staticClass:"pr-2"},[t._v(" "+t._s(t.content.icon)+" ")]):t._e(),e("span",{style:t.content["font-family"]?"font-family: "+t.content["font-family"]:"Open Sans, sans-serif;"},[t._v(" "+t._s(t.content.value)+" ")])],1),e("blocks-models-button-block",{attrs:{is_visible:t.button_dialog,item:t.content,return_data:t.toggleOptions}})],1)},Ut=[],Gt=i(4573),Yt={props:{content:Object},components:{BlocksModelsButtonBlock:Gt.Z},data(){return{button_dialog:!1}},methods:{toggleOptions(){this.button_dialog=!this.button_dialog}}},Qt=Yt,te=(0,A.Z)(Qt,Jt,Ut,!1,null,null,null),ee=te.exports,ie=i(5078),se=function(){var t=this,e=t._self._c;return e("div",[e(E.Z,{attrs:{flat:"",color:"transparent"},on:{click:function(e){t.navigation_dialog=!0}}},[e(ie.Z),e(P.qW,[e("span",{style:"color:"+t.content.text_color+";"},[t._v(" "+t._s(t.content.value)+" ")])]),e(z.Z),t._l(t.content.items,(function(i){return e(n.Z,{attrs:{text:"",color:t.content.text_color}},[t._v(" "+t._s(i.text)+" ")])}))],2),e("blocks-models-navigation-block",{attrs:{is_visible:t.navigation_dialog,close_function:t.close_dialog,item:t.content}})],1)},oe=[],ae=i(69),le=i(1280),ne=i(1737),re=function(){var t=this,e=t._self._c;return e(N.Z,{attrs:{fullscreen:"","hide-overlay":"",transition:"dialog-bottom-transition"},model:{value:t.is_visible,callback:function(e){t.is_visible=e},expression:"is_visible"}},[e(s.Z,[e(E.Z,{attrs:{dark:"",color:"primary"}},[e(n.Z,{attrs:{icon:"",dark:""},on:{click:t.close_function}},[e(c.Z,[t._v("mdi-close")])],1),e(P.qW,[t._v("Navigation Settings")]),e(z.Z),e(P.lj,[e(n.Z,{attrs:{dark:"",text:""},on:{click:t.close_function}},[t._v("Close Settings")])],1)],1),e(ae.Z,{attrs:{"three-line":"",subheader:""}},[e(le.Z,[t._v(" Title ")])],1),e(F.ZB,[e(ne.Z,{attrs:{label:"Title"},model:{value:t.item.value,callback:function(e){t.$set(t.item,"value",e)},expression:"item.value"}})],1),e(ae.Z,{attrs:{"three-line":"",subheader:""}},[e(le.Z,[t._v(" Color ")])],1),e("blocks-functions-color-picker-exact",{attrs:{item:t.item,ikey:"text_color"}}),e(ae.Z,{attrs:{"three-line":"",subheader:""}},[e(le.Z,[t._v(" Menu Items ")])],1),e(F.ZB,[e(ae.Z,{attrs:{"three-line":"",subheader:""}},[e(m.Z,[e(n.Z,{attrs:{text:"",color:"blue-grey darken-4"},on:{click:function(e){return t.item.items.push({icon:"",text:"New List Item",href:"#"})}}},[e(c.Z,[t._v(" mdi-plus ")]),t._v(" Add List Item ")],1)],1),t._l(t.item.items,(function(i){return e(m.Z,[e(ne.Z,{attrs:{label:"Value"},model:{value:i.text,callback:function(e){t.$set(i,"text",e)},expression:"list_item.text"}}),e(ne.Z,{attrs:{label:"href"},model:{value:i.href,callback:function(e){t.$set(i,"href",e)},expression:"list_item.href"}})],1)}))],2)],1)],1)],1)},ce=[],de=i(5475),me={components:{BlocksFunctionsColorPickerExact:de.Z},props:{is_visible:Boolean,close_function:Function,item:Object},data(){return{}}},he=me,ue=(0,A.Z)(he,re,ce,!1,null,null,null),pe=ue.exports,ge={props:{content:Object},components:{BlocksModelsNavigationBlock:pe},data(){return{navigation_dialog:!1}},methods:{close_dialog:function(){this.navigation_dialog=!1}}},be=ge,_e=(0,A.Z)(be,se,oe,!1,null,null,null),ve=_e.exports,fe=i(3240),ke=function(){var t=this,e=t._self._c;return e("div",{staticClass:"pl-0"},[e("div",{staticClass:"pl-0",staticStyle:{position:"relative"}}
1,[e(fe.Z,{ref:"form",attrs:{onSubmit:"return false;","lazy-validation":""},on:{submit:function(t){}},model:{value:t.subscription,callback:function(e){t.subscription=e},expression:"subscription"}},[e(s.Z,{attrs:{flat:"",color:"transparent"},on:{click:function(e){return t.load_form_block(t.content)}}},[e("blocks-functions-form-fields",{attrs:{items:t.content.items}})],1)],1)],1)])},xe=[],Ze=i(8108),we={props:{content:Object},components:{BlocksFunctionsFormFields:Ze.Z},data(){return{show_options:!1,subscription:!0}},methods:{load_form_block(t){let e={active:!0,index:0,item:t};this.$store.dispatch("setFormBlock",e)},close_form_opts(){this.form_dialog=!1},delete_field(t){confirm(" Are you sure you want to delete this field ?")&&this.content.items.splice(t,1)}}},ye=we,Ce=(0,A.Z)(ye,ke,xe,!1,null,null,null),Be=Ce.exports,$e={props:{type:String,content:Object},components:{draggable:v(),BlocksIconBlock:ct,BlocksVideoBlock:gt,BlocksTextBlock:Lt,BlocksImageBlock:Wt,BlocksListBlock:Kt,BlocksButtonBlock:ee,BlocksNavigationBlock:ve,BlocksFormBlock:Be},data(){return{}},methods:{}},Se=$e,Ae=(0,A.Z)(Se,et,it,!1,null,null,null),Oe=Ae.exports,Me={props:{block:Object,blocks:Array,align:String,justify:String,block_index:Number},components:{BlocksOptionsInnerBlock:tt,BlocksContentBlock:Oe},data(){return{}},methods:{setAiModel(t,e,i){this.$store.dispatch("setAiModel",{show:!0,block:t,block_index:e,inner_block_index:i,type:"campaign"})}}},Fe=Me,Ie=(0,A.Z)(Fe,j,L,!1,null,null,null),Te=Ie.exports,je={computed:{...(0,b.Se)({outerBlock:"outerBlock",position:"position",historyLoading:"historyLoading",leadslide_theme:"leadslide_theme"})},props:{page:{type:[Object],required:!0,default:{}},save_page:Function,save_block:Function},components:{draggable:v(),BlocksOptionsOuterBlock:M,BlocksInnerBlock:Te},data(){return{loaded:!1,text_options:!1,myArray:[],media_url:"media/",limit_history:3,history:[],redo_history:[],builder_interval:!1,loading_theme:!1}},watch:{"outerBlock.active":{deep:!0,handler(t,e){let i=this.outerBlock.top;e&&!t&&setTimeout((function(){window.scrollTo({top:i})}),250)}},"page.blocks":{deep:!0,handler(t,e){this.historyLoading||(console.log("setting History Item"),this.$store.dispatch("setHistory",t))}}},created(){this._init_builder()},methods:{_init_builder(){let t=this;t.builder_interval=setInterval((function(){if(t.leadslide_theme){console.log("Theme loaded close loader"),clearInterval(t.builder_interval);let e=t.parseFonts(t.leadslide_theme.fonts);console.log("FONTS!"),console.log(t.leadslide_theme);let i=t.parseColors(t.leadslide_theme.colors);t.$store.dispatch("setConfigStyles",{fonts:e,colors:i}),t.load_blocks(),t.loaded=!0,t.$store.dispatch("setLoading",{loading:!1,message:""})}t.$store.dispatch("setHistory",t.page.blocks)}),1e3)},parseColors(t){Z.Z.init();let e=[];for(const i in t){let s=t[i]["color"],o=Z.Z.name(s),a=o[1];e.push(s.replace("#","")),e.push(a)}return console.log(e),e},parseFonts(t){let e="";for(const i in t){let s=[];s="undefined"!==typeof t[i].css?t[i].css.split(","):t[i].split(",");let o=s[0]+"="+t[i].css+";";e+=o}return e},getColors(){},load_blocks(){this.$store.dispatch("getBlocks",this.id).then((t=>{this.blocks=t.outer_blocks})).catch((t=>{console.log(t),this.$notify({title:"Error:",text:"Block load error",group:"notifications",position:"top right"})}))},open_ib_opts(t){},clone:function(t){return{name:t.name+" cloned"}},log:function(t){window.console.log(t)}}},Le=je,Ne=(0,A.Z)(Le,k,x,!1,null,null,null),He=Ne.exports,ze=i(5007),Ee={components:{draggable:v(),BlocksOuterBlock:He,CampaignsConfigSize:ze.Z},computed:{...(0,b.Se)(["page","screen_type","campaignLoading","isPageTemplate","save_dialog","campaign","outer_blocks"])},data(){return{show_drawer:!1,is_saving:!1,action_loading:!1,step:{},loadingMessage:"Saving Please Wait..."}},created(){this.$store.dispatch("clearHistory"),this.initialise(),this.$store.commit("updateLoading",!1)},watch:{"page.name":function(t){this.page.slug=t.replace(/\W/g,"-"),console.log(t)}},methods:{log:function(t){window.console.log(t)},load_drawer(t){this.show_drawer=!t},initialise(){let t=JSON.parse(localStorage.getItem("campaign"));this.$store.dispatch("setCampaign",t)},send_alert(){},save_block:function(t){}
1,pre_save:function(t,e,i){let s=this;this.is_saving=!0,this.campaign.steps[0]=t,this.campaign.step=1,9===this.campaign.state?s.loadingMessage="Saving Draft Campaign Please Wait...":s.loadingMessage="Saving Campaign Please Wait...",localStorage.setItem("campaign",JSON.stringify(s.campaign)),this.$store.dispatch("updateAndSaveCampaignStep",s.campaign).then((function(t){s.$store.dispatch("updateCampaignLoading",!1),s.$notify({title:"Saved:",text:"Campaign Page Saved",group:"notifications",position:"top right"})})).catch((function(t){s.$notify({title:"Error:",text:"There was an error saving your campaign. Please contact support.",group:"notifications",position:"top right"})})).finally((()=>{s.$store.dispatch("updateCampaignLoading",!1),s.$store.dispatch("setLoading",{loading:!1,message:"Saving Please Wait..."})}))},async take_screenshot(){this.$refs.lsPage},save_page:function(t){this.$store.dispatch("savePage",{isTemplate:this.isTemplate,page:t})},delete_block:function(t){},load_blocks(t="outer",e=null){this.$store.dispatch("getBlocks",t,e).then((t=>{this.outer_blocks=t.outer_blocks})).catch((t=>{console.log(t),this.$notify({title:"Error:",text:"Error loading blocks.",group:"notifications",position:"top right"})}))},load_default_template(t){t>=0&&this.$store.dispatch("getPage",this.id).then((t=>{this.page=t})).catch((t=>{console.log(t),this.$notify({title:"Error:",text:"Page load error",group:"notifications",position:"top right"})}))},load_user_template(){this.$hget("/basic/pages/"+this.id+"/").then((t=>{console.log("loaded user data"),console.log(t.data),"undefined"!==typeof t.data&&(this.page=t.data)}))},parse_json_blocks(t){let e=JSON.stringify(t.replace(/True/g,"true"));return e=e.replace(/False/g,"false"),e}}},Pe=Ee,We=(0,A.Z)(Pe,p,g,!1,null,null,null),Ve=We.exports,Re=i(6496),De={components:{Campaigns:l["default"],page:Ve,CampaignsSaveBar:Re.Z},computed:{...(0,b.Se)(["screen_type","campaign"])},watch:{},data(){return{frame_height:window.innerHeight}},created(){},destroyed(){},methods:{calculateFrameHeight(){this.frame_height=window.innerHeight-54}}},Xe=De,qe=(0,A.Z)(Xe,o,a,!1,null,null,null),Ke=qe.exports},5078:function(t,e,i){var s=i(9524),o=i(3431),a=i(144);e.Z=a["default"].extend({name:"v-app-bar-nav-icon",functional:!0,render(t,{slots:e,listeners:i,props:a,data:l}){const n=Object.assign(l,{staticClass:`v-app-bar__nav-icon ${l.staticClass||""}`.trim(),props:{...a,icon:!0},on:i}),r=e().default;return t(o.Z,n,r||[t(s.Z,"$menu")])}})},2418:function(t,e,i){i.d(e,{Z:function(){return l}});i(2960);var s=i(9524),o=i(2821),a=i(5847),l=a.Z.extend({name:"v-checkbox",props:{indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},offIcon:{type:String,default:"$checkboxOff"},onIcon:{type:String,default:"$checkboxOn"}},data(){return{inputIndeterminate:this.indeterminate}},computed:{classes(){return{...o.Z.options.computed.classes.call(this),"v-input--selection-controls":!0,"v-input--checkbox":!0,"v-input--indeterminate":this.inputIndeterminate}},computedIcon(){return this.inputIndeterminate?this.indeterminateIcon:this.isActive?this.onIcon:this.offIcon},validationState(){if(!this.isDisabled||this.inputIndeterminate)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0}},watch:{indeterminate(t){this.$nextTick((()=>this.inputIndeterminate=t))},inputIndeterminate(t){this.$emit("update:indeterminate",t)},isActive(){this.indeterminate&&(this.inputIndeterminate=!1)}},methods:{genCheckbox(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.$createElement(s.Z,this.setTextColor(this.validationState,{props:{dense:this.dense,dark:this.dark,light:this.light}}),this.computedIcon),this.genInput("checkbox",{...e,"aria-checked":this.inputIndeterminate?"mixed":this.isActive.toString()}),this.genRipple(this.setTextColor(this.rippleState))])},genDefaultSlot(){return[this.genCheckbox(),this.genLabel()]}}})},1206:function(t,e,i){i.d(e,{Z:function(){return _}});
1var s=i(8978),o=i(2404),a=i(5836),l=i(4665),n=i(9989),r=i(8860),c=i(8191),d=i(2066),m=i(3664),h=i(7293),u=i(2706),p=i(8131),g=i(5530);const b=(0,g.Z)((0,o.Z)("left",["isActive","isMobile","miniVariant","expandOnHover","permanent","right","temporary","width"]),a.Z,l.Z,n.Z,r.Z,c.Z,d.Z);var _=b.extend({name:"v-navigation-drawer",directives:{ClickOutside:m.Z,Resize:h.Z,Touch:u.Z},provide(){return{isInNav:"nav"===this.tag}},props:{bottom:Boolean,clipped:Boolean,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,height:{type:[Number,String],default(){return this.app?"100vh":"100%"}},miniVariant:Boolean,miniVariantWidth:{type:[Number,String],default:56},permanent:Boolean,right:Boolean,src:{type:[String,Object],default:""},stateless:Boolean,tag:{type:String,default(){return this.app?"nav":"aside"}},temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},value:null},data:()=>({isMouseover:!1,touchArea:{left:0,right:0},stackMinZIndex:6}),computed:{applicationProperty(){return this.right?"right":"left"},classes(){return{"v-navigation-drawer":!0,"v-navigation-drawer--absolute":this.absolute,"v-navigation-drawer--bottom":this.bottom,"v-navigation-drawer--clipped":this.clipped,"v-navigation-drawer--close":!this.isActive,"v-navigation-drawer--fixed":!this.absolute&&(this.app||this.fixed),"v-navigation-drawer--floating":this.floating,"v-navigation-drawer--is-mobile":this.isMobile,"v-navigation-drawer--is-mouseover":this.isMouseover,"v-navigation-drawer--mini-variant":this.isMiniVariant,"v-navigation-drawer--custom-mini-variant":56!==Number(this.miniVariantWidth),"v-navigation-drawer--open":this.isActive,"v-navigation-drawer--open-on-hover":this.expandOnHover,"v-navigation-drawer--right":this.right,"v-navigation-drawer--temporary":this.temporary,...this.themeClasses}},computedMaxHeight(){if(!this.hasApp)return null;const t=this.$vuetify.application.bottom+this.$vuetify.application.footer+this.$vuetify.application.bar;return this.clipped?t+this.$vuetify.application.top:t},computedTop(){if(!this.hasApp)return 0;let t=this.$vuetify.application.bar;return t+=this.clipped?this.$vuetify.application.top:0,t},computedTransform(){return this.isActive?0:this.isBottom||this.right?100:-100},computedWidth(){return this.isMiniVariant?this.miniVariantWidth:this.width},hasApp(){return this.app&&!this.isMobile&&!this.temporary},isBottom(){return this.bottom&&this.isMobile},isMiniVariant(){return!this.expandOnHover&&this.miniVariant||this.expandOnHover&&!this.isMouseover},isMobile(){return!this.stateless&&!this.permanent&&n.Z.options.computed.isMobile.call(this)},reactsToClick(){return!this.stateless&&!this.permanent&&(this.isMobile||this.temporary)},reactsToMobile(){return this.app&&!this.disableResizeWatcher&&!this.permanent&&!this.stateless&&!this.temporary},reactsToResize(){return!this.disableResizeWatcher&&!this.stateless},reactsToRoute(){return!this.disableRouteWatcher&&!this.stateless&&(this.temporary||this.isMobile)},showOverlay(){return!this.hideOverlay&&this.isActive&&(this.isMobile||this.temporary)},styles(){const t=this.isBottom?"translateY":"translateX";return{height:(0,p.kb)(this.height),top:this.isBottom?"auto":(0,p.kb)(this.computedTop),maxHeight:null!=this.computedMaxHeight?`calc(100% - ${(0,p.kb)(this.computedMaxHeight)})`:void 0,transform:`${t}(${(0,p.kb)(this.computedTransform,"%")})`,width:(0,p.kb)(this.computedWidth)}}},watch:{$route:"onRouteChange",isActive(t){this.$emit("input",t)},isMobile(t,e){!t&&this.isActive&&!this.temporary&&this.removeOverlay(),null!=e&&this.reactsToResize&&this.reactsToMobile&&(this.isActive=!t)},permanent(t){t&&(this.isActive=!0)},showOverlay(t){t?this.genOverlay():this.removeOverlay()},value(t){this.permanent||(null!=t?t!==this.isActive&&(this.isActive=t):this.init())},expandOnHover:"updateMiniVariant",isMouseover(t){this.updateMiniVariant(!t)}},beforeMount(){this.init()},methods:{calculateTouchArea(){const t=this.$el.parentNode;if(!t)return;const e=t.getBoundingClientRect();this.touchArea={left:e.left+50,right:e.right-50}},closeConditional(){return this.isActive&&!this._isDestroyed&&this.reactsToClick},genAppend(){return this.genPosition("append")}
1,genBackground(){const t={height:"100%",width:"100%",src:this.src},e=this.$scopedSlots.img?this.$scopedSlots.img(t):this.$createElement(s.Z,{props:t});return this.$createElement("div",{staticClass:"v-navigation-drawer__image"},[e])},genDirectives(){const t=[{name:"click-outside",value:{handler:()=>{this.isActive=!1},closeConditional:this.closeConditional,include:this.getOpenDependentElements}}];return this.touchless||this.stateless||t.push({name:"touch",value:{parent:!0,left:this.swipeLeft,right:this.swipeRight}}),t},genListeners(){const t={mouseenter:()=>this.isMouseover=!0,mouseleave:()=>this.isMouseover=!1,transitionend:t=>{if(t.target!==t.currentTarget)return;this.$emit("transitionend",t);const e=document.createEvent("UIEvents");e.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(e)}};return this.miniVariant&&(t.click=()=>this.$emit("update:mini-variant",!1)),t},genPosition(t){const e=(0,p.z9)(this,t);return e?this.$createElement("div",{staticClass:`v-navigation-drawer__${t}`},e):e},genPrepend(){return this.genPosition("prepend")},genContent(){return this.$createElement("div",{staticClass:"v-navigation-drawer__content"},this.$slots.default)},genBorder(){return this.$createElement("div",{staticClass:"v-navigation-drawer__border"})},init(){this.permanent?this.isActive=!0:this.stateless||null!=this.value?this.isActive=this.value:this.temporary||(this.isActive=!this.isMobile)},onRouteChange(){this.reactsToRoute&&this.closeConditional()&&(this.isActive=!1)},swipeLeft(t){this.isActive&&this.right||(this.calculateTouchArea(),Math.abs(t.touchendX-t.touchstartX)<100||(this.right&&t.touchstartX>=this.touchArea.right?this.isActive=!0:!this.right&&this.isActive&&(this.isActive=!1)))},swipeRight(t){this.isActive&&!this.right||(this.calculateTouchArea(),Math.abs(t.touchendX-t.touchstartX)<100||(!this.right&&t.touchstartX<=this.touchArea.left?this.isActive=!0:this.right&&this.isActive&&(this.isActive=!1)))},updateApplication(){if(!this.isActive||this.isMobile||this.temporary||!this.$el)return 0;const t=Number(this.miniVariant?this.miniVariantWidth:this.width);return isNaN(t)?this.$el.clientWidth:t},updateMiniVariant(t){this.expandOnHover&&this.miniVariant!==t&&this.$emit("update:mini-variant",t)}},render(t){const e=[this.genPrepend(),this.genContent(),this.genAppend(),this.genBorder()];return(this.src||(0,p.z9)(this,"img"))&&e.unshift(this.genBackground()),t(this.tag,this.setBackgroundColor(this.color,{class:this.classes,style:this.styles,directives:this.genDirectives(),on:this.genListeners()}),e)}})}}]);
2//# sourceMappingURL=1374.dc32fb40.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.