// source --> https://onlinemasters.jou.ufl.edu/wp-content/plugins/ufl-block/build/featured-video/index.js?ver=1748459117 
(()=>{"use strict";var e,t={4806:()=>{const e=window.wp.blocks,t=window.React,l=window.wp.i18n,a=window.wp.blockEditor,n=window.wp.components,o=JSON.parse('{"UU":"create-block/featured-video"}');(0,e.registerBlockType)(o.UU,{edit:e=>{const{attributes:{title:o,subTitle:r,mediaID:i,mediaURL:c,link:d,linkLabel:u,hasLinkNofollow:m,openNewTab:s,youtubeEmbed:p},setAttributes:f}=e,v=((0,a.useBlockProps)(),e=>{f({title:e})}),b=e=>{f({subTitle:e})},E=e=>{e.preventDefault()};return(0,t.createElement)(t.Fragment,null,(0,t.createElement)(a.InspectorControls,null,(0,t.createElement)(n.PanelBody,{title:(0,l.__)("Featured Video","featured-video"),initialOpen:!0},(0,t.createElement)(n.PanelRow,null,(0,t.createElement)("fieldset",null,(0,t.createElement)(a.MediaUploadCheck,null,(0,t.createElement)(a.MediaUpload,{onSelect:e=>{f({mediaURL:e.url,mediaID:e.id})},allowedTypes:"image",value:i,help:(0,l.__)("Optional","featured-video"),render:({open:e})=>(0,t.createElement)(n.Button,{className:i?"image-button":"button button-large",onClick:e},i?(0,l.__)("Change Image","ufl-block"):(0,l.__)("Upload Image","ufl-block"))})),0!=i&&(0,t.createElement)(a.MediaUploadCheck,null,(0,t.createElement)(n.Button,{onClick:()=>{e.setAttributes({mediaID:0,mediaURL:""})},isLink:!0,isDestructive:!0},(0,l.__)("Remove image","ufl-block"))))),(0,t.createElement)(n.PanelRow,null,(0,t.createElement)("fieldset",null,(0,t.createElement)(n.TextControl,{label:(0,l.__)("Video - Youtube Video ID","featured-video"),value:p,onChange:e=>{f({youtubeEmbed:e})},help:(0,l.__)("example: if URL of video is: https://www.youtube.com/watch?v=aqz-KE-bpKQ. The ID is aqz-KE-bpKQ ","featured-video")}))),(0,t.createElement)(n.PanelRow,null,(0,t.createElement)("fieldset",null,(0,t.createElement)(n.TextControl,{label:(0,l.__)("Title","featured-video"),value:o,onChange:v,help:(0,l.__)("","featured-video")}))),(0,t.createElement)(n.PanelRow,null,(0,t.createElement)("fieldset",null,(0,t.createElement)(n.TextControl,{label:(0,l.__)("Description","featured-video"),value:r,onChange:b,help:(0,l.__)("Optional","featured-video")}))),(0,t.createElement)(n.PanelRow,null,(0,t.createElement)("fieldset",null,(0,t.createElement)(n.TextControl,{label:(0,l.__)("Button Text","featured-video"),value:u,onChange:e=>{f({linkLabel:void 0===e?"":e})},help:(0,l.__)("Optional","featured-video")}))),(0,t.createElement)(n.PanelRow,null,(0,t.createElement)("fieldset",null,(0,t.createElement)(n.TextControl,{label:(0,l.__)("Button Destination","featured-video"),value:d,onChange:e=>{f({link:e})},help:(0,l.__)("Optional","featured-video")}))),(0,t.createElement)(n.PanelRow,null,(0,t.createElement)("fieldset",null,(0,t.createElement)(n.ToggleControl,{label:"Open in New Tab?",help:s?"Has rel nofollow.":"No rel nofollow.",checked:s,onChange:()=>{f({openNewTab:!s})}}))))),(0,t.createElement)("section",{className:"featured-video"},(0,t.createElement)("div",{className:"container-fluid single-video-container"},(0,t.createElement)("div",{className:"row align-items-start"},(0,t.createElement)("a",{href:"https://www.youtube.com/embed/"+p+"?autoplay=1&rel=0",className:"video-wrapper","aria-label":"Play Video","data-toggle":"lightbox",onClick:E},(0,t.createElement)("div",{className:"video-play"},(0,t.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 110 109"},(0,t.createElement)("g",{fill:"rgba(0,33,165,0.55)",stroke:"#fff",strokeWidth:"2","data-name":"Ellipse 145"},(0,t.createElement)("ellipse",{cx:"55",cy:"54.5",stroke:"none",rx:"55",ry:"54.5"}),(0,t.createElement)("ellipse",{cx:"55",cy:"54.5",fill:"none",rx:"54",ry:"53.5"})),(0,t.createElement)("path",{fill:"#fff",d:"M75.445 55.49 47 37.99V73Z","data-name":"Path 5"}))),c?(0,t.createElement)("img",{className:"img-fluid video-thumb",src:c,alt:(0,l.__)("Play Video ","ufl-block")}):(0,t.createElement)("img",{className:"img-fluid video-thumb",src:"https://i1.ytimg.com/vi/"+p+"/0.jpg",alt:(0,l.__)("Play Video ","ufl-block")}))),(0,t.createElement)("div",{className:"featured-video-content-wrapper"},(0,t.createElement)("div",{className:"col-12"},(0,t.createElement)(a.RichText,{tagName:"h2",placeholder:(0,l.__)("Write title…"),value:o,onChange:v,className:"text-white"}),(0,t.createElement)(a.RichText,{tagName:"p",placeholder:(0,l.__)("Write description…"),value:r,onChange:b,className:"text-white"})),(0,t.createElement)(n.ExternalLink,{href:d,className:"button animated-border-button button-border-orange button-dark-bg",rel:m?"nofollow":"noopener noreferrer",target:s?"_blank":"_self",onClick:E},u)))))},save:()=>null})}},l={};function a(e){var n=l[e];if(void 0!==n)return n.exports;var o=l[e]={exports:{}};return t[e](o,o.exports,a),o.exports}a.m=t,e=[],a.O=(t,l,n,o)=>{if(!l){var r=1/0;for(u=0;u<e.length;u++){l=e[u][0],n=e[u][1],o=e[u][2];for(var i=!0,c=0;c<l.length;c++)(!1&o||r>=o)&&Object.keys(a.O).every((e=>a.O[e](l[c])))?l.splice(c--,1):(i=!1,o<r&&(r=o));if(i){e.splice(u--,1);var d=n();void 0!==d&&(t=d)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[l,n,o]},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={834:0,9526:0};a.O.j=t=>0===e[t];var t=(t,l)=>{var n,o,r=l[0],i=l[1],c=l[2],d=0;if(r.some((t=>0!==e[t]))){for(n in i)a.o(i,n)&&(a.m[n]=i[n]);if(c)var u=c(a)}for(t&&t(l);d<r.length;d++)o=r[d],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return a.O(u)},l=self.webpackChunkufl_block=self.webpackChunkufl_block||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var n=a.O(void 0,[9526],(()=>a(4806)));n=a.O(n)})();
// source --> https://onlinemasters.jou.ufl.edu/wp-content/themes/ufl-main-uni-child/legacy/pardot.js?ver=20241115a 
piAId = '861023';
piCId = '18760';
piHostname = 'pi.pardot.com';

(function() {
                function async_load(){
                                var s = document.createElement('script'); s.type = 'text/javascript';
                                s.src = ('https:' == document.location.protocol ? 'https://pi' : 'http://cdn') + '.pardot.com/pd.js';
                                var c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c);
                }
                if(window.attachEvent) { window.attachEvent('onload', async_load); }
                else { window.addEventListener('load', async_load, false); }
})();