1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1822,5276],{173:()=>{},15380:(e,t,r)=>{var n=r(92493),a=r(14959),o=r(35807),i=["formId","formUrl","formType","options"];function l(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return c(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(l)throw o}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var s=Object.create,u=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,p=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,v=function(e,t,r,n){if(t&&"object"==typeof t||"function"==typeof t){var a,o=l(f(t));try{for(o.s();!(a=o.n()).done;)!function(){var o=a.value;m.call(e,o)||o===r||u(e,o,{get:function(){return t[o]},enumerable:!(n=d(t,o))||n.enumerable})}()}catch(e){o.e(e)}finally{o.f()}}return e},h={};!function(e,t){for(var r in t)u(e,r,{get:t[r],enumerable:!0})}(h,{default:function(){return E}}),e.exports=v(u({},"__esModule",{value:!0}),h);var b=function(e,t,r){return r=null!=e?s(p(e)):{},v(e&&e.__esModule?r:u(r,"default",{value:e,enumerable:!0}),e)}(r(12115)),y=function(e){return new Promise(function(t){return setTimeout(t,e)})};function w(){return(w=o(n.mark(function e(t,r){var a,o;return n.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a=0;case 1:if(!(a<t.length)){e.next=20;break}e.t0=(o=t[a]).action,e.next="alert"===e.t0?6:"showMessage"===e.t0?8:"digitalDownload"===e.t0?10:"redirect"===e.t0?12:14;break;case 6:return alert(o.message),e.abrupt("break",15);case 8:return r.innerHTML='<div class="sourceflow-form-message">'+o.message+"</div>",e.abrupt("break",15);case 10:return function(e){var t=document.createElement("a");t.style.display="none",t.href=e.file,t.download=e.filename||"download",document.body.appendChild(t),t.click(),setTimeout(function(){URL.revokeObjectURL(t.href),t.parentNode.removeChild(t)},0)}(o),e.abrupt("break",15);case 12:return window.location.href=o.url,e.abrupt("break",15);case 14:console.log("Unknown action type:",o.action);case 15:return e.next=17,y(800);case 17:a++,e.next=1;break;case 20:case"end":return e.stop()}},e)}))).apply(this,arguments)}var x=new Set,g=!1;function j(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function _(e){return!e.disabled&&!(e.tabIndex<=0)&&(null!==e.offsetParent||e===document.activeElement)}function N(e){return Array.from(e.querySelectorAll("[tabindex]")).filter(_).sort(function(e,t){return e.tabIndex-t.tabIndex||j(e,t)})}function O(e){if("Tab"!==e.key||e.ctrlKey||e.altKey||e.metaKey||e.defaultPrevented)return;var t=Array.from(x).sort(j),r=t.findIndex(function(e){return e.contains(document.activeElement)});if(-1!==r){var n=N(t[r]),a=n.indexOf(document.activeElement);if(-1!==a){var o=!e.shiftKey,i=o?a+1:a-1;if(i>=0&&i<n.length){e.preventDefault(),n[i].focus();return}var l=t[o?r+1:r-1];if(l){var c=N(l);c.length&&(e.preventDefault(),c[o?0:c.length-1].focus())}}}}var E=function(e){var t=e.formId,r=e.formUrl,c=void 0===r?null:r,s=e.formType,u=e.options,d=a(e,i),f=(0,b.useRef)(null),p=(0,b.useRef)(d);return p.current=d,(0,b.useEffect)(function(){var e,r=!1,a=new URL(null!=c?c:"/_sf/api/v1/forms/".concat(t),window.location.origin).href;return new Promise(function(e,t){var r=document.createElement("script");r.src="https://cdn.sourceflow.co.uk/formio/formio.full.min.js",r.async=!0,r.onload=function(){return e()},r.onerror=t,document.body.appendChild(r)}).then(o(n.mark(function t(){var o;return n.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=2;break}return t.abrupt("return");case 2:return o=window.Formio,t.next=5,o.setProjectUrl(a);case 5:r||((e=new o.Form(f.current,a,u||{})).onAny(function(e){if(e.startsWith("formio.")){var t,r=e.slice(7);if(r){for(var n="on".concat(r[0].toUpperCase()).concat(r.slice(1)),a=p.current[n],o=arguments.length,i=Array(o>1?o-1:0),l=1;l<o;l++)i[l-1]=arguments[l];if("function"==typeof a)return a.apply(void 0,i);"onSubmitDone"===n&&(null==(t=i[0])?void 0:t.actions)&&function(e,t){w.apply(this,arguments)}(i[0].actions,f.current)}}}),e.ready.then(function(e){var t;r||(function e(t){var r,n=l(t);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(null!=(o=a.components)&&o.length&&e(a.components),null!=(i=a.columns)&&i.length){var o,i,c,s,u,d=l(a.columns);try{for(d.s();!(u=d.n()).done;){var f,p=u.value;(null==(f=p.components)?void 0:f.length)&&e(p.components)}}catch(e){d.e(e)}finally{d.f()}}if("file"===a.type){var m=null==(c=a.component)?void 0:c.tabindex;m&&(null==(s=a.refs)||null==(s=s.fileBrowse)||s.setAttribute("tabindex",m))}}}catch(e){n.e(e)}finally{n.f()}}(e.components),(t=f.current)&&(x.add(t),g||(document.addEventListener("keydown",O),g=!0)))}));case 6:case"end":return t.stop()}},t)}))),function(){var t,n;r=!0,n=f.current,x.delete(n),null==(t=e)||t.destroy(!0)}},[t,c,u]),b.default.createElement("div",{ref:f,id:"sourceflow-form-".concat(t),"data-sourceflow-form":void 0===s?"form":s,"data-sourceflow-form-id":t,"data-sourceflow-url":c})}},31543:e=>{e.exports={"share-icon-container":"styles_share-icon-container__rwQf2","share-title":"styles_share-title__iFCzD","share-icon-wrapper":"styles_share-icon-wrapper__LHKmD"}},55276:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});
1var n=r(52086),a=r(11349),o=r(23286),i=r.n(o),l=r(39200),c=r(93272),s=r(31543),u=r.n(s),d=r(95155),f=i().bind(u()),p="https://www.rullion.co.uk".replace(/\/$/,"");let m=function(e){var t=e.isReverse,r=e.iconSize,o=void 0===r?"2xl":r,i=e.className,s=(0,l.usePathname)()||"/",u=p||(window.location.origin?window.location.origin:""),m="".concat(u).concat(s);return(0,d.jsx)("div",{"data-component":"Share",className:f("d-flex gap-15px",void 0===t||t?"flex-row-reverse":"flex-row",void 0===i?"":i),children:(0,d.jsxs)("div",{className:f("d-flex flex-row flex-wrap justify-content-center align-items-center","share-icon-container"),children:[(0,d.jsx)("span",{className:f("share-title","primary-color"),children:"Share"}),(0,d.jsx)(c.uI,{url:m,className:f("share-icon-wrapper"),children:(0,d.jsx)(a.g,{icon:n.aUl,size:o||"2xl",className:"secondary-color"})}),(0,d.jsx)(c.r6,{url:m,className:f("share-icon-wrapper"),children:(0,d.jsx)(a.g,{icon:n.NLt,size:o||"2xl",className:"secondary-color"})}),(0,d.jsx)(c.wk,{url:m,className:f("share-icon-wrapper"),children:(0,d.jsx)(a.g,{icon:n.IAJ,size:o||"2xl",className:"secondary-color"})})]})})}},56543:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var n=r(12115),a=r(15380),o=r.n(a),i=r(95155);function l(e){var t=e.formId,r=e.className,a=(0,n.useRef)(null);return(0,n.useEffect)(function(){var e=function(){var e,t=null==(e=a.current)?void 0:e.querySelector('button[ref="button"]');t&&t.setAttribute("aria-disabled",t.disabled?"true":"false")};e();var t=new MutationObserver(e);return a.current&&t.observe(a.current,{childList:!0,subtree:!0}),function(){return t.disconnect()}},[a]),(0,i.jsx)("div",{className:r,ref:a,children:(0,i.jsx)(o(),{formId:t})})}},67204:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var n=r(38401),a=r(92493),o=r.n(a),i=r(12373),l=r(95155),c=function(){var e=(0,n.A)(o().mark(function e(t,r){var n,a,i,l;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t){e.next=3;break}throw Error("File URL is required");case 3:return e.next=5,fetch(t);case 5:if((n=e.sent).ok){e.next=8;break}throw Error("HTTP error! Status: ".concat(n.status));case 8:return e.next=10,n.blob();case 10:a=e.sent,i=window.URL.createObjectURL(a),(l=document.createElement("a")).href=i,l.setAttribute("download",r),document.body.appendChild(l),l.click(),document.body.removeChild(l),URL.revokeObjectURL(i),e.next=24;break;case 21:e.prev=21,e.t0=e.catch(0),console.error("Error downloading file:",e.t0);case 24:case"end":return e.stop()}},e,null,[[0,21]])}));return function(t,r){return e.apply(this,arguments)}}();function s(e){var t=e.fileUrl,r=e.fileName,n=e.label,a=e.buttonClassNames;return(0,l.jsx)(i.default,{type:"button",onClick:function(){return c(t,r)},label:n,btnStyle:"white-ghost",classNames:a})}},71822:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>F});var n=r(69497),a=r(23286),o=r.n(a),i=r(85550);r(59769);var l=r(55761),c=r(11349),s=r(12373),u=r(59633),d=r(92435),f=r.n(d),p=r(173),m=r.n(p),v=r(82375),h=r(37162),b=r(95155),y=o().bind(m()),w="relatedArticles.title",x=function(){var e,t=null==(e=(0,h.m)())?void 0:e[w];return"string"==typeof t&&t?t:"More like this"};let g=function(e){var t=e.data,r=e.route,n=e.pageSize,a=f().take(Array.isArray(t)?t:[],void 0===n?3:n),o=r&&!/^([/#?]|[a-z][a-z0-9+.-]*:)/i.test(r)?"/".concat(r):r;return(0,b.jsx)("div",{"data-component":"RelatedArticles",className:"section not-white-bg",children:(0,b.jsx)("div",{className:"container",children:(0,b.jsxs)("div",{className:"d-flex flex-column justify-content-center align-items-center gap-40px",children:[(0,b.jsxs)("div",{className:"d-flex flex-wrap flex-md-nowrap w-100 justify-content-between",children:[(0,b.jsx)("div",{className:"section-subtitle-lg secondary-color",style:{fontFamily:"ITC Bookman Std Medium"},children:(0,b.jsx)(u.E,{path:w,text:x()})}),(0,b.jsx)("div",{className:"d-flex",children:(0,b.jsx)(s.default,{type:"link",href:o,label:"View all insights",btnStyle:"white",iconEnd:(0,b.jsx)(c.g,{icon:l.dmS})})})]}),(0,b.jsx)("div",{className:"row row-cols-1 row-cols-lg-3 g-4",children:null==a?void 0:a.map(function(e,t){var r=null==e?void 0:e.category;return(0,b.jsx)("div",{className:y("col","card-vertical-wrapper"),children:(0,b.jsx)(v.default,{data:e,route:o,cardStyle:function(e){switch(e){case"RESOURCE":return"purple";case"NEWS":return"yellow";case"EVENT":return"teal";default:return"magenta"}}(r)})},t)})})]})})})};var j=r(55276),_=r(58109),N=r.n(_),O=r(76657),E=r.n(O),S=r(60227),k=r(59023),A=r(78932),I=r(72290),C=r(672
104),R=r(56543);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function U(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}r(36061);var P=o().bind(E()),D=r(33914).default,L=function(e){switch(e){case"RESOURCE":return"primary-color";case"NEWS":return"quarternary-color";case"EVENT":return"tertiary-color";default:return"secondary-color"}},M=function(e,t){var r,n=null==(r=(0,h.m)())?void 0:r[e];return"string"==typeof n&&n?n:t},z=function(e){var t,r,n=e.url_slug,a=e.article,o=e.latestArticles,i=e.limit,l=!!(null==a?void 0:a.title),c=Array.isArray(o)&&o.length>0,s=l&&c?[]:null!=(t=(0,A.ge)())?t:[],u=String(null!=n?n:"").replace(/^\/+|\/+$/g,""),d=l?a:null!=(r=s.find(function(e){return u&&(null==e?void 0:e.url_slug)===u}))?r:null;return{record:d,latest:c?o:(0,I.m)(s.filter(function(e){return(null==e?void 0:e.id)!==(null==d?void 0:d.id)}).map(function(e){return U(U({},e),{},{date:(null==e?void 0:e.date)||(null==e?void 0:e.created_at)})}),"date").slice(0,i)}};let F=function(e){var t,r=e.url_slug,n=e.article,a=e.latestArticles,o=e.limit;e.router,e.contentType,e.excludeCurrent,e.sortBy,e.sortFallback,e.sortDirection;var l=z({url_slug:r,article:n,latestArticles:a,limit:void 0===o?3:o}),c=l.record,s=l.latest;if(!c)return null;var d=c.image,f=c.title,p=c.content,m=c.author,v=c.created_at,h=c.publish_date,y=c.category,w=c.downloaded_file,x=c.blurb,_=c.form,O=c.cta_header,E=c.cta_text,A=c.cta_label,I=c.cta_link;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{"data-component":"InsightDetail",className:P("container mt-4 mt-md-5","text-styling"),children:[(0,b.jsx)("div",{className:"mb-4",children:(0,b.jsx)(k.default,{items:[{label:"About Rullion"},{label:"Insights",path:"/insights"}]})}),(0,b.jsx)("div",{className:"h1",children:(0,b.jsx)(u.E,{path:"insightsDetail.hero.".concat(f,"title"),text:M("insightsDetail.hero.".concat(f,"title"),f),tag:"h1"})}),(0,b.jsxs)("div",{children:[y&&(0,b.jsx)("span",{className:P("badge","me-4",L(y)),children:y}),(0,b.jsxs)("span",{children:["By ",m," on ",N()(h||v).format("DD MMMM YYYY")]})]}),(0,b.jsx)("div",{className:"section-description grey-color my-5",children:(0,b.jsx)(u.E,{path:"blurb.description.".concat(f),text:M("blurb.description.".concat(f),x)})})]}),(0,b.jsx)("div",{className:"",children:(0,b.jsx)("div",{className:"container",children:(0,b.jsxs)("div",{className:"d-flex flex-column",children:[d&&(0,b.jsx)("div",{className:P("image-wrapper")}),(0,b.jsx)("div",{className:P("content-wrapper"),children:p&&D(p
1)})]})})}),(null==w?void 0:w.length)>0&&(0,b.jsxs)("div",{className:P("container d-flex flex-column primary-bg p-5 justify-content-center align-items-center gap-4","button-wrapper"),children:[(0,b.jsx)("div",{className:"text-white section-subtitle",children:(0,b.jsx)(u.E,{text:M("insights.download.title.".concat(f),"Download our full case study"),path:"insights.download.title.".concat(f)})}),(0,b.jsx)("div",{children:(0,b.jsx)(C.default,{fileUrl:null==w||null==(t=w[0])?void 0:t.file,fileName:f,label:"Download ".concat(y),buttonClassNames:P("text-uppercase rounded-0 bg-white primary-color","button")})})]}),(0,b.jsx)("div",{className:"container pb-5",children:(0,b.jsx)(j.default,{isReverse:!1,iconSize:"xl"})}),_?(0,b.jsx)(R.default,{formId:_,className:P("form-wrapper","container my-5")}):(0,b.jsx)(S.default,{title:void 0===O?"Register your CV with us":O,description:void 0===E?"Get discovered for exciting opportunitiesâsubmit your CV and let us connect you with the right role.":E,style:"non-white",buttonLabel:void 0===A?"Submit CV":A,icon:(0,b.jsx)("img",{src:"/icons/upload.svg",alt:"upload",loading:"lazy"}),href:void 0===I?"/submit-cv/":I,uniquePath:"insight.".concat(String(null!=f?f:"").toLowerCase().replace(/\s+/g,".").replace(/[^a-z0-9.]/g,""))}),(0,b.jsx)(g,{data:s,route:i.a$.INSIGHT})]})}},76657:e=>{e.exports={"content-wrapper":"styles_content-wrapper__g_SLq","button-wrapper":"styles_button-wrapper__dCfw_","form-wrapper":"styles_form-wrapper__0VPde",badge:"styles_badge__faz7X"}},85550:(e,t,r)=>{"use strict";r.d(t,{a$:()=>n});var n={COOKIES:"/cookies",CONTACT_US:"/contact-us",HOME:"/",GET_TO_KNOW_US:"/get-to-know-us",FEATURED_CLIENT:"/featured-client",INDUSTRY:"/industries",INSIGHT:"/insights",JOB_SEARCH:"/jobs",OUR_PEOPLE:"/our-people",PRIVACY_POLICY:"/privacy-policy",SOLUTION:"/our-solutions",SUBMIT_CV:"/submit-cv",WHY_RULLION:"/why-rullion",WORK_FOR_US:"/join-us",WHAT_WE_OFFER:"/what-we-offer",WHAT_OUR_CLIENT_SAY:"/what-our-client-say",WHAT_OUR_CANDIDATE_SAY:"/what-our-candidate-say"}}}]);
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.