1"use strict";(self.webpackChunkfitu_app=self.webpackChunkfitu_app||[]).push([[3935],{33935:function(e,t,n){n.r(t),n.d(t,{default:function(){return u}});var i=n(95353),o=n(85880),s=n(2543),l=n.n(s),a=n(37107),c=n(66188),r=n(37875),d=n(61273);a.Yv.add(c.X7I,r.Cvc);var m={name:"Multicolumn",components:{FontAwesomeIcon:d.gc},props:{section:{type:Object,default:()=>{}}},data(){return{columnImageLoaded:{}}},computed:{...(0,i.aH)(["currentTheme","currentThemeBrand"]),isEmbed(){return this.$route.path.split("/").includes("embed")},showMultiColumn(){const e=l().filter(this.section.content.columns,e=>!!e.content.icon_css_classname||!!e.content.heading||!!e.content.heading||!!e.content.description||this.isVisibleImage(e.content.image)||!!e.content.label_text&&!!e.content.link);return this.section&&(!!this.section.content.title||!!e.length>0)},backgroundStyles(){return this.isEmbed?"light"===this.currentTheme?"bg-whitesmoke-100":"embed-background-dark":"light"===this.currentThemeBrand?"bg-whitesmoke-100":"embed-background-dark"},backgroundColumnStyles(){return this.isEmbed?"light"===this.currentTheme?"bg-white":"embed-background-third-dark":"light"===this.currentThemeBrand?"bg-white":"embed-background-third-dark"},textHeadingStyles(){return this.isEmbed?"light"===this.currentTheme?"embed-heading-font":"embed-heading-font embed-font-dark":"light"===this.currentThemeBrand?"heading-font-brand":"heading-font-brand embed-font-dark"},textBodyStyles(){return this.isEmbed?"light"===this.currentTheme?"embed-body-font light":"embed-body-font embed-font-dark dark":"light"===this.currentThemeBrand?"body-font-brand light":"body-font-brand embed-font-dark dark"}},mounted(){this.$nextTick(()=>{this.$emit("component-ready")}),document.getElementById(`multicolumn_${this.section.id}`)&&this.animationColumns(),this.section.content.columns.forEach(e=>{if(this.isVisibleImage(e.content.image)){(new Image).src=e.content.image}})},methods:{onColumnImageLoad(e){this.$set(this.columnImageLoaded,e,!0)},urlNewTab(e){return!e||e.includes("http")||e.includes("mailto:")?e:`//${e}`},isVisibleImage(e){return e&&!e.includes("/original/missing.png")},isVisibleColumn(e){return!!e.content.icon_css_classname||!!e.content.heading||!!e.content.heading||!!e.content.description||this.isVisibleImage(e.content.image)||!!e.content.label_text&&!!e.content.link},getIcon(e){const t=e.content.icon_css_classname&&e.content.icon_css_classname.split(" ");return{category:t[0],name:t[1]}},animationColumns(){const e=new this.$scrollmagic.Controller,t=o.os.timeline();Object.keys(document.getElementsByClassName(`column-item_${this.section.id}`)).forEach((e,n)=>{t.fromTo(this.$refs[`column-${this.section.id}-${n+1}`],{y:50,opacity:0},{y:0,opacity:1,duration:1,ease:"sine.out"},.15*n)}),new this.$scrollmagic.Scene({triggerElement:`#multicolumn_${this.section.id}`}).setTween(t).addTo(e)}}},u=(0,n(14486).A)(m,function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.showMultiColumn,expression:"showMultiColumn"}],staticClass:"w-full relative min-h-home py-16 flex items-center",class:e.backgroundStyles,attrs:{id:`multicolumn_${e.section.id}`}},[t("div",{staticClass:"container mx-auto px-5"},[e.section.content.title?t("h5",{staticClass:"md:text-4xl text-xl font-semibold pb-6 sm:text-left text-center",class:e.textHeadingStyles},[e._v("\n "+e._s(e.section.content.title)+"\n ")]):e._e(),e._v(" "),t("div",{staticClass:"w-full grid grid-cols-1 lg:grid-cols-3 sm:grid-cols-2 gap-x-2 md:gap-x-5 xl:gap-x-10 gap-y-6 mt-3 mb-2"},[e._l(e.section.content.columns,function(n,i){return[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isVisibleColumn(n),expression:"isVisibleColumn(column)"}],key:i,ref:`column-${e.section.id}-${i+1}`,refInFor:!0,staticClass:"py-8 lg:px-7 px-5 shadow-column min-h-column rounded-2xl",class:[e.backgroundColumnStyles,`column-item_${e.section.id}`]},[e.isVisibleImage(n.content.image)?t("div",{staticClass:"mb-6 rounded-lg overflow-hidden h-[13rem] w-full relative",class:{"border border-gray-600":e.isEmbed&&"light"===e.currentTheme||!e.isEmbed&&"light"===e.currentThemeBrand}},[e.columnImageLoaded[i]?e._e():t("div",{staticClass:"w-full h-full bg-linear-to-br from-gray-200 to-gray-300 animate-pulse"}),e._v(" "),t("img",{staticClass:"object-cover h-full transition-opacity duration-500",class:e.columnImageLoaded[i]?"opacity-100":"opacity-0 absolute inset-0",attrs:{src:n.content.image,alt:`multicolumn section ${e.section.id}`,width:"100%",height:"100%"},on:{load:function(t){return e.onColumnImageLoad(i)}}}
1)]):e._e(),e._v(" "),n.content.icon_css_classname||n.content.heading?t("div",{staticClass:"flex mb-7"},[n.content.icon_css_classname?t("div",{staticClass:"w-5 h-5 mr-2 mt-1.5"},[t("font-awesome-icon",{staticClass:"w-5 h-5 block icon-awesone",style:{color:e.isEmbed?"light"===e.currentTheme?"#000":"#FFF":"light"===e.currentThemeBrand?"#000":"#FFF"},attrs:{icon:[e.getIcon(n).category,e.getIcon(n).name]}})],1):e._e(),e._v(" "),n.content.heading?t("div",{staticClass:"w-11/12 sm:w-10/12 lg:w-11/12"},[t("h6",{staticClass:"lg:text-2xl text-base font-normal break-words",class:e.textHeadingStyles},[e._v("\n "+e._s(n.content.heading)+"\n ")])]):e._e()]):e._e(),e._v(" "),t("div",{staticClass:"lg:text-lg text-sm leading-[1.875rem] break-words quill-editor ql-editor",class:[e.textBodyStyles,{"mb-12":n.content.label_text&&n.content.link}],domProps:{innerHTML:e._s(n.content.description)}}),e._v(" "),n.content.label_text&&n.content.link?t("div",{staticClass:"absolute bottom-8"},[t("a",{staticClass:"hover:opacity-75 font-medium lg:text-[1.25rem] leading-none transition duration-500 ease-in-out",class:e.isEmbed?"light"===e.currentTheme?"embed-body-font text-cornflowerblue-300 hover:text-cornflowerblue-300":"embed-body-font text-cornflowerblue-200 hover:text-cornflowerblue-200":"light"===e.currentThemeBrand?"body-font-brand text-cornflowerblue-300 hover:text-cornflowerblue-300":"body-font-brand text-cornflowerblue-200 hover:text-cornflowerblue-200",attrs:{href:e.urlNewTab(n.content.link),target:"_blank"}},[e._v("\n "+e._s(n.content.label_text)+"\n "),t("font-awesome-icon",{staticClass:"mt-1 ml-2",attrs:{icon:"fa-solid fa-angle-right"}})],1)]):e._e()])]})],2)])])},[],!1,null,null,null).exports}}]);
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.