1"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[3277,3046],{64561:(e,t,o)=>{o.d(t,{Z:()=>n});const n={props:{topPadding:{type:Number,default:50},bottomPadding:{type:Number,default:50},mobileTopPadding:{type:Number,default:30},mobileBottomPadding:{type:Number,default:30}},data:function(){var e,t,o;return{isMobile:"undefined"!=typeof window?window.innerWidth<1024:null!==(e=null===(t=this.$page)||void 0===t||null===(o=t.props)||void 0===o?void 0:o.isMobileUA)&&void 0!==e&&e}},mounted:function(){window.addEventListener("resize",this.handleResize)},beforeUnmount:function(){window.removeEventListener("resize",this.handleResize)},methods:{handleResize:function(){this.isMobile=window.innerWidth<1024}},computed:{computedPaddingStyle:function(){return{paddingTop:"".concat(this.isMobile?this.mobileTopPadding:this.topPadding,"px"),paddingBottom:"".concat(this.isMobile?this.mobileBottomPadding:this.bottomPadding,"px")}}}}},63046:(e,t,o)=>{o.r(t),o.d(t,{default:()=>l});var n=o(41916);const i={components:{Container:o(49613).Z},data:function(){var e,t,o;return{isMobile:"undefined"!=typeof window?window.innerWidth<768:null!==(e=null===(t=this.$page)||void 0===t||null===(o=t.props)||void 0===o?void 0:o.isMobileUA)&&void 0!==e&&e}},props:{content:{type:String,default:"Button"},buttonColor:{type:String,default:"#008037"},hoverButtonColor:{type:String,default:"#002037"},textButtonColor:{type:String,default:"#ffffff"},buttonLink:{type:String,default:null},openNewTab:{type:Boolean,default:!1},textSize:{type:Number,default:20},mobileTextSize:{type:Number,default:20},textWeight:{type:Number,default:50},topPadding:{type:Number,default:10},bottomPadding:{type:Number,default:10},mobileTopPadding:{type:Number,default:7},mobileBottomPadding:{type:Number,default:7},buttonRadius:{type:Number,default:5},rightPadding:{type:Number,default:10},leftPadding:{type:Number,default:10},alignment:{type:String,default:"justify-start"},desktopWidth:{type:String,default:"md:w-auto"},mobileWidth:{type:String,default:"w-auto"},outlineButton:{type:Boolean,default:!1},verticalMargin:{type:Number,default:16},horizontalMargin:{type:Number,default:16}},methods:{navigateTo:function(){this.buttonLink&&window.open(this.buttonLink,this.openNewTab?"_blank":"_self")},updateIsMobile:function(){this.isMobile=window.innerWidth<768}},mounted:function(){window.addEventListener("resize",this.updateIsMobile)},beforeUnmount:function(){window.removeEventListener("resize",this.updateIsMobile)}};const l=(0,o(83744).Z)(i,[["render",function(e,t,o,i,l,r){var a=(0,n.resolveComponent)("Container");return(0,n.openBlock)(),(0,n.createBlock)(a,null,{default:(0,n.withCtx)((function(){return[(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["",["flex",o.alignment,o.desktopWidth,o.mobileWidth]])},[(0,n.createElementVNode)("button",{class:(0,n.normalizeClass)(["hover:brightness-150 transition-all duration-300 inline-flex items-center justify-center text-center whitespace-nowrap",[o.desktopWidth,o.mobileWidth]]),onClick:t[0]||(t[0]=function(){return r.navigateTo&&r.navigateTo.apply(r,arguments)}),style:(0,n.normalizeStyle)([o.outlineButton?"background-color: white; color: ".concat(o.buttonColor,"; border: 2px solid ").concat(o.buttonColor):"background-color: ".concat(o.buttonColor,"; color: ").concat(o.textButtonColor,"; border: 2px solid ").concat(o.buttonColor),"padding-top:".concat(l.isMobile?o.mobileTopPadding:o.topPadding,"px"),"padding-bottom:".concat(l.isMobile?o.mobileBottomPadding:o.bottomPadding,"px"),"padding-right:".concat(o.rightPadding,"px"),"padding-left:".concat(o.leftPadding,"px"),"font-size:".concat(l.isMobile?o.mobileTextSize:o.textSize,"px"),"font-weight:".concat(o.textWeight),"color:".concat(o.textButtonColor),"border-radius: ".concat(o.buttonRadius,"px"),"margin-top:".concat(o.verticalMargin,"px"),"margin-bottom:".concat(o.verticalMargin,"px"),"margin-right:".concat(o.horizontalMargin,"px"),"margin-left:".concat(o.horizontalMargin,"px")])},(0,n.toDisplayString)(o.content),7)],2)]})),_:1})}]])},59733:(e,t,o)=>{o.d(t,{Z:()=>s});var n=o(41916),i={key:0,class:"relative w-full h-full"},l=["aria-label"],r=["src"],a=["src","title"];var d=/(?:youtube\.com\/(?:watch\?(?:.*&)?v=|embed\/|v\/|shorts\/)|youtu\.be\/)([\w-]{11})/,u=/drive\.google\.com\/file\/d\/([\w-]+)/;const c={props:{videoUrl:{type:String,default:""},label:{type:String,default:""},mediaClass:{type:String,default:""}},data:function(){return{isPlaying:!1,posterQuality:"maxresdefault"}},computed:{youtubeId:function(){var e=(this.videoUrl||"").trim().match(d);return e?e[1]:null},embedUrl:function(){var e=(this.videoUrl||"").trim();if(!e)return null;if(this.youtubeId)return"https://www.youtube-nocookie.com/embed/".concat(this.youtubeId);var t=e.match(u);return t?"https://drive.google.com/file/d/".concat(t[1],"/preview"):null},posterUrl:function(){return this.youtubeId?"https://i.ytimg.com/vi/".concat(this.youtubeId,"/").concat(this.posterQuality,".jpg"):null},showFacade:function(){return null!==this.posterUrl&&!this.isPlaying},playerUrl:function(){return this.embedUrl?this.isPlaying?"".concat(this.embedUrl,"?autoplay=1"):this.embedUrl:null},cleanLabel:function(){return this.label?this.label.replace(/<[^>]*>/g,"").trim():""},title:function(){return this.cleanLabel||"Embedded content"},playLabel:function(){return this.cleanLabel?"Play video: ".concat(this.cleanLabel):"Play video"}},methods:{play:function(){var e=this;this.isPlaying=!0,this.$nextTick((function(){e.$refs.player&&e.$refs.player.focus()}))},downgradePoster:function(){"hqdefault"!==this.posterQuality&&(this.posterQuality="hqdefault")}
1,checkPoster:function(e){e.target.naturalWidth<=120&&this.downgradePoster()}}};const s=(0,o(83744).Z)(c,[["render",function(e,t,o,d,u,c){return c.embedUrl?((0,n.openBlock)(),(0,n.createElementBlock)("div",i,[c.showFacade?((0,n.openBlock)(),(0,n.createElementBlock)("button",{key:0,type:"button",class:"group relative block w-full h-full p-0 border-0 bg-transparent cursor-pointer","aria-label":c.playLabel,onClick:t[2]||(t[2]=function(){return c.play&&c.play.apply(c,arguments)})},[(0,n.createElementVNode)("img",{src:c.posterUrl,alt:"","aria-hidden":"true",class:(0,n.normalizeClass)(["w-full h-full object-cover",o.mediaClass]),fetchpriority:"high",onLoad:t[0]||(t[0]=function(){return c.checkPoster&&c.checkPoster.apply(c,arguments)}),onError:t[1]||(t[1]=function(){return c.downgradePoster&&c.downgradePoster.apply(c,arguments)})},null,42,r),t[3]||(t[3]=(0,n.createElementVNode)("span",{class:"absolute inset-0 flex items-center justify-center"},[(0,n.createElementVNode)("span",{class:"w-16 h-16 rounded-full flex items-center justify-center shadow-lg transition-opacity group-hover:opacity-90 group-focus-visible:ring-4 group-focus-visible:ring-white",style:{background:"#ff0000"}},[(0,n.createElementVNode)("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"white","aria-hidden":"true"},[(0,n.createElementVNode)("path",{d:"M8 5v14l11-7z"})])])],-1))],8,l)):((0,n.openBlock)(),(0,n.createElementBlock)("iframe",{key:1,ref:"player",src:c.playerUrl,title:c.title,class:(0,n.normalizeClass)(["w-full h-full border-0",o.mediaClass]),allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:"",loading:"lazy"},null,10,a))])):(0,n.createCommentVNode)("",!0)}]])},63277:(e,t,o)=>{o.r(t),o.d(t,{default:()=>b});var n=o(41916),i={class:"grid grid-cols-1 lg:grid-cols-2 gap-4 lg:gap-32 px-4 lg:px-0"},l={class:"w-full bg-neutral-100 order-2 lg:order-1 rounded-lg overflow-hidden",style:{"aspect-ratio":"16 / 9"}},r={class:"flex flex-col justify-around lg:py-8 space-y-4 order-1 lg:order-2"},a={class:"text-2xl lg:text-4xl font-semibold"},d=["innerHTML"],u={class:"hidden lg:grid grid-cols-2 gap-4"};var c=o(49613),s=o(64561),p=o(63046),g=o(59733);const f={components:{Container:c.Z,ButtonComponent:p.default,YouTubeFacade:g.Z},mixins:[s.Z],props:{heading:String,content:String,youtubeUrl:String,bgColor:String,fgColor:String,cta1Button:{type:Object},cta2Button:{type:Object}}};const b=(0,o(83744).Z)(f,[["render",function(e,t,o,c,s,p){var g=(0,n.resolveComponent)("YouTubeFacade"),f=(0,n.resolveComponent)("ButtonComponent"),b=(0,n.resolveComponent)("Container");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:"bg-white text-white",style:(0,n.normalizeStyle)([o.bgColor?"background-color: ".concat(o.bgColor):"",o.fgColor?"color: ".concat(o.fgColor):"",e.computedPaddingStyle])},[(0,n.createVNode)(b,null,{default:(0,n.withCtx)((function(){return[(0,n.createElementVNode)("div",i,[(0,n.createElementVNode)("div",l,[(0,n.createVNode)(g,{"video-url":o.youtubeUrl,label:o.heading},null,8,["video-url","label"])]),(0,n.createElementVNode)("div",r,[(0,n.createElementVNode)("h2",a,(0,n.toDisplayString)(o.heading),1),(0,n.createElementVNode)("div",{innerHTML:o.content},null,8,d),(0,n.createElementVNode)("div",u,[(0,n.createVNode)(f,(0,n.normalizeProps)((0,n.guardReactiveProps)(o.cta1Button)),null,16),(0,n.createVNode)(f,(0,n.normalizeProps)((0,n.guardReactiveProps)(o.cta2Button)),null,16)])])])]})),_:1})],4)}]])}}]); 2//# sourceMappingURL=3277.c43c1696.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.