-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-templates-technology-index-js-5004ee0bbe875a949c8a.js
2 lines (2 loc) · 12.2 KB
/
component---src-templates-technology-index-js-5004ee0bbe875a949c8a.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{"/m4c":function(e,t,a){"use strict";var n=a("q1tI"),r=a.n(n),o=a("Wbzz"),l=a("m8Fq"),i=a.n(l),c=a("pviY"),s=a("f23f"),m=function(e){var t=e.children,a=e.url,n=e.className,l=e.target,m=e.title,u=e.withArrow,d=void 0!==u&&u,p=e.color,g=void 0===p?"#000":p,f=e.external,h=e.tagParent,v=e.tagName;if("_blank"===l||f)return d?r.a.createElement(c.a,{className:n,text:m,link:a,color:g,external:!0}):r.a.createElement("a",{className:n,target:"_blank",rel:"noopener noreferrer",href:a},t||m||"");var b=i.a.isWebUri(a)?Object(s.f)(a):Object(s.k)(a);return d?r.a.createElement(c.a,{className:n,text:m,link:b,color:g}):r.a.createElement(o.Link,{onClick:function(){v&&h&&Object(s.o)(v,h)},className:n,to:b},t||m||"")};m.defaultProps={tagParent:"",tagName:""},t.a=m},"3QGj":function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),r=a.n(n),o=a("I/Ru"),l=a("/m4c"),i=a("PiD+"),c=a("f23f"),s=(a("iJv5"),function(e){var t=e.page,a=e.ctaLink,n=e.tagParent,o=e.tagName,s=t.title,m=t.quote,u=t.excerpt,d=t.featuredImage;return r.a.createElement("section",{className:"technology-sections technology-banner"},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"large-6 medium-12 small-12 columns"},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"small-12 columns"},r.a.createElement("h1",{className:"technology-banner__title",dangerouslySetInnerHTML:{__html:Object(c.n)(s)}})),r.a.createElement("div",{className:"large-12 medium-9 small-12 columns technology-banner__quote",dangerouslySetInnerHTML:{__html:Object(c.n)(m)}}),r.a.createElement("div",{className:"large-12 medium-9 small-12 columns technology-banner__excerpt",dangerouslySetInnerHTML:{__html:Object(c.n)(u)}}))),r.a.createElement("div",{className:"large-6 medium-12 small-12 columns"},r.a.createElement("figure",{className:"technology-banner__figure"},r.a.createElement(i.a,Object.assign({},d.large.node,{placeholder:d.thumbnail.node,className:"technology-banner__image"}))))),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"large-4 medium-4 small-12 columns"},r.a.createElement(l.a,Object.assign({},a,{tagParent:n,tagName:o,className:"conversation-content__cta"})))))});s.defaultProps={page:{title:"",quote:"",excerpt:"",featuredImage:{altText:"",sourceUrl:""}},ctaLink:{title:"",url:"",target:""},tagParent:"",tagName:""};var m=s,u=(a("oMlN"),function(e){var t=e.meta;return r.a.createElement("section",{className:"technology-sections technology-feature"},t.map((function(e,t){return r.a.createElement("div",{className:"row technology-feature__list",key:"technology-list-"+t},e.content.map((function(e,t){return r.a.createElement("div",{className:"small-12 columns technology-feature__inner-list",key:e.heading+"-"+t},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"large-4 medium-6 small-12 columns"},r.a.createElement("h2",{className:"technology-feature__heading",dangerouslySetInnerHTML:{__html:Object(c.n)(e.heading)}}),r.a.createElement("div",{className:"technology-feature__description show-for-medium-only",dangerouslySetInnerHTML:{__html:Object(c.n)(e.description)}})),r.a.createElement("div",{className:"large-4 medium-6 small-12 columns hide-for-medium-only"},r.a.createElement("div",{className:"technology-feature__description",dangerouslySetInnerHTML:{__html:Object(c.n)(e.description)}})),r.a.createElement("div",{className:"large-4 medium-6 small-12 columns"},r.a.createElement("div",{className:"technology-feature__content",dangerouslySetInnerHTML:{__html:Object(c.n)(e.list)}}))))})),r.a.createElement("div",{className:"small-12 columns technology-feature__read-more"},r.a.createElement(l.a,Object.assign({},e.linkUrl,{withArrow:!0}))))})))});u.defaultProps={meta:[{linkUrl:"",linkText:"",content:[{heading:"",description:"",list:""}]}]};var d=u,p=a("vrFN"),g=a("5Cyz");t.default=function(e){var t=e.pageContext,a=t.page,n=t.page,l=n.uri,i=n.seo,s=n.techonologyPageMeta,u=s.quote,f=s.technology,h=n.contactUsFormMeta,v=h.contactForm,b=h.ctaLink,w={title:a.title,excerpt:a.excerpt,quote:u,featuredImage:{large:a.large,thumbnail:a.thumbnail},pageId:a.pageId,uri:l},y=Object(c.g)(i);return r.a.createElement(o.a,{title:"Technology",uri:l,className:"technology-page"},r.a.createElement(p.a,{title:a.title,seoData:i,uri:l,header:{siteTitle:"OpenWeb"},openGraphImage:y}),r.a.createElement(m,{page:w,ctaLink:b,tagParent:"TECH",tagName:"Tech_Contact"}),r.a.createElement(d,{meta:f}),r.a.createElement(g.a,{meta:v,tagParent:"TECH",tagName:"Tech_Submit"}))}},"5Cyz":function(e,t,a){"use strict";var n=a("q1tI"),r=a.n(n),o=a("5OW0"),l=a("f23f"),i=(a("Xo82"),function(e){var t=e.meta,a=e.tagParent,n=e.tagName,i=t.headline,c=t.formPortalid,s=t.formId,m=t.formContent;return s?r.a.createElement("section",{className:"advertiser-sections conversation-form",id:"contact-us"},r.a.createElement("div",{className:"row align-right"},r.a.createElement("div",{className:"large-8 medium-12 small-12 columns conversation-form__heading-wrap"},r.a.createElement("h2",{className:"conversation-form__heading",dangerouslySetInnerHTML:{__html:Object(l.n)(i)}}),m&&r.a.createElement("div",{className:"conversation-form__text-content",dangerouslySetInnerHTML:{__html:Object(l.n)(m)}})),r.a.createElement("div",{className:"large-4 medium-6 small-12 columns"},r.a.createElement("div",{className:"conversation-form__form"},r.a.createElement(o.a,{portalId:c,formId:s,tagName:n,tagParent:a}))))):null});i.defaultProps={meta:{headline:"",formPortalid:"",formId:""},tagParent:"",tagName:""},t.a=i},"5OW0":function(e,t,a){"use strict";var n=a("q1tI"),r=a.n(n),o=a("9pBV"),l=a.n(o),i=function(e){var t=e.formId,a=e.portalId,n=e.setSubmitted,o=e.tagName,i=e.tagParent;if(!t)return null;return r.a.createElement(l.a,{portalId:a,formId:t,onSubmit:function(){"function"==typeof n&&n(!0),void 0!==window.dataLayer&&i&&window.dataLayer.push({event:"formAction",cfEventTag:o,cfEventTagParent:i})}})};i.defaultProps={tagName:"",tagParent:""},t.a=i},"9pBV":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},r=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),o=l(a("q1tI"));l(a("i8i4"));function l(e){return e&&e.__esModule?e:{default:e}}var i=0,c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.state={loaded:!1},a.id=i++,a.createForm=a.createForm.bind(a),a.findFormElement=a.findFormElement.bind(a),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"createForm",value:function(){var e=this;if(window.hbspt){if(null===this.el)return;var t=n({},this.props);delete t.loading,delete t.onSubmit,delete t.onReady;var a=n({},t,{target:"#"+this.el.getAttribute("id"),onFormSubmit:function(t){var a=t.serializeArray();e.props.onSubmit(a)}});return window.hbspt.forms.create(a),!0}setTimeout(this.createForm,1)}},{key:"loadScript",value:function(){var e=this,t=document.createElement("script");t.defer=!0,t.onload=function(){e.createForm(),e.findFormElement()},t.src="//js.hsforms.net/forms/v2.js",document.head.appendChild(t)}},{key:"findFormElement",value:function(){if(null!==this.el){var e=this.el.querySelector("iframe");e?(this.setState({loaded:!0}),this.props.onReady&&this.props.onReady(e)):setTimeout(this.findFormElement,1)}}},{key:"componentDidMount",value:function(){window.hbspt||this.props.noScript?(this.createForm(),this.findFormElement()):this.loadScript()}},{key:"componentWillUnmount",value:function(){}},{key:"render",value:function(){var e=this;return o.default.createElement("div",null,o.default.createElement("div",{ref:function(t){return e.el=t},id:"reactHubspotForm"+this.id,style:{display:this.state.loaded?"block":"none"}}),!this.state.loaded&&this.props.loading)}}]),t}(o.default.Component);t.default=c,e.exports=t.default},EeXD:function(e,t,a){},Xo82:function(e,t,a){},iJv5:function(e,t,a){},oMlN:function(e,t,a){},pviY:function(e,t,a){"use strict";var n=a("q1tI"),r=a.n(n),o=a("Wbzz"),l=a("sYrg");a("EeXD");t.a=function(e){var t=e.text,a=void 0===t?"Read more":t,n=e.link,i=e.color,c=void 0===i?"#000":i,s=e.external,m=e.className,u=void 0===m?"":m;return n?s?r.a.createElement("a",{className:"link__big-arrow "+u,target:"_blank",rel:"noopener noreferrer",href:n},r.a.createElement("span",{className:"link__big-arrow-text"},a)," ",Object(l.a)(c)):r.a.createElement(o.Link,{className:"link__big-arrow "+u,to:n},r.a.createElement("span",{className:"link__big-arrow-text"},a)," ",Object(l.a)(c)):null}},sYrg:function(e,t,a){"use strict";var n=a("q1tI"),r=a.n(n);t.a=function(e){return r.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"65",height:"13",viewBox:"0 0 65 13"},r.a.createElement("g",{fill:"none",fillRule:"evenodd",stroke:e,strokeLinecap:"square"},r.a.createElement("path",{d:"M7 13L0.5 6.5",transform:"matrix(-1 0 0 1 65 0)"}),r.a.createElement("path",{d:"M7 7L0.5 0.5",transform:"matrix(-1 0 0 1 65 0) matrix(1 0 0 -1 0 7)"}),r.a.createElement("path",{d:"M64.673 6.5L1.327 6.5",transform:"matrix(-1 0 0 1 65 0)"})))}},vrFN:function(e,t,a){"use strict";var n=a("Y3Pm"),r=a.n(n),o=a("E+oP"),l=a.n(o),i=a("q1tI"),c=a.n(i),s=a("qhky"),m=a("Wbzz"),u=a("42pF");function d(e){var t=e.description,a=e.lang,n=e.meta,o=e.title,i=(e.header.siteTitle,e.seoData),d=e.uri,p=(e.openGraphImage,Object(m.useStaticQuery)("2615726974")),g=p.site,f=p.OWGraphQL.seo;l()(i)&&(i={title:"",metaDesc:"",opengraphDescription:"",twitterDescription:"",opengraphTitle:"",twitterTitle:"",opengraphImage:{sourceUrl:""},twitterImage:{sourceUrl:""}}),!l()(i)&&l()(i.title)&&(i.title=""),!l()(i)&&l()(i.metaDesc)&&(i.metaDesc=""),!l()(i)&&l()(i.opengraphDescription)&&(i.opengraphDescription=""),!l()(i)&&l()(i.twitterDescription)&&(i.twitterDescription=""),!l()(i)&&l()(i.opengraphTitle)&&(i.opengraphTitle=""),!l()(i)&&l()(i.twitterTitle)&&(i.twitterTitle=""),l()(i)||!l()(i.opengraphImage)&&!l()(i.opengraphImage.sourceUrl)||(i.opengraphImage={sourceUrl:""}),l()(i)||!l()(i.twitterImage)&&!l()(i.twitterImage.sourceUrl)||(i.twitterImage={sourceUrl:""}),l()(i)||!l()(i.schema)&&!l()(i.schema.raw)||(i.schema={raw:""}),l()(i.schema.raw)||l()(u.a)||l()("https://www.openweb.com")||(i.schema.raw=r()(i.schema.raw,new RegExp(u.a,"g"),"https://www.openweb.com"));var h=i.title||o,v=i.metaDesc||t||g.siteMetadata.description,b=i.opengraphDescription||v,w=i.twitterDescription||v,y=i.opengraphTitle||h,_=i.twitterTitle||h,E=f.webmaster.googleVerify||"",N=""+g.siteMetadata.siteUrl+d,I=g.siteMetadata.fbAppId,k=""+g.siteMetadata.siteUrl+d,O=i.metaRobotsNofollow,T="follow"===O?"index":"noindex",j=i.schema.raw,P=i.opengraphImage.sourceUrl;return c.a.createElement(s.a,{htmlAttributes:{lang:a},title:h,titleTemplate:"%s",link:k?[{rel:"canonical",href:k}]:[],meta:[{name:"title",content:h},{name:"description",content:v},{property:"og:locale",content:"en_US"},{property:"og:url",content:N},{property:"og:image",content:P},{property:"og:site_name",content:"OpenWeb"},{property:"og:title",content:y},{property:"og:description",content:b},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:creator",content:g.siteMetadata.author},{name:"twitter:title",content:_},{name:"twitter:description",content:w},{name:"twitter:image",content:P},{name:"robots",content:T+", "+O},{name:"google-site-verification",content:E},{property:"fb:app_id",content:I}].concat(n)},j&&c.a.createElement("script",{type:"application/ld+json"},j))}d.defaultProps={description:"",lang:"en",meta:[]},t.a=d}}]);
//# sourceMappingURL=component---src-templates-technology-index-js-5004ee0bbe875a949c8a.js.map