1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4297],{9485:(e,l,a)=>{"use strict";a.d(l,{A:()=>r});var t=a(95155),i=a(12115),n=a(20063),s=a(44897);let r=e=>{let{customErrorInputStyle:l=null,customErrorLabelStyle:a=null,customErrorMessageStyle:r=null,errorMessage:d="",idField:o,inputClassName:c,isValid:u=!0,label:m,labelClassName:v,name:p,onLoad:h,onPlaceChanged:g,placeholder:f,required:x,setValue:y,value:b}=e;(0,n.useRouter)();let[j]=(0,i.useState)(["places","drawing","geometry"]),{isLoaded:N,loadError:w}=(0,s.KD)({googleMapsApiKey:"AIzaSyAhmkXkKUUTKSWVTw3Xtz2dkZWZT8NuTXY",libraries:j}),_=(0,i.useRef)(null);return(0,t.jsxs)(t.Fragment,{children:[w&&(0,t.jsx)("div",{children:"Google Map script can't be loaded, please reload the page"}),N&&(0,t.jsxs)("div",{className:"tps-form-label",children:[(0,t.jsx)("label",{className:v||"form-control tps-field-required tps-to-validate",htmlFor:o,style:((e,l)=>!e&&l?l:{color:e?"":"#960000"})(u,a),children:m}),(0,t.jsx)(s.jT,{onLoad:h,fields:["place_id","name","geometry","formatted_address","address_components"],restrictions:{country:["ca","us"]},onPlaceChanged:e=>g(e),children:(0,t.jsx)("input",{className:c,style:((e,l)=>!e&&l?l:{border:e?"1px solid #ccc":"1px solid #960000",background:e?"":"#f9f0f0"})(u,l),ref:_,type:"text",id:o,name:p,required:x,placeholder:f,onKeyPress:e=>{if("Enter"===e.key)return e.preventDefault(),!1},value:b,onChange:y})}),!u&&(0,t.jsx)("span",{className:"EditingFormErrorLabel",style:r,children:d})]})]})}},18072:()=>{},19985:(e,l,a)=>{"use strict";a.d(l,{default:()=>u});var t=a(95155),i=a(12115),n=a(15239),s=a(12389);a(18072);var r=a(82931),d=a(8698);let o=e=>{var l,a,i,s,o,c;let{slide:u,index:m,display:v,handleSlideChange:p,onClose:h,ntd:g=!1}=e,f=r.A.sanitize(null==u?void 0:u.caption);return(0,t.jsx)("div",{className:"reveal-overlay tps-gallery-modal-overlay",style:{display:v?"flex":"none"},children:(0,t.jsxs)("div",{id:"gallery-modal-".concat(m),className:"reveal gallery-modal",role:"dialog","aria-hidden":"false","data-yeti-box":"gallery-modal-".concat(m),"data-resize":"gallery-modal-".concat(m),"data-i":"51tqac-i",tabIndex:"-1",style:{display:v?"block":"none",alignContent:"center",top:"-100px"},children:[(0,t.jsxs)("button",{className:"close-button","data-close":"",type:"button",onClick:h,style:{display:"block",position:"relative",margin:"0 0 0 auto",padding:"20px 0"},children:[(0,t.jsx)("span",{className:"sr-only",children:"Close video modal"}),"\xd7"]}),(0,t.jsxs)("div",{className:"tps-gallery-modal-item-wrapper",children:[(0,t.jsx)("a",{href:"#",className:"tps-gallery-modal-control","data-gallery-dir":"prev","data-gallery-array-id":"galleryItems_".concat(m),"data-target-item-id":"gallery_item_id_".concat(m),"data-target-item-index":"".concat(m),onClick:e=>p(e,"previous"),children:(0,t.jsxs)("span",{className:"sr-only",children:["previous image",(0,t.jsx)("span",{})]})}),(0,t.jsx)(n.default,{className:"tps-gallery-modal-item-image",src:(0,d.b)(g?u:(null==u||null==(a=u.formats)||null==(l=a.large)?void 0:l.url)||(null==u?void 0:u.url),g),alt:(null==u?void 0:u.alternativeText)?null==u?void 0:u.alternativeText:"",width:(null==u||null==(s=u.formats)||null==(i=s.large)?void 0:i.width)||(null==u?void 0:u.width),height:(null==u||null==(c=u.formats)||null==(o=c.large)?void 0:o.height)||(null==u?void 0:u.height)}),(0,t.jsx)("a",{href:"#",className:"tps-gallery-modal-control","data-gallery-dir":"next","data-gallery-array-id":"galleryItems_".concat(m),"data-target-item-id":"gallery_item_id_".concat(m),"data-target-item-index":"".concat(m),onClick:e=>p(e,"next"),children:(0,t.jsxs)("span",{className:"sr-only",children:["next image",(0,t.jsx)("span",{})]})}),!!u.caption&&(0,t.jsx)("div",{className:"tps-gallery-modal-item-text",dangerouslySetInnerHTML:{__html:f}})]})]})})};var c=a(16405);let u=e=>{let{key:l,slides:a,ntd:r=!1}=e,u=(0,i.useRef)(null),[m,v]=(0,i.useState)(0),[p,h]=(0,i.useState)(!1),g=(0,i.useRef)({x:0,y:0}),[f,x]=(0,i.useState)(!1),[y,b]=(0,i.useState)(!1),[j,N]=(0,i.useState)(!1);if((0,i.useEffect)(()=>
1{document.querySelectorAll(".slick-slide").forEach(e=>{e.classList.contains("tps-slider-item")||(e.classList.add("tps-slider-item"),e.setAttribute("aria-hidden","false"))})},[m]),!a||0===a.length)return null;let w=e=>{h(!1),g.current={x:e.clientX,y:e.clientY}},_=e=>{(Math.abs(e.clientX-g.current.x)>5||Math.abs(e.clientY-g.current.y)>5)&&h(!0)};return(0,t.jsxs)("div",{className:"tps-slider-wrapper",children:[(0,i.createElement)(s.A,{arrows:!0,centerMode:!0,centerPadding:0,className:"tps-slider",dots:!1,draggable:!0,swipeToSlide:!0,infinite:!0,initialSlide:1,lazyLoad:"progressive",slidesToScroll:1,slidesToShow:3,swipe:!0,speed:500,touchMove:!0,touchThreshold:100,beforeChange:()=>v(m+1),afterChange:()=>v(m+1),responsive:[{breakpoint:768,settings:{centerPadding:0,slidesToShow:3,slidesToScroll:1}},{breakpoint:520,settings:{centerPadding:0,slidesToShow:1,slidesToScroll:1}}],key:l,ref:u},null==a?void 0:a.map((e,l)=>{var i,s,o,u,m,v,h,g;let y=(null==e||null==(s=e.image)||null==(i=s.data)?void 0:i.attributes)||e,j=(0,d.b)((null==y?void 0:y.url)||y,r);return(0,t.jsx)("div",{onMouseDown:w,onMouseMove:_,onMouseUp:e=>((e,l)=>{p?e.preventDefault():(x(!f),b(r?a[l]:a[l].image.data.attributes),N(l))})(e,l),children:(0,t.jsxs)("a",{className:"tps-slider-item-link tps-gallery-item",href:"#",title:null==y?void 0:y.alternativeText,"data-gallery-array-id":"galleryItems_".concat(l),"data-item-id":"".concat(null==y?void 0:y.alternativeText,"-").concat(l),"data-item-image":j,"data-item-description":"","data-item-link":"","data-item-index":"galleryItems_".concat(l),tabIndex:"-1",children:[(0,t.jsx)(n.default,{src:(0,d.b)((null==y||null==(u=y.formats)||null==(o=u.small)?void 0:o.url)||(null==y?void 0:y.url)||y,r),alt:(null==y?void 0:y.alternativeText)||"",className:"tps-slider-image",width:(null==y||null==(v=y.formats)||null==(m
1=v.small)?void 0:m.width)||(null==y?void 0:y.width)||400,height:(null==y||null==(g=y.formats)||null==(h=g.small)?void 0:h.height)||(null==y?void 0:y.height)||300}),(0,t.jsx)("span",{className:"tps-slider-image-bg","data-bg":j,style:{backgroundPosition:"0% 0%",backgroundImage:"url(".concat(j,")")}}),(null==y?void 0:y.caption)&&(0,t.jsx)("p",{className:"tps-slider-image-description",children:(0,t.jsx)("strong",{children:(null==y?void 0:y.caption)&&(0,c.Ay)(null==y?void 0:y.caption)})})]},l)},l)})),f&&(0,t.jsx)(o,{slide:y,index:j,display:f,handleSlideChange:(e,l)=>{if(e.preventDefault(),"next"===l)if(j<a.length-1){var t;N(j+1),b(r?a[j+1]:null==(t=a[j+1].image.data)?void 0:t.attributes)}else N(0),b(r?a[0]:a[0].image.data.attributes);else 0==j?(N(a.length-1),b(r?a[a.length-1]:a[a.length-1].image.data.attributes)):(N(j-1),b(r?a[j-1]:a[j-1].image.data.attributes))},onClose:()=>x(!1),ntd:r})]})}},26851:(e,l,a)=>{"use strict";a.d(l,{default:()=>r});var t=a(95155);a(12115),a(96262);var i=a(15239),n=a(8698);let s=e=>{let{image:l,text:a}=e;return(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)("div",{className:"tps-inline-image-wrapper tps-float-left tps-float-tablet tps-no-border",children:(0,t.jsxs)("div",{className:"tps-inline-image-inner",children:[l&&(0,t.jsx)(i.default,{alt:(null==l?void 0:l.alternativeText)||"",src:(0,n.b)(null==l?void 0:l.url),quality:90,width:null==l?void 0:l.width,height:null==l?void 0:l.height,loading:"lazy",className:"tps-inline-image"}),(0,t.jsx)("div",{className:"tps-inline-image-border","aria-hidden":"true"})]})})}),(0,t.jsx)("td",{dangerouslySetInnerHTML:{__html:a}})]})},r=e=>{let{items:l,withinContainer:a}=e,i=(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"tps-editable-text cell margin-bottom-3",children:(0,t.jsx)("div",{className:"table-scroll",children:(0,t.jsx)("table",{border:"1",cellPadding:"1",cellSpacing:"1",role:"presentation",style:{width:"100%"},children:(0,t.jsx)("tbody",{children:l&&l.map((e,l)=>{var a,i;return(0,t.jsx)(s,{image:null==e||null==(i=e.image)||null==(a=i.data)?void 0:a.attributes,text:null==e?void 0:e.text},l)})})})})})});return a?(0,t.jsx)("div",{className:"grid-container",children:i}):i}},30203:()=>{},33159:(e,l,a)=>{"use strict";a.d(l,{default:()=>d});var t=a(95155),i=a(12115),n=a(37349),s=a(15239),r=a(8698);let d=e=>{let{title:l,images:a,popupImageSize:d,imagesInRow:o}=e,[c,u]=(0,i.useState)(!1),[m,v]=(0,i.useState)(!1),[p,h]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=e=>{"Escape"===e.key&&u(!1)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[]),(0,t.jsxs)("div",{className:"tps-gallery-grid-wrapper",children:[(0,t.jsx)("div",{className:"tps-gallery-grid grid-x grid-margin-x small-up-1 medium-up-".concat(o>1?2:1," tablet-up-").concat(o>=6?o-3:o>=4?o-2:o>=2?o-1:1," large-up-").concat(o),children:a.data.map((e,l)=>{var i,n,o,m,p,g,f;let x=null==e?void 0:e.attributes;return(0,t.jsx)("div",{className:"tps-gallery-grid-item cell",children:(0,t.jsx)("a",{className:"tps-gallery-grid-item-link tps-gallery-item",href:"#",title:null==x?void 0:x.alternativeText,"data-gallery-array-id":"galleryItems_".concat(l),"data-item-id":"".concat(null==x||null==(i=x.alternativeText)?void 0:i.replace(/ /,""),"-").concat(l),"data-item-image":(0,r.b)(x.url),"data-item-description":"","data-item-link":"","data-item-index":l,"data-class-name":"".concat(d," grid-item-modal"),onClick:()=>{((e,l)=>{e.preventDefault(),u(!c),v(a.data[l].attributes),h(l)})(event,l)},children:(0,t.jsx)(s.default,{alt:(null==x?void 0:x.alternativeText)||"",src:(0,r.b)((null==x||null==(o=x.formats)||null==(n=o.medium)?void 0:n.url)||x.url),width:(null==x||null==(p=x.formats)||null==(m
1=p.medium)?void 0:m.width)||x.width,height:(null==x||null==(f=x.formats)||null==(g=f.medium)?void 0:g.height)||x.height})})},l)})}),c&&(0,t.jsx)(n.A,{image:m,index:p,display:c,handleImageChange:(e,l)=>{e.preventDefault(),"next"===l?p<a.data.length-1?(h(p+1),v(a.data[p+1].attributes)):(h(0),v(a.data[0].attributes)):0==p?(h(a.data.length-1),v(a.data[a.data.length-1].attributes)):(h(p-1),v(a.data[p-1].attributes))},onClose:()=>u(!1),popupImageSize:d})]})}},37349:(e,l,a)=>{"use strict";a.d(l,{A:()=>r});var t=a(95155);a(12115);var i=a(82931),n=a(15239),s=a(8698);let r=e=>{var l,a,r,d,o,c;let{image:u,index:m,display:v,handleImageChange:p,onClose:h,popupImageSize:g}=e,f=i.A.sanitize(null==u?void 0:u.caption);return(0,t.jsx)("div",{className:"reveal-overlay tps-gallery-modal-overlay",style:{display:v?"flex":"none"},onClick:h,children:(0,t.jsxs)("div",{id:"gallery-modal-".concat(m),className:"gallery-modal grid-item-modal reveal ".concat("large"===g?g:""),role:"dialog","aria-hidden":"false","data-yeti-box":"gallery-modal-".concat(m),"data-resize":"gallery-modal-".concat(m),"data-i":"51tqac-i",tabIndex:"-1",style:{display:v?"block":"none",alignContent:"center",top:"-100px"},children:[(0,t.jsxs)("button",{className:"close-button","data-close":"",type:"button",onClick:h,style:{display:"block",position:"relative",margin:"0 0 0 auto",padding:"20px 0"},children:[(0,t.jsx)("span",{className:"sr-only",children:"Close window"}),"\xd7"]}),(0,t.jsxs)("div",{className:"tps-gallery-modal-item-wrapper",onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("a",{href:"#",className:"tps-gallery-modal-control","data-gallery-dir":"prev","data-gallery-array-id":"galleryItems_".concat(m),"data-target-item-id":"gallery_item_id_".concat(m),"data-target-item-index":"".concat(m),onClick:e=>p(e,"previous"),children:(0,t.jsxs)("span",{className:"sr-only",children:["previous image",(0,t.jsx)("span",{})]})}),(0,t.jsx)(n.default,{className:"tps-gallery-modal-item-image",src:(0,s.b)((null==u||null==(a=u.formats)||null==(l=a.large)?void 0:l.url)||(null==u?void 0:u.url)),alt:(null==u?void 0:u.alternativeText)?null==u?void 0:u.alternativeText:"",width:(null==u||null==(d=u.formats)||null==(r=d.large)?void 0:r.width)||(null==u?void 0:u.width),height:(null==u||null==(c=u.formats)||null==(o=c.large)?void 0:o.height)||(null==u?void 0:u.height)}),(0,t.jsx)("a",{href:"#",className:"tps-gallery-modal-control","data-gallery-dir":"next","data-gallery-array-id":"galleryItems_".concat(m),"data-target-item-id":"gallery_item_id_".concat(m),"data-target-item-index":"".concat(m),onClick:e=>p(e,"next"),children:(0,t.jsxs)("span",{className:"sr-only",children:["next image",(0,t.jsx)("span",{})]})}),!!(null==u?void 0:u.caption)&&(0,t.jsx)("div",{className:"tps-gallery-modal-item-text",dangerouslySetInnerHTML:{__html:f}})]})]})})}},43907:(e,l,a)=>{"use strict";a.d(l,{default:()=>q});var t=a(95155),i=a(12115),n=a(20063);let s=e=>{let{name:l,idField:a,value:i,...n}=e;return(0,t.jsx)("input",{id:a||l,name:l,defaultValue:i,type:"hidden",...n})};var r=a(71506),d=a(44756);let o=e=>{let{label:l,name:a,required:n,idField:s,onChangeHandler:r,multiple:d=!1,description:o,explanation:c}=e,u=s?s+"-inputFile":a+"-inputFile",[m,v]=(0,i.useState)(null),p=(0,i.useRef)(null);return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"tps-form-question",children:[(0,t.jsxs)("div",{className:"tps-form-label",children:[(0,t.jsx)("label",{className:"fatv2-masthead-form-label form-control ".concat(n?"tps-field-required tps-to-validate":"tps-not-required"),htmlFor:u,children:l}),!!c&&""!==c&&(0,t.jsx)("div",{className:"fas fa-info-circle tps-form-tip has-tip",children:(0,t.jsx)("div",{className:"tooltiptext",dangerouslySetInnerHTML:{__html:c}})}),!!m&&(0,t.jsx)(t.Fragment,{children:Array.from(m).map((e,l)=>(0,t.jsx)("a",{href:"#",className:"tps-file-value",onClick:e=>{e.preventDefault(),p.current.value=null,v(null)},children:null==e?void 0:e.name},l))})]}),(0,t.jsxs)("div",{className:"tps-form-input",children:[(0,t.jsx)("input",{className:"form-text fatv2-masthead-form-input",id:u,name:a,type:"file",multiple:d,required:n,onChange:e=>{r(e),v(e.target.files)},style:{display:"none"},ref:p}),!!o&&""!==o&&(0,t.jsx)("p",{className:"tps-form-input-explaination",dangerouslySetInnerHTML:{__html:o}})]})]})})};var c=a(2528),u=a(27597);let m=e=>{let{title:l}=e;return(0,t.jsx)("div",{style:{height:"1.3em",margin:"0.5em 0",border:"1px dashed blue",borderTop:0,borderRight:0,borderLeft:0},children:l})};var v=a(258),p=a(43023),h=a(44299),g=a(16405);let f=e=>{let{label:l,name:a,items:n,required:s,onChangeHandler:r,isValid:d,errorMessage:o,description:c,explanation:u,value:m,...v}=e;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"tps-form-question",children:[(0,t.jsxs)("div",{className:"tps-form-label",children:[(0,t.jsx)("span",{className:"EditingFormLabel ".concat(s&&"tps-field-required"),
1children:(0,g.Ay)(l)}),!!u&&""!==u&&(0,t.jsx)("div",{className:"fas fa-info-circle tps-form-tip has-tip",children:(0,t.jsx)("div",{className:"tooltiptext",dangerouslySetInnerHTML:{__html:u}})})]}),(0,t.jsxs)("div",{className:"tps-form-input",children:[(0,t.jsx)("div",{className:"EditingFormControlNestedControl editing-form-control-nested-control",children:(0,t.jsxs)("span",{className:"radio radio-list-vertical",children:[n&&(null==n?void 0:n.map((e,l)=>(0,t.jsxs)(i.Fragment,{children:[l>0&&(0,t.jsx)("br",{}),(0,t.jsx)("input",{type:"radio",id:"".concat(a).concat(l),name:a,value:e.value,className:"tps-to-validate",onChange:e=>r(e),checked:m===e.value}),(0,t.jsx)("label",{htmlFor:"".concat(a).concat(l),dangerouslySetInnerHTML:{__html:e.label||e.value}})]},l))),!d&&s&&(0,t.jsx)("span",{className:"EditingFormErrorLabel",children:o})]})}),!!c&&""!==c&&(0,t.jsx)("p",{className:"tps-form-input-explaination",dangerouslySetInnerHTML:{__html:c}})]})]})})};var x=a(9485),y=a(99354);let b=e=>{let{label:l,name:a,onChangeHandler:n,required:s,value:r="",isValid:d=!0,errorMessage:o=""}=e,c=(0,i.useRef)(null),u=(0,i.useRef)(null),m=()=>{if(!u.current||!c.current)return;let e=c.current.isEmpty()?"":c.current.toDataURL();u.current.value=e,n&&n({target:{name:a,value:e}})};return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"tps-form-question",children:[(0,t.jsx)("div",{className:"tps-form-label",children:(0,t.jsx)("label",{className:"EditingFormLabel ".concat(s?"tps-field-required tps-to-validate":"tps-not-required"),children:l})}),(0,t.jsx)("div",{className:"tps-form-input",children:(0,t.jsxs)("div",{className:"EditingFormControlNestedControl editing-form-control-nested-control",children:[(0,t.jsxs)("div",{className:"tps-canvas-input-wrapper",children:[(0,t.jsx)("input",{ref:u,name:a,type:"text",className:"tps-canvas-input form-control tps-to-validate",value:r,onChange:e=>null==n?void 0:n(e)}),(0,t.jsxs)("div",{style:{position:"relative",width:"fit-content"},className:"".concat(d?"":"Error"),children:[(0,t.jsx)(y.A,{ref:c,onEnd:m,canvasProps:{className:"tps-canvas-input-inner"}}),(0,t.jsxs)("a",{onClick:()=>{c.current&&(c.current.clear(),m())},style:{color:"#191919",position:"absolute",top:".625rem",right:".625rem"},children:[(0,t.jsx)("span",{children:"Reset"}),(0,t.jsx)("i",{className:"fal fa-redo","aria-hidden":"true"})]})]})]}),!d&&(0,t.jsx)("label",{className:"fatv2-body form-control tps-field-required EditingFormErrorLabel",htmlFor:o,children:o})]})})]})})},j=e=>{let{label:l,name:a,required:i,hidden:n,value:s,...r}=e;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"tps-form-question",style:{display:n?"none":""},children:[(0,t.jsx)("div",{className:"tps-form-label",children:!!l&&""!==l&&(0,t.jsx)("label",{className:"".concat(i?"tps-field-required tps-to-validate":"tps-not-required"),children:(0,g.Ay)(l)})}),(0,t.jsx)("div",{className:"tps-form-input",children:(0,t.jsx)("span",{className:"LabelField form-control-text",children:s})})]})})};var N=a(23704);let w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:24,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a="";for(let t=0;t<e;t+=1)a+=l.charAt(Math.floor(Math.random()*l.length));return a},_=e=>{let l={};return null==e||e.map(e=>{switch(e.__component){case"forms.form-item":case"forms.email-field":(null==e?void 0:e.value)&&(l[null==e?void 0:e.name]=null==e?void 0:e.value);break;case"forms.select-field":(null==e?void 0:e.items.filter(e=>!0===e.selected).length)>0&&(l[null==e?void 0:e.name]=null==e?void 0:e.items.filter(e=>!0===e.selected)[0].value);break;case"forms.radio-field":(null==e?void 0:e.items.filter(e=>!0===e.selected).length)>0&&(l[null==e?void 0:e.name]=null==e?void 0:e.items.filter(e=>!0===e.selected)[0].value);break;case"forms.checkbox":if((null==e?void 0:e.items.filter(e=>!0===e.selected).length)>0){let a=[];null==e||e.items.filter(e=>!0===e.selected).map(e=>{a.push(e.value)}),l[null==e?void 0:e.name]=a}break;case"forms.hidden-field":(null==e?void 0:e.randomKey)?l[null==e?void 0:e.name]=w(24):(null==e?void 0:e.value)&&(l[null==e?void 0:e.name]=null==e?void 0:e.value)}}),l},k=e=>{let{label:l,tableHeaders:a,questions:i,onChangeHandler:n,inputsData:s,inputsValidationData:r}=e;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"tps-form-question",children:[!!l&&""!==l&&(0,t.jsx)("h3",{children:l}),(0,t.jsx)("table",{className:"tps-form-rating-table",role:"presentation",children:(0,t.jsxs)("tbody",{children:[(0,t.jsxs)("tr",{className:"tps-form-rating-table-header",children:[(0,t.jsx)("td",{className:"padded",children:"\xa0"}),(0,t.jsx)("td",{children:(0,t.jsx)("div",{className:"table-scroll",children:(0,t.jsx)("table",{role:"presentation",children:(0,t.jsx)("tbody",{children:(0,t.jsx)("tr",{children:a.map((e,l)=>(0,t.jsx)("td",{className:"padded",dangerouslySetInnerHTML:{__html:e.header}},l))})})})})})]}),i.map((e,l)=>{var a,i;return(0,t.jsxs)("tr",{className:"tps-form-rating-table-row",children:[(0,t.jsxs)("td",{children:[(0,t.jsx)("div",{className:"tps-form-label",children:(0,t.jsx)("span",{className:"EditingFormLabel ".concat(e.required&&"tps-field-required"),dangerouslySetInnerHTML:{__html:e.label}})}),!(null==(a=r[e.name])?void 0:a.valid)&&e.required&&(0,t.jsx)("span",{className:"EditingFormErrorLabel",children:null==(i=r[e.name])?void 0:i.message})]}),(0,t.jsx)("td",{children:(0,t.jsx)("div",{className:"EditingFormControlNestedControl editing-form-control-nested-control",children:(0,t.jsx)("div",{className:"table-scroll",children:(0,t.jsx)("table",{className:"radio",children:(0,t.jsx)("tbody",{children:(0,t.jsx)("tr",{children:e.items.map((l,a)=>(0,t.jsxs)("td",{children:[(0,t.jsx)("input",{type:"radio",id:"".concat(e.name,"-option").concat(a),name:e.name,value:l.value,className:"tps-to-validate",onCh
1ange:e=>n(e),checked:(s[e.name]||"")===l.value}),(0,t.jsx)("label",{htmlFor:"".concat(e.name,"-option").concat(a),dangerouslySetInnerHTML:{__html:l.label||l.value}})]},"".concat(e.name,"-option").concat(a)))})})})})})})]},"".concat(e.name).concat(l))})]})})]})})};var S=a(31071);async function C(e,l){let a=new TextEncoder,t=a.encode(l),i=a.encode(e),n=await window.crypto.subtle.importKey("raw",t,{name:"HMAC",hash:"SHA-256"},!1,["sign"]),s=new Uint8Array(await window.crypto.subtle.sign("HMAC",n,i));return s.toBase64?s.toBase64():btoa(String.fromCharCode(...s))}var T=a(95704);let q=e=>{let{emailRecipients:l,emailNotificationFromEmail:a,emailNotificationTemplateId:g,autoResponderEmailSourceFieldName:y,autoResponderSubject:w,autoResponderContent:q,autoResponderFromEmail:F,formSubmittedAction:A,formSubmittedActionTextOrURL:I,formName:L,id:E,formId:M,index:R,inputs:H,separator:D,submitButtonId:P,submitButtonValue:U,title:z,topText:O,formClosed:V,formClosedText:X,formClosedDate:B,isPrivate:K,createCCTicket:J}=e,Q=(0,n.useRouter)(),[W,Y]=(0,i.useState)(!1),Z=(e,l)=>{let a=new URLSearchParams(window.location.search),t=e;return t=t.replace(/\{\?\s*(\w+)\s*\?\}/g,(e,l)=>a.get(l)||""),l&&(t=t.replace(/\{\%\s*(\w+)\s*\%\}/g,(e,a)=>l[a]||"")),t},[G,$]=(0,i.useState)(null==H?void 0:H.map(e=>e.value?{...e,value:Z(e.value,null)}:e)),ee=(null==G?void 0:G.find(e=>"forms.captcha-field"===e.__component))!==void 0,[el,ea]=(0,i.useState)((e=>{let l={};return null==e||e.map(e=>{switch(e.__component){case"forms.hidden-field":l[null==e?void 0:e.name]={valid:!0,message:""};break;case"forms.form-item":l[null==e?void 0:e.name]={required:null==e?void 0:e.required,value:null==e?void 0:e.value,type:"text",valid:!0,message:"",validation:null==e?void 0:e.validation};break;case"forms.textarea-field":l[null==e?void 0:e.name]={required:null==e?void 0:e.required,valid:!0,type:"textarea",message:""};break;case"forms.choice-field-item":l[null==e?void 0:e.name]={required:null==e?void 0:e.required,valid:!0,type:"select",message:""};break;case"forms.radio-field":l[null==e?void 0:e.name]={required:null==e?void 0:e.required,type:"radio",valid:!0,message:""};break;case"forms.checkbox":l[null==e?void 0:e.name]={required:null==e?void 0:e.required,valid:!0,type:"checkbox",message:""};break;case"forms.email-field":l[null==e?void 0:e.name]={required:null==e?void 0:e.required,type:"email",valid:!0,message:""};break;case"forms.captcha-field":l[null==e?void 0:e.name]={required:!0,value:"",type:"recaptcha",valid:!0,message:""};break;case"forms.signature":l[null==e?void 0:e.name]={required:null==e?void 0:e.required,value:"",type:"signature",valid:!0,message:""}}}),l})(G)),[et,ei]=(0,i.useState)("find-a-teacher"!==L?{formName:L,..._(G)}:_(G)),[en,es]=(0,i.useState)(!1),[er,ed]=(0,i.useState)(!1),[eo,ec]=(0,i.useState)([]),[eu,em]=(0,i.useState)(null),[ev,ep]=(0,i.useState)(null),[eh,eg]=(0,i.useState)(null),ef=[];null==G||G.map((e,l)=>{"forms.step"===e.__component&&ef.push({...e,stepIndex:l})});let ex=ef.length>0;0===ef.length&&ef.push({title:"Default",stepIndex:0});let[ey,eb]=(0,i.useState)(0),ej=async()=>{let e=async(e,l,a)=>{let t=await fetch("".concat(T.env.NEXT_PUBLIC_STAPI_USE_CLIENT_URL||"https://cms.rcmusic.com","/api/forms/field-count"),{method:"POST",cache:"no-store",headers:{"Content-Type":"application/json"},body:JSON.stringify({formId:e,fieldName:l,value:a})}),i=await t.json();return t.ok?i.count:(console.error("Error fetching field count:",i),0)};for(let l of G)if(null!==l.display_condition&&void 0!==l.display_condition){let a=/count\(\s*([^,]+?)\s*,\s*(?:"(.+?)"|(\d+))\s*\)/g;for(let t of[...l.display_condition.matchAll(a)]){let a=t[0],i=t[1].trim(),n=void 0!==t[2]?t[2]:t[3],s=await e(E,i,n);l.display_condition=l.display_condition.replace(a,s)}}Y(!0)},eN=e=>{eg(e)},ew=e=>{eh&&ep(eh.getPlace())},e_=(e,l)=>{em(e),ei({...et,[l]:e}),ea(a=>({...a,[l]:{...a[l],value:e,type:"recaptcha"}}))},ek=e=>{let{name:l,files:a}=e.target;var t=a[0];if(t){var i=new File([t],l+"_"+t.name,{type:t.type});ei({...et,[l]:i.name}),ec([...eo,i])}},eS=e=>{let{name:l,checked:a,value:t}=e.target;ei({...et,[l]:a?[...et[l]||[],t]:(et[l]||[]).filter(e=>e!==t)}),ea(e=>{var i,n;return{...e,[l]:{...e[l],value:a?[...(null==(i=e[l])?void 0:i.value)||[],t]:((null==(n=e[l])?void 0:n.value)||[]).filter(e=>e!==t)}}})},eC=e=>{let{name:l,value:a}=e.target;ei({...et,[l]:a}),ea(e=>({...e,[l]:{...e[l],value:a,valid:!0}}))},eT=async e=>{console.log("Form submitHandler called !!! "),e.preventDefault();let t=(0,N.H)(el);if(console.log("validatedData2 !!! ",t),ea(t),!Object.keys(t).every(e=>{if(t[e].valid)return!0;{var l;let a=null==(l=H.find(l=>
1l.name===e))?void 0:l.display_condition;return!(0,S.Q)(a,et)}}))return;if("find-a-teacher"===L){let e=et?Object.keys(et).map(e=>encodeURIComponent(e)+"="+encodeURIComponent(et[e])).join("&"):null;"place_id"in ev&&Q.push("/find-a-teacher/place?place=".concat(ev.place_id)+(e?"&".concat(e):""));return}let i=eu||null;if(ee&&!i)return void alert('Please, check the option "I\'m not a robot" before continue 2.');delete et.captcha;let n=new FormData,s={...et,emailRecipients:l,emailNotificationFromEmail:a,emailNotificationTemplateId:g,autoResponderEmailSourceFieldName:y,autoResponderFromEmail:F,autoResponderSubject:w,autoResponderContent:q,isPrivate:K,createCCTicket:J};es(!0),n.append("data",JSON.stringify({payload:s,form:E,captcha:!!ee,captchaResponse:i}));for(let e=0;e<eo.length;e++)n.append("files.attachments",eo[e]);if("ReportAnIssue"===L){var r;let e=null==s||null==(r=s.FullName)?void 0:r.split(" "),l=JSON.stringify({reason:54,firstName:e[0]||"",lastName:e[1]||"",email:(null==s?void 0:s.Email)||"",message:"".concat(s.NatureOfTheIssue," issue: ").concat(null==s?void 0:s.DescriptionOfIssue)||""}),a=await C(l,"".concat("XmOXS0512Ke4jcdynKpz"));await fetch("".concat("https://admin.rcmusic.com/administration","/contact-centre/contactus/create?_format=json&t=").concat(Date.now()),{method:"POST",headers:{"Content-Type":"application/json","X-Exams-Secret":a},body:l}).then(e=>e.text()).catch(e=>console.error(e))}fetch("".concat(T.env.NEXT_PUBLIC_STAPI_USE_CLIENT_URL||"https://cms.rcmusic.com","/api/sent-forms"),{method:"POST",body:n}).then(e=>e.text()).then(e=>{e.includes("id")||K?(ed(!0),"Redirect to URL"===A&&Q.push(Z(I,et))):(es(!1),alert("Form not sent!"))}).catch(e=>console.error(e))};return(0,i.useEffect)(()=>{var e;new URLSearchParams(null==(e=window)?void 0:e.location.search),W||ej()},[]),(0,t.jsxs)("div",{className:"tps-layout",children:[z&&(D?(0,t.jsx)("legend",{className:"separator-left h1",children:z}):(0,t.jsx)("div",{role:"heading","aria-level":"2",className:"form-title h2",children:z})),!0===V||B&&new Date>new Date(B)?(0,t.jsx)("p",{dangerouslySetInnerHTML:{__html:X||"<h3>This form is now closed.</h3>"}}):(0,t.jsxs)(t.Fragment,{children:[O&&(0,t.jsx)("p",{dangerouslySetInnerHTML:{__html:O}}),(0,t.jsx)("form",{id:M,name:L,"data-form-id":M,className:"form-container form-button-alignment-left",onSubmit:eT,noValidate:!0,children:(0,t.jsx)("div",{className:"fatv2-masthead-form-inner",children:(0,t.jsx)("div",{className:"fatv2-masthead-form fatv2-masthead-fake-form","data-algo":"geo","data-algo-geofield":"#postal-code","data-algo-georadiusfield":"#distance","data-algo-index":"find-a-teacher-v4",id:"findateacher-fatlp-form",children:(0,t.jsx)("fieldset",{className:"fatv2-masthead-form-fieldset",children:(0,t.jsx)("div",{className:"form-container-inner",style:{display:"block"},"data-tps-step-index":"0",children:(0,t.jsxs)("div",{className:"tps-form-container active",children:[ex&&(0,t.jsx)("div",{className:"form-container-step-controls grid-x grid-padding-x align-center align-top",children:ef.map((e,l)=>(0,t.jsxs)("div",{className:"tps-form-step-control cell shrink ".concat(ey===l&&"active"),"data-target-step":l,children:[(0,t.jsx)("span",{className:"tps-form-step-icon",children:l+1}),(0,t.jsx)("span",{className:"tps-form-step-control-label show-for-tablet",children:e.title})]},"step-".concat(l)))}),ef.map((e,l)=>(0,t.jsx)("div",{className:"tps-form-step ".concat(ey===l&&"active"),children:(0,t.jsx)("div",{className:"tps-form-question",children:W&&(null==G?void 0:G.map((a,i)=>{var n,g,y,N,w,_,C,T,q,F,A,I,L,E,M,R,H;if(i>=e.stepIndex&&(void 0===ef[l+1]||i<(null==(n=ef[l+1])?void 0:n.stepIndex))&&(null===a.display_condition||void 0===a.display_condition||a.display_condition&&(0,S.Q)(a.display_condition,et)))switch(a.__component){case"forms.rating-table":return(0,t.jsx)(k,{label:null==a?void 0:a.label,tableHeaders:null==a?void 0:a.tableHeaders,questions:(e=>{let l=e;for(let a=e;a<G.length;a++)if(a+1>=G.length||"forms.radio-field"!==G[a+1].__component||!0!==G[a+1].inRatingTable){l=a;break}return G.slice(e,l+1)}
1)(i+1),onChangeHandler:eC,inputsData:et,inputsValidationData:el},i);case"page.text":return(0,t.jsx)(c.A,{text:null==a?void 0:a.text,withinContainer:null==a?void 0:a.withinContainer,displayAsInlineBlock:null==a?void 0:a.displayAsInlineBlock},i);case"forms.hidden-field":return(0,t.jsx)(s,{name:null==a?void 0:a.name,value:null==a?void 0:a.value,idField:null==a?void 0:a.idField},i);case"forms.choice-field-item":return(0,t.jsx)(r.A,{items:null==a?void 0:a.items,externalDataSource:null==a?void 0:a.externalData,label:null==a?void 0:a.label,name:null==a?void 0:a.name,idField:null==a?void 0:a.idField,required:null==a?void 0:a.required,onChangeHandler:eC,description:null==a?void 0:a.description,explanation:null==a?void 0:a.explanation,isValid:null==(g=el[null==a?void 0:a.name])?void 0:g.valid,errorMessage:null==(y=el[null==a?void 0:a.name])?void 0:y.message,inputsData:et},i);case"forms.radio-field":return!0==!a.inRatingTable&&(0,t.jsx)(f,{items:null==a?void 0:a.items,label:null==a?void 0:a.label,name:null==a?void 0:a.name,required:null==a?void 0:a.required,onChangeHandler:eC,value:et[null==a?void 0:a.name]||"",isValid:null==(N=el[null==a?void 0:a.name])?void 0:N.valid,errorMessage:null==(w=el[null==a?void 0:a.name])?void 0:w.message,description:null==a?void 0:a.description,explanation:null==a?void 0:a.explanation},i);case"forms.form-item":return(0,t.jsx)(d.A,{idField:null==a?void 0:a.idField,isReadonly:null==a?void 0:a.isReadonly,label:null==a?void 0:a.label,name:null==a?void 0:a.name,placeholder:null==a?void 0:a.placeholder,required:null==a?void 0:a.required,type:null==a?void 0:a.type,value:et[null==a?void 0:a.name]||"",validation:null==a?void 0:a.validation,onChangeHandler:eC,isValid:null==(_=el[null==a?void 0:a.name])?void 0:_.valid,errorMessage:null==(C=el[null==a?void 0:a.name])?void 0:C.message,description:null==a?void 0:a.description,explanation:null==a?void 0:a.explanation},i);case"forms.label":return(0,t.jsx)(j,{idField:null==a?void 0:a.idField,label:null==a?void 0:a.label,name:null==a?void 0:a.name,required:null==a?void 0:a.required,hidden:null==a?void 0:a.hidden,value:null==a?void 0:a.value},i);case"forms.textarea-field":return(0,t.jsx)(p.A,{idField:null==a?void 0:a.idField,label:null==a?void 0:a.label,name:null==a?void 0:a.name,cols:null==a?void 0:a.cols,rows:null==a?void 0:a.rows,placeholder:null==a?void 0:a.placeholder,required:null==a?void 0:a.required,onChangeHandler:eC,minLength:null==a?void 0:a.minLength,maxLength:null==a?void 0:a.maxLength,readOnly:null==a?void 0:a.readOnly,isValid:null==(T=el[null==a?void 0:a.name])?void 0:T.valid,errorMessage:null==(q=el[null==a?void 0:a.name])?void 0:q.message,description:null==a?void 0:a.description,explanation:null==a?void 0:a.explanation},i);case"forms.checkbox":return(0,t.jsx)(v.A,{items:null==a?void 0:a.items,label:null==a?void 0:a.label,name:null==a?void 0:a.name,value:et[null==a?void 0:a.name]||[],required:null==a?void 0:a.required,onChangeHandler:eS,isValid:null==(F=el[null==a?void 0:a.name])?void 0:F.valid,errorMessage:null==(A=el[null==a?void 0:a.name])?void 0:A.message,description:null==a?void 0:a.description,explanation:null==a?void 0:a.explanation},i);case"forms.captcha-field":return(0,t.jsx)(u.A,{name:null==a?void 0:a.name,handleRecaptchaChange:e_,required:!0,isValid:null==(I=el[null==a?void 0:a.name])?void 0:I.valid,errorMessage:null==(L=el[null==a?void 0:a.name])?void 0:L.message},i);case"forms.forms-divider":return(0,t.jsx)(m,{title:null==a?void 0:a.title},i);case"forms.places-autocomplete-field":return(0,t.jsx)(x.A,{name:null==a?void 0:a.name,label:null==a?void 0:a.label,required:null==a?void 0:a.required,onPlaceChanged:ew,onLoad:eN},i);case"forms.files-field":return(0,t.jsx)(o,{idField:null==a?void 0:a.idField,label:null==a?void 0:a.label,name:null==a?void 0:a.name,required:null==a?void 0:a.required,onChangeHandler:ek,description:null==a?void 0:a.description,explanation:null==a?void 0:a.explanation},i);case"forms.email-field":return(0,t.jsx)(h.A,{idField:null==a?void 0:a.idField,label:null==a?void 0:a.label,name:null==a?void 0:a.name,value:et[null==a?void 0:a.name]||"",onChangeHandler:eC,placeholder:null==a?void 0:a.placeholder,readonly:null==a?void 0:a.readonly,required:null==a?void 0:a.required,isValid:null==(E=el[null==a?void 0:a.name])?void 0:E.valid,errorMessage:null==(M=el[null==a?void 0:a.name])?void 0:M.message,description:null==a?void 0:a.description,explanation:null==a?void 0:a.explanation},i);case"forms.signature":return(0,t.jsx)(b,{idField:null==a?void 0:a.idField,label:null==a?void 0:a.label,name:null==a?void 0:a.name,onChangeHandler:eC,required:null==a?void 0:a.required,value:et[null==a?void 0:a.name]||"",isValid:null==(R=el[null==a?void 0:a.name])?void 0:R.valid,errorMessage:null==(H=el[null==a?void 0:a.name])?void 0:H.message},i)}}))})},"step-content-".concat(l))),(0,t.jsxs)("div",{className:"tps-form-control
1s",children:[(0,t.jsx)("a",{className:"button button-prev-step",onClick:()=>{eb(ey-1)},tabIndex:"-1",style:{display:ey>0?"inline-flex":"none"},children:"Previous Step"}),ey===ef.length-1?(0,t.jsx)("input",{className:"FormButton btn btn-primary button ".concat(ey<ef.length-1&&"hide"),id:P,type:"submit",value:U||"Submit",disabled:en}):(0,t.jsx)("a",{className:"button button-next-step",onClick:()=>{(e=>{let l={},a=ef[e].stepIndex,t=void 0!==ef[e+1]?ef[e+1].stepIndex:G.length;null==G||G.map((e,i)=>{i>=a&&i<t&&e.name&&el[e.name]&&(l[e.name]=el[e.name])});let i=(0,N.H)(l);return console.log("validatedData1 !!! ",i),ea({...el,...i}),!!Object.keys(i).every(e=>{if(i[e].valid)return!0;{var l;let a=null==(l=H.find(l=>l.name===e))?void 0:l.display_condition;return!(0,S.Q)(a,et)}})})(ey)&&eb(ey+1)},tabIndex:"-1",children:"Next Step"})]}),er&&"Redirect to URL"!==A&&(0,t.jsx)("div",{className:"fatv2-profile-form-feedback success",children:I})]})})})})})},R)]})]})}},60970:(e,l,a)=>{"use strict";a.d(l,{default:()=>u});var t=a(95155),i=a(12115),n=a(15239),s=a(16405),r=a(18063),d=a(5982),o=a(13268);a(30203);var c=a(8698);let u=e=>{var l,a,u,m;let v,{actionButton:p,alignTitle:h,alignTextContent:g,alignVideo:f,backgroundImage:x,firstFrameImage:y,firstFrameImageSize:b,hTitleLevel:j,hTitleSeparator:N,inModalWindow:w,isVideoSizeLarge:_,layout:k,menu:S,playIconImage:C,text:T,title:q,videoAbove:F=!1,videoUrl:A,withinContainer:I}=e;y&&b&&(v=((e,l)=>{if(!e||!e.formats||!l)return null;let a=e.formats[l];return null!=a?a:null})(y,b));let[L,E]=(0,i.useState)(!1),M=e=>{e.preventDefault(),E(!L)},R=o.A.getButtons([p],void 0,S),H=(e,l)=>e?e.includes("youtube")||e.includes("youtu.be")?(0,t.jsx)("iframe",{frameborder:"0",allowfullscreen:"",src:"https://www.youtube.com/embed/".concat((0,r.A)(e)),class:"tps-video-frame"}):(0,t.jsx)("iframe",{src:"https://player.vimeo.com/video/".concat((0,r.A)(e),"?h=1234567890"),width:"".concat(l?"100%":"640"),height:"".concat(l?"100%":"360"),webkitallowfullscreen:"true",mozallowfullscreen:"true",loop:!0,autoPlay:!0,loading:"lazy",allowFullScreen:!0,frameBorder:"0","data-ready":!0}):"",D=null!=h?h:"left",P=null!=j?j:"h2",U=(0,t.jsxs)("a",{href:"#","data-video-title":"","data-video-url":A,className:"tps-video-modal-link tps-video-".concat(b," tps-float-").concat(b," tps-float-").concat(f),onClick:M,children:[C&&(0,t.jsx)("span",{className:"tps-icon tps-icon-play lazyloaded","aria-hidden":"true","data-bg":" ".concat((0,c.b)((null==C||null==(a=C.formats)||null==(l=a.thumbnail)?void 0:l.url)||(null==C?void 0:C.url))," "),style:{backgroundImage:"url(".concat((0,c.b)((null==C||null==(m=C.formats)||null==(u=m.thumbnail)?void 0:u.url)||C.url),")")}}),y&&(0,t.jsx)(n.default,{alt:(null==y?void 0:y.alternativeText)||"",className:"ls-is-cached lazyloaded",src:(0,c.b)((null==v?void 0:v.url)||y.url),width:(null==v?void 0:v.width)||y.width,height:(null==v?void 0:v.height)||y.height,sizes:"50vw"})]}),z=(0,t.jsxs)(t.Fragment,{children:[!w&&!["video-section","editable-text"].includes(k)&&(0,t.jsxs)(t.Fragment,{children:[!F&&q&&(0,s.Ay)(d.A.hTag(q,P,N,D)),(0,t.jsx)("div",{className:"tps-video-frame-wrapper tps-video-".concat(_?"large":"default"," tps-float-").concat(b," tps-float-").concat(f),children:H(A,_)}),!!F&&q&&(0,s.Ay)(d.A.hTag(q,P,N,D)),T&&(0,t.jsxs)("div",{className:"tps-editable-text cell margin-bottom-3 ".concat(g?"text-"+g:""),children:[(0,s.Ay)(T),p&&(0,t.jsx)("div",{style:{textAlign:p.align},children:R})]})]}),w&&!["video-section","editable-text"].includes(k)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"text-center tps-video-modal-link-wrapper",children:U}),T&&(0,t.jsxs)("div",{className:"tps-video-caption",children:[(0,s.Ay)(T),p&&(0,t.jsx)("div",{style:{textAlign:p.align},children:R})]})]}),"video-section"==k&&(0,t.jsx)("div",{className:"tps-video-section video-aligned-".concat(f," lazyloaded home"),"data-bg":x?"".concat((0,c.b)(x.url)):"",style:{backgroundImage:x?"url(".concat((0,c.b)(x.url),")"):""},children:(0,t.jsxs)("div",{className:"grid-container tps-video-section-inner",children:[(0,s.Ay)(d.A.hTag(q,P,N,D)),(0,t.jsxs)("div",{className:"grid-x grid-padding-y grid-padding-x align-middle",children:[(0,t.jsx)("div",{className:"tps-video-cta-wrapper cell tablet-6 tablet-order-1",children:w&&U}),T&&(0,t.jsxs)("div",{className:"tps-video-section-text tps-editable-text-wrapper cell tablet-6 tablet-order-2",children:[(0,s.Ay)(T),p&&(0,t.jsx)("div",{style:{textAlign:p.align},children:R})]})]})]})}),!w&&"editable-text"==k&&(0,t.jsxs)("div",{className:"tps-editable-text cell margin-bottom-3",children:[q&&(0,s.Ay)(d.A.hTag(q,P,N,D)),H(A,_),T&&(0,s.Ay)(T)]}),L&&(0,t.jsx)("section",{className:"modal-bg",children:(0,t.jsx)("div",{className:"modal-align reveal-overlay tps-video-modal-overlay",children:(0,t.jsxs)("div",{className:"modal-video-align reveal video-modal ".concat(_?"large":""),children:[(0,t.jsxs)("button",{className:"close-button","data-close":"",type:"button",style:{fontFamily:"Lato",fontWeight:"300 !important"},onClick:M,children:[(0,t.jsx)("span",{className:"sr-only",children:"Close video modal"}),"\xd7"]}),(0,t.jsx)("div",{className:"tps-video-frame-wrapper",children:H(A,_)})]})})})]});return I?(0,t.jsx)("div",{className:"grid-container",children:z}):z}},83642:(e,l,a)=>{"use strict";a.d(l,{default:()=>i});var t=a(95155);a(12115);let i=e=>{let{EmbeddedVideoiFrame:l,size:a,alignment:i}=e;return(0,t.jsx)("div",{className:"tps-video-frame-wrapper ".concat("Default"===a?"tps-video-default":"tps-video-large"," tps-float-medium ").
1concat("Left"===i?"tps-float-left":"Right"===i?"tps-float-right":"tps-float-center"),dangerouslySetInnerHTML:{__html:l}})}}}]); 2//# sourceMappingURL=4297-50331e65c2b8def0.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.