1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6486,6013],{66486:function(e,t,l){l.r(t),l.d(t,{default:function(){return ButtonsBlock}});var n=l(85893);l(41664);var i=l(36013);function ButtonsBlock(e){var t,l;let{block:o}=e;return(0,n.jsx)("section",{className:"".concat((null==o?void 0:o.main.bg_white)?"bg-[#fff]":"bg-[#F1F1F1]"),children:(0,n.jsx)("div",{className:"container",children:(0,n.jsx)("div",{className:"flex flex-wrap justify-center pt-[30px] pb-[15px] mx-[-5px]",children:null==o?void 0:null===(l=o.main)||void 0===l?void 0:null===(t=l.buttons)||void 0===t?void 0:t.map((e,t)=>{var l,o;return(0,n.jsx)("div",{className:"item w-full sm:w-auto flex flex-wrap px-[5px] mb-[15px]",children:(0,n.jsx)(i.default,{href:(null==e?void 0:e.button_link)||(null==e?void 0:e.file)||"#",target:(null==e?void 0:null===(l=e.button_link)||void 0===l?void 0:l.includes("http"))||(null==e?void 0:null===(o=e.file)||void 0===o?void 0:o.includes("http"))?"_blank":"_self",className:"uppercase inline-block w-full sm:w-auto h-full text-[14px] text-center px-[30px] py-[15px] min-w-[130px] transition ".concat("filled"===e.variant?"bg-primary text-white hover:bg-secondary hover:text-white ".concat(""):"border border-secondary text-secondary hover:bg-secondary hover:text-white ".concat("")),children:e.button_label||"Discover More"},t)},t)})})})})}},36013:function(e,t,l){l.r(t),l.d(t,{default:function(){return ButtonLink}});var n=l(85893),i=l(67294),o=l(41664),r=l.n(o),s=l(47962),a=l(25675),c=l.n(a);function ButtonLink(e){var t;let{href:l,target:o,className:a,children:c}=e,[d,u]=(0,i.useState)({open:!1,src:"",type:"",title:""}),p=null===(t=s.Z.getFileExtension(l))||void 0===t?void 0:t.toLowerCase(),x="link";return("pdf"===p?x="file":["jpg","jpeg","png","bmp","webp"].includes(p)&&(x="image"),"file"===x||"image"===x)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{className:a,onClick:()=>{u({open:!0,src:l,type:x,title:c}),document.body.style.overflow="hidden"},children:c}),d.open&&(0,n.jsx)(ModalComponent,{modal:d,closeModal:()=>{document.body.style.overflow="auto",u({open:!1,src:"",type:"",title:""})}})]}):(0,n.jsx)(n.Fragment,{children:l&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(r(),{href:l,className:a,target:o,children:c})})})}let ModalComponent=e=>{let{modal:t,closeModal:l}=e,{open:i,src:o,type:r,title:s}=t;return i?(0,n.jsxs)("div",{className:"fixed z-[9000] inset-0 bg-black bg-opacity-50 flex items-center justify-center p-[15px]",children:[(0,n.jsx)("span",{onClick:l,className:"absolute top-0 left-0 w-full h-full z-[-1]"}),(0,n.jsxs)("div",{className:"[&::-webkit-scrollbar]:[width:8px] [&::-webkit-scrollbar]:[background:#ccc] [&::-webkit-scrollbar-thumb]:[borderRadius:8px] [&::-webkit-scrollbar-thumb]:bg-[#333] bg-white pt-[65px] p-[15px] relative min-h-[30vh] rounded-lg max-w-[1140px] w-full max-h-[calc(100vh-15px)] overflow-y-auto",children:[(0,n.jsx)("div",{className:"absolute bg-white p-[15px] top-0 left-0 w-full z-[222] text-right",children:(0,n.jsx)("button",{onClick:l,children:(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:35,height:35,color:"#000000",fill:"none",children:[(0,n.jsx)("path",{d:"M14.9994 15L9 9M9.00064 15L15 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeWidth:"1.5"})]})})}),"image"===r?(0,n.jsx)("div",{className:"relative",children:(0,n.jsx)(c(),{src:o,alt:s,width:600,height:600,className:"w-full bg-[#f8f8f8] min-[300px] block relative z-[100]"})}):(0,n.jsx)("div",{className:"relative",children:(0,n.jsx)("iframe",{src:"https://docs.google.com/gview?url=".concat(o,"&embedded=true"),width:"1140",height:"600",className:"bg-transparent w-full",loading:"lazy"})})]})]}):null}},47962:function(e,t){t.Z={extractYoutubeId:e=>{if(!e)return null;let t=e.match(/[?&]v=([^&]+)/);return t?t[1]:null},getFileExtension:e=>{if(e){let t=null==e?void 0:e.split(".");return(null==t?void 0:t.length)===1||(null==t?void 0:t[0])===""&&(null==t?void 0:t.length)===2?"":null==t?void 0:t.pop().split(/\#|\?/)[0]}}}}}]);
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.