-
Notifications
You must be signed in to change notification settings - Fork 1
/
93241701166c3169d92c9fdd395837837cace836-e6c0e812c29c02c9d079.js
3 lines (3 loc) · 42 KB
/
93241701166c3169d92c9fdd395837837cace836-e6c0e812c29c02c9d079.js
1
2
3
/*! For license information please see 93241701166c3169d92c9fdd395837837cace836-e6c0e812c29c02c9d079.js.LICENSE.txt */
(self.webpackChunkbrian_friel=self.webpackChunkbrian_friel||[]).push([[964],{851:function(e,t,r){var n=r(9743);function a(e,t){var r=new n(e,t);return function(e){return r.convert(e)}}a.BIN="01",a.OCT="01234567",a.DEC="0123456789",a.HEX="0123456789abcdef",e.exports=a},9743:function(e){"use strict";function t(e,t){if(!(e&&t&&e.length&&t.length))throw new Error("Bad alphabet");this.srcAlphabet=e,this.dstAlphabet=t}t.prototype.convert=function(e){var t,r,n,a={},i=this.srcAlphabet.length,o=this.dstAlphabet.length,s=e.length,c="string"==typeof e?"":[];if(!this.isValid(e))throw new Error('Number "'+e+'" contains of non-alphabetic digits ('+this.srcAlphabet+")");if(this.srcAlphabet===this.dstAlphabet)return e;for(t=0;t<s;t++)a[t]=this.srcAlphabet.indexOf(e[t]);do{for(r=0,n=0,t=0;t<s;t++)(r=r*i+a[t])>=o?(a[n++]=parseInt(r/o,10),r%=o):n>0&&(a[n++]=0);s=n,c=this.dstAlphabet.slice(r,r+1).concat(c)}while(0!==n);return c},t.prototype.isValid=function(e){for(var t=0;t<e.length;++t)if(-1===this.srcAlphabet.indexOf(e[t]))return!1;return!0},e.exports=t},5404:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&s(r)&&(t[r]=e[r]);return t};var n,a=r(2340),i=(n=a)&&n.__esModule?n:{default:n};var o={onCopy:!0,onCut:!0,onPaste:!0,onLoad:!0,onError:!0,onWheel:!0,onScroll:!0,onCompositionEnd:!0,onCompositionStart:!0,onCompositionUpdate:!0,onKeyDown:!0,onKeyPress:!0,onKeyUp:!0,onFocus:!0,onBlur:!0,onChange:!0,onInput:!0,onSubmit:!0,onClick:!0,onContextMenu:!0,onDoubleClick:!0,onDrag:!0,onDragEnd:!0,onDragEnter:!0,onDragExit:!0,onDragLeave:!0,onDragOver:!0,onDragStart:!0,onDrop:!0,onMouseDown:!0,onMouseEnter:!0,onMouseLeave:!0,onMouseMove:!0,onMouseOut:!0,onMouseOver:!0,onMouseUp:!0,onSelect:!0,onTouchCancel:!0,onTouchEnd:!0,onTouchMove:!0,onTouchStart:!0,onAnimationStart:!0,onAnimationEnd:!0,onAnimationIteration:!0,onTransitionEnd:!0};function s(e){return o[e]||i.default[e]||/^(data|aria)-/.test(e)}},2340:function(e){"use strict";e.exports={abbr:"abbr",accept:"accept",acceptCharset:"accept-charset",accessKey:"accesskey",action:"action",allowFullScreen:"allowfullscreen",allowTransparency:"allowtransparency",alt:"alt",async:"async",autoComplete:"autocomplete",autoFocus:"autofocus",autoPlay:"autoplay",cellPadding:"cellpadding",cellSpacing:"cellspacing",challenge:"challenge",charset:"charset",checked:"checked",cite:"cite",class:"class",className:"class",cols:"cols",colSpan:"colspan",command:"command",content:"content",contentEditable:"contenteditable",contextMenu:"contextmenu",controls:"controls",coords:"coords",crossOrigin:"crossorigin",data:"data",dateTime:"datetime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",dropzone:"dropzone",encType:"enctype",for:"for",form:"form",formAction:"formaction",formEncType:"formenctype",formMethod:"formmethod",formNoValidate:"formnovalidate",formTarget:"formtarget",frameBorder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hrefLang:"hreflang",htmlFor:"for",httpEquiv:"http-equiv",icon:"icon",id:"id",inputMode:"inputmode",isMap:"ismap",itemId:"itemid",itemProp:"itemprop",itemRef:"itemref",itemScope:"itemscope",itemType:"itemtype",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",manifest:"manifest",max:"max",maxLength:"maxlength",media:"media",mediaGroup:"mediagroup",method:"method",min:"min",minLength:"minlength",multiple:"multiple",muted:"muted",name:"name",noValidate:"novalidate",open:"open",optimum:"optimum",pattern:"pattern",ping:"ping",placeholder:"placeholder",poster:"poster",preload:"preload",radioGroup:"radiogroup",readOnly:"readonly",rel:"rel",required:"required",role:"role",rows:"rows",rowSpan:"rowspan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",sortable:"sortable",span:"span",spellCheck:"spellcheck",src:"src",srcDoc:"srcdoc",srcSet:"srcset",start:"start",step:"step",style:"style",tabIndex:"tabindex",target:"target",title:"title",translate:"translate",type:"type",typeMustMatch:"typemustmatch",useMap:"usemap",value:"value",width:"width",wmode:"wmode",wrap:"wrap"}},8693:function(e,t,r){var n=r(861),a=r(8416);function i(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 o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s,c,u=r(6037).v4,l=r(851),d="123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",f={consistentLength:!0},p=function(e,t,r){var n=t(e.toLowerCase().replace(/-/g,""));return r&&r.consistentLength?n.padStart(r.shortIdLength,r.paddingChar):n};e.exports=((c=function(e,t){var r=e||d,a=o(o({},f),t);if(n(new Set(Array.from(r))).length!==r.length)throw new Error("The provided Alphabet has duplicate characters resulting in unreliable results");var i,s=(i=r.length,Math.ceil(Math.log(Math.pow(2,128))/Math.log(i))),c={shortIdLength:s,consistentLength:a.consistentLength,paddingChar:r[0]},g=l(l.HEX,r),m=l(r,l.HEX),h=function(){return p(u(),g,c)},v={new:h,generate:h,uuid:u,fromUUID:function(e){return p(e,g,c)},toUUID:function(e){return function(e,t){var r=t(e).padStart(32,"0").match(/(\w{8})(\w{4})(\w{4})(\w{4})(\w{12})/);return[r[1],r[2],r[3],r[4],r[5]].join("-")}(e,m)},alphabet:r,maxLength:s};return Object.freeze(v),v}).constants={flickrBase58:d,cookieBase90:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&'()*+-./:<=>?@[]^_`{|}~"},c.uuid=u,c.generate=function(){return s||(s=c(d).generate),s()},c)},6151:function(e,t,r){var n=r(6297),a=["blank","all","minWidth","minHeight","maxWidth","maxHeight","print"];function i(e){return function(t,r){var n=t.sortVal,a=r.sortVal,i=t.item.__media,o=r.item.__media;if(e=void 0!==e&&e,n===a){if(i.match(/print/))return 1;if(o.match(/print/))return-1}return e?a-n:n-a}}function o(e,t,r){switch(function(e,t,r){return e&&e.length&&"string"!=typeof e?("object"!==t||r&&"string"==typeof r)&&function(e,t,r){for(var n=!0,a=0,i=e.length;a<i;a++)if(typeof e[a]!==t||r&&!e[a].hasOwnProperty(r)){n=!1;break}return n}(e,t,r)?"all":"some":"none"}(e,t,r)){case"none":return[];case"some":return e}var o=function(){for(var e={},t=0,r=a.length;t<r;t++)e[a[t]]=[];return e}();return e=function(e,t,r){for(var a=[],i={},o=0,s=e.length;o<s;o++)"string"===t?i=n({},{__media:e[o]}):(i=n({},e[o])).__media=e[o][r],a.push(i);return a}(e,t,r),function(e,t){for(var r=0,n=t.length;r<n;r++){var a=t[r],i=a.__media,o="blank",s=i.match(/\d+/g);i.match(/min-width/)?o="minWidth":i.match(/min-height/)?o="minHeight":i.match(/max-width/)?o="maxWidth":i.match(/max-height/)?o="maxHeight":i.match(/print/)?o="print":i.match(/all/)&&(o="all"),e[o].push({item:a,sortVal:s?s[0]:0})}}(o,e),function(e){var t;for(var r in e)e.hasOwnProperty(r)&&(t=i(!1),"maxWidth"!==r&&"maxHeight"!==r||(t=i(!0)),e[r].sort(t))}(o),function(e,t,r){var n=[];function i(e){for(var r,a=0,i=e.length;a<i;a++)"string"===t?r=e[a].item.__media:delete(r=e[a].item).__media,n.push(r)}for(var o=0,s=a.length;o<s;o++)i(e[a[o]]);return n}(o,t)}e.exports=function(e,t){return e?t?o(e,"object",t):o(e,"string"):[]}},6037:function(e,t,r){"use strict";var n;r.r(t),r.d(t,{NIL:function(){return P},parse:function(){return h},stringify:function(){return f},v1:function(){return m},v3:function(){return O},v4:function(){return _},v5:function(){return R},validate:function(){return s},version:function(){return E}});var a=new Uint8Array(16);function i(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(a)}var o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var s=function(e){return"string"==typeof e&&o.test(e)},c=[],u=0;u<256;++u)c.push((u+256).toString(16).substr(1));var l,d,f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!s(r))throw TypeError("Stringified UUID is invalid");return r},p=0,g=0;var m=function(e,t,r){var n=t&&r||0,a=t||new Array(16),o=(e=e||{}).node||l,s=void 0!==e.clockseq?e.clockseq:d;if(null==o||null==s){var c=e.random||(e.rng||i)();null==o&&(o=l=[1|c[0],c[1],c[2],c[3],c[4],c[5]]),null==s&&(s=d=16383&(c[6]<<8|c[7]))}var u=void 0!==e.msecs?e.msecs:Date.now(),m=void 0!==e.nsecs?e.nsecs:g+1,h=u-p+(m-g)/1e4;if(h<0&&void 0===e.clockseq&&(s=s+1&16383),(h<0||u>p)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");p=u,g=m,d=s;var v=(1e4*(268435455&(u+=122192928e5))+m)%4294967296;a[n++]=v>>>24&255,a[n++]=v>>>16&255,a[n++]=v>>>8&255,a[n++]=255&v;var y=u/4294967296*1e4&268435455;a[n++]=y>>>8&255,a[n++]=255&y,a[n++]=y>>>24&15|16,a[n++]=y>>>16&255,a[n++]=s>>>8|128,a[n++]=255&s;for(var b=0;b<6;++b)a[n+b]=o[b];return t||f(a)};var h=function(e){if(!s(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};function v(e,t,r){function n(e,n,a,i){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof n&&(n=h(n)),16!==n.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var o=new Uint8Array(16+e.length);if(o.set(n),o.set(e,n.length),(o=r(o))[6]=15&o[6]|t,o[8]=63&o[8]|128,a){i=i||0;for(var s=0;s<16;++s)a[i+s]=o[s];return a}return f(o)}try{n.name=e}catch(a){}return n.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",n.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",n}function y(e){return 14+(e+64>>>9<<4)+1}function b(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function S(e,t,r,n,a,i){return b((o=b(b(t,e),b(n,i)))<<(s=a)|o>>>32-s,r);var o,s}function A(e,t,r,n,a,i,o){return S(t&r|~t&n,e,t,a,i,o)}function C(e,t,r,n,a,i,o){return S(t&n|r&~n,e,t,a,i,o)}function x(e,t,r,n,a,i,o){return S(t^r^n,e,t,a,i,o)}function w(e,t,r,n,a,i,o){return S(r^(t|~n),e,t,a,i,o)}var I=function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){for(var t=[],r=32*e.length,n="0123456789abcdef",a=0;a<r;a+=8){var i=e[a>>5]>>>a%32&255,o=parseInt(n.charAt(i>>>4&15)+n.charAt(15&i),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[y(t)-1]=t;for(var r=1732584193,n=-271733879,a=-1732584194,i=271733878,o=0;o<e.length;o+=16){var s=r,c=n,u=a,l=i;r=A(r,n,a,i,e[o],7,-680876936),i=A(i,r,n,a,e[o+1],12,-389564586),a=A(a,i,r,n,e[o+2],17,606105819),n=A(n,a,i,r,e[o+3],22,-1044525330),r=A(r,n,a,i,e[o+4],7,-176418897),i=A(i,r,n,a,e[o+5],12,1200080426),a=A(a,i,r,n,e[o+6],17,-1473231341),n=A(n,a,i,r,e[o+7],22,-45705983),r=A(r,n,a,i,e[o+8],7,1770035416),i=A(i,r,n,a,e[o+9],12,-1958414417),a=A(a,i,r,n,e[o+10],17,-42063),n=A(n,a,i,r,e[o+11],22,-1990404162),r=A(r,n,a,i,e[o+12],7,1804603682),i=A(i,r,n,a,e[o+13],12,-40341101),a=A(a,i,r,n,e[o+14],17,-1502002290),r=C(r,n=A(n,a,i,r,e[o+15],22,1236535329),a,i,e[o+1],5,-165796510),i=C(i,r,n,a,e[o+6],9,-1069501632),a=C(a,i,r,n,e[o+11],14,643717713),n=C(n,a,i,r,e[o],20,-373897302),r=C(r,n,a,i,e[o+5],5,-701558691),i=C(i,r,n,a,e[o+10],9,38016083),a=C(a,i,r,n,e[o+15],14,-660478335),n=C(n,a,i,r,e[o+4],20,-405537848),r=C(r,n,a,i,e[o+9],5,568446438),i=C(i,r,n,a,e[o+14],9,-1019803690),a=C(a,i,r,n,e[o+3],14,-187363961),n=C(n,a,i,r,e[o+8],20,1163531501),r=C(r,n,a,i,e[o+13],5,-1444681467),i=C(i,r,n,a,e[o+2],9,-51403784),a=C(a,i,r,n,e[o+7],14,1735328473),r=x(r,n=C(n,a,i,r,e[o+12],20,-1926607734),a,i,e[o+5],4,-378558),i=x(i,r,n,a,e[o+8],11,-2022574463),a=x(a,i,r,n,e[o+11],16,1839030562),n=x(n,a,i,r,e[o+14],23,-35309556),r=x(r,n,a,i,e[o+1],4,-1530992060),i=x(i,r,n,a,e[o+4],11,1272893353),a=x(a,i,r,n,e[o+7],16,-155497632),n=x(n,a,i,r,e[o+10],23,-1094730640),r=x(r,n,a,i,e[o+13],4,681279174),i=x(i,r,n,a,e[o],11,-358537222),a=x(a,i,r,n,e[o+3],16,-722521979),n=x(n,a,i,r,e[o+6],23,76029189),r=x(r,n,a,i,e[o+9],4,-640364487),i=x(i,r,n,a,e[o+12],11,-421815835),a=x(a,i,r,n,e[o+15],16,530742520),r=w(r,n=x(n,a,i,r,e[o+2],23,-995338651),a,i,e[o],6,-198630844),i=w(i,r,n,a,e[o+7],10,1126891415),a=w(a,i,r,n,e[o+14],15,-1416354905),n=w(n,a,i,r,e[o+5],21,-57434055),r=w(r,n,a,i,e[o+12],6,1700485571),i=w(i,r,n,a,e[o+3],10,-1894986606),a=w(a,i,r,n,e[o+10],15,-1051523),n=w(n,a,i,r,e[o+1],21,-2054922799),r=w(r,n,a,i,e[o+8],6,1873313359),i=w(i,r,n,a,e[o+15],10,-30611744),a=w(a,i,r,n,e[o+6],15,-1560198380),n=w(n,a,i,r,e[o+13],21,1309151649),r=w(r,n,a,i,e[o+4],6,-145523070),i=w(i,r,n,a,e[o+11],10,-1120210379),a=w(a,i,r,n,e[o+2],15,718787259),n=w(n,a,i,r,e[o+9],21,-343485551),r=b(r,s),n=b(n,c),a=b(a,u),i=b(i,l)}return[r,n,a,i]}(function(e){if(0===e.length)return[];for(var t=8*e.length,r=new Uint32Array(y(t)),n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))},O=v("v3",48,I);var _=function(e,t,r){var n=(e=e||{}).random||(e.rng||i)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=n[a];return t}return f(n)};function k(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function M(e,t){return e<<t|e>>>32-t}var D=function(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var a=0;a<n.length;++a)e.push(n.charCodeAt(a))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var i=e.length/4+2,o=Math.ceil(i/16),s=new Array(o),c=0;c<o;++c){for(var u=new Uint32Array(16),l=0;l<16;++l)u[l]=e[64*c+4*l]<<24|e[64*c+4*l+1]<<16|e[64*c+4*l+2]<<8|e[64*c+4*l+3];s[c]=u}s[o-1][14]=8*(e.length-1)/Math.pow(2,32),s[o-1][14]=Math.floor(s[o-1][14]),s[o-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<o;++d){for(var f=new Uint32Array(80),p=0;p<16;++p)f[p]=s[d][p];for(var g=16;g<80;++g)f[g]=M(f[g-3]^f[g-8]^f[g-14]^f[g-16],1);for(var m=r[0],h=r[1],v=r[2],y=r[3],b=r[4],S=0;S<80;++S){var A=Math.floor(S/20),C=M(m,5)+k(A,h,v,y)+b+t[A]+f[S]>>>0;b=y,y=v,v=M(h,30)>>>0,h=m,m=C}r[0]=r[0]+m>>>0,r[1]=r[1]+h>>>0,r[2]=r[2]+v>>>0,r[3]=r[3]+y>>>0,r[4]=r[4]+b>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]},R=v("v5",80,D),P="00000000-0000-0000-0000-000000000000";var E=function(e){if(!s(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},6297:function(e){e.exports=function(){for(var e={},r=0;r<arguments.length;r++){var n=arguments[r];for(var a in n)t.call(n,a)&&(e[a]=n[a])}return e};var t=Object.prototype.hasOwnProperty},8738:function(e,t,r){"use strict";var n=r(4836);t.Z=void 0;var a=n(r(3212)),i=n(r(434)),o=n(r(6115)),s=n(r(7867)),c=n(r(7294)),u=n(r(5697)),l=n(r(5010)),d=r(1645),f=r(2202),p=r(3229),g=r(1921),m=r(6636),h=r(7125),v=r(1496),y=r(5812),b=r(5570),S=["className","style","fluid","fixed","backgroundColor","durationFadeIn","Tag","children","keepStatic"],A=function(e){function t(t){var r;(r=e.call(this,t)||this).intersectionListener=function(){var e=(0,p.inImageCache)(r.props);r.state.isVisible||"function"!=typeof r.props.onStartLoad||r.props.onStartLoad({wasCached:e}),r.imageRef=(0,g.activatePictureRef)(r.imageRef,r.props,r.selfRef),r.setState((function(e){return{isVisible:!0,imageState:e.imageState+1}}),(function(){r.setState((function(t){return{imgLoaded:e,imgCached:(0,g.hasActivatedPictureRefs)(r.imageRef),imageState:t.imageState+1}}))}))};var n=(0,d.convertProps)(t),a=!0,s=!1,c=n.fadeIn,u=(0,p.inImageCache)(n);!u&&(0,b.isBrowser)()&&window.IntersectionObserver&&(a=!1,s=!0),(0,b.isBrowser)()||(a=!1),n.critical&&(a=!0,s=!1);var f=!(n.critical&&!c||(0,b.isBrowser)()),m=(0,h.fixClassName)(n)[0];return r.backgroundStyles=(0,h.presetBackgroundStyles)((0,l.default)(n.className)),r.handleImageLoaded=r.handleImageLoaded.bind((0,o.default)(r)),r.handleRef=r.handleRef.bind((0,o.default)(r)),r.imageRef=(0,g.createPictureRef)((0,i.default)({},n,{isVisible:a}),r.handleImageLoaded),r.selfRef=null,r.state={isVisible:a,imgLoaded:!1,IOSupported:s,fadeIn:c,hasNoScript:f,seenBefore:u,imageState:0,currentClassNames:m},r}(0,s.default)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.backgroundStyles=(0,h.presetBackgroundStyles)((0,l.default)(this.props.className)),this.state.isVisible&&"function"==typeof this.props.onStartLoad&&this.props.onStartLoad({wasCached:(0,p.inImageCache)(this.props)}),(this.props.critical||this.state.seenBefore)&&(0,g.imageReferenceCompleted)(this.imageRef,this.props)&&this.handleImageLoaded();var e=(0,h.fixClassName)(this.props)[0];this.setState({currentClassNames:e})},r.componentDidUpdate=function(e){var t=this;if((0,f.imagePropsChanged)(this.props,e)){var r=(0,d.convertProps)(this.props),n=(0,p.inImageCache)(r),a=(0,h.fixClassName)(r)[0];this.setState({isVisible:n||r.critical,imgLoaded:n,seenBefore:n,currentClassNames:a},(function(){t.bgImage=(0,f.getCurrentFromData)({data:t.imageRef,propName:"currentSrc",returnArray:!0})||(0,f.getCurrentFromData)({data:t.imageRef,propName:"src",returnArray:!0}),t.imageRef=(0,g.createPictureRef)((0,i.default)({},r,{isVisible:t.state.isVisible}),t.handleImageLoaded)}))}},r.componentWillUnmount=function(){this.imageRef&&(Array.isArray(this.imageRef)?this.imageRef.forEach((function(e){e&&!(0,b.isString)(e)&&(e.onload=null)})):this.imageRef.onload=null),this.cleanUpListeners&&this.cleanUpListeners()},r.handleRef=function(e){this.selfRef=e,this.state.IOSupported&&e&&(this.cleanUpListeners=(0,y.listenToIntersections)(e,this.intersectionListener,this.props.rootMargin))},r.handleImageLoaded=function(){(0,p.activateCacheForImage)(this.props),this.setState((function(e){return{imgLoaded:!0,imageState:e.imageState+1}})),this.state.seenBefore&&this.setState({fadeIn:!1}),this.props.onLoad&&this.props.onLoad()},r.render=function(){var e=(0,h.fixOpacity)((0,d.convertProps)(this.props),this.props.preserveStackingContext),t=(e.className,e.style),r=void 0===t?{}:t,n=e.fluid,o=e.fixed,s=e.backgroundColor,u=e.durationFadeIn,l=e.Tag,p=e.children,g=e.keepStatic,y=(0,a.default)(e,S),b=(0,d.stripRemainingProps)(y),A="boolean"==typeof s?"lightgray":void 0!==s?s:"",C=!0===this.state.fadeIn&&!this.state.imgCached||"soft"===this.props.fadeIn,x=C?u/2+"ms":"none",w=(0,i.default)({position:"relative"},r);this.props.preserveStackingContext||(w.opacity=.99);var I=(0,f.getCurrentSrcData)({fluid:n,fixed:o,returnArray:!0}),O=(0,f.getCurrentSrcData)({fluid:n,fixed:o})||{};if(n||o)o&&(w.width=r.width||I.width,w.height=r.height||I.height,w.display="inline-block","inherit"===r.display&&delete w.display);else{if(!g)return null;O.srcSet=""}var _=(0,m.switchImageSettings)({image:I,bgImage:this.bgImage,imageRef:this.imageRef,state:this.state});this.bgImage=_.nextImageArray||_.nextImage||this.bgImage;var k=(0,v.createPseudoStyles)((0,i.default)({className:this.state.currentClassNames,transitionDelay:x,bgColor:A,backgroundStyles:this.backgroundStyles,style:r,fadeIn:C},_,{originalData:n||o})),M=(0,v.createNoScriptStyles)({image:I,bgColor:A,className:this.state.currentClassNames,backgroundStyles:this.backgroundStyles,style:r}),D=(n?"fluid":"")+(o?"fixed":"")+"-"+JSON.stringify(O.srcSet),R=(0,i.default)({},this.backgroundStyles,w);return c.default.createElement(l,(0,i.default)({className:this.state.currentClassNames,style:R,ref:this.handleRef,key:D},b),c.default.createElement("style",{dangerouslySetInnerHTML:{__html:k}}),this.state.hasNoScript&&c.default.createElement("noscript",null,c.default.createElement("style",{dangerouslySetInnerHTML:{__html:M}})),p)},t}(c.default.Component);A.defaultProps={critical:!1,fadeIn:!0,durationFadeIn:500,Tag:"div",preserveStackingContext:!1,rootMargin:"200px",keepStatic:!1};var C=u.default.shape({width:u.default.number.isRequired,height:u.default.number.isRequired,src:u.default.string.isRequired,srcSet:u.default.string.isRequired,base64:u.default.string,tracedSVG:u.default.string,srcWebp:u.default.string,srcSetWebp:u.default.string,srcAvif:u.default.string,srcSetAvif:u.default.string,media:u.default.string}),x=u.default.shape({aspectRatio:u.default.number.isRequired,src:u.default.string.isRequired,srcSet:u.default.string.isRequired,sizes:u.default.string,base64:u.default.string,tracedSVG:u.default.string,srcWebp:u.default.string,srcSetWebp:u.default.string,srcAvif:u.default.string,srcSetAvif:u.default.string,media:u.default.string});A.propTypes={fixed:u.default.oneOfType([C,u.default.arrayOf(C),u.default.arrayOf(u.default.oneOfType([C,u.default.string]))]),fluid:u.default.oneOfType([x,u.default.arrayOf(x),u.default.arrayOf(u.default.oneOfType([x,u.default.string]))]),fadeIn:u.default.oneOfType([u.default.string,u.default.bool]),durationFadeIn:u.default.number,className:u.default.oneOfType([u.default.string,u.default.object]),critical:u.default.bool,crossOrigin:u.default.oneOfType([u.default.string,u.default.bool]),style:u.default.oneOfType([u.default.object,u.default.array]),backgroundColor:u.default.oneOfType([u.default.string,u.default.bool]),onLoad:u.default.func,onError:u.default.func,onStartLoad:u.default.func,Tag:u.default.oneOfType([u.default.string,u.default.func]),preserveStackingContext:u.default.bool,rootMargin:u.default.string,keepStatic:u.default.bool};var w=A;t.Z=w},5010:function(e,t,r){"use strict";t.__esModule=!0,t.getStyleRulesForClassName=t.getStyleRules=t.getBackgroundStylesForSingleClass=t.default=void 0;var n=r(5570),a=function(e){for(var t=(0,n.isBrowser)()?window.document.styleSheets:[],r=0;r<t.length;r++){var a=void 0;try{a=void 0!==t[r].rules?t[r].rules:void 0!==t[r].cssRules?t[r].cssRules:""}catch(o){}if(a){var i=Array.prototype.slice.call(a).reduce((function(t,r){return r.selectorText===e&&t.push(r),t}),[]);if(i.length)return i}}return[]};t.getStyleRulesForClassName=a;var i=function(e){var t={};if(e.length>0&&void 0!==e[0].style)switch(e[0].style.constructor.name||e[0].style.constructor.toString()){case"CSS2Properties":case"[object MSStyleCSSProperties]":Object.values(e[0].style).forEach((function(r){t[(0,n.toCamelCase)(r)]=e[0].style[r]}));break;case"CSSStyleDeclaration":t=e[0].style;break;default:console.error("Unknown style object prototype")}return t};t.getStyleRules=i;var o=function(e){if(e&&(0,n.isString)(e)){var t=a("."+e);if((null==t?void 0:t.length)>0&&void 0!==t[0].style)return Object.keys(i(t)).filter((function(e){return 0===e.indexOf("background")&&""!==t[0].style[e]})).reduce((function(e,r){return e[(0,n.toCamelCase)(r)]=t[0].style[r],e}),{})}return{}};t.getBackgroundStylesForSingleClass=o;var s=function(e){if((0,n.isBrowser)()){var t=(0,n.stringToArray)(e);if(t instanceof Array){var r=[];return t.forEach((function(e){return r.push(o(e))})),Object.assign.apply(Object,r)}return o(e)}return{}};t.default=s},8839:function(e,t){"use strict";t.__esModule=!0,t.resetComponentClassCache=t.inComponentClassCache=t.activateCacheForComponentClass=void 0;var r=Object.create({});t.inComponentClassCache=function(e){return r[e]||!1};t.activateCacheForComponentClass=function(e){e&&(r[e]=!0)};t.resetComponentClassCache=function(){for(var e in r)delete r[e]}},1645:function(e,t,r){"use strict";var n=r(4836);t.__esModule=!0,t.stripRemainingProps=t.convertProps=void 0;var a=n(r(434)),i=n(r(5404)),o=r(8250);t.stripRemainingProps=function(e){return(0,i.default)(e)};t.convertProps=function(e){var t=(0,a.default)({},e),r=t.fixed;return t.fluid&&(0,o.hasArtDirectionSupport)(e,"fluid")&&(t.fluid=(0,o.groupByMedia)(t.fluid)),r&&(0,o.hasArtDirectionSupport)(e,"fixed")&&(t.fixed=(0,o.groupByMedia)(t.fixed)),t}},3229:function(e,t,r){"use strict";t.__esModule=!0,t.resetImageCache=t.inImageCache=t.allInImageCache=t.activateCacheForMultipleImages=t.activateCacheForImage=void 0;var n=r(1645),a=r(8250),i=r(2202),o=r(5570),s=Object.create({}),c=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=!1);var c=(0,n.convertProps)(e),l=(0,i.hasImageArray)(c)&&!(0,a.hasArtDirectionArray)(c);if(l&&!r)return u(e);var d=l?(0,i.getSelectedImage)(c,t):(0,i.getImageSrcKey)(c);if((0,o.isObject)(d)){var f=(0,i.getImageSrcKey)({fluid:d,fixed:d});return s[f]||!1}return s[d]||!1};t.inImageCache=c;var u=function(e){var t=(0,n.convertProps)(e);return(t.fluid||t.fixed).every((function(e,r){return c(t,r,!0)}))};t.allInImageCache=u;var l=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=!1);var c=(0,n.convertProps)(e),u=(0,i.hasImageArray)(c)&&!(0,a.hasArtDirectionArray)(c);if(u&&!r)return d(e);var l=u?(0,i.getSelectedImage)(c,t):(0,i.getImageSrcKey)(c);if(l)if((0,o.isObject)(l)){var f=(0,i.getImageSrcKey)({fluid:l,fixed:l});s[f]=!0}else s[l]=!0};t.activateCacheForImage=l;var d=function(e){var t=(0,n.convertProps)(e);(t.fluid||t.fixed).forEach((function(e,r){return l(t,r,!0)}))};t.activateCacheForMultipleImages=d;t.resetImageCache=function(){for(var e in s)delete s[e]}},6636:function(e,t,r){"use strict";t.__esModule=!0,t.switchImageSettings=void 0;var n=r(2202),a=r(8250),i=r(5570);t.switchImageSettings=function(e){var t,r,o=e.image,s=e.bgImage,c=e.imageRef,u=e.state,l=(0,n.getCurrentFromData)({data:c,propName:"currentSrc"}),d=Array.isArray(o)&&!(0,a.hasArtDirectionArray)({fluid:o}),f=Array.isArray(s)?(0,i.filteredJoin)(s):s,p=d&&u.seenBefore&&!!l;if(d){l||(t=(0,n.getCurrentFromData)({data:o,propName:"tracedSVG",returnArray:d}),t=(0,i.combineArray)((0,n.getCurrentFromData)({data:o,propName:"base64",returnArray:d}),t)),t=(0,i.combineArray)((0,n.getCurrentFromData)({data:o,propName:"CSS_STRING",addUrl:!1,returnArray:d}),t),(u.imgLoaded||l)&&u.isVisible&&(l?(t=(0,i.combineArray)((0,n.getCurrentFromData)({data:c,propName:"currentSrc",returnArray:d}),t),p=!0):(t=(0,i.combineArray)((0,n.getCurrentFromData)({data:c,propName:"src",returnArray:d}),t),p=!0)),t=(0,i.combineArray)(t,s);var g=(0,n.createDummyImageArray)(o.length);r=t=(0,i.combineArray)(t,g),t=(0,i.filteredJoin)(t)}else t="",t=(0,n.getCurrentFromData)({data:o,propName:"tracedSVG"})||(0,n.getCurrentFromData)({data:o,propName:"base64"}),u.imgLoaded&&u.isVisible&&(t=l,p=!0);var m=u.imageState%2;!d&&""===t&&u.imgLoaded&&u.isVisible&&c&&!c.currentSrc&&(t=(0,n.getCurrentFromData)({data:c,propName:"src",checkLoaded:!1}),p=!0),t||(t=f);var h={lastImage:f,nextImage:t,afterOpacity:m,finalImage:p};return r&&(h.nextImageArray=r),h}},1921:function(e,t,r){"use strict";t.__esModule=!0,t.imageReferenceCompleted=t.hasPictureRef=t.hasActivatedPictureRefs=t.createPictureRef=t.createMultiplePictureRefs=t.activatePictureRef=t.activateMultiplePictureRefs=void 0;var n=r(1645),a=r(2202),i=r(8250),o=r(5570),s=r(3229),c=function(e,t,r,s){void 0===s&&(s=!1);var c=(0,n.convertProps)(e);if((0,o.isBrowser)()&&(void 0!==c.fluid||void 0!==c.fixed)){if((0,a.hasImageArray)(c)&&!(0,i.hasArtDirectionArray)(c)&&!s)return u(e,t);var d=new Image;return d.onload=function(){return t()},d.complete||"function"!=typeof c.onLoad||d.addEventListener("load",c.onLoad),"function"==typeof c.onError&&d.addEventListener("error",c.onError),c.crossOrigin&&(d.crossOrigin=c.crossOrigin),!c.critical&&!c.isVisible||s?d:l(d,c,r,s)}return null};t.createPictureRef=c;var u=function(e,t){var r=(0,n.convertProps)(e),a=(r.fluid||r.fixed).map((function(e,n){return c(r,t,n,!0)}));return r.critical||r.isVisible?l(a,r):a};t.createMultiplePictureRefs=u;var l=function(e,t,r,s,c){void 0===r&&(r=null),void 0===s&&(s=0),void 0===c&&(c=!1);var u=(0,n.convertProps)(t);if((0,o.isBrowser)()&&(void 0!==u.fluid||void 0!==u.fixed)){var l=(0,a.hasImageArray)(u)&&!(0,i.hasArtDirectionArray)(u);if(l&&!c)return d(e,t,r);var f=document.createElement("body"),p=l?(0,a.getSelectedImage)(u,s):(0,a.getCurrentSrcData)(u);if(!p)return null;if((0,o.isString)(p))return p;if(r&&(e.width=r.offsetWidth,e.height=r.offsetHeight),(0,a.hasPictureElement)()){var g=document.createElement("picture");if(r&&(g.width=e.width,g.height=e.height),(0,i.hasArtDirectionArray)(u))(0,i.createArtDirectionSources)(u).reverse().forEach((function(e){return g.appendChild(e)}));var m=(0,i.createSourceElementForSrcSet)(p,"avif");m&&g.appendChild(m);var h=(0,i.createSourceElementForSrcSet)(p,"webp");h&&g.appendChild(h),g.appendChild(e),f.appendChild(g)}return e.sizes=p.sizes||"",e.srcset=p.srcSet||"",e.src=p.src||"",e}return null};t.activatePictureRef=l;var d=function(e,t,r){return e.map((function(e,n){return l(e,t,r,n,!0)}))};t.activateMultiplePictureRefs=d;t.hasActivatedPictureRefs=function(e){return Array.isArray(e)?e.every((function(e){return f(e)})):f(e)};var f=function(e){return(0,o.isString)(e)||!!e&&!!e.currentSrc};t.hasPictureRef=f;t.imageReferenceCompleted=function(e,t){return e?Array.isArray(e)?e.every((function(e){return(0,a.imageLoaded)(e)}))||(0,s.inImageCache)(t):(0,a.imageLoaded)(e)||(0,s.inImageCache)(t):(0,o.isString)(e)}},2202:function(e,t,r){"use strict";t.__esModule=!0,t.isBase64=t.imagePropsChanged=t.imageLoaded=t.imageArrayPropsChanged=t.hasPictureElement=t.hasImageUrl=t.hasImageArray=t.getUrlString=t.getSelectedImage=t.getImageSrcKey=t.getCurrentSrcData=t.getCurrentFromData=t.createDummyImageArray=void 0;var n=r(8250),a=r(5570);t.hasPictureElement=function(){return"undefined"!=typeof HTMLPictureElement||(0,a.isBrowser)()};var i=function(e){return Boolean(e.fluid&&Array.isArray(e.fluid)||e.fixed&&Array.isArray(e.fixed))};t.hasImageArray=i;t.getCurrentFromData=function(e){var t=e.data,r=e.propName,i=e.addUrl,c=void 0===i||i,u=e.returnArray,l=void 0!==u&&u,f=e.checkLoaded,p=void 0===f||f;if(!t||!r)return"";var g="tracedSVG"===r;if(Array.isArray(t)&&!(0,n.hasArtDirectionArray)({fluid:t})){var m=t.map((function(e){return"currentSrc"===r||"src"===r?p?d(e)&&e[r]||"":e[r]:"CSS_STRING"===r&&(0,a.isString)(e)||(0,a.isString)(e)?e:e&&r in e?e[r]:""}));return s({imageString:m,tracedSVG:g,addUrl:c,returnArray:l})}if((0,n.hasArtDirectionArray)({fluid:t})&&("currentSrc"===r||"src"===r||"base64"===r||g)){var h=o({fluid:t});return r in h?s({imageString:h[r],tracedSVG:g,addUrl:c}):""}return"object"!=typeof t?"":"currentSrc"!==r&&"src"!==r||!(r in t)?r in t?s({imageString:t[r],tracedSVG:g,addUrl:c}):"":s({imageString:p?d(t)&&t[r]||"":t[r],addUrl:c})};t.getImageSrcKey=function(e){var t=e.fluid,r=e.fixed,n=o({fluid:t,fixed:r});return n&&n.src||null};var o=function(e,t){var r=e.fluid,o=e.fixed,s=e.returnArray;void 0===t&&(t=0);var c=r||o;if(i({fluid:r,fixed:o})){if(s)return c;if((0,a.isBrowser)()&&(0,n.hasArtDirectionArray)({fluid:r,fixed:o})){var u=c.slice().reverse(),l=u.findIndex(n.matchesMedia);if(-1!==l)return u[l]}return c[t]}return c};t.getCurrentSrcData=o;t.getSelectedImage=function(e,t){var r=e.fluid,n=e.fixed;void 0===t&&(t=0);var a=r||n;return i({fluid:r,fixed:n})?a[t]||a[0]:a};var s=function(e){var t=e.imageString,r=e.tracedSVG,n=void 0!==r&&r,i=e.addUrl,o=void 0===i||i,s=e.returnArray,l=void 0!==s&&s,d=e.hasImageUrls,f=void 0!==d&&d;if(Array.isArray(t)){var p=t.map((function(e){if(e){var t=c(e),r=f||u(e),a=e&&n?'"'+e+'"':e&&!t&&!n&&r?"'"+e+"'":e;return o&&e?"url("+a+")":a}return e}));return l?p:(0,a.filteredJoin)(p)}var g=c(t),m=f||u(t),h=t&&n?'"'+t+'"':t&&!g&&!n&&m?"'"+t+"'":t;return t?o?"url("+h+")":h:""};t.getUrlString=s;var c=function(e){return(0,a.isString)(e)&&-1!==e.indexOf("base64")};t.isBase64=c;var u=function(e){return(0,a.isString)(e)&&"http"===e.substr(0,4)};t.hasImageUrl=u;t.imagePropsChanged=function(e,t){return e.fluid&&!t.fluid||e.fixed&&!t.fixed||l(e,t)||e.fluid&&t.fluid&&e.fluid.src!==t.fluid.src||e.fixed&&t.fixed&&e.fixed.src!==t.fixed.src};var l=function(e,t){var r=Array.isArray(e.fluid),n=Array.isArray(t.fluid),a=Array.isArray(e.fixed),i=Array.isArray(t.fixed);return!!(r&&!n||a&&!i||!r&&n||!a&&i)||(r&&n?e.fluid.length!==t.fluid.length||e.fluid.some((function(e,r){return e.src!==t.fluid[r].src})):a&&i?e.fixed.length!==t.fixed.length||e.fixed.some((function(e,r){return e.src!==t.fixed[r].src})):void 0)};t.imageArrayPropsChanged=l;t.createDummyImageArray=function(e){var t=s({imageString:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});return Array(e).fill(t)};var d=function(e){return!!e&&((0,a.isString)(e)||e.complete&&0!==e.naturalWidth&&0!==e.naturalHeight)};t.imageLoaded=d},5812:function(e,t,r){"use strict";t.__esModule=!0,t.listenToIntersections=t.getIO=t.callbackIO=void 0;var n,a=r(5570),i=new WeakMap,o=function(e){e.forEach((function(e){if(i.has(e.target)){var t=i.get(e.target);(e.isIntersecting||e.intersectionRatio>0)&&(n.unobserve(e.target),i.delete(e.target),t())}}))};t.callbackIO=o;var s=function(e){return void 0===n&&(0,a.isBrowser)()&&window.IntersectionObserver&&(n=new window.IntersectionObserver(o,{rootMargin:e})),n};t.getIO=s;t.listenToIntersections=function(e,t,r){void 0===r&&(r="200px");var n=s(r);return n?(n.observe(e),i.set(e,t),function(){n.unobserve(e),i.delete(e)}):function(){}}},8250:function(e,t,r){"use strict";var n=r(4836);t.__esModule=!0,t.matchesMedia=t.hasArtDirectionSupport=t.hasArtDirectionArray=t.groupByMedia=t.createSourceElementForSrcSet=t.createArtDirectionSources=void 0;var a=n(r(6151)),i=r(5570);t.groupByMedia=function(e){var t=[],r=(0,a.default)(e,"media");return r.forEach((function(e){return!e.media&&t.push(e)})),t.length,r};var o=function(e,t){var r=document.createElement("source"),n="srcSet"+(0,i.capitalize)(t);return n in e&&(r.type="image/"+t,r.srcset=e[n]),e.sizes&&(r.sizes=e.sizes),e.media&&(r.media=e.media),r.srcset?r:null};t.createSourceElementForSrcSet=o;t.createArtDirectionSources=function(e){var t=e.fluid,r=e.fixed;return(t||r).reduce((function(e,t){if(!t.media)return e;var r=o(t,"webp"),n=o(t,"avif");return r&&e.push(r),n&&e.push(n),e}),[])};var s=function(e,t){return e[t]&&Array.isArray(e[t])&&e[t].some((function(e){return!!e&&void 0!==e.media}))};t.hasArtDirectionSupport=s;t.hasArtDirectionArray=function(e){return s(e,"fluid")||s(e,"fixed")};t.matchesMedia=function(e){var t=e.media;return!!t&&((0,i.isBrowser)()&&void 0!==window.matchMedia&&!!window.matchMedia(t).matches)}},5570:function(e,t){"use strict";t.__esModule=!0,t.toKebabCase=t.toCamelCase=t.stringToArray=t.isString=t.isObject=t.isBrowser=t.hashString=t.filteredJoin=t.combineArray=t.capitalize=void 0;t.isBrowser=function(){return"undefined"!=typeof window&&void 0!==window.document};var r=function(e){return"[object String]"===Object.prototype.toString.call(e)};t.isString=r;t.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)};t.toCamelCase=function(e){return r(e)&&-1!==e.indexOf("-")&&e.toLowerCase().replace(/(?:^\w|-|[A-Z]|\b\w)/g,(function(e,t){return 0===t?e.toLowerCase():e.toUpperCase()})).replace(/\s|\W+/g,"")||e};t.toKebabCase=function(e){return r(e)&&e.replace(/\s|\W+/g,"").replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()}))};t.capitalize=function(e){return(null==e?void 0:e.charAt(0).toUpperCase())+e.slice(1)};t.stringToArray=function(e,t){return void 0===t&&(t=" "),e instanceof Array?e:!!r(e)&&(e.includes(t)?e.split(t):[e])};t.hashString=function(e){return r(e)&&[].reduce.call(e,(function(e,t){return 0|(e=(e<<5)-e+t.charCodeAt(0))}),0)};t.filteredJoin=function(e){return e.filter((function(e){return""!==e})).join()};t.combineArray=function(e,t){return Array.isArray(e)?e.map((function(e,r){return e||t&&t[r]})):[e]}},1496:function(e,t,r){"use strict";var n=r(4836);t.__esModule=!0,t.createStyleImage=t.createPseudoStyles=t.createPseudoElementWithContent=t.createPseudoElementMediaQuery=t.createPseudoElement=t.createNoScriptStyles=void 0;var a=n(r(434)),i=r(7125),o=r(2202),s=r(8250),c=r(5570),u=function(e,t){void 0===t&&(t=":before");var r=(0,i.escapeClassNames)(e),n=(0,c.stringToArray)(r),a="";return Array.isArray(n)&&(n=n.filter((function(e){return""!==e}))).length>0&&(a="."+n.join(".")+t),a};t.createPseudoElement=u;var l=function(e,t){return"\n "+e+" {\n opacity: 1;\n background-image: "+t+";\n }"};t.createPseudoElementWithContent=l;var d=function(e,t,r,n){return"\n @media "+t+" {\n "+l(e,r)+"\n }\n "+(n&&"@media "+t+" {\n "+l(e,n)+"\n }")+"\n "};t.createPseudoElementMediaQuery=d;t.createPseudoStyles=function(e){var t=e.className,r=e.transitionDelay,n=e.lastImage,o=e.nextImage,s=e.afterOpacity,c=e.bgColor,l=e.fadeIn,d=e.backgroundStyles,p=e.style,g=e.finalImage,m=e.originalData,h=u(t),v=u(t,":after"),y=(0,a.default)({},d,p);return"\n "+h+",\n "+v+" {\n content: '';\n display: block;\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n "+(c&&"background-color: "+c+";")+"\n "+(0,i.setTransitionStyles)(r,l)+"\n "+(0,i.kebabifyBackgroundStyles)(y)+"\n }\n "+h+" {\n z-index: -100;\n "+((!s||g)&&f(o,m)||"")+"\n "+(s&&n&&f(n,m)||"")+"\n opacity: "+Number(!s)+"; \n }\n "+v+" {\n z-index: -101;\n "+((s||g)&&f(o,m)||"")+"\n "+(!s&&n&&f(n,m)||"")+"\n "+(g?"opacity: "+Number(s)+";":"")+"\n }\n "};var f=function(e,t){var r=(0,o.hasImageArray)({fluid:t})&&!(0,s.hasArtDirectionArray)({fluid:t});return((0,c.isBrowser)()||r)&&e?"background-image: "+e+";":""};t.createStyleImage=f;t.createNoScriptStyles=function(e){var t=e.className,r=e.image;if(r){var n=Array.isArray(r)&&!(0,s.hasArtDirectionArray)({fluid:r}),a=(0,o.getCurrentFromData)({data:r,propName:"src",checkLoaded:!1,addUrl:!1,returnArray:n}),i=(0,o.getUrlString)({imageString:a,hasImageUrls:!0,returnArray:n}),f="";if(n){var p=(0,o.getCurrentFromData)({data:r,propName:"CSS_STRING",addUrl:!1,returnArray:n});f=(0,c.filteredJoin)((0,c.combineArray)(i,p))}var g=u(t);return(0,s.hasArtDirectionArray)({fluid:r})?r.map((function(e){var t=(0,o.getUrlString)({imageString:e.src}),r=(0,o.getUrlString)({imageString:e.srcWebp||""});return e.media?d(g,e.media,t,r):d(g,"screen",t,r)})).join(""):l(g,f||i)}return""}},7125:function(e,t,r){"use strict";var n=r(4836);t.__esModule=!0,t.setTransitionStyles=t.presetBackgroundStyles=t.kebabifyBackgroundStyles=t.fixOpacity=t.fixClassName=t.escapeClassNames=void 0;var a=n(r(434)),i=n(r(3212)),o=n(r(8693)),s=r(1645),c=r(8839),u=r(2202),l=r(5570),d=["className"];t.fixClassName=function(e){var t=e.className,r=(0,i.default)(e,d),n=(0,s.convertProps)(r),a=(0,c.inComponentClassCache)(t),f=(0,u.getCurrentSrcData)(n),p=o.default.generate(),g=" gbi-"+(0,l.hashString)(f&&f.srcSet||t||"noclass")+"-"+p,m=(""+(t||"")+((a||!t?g:"")||"")).trim();return a||(0,c.activateCacheForComponentClass)(t),[m]};t.escapeClassNames=function(e){if(e){var t=(0,l.isBrowser)()&&window._gbiSpecialChars?window._gbiSpecialChars:"undefined"!=typeof __GBI_SPECIAL_CHARS__?__GBI_SPECIAL_CHARS__:":/",r=new RegExp("["+t+"]","g");return e.replace(r,"\\$&")}return e};t.kebabifyBackgroundStyles=function(e){return(0,l.isString)(e)?e:e instanceof Object?Object.keys(e).filter((function(t){return 0===t.indexOf("background")&&""!==e[t]})).reduce((function(t,r){return""+t+(0,l.toKebabCase)(r)+": "+e[r]+";\n"}),""):""};t.setTransitionStyles=function(e,t){return void 0===e&&(e="0.25s"),void 0===t&&(t=!0),t?"transition: opacity 0.5s ease "+e+";":"transition: none;"};t.fixOpacity=function(e){var t=(0,a.default)({},e);if(!t.preserveStackingContext)try{t.style&&t.style.opacity&&(isNaN(t.style.opacity)||t.style.opacity>.99)&&(t.style.opacity=.99)}catch(r){}return t};t.presetBackgroundStyles=function(e){return(0,a.default)({},{backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover"},e)}},3897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},3405:function(e,t,r){var n=r(3897);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},8416:function(e){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},434:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},9498:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},2281:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},3212:function(e){e.exports=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a},e.exports.__esModule=!0,e.exports.default=e.exports},861:function(e,t,r){var n=r(3405),a=r(9498),i=r(6116),o=r(2281);e.exports=function(e){return n(e)||a(e)||i(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},6116:function(e,t,r){var n=r(3897);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.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)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}}]);
//# sourceMappingURL=93241701166c3169d92c9fdd395837837cace836-e6c0e812c29c02c9d079.js.map