PageSourceSearch

https://www.chestertons.co.uk/_next/static/chunks/0gkmul~4dv46r.js

js chestertons.co.uk collected 2026-09-28 06:44:00 UTC 40,012 bytes, 5 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="1cbfcd0f-36bf-bd4c-cc9d-d7b05bca3da8")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,232189,(e,t,r)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},865156,(e,t,r)=>{"use strict";var a=e.r(232189);function i(){}function n(){}n.resetWarningCache=i,t.exports=function(){function e(e,t,r,i,n,o){if(o!==a){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n,resetWarningCache:i}
2;return r.PropTypes=r,r}},745009,(e,t,r)=>{t.exports=e.r(865156)()},631926,(e,t,r)=>{var a=e.r(139088);t.exports=function(){return a.Date.now()}},748891,(e,t,r)=>{var a=/\s/;t.exports=function(e){for(var t=e.length;t--&&a.test(e.charAt(t)););return t}},830364,(e,t,r)=>{var a=e.r(748891),i=/^\s+/;t.exports=function(e){return e?e.slice(0,a(e)+1).replace(i,""):e}},773759,(e,t,r)=>{var a=e.r(830364),i=e.r(12447),n=e.r(361884),o=0/0,l=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(e){if("number"==typeof e)return e;if(n(e))return o;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=a(e);var r=s.test(e);return r||u.test(e)?c(e.slice(2),r?2:8):l.test(e)?o:+e}},374009,(e,t,r)=>{var a=e.r(12447),i=e.r(631926),n=e.r(773759),o=Math.max,l=Math.min;t.exports=function(e,t,r){var s,u,c,d,p,f,y=0,h=!1,m=!1,b=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){var r=s,a=u;return s=u=void 0,y=t,d=e.apply(a,r)}function v(e){var r=e-f,a=e-y;return void 0===f||r>=t||r<0||m&&a>=c}function P(){var e,r,a,n=i();if(v(n))return w(n);p=setTimeout(P,(e=n-f,r=n-y,a=t-e,m?l(a,c-r):a))}function w(e){return(p=void 0,b&&s)?g(e):(s=u=void 0,d)}function x(){var e,r=i(),a=v(r);if(s=arguments,u=this,f=r,a){if(void 0===p)return y=e=f,p=setTimeout(P,t),h?g(e):d;if(m)return clearTimeout(p),p=setTimeout(P,t),g(f)}return void 0===p&&(p=setTimeout(P,t)),d}return t=n(t)||0,a(r)&&(h=!!r.leading,c=(m="maxWait"in r)?o(n(r.maxWait)||0,t):c,b="trailing"in r?!!r.trailing:b),x.cancel=function(){void 0!==p&&clearTimeout(p),y=0,s=f=u=p=void 0},x.flush=function(){return void 0===p?d:w(i())},x}
2},915874,e=>{"use strict";e.s(["default",0,function(e,t){if(null==e)return{};var r={};for(var a in e)if(({}).hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;r[a]=e[a]}return r}])},931067,885963,e=>{"use strict";function t(){return(t=Object.assign.bind()).apply(null,arguments)}function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}e.s(["default",()=>t],931067),e.s(["default",()=>r],885963)},954402,e=>{"use strict";var t=e.i(885963);e.s(["default",0,function(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,(0,t.default)(e,r)}])},950409,e=>{"use strict";var t,r;(r=t||(t={})).Array="array",r.Branch="branch",r.ButtonVariantPicker="buttonVariantPicker",r.Boolean="boolean",r.CodeCSS="codeCss",r.CodeJS="codeJs",r.CodeHtml="codeHtml",r.ColorPicker="colorPicker",r.CustomFormElementVisibility="customFormElementVisibility",r.Flex="flex",r.Image="image",r.LinkAnalyticsAttributes="linkAnalyticsAttributes",r.Location="location",r.Media="media",r.MobileImage="mobileImage",r.MultiOption="multiOption",r.MultiSelect="multiSelect",r.MultiTextInput="multiTextInput",r.Number="number",r.NumberSlider="numberSlider",r.Object="object",r.Price="price",r.RichText="richText",r.Select="select",r.SimpleRichText="simpleRichText",r.Slider="slider",r.Text="text",r.Textarea="textarea",r.TextInput="textInput",r.Video="video",e.s(["ConfigSettingType",0,t])},33394,e=>{"use strict";var t=e.i(523626);e.s(["cmsImage",()=>t.default])},3303,(e,t,r)=>{t.exports=e.r(479520)},718310,e=>{"use strict";var t=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function r(e,r){if(e.length!==r.length)return!1;for(var a,i,n=0;n<e.length;n++)if(!((a=e[n])===(i=r[n])||t(a)&&t(i))&&1)return!1;return!0}e.s(["default",0,function(e,t){void 0===t&&(t=r);var a,i,n=[],o=!1;return function(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return o&&a===this&&t(r,n)||(i=e.apply(this,r),o=!0,a=this,n=r),i}}])},971439,e=>{"use strict";var t=e.i(271645),r=e.i(442862);e.s(["default",0,function(){let{agency:e}=(0,t.useContext)(r.default);return e}])},366358,e=>{"use strict";e.s(["default",0,function(e){return e.replace(/ /g,"-").replace(/[^\w-\/]+/g,"").toLowerCase().trim()}])},347433,e=>{"use strict";let t={mobileFlex:{type:"flex",direction:"col",justifyContent:"center",alignItems:"center",wrap:"nowrap",gap:"0"},desktopFlex:{type:"flex",direction:"col",justifyContent:"center",alignItems:"center",wrap:"nowrap",gap:"0"},mobileGrid:{type:"grid",direction:"row",justifyContent:"start",alignItems:"start",gridTracks:2,gap:"4"},desktopGrid:{direction:"row",justifyContent:"start",alignItems:"start",gridTracks:2,gap:"4"}};function r({config:e,size:a=""}){return"grid"===e.type?function({config:e,size:r}){let a=Object.assign(Object.assign({},t[""===r?"mobileGrid":"desktopGrid"]),e),i=(null==a?void 0:a.direction)==="col"?"col":"row",n=[`${r}grid`];return n.push(`${r}grid-flow-${i}`),n.push(`${r}justify-items-${a.justifyContent}`),n.push(`${r}items-${a.alignItems}`),n.push(`${r}grid-${"col"===i?"rows":"cols"}-${a.gridTracks}`),n.push(`${r}grid-${"col"===i?"cols":"rows"}-none`),n.push(`${r}gap-${a.gap}`),n}({config:e,size:a}):function({config:e,size:r}){let a=Object.assign(Object.assign({},t[""===r?"mobileFlex":"desktopFlex"]),e),i=[`${r}flex`];return i.push(`${r}flex-${a.direction}`),i.push(`${r}justify-${a.justifyContent}`),i.push(`${r}items-${a.alignItems}`),i.push(`${r}flex-${a.wrap}`),i.push(`${r}gap-${a.gap}`),i}({config:e,size:a})}let a=[{side:"top",prefix:"pt"},{side:"right",prefix:"pr"},{side:"bottom",prefix:"pb"},{side:"left",prefix:"pl"}];function i({padding:e,size:t=""}){return e?a.reduce((r,{side:a,prefix:i})=>{let n=e[a];return n&&r.push(`${t}${i}-${n}`),r},[]):[]}e.s(["GLOBAL_DEFAULT_CONFIG",0,t,"default",0,function({flexConfig:e,defaultFlexConfig:t}){let a=[],n={mobile:Object.assign(Object.assign({},null==t?void 0:t.mobile),null==e?void 0:e.mobile),desktop:Object.assign(Object.assign({},null==t?void 0:t.desktop),null==e?void 0:e.desktop)};return a.push(...r({config:n.mobile})),a.push(...r({config:n.desktop,size:"@md:"})),a.push(...i({padding:n.mobile.padding})),a.push(...i({padding:n.desktop.padding,size:"@md:"})),n.mobile.maxWidth&&a.push(`mobile-max-w-${n.mobile.maxWidth}`),n.desktop.maxWidth&&a.push(`desktop-max-w-${n.desktop.maxWidth}`),a.join(" ")}])},246955,e=>{"use strict";var t=e.i(843476),r=e.i(919056),a=e.i(271645),i=e.i(449246),n=e.i(339612),o=e.i(585040),l=e.i(674747);let s=(0,i.default)(()=>e.A(8258),{ssr:!1,loading:()=>(0,t.jsx)("div",{className:"bg-gray-300 w-full h-full",children:(0,t.jsx)(n.default,{})})});e.s(["default",0,function({className:e,editMode:i=!1,marker:n,section:u,polygon:c,areas:d,center:p,globalConfig:f}){let y=(0,o.default)(),{ref:h,loaded:m}=(0,l.useLoadInView)(),b=(0,a.useMemo)(()=>(null==u?void 0:u.configuration.mapType)==="google"&&(null==y?void 0:y.googleMapsApiKey)?"google":"leaflet",[null==y?void 0:y.googleMapsApiKey,null==u?void 0:u.configuration.mapType]),g=n?[Object.assign(Object.assign({},n),{id:1})]:[];return(0,t.jsx)("div",{className:(0,r.twMerge)("h-[500px]",e),ref:h,children:m&&(0,t.jsx)(s,{markers:g,mapType:b,editMode:i,center:p,globalConfig:f,encodedPolygon:c,areas:d})})}])},12722,e=>{"use strict";var t=e.i(843476),r=e.i(741385);e.i(178795);var a=e.i(24935),i=e.i(360932),n=e.i(394015);e.s(["default",0,function({variant:e=n.ButtonVariant.A,size:o=n.ButtonSize.Small,status:l,children:s,...u}){return(0,t.jsxs)(r.default,{variant:e,size:o,...u,disabled:l===a.Status.Loading,children:[l===a.Status.Idle&&(0,t.jsx)("span",{children:s}),l===a.Status.Loading&&(0,t.jsx)(i.default,{className:"h-6 w-6"})]})}])},65506,e=>{"use strict";var t=e.i(843476),r=e.i(522016),a=e.i(919056),i=e.i(741385);e.s(["default",0,function({variant:e,size:n,className:o,children:l,title:s,...u}){return(0,t.jsx)(r.default,{prefetch:!1,className:(0,a.twMerge)((0,i.buttonClasse
2s)(e,n),o),title:s,...u,children:l})}])},265901,e=>{"use strict";var t=e.i(468936);e.s(["Input",()=>t.default])},574837,e=>{"use strict";var t=e.i(241871);e.s(["Textarea",()=>t.default])},457517,e=>{"use strict";var t=e.i(843476),r=e.i(919056),a=e.i(884454);let i=(0,e.i(271645).forwardRef)(({children:e,className:i,closeClassName:n,dialogClassName:o,closeButtonClassName:l,onClose:s},u)=>(0,t.jsx)("dialog",{ref:u,className:o,children:(0,t.jsxs)("div",{className:(0,r.twMerge)("bg-grey-zinc-100 w-full outline-hidden backdrop:bg-gray-500/50 relative text-primary-text",i),children:[(0,t.jsx)("button",{type:"button",onClick:s,"aria-label":"Close modal",className:(0,r.twMerge)("absolute top-5 right-5 bg-neutral-100 h-9 w-9 grid place-items-center outline-hidden z-10 rounded-lg",n),children:(0,t.jsx)(a.LuX,{className:(0,r.twMerge)("h-6 w-6 text-primary",l)})}),(0,t.jsx)("div",{children:e})]})}));i.displayName="GenericModal",e.s(["default",0,i])},325880,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(394015),i=e.i(457517),n=e.i(65506),o=e.i(919056);e.i(178795);var l=e.i(265901),s=e.i(24935),u=e.i(574837),c=e.i(653145),d=e.i(95187);let p=(0,d.createServerReference)("40dc05d636d01b57655e72e0dc5d57f89ff1ace018",d.callServer,void 0,d.findSourceMapURL,"submitAgencyEmployeeEnquiryLead");var f=e.i(228474),y=e.i(846696),h=e.i(152860),m=e.i(979684),b=e.i(12722),g=e.i(442678);function v({staffMember:e,branchId:a,formDataName:i}){let[n,o]=(0,r.useState)(s.Status.Idle),{register:d,handleSubmit:P,watch:w,formState:{errors:x}}=(0,c.useForm)(),O=async(t,r)=>{o(s.Status.Loading);let i=async t=>{if(!e.id||!a)return;let r={...t,agencyEmployeeId:e.id,branchId:a},i=await p(r);if(i.errors){o(s.Status.Error),y.toast.error(`Sorry, something went wrong: ${i.errors?.[0].message}`),console.error(i.errors);return}o(s.Status.Success),y.toast.success("Thank you. We have sent your message.")};(0,h.default)(i,{params:t,event:r,action:"agencyEmployeeEnquiry"})};if(n===s.Status.Success)return(0,t.jsx)("div",{children:"Message sent successfully"});if(n===s.Status.Error)return(0,t.jsx)("div",{children:"An error occurred please try again later"});let j=n===s.Status.Loading;return(0,t.jsxs)("div",{className:"max-w-3xl p-7",children:[(0,t.jsxs)(g.default,{level:2,className:"mb-6",children:["Contact ",e.name]}),(0,t.jsxs)("form",{onSubmit:P(O),"data-form-name":i||"staff-enquiry","data-branch-id":a,children:[(0,t.jsx)("div",{className:"",children:(0,t.jsx)(l.Input,{type:"text",...d("firstName",{required:"Please enter your first name"}),id:"property-enquiry-firstname",placeholder:"First Name",className:"mb-4",error:x.firstName,disabled:j})}),(0,t.jsx)("div",{children:(0,t.jsx)(l.Input,{type:"text",...d("lastName",{required:"Please enter your last name"}),placeholder:"Last Name",id:"property-enquiry-lastname",className:"mb-4",disabled:j,error:x.lastName})}),(0,t.jsx)("div",{children:(0,t.jsx)(l.Input,{type:"email",...d("email",{required:"Please enter your email address",pattern:{value:f.emailPattern,message:"Please enter a valid email address"}}),placeholder:"Email Address",id:"property-enquiry-email",className:"mb-4",disabled:j,error:x.email})}),(0,t.jsx)("div",{children:(0,t.jsx)(l.Input,{type:"text",...d("telHome",{required:"Please enter your telephone number",pattern:{value:f.phoneNumberPattern,message:"Please enter a valid telephone number"}}),placeholder:"Telephone Number",id:"property-enquiry-phone",className:"mb-4",disabled:j,error:x.telHome})}),(0,t.jsx)("div",{children:(0,t.jsx)(u.Textarea,{...d("message"),placeholder:"Your message",id:"property-enquiry-message",rows:1,className:"mb-4",disabled:j,error:x.message})}),(0,t.jsx)(m.default,{registerValidation:d,errors:x,className:"text-sm mb-4"}),(0,t.jsx)(b.default,{status:n,className:"w-full",children:"Send Enquiry"})]})]})}var P=e.i(44729);e.s(["default",0,function({staffMember:e,branchId:l,className:s}){let u=(0,r.useRef)(null),c=(0,P.default)(),d=!c?.generalSettings.disableStaffPages,p=c?.externalScripts?.analytics.gtmCustomEventNames?.staffEnquiry||"";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{href:d?`/staff/${e.urlLabel}`:"#staff-modal",variant:a.ButtonVariant.E,size:a.ButtonSize.Small,className:(0,o.twMerge)("whitespace-nowrap leading-none",s),...!d&&{onClick:e=>{e.preventDefault(),u.current?.showModal()}},children:"Contact Me"}),(0,t.jsx)(i.default,{ref:u,onClose:()=>{u.current?.close()},children:(0,t.jsx)(v,{formDataName:p,staffMember:e,branchId:l})})]})}],325880)},181549,e=>{"use strict";e.s(["default",0,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mN89OLDfwAJKQO7AawoGwAAAABJRU5ErkJggg=="])},110610,e=>{"use strict";var t=e.i(843476),r=e.i(522016),a=e.i(278341),i=e.i(181549),n=e.i(957102),o=e.i(442678),l=e.i(752776),s=e.i(919056);e.s(["default",0,function({urlLabel:e,displayAddress:u,name:c,mainPhoto:d,salesTelephone:p,lettingsTelephone:f,mapPopup:y,globalConfig:h}){return(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[(0,t.jsx)(r.default,{prefetch:!1,className:"pegasus-branch-card pegasus-branch-card--plain relative flex flex-col w-full group bg-white max-h[418px] h-full mb-5",href:`/${h.urls?.branch||"branches"}/${e}`,title:c||"Branch",children:(0,t.jsx)("div",{className:"h-64 @lg:h-48 w-full relative",children:d?(0,t.jsx)(a.default,{className:"object-cover w-full cursor-pointer h-full transition-all duration-300 ease-in-out hover:scale-105",src:d,alt:c||"Branch",width:265,height:190,placeholder:"blur",blurDataURL:i.default,priority:!0}):(0,t.jsx)(n.default,{className:"transition-all duration-300 ease-in-out hover:scale-105"})})}),(0,t.jsxs)("div",{className:(0,s.twMerge)("text-lg @lg:text-sm font-light flex flex-col h-full",y&&"px-5"),children:[(0,t.jsx)(r.default,{prefetch:!1,href:`/${h.urls?.branch||"branches"}/${e}`,title:c||"Branch",children:(0,t.jsx)(o.default,{level:3,className:"text-2xl @lg:text-xl",children:c})}),(0,t.jsx)(l.default,{className:"my-5 @lg:my-5"}),(0,t.jsxs)("div",{className:"flex flex-col grow justify-between",children:[(0,t.jsx)("div",{className:"mt-5",children:u}),(p||f)&&(0,t.jsxs)("div",{className:"mt-5",children:[p&&(0,t.jsxs)("div",{children:["Sales:"," ",(0,t.jsx)(r.default,{className:"text-primary",href:`tel:${p}`,children:p})]}),f&&(0,t.jsxs)("div",{children:["Lettings:"," ",(0,t.jsx)(r.default,{className:"text-primary",href:`tel:${f}`,children:f})]})]})]})]})]})})}])},164987,(e,t,r)=>{function a(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(Error("Failed to load "+this.src),e)}}t.exports=function(e,t,r){var i=document.head||document.getElementsByTagName("head")[0],n=document.createElement("script");"function"==typeof t&&(r=t,t={}),r=r||function(){},n.type=(t=t||{}).type||"text/javascript",n.charset=t.charset||"utf8",n.async=!("async"in t)||!!t.async,n.src=e,t.attrs&&function(e,t){for(var r in t)e.setAttribute(r,t[r])}(n,t.attrs),t.text&&(n.text=""+t.text),("onload"in n?a:function(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}})(n,r),n.onload||a(n,r),i.appendChild(n)}},130860,(e,t,r)=>{"use strict";var a=function(e){var t,r,a;return!!(t=e)&&"object"==typeof t&&(r=e,"[object RegExp]"!==(a=Object.prototype.toString.call(r))&&"[object Date]"!==a&&r.$$typeof!==i)},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u(Array.isArray(e)?[]:{},e,t):e}function o(e,t,r){return e.concat(t).map(function(e){return n(e,r)})}function l(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function s(e,t){try{return t in e}catch(e){return!1}}function u(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||o,r.isMergeableObject=r.isMergeableObject||a,r.cloneUnlessOtherwiseSpecified=n;var i,c,d=Array.isArray(t);return d!==Array.isArray(e)?n(t,r):d?r.arrayMerge(e,t,r):(c={},(i=r).isMergeableObject(e)&&l(e).forEach(function(t){c[t]=n(e[t],i)}),l(t).forEach(function(r){s(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))||(s(e,r)&&i.isMergeableObject(t[r])?c[r]=(function(e,t){if(!t.customMerge)return u;var r=t.customMerge(e);return"function"==typeof r?r:u})(r,i)(e[r],t[r],i):c[r]=n(t[r],i))}),c)}u.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return u(e,r,t)},{})},t.exports=u},788759,(e,t,r)=>{var a=Object.create,i=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,l=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,u=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))s.call(e,l)||l===r||i(e,l,{get:()=>t[l],enumerable:!(a=n(t,l))||a.enumerable});return e},c=(e,t,r)=>(r=null!=e?a(l(e)):{}
2,u(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)),d={},p={callPlayer:()=>I,getConfig:()=>C,getSDK:()=>_,isBlobUrl:()=>N,isMediaStream:()=>M,lazy:()=>b,omit:()=>E,parseEndTime:()=>j,parseStartTime:()=>O,queryString:()=>S,randomString:()=>A,supportsWebKitPresentationMode:()=>R};for(var f in p)i(d,f,{get:p[f],enumerable:!0});t.exports=u(i({},"__esModule",{value:!0}),d);var y=c(e.r(271645)),h=c(e.r(164987)),m=c(e.r(130860));let b=e=>y.default.lazy(async()=>{let t=await e();return"function"==typeof t.default?t:t.default}),g=/[?&#](?:start|t)=([0-9hms]+)/,v=/[?&#]end=([0-9hms]+)/,P=/(\d+)(h|m|s)/g,w=/^\d+$/;function x(e,t){if(e instanceof Array)return;let r=e.match(t);if(r){let e=r[1];if(e.match(P)){var a=e;let t=0,r=P.exec(a);for(;null!==r;){let[,e,i]=r;"h"===i&&(t+=60*parseInt(e,10)*60),"m"===i&&(t+=60*parseInt(e,10)),"s"===i&&(t+=parseInt(e,10)),r=P.exec(a)}return t}if(w.test(e))return parseInt(e)}}function O(e){return x(e,g)}function j(e){return x(e,v)}function A(){return Math.random().toString(36).substr(2,5)}function S(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join("&")}function k(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}let T={},_=function(e,t,r=null,a=()=>!0,i=h.default){let n=k(t);return n&&a(n)?Promise.resolve(n):new Promise((a,n)=>{if(T[e])return void T[e].push({resolve:a,reject:n});T[e]=[{resolve:a,reject:n}];let o=t=>{T[e].forEach(e=>e.resolve(t))};if(r){let e=window[r];window[r]=function(){e&&e(),o(k(t))}}i(e,a=>{a?(T[e].forEach(e=>e.reject(a)),T[e]=null):r||o(k(t))})})};function C(e,t){return(0,m.default)(t.config,e.config)}function E(e,...t){let r=[].concat(...t),a={};for(let t of Object.keys(e))-1===r.indexOf(t)&&(a[t]=e[t]);return a}function I(e,...t){if(!this.player||!this.player[e]){let t=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c \u2013 `;return this.player?this.player[e]||(t+="The method was not available"):t+="The player was not available",console.warn(t,"font-weight: bold",""),null}return this.player[e](...t)}function M(e){return"u">typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream}function N(e){return/^blob:/.test(e)}function R(e=document.createElement("video")){let t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t}},301730,(e,t,r)=>{var a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,l={},s={AUDIO_EXTENSIONS:()=>A,DASH_EXTENSIONS:()=>T,FLV_EXTENSIONS:()=>_,HLS_EXTENSIONS:()=>k,MATCH_URL_DAILYMOTION:()=>w,MATCH_URL_FACEBOOK:()=>h,MATCH_URL_FACEBOOK_WATCH:()=>m,MATCH_URL_KALTURA:()=>j,MATCH_URL_MIXCLOUD:()=>x,MATCH_URL_MUX:()=>y,MATCH_URL_SOUNDCLOUD:()=>p,MATCH_URL_STREAMABLE:()=>b,MATCH_URL_TWITCH_CHANNEL:()=>P,MATCH_URL_TWITCH_VIDEO:()=>v,MATCH_URL_VIDYARD:()=>O,MATCH_URL_VIMEO:()=>f,MATCH_URL_WISTIA:()=>g,MATCH_URL_YOUTUBE:()=>d,VIDEO_EXTENSIONS:()=>S,canPlay:()=>E};for(var u in s)a(l,u,{get:s[u],enumerable:!0});t.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of n(t))o.call(e,s)||s===r||a(e,s,{get:()=>t[s],enumerable:!(l=i(t,s))||l.enumerable});return e})(a({},"__esModule",{value:!0}),l);var c=e.r(788759);let d=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,p=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,f=/vimeo\.com\/(?!progressive_redirect).+/,y=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,h=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,m=/^https?:\/\/fb\.watch\/.+$/,b=/streamable\.com\/([a-z0-9]+)$/,g=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,v=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,P=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,w=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,x=/mixcloud\.com\/([^/]+\/[^/]+)/,O=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/,j=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/,A=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,S=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,k=/\.(m3u8)($|\?)/i,T=/\.(mpd)($|\?)/i,_=/\.(flv)($|\?)/i,C=e=>{if(e instanceof Array){for(let t of e)if("string"==typeof t&&C(t)||C(t.src))return!0;return!1}return!!((0,c.isMediaStream)(e)||(0,c.isBlobUrl)(e))||A.test(e)||S.test(e)||k.test(e)||T.test(e)||_.test(e)},E={youtube:e=>e instanceof Array?e.every(e=>d.test(e)):d.test(e),soundcloud:e=>p.test(e)&&!A.test(e),vimeo:e=>f.test(e)&&!S.test(e)&&!k.test(e),mux:e=>y.test(e),facebook:e=>h.test(e)||m.test(e),streamable:e=>b.test(e),wistia:e=>g.test(e),twitch:e=>v.test(e)||P.test(e),dailymotion:e=>w.test(e),mixcloud:e=>x.test(e),vidyard:e=>
2O.test(e),kaltura:e=>j.test(e),file:C}},539388,(e,t,r)=>{var a=Object.defineProperty,i=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,l={},s={default:()=>p};for(var u in s)a(l,u,{get:s[u],enumerable:!0});t.exports=((e,t,r,l)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of n(t))o.call(e,s)||s===r||a(e,s,{get:()=>t[s],enumerable:!(l=i(t,s))||l.enumerable});return e})(a({},"__esModule",{value:!0}),l);var c=e.r(788759),d=e.r(301730),p=[{key:"youtube",name:"YouTube",canPlay:d.canPlay.youtube,lazyPlayer:(0,c.lazy)(()=>e.A(596411))},{key:"soundcloud",name:"SoundCloud",canPlay:d.canPlay.soundcloud,lazyPlayer:(0,c.lazy)(()=>e.A(54555))},{key:"vimeo",name:"Vimeo",canPlay:d.canPlay.vimeo,lazyPlayer:(0,c.lazy)(()=>e.A(161166))},{key:"mux",name:"Mux",canPlay:d.canPlay.mux,lazyPlayer:(0,c.lazy)(()=>e.A(266584))},{key:"facebook",name:"Facebook",canPlay:d.canPlay.facebook,lazyPlayer:(0,c.lazy)(()=>e.A(937507))},{key:"streamable",name:"Streamable",canPlay:d.canPlay.streamable,lazyPlayer:(0,c.lazy)(()=>e.A(153148))},{key:"wistia",name:"Wistia",canPlay:d.canPlay.wistia,lazyPlayer:(0,c.lazy)(()=>e.A(11210))},{key:"twitch",name:"Twitch",canPlay:d.canPlay.twitch,lazyPlayer:(0,c.lazy)(()=>e.A(211447))},{key:"dailymotion",name:"DailyMotion",canPlay:d.canPlay.dailymotion,lazyPlayer:(0,c.lazy)(()=>e.A(296866))},{key:"mixcloud",name:"Mixcloud",canPlay:d.canPlay.mixcloud,lazyPlayer:(0,c.lazy)(()=>e.A(250484))},{key:"vidyard",name:"Vidyard",canPlay:d.canPlay.vidyard,lazyPlayer:(0,c.lazy)(()=>e.A(101079))},{key:"kaltura",name:"Kaltura",canPlay:d.canPlay.kaltura,lazyPlayer:(0,c.lazy)(()=>e.A(148776))},{key:"file",name:"FilePlayer",canPlay:d.canPlay.file,canEnablePIP:e=>d.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,c.supportsWebKitPresentationMode)())&&!d.AUDIO_EXTENSIONS.test(e),lazyPlayer:(0,c.lazy)(()=>e.A(31703))}]},432892,(e,t,r)=>{var a="u">typeof Element,i="function"==typeof Map,n="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;t.exports=function(e,t){try{return function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){var l,s,u,c;if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((l=t.length)!=r.length)return!1;for(s=l;0!=s--;)if(!e(t[s],r[s]))return!1;return!0}if(i&&t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(c=t.entries();!(s=c.next()).done;)if(!r.has(s.value[0]))return!1;for(c=t.entries();!(s=c.next()).done;)if(!e(s.value[1],r.get(s.value[0])))return!1;return!0}if(n&&t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(c=t.entries();!(s=c.next()).done;)if(!r.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if((l=t.length)!=r.length)return!1;for(s=l;0!=s--;)if(t[s]!==r[s])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf&&"function"==typeof t.valueOf&&"function"==typeof r.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString&&"function"==typeof t.toString&&"function"==typeof r.toString)return t.toString()===r.toString();if((l=(u=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(r,u[s]))return!1;if(a&&t instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!t.$$typeof)&&!e(t[u[s]],r[u[s]]))return!1;return!0}return t!=t&&r!=r}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},116871,(e,t,r)=>{let a,i,n;var o=Object.create,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of u(t))d.call(e,i)||i===r||l(e,i,{get:()=>t[i],enumerable:!(a=s(t,i))||a.enumerable});return e},f={},y={defaultProps:()=>k,propTypes:()=>A};for(var h in y)l(f,h,{get:y[h],enumerable:!0});t.exports=p(l({},"__esModule",{value:!0}),f);let{string:m,bool:b,number:g,array:v,oneOfType:P,shape:w,object:x,func:O,node:j}=(n=null!=(a=e.r(745009))?o(c(a)):{},p(!i&&a&&a.__esModule?n:l(n,"default",{value:a,enumerable:!0}),a)).default,A={url:P([m,v,x]),playing:b,loop:b,controls:b,volume:g,muted:b,playbackRate:g,width:P([m,g]),height:P([m,g]),style:x,progressInterval:g,playsinline:b,pip:b,stopOnUnmount:b,light:P([b,m,x]),playIcon:j,previewTabIndex:g,previewAriaLabel:m,fallback:j,oEmbedUrl:m,wrapper:P([m,O,w({render:O.isRequired})]),config:w({soundcloud:w({options:x}),youtube:w({playerVars:x,embedOptions:x,onUnstarted:O}),facebook:w({appId:m,version:m,playerId:m,attributes:x}),dailymotion:w({params:x}),vimeo:w({playerOptions:x,title:m}),mux:w({attributes:x,version:m}),file:w({attributes:x,tracks:v,forceVideo:b,forceAudio:b,forceHLS:b,forceSafariHLS:b,forceDisableHls:b,forceDASH:b,forceFLV:b,hlsOptions:x,hlsVersion:m,dashVersion:m,flvVersion:m}),wistia:w({options:x,playerId:m,customControls:v}),mixcloud:w({options:x}),twitch:w({options:x,playerId:m}),vidyard:w({options:x})}),onReady:O,onStart:O,onPlay:O,onPause:O,onBuffer:O,onBufferEnd:O,onEnded:O,onError:O,onDuration:O,onSeek:O,onPlaybackRateChange:O,onPlaybackQualityChange:O,onProgress:O,onClickPreview:O,onEnablePIP:O,onDisablePIP:O},S=()=>{},k={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{}
2,progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:S},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},mux:{attributes:{},version:"2"},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0",forceDisableHls:!1},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:S,onStart:S,onPlay:S,onPause:S,onBuffer:S,onBufferEnd:S,onEnded:S,onError:S,onDuration:S,onSeek:S,onPlaybackRateChange:S,onPlaybackQualityChange:S,onProgress:S,onClickPreview:S,onEnablePIP:S,onDisablePIP:S}},881652,(e,t,r)=>{var a=Object.create,i=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,l=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,u=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))s.call(e,l)||l===r||i(e,l,{get:()=>t[l],enumerable:!(a=n(t,l))||a.enumerable});return e},c=(e,t,r)=>(r=null!=e?a(l(e)):{},u(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)),d=(e,t,r)=>{let a;return(a="symbol"!=typeof t?t+"":t)in e?i(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,r},p={},f={default:()=>v};for(var y in f)i(p,y,{get:f[y],enumerable:!0});t.exports=u(i({},"__esModule",{value:!0}),p);var h=c(e.r(271645)),m=c(e.r(432892)),b=e.r(116871),g=e.r(788759);class v extends h.Component{constructor(){super(...arguments),d(this,"mounted",!1),d(this,"isReady",!1),d(this,"isPlaying",!1),d(this,"isLoading",!0),d(this,"loadOnReady",null),d(this,"startOnPlay",!0),d(this,"seekOnPlay",null),d(this,"onDurationCalled",!1),d(this,"handlePlayerMount",e=>{this.player||(this.player=e,this.player.load(this.props.url)),this.progress()}),d(this,"getInternalPlayer",e=>this.player?this.player[e]:null),d(this,"progress",()=>{if(this.props.url&&this.player&&this.isReady){let e=this.getCurrentTime()||0,t=this.getSecondsLoaded(),r=this.getDuration();if(r){let a={playedSeconds:e,played:e/r};null!==t&&(a.loadedSeconds=t,a.loaded=t/r),(a.playedSeconds!==this.prevPlayed||a.loadedSeconds!==this.prevLoaded)&&this.props.onProgress(a),this.prevPlayed=a.playedSeconds,this.prevLoaded=a.loadedSeconds}}this.progressTimeout=setTimeout(this.progress,this.props.progressFrequency||this.props.progressInterval)}),d(this,"handleReady",()=>{if(!this.mounted)return;this.isReady=!0,this.isLoading=!1;let{onReady:e,playing:t,volume:r,muted:a}=this.props;e(),a||null===r||this.player.setVolume(r),this.loadOnReady?(this.player.load(this.loadOnReady,!0),this.loadOnReady=null):t&&this.player.play(),this.handleDurationCheck()}),d(this,"handlePlay",()=>{this.isPlaying=!0,this.isLoading=!1;let{onStart:e,onPlay:t,playbackRate:r}=this.props;this.startOnPlay&&(this.player.setPlaybackRate&&1!==r&&this.player.setPlaybackRate(r),e(),this.startOnPlay=!1),t(),this.seekOnPlay&&(this.seekTo(this.seekOnPlay),this.seekOnPlay=null),this.handleDurationCheck()}),d(this,"handlePause",e=>{this.isPlaying=!1,this.isLoading||this.props.onPause(e)}),d(this,"handleEnded",()=>{let{activePlayer:e,loop:t,onEnded:r}=this.props;e.loopOnEnded&&t&&this.seekTo(0),t||(this.isPlaying=!1,r())}),d(this,"handleError",(...e)=>{this.isLoading=!1,this.props.onError(...e)}),d(this,"handleDurationCheck",()=>{clearTimeout(this.durationCheckTimeout);let e=this.getDuration();e?this.onDurationCalled||(this.props.onDuration(e),this.onDurationCalled=!0):this.durationCheckTimeout=setTimeout(this.handleDurationCheck,100)}),d(this,"handleLoaded",()=>{this.isLoading=!1})}componentDidMount(){this.mounted=!0}componentWillUnmount(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP(
2)),this.mounted=!1}componentDidUpdate(e){if(!this.player)return;let{url:t,playing:r,volume:a,muted:i,playbackRate:n,pip:o,loop:l,activePlayer:s,disableDeferredLoading:u}=this.props;if(!(0,m.default)(e.url,t)){if(this.isLoading&&!s.forceLoad&&!u&&!(0,g.isMediaStream)(t)){console.warn(`ReactPlayer: the attempt to load ${t} is being deferred until the player has loaded`),this.loadOnReady=t;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(t,this.isReady)}e.playing||!r||this.isPlaying||this.player.play(),e.playing&&!r&&this.isPlaying&&this.player.pause(),!e.pip&&o&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!o&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==a&&null!==a&&this.player.setVolume(a),e.muted!==i&&(i?this.player.mute():(this.player.unmute(),null!==a&&setTimeout(()=>this.player.setVolume(a)))),e.playbackRate!==n&&this.player.setPlaybackRate&&this.player.setPlaybackRate(n),e.loop!==l&&this.player.setLoop&&this.player.setLoop(l)}getDuration(){return this.isReady?this.player.getDuration():null}getCurrentTime(){return this.isReady?this.player.getCurrentTime():null}getSecondsLoaded(){return this.isReady?this.player.getSecondsLoaded():null}seekTo(e,t,r){if(!this.isReady){0!==e&&(this.seekOnPlay=e,setTimeout(()=>{this.seekOnPlay=null},5e3));return}if(t?"fraction"===t:e>0&&e<1){let t=this.player.getDuration();return t?void this.player.seekTo(t*e,r):void console.warn("ReactPlayer: could not seek using fraction – duration not yet available")}this.player.seekTo(e,r)}render(){let e=this.props.activePlayer;return e?h.default.createElement(e,{...this.props,onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError}):null}}d(v,"displayName","Player"),d(v,"propTypes",b.propTypes),d(v,"defaultProps",b.defaultProps)},514792,(e,t,r)=>{var a=Object.create,i=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,l=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,u=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))s.call(e,l)||l===r||i(e,l,{get:()=>t[l],enumerable:!(a=n(t,l))||a.enumerable});return e},c=(e,t,r)=>(r=null!=e?a(l(e)):{},u(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)),d=(e,t,r)=>{let a;return(a="symbol"!=typeof t?t+"":t)in e?i(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,r},p={},f={createReactPlayer:()=>T};for(var y in f)i(p,y,{get:f[y],enumerable:!0});t.exports=u(i({},"__esModule",{value:!0}),p);var h=c(e.r(271645)),m=c(e.r(130860)),b=c(e.r(718310)),g=c(e.r(432892)),v=e.r(116871),P=e.r(788759),w=c(e.r(881652));let x=(0,P.lazy)(()=>e.A(737267)),O="u">typeof window&&window.document&&"u">typeof document,j=e.g.window&&e.g.window.document,A=Object.keys(v.propTypes),S=O||j?h.Suspense:()=>null,k=[],T=(e,t)=>
2{var r;return r=class extends h.Component{constructor(){super(...arguments),d(this,"state",{showPreview:!!this.props.light}),d(this,"references",{wrapper:e=>{this.wrapper=e},player:e=>{this.player=e}}),d(this,"handleClickPreview",e=>{this.setState({showPreview:!1}),this.props.onClickPreview(e)}),d(this,"showPreview",()=>{this.setState({showPreview:!0})}),d(this,"getDuration",()=>this.player?this.player.getDuration():null),d(this,"getCurrentTime",()=>this.player?this.player.getCurrentTime():null),d(this,"getSecondsLoaded",()=>this.player?this.player.getSecondsLoaded():null),d(this,"getInternalPlayer",(e="player")=>this.player?this.player.getInternalPlayer(e):null),d(this,"seekTo",(e,t,r)=>{if(!this.player)return null;this.player.seekTo(e,t,r)}),d(this,"handleReady",()=>{this.props.onReady(this)}),d(this,"getActivePlayer",(0,b.default)(r=>{for(let t of[...k,...e])if(t.canPlay(r))return t;return t||null})),d(this,"getConfig",(0,b.default)((e,t)=>{let{config:r}=this.props;return m.default.all([v.defaultProps.config,v.defaultProps.config[t]||{},r,r[t]||{}])})),d(this,"getAttributes",(0,b.default)(e=>(0,P.omit)(this.props,A))),d(this,"renderActivePlayer",e=>{if(!e)return null;let t=this.getActivePlayer(e);if(!t)return null;let r=this.getConfig(e,t.key);return h.default.createElement(w.default,{...this.props,key:t.key,ref:this.references.player,config:r,activePlayer:t.lazyPlayer||t,onReady:this.handleReady})})}shouldComponentUpdate(e,t){return!(0,g.default)(this.props,e)||!(0,g.default)(this.state,t)}componentDidUpdate(e){let{light:t}=this.props;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}renderPreview(e){if(!e)return null;let{light:t,playIcon:r,previewTabIndex:a,oEmbedUrl:i,previewAriaLabel:n}=this.props;return h.default.createElement(x,{url:e,light:t,playIcon:r,previewTabIndex:a,previewAriaLabel:n,oEmbedUrl:i,onClick:this.handleClickPreview})}render(){let{url:e,style:t,width:r,height:a,fallback:i,wrapper:n}=this.props,{showPreview:o}=this.state,l=this.getAttributes(e),s="string"==typeof n?this.references.wrapper:void 0;return h.default.createElement(n,{ref:s,style:{...t,width:r,height:a},...l},h.default.createElement(S,{fallback:i},o?this.renderPreview(e):this.renderActivePlayer(e)))}},d(r,"displayName","ReactPlayer"),d(r,"propTypes",v.propTypes),d(r,"defaultProps",v.defaultProps),d(r,"addCustomPlayer",e=>{k.push(e)}),d(r,"removeCustomPlayers",()=>{k.length=0}),d(r,"canPlay",t=>{for(let r of[...k,...e])if(r.canPlay(t))return!0;return!1}),d(r,"canEnablePIP",t=>{for(let r of[...k,...e])if(r.canEnablePIP&&r.canEnablePIP(t))return!0;return!1}),r}},823924,(e,t,r)=>{let a,i,n;var o=Object.create,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of u(t))d.call(e,i)||i===r||l(e,i,{get:()=>t[i],enumerable:!(a=s(t,i))||a.enumerable});return e},f={},y={default:()=>v};for(var h in y)l(f,h,{get:y[h],enumerable:!0});t.exports=p(l({},"__esModule",{value:!0}),f);var m=(n=null!=(a=e.r(539388))?o(c(a)):{},p(!i&&a&&a.__esModule?n:l(n,"default",{value:a,enumerable:!0}),a)),b=e.r(514792);let g=m.default[m.default.length-1];var v=(0,b.createReactPlayer)(m.default,g)},159313,e=>{"use strict";var t=e.i(843476),r=e.i(657688),a=e.i(271645),i=e.i(823924),n=e.i(919056);e.s(["default",0,function({url:e,playing:o,loop:l,controls:s,muted:u,width:c,height:d,wrapperClassName:p,placeholderWidth:f="1920",placeholderHeight:y="1080",scale:h="1",placeholderImage:m,placeholderNode:b,onStart:g,onStop:v}){let[P,w]=(0,a.useState)(!1);return(0,t.jsxs)("div",{className:(0,n.twJoin)("video-wrapper",p),children:[(0,t.jsx)(i.default,{url:e,playing:o,loop:l,controls:s,muted:u,width:c,height:d,style:{position:"absolute",top:0,left:0,transform:`scale(${h})`,transformOrigin:"center"},config:{youtube:{playerVars:{disablekb:1,modestbranding:1,controls:+!!s}}},onReady:()=>{o||P||w(!0)},onStart:()=>{o&&!P&&w(!0),g&&g()},onPause:()=>{v&&v()},onEnded:()=>{v&&v()}}),!P&&void 0!==m&&(0,t.jsx)(r.default,{className:"absolute top-0 inset-x-0 w-full h-full object-cover",src:m,alt:"Video banner",width:+f,height:+y,priority:!0}),!P&&b]})}])}]);
3
4//# debugId=1cbfcd0f-36bf-bd4c-cc9d-d7b05bca3da8
5//# sourceMappingURL=0hj144jtqwquh.js.map

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.