1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2116],{11643:(t,e,r)=>{var n=r(98799),a=r(14959),i=r(24175),o=["src","size","alt","resize","cdnDomain","cdnSubPath","loading","imagesMetaData","prefix","path"];function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){n(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var l=Object.create,f=Object.defineProperty,p=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyNames,m=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,y=function(t,e){return function(){return e||t((e={exports:{}}).exports,e),e.exports}},v=function(t,e,r,n){if(e&&"object"==typeof e||"function"==typeof e){var a,i=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return u(t,void 0);var r=({}).toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}(t))){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},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 i,o=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){c=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}(h(e));try{for(i.s();!(a=i.n()).done;)!function(){var i=a.value;d.call(t,i)||i===r||f(t,i,{get:function(){return e[i]},enumerable:!(n=p(e,i))||n.enumerable})}()}catch(t){i.e(t)}finally{i.f()}}return t},g=function(t,e,r){return r=null!=t?l(m(t)):{},v(!e&&t&&t.__esModule?r:f(r,"default",{value:t,enumerable:!0}),t)},b=y(function(t,e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}),O=y(function(t,e){"use strict";var r=b();function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function t(t,e,n,a,i,o){if(o!==r){var c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var i={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:a,resetWarningCache:n};return i.PropTypes=i,i}}),w=y(function(t,e){e.exports=O()()}),j={};!function(t,e){for(var r in e)f(t,r,{get:e[r],enumerable:!0})}(j,{SourceFlowImage:function(){return I},default:function(){return T},getImagePathString:function(){return z},getImageUrl:function(){return k},getSourceFlowImage:function(){return D}}),t.exports=v(f({},"__esModule",{value:!0}),j);var P=g(r(12115)),A=g(w()),S={cdnDomain:"cdn.sourceflow.co.uk",cdnSubPath:"__gallery",resize:!0},_={src:"",size:"240x240"},k=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S,e=Object.assign({},S,t),r=e.cdnDomain,n=e.cdnSubPath,a=e.resize;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_,e=Object.assign({},_,t),o=e.src,c=e.size;if(a&&c&&o.includes(r)){var s=i(o.split("/").reverse(),1)[0];return o&&o.includes(n)?"https://".concat(r,"/").concat(n,"/variant/").concat(c,"/").concat(n,"/").concat(s):"https://".concat(r,"/variant/").concat(c,"/").concat(s)}return o&&o.length>0?o:"https://placehold.co/".concat(c)}}
1,z=function(t){var e=t.prefix,r=t.__path,n=e?"".concat(e,".").concat(r):r;return[n,"img-".concat(n)]},E=function(t){var e=t.src,r=void 0===e?null:e,n=t.size,c=void 0===n?"240x240":n,u=t.alt,l=void 0===u?"":u,f=t.resize,p=void 0===f||f,h=t.cdnDomain,m=t.cdnSubPath,d=t.loading,y=void 0===d?"lazy":d,v=t.imagesMetaData,g=void 0===v?{}:v,b=t.prefix,O=t.path,w=a(t,o),j=i(z({prefix:b,__path:O}),2),A=j[0],S=j[1],_=k({cdnDomain:void 0===h?"cdn.sourceflow.co.uk":h,cdnSubPath:void 0===m?"__gallery":m,resize:p}),E={"data-sourceflow-type":"image","data-sourceflow-path":S,"data-sourceflow-placeholder":r,"data-sourceflow-size":c};if(!0===p&&!c)return P.default.createElement("span",null,"Image must have a size");if("string"!=typeof l)return P.default.createElement("span",null,"Image must have an alt");if(!A)return P.default.createElement("img",s({src:_({src:r,size:c}),alt:l,loading:y},w));if(S in g&&null!==g[S]){var I=g[S],x=I.alt,D=I.title,T=I.src;return P.default.createElement("img",s(s({src:_({src:T,size:c}),title:D,alt:x,loading:y},E),w))}return r?P.default.createElement("img",s(s({src:_({src:r,size:c}),alt:l,loading:y},E),w)):P.default.createElement("img",s(s({src:_({size:c}),alt:l},E),w))};E.propTypes={src:A.default.string,size:A.default.string,alt:A.default.string,resize:A.default.bool,cdnDomain:A.default.string,cdnSubPath:A.default.string,loading:A.default.oneOf(["lazy","eager"]),imagesMetaData:A.default.object,path:A.default.string,prefix:A.default.string};var I=E,x=g(r(12115)),D=function(t){return function(e){var r=s(s({},t),e);return x.default.createElement(I,s({},r))}},T=I},18358:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(20703);function a(t,e){if(t){if("string"==typeof t)return(0,n.A)(t,e);var r=({}).toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.A)(t,e):void 0}}},20703:(t,e,r)=>{"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{A:()=>n})},55528:(t,e,r)=>{var n=r(92493),a=r(65301),i=r(79923),o=r(98799),c=r(92435),s=r(64039),u=function(){"use strict";function t(e,r){if(a(this,t),o(this,"find",function(){return new t(c.find.apply(c,[this.items].concat(Array.from(arguments))),this.locale)}),o(this,"orderBy",function(){return new t(c.orderBy.apply(c,[this.items].concat(Array.from(arguments))),this.locale)}),o(this,"filter",function(){return new t(c.filter.apply(c,[this.items].concat(Array.from(arguments))),this.locale)}),o(this,"map",function(){return new t(c.map.apply(c,[this.items].concat(Array.from(arguments))),this.locale)}),o(this,"locale","en"),this.locale=r,Array.isArray(e))this.items=e,this.name="Dynamic collection";else if(c.isObject(e)&&c.has(e,"category_values"))this.name=e.name,this.id=e.id,this.schema=e.schema,this.items=e.category_values;else if(c.isObject(e))return new s(e,this.locale);else throw Error("Type is not supported")}return i(t,[{key:"getItems",value:function(){var t=this;return this.items.map(function(e){if(c.isObject(e)){var r={};return Object.keys(e).map(function(n){if("string"==typeof e[n])r[n]=e[n];else{var a;r[n]=null==(a=e[n])?void 0:a[t.locale]}void 0===r[n]&&(r[n]=e[n])}),r}return e})}},{key:"getPaths",value:function(t){return this.map(t).getItems().map(function(e){return{params:o({},t,e)}})}},{key:"getJsonItem",value:function(t,e){var r=this.find(function(r){return r[e]===t});return r?null==r?void 0:r.toJson():null}},{key:"getPages",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5,e=Math.ceil(this.items.length/t),r=[],n=1;n<=e;n++)r.push({params:{page:n.toString()}});return r}},{key:"getPageItems",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=Math.ceil(this.items.length/r),a=Number(t),i=this.items.slice((a-1)*r,(a-1)*r+r).map(function(t){var r={};return Object.keys(t).map(function(n){var a;r[n]=(null==(a=t[n])?void 0:a[e.locale])||t[n]}),r});return{totalItems:this.items.length,totalPages:n,current:a,next:a>=n?null:a+1,previous:a<=1?null:a-1,pageSize:r,items:i}}}
1,{key:"pluck",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new t(this.items.map(function(t){return c.pick(t,e)}),this.locale)}}])}();o(u,"methods",["find","orderBy","filter","map"]),u.prototype[Symbol.iterator]=n.mark(function t(){return n.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(this.items,"t0",1);case 1:case"end":return t.stop()}},t,this)}),t.exports=u},64039:(t,e,r)=>{var n=r(65301),a=r(79923),i=r(98799);function o(t,e){return t.get(c(t,e))}function c(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw TypeError("Private element is not present on this object")}var s=r(92435),u=new WeakMap,l=function(){"use strict";function t(e,r){n(this,t),i(this,"locale","en"),function(t,e){if(e.has(t))throw TypeError("Cannot initialize the same private elements twice on an object")}(this,u),u.set(this,void 0),Object.assign(this,e),this.locale=r,u.set(c(u,this),e),t.methods.map(function(e){t.prototype[e]=function(){return s[e].apply(s,[this].concat(Array.from(arguments)))}})}return a(t,[{key:"toJson",value:function(){var t=this,e={};return Object.keys(o(u,this)).map(function(r){if("string"==typeof o(u,t)[r])e[r]=o(u,t)[r];else{var n;e[r]=null==(n=o(u,t)[r])?void 0:n[t.locale]}void 0===e[r]&&(e[r]=null)}),e}}])}();i(l,"methods",["values","keys","at"]),t.exports=l},91777:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(20703),a=r(18358);function i(t){return function(t){if(Array.isArray(t))return(0,n.A)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||(0,a.A)(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}}]);
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.