1"use strict";(self.webpackChunkPylot_Frontend=self.webpackChunkPylot_Frontend||[]).push([[1555,6895],{16895:(t,e,l)=>{l.r(e),l.d(e,{default:()=>s});var n=l(58168),o=l(53986),a=l(96540),c=l(47767),i=l(52376),u=l(15474),r=l(29255),d=["process","path","url","type","target","isExternal","children","ariaLabel"];const s=function(t){var e,l,s,m,p,b,h,g,f,y=t.process,E=t.path,k=t.url,A=t.type,w=t.target,_=t.isExternal,C=t.children,L=t.ariaLabel,x=(0,o.A)(t,d),F=(0,c.Zp)(),P=!1,B=!1;if(k&&"/"!=k.charAt(0)&&"#"!=k.charAt(0)&&"tel:"!=k.substr(0,4)&&"mailto:"!=k.substr(0,7)?k=null!==(f=k)&&void 0!==f&&f.includes("http")?k:"https://".concat(k):k&&v(k)&&("/"==k.charAt(0)||"#"==k.charAt(0))&&(k="https://".concat(u.A.domain).concat(k)),!k||"/"!=k.charAt(0)&&"#"!=k.charAt(0)||null!=E||null!=x&&null!==(e=x.class)&&void 0!==e&&e.toLowerCase().includes("mvk-absolute")||(E=k),k&&!v(k)&&null!==(l=k)&&void 0!==l&&l.includes("http")&&null!==(s=k)&&void 0!==s&&s.includes(u.A.domain)&&(null==x||null===(m=x.class)||void 0===m||null===(m=m.toLowerCase())||void 0===m||!m.includes("mvk-absolute")))try{var M=new URL(k);E=M.pathname,P=M.hash||!1,B=M.search||!1}catch(t){console.error(t)}if(null!=x&&null!==(p=x.class)&&void 0!==p&&p.toLowerCase().includes("mvk-absolute")&&(k=k.includes("http")?k:"https://".concat(u.A.domain).concat(k)),"_blank"===w&&(_="true"),k&&(null===(b=k)||void 0===b||!b.includes("mypylot"))&&null!==(h=k)&&void 0!==h&&h.includes("http")&&(null===(g=k)||void 0===g||!g.includes(u.A.domain.replace("www.","")))){var T;_="true";var $=Array.isArray(C)?"string"==typeof C[0]?C[0]:null===(T=C[0])||void 0===T||null===(T=T.props)||void 0===T?void 0:T.children:"";x["aria-label"]="".concat($||""," opens in a new tab")}L&&(x["aria-label"]=L),_&&(w=_||"true"==_?"_blank":"_self");var z=function(t){if(t.target.focus(),t.stopPropagation(),t.preventDefault(),y&&y.call(t),E&&_){var e="https://".concat(u.A.domain).concat(E).replace(/\/?$/,"/");window.open(e,w)}else if(E&&"#"==E.charAt(0))(0,r.m)(E,70,"smooth");else if(E)F("".concat(E.replace(/\/?$/,"/")).concat(P||"").concat(B||"")),document.body.scrollTop=0,document.documentElement.scrollTop=0;else if(k&&w){var l;e=null!==(l=k)&&void 0!==l&&l.includes("http")?(0,i.decode)(k):"http://".concat((0,i.decode)(k)),window.open((0,i.decode)(e),w).focus()}else{if(!k)return;var n,o;e=null!==(n=k)&&void 0!==n&&n.includes("http")||null!==(o=k)&&void 0!==o&&o.includes("#")?k:"http://".concat(k),window.location.href=(0,i.decode)(k)}x.closeModal&&x.closeModal(),x.closeBanner&&x.closeBanner()};return"button"==A||"submit"==A||"reset"==A?a.createElement("button",(0,n.A)({type:A,onClick:z},x),C):k&&"mailto:"==k.substr(0,7)?a.createElement("a",(0,n.A)({href:k,target:w},x),C):"anchor"==A?a.createElement("a",(0,n.A)({href:(0,i.decode)(k),target:w,onClick:z},x),C):a.createElement("div",(0,n.A)({onClick:z},x),C)};function v(t){var e;return!!t&&(null==t||null===(e=t.split("/"))||void 0===e||null===(e=e.pop())||void 0===e?void 0:e.indexOf("."))>-1}},61555:(t,e,l)=>{l.r(e),l.d(e,{default:()=>v});var n=l(96540),o=l(52376),a=l(28610),c=l(16895),i=l(26564),u=n.lazy((function(){return Promise.all([l.e(982),l.e(6188),l.e(7169),l.e(905)]).then(l.bind(l,47169))})),r=function(t){var e=t.image;return e?n.createElement("div",{class:"cta-v2-image"},n.createElement(a.default,{data:e})):null},d=function(t){var e=t.button,l=t.column,o=t.buttonFunction;return e?n.createElement("div",{class:"cta-v2-button ".concat(null==l?void 0:l.alignment)},n.createElement(u,{title:null==e?void 0:e.title,url:null==e?void 0:e.url,tone:null==l?void 0:l.background_value,target:null==e?void 0:e.target,icon:null==l?void 0:l.button_icon,type:null==l?void 0:l.button_style,buttonFunction:o})):null},s=function(t){var e=t.title,l=t.column;return e?n.createElement("div",{class:"cta-v2-title ".concat(null==l?void 0:l.alignment)},n.createElement("h3",null,(0,o.decode)(e))):null};const v=function(t){var e,l,o,a=t.column,u=t.placeholders,v=u&&"dynamic"===(null==a?void 0:a.title_selection)?u.single_line[null==a?void 0:a.title]:null==a?void 0:a.title,m=u?u.button_link[null==a?void 0:a.button]:null==a?void 0:a.button,p=u&&"dynamic"===a.image_selection?u.image[null==a?void 0:a.image_dynamic]:null==a?void 0:a.image,b={coloring:null===(e=pylot)||void 0===e||null===(e=e.design)||void 0===e?void 0:e.coloring(null==a?void 0:a.background_color,"backgroundColor")};return null!=a&&null!==(l=a.button)&&void 0!==l&&l.url?n.createElement(c.default,{type:"anch
1or",url:null==m?void 0:m.url,class:"cta-v2-outer image-button ".concat(null==a?void 0:a.background_value," fully-clickable"),target:null==a||null===(o=a.button)||void 0===o?void 0:o.target,style:b,ariaLabel:"link to ".concat(null!=a&&a.title?null==a?void 0:a.title:null==a?void 0:a.url)},n.createElement("div",{class:"cta-v2-inner image-button ".concat(null==a?void 0:a.alignment," body-copy-txt")},n.createElement(r,{image:p}),n.createElement(s,{title:v,column:a}),n.createElement("div",{class:"cta-v2-content"},n.createElement(i.default,{html:null==a?void 0:a.content,placeholders:u})),n.createElement(d,{button:m,column:a,buttonFunction:"styled"}))):n.createElement("div",{class:"cta-v2-outer image-button ".concat(null==a?void 0:a.background_value," not-clickable"),style:b},n.createElement("div",{class:"cta-v2-inner image-button ".concat(null==a?void 0:a.alignment," body-copy-txt")},n.createElement(r,{image:p}),n.createElement(s,{title:v,column:a}),n.createElement("div",{class:"cta-v2-content"},n.createElement(i.default,{html:null==a?void 0:a.content,placeholders:u})),n.createElement(d,{button:m,column:a})))}}}]); 2//# sourceMappingURL=31ee2a0cd2f1dfe1e701.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.