1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9561],{10975:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>n,kZ:()=>l}),r(37876);var s=r(14232);let l={data:[],tags:[],filtered:[],currentFilter:null,isUsingPagination:!0,page:1,pageCount:10,pageSize:10,total:0,pid:"",searchKeyword:""},n=(0,s.createContext)(void 0)},27212:(e,t,r)=>{"use strict";r.d(t,{N:()=>f});var s=r(37876),l=r(14232),n=r(5048),i=r(91200),a=r(3866),o=r(39751);class c extends l.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:t}){let r=(0,l.useId)(),n=(0,l.useRef)(null),i=(0,l.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,l.useContext)(o.Q);return(0,l.useInsertionEffect)(()=>{let{width:e,height:s,top:l,left:o}=i.current;if(t||!n.current||!e||!s)return;n.current.dataset.motionPopId=r;let c=document.createElement("style");return a&&(c.nonce=a),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(` 2 [data-motion-pop-id="${r}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${s}px !important; 6 top: ${l}px !important; 7 left: ${o}px !important; 8 } 9 `),()=>{document.head.removeChild(c)}},[t]),(0,s.jsx)(c,{isPresent:t,childRef:n,sizeRef:i,children:l.cloneElement(e,{ref:n})})}let d=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:c,mode:d})=>{let h=(0,i.M)(p),x=(0,l.useId)(),m=(0,l.useCallback)(e=>{for(let t of(h.set(e,!0),h.values()))if(!t)return;n&&n()},[h,n]),g=(0,l.useMemo)(()=>({id:x,initial:t,isPresent:r,custom:o,onExitComplete:m,register:e=>(h.set(e,!1),()=>h.delete(e))}),c?[Math.random(),m]:[r,m]);return(0,l.useMemo)(()=>{h.forEach((e,t)=>h.set(t,!1))},[r]),l.useEffect(()=>{r||h.size||!n||n()},[r]),"popLayout"===d&&(e=(0,s.jsx)(u,{isPresent:r,children:e})),(0,s.jsx)(a.t.Provider,{value:g,children:e})};function p(){return new Map}var h=r(83885);let x=e=>e.key||"";function m(e){let t=[];return l.Children.forEach(e,e=>{(0,l.isValidElement)(e)&&t.push(e)}),t}var g=r(50181);let f=({children:e,custom:t,initial:r=!0,onExitComplete:a,presenceAffectsLayout:o=!0,mode:c="sync",propagate:u=!1})=>{let[p,f]=(0,h.xQ)(u),v=(0,l.useMemo)(()=>m(e),[e]),j=u&&!p?[]:v.map(x),b=(0,l.useRef)(!0),w=(0,l.useRef)(v),y=(0,i.M)(()=>new Map),[k,N]=(0,l.useState)(v),[_,C]=(0,l.useState)(v);(0,g.E)(()=>{b.current=!1,w.current=v;for(let e=0;e<_.length;e++){let t=x(_[e]);j.includes(t)?y.delete(t):!0!==y.get(t)&&y.set(t,!1)}},[_,j.length,j.join("-")]);let A=[];if(v!==k){let e=[...v];for(let t=0;t<_.length;t++){let r=_[t],s=x(r);j.includes(s)||(e.splice(t,0,r),A.push(r))}"wait"===c&&A.length&&(e=A),C(m(e)),N(v);return}let{forceRender:S}=(0,l.useContext)(n.L);return(0,s.jsx)(s.Fragment,{children:_.map(e=>{let l=x(e),n=(!u||!!p)&&(v===_||j.includes(l));return(0,s.jsx)(d,{isPresent:n,initial:(!b.current||!!r)&&void 0,custom:n?void 0:t,presenceAffectsLayout:o,mode:c,onExitComplete:n?void 0:()=>{if(!y.has(l))return;y.set(l,!0);let e=!0;y.forEach(t=>{t||(e=!1)}),e&&(null==S||S(),C(w.current),u&&(null==f||f()),a&&a())},children:e},l)})})}},50477:()=>{},52740:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var s=r(37876);let l=e=>{let{className:t,...r}=e;return(0,s.jsx)("span",{...r,className:"".concat(null!=t?t:""," absolute right-4 top-4 z-[1] bg-indigo-600 text-white px-3 py-1 rounded-full"),children:"Draft"})}},57466:(e,t,r)=>{"use strict";r.d(t,{A:()=>j});var s=r(37876),l=r(89099),n=r(14232),i=r(39644),a=r(53723),o=r(27761),c=r(1718),u=r(15573),d=r(74614),p=r(16376),h=r(60809),x=r(14233);let m=()=>(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"ml-auto border-l border-medium-gray min-h-[100px] pl-12 flex items-center lg:absolute lg:top-0 lg:right-[110px]",children:(0,s.jsx)(x.A,{menuArr:h.iW,cls:"pr-10",wrapper:"text-dark-gray flex lg:flex-row text-[12px] leading-[12px]"})})}),g=e=>{let{showMainMenu:t,isShowExpertContact:r=!1}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("header",{id:"header",className:"border-b border-medium-gray fixed w-full z-[9000] bg-light-gray",children:(0,s.jsx)("div",{className:"mx-auto overflow-hidden pr-[75px] pl-5 2xl:pr-0 2xl:pl-20",children:(0,s.jsxs)("div",{className:"grid grid-cols-12 gap-0 min-h-[70px] lg:min-h-[100px]",children:[(0,s.jsx)("div",{className:"py-4 col-span-10 flex items-center lg:col-span-3",children:(0,s.jsx)(d.A,{cls:"w-[90px] lg:w-[180px]"})}),(0,s.jsx)("div",{className:"col-span-2 lg:col-span-9 flex items-center",children:t&&(0,s.jsx)("div",{className:"hidden w-full lg:flex justify-end lg:pr-10",children:(0,s.jsx)(m,{})})})]})})}),(0,s.jsx)(p.A,{isShowExpertContact:r})]})};var f=r(92794),v=r(5206);let j=e=>{let{children:t,showMainMenu:r=!0,fluid:d=!1,isShowExpertContact:p=!1}=e,h=(0,n.useContext)(i.A),x=(0,l.useRouter)();return(0,n.useEffect)(()=>{let e=setTimeout(()=>{if(x.query&&x.query.id){let e=x.query.id.toString();(0,f.__)(e,!0)}},300);return()=>clearTimeout(e)},[x]),(0,n.useEffect)(()=>{let e=()=>{document.body.removeAttribute("style"),null==h||h.updateState({isOpenContact:!1,isOpenMenu:!1,expert:null,isOpenNewsletter:!1,emailRegister:""})};return x.events.on("routeChangeStart",e),()=>{x.events.off("routeChangeStart",e)}},[x]),(0,s.jsxs)(s.Fragment,{children:[x.isPreview?(0,s.jsx)(v.A,{}):null,(0,s.jsx)(g,{showMainMenu:r,isShowExpertContact:p}),(0,s.jsx)("div",{className:"max-w-[1920px] mx-auto pt-[71px] lg:pt-[100px]",children:(0,s.jsx)("div",{className:"mx-auto ".concat(d?"w-full":"max-w-[1440px]"),children:t})}),(0,s.jsx)(o.A,{}),(0,s.jsx)(c.A,{}),(0,s.jsx)(a.A,{}),(0,s.jsx)(u.A,{})]})}},82334:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var s=r(37876),l=r(10975),n=r(14232),i=r(52740),a=r(27212),o=r(61886),c=r(95679),u=r(25437),d=r(48230),p=r.n(d);let h=a.N,x=e=>{let{id:t,tag:r,title:l,description:n,attachment:a,slug:d,link:x,cases:m=[],cls:g="",expanded:f,isDraft:v=!1,author:j,site:b,date:w,setExpanded:y}=e,k=t===f,{t:N}=(0,u.Bd)("common"),_=!!j||!!b||!!w,{clickDownloadHandle:C}=(0,c.K)(),A=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,s.jsxs)("span",{className:"relative mr-2.5",children:[(0,s.jsx)("span",{children:e}),t&&(0,s.jsx)("span",{className:" absolute w-0.5 h-0.5 bg-dark-gray rounded-full -right-[5px] top-1/2 -translate-y-1/2"})]})};return(0,s.jsxs)("div",{className:"mediacenter_item bg-white shadow-md mb-5 relative lg:pr-20 ".concat(g),children:[v&&(0,s.jsx)(i.A,{}),(0,s.jsxs)("div",{className:"mediacenter_item__header px-5 pb-1 ".concat(r?"pt-5":"pt-10"),children:[r&&(0,s.jsx)("div",{className:"mediacenter_tag text-primary text-xs",children:r}),l&&(0,s.jsx)("h4",{className:"text-xl font-extralight leading-tight 2xl:text-3xl m-0 mt-2 ".concat(_?"mb-5":"mb-2"),itemProp:"headline",dangerouslySetInnerHTML:{__html:l}})]}),_&&(0,s.jsxs)("div",{className:"absolute bottom-11 left-5 text-[10px] leading-[17px] text-dark-gray",children:[j&&A("".concat(N("by")," ").concat(j)),b&&A(b),w&&A(w,!1)]}),n&&h&&(0,s.jsx)(h,{initial:!1,children:(0,s.jsxs)(o.P.div,{className:"mediaitem_item__content overflow-hidden ".concat(k?"pb-10":""),animate:{o
9pacity:+!!k,height:k?"auto":0},transition:{duration:.7},children:[(0,s.jsx)("div",{className:"p-5",itemProp:"abstract",dangerouslySetInnerHTML:{__html:n}}),m&&m.length>0&&(0,s.jsx)(s.Fragment,{children:(()=>{if(m.length>0)return(0,s.jsxs)("div",{className:"px-5 mt-10",children:[(0,s.jsx)("h3",{className:"text-2xl 2xl:text-3xl",children:N("related-case")}),(0,s.jsx)("ul",{className:"my-5 list-none",children:m.map(e=>{var t,r,l;return(0,s.jsx)("li",{children:(0,s.jsx)(p(),{href:"/cases/".concat(null!=(l=null==(t=e.attributes)?void 0:t.slug)?l:""),className:"xl:text-xl hover:text-primary",children:null==(r=e.attributes)?void 0:r.title})},e.id)})})]})})()})]})}),(0,s.jsxs)("div",{className:"py-5",children:[(0,s.jsx)("div",{className:"absolute right-5 bottom-5 z-10",children:a&&""!==a?(0,s.jsxs)("a",{href:"#",title:"",target:"_blank",rel:"noreferrer",className:"flex items-center group",onClick:e=>{e.preventDefault(),C(a||"")},itemProp:"url",children:[(0,s.jsx)("span",{className:"inline-block mr-2 group-hover:text-primary",children:"PDF"}),(0,s.jsxs)("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"stroke-dark-gray group-hover:stroke-primary",children:[(0,s.jsx)("path",{d:"M18.625 10.75L13 16.375L7.375 10.75",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("circle",{cx:"13",cy:"13",r:"12.5",transform:"rotate(90 13 13)"}),(0,s.jsx)("path",{d:"M7 17H19",strokeLinecap:"round",strokeLinejoin:"round"})]})]}):d&&""!==d?(0,s.jsx)(p(),{href:d,title:l,className:"group",children:(0,s.jsxs)("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"transition-colors duration-700 stroke-dark-gray group-hover:stroke-primary",children:[(0,s.jsx)("path",{d:"M10.75 7.375L16.375 13L10.75 18.625",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("circle",{cx:"13",cy:"13",r:"12.5"})]})}):x&&""!==x?(0,s.jsx)("a",{href:x,itemProp:"url",title:"",target:"_blank",rel:"noreferrer",className:"flex items-center group",children:(0,s.jsxs)("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"transition-colors duration-700 stroke-dark-gray group-hover:stroke-primary",children:[(0,s.jsx)("path",{d:"M10.75 7.375L16.375 13L10.75 18.625",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("circle",{cx:"13",cy:"13",r:"12.5"})]})}):void 0}),n&&(0,s.jsx)("div",{className:"absolute left-5 bottom-5 z-10",children:(0,s.jsxs)("span",{className:"text-[10px] leading-[17px] cursor-pointer text-dark-gray",onClick:()=>y(k?-1:t),children:[k&&(0,s.jsx)("span",{children:N("close")}),!k&&(0,s.jsx)("span",{children:N("read-more")})]})})]})]})},m=e=>{let{variant:t}=e,r=(0,n.useContext)(l.Ay),[i,a]=(0,n.useState)([]),[o,c]=(0,n.useState)(0);return(0,n.useEffect)(()=>{c(-1)},[null==r?void 0:r.filtered]),(0,n.useEffect)(()=>{a((null==r?void 0:r.filtered)?r.filtered:[])},[null==r?void 0:r.filtered]),(0,s.jsx)("div",{className:"py-10 px-5 max-w-[1080px] mx-auto",children:null==i?void 0:i.map((e,r)=>{var l,n,i,a,u,d,p,h,m,g,f,v,j,b,w,y,k,N,_,C,A,S,E,L,P,M,D,R,I;let T=(null==(l=e.attributes)?void 0:l.title)?null==(n=e.attributes)?void 0:n.title:"",F="",q=[],z="",O="",B="",H="",U="",$="",K=(null==(i=e.attributes)?void 0:i.link)?null==(a=e.attributes)?void 0:a.link:"";switch(t){case"publications":F=null==(m=e.attributes)||null==(h=m.publication_tag)||null==(p=h.data[0])||null==(d=p.attributes)?void 0:d.name,z=null==(g=e.attributes)?void 0:g.description,H=null==(v=e.attributes)||null==(f=v.publication)?void 0:f.Author,U=null==(b=e.attributes)||null==(j=b.publication)?void 0:j.Site,$=null==(y=e.attributes)||null==(w=y.publication)?void 0:w.Date;break;case"downloads":F=null==(C=e.attributes)||null==(_=C.download_tag)||null==(N=_.data)||null==(k=N.attributes)?void 0:k.name,O=null==(L=e.attributes)||null==(E=L.file)||null==(S=E.data[0])||null==(A=S.attributes)?void 0:A.url;break;case"faqs":(null==(P=e.attributes)?void 0:P.slug)&&(B="/faqs/detail/"+(null==(D=e.attributes)?void 0:D.slug)),(null==(M=e.attributes)?void 0:M.question)&&(T=null==(R=e.attributes)?void 0:R.question)}return e.attributes&&e.attributes.hasOwnProperty("cases")&&(q=null==(I=e.attributes.cases)?void 0:I.data),(0,s.jsx)("div",{itemScope:!0,itemType:function(e){switch(e){case"publications":return"https://schema.org/ScholarlyArticle";case"faqs":return"https://schema.org/BlogPosting";default:return"https://schema.org/DigitalDocument"}}(t),children:(0,s.jsx)(x,{id:r,title:T,description:z,tag:F,slug:B,link:K,cases:q,expanded:o,setExpanded:c,attachment:O,isDraft:null==(u=e.attributes)||!u.publishedAt,author:H,site:U,date:$})},r)})})}},95679:(e,t,r)=>{"use strict";r.d(t,{K:()=>o});var s=r(39644),l=r(14232),n=r(38248),i=r(30896),a=r(89099);let o=()=>{let e=(0,l.useContext)(s.A),t=(0,a.useRouter)(),r="et_gt_cookie",o=async e=>{try{let t=await fetch("/api/hbtrack",{body:JSON.stringify(e),headers:{"Content-Type":"application/json"},method:"POST"});if((await t.json()).success)return!0}catch(e){return console.log(e),!1}},c=(e,t)=>{let r=i.AES.decrypt(e,t);if(r)try{let e=r.toString(i.enc.Utf8);if(e.length>0)return e;return"error 1"}catch(e){return"error 2"}return"error 3"};return{clickDownloadHandle:async t=>{if((0,n.hasCookie)(r)){let e=Date.now(),s=c((0,n.getCookie)(r),"greenteg_dl_auth").split("-");parseInt(s[2])>=e&&window&&1&&o({properties:{hs_timestamp:new Date().toISOString(),hs_note_body:"File: ".concat(t," downloaded by ").concat(s[1]),hubspot_owner_id:0x3ae127d1},associations:[{to:{id:parseInt(s[3])},types:[{associationCategory:"HUBSPOT_DEFINED",associationTypeId:202}]}]})&&window.open("".concat(t),"_blank")}else e.updateState({showAuthPopupDownload:!0})},setupAuthCookie:(e,s)=>{if((0,n.setCookie)(r,e,{path:"/",maxAge:604800}),s)return window.location.replace(s);t.push("/media-center")},decryptAES:c,encryptAES:(e,t)=>
9i.AES.encrypt(e,t).toString()}}}}]);
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.