1/*! For license information please see deseretnews.js.LICENSE.txt */ 2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@arc-fusion/prop-types"),require("prop-types"),require("react"),require("react-dom"),require("fusion:jsx:consumer"),require("fusion:jsx:content"),require("fusion:jsx:context"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:jsx:static"),require("fusion:environment"),require("fusion:properties"),require("fusion:intl"),require("fusion:unpack")):"function"==typeof define&&define.amd?define([,,,,,,,,,,,,,],t):"object"==typeof exports?exports.Fusion=t(require("@arc-fusion/prop-types"),require("prop-types"),require("react"),require("react-dom"),require("fusion:jsx:consumer"),require("fusion:jsx:content"),require("fusion:jsx:context"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:jsx:static"),require("fusion:environment"),require("fusion:properties"),require("fusion:intl"),require("fusion:unpack")):(e.Fusion=e.Fusion||{},e.Fusion.components=t(e.PropTypes,e.PropTypes,e.React,e.ReactDOM,e.Fusion.Consumer,e.Fusion.Content,e.Fusion.Context,e.Fusion.Layout,e.Fusion.Quarantine,e.Fusion.Static,e.Fusion.environment,e.Fusion.getProperties,e.Fusion.getTranslatedPhrases,e.Fusion.unpack))}(this,function(e,t,n,r,i,o,a,s,l,c,u,d,p,f){return function(){var h,m,g,b,y={16120:function(e,t,n){"use strict";var r=n(11238).__importDefault(n(91809));t.A=r.default},23871:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appleSignOn=void 0;var r=n(11238),i=n(46544);t.appleSignOn=function(e){return r.__awaiter(void 0,void 0,void 0,function(){return r.__generator(this,function(t){return[2,(0,i.socialLogin)("apple",{credentials:e})]})})},t.default=t.appleSignOn},11822:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteAvatar=t.uploadAvatar=void 0;var r=n(11238),i=n(6032),o=r.__importDefault(n(51010)),a=r.__importDefault(n(91809)),s=n(9858);t.uploadAvatar=function(e){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){return console.warn("[Arc Identity SDK]: uploadAvatar is deprecated"),[2,a.default.heartbeat().then(function(){var t;if(t="string"==typeof e?document.getElementById(e.replace(/^#/,"")):e){if(t.files&&t.files.length){if("image/jpeg"!==t.files[0].type)throw{message:"Image type not supported",code:"UNSUPPORTED_IMAGE_TYPE"};if(t.files[0].size>3e6)throw{message:"Image too big. Only images up to 3 MB are supported.",code:"IMAGE_TOO_LARGE"};var n=t.files[0],r=new FormData;return r.append("avatar",n),a.default.heartbeat().then(function(){return fetch("".concat(a.default.apiOrigin,"/identity/public/v1/avatar"),{method:"PUT",headers:{Authorization:"Bearer ".concat(a.default.userIdentity.accessToken)},body:r}).then(o.default).then(function(e){if((0,i.isAPIErrorResponse)(e))throw e;return t.value="",a.default.userProfile=e,e})})}throw{message:"No image found in the input field provided ".concat("string"==typeof e?"(".concat(e,")"):"","."),code:"MISSING_IMAGE"}}throw Error("".concat(s.logPrefix," element provided not found ").concat("string"==typeof e?"(".concat(e,")"):"","."))})]})})},t.deleteAvatar=function(){return console.warn("[Arc Identity SDK]: deleteAvatar is deprecated"),a.default.heartbeat().then(function(){return a.default.heartbeat().then(function(){return fetch("".concat(a.default.apiOrigin,"/identity/public/v1/avatar"),{method:"DELETE",headers:r.__assign({Authorization:"Bearer ".concat(a.default.userIdentity.accessToken)},s.headers)}).then(o.default).then(function(e){if((0,i.isAPIErrorResponse)(e))throw e;return a.default.userProfile&&(a.default.userProfile.picture=""),e})})})}},615:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSwgLogin=t.isCheckSwgLoginResponse=void 0;var r=n(11238),i=r.__importDefault(n(51010)),o=n(9858),a=r.__importDefault(n(91809)),s=n(21141),l=n(25975);function c(e){return void 0!==e.identityExists}t.isCheckSwgLoginResponse=c;t.checkSwgLogin=function(e){return r.__awaiter(void 0,void 0,void 0,function(){var t,n,u,d,p,f;return r.__generator(this,function(r){switch(r.label){case 0:return(t=e)?[3,2]:[4,(0,s.getGoogleAuthInstance)()];case 1:r.sent(),(0,l.isLegacyGoogleSetting)(a.default._google)&&(t=null===(f=null===(p=null===(d=null===(u=null===(n=a.default._google)||void 0===n?void 0:n.authInstance)||void 0===u?void 0:u.currentUser)||void 0===d?void 0:d.get())||void 0===p?void 0:p.getAuthResponse())||void 0===f?void 0:f.id_token),r.label=2;case 2:return t?[2,fetch("".concat(a.default.apiOrigin,"/identity/public/v1/swg/checkloginexists"),{method:"POST",headers:o.headers,body:JSON.stringify({token:t})}).then(i.default).then(function(e){if(c(e))return e;throw e})]:(console.error("No Google ID token found. Either the user is not logged in with Google, or the Google Auth2 SDK is incorrectly loaded."),[2,{identityExists:!1}])}})})},t.default=t.checkSwgLogin},67704:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.clearSession=void 0;var r=n(11238).__importDefault(n(91809));function i(){try{r.default.userSegments=null,r.default.userIdentity={},r.default.userProfile=null}catch(e){throw new Error("Error clearing session.")}}t.clearSession=i,t.default=i},9858:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.USER_SEGMENTS_STORAGE_KEY=t.logPrefix=t.headers=t.AMP_ID_STORAGE_KEY=t.USER_SETTINGS_STORAGE_KEY=t.PROFILE_STORAGE_KEY_EXPIRED_TIME=t.PROFILE_STORAGE_KEY=t.IDENTITY_STORAGE_KEY=void 0,t.IDENTITY_STORAGE_KEY="ArcId.USER_INFO",t.PROFILE_STORAGE_KEY="ArcId.USER_PROFILE",t.PROFILE_STORAGE_KEY_EXPIRED_TIME="ArcId.USER_PROFILE_EXPIRED_TIME",t.USER_SETTINGS_STORAGE_KEY="ArcId.USER_SETTINGS",t.AMP_ID_STORAGE_KEY="ArcId.AMP_READER_ID",t.headers={"Content-Type":"application/json"},t.logPrefix="[Arc Identity SDK]",t.USER_SEGMENTS_STORAGE_KEY="ArcId.USER_SEGMENTS"},24703:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.heartbeat=t.extendSession=void 0;var r=n(11238),i=n(9858),o=r.__importDefault(n(51010)),a=r.__importDefault(n(15026)),s=n(87850),l=r.__importDefault(n(91809)),c=n(24271);t.extendSession=function(){if(l.default.userIdentity.refreshToken&&l.default.userIdentity.accessToken&&!(0,c.isJwtExpired)(l.default.userIdentity.refreshToken))return(0,a.default)("".concat(l.default.apiOrigin,"/identity/public/v1/auth/token"),{method:"POST",headers:i.headers,body:JSON.stringify({token:l.default.userIdentity.refreshToken,grantType:"refresh-token"})},"extendSession").then(o.default).then(function(e){if((0,s.isUserIdentity)(e)){var t=r.__assign(r.__assign({},l.default.userIdentity),{accessToken:e.accessToken,refreshToken:e.refreshToken||l.default.userIdentity.refreshToken});return l.default.userIdentity=t,l.default.userIdentity}throw e.code&&console.warn("".concat(i.logPrefix,' code:"').concat(e.code,'", message:"').concat(e.message,'"')),l.default.clearSession(),e});throw l.default.userIdentity.refreshToken&&(0,c.isJwtExpired)(l.default.userIdentity.refreshToken)?(l.default.clearSession(),new Error("".concat(i.logPrefix," Refresh token is expired"))):(l.default.clearSession(),new Error("".concat(i.logPrefix," No refresh token found for this session")))},t.heartbeat=function(){return l.default.userIdentity.refreshToken&&l.default.userIdentity.accessToken&&((0,c.isJwtExpired)(l.default.userIdentity.accessToken)||!(0,c.jwtHasExp)(l.default.userIdentity.accessToken))?l.default.extendSession():Promise.resolve(l.default.userIdentity)}},64939:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customButtonFacebookSignOn=t.facebookSignOn=void 0;var r=n(11238),i=r.__importDefault(n(91809)),o=n(46544),a=r.__importDefault(n(74272)),s=n(25975);function l(){return r.__awaiter(this,void 0,void 0,function(){var e;return r.__generator(this,function(t){switch(t.label){case 0:return[4,(0,a.default)(!0)];case 1:return e=t.sent(),(0,s.isFacebookLoginResponse)(e)?"connected"!==e.status?[3,3]:[4,(0,o.socialLogin)("facebook",{credentials:e.authResponse.accessToken})]:[3,5];case 2:return[2,t.sent()];case 3:if(i.default._useCustomFBButton)return[2,c()];throw new Error("User canceled login, did not fully authorize, or is not logged in to Facebook: ".concat(e));case 4:return[3,6];case 5:throw new Error("Error getting login status. Please try again. ".concat(e));case 6:return[2]}})})}function c(){return r.__awaiter(this,void 0,void 0,function(){var e=this;return r.__generator(this,function(t){return[2,window.FB.login(function(t){return r.__awaiter(e,void 0,void 0,function(){return r.__generator(this,function(e){switch(e.label){case 0:return"connected"!==t.status?[3,2]:[4,(0,o.socialLogin)("facebook",{credentials:t.authResponse.accessToken})];case 1:return[2,e.sent()];case 2:throw new Error("User canceled login, did not fully authorize, or is not logged in to Facebook: ".concat(t))}})})})]})})}t.facebookSignOn=l,t.customButtonFacebookSignOn=c,t.default=l},35270:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isGdprReport=void 0,t.isGdprReport=function(e){return void 0!==e.data}},75529:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.getConfig=t.isConfigOptions=void 0;var r=n(11238),i=n(9858),o=r.__importDefault(n(91809)),a=r.__importDefault(n(51010)),s=n(6032);function l(){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){return o.default._configOptions?[2,o.default._configOptions]:[2,fetch("".concat(o.default.apiOrigin,"/identity/public/v1/config"),{method:"GET",cache:"no-cache",headers:r.__assign({},i.headers)}).then(a.default).then(function(e){if((0,s.isAPIErrorResponse)(e))throw e;return o.default._configOptions=e,e})]})})}t.isConfigOptions=function(e){return void 0!==e.signinRecaptcha},t.getConfig=l,t.default=l},74272:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFacebookLoginStatus=void 0;t.getFacebookLoginStatus=function(e){return new Promise(function(t,n){try{window.FB.getLoginStatus(function(e){if(!e)throw new Error("Failed to get a response from FB");t(e)},e)}catch(e){n(e)}})},t.default=t.getFacebookLoginStatus},79268:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=r.__importDefault(n(51010)),o=r.__importDefault(n(91809)),a=n(9858),s=n(35270);t.default=function(e){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){switch(t.label){case 0:return[4,o.default.isLoggedIn()];case 1:if(!t.sent())throw new Error("".concat(a.logPrefix," Missing or invalid jwt"));return[2,fetch("".concat(o.default.apiOrigin,"/identity/public/v1/gdpr/").concat(e),{method:"GET",cache:"no-cache",headers:r.__assign({Authorization:"Bearer ".concat(o.default.userIdentity.accessToken)},a.headers)}).then(i.default).then(function(e){if((0,s.isGdprReport)(e))return e;throw e})]}})})}},28909:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSwgAccessToken=t.isSwgAccessTokenResponse=void 0;var r=n(11238),i=r.__importDefault(n(51010)),o=n(9858),a=r.__importDefault(n(91809));function s(e){return void 0!==e.accessToken}t.isSwgAccessTokenResponse=s;t.getSwgAccessToken=function(){return r.__awaiter(void 0,void 0,void 0,function(){var e;return r.__generator(this,function(t){switch(t.label){case 0:return e=r.__assign({},o.headers),a.default.userIdentity&&a.default.userIdentity.accessToken&&a.default.userIdentity.refreshToken?[4,a.default.heartbeat()]:[3,2];case 1:t.sent(),e.Authorization="Bearer ".concat(a.default.userIdentity.accessToken),t.label=2;case 2:return[2,fetch("".concat(a.default.apiOrigin,"/identity/public/v1/swg/accesstoken"),{method:"GET",headers:e}).then(i.default).then(function(e){if(s(e))return e;throw e})]}})})},t.default=t.getSwgAccessToken},32082:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getThirdPartyTokens=void 0;var r=n(11238),i=n(9858),o=r.__importDefault(n(91809));function a(e){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){if("DISQUS"===e)return[2,s()];throw new Error("".concat(i.logPrefix," Unsupported third party service requested."))})})}function s(){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){switch(e.label){case 0:return o.default.userSettings?[3,2]:[4,o.default.getUserSettings()];case 1:e.sent(),e.label=2;case 2:return o.default.configOptions?[3,4]:[4,o.default.getConfig()];case 3:e.sent(),e.label=4;case 4:return o.default.configOptions&&o.default.userSettings&&o.default.configOptions.disqus&&o.default.configOptions.disqus.enabled?[2,{enabled:!0,publicKey:o.default.configOptions.disqus.publicKey,ssoToken:o.default.userSettings.disqus&&o.default.userSettings.disqus.ssoKey}]:[2,{enabled:!1}]}})})}t.getThirdPartyTokens=a,t.default=a},48932:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=r.__importDefault(n(51010)),o=r.__importDefault(n(15026)),a=n(12239),s=r.__importDefault(n(91809)),l=n(9858);t.default=function(){return r.__awaiter(this,void 0,void 0,function(){var e;return r.__generator(this,function(t){switch(t.label){case 0:return[4,s.default.isLoggedIn()];case 1:if(!t.sent())throw new Error("".concat(l.logPrefix," Missing or invalid jwt"));return e=localStorage.getItem(l.PROFILE_STORAGE_KEY_EXPIRED_TIME),(null===s.default||void 0===s.default?void 0:s.default.userProfile)&&e&&new Date(e)>new Date?[2,s.default.userProfile]:[2,(0,o.default)("".concat(s.default.apiOrigin,"/identity/public/v1/profile"),{method:"GET",cac
2he:"no-cache",headers:r.__assign({Authorization:"Bearer ".concat(s.default.userIdentity.accessToken)},l.headers)},"getUserProfile").then(i.default).then(function(e){if((0,a.isUserProfile)(e)){var t=new Date(Date.now()+6e5);return localStorage.setItem(l.PROFILE_STORAGE_KEY_EXPIRED_TIME,t.toISOString()),s.default.userProfile=e,s.default.userProfile}throw e})]}})})}},52510:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=n(9858),o=r.__importDefault(n(51010)),a=n(6032),s=r.__importDefault(n(91809)),l=n(55722);t.default=function(){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){switch(e.label){case 0:return[4,s.default.isLoggedIn()];case 1:if(!e.sent())throw new Error("".concat(i.logPrefix," Missing or invalid jwt"));return[2,fetch("".concat(s.default.apiOrigin,"/identity/public/v2/identity/segmentation"),{method:"GET",cache:"no-cache",headers:r.__assign({Authorization:"Bearer ".concat(s.default.userIdentity.accessToken)},i.headers)}).then(o.default).then(function(e){var t={updated:new Date,uuid:s.default.userIdentity.uuid,segments:{}};if((0,l.isUserSegment)(e))return s.default.userSegments=r.__assign(r.__assign({},t),{segments:e}),e;if((0,a.isAPIErrorResponse)(e))throw e;return s.default.userSegments=t,{}})]}})})}},38673:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserSettings=void 0;var r=n(11238),i=n(9858),o=r.__importDefault(n(91809)),a=r.__importDefault(n(51010)),s=n(6032);function l(){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){switch(e.label){case 0:return o.default.userSettings?[3,2]:[4,o.default.isLoggedIn()];case 1:if(!e.sent())throw new Error("".concat(i.logPrefix," Missing or invalid jwt"));return[2,fetch("".concat(o.default.apiOrigin,"/identity/public/v1/user/settings"),{method:"GET",cache:"no-cache",headers:r.__assign({Authorization:"Bearer ".concat(o.default.userIdentity.accessToken)},i.headers)}).then(a.default).then(function(e){if((0,s.isAPIErrorResponse)(e))throw e;return o.default.userSettings=e,e})];case 2:return[2,o.default.userSettings]}})})}t.getUserSettings=l,t.default=l},20484:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.signOnSwgUser=t.googleSignOn=t.deprecationMessage=void 0;var r=n(11238),i=n(46544),o=n(25975),a=n(21141),s=r.__importDefault(n(91809));t.deprecationMessage="Legacy Google Sign In will be deprecated on Dec 31, 2022. Use the new Arc Identity & Sign In With Google SDKs.";t.googleSignOn=function(e){return r.__awaiter(void 0,void 0,void 0,function(){var n,i,c,u;return r.__generator(this,function(r){switch(r.label){case 0:if(console.error(t.deprecationMessage),e)return[2,l(e)];r.label=1;case 1:return r.trys.push([1,7,,8]),(0,o.isLegacyGoogleSetting)(s.default._google)?s.default._google.authInstance?[3,3]:[4,(0,a.getGoogleAuthInstance)()]:[3,5];case 2:r.sent(),r.label=3;case 3:return(n=s.default._google.authInstance)&&n.isSignedIn.get()?[2,l(n.currentUser.get())]:[4,null===(u=s.default._google.authInstance)||void 0===u?void 0:u.signIn({prompt:"select_account"})];case 4:return i=r.sent(),[2,l(i)];case 5:throw c=new Error("[Arc Identity SDK] - This method will only work with the legacy Google Sign In. Discontinue use of this method."),console.error(c),c;case 6:return[3,8];case 7:throw r.sent();case 8:return[2]}})})};t.signOnSwgUser=function(e){var n=e.idToken,l=e.swgSubscriptionTokenResponse;return r.__awaiter(void 0,void 0,void 0,function(){var e,c,u,d,p;return r.__generator(this,function(r){switch(r.label){case 0:return console.error(t.deprecationMessage),n?[2,(0,i.socialLogin)("google",{credentials:n})]:[3,1];case 1:return l?(s.default.userIdentity={uuid:l.profileId,accessToken:l.accessToken,refreshToken:l.refreshToken},[2,s.default.heartbeat()]):[3,2];case 2:return[4,(0,a.getGoogleAuthInstance)()];case 3:if(r.sent(),(0,o.isLegacyGoogleSetting)(s.default._google)){if(null===(d=s.default._google.authInstance)||void 0===d?void 0:d.isSignedIn.get())return e=null===(p=s.default._google.authInstance)||void 0===p?void 0:p.currentUser.get(),c=e.getAuthResponse().id_token,[2,(0,i.socialLogin)("google",{credentials:c})];throw new Error("[Arc Identity SDK] - No google user logged in.")}throw u=new Error("[Arc Identity SDK] - This method will only work with the legacy Google Sign In. Discontinue use of this method."),console.error(u),u;case 4:return[2]}})})};var l=function(e){console.error(t.deprecationMessage);var n=e.getAuthResponse().id_token;if((0,o.isLegacyGoogleSetting)(s.default._google))return(0,i.socialLogin)("google",{credentials:n}).then(function(e){if((0,o.isLegacyGoogleSetting)(s.default._google))return s.default._google.onSuccess&&s.default._google.onSuccess(),e;throw new Error("[Arc Identity SDK] - This method will only work with the legacy Google Sign In. Discontinue use of this method.")}).catch(function(e){throw(0,o.isLegacyGoogleSetting)(s.default._google)?(s.default._google.onFailure&&s.default._google.onFailure(),e):new Error("[Arc Identity SDK] - This method will only work with the legacy Google Sign In. Discontinue use of this method.")});throw new Error("[Arc Identity SDK] - This method will only work with the legacy Google Sign In. Discontinue use of this method.")};t.default=t.googleSignOn},91809:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=n(9858),o=n(69519),a=r.__importStar(n(22762)),s=r.__importDefault(n(73597)),l=r.__importDefault(n(93675)),c=r.__importDefault(n(71052)),u=n(24703),d=r.__importDefault(n(67704)),p=r.__importDefault(n(94629)),f=r.__importDefault(n(33042)),h=r.__importDefault(n(12537)),m=r.__importDefault(n(48932)),g=r.__importDefault(n(52510)),b=r.__importDefault(n(69092)),y=n(11822),v=r.__importDefault(n(80055)),w=r.__importDefault(n(41311)),_=r.__importDefault(n(65594)),x=r.__importDefault(n(82429)),j=r.__importDefault(n(55931)),O=r.__importDefault(n(23128)),S=n(75529),k=r.__importStar(n(46430)),C=n(38673),P=r.__importDefault(n(32082)),T=r.__importDefault(n(81295)),E=r.__importDefault(n(79268)),N=r.__importDefault(n(57300)),A=r.__importStar(n(21141)),I=r.__importDefault(n(26821)),L=r.__importDefault(n(74189)),D=r.__importDefault(n(24720)),R=r.__importDefault(n(9065)),M=r.__importDefault(n(22694)),$=r.__importDefault(n(69633)),F=r.__importDefault(n(64939)),V=r.__importStar(n(20484)),z=r.__importDefault(n(94354)),B=r.__importDefault(n(23871)),H=r.__importDefault(n(84897)),U=r.__importDefault(n(28909)),q=r.__importDefault(n(615)),Z=r.__importDefault(n(62950)),G=r.__importDefault(n(12433)),W=function(){function e(){}return Object.defineProperty(e,"userIdentity",{get:function(){return!this._userIdentity&&this._userIdentityStorage&&(this._userIdentity=JSON.parse(this._userIdentityStorage.getItem(i.IDENTITY_STORAGE_KEY)||"{}")),this._userIdentity},set:function(e){(0,o.shouldStorageChange)(this._userIdentityStorage,this._isSession,i.IDENTITY_STORAGE_KEY)&&(this._userIdentityStorage instanceof G.default&&this._userIdentityStorage.removeItem(i.IDENTITY_STORAGE_KEY),this._userIdentityStorage=(0,o.initStorage)(this._baseDomain,this._isSession)),e.uuid||e.accessToken||e.refreshToken||e.impersonator||this._userIdentityStorage.removeItem(i.IDENTITY_STORAGE_KEY),this._userIdentityStorage.setItem(i.IDENTITY_STORAGE_KEY,JSON.stringify(e)),this._userIdentity=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"userProfile",{get:function(){return this._userProfile||(this._userProfile=JSON.parse(this._selectedStorage.getItem(i.PROFILE_STORAGE_KEY)||null)),this._userProfile},set:function(e){var t,n;null===e&&this._selectedStorage.removeItem(i.PROFILE_STORAGE_KEY),(0,o.shouldStorageChange)(this._selectedStorage,this._isSession,i.PROFILE_STORAGE_KEY)&&(this._selectedStorage instanceof G.default&&this._selectedStorage.removeItem(i.PROFILE_STORAGE_KEY),this._selectedStorage=(0,o.initStorage)(this._baseDomain,this._isSession,null===(t=this._profileStorageOpt)||void 0===t?void 0:t.storageExp)),(null===(n=this._profileStorageOpt)||void 0===n?void 0:n.ignoreProfile)?this._selectedStorage.removeItem(i.PROFILE_STORAGE_KEY):this._selectedStorage.setItem(i.PROFILE_STORAGE_KEY,JSON.stringify(e)),this._userProfile=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"userSegments",{get:function(){return this._userSegments||(this._userSegments=JSON.parse(this._selectedStorage.getItem(i.USER_SEGMENTS_STORAGE_KEY)||null)),this._userSegments},set:function(e){this._selectedStorage.setItem(i.USER_SEGMENTS_STORAGE_KEY,JSON.stringify(e)),this._userSegments=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"configOptions",{get:function(){return this._configOptions},enumerable:!1,configurable:!0}),Object.defineProperty(e,"userSettings",{get:function(){return this._userSettings||this._userSettings||(this._userSettings=JSON.parse(this._selectedStorage.getItem(i.USER_SETTINGS_STORAGE_KEY)||null)),this._userSettings},set:function(e){null===e&&this._selectedStorage.removeItem(i.USER_SETTINGS_STORAGE_KEY),this._selectedStorage.setItem(i.USER_SETTINGS_STORAGE_KEY,JSON.stringify(e))},enumerable:!1,configurable:!0}),Object.defineProperty(e,"baseDomain",{set:function(e){this._userIdentityStorage=(0,o.initStorage)(e),this._baseDomain=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"ampReaderId",{get:function(){return this._ampReaderId||(this._ampReaderId=JSON.parse(this._selectedStorage.getItem(i.AMP_ID_STORAGE_KEY)||null)),this._ampReaderId},set:function(e){null==e?this._selectedStorage.removeItem(i.AMP_ID_STORAGE_KEY):e&&this._selectedStorage.setItem(i.AMP_ID_STORAGE_KEY,JSON.stringify(e))}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e,"profileStorageOpt",{get:function(){return this._profileStorageOpt},set:function(e){e&&(this._profileStorageOpt=e)},enumerable:!1,configurable:!0}),e._version=n(79775).rE,e._userIdentityStorage=(0,o.initStorage)(),e._selectedStorage=(0,o.initStorage)(),e.apiOrigin="",e._baseDomain="",e._google={useCustomButton:!1},e._useCustomFBButton=!1,e.options=p.default,e.login=a.default,e.isLoggedIn=a.isLoggedIn,e.extendSession=u.extendSession,e.clearSession=d.default,e.heartbeat=u.heartbeat,e.logout=s.default,e.getUserSettings=C.getUserSettings,e.getUserProfile=m.default,e.getUserSegments=g.default,e.updateUserProfile=b.default,e.uploadAvatar=y.uploadAvatar,e.deleteAvatar=y.deleteAvatar,e.signUp=v.default,e.updatePassword=w.default,e.requestResetPassword=_.default,e.resetPassword=x.default,e.requestDeleteAccount=k.default,e.approveDeleteAccount=k.approveDeleteAccount,e.declineDeleteAccount=k.declineDeleteAccount,e.getConfig=S.getConfig,e.initFacebookLogin=N.default,e.facebookSignOn=F.default,e.initGoogleLogin=A.default,e.initGoogleAuthSDK=A.initGoogleAuthSDK,e.initGoogleAuth=A.initGoogleAuth,e.initiateOIDC=L.default,e.signInWithOIDC=D.default,e.signInWithOIDCPKCE=R.default,e.loginWithArcIdentityAsOIDCProvider=M.default,e.unlinkOIDC=$.default,e.googleSignOn=V.default,e.signInWithGoogle=z.default,e.initAppleSignOn=I.default,e.appleSignOn=B.default,e.requestMagicLink=l.default,e.redeemMagicLink=c.default,e.requestVerifyEmail=j.default,e.verifyEmail=O.default,e.listGdprReports=T.default,e.getGdprReport=E.default,e.getThirdPartyTokens=P.default,e.unlinkSocialIdentity=H.default,e.requestOTALink=f.default,e.redeemOTALink=h.default,e.getSwgAccessToken=U.default,e.checkSwgLogin=q.default,e.relinkGoogleAccount=Z.default,e.signOnSwgUser=V.signOnSwgUser,e}();t.default=W},26821:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initAppleSignOn=void 0;var r=n(11238),i=n(9858),o=n(6032),a=r.__importDefault(n(91809)),s=r.__importDefault(n(51010));t.initAppleSignOn=function(){return r.__awaiter(void 0,void 0,void 0,function(){return r.__generator(this,function(e){return[2,fetch("".concat(a.default.apiOrigin,"/identity/public/v1/apple/authurl"),{method:"GET",cache:"no-cache",headers:r.__assign({},i.headers)}).then(s.default).then(function(e){if((0,o.isAPIErrorResponse)(e))throw e;var t=encodeURIComponent("".concat(a.default.apiOrigin,"/identity/public/v1/apple/auth"));window.location.href="".concat(e,"&redirect_uri=").concat(t)})]})})},t.default=t.initAppleSignOn},57300:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initFacebookLogin=t.loadFacebookSDK=void 0;var r=n(11238),i=n(10965),o=r.__importDefault(n(91809)),a="facebook-jssdk";function s(e,n,a){return r.__awaiter(this,void 0,void 0,function(){var s,l,c;return r.__generator(this,function(r){switch(r.label){case 0:return e||o.default.configOptions?[3,2]:[4,o.default.getConfig()];case 1:r.sent(),r.label=2;case 2:if(s=e||(o.default.configOptions&&o.default.configOptions.facebookAppId?o.default.configOptions.facebookAppId.split(",")[0]:null))return[3,3];throw new Error("[Arc Identity SDK] - Facebook App ID not found, please add one in settings or explicitly pass one to the initFacebookLogin method.");case 3:return l=n||(0,i.getBrowserLocale)(),c=(0,i.bestFacebookLocaleFor)(l),[4,(0,t.loadFacebookSDK)(c)];case 4:r.sent(),a&&(o.default._useCustomFBButton=!0),window.FB.init({appId:s,autoLogAppEvents:!0,xfbml:!0,status:!0,version:"v20.0"}),r.label=5;case 5:return[2]}})})}t.loadFacebookSDK=function(e){return new Promise(function(t,n){if(document.getElementById(a))t();else{var r=document.createElement("script");r.onload=function(){t("https://connect.facebook.net/".concat(e,"/sdk.js"))},r.onerror=function(){n("Error loading Facebook SDK")},r.async=!0,r.id=a,r.src="https://connect.facebook.net/".concat(e,"/sdk.js"),document.body.appendChild(r)}})},t.initFacebookLogin=s,t.default=s},21141:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initGoogleLogin=t.initGoogleAuthSDK=t.initGoogleAuth=t.getGoogleAuthInstance=t.loadGoogleAuthSDK=t.GOOGLE_SDK_URL=void 0;var r=n(11238),i=n(20484),o=n(25975),a=r.__importDefault(n(91809)),s=n(20484);t.GOOGLE_SDK_URL="https://apis.google.com/js/platform.js";t.loadGoogleAuthSDK=function(e){return console.error(s.deprecationMessage),new Promise(function(n,i){return r.__awaiter(void 0,void 0,void 0,function(){var s,l;return r.__generator(this,function(c){switch(c.label){case 0:return document.querySelector('[src="'.concat(t.GOOGLE_SDK_URL,'"]'))?[3,1]:((s=document.createElement("script")).onload=function(){var t=this;window.gapi.load("auth2",function(){return r.__awaiter(t,void 0,void 0,function(){var t,s,l,c;return r.__generator(this,function(u){switch(u.label){case 0:if(a.default._google=r.__assign(r.__assign({},a.default._google),{auth2:null!==(l=null===(s=window.gapi)||void 0===s?void 0:s.auth2)&&void 0!==l?l:(0,o.isLegacyGoogleSetting)(a.default._google)&&(null===(c=a.default._google)||void 0===c?void 0:c.auth2)}),!e)return[3,4];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,e()];case 2:return u.sent(),[3,4];case 3:return t=u.sent(),[2,i(t)];case 4:return[2,n()]}})})})},s.onerror=function(){i("[Arc Identity SDK] - Error loading Google SDK")},s.async=!0,s.src=t.GOOGLE_SDK_URL,document.head.appendChild(s),[3,7]);case 1:return window.gapi?window.gapi.auth2?[3,2]:(window.gapi.load("auth2",function(){return r.__awaiter(void 0,void 0,void 0,function(){var t;return r.__generator(this,function(r){switch(r.label){case 0:if(!e)return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,e()];case 2:return r.sent(),[3,4];case 3:return t=r.sent(),[2,i(t)];case 4:return[2,n()]}})})}),[3,7]):[2,i("[Arc Identity SDK] - Error loading Google SDK")];case 2:if(!e)return[3,6];c.label=3;case 3:return c.trys.push([3,5,,6]),[4,e()];case 4:return c.sent(),[3,6];case 5:return l=c.sent(),[2,i(l)];case 6:return[2,n()];case 7:return[2]}})})})};t.getGoogleAuthInstance=function(){return console.error(s.deprecationMessage),new Promise(function(e,n){return r.__awaiter(void 0,void 0,void 0,function(){var i;return r.__generator(this,function(r){switch(r.label){case 0:return(0,o.isLegacyGoogleSetting)(a.default._google)?a.default._google.authInstance?(e(),[3,5]):[3,1]:[3,6];case 1:return a.default._google.auth2?(a.default._google.authInstance=a.default._google.auth2.getAuthInstance(),e(),[3,5]):[3,2];case 2:return r.trys.push([2,4,,5]),[4,(0,t.initGoogleAuthSDK)(a.default._google.clientId)];case 3:return r.sent(),e(),[3,5];case 4:return i=r.sent(),console.error("Error getting Google Auth instance."),n(i),[3,5];case 5:return[3,7];case 6:n("This method should only be used with the legacy Google Sign In. Migrate to the new Sign In With Google"),r.label=7;case 7:return[2]}})})})};t.initGoogleAuth=function(e){return r.__awaiter(void 0,void 0,void 0,function(){var t,n,i,l,c,u,d,p,f,h,m,g,b,y;return r.__generator(this,function(v){switch(v.label){case 0:if(console.error(s.deprecationMessage),a.default._google=r.__assign(r.__assign({},a.default._google),{auth2:null!==(l=null===(i=window.gapi)||void 0===i?void 0:i.auth2)&&void 0!==l?l:(0,o.isLegacyGoogleSetting)(a.default._google)&&(null===(c=a.default._google)||void 0===c?void 0:c.auth2),clientId:null!=e?e:(0,o.isLegacyGoogleSetting)(a.default._google)?null===(u=a.default._google)||void 0===u?void 0:u.clientId:void 0}),!(null===(d=a.default._google)||void 0===d?void 0:d.auth2))throw new Error("[Arc Identity SDK] - Error loading Google SDK");return(null===(p=a.default._google)||void 0===p?void 0:p.clientId)||a.default.configOptions&&(!a.default.configOptions||a.default.configOptions.googleClientId)?[3,2]:[4,a.default.getConfig()];case 1:v.sent(),v.label=2;case 2:if(a.default._google.clientId=null!==(h=null===(f=a.default._google)||void 0===f?void 0:f.clientId)&&void 0!==h?h:null===(b=null===(g=null===(m=a.default.configOptions)||void 0===m?void 0:m.googleClientId)||void 0===g?void 0:g.split(","))||void 0===b?void 0:b[0],!a.default._google.clientId)throw new Error("[Arc Identity SDK] - Google Client ID not found, please add one in settings or explicitly pass one to the initGoogleLogin method.");try{(t=null!==(y=a.default._google.authInstance)&&void 0!==y?y:a.default._google.auth2.getAuthInstance())?a.default._google.authInstance=t:(n=a.default._google.auth2.init({client_id:"".concat(a.default._google.clientId.replace(".apps.googleusercontent.com",""),".apps.googleusercontent.com")}),a.default._google.authInstance=n)}catch(e){throw console.error("Error while initializing Google sdk:"),e}return[2]}})})};function l(e,n,l,c){var u,d;return void 0===e&&(e=""),void 0===n&&(n={width:240,height:50,longtitle:!0,theme:"dark",scope:["profile","email"]}),void 0===l&&(l="google-sign-in-button"),r.__awaiter(this,void 0,void 0,function(){var p,f,h,m;return r.__generator(this,function(g){switch(g.label){case 0:console.error(s.deprecationMessage),g.label=1;case 1:return g.trys.push([1,6,,7]),(0,o.isLegacyGoogleSetting)(a.default._google)?(e&&e!==a.default._google.clientId&&(a.default._google.clientId=e),a.default._google.auth2&&a.default._google.authInstance?[3,3]:[4,(0,t.initGoogleAuthSDK)(a.default._google.clientId)]):[3,4];
2case 2:g.sent(),g.label=3;case 3:if(!a.default._google.authInstance)throw new Error("[Arc Identity SDK] - Error initializing Google Auth2 SDK");return p=function(e){(0,i.googleSignOn)(e).then(function(){n&&"function"==typeof n.onSuccess&&n.onSuccess(e)})},n&&"function"==typeof n.onSuccess&&(a.default._google.onSuccess=n.onSuccess,"function"==typeof n.onFailure&&(a.default._google.onFailure=n.onFailure)),c&&(a.default._google.useCustomButton=!0),!c&&n?(a.default._google.authInstance.attachClickHandler(l,{scope:(null!==(u=null==n?void 0:n.scope)&&void 0!==u?u:["profile","email"]).join(" "),prompt:"select_account"},p,n&&n.onFailure||console.error),f={width:240,height:50,longtitle:!0,theme:"dark"},h=r.__assign(r.__assign(r.__assign({},f),n),{scope:(null!==(d=null==n?void 0:n.scope)&&void 0!==d?d:["profile","email"]).join(" ")}),[2,window.gapi.signin2.render(l,h)]):[3,5];case 4:throw new Error("[Arc Identity SDK] - This method will only work with the legacy Google Sign In. Discontinue use of this method.");case 5:return[3,7];case 6:throw m=g.sent(),console.error("Error while initializing Google login:"),m;case 7:return[2]}})})}t.initGoogleAuthSDK=function(e){return r.__awaiter(void 0,void 0,void 0,function(){var n,i;return r.__generator(this,function(r){switch(r.label){case 0:if(console.error(s.deprecationMessage),!(0,o.isLegacyGoogleSetting)(a.default._google))return[3,5];e&&e!==(null===(i=a.default._google)||void 0===i?void 0:i.clientId)&&(a.default._google.clientId=e),n=a.default._google.clientId,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,(0,t.loadGoogleAuthSDK)(function(){return(0,t.initGoogleAuth)(n)})];case 2:return r.sent(),[3,4];case 3:throw r.sent();case 4:return[3,6];case 5:throw new Error("This method should only be used with legacy Google Sign In. Discontinue use & migrate to new Sign In With Google");case 6:return[2]}})})},t.initGoogleLogin=l,t.default=l},74189:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initiateOIDC=void 0;var r=n(11238),i=n(9858),o=n(6032),a=r.__importDefault(n(91809)),s=r.__importDefault(n(51010));t.initiateOIDC=function(e,t,n,l){return void 0===n&&(n=!0),void 0===l&&(l=!1),r.__awaiter(void 0,void 0,void 0,function(){return r.__generator(this,function(c){return[2,fetch("".concat(a.default.apiOrigin,"/identity/public/v2/oidc/").concat(e,"/initiate"),{method:"GET",headers:r.__assign({},i.headers)}).then(s.default).then(function(e){if((0,o.isAPIErrorResponse)(e))throw e;if(!n)return e;if(t&&t.length){var r=new URL(e.url);r.searchParams.set("scope",t.join(" ")),l&&r.searchParams.set("response_mode","form_post"),window.location.href=r.toString()}else window.location.href=e.url})]})})},t.default=t.initiateOIDC},81295:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=r.__importDefault(n(51010)),o=r.__importDefault(n(91809)),a=n(9858);t.default=function(){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){switch(e.label){case 0:return[4,o.default.isLoggedIn()];case 1:if(!e.sent())throw new Error("".concat(a.logPrefix," Missing or invalid jwt"));return[2,fetch("".concat(o.default.apiOrigin,"/identity/public/v1/gdpr?_=").concat(Date.now()),{method:"GET",headers:r.__assign({Authorization:"Bearer ".concat(o.default.userIdentity.accessToken)},a.headers)}).then(i.default).then(function(e){if(Array.isArray(e))return e;throw e})]}})})}},22762:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLoggedIn=void 0;var r=n(11238),i=r.__importDefault(n(51010)),o=r.__importDefault(n(91809)),a=n(87850),s=n(9858),l=r.__importStar(n(45507)),c=n(24271);t.default=function(e,t,n){return void 0===n&&(n={}),o.default._isSession=!n.rememberMe,(0,l.default)(l.RecaptchaMethod.SIGN_IN,n.recaptchaToken).then(function(){return fetch("".concat(o.default.apiOrigin,"/identity/public/v1/auth/login").concat(n.cookie?"?cookie=true":""),{method:"POST",headers:s.headers,body:JSON.stringify({userName:e,credentials:t,grantType:"password",rememberMe:n.rememberMe,recaptchaToken:n.recaptchaToken})})}).then(i.default).then(function(e){if((0,a.isUserIdentity)(e))return o.default.userIdentity=e,window.postMessage({type:"ARC_LOGIN_SUCCESS",grantType:"password"},"*"),o.default.userIdentity;throw e})};var u=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name="HttpError",r.code=t,r}return r.__extends(t,e),t}(Error);t.isLoggedIn=function(){return r.__awaiter(this,void 0,void 0,function(){var e;return r.__generator(this,function(t){switch(t.label){case 0:return o.default.userIdentity&&o.default.userIdentity.accessToken&&o.default.userIdentity.refreshToken?[3,1]:[2,!1];case 1:if(!(0,c.isJwtExpired)(o.default.userIdentity.accessToken)&&(0,c.jwtHasExp)(o.default.userIdentity.accessToken))return[3,6];t.label=2;case 2:return t.trys.push([2,4,,5]),[4,o.default.extendSession()];case 3:return t.sent(),[2,!0];case 4:return(e=t.sent())instanceof u&&console.warn("".concat(s.logPrefix,' code:"').concat(e.code,'", message:"').concat(e.message,'"')),[2,!1];case 5:return[3,7];case 6:return[2,!0];case 7:return[2]}})})}},22694:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.loginWithArcIdentityAsOIDCProvider=void 0;var r=n(11238),i=n(9858),o=n(6032),a=r.__importDefault(n(91809)),s=r.__importDefault(n(51010));t.loginWithArcIdentityAsOIDCProvider=function(e){return r.__awaiter(void 0,void 0,void 0,function(){return r.__generator(this,function(t){return[2,fetch("".concat(a.default.apiOrigin,"/identity/public/v2/oidc/provider/login?")+new URLSearchParams(e),{method:"GET",headers:r.__assign({Authorization:"Bearer ".concat(a.default.userIdentity.accessToken)},i.headers)}).then(s.default).then(function(e){if((0,o.isAPIErrorResponse)(e))throw e;window.location.href=null==e?void 0:e.message})]})})},t.default=t.loginWithArcIdentityAsOIDCProvider},73597:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchLogoutEvent=t.facebookSignOut=void 0;var r=n(11238),i=n(6032),o=r.__importDefault(n(91809)),a=n(9858),s=r.__importDefault(n(51010)),l=r.__importDefault(n(74272)),c=n(25975),u=n(5649);t.default=function(){return r.__awaiter(this,void 0,void 0,function(){var e,n=this;return r.__generator(this,function(l){switch(l.label){case 0:return o.default.userIdentity.accessToken?[2,o.default.heartbeat().then(function(){return fetch("".concat(o.default.apiOrigin,"/identity/public/v1/auth/token"),{method:"DELETE",headers:r.__assign({Authorization:"Bearer ".concat(o.default.userIdentity.accessToken)},a.headers)}).then(s.default).then(function(e){return r.__awaiter(n,void 0,void 0,function(){return r.__generator(this,function(n){switch(n.label){case 0:return o.default.clearSession(),(0,t.dispatchLogoutEvent)(),[4,(0,t.facebookSignOut)()];case 1:if(n.sent(),globalThis.gapi)try{globalThis.gapi.auth2.getAuthInstance().signOut()}catch(e){console.error("error signing out of google",e)}if(globalThis.google)try{globalThis.google.accounts.id.disableAutoSelect()}catch(e){console.error("[Arc Identity SDK]: error signing out of google",e)}if((0,i.isAPIErrorResponse)(e))throw e;return[2,null]}})})}).catch(function(e){return Promise.reject(e)})})]:[3,1];case 1:if(o.default.clearSession(),(0,t.dispatchLogoutEvent)(),globalThis.gapi)try{globalThis.gapi.auth2.getAuthInstance().signOut()}catch(e){console.error("error signing out of google",e)}if(globalThis.google)try{globalThis.google.accounts.id.disableAutoSelect()}catch(e){console.error("[Arc Identity SDK]: error signing out of google",e)}l.label=2;case 2:return l.trys.push([2,4,,5]),[4,(0,t.facebookSignOut)()];case 3:return l.sent(),[3,5];case 4:return e=l.sent(),console.error("error signing out of facebook",e),[3,5];case 5:throw new Error("No access token found, user is already logged out")}})})};t.facebookSignOut=function(){return r.__awaiter(void 0,void 0,void 0,function(){var e;return r.__generator(this,function(t){switch(t.label){case 0:return window.FB?[4,(0,l.default)()]:[3,2];case 1:if(e=t.sent(),(0,c.isFacebookLoginResponse)(e)&&"connected"===e.status)try{return[2,window.FB.logout(function(){return Promise.resolve(null)})]}catch(e){return[2,Promise.reject(e)]}t.label=2;case 2:return[2,Promise.resolve(null)]}})})};t.dispatchLogoutEvent=function(){return(0,u.fireEvent)("ArcSDK.logout")}},94629:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=r.__importDefault(n(91809)),o=n(9858),a=n(25975);t.default=function(e){var t,n,s,l,c,u;e?(i.default.apiOrigin=e.apiOrigin&&e.apiOrigin.replace(/\/$/,"")||i.default.apiOrigin,i.default.baseDomain=e.baseDomain||i.default._baseDomain,e.google&&((0,a.isLegacyGoogleSetting)(e.google)?i.default._google=r.__assign(r.__assign({},i.default._google),e.google):i.default._google=null!==(t=e.google)&&void 0!==t?t:i.default._google),i.default.profileStorageOpt={storageExp:(null===(n=e.profileStorageOpt)||void 0===n?void 0:n.storageExp)||(null===(s=i.default._profileStorageOpt)||void 0===s?void 0:s.storageExp),ignoreProfile:void 0!==(null===(l=e.profileStorageOpt)||void 0===l?void 0:l.ignoreProfile)?null===(c=e.profileStorageOpt)||void 0===c?void 0:c.ignoreProfile:null===(u=i.default._profileStorageOpt)||void 0===u?void 0:u.ignoreProfile},i.default.ampReaderId=e.ampReaderId||i.default.ampReaderId):console.warn("".concat(o.logPrefix," No options specified when calling Identity.options"))}},71052:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238).__importDefault(n(12537));t.default=function(e){return console.warn("[Arc Identity SDK]: redeemMagicLink is deprecated"),(0,r.default)(e)}},12537:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=n(87850),o=r.__importDefault(n(51010)),a=r.__importDefault(n(91809)),s=n(9858);t.default=function(e){return fetch("".concat(a.default.apiOrigin,"/identity/public/v1/auth/magiclink/").concat(e),{method:"GET",headers:s.headers}).then(o.default).then(function(e){if((0,i.isUserIdentity)(e))return a.default.userIdentity=e,a.default.userIdentity;throw e})}},62950:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.relinkGoogleAccount=void 0;var r=n(11238),i=r.__importDefault(n(51010)),o=n(9858),a=r.__importDefault(n(91809)),s=n(87850),l=n(28909),c=n(20484);t.relinkGoogleAccount=function(e){return r.__awaiter(void 0,void 0,void 0,function(){var t,n;return r.__generator(this,function(u){switch(u.label){case 0:return console.error(c.deprecationMessage),t=r.__assign({},o.headers),a.default.userIdentity&&a.default.userIdentity.accessToken&&a.default.userIdentity.refreshToken?[4,a.default.heartbeat()]:[3,2];case 1:return u.sent(),t.Authorization="Bearer ".concat(a.default.userIdentity.accessToken),[3,3];case 2:throw new Error("[Arc Identity SDK] no logged in user found.");case 3:return[4,a.default.getSwgAccessToken()];case 4:if(n=u.sent(),!(0,l.isSwgAccessTokenResponse)(n))throw n;return[2,fetch("".concat(a.default.apiOrigin,"/identity/public/v1/swg/").concat(n.accessToken,"/relink/").concat(e),{method:"GET",headers:t}).then(i.default).then(function(e){if((0,s.isUserIdentity)(e))return a.default.userIdentity=e,e;throw e})]}})})},t.default=t.relinkGoogleAccount},46430:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.declineDeleteAccount=t.approveDeleteAccount=void 0;var r=n(11238),i=n(6032),o=r.__importDefault(n(51010)),a=n(73597),s=r.__importDefault(n(91809)),l=n(9858);t.default=function(){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){switch(e.label){case 0:return[4,s.default.isLoggedIn()];case 1:if(!e.sent())throw new Error("".concat(l.logPrefix," Missing or invalid jwt"));return[2,fetch("".concat(s.default.apiOrigin,"/identity/public/v1/user/anonymize"),{method:"DELETE",headers:r.__assign({Authorization:"Bearer ".concat(s.default.userIdentity.accessToken)},l.headers)}).then(o.default).then(function(e){if((0,i.isAPIErrorResponse)(e))throw e;return e})]}})})},t.approveDeleteAccount=function(e){return s.default.heartbeat().then(function(){return fetch("".concat(s.default.apiOrigin,"/identity/public/v1/user/anonymize/approve/").concat(e),{method:"PUT",headers:r.__assign({Authorization:"Bearer ".concat(s.default.userIdentity.accessToken)},l.headers),body:JSON.stringify({})})}).then(o.default).then(function(e){if((0,i.isAPIErrorResponse)(e))throw e;return s.default.clearSession(),(0,a.dispatchLogoutEvent)(),e})},t.declineDeleteAccount=function(e,t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(n){switch(n.label){case 0:return[4,s.default.isLoggedIn()];case 1:if(!n.sent())throw new Error("".concat(l.logPrefix," Missing or invalid jwt"));return[2,fetch("".concat(s.default.apiOrigin,"/identity/public/v1/user/anonymize/decline/").concat(e),{method:"PUT",headers:r.__assign({Authorization:"Bearer ".concat(s.default.userIdentity.accessToken)},l.headers),body:JSON.stringify({reason:t})}).then(o.default).then(function(e){if((0,i.isAPIErrorResponse)(e))throw e;return e})]}})})}},93675:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238).__importDefault(n(33042));t.default=function(e,t){return console.warn("[Arc Identity SDK]: requestMagicLink is deprecated"),(0,r.default)(e,t)}},33042:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=n(6032),o=r.__importDefault(n(51010)),a=r.__importDefault(n(91809)),s=r.__importStar(n(45507)),l=n(9858);t.default=function(e,t){return(0,s.default)(s.RecaptchaMethod.MAGIC_LINK,t).then(function(){return fetch("".concat(a.default.apiOrigin,"/identity/public/v1/auth/magiclink"),{method:"POST",headers:l.headers,body:JSON.stringify({email:e,recaptchaToken:t})}).then(o.default).then(function(e){if((0,i.isAPIErrorResponse)(e))throw e;return!0})})}},65594:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=r.__importDefault(n(51010)),o=r.__importDefault(n(91809)),a=r.__importStar(n(45507)),s=n(9858);t.default=function(e,t){return(0,a.default)(a.RecaptchaMethod.RESET_PASSWORD,t).then(function(){return fetch("".concat(o.default.apiOrigin,"/identity/public/v1/password/reset"),{method:"POST",headers:s.headers,body:JSON.stringify({userName:e,recaptchaToken:t})}).then(i.default).then(function(e){if(e.success)return!0;throw e})})}},55931:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=r.__importDefault(n(51010)),o=r.__importDefault(n(91809)),a=n(9858);t.default=function(e){return fetch("".concat(o.default.apiOrigin,"/identity/public/v1/email/verify"),{method:"POST",headers:a.headers,body:JSON.stringify({email:e})}).then(i.default).then(function(e){if(e.success)return!0;throw e})}},82429:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=n(6032),o=r.__importDefault(n(51010)),a=r.__importDefault(n(91809)),s=n(9858);t.default=function(e,t){return fetch("".concat(a.default.apiOrigin,"/identity/public/v1/password/reset/").concat(e),{method:"PUT",headers:s.headers,body:JSON.stringify({newPassword:t})}).then(o.default).then(function(e){if((0,i.isAPIErrorResponse)(e))throw e;return!0})}},94354:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=n(46544),o=n(25975);t.default=function(e){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){switch(t.label){case 0:return(0,o.isGoogleCredentialResponse)(e)?[4,(0,i.socialLogin)("google",{credentials:e.credential})]:[3,2];case 1:return[2,t.sent()];case 2:throw new Error("[Arc Identity SDK]: Error getting google jwt credential. ".concat(e))}})})}},24720:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=n(9858),o=r.__importDefault(n(91809)),a=n(87850),s=r.__importDefault(n(51010));t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function(){var n,l;return r.__generator(this,function(c){switch(c.label){case 0:return n=r.__assign({},i.headers),o.default.userIdentity&&o.default.userIdentity.accessToken&&o.default.userIdentity.refreshToken?[4,o.default.heartbeat()]:[3,2];case 1:c.sent(),n.Authorization="Bearer ".concat(o.default.userIdentity.accessToken),c.label=2;case 2:return l=function(){var n={code:e};return t&&(n=r.__assign(r.__assign({},n),{state:t})),new URLSearchParams(n).toString()},[2,fetch("".concat(o.default.apiOrigin,"/identity/public/v2/oidc/signin?").concat(l()),{method:"GET",headers:r.__assign({},n)}).then(s.default).then(function(e){if(localStorage.removeItem(i.PROFILE_STORAGE_KEY_EXPIRED_TIME),(0,a.isUserIdentity)(e))return o.default.userIdentity=e,window.postMessage({type:"ARC_LOGIN_SUCCESS",grantType:"OIDC"},"*"),o.default.userIdentity;throw e})]}})})}},9065:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isOIDCToken=void 0;var r=n(11238),i=n(9858),o=r.__importDefault(n(91809)),a=n(87850),s=r.__importDefault(n(51010));function l(e){return void 0!==e.access_token}t.isOIDCToken=l,t.default=function(e){var t=e.client_id,n=e.code_verifier,c=e.redirect_uri,u=e.code;return r.__awaiter(this,void 0,void 0,function(){var e,d,p,f,h;return r.__generator(this,function(m){switch(m.label){case 0:return e=r.__assign({},i.headers),o.default.userIdentity&&o.default.userIdentity.accessToken&&o.default.userIdentity.refreshToken?[4,o.default.heartbeat()]:[3,2];case 1:m.sent(),e.Authorization="Bearer ".concat(o.default.userIdentity.accessToken),m.label=2;case 2:(d=new FormData).append("grant_type","authorization_code"),d.append("client_id",t),d.append("code_verifier",n),d.append("redirect_uri",c),d.append("code",u),m.label=3;case 3:return m.trys.push([3,6,,7]),[4,fetch("".concat(o.default.apiOrigin,"/identity/public/v2/oidc/provider/token"),{method:"POST",headers:new Headers,body:d}).then(s.default)];case 4:if(!l(p=m.sent()))throw p;return o.default.userIdentity={accessToken:p.access_token,refreshToken:p.refresh_token,idToken:p.id_token,expiresIn:p.expires_in},window.postMessage({type:"ARC_LOGIN_SUCCESS",grantType:"OIDC"},"*"),[4,fetch("".concat(o.default.apiOrigin,"/identity/public/v1/auth/token"),{method:"POST",headers:e,body:JSON.stringify({token:p.refresh_token,grantType:"refresh-token"})}).then(s.default)];case 5:if(f=m.sent(),(0,a.isUserIdentity)(f))return h=r.__assign(r.__assign({},o.default.userIdentity),{uuid:f.uuid,accessToken:f.accessToken,refreshToken:f.refreshToken||o.default.userIdentity.refreshToken}),o.default.userIdentity=h,[2,o.default.userIdentity];throw f.code&&console.warn("".concat(i.logPrefix,' code:"').concat(f.code,'", message:"').concat(f.message,'"')),o.default.clearSession(),f;case 6:throw m.sent();case 7:return[2]}})})}},80055:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=r.__importDefault(n(51010)),o=n(12239),a=r.__importDefault(n(91809)),s=n(9858),l=r.__importStar(n(45507));t.default=function(e,t,n,c,u){return(0,l.default)(l.RecaptchaMethod.SIGN_UP,u).then(function(){return fetch("".concat(a.default.apiOrigin,"/identity/public/v1/signup"),{method:"POST",headers:s.headers,body:JSON.stringify({identity:e,profile:t,recaptchaToken:u})})}).then(i.default).then(function(e){if((0,o.isSignUpResponse)(e)){a.default._isSession=!c;var t=e.identities,n=e.profile,i=e.uuid,s=r.__rest(e,["identities","profile","uuid"]);return a.default.userProfile=r.__assign(r.__assign({},n),{identities:t,uuid:i}),a.default.userIdentity=r.__assign({uuid:i},s),e}throw e})}},46544:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.socialLogin=void 0;var r=n(11238),i=r.__importDefault(n(91809)),o=n(87850),a=n(9858),s=r.__importDefault(n(51010));t.socialLogin=function(e,t){return r.__awaiter(this,void 0,void 0,function(){var n;return r.__generator(this,function(l){switch(l.label){case 0:return n=r.__assign({},a.headers),i.default.userIdentity&&i.default.userIdentity.accessToken&&i.default.userIdentity.refreshToken?[4,i.default.heartbeat()]:[3,2];case 1:l.sent(),n.Authorization="Bearer ".concat(i.default.userIdentity.accessToken),l.label=2;case 2:return[2,fetch("".concat(i.default.apiOrigin,"/identity/public/v1/auth/login"),{method:"POST",headers:n,body:JSON.stringify(r.__assign(r.__assign({},t),{userName:"",grantType:e}))}).then(s.default).then(function(t){if((0,o.isUserIdentity)(t))return localStorage.removeItem(a.PROFILE_STORAGE_KEY_EXPIRED_TIME),i.default.userIdentity=t,window.postMessage({type:"ARC_LOGIN_SUCCESS",grantType:e},"*"),t;throw t})]}})})}},25975:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFacebookLoginResponse=t.isGoogleCredentialResponse=t.isLegacyGoogleSetting=void 0,t.isLegacyGoogleSetting=function(e){return void 0!==e.auth2},t.isGoogleCredentialResponse=function(e){return void 0!==e.credential},t.isFacebookLoginResponse=function(e){return void 0!==e.status}},69633:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=n(9858),o=r.__importDefault(n(51010)),a=n(6032),s=r.__importDefault(n(91809));t.default=function(e){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){switch(t.label){case 0:return[4,s.default.isLoggedIn()];case 1:if(!t.sent())throw new Error("".concat(i.logPrefix," Missing or invalid jwt"));return[2,fetch("".concat(s.default.apiOrigin,"/identity/public/v2/oidc/unlink"),{method:"PUT",headers:r.__assign({Authorization:"Bearer ".concat(s.default.userIdentity.accessToken)},i.headers),body:JSON.stringify({identifier:e})}).then(o.default).then(function(e){if((0,a.isAPIErrorResponse)(e))throw e;return localStorage.removeItem(i.PROFILE_STORAGE_KEY_EXPIRED_TIME),e})]}})})}},84897:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=n(6032),o=r.__importDefault(n(51010)),a=r.__importDefault(n(91809)),s=n(9858);t.default=function(e){var t,n,l,c;return r.__awaiter(this,void 0,void 0,function(){var u;return r.__generator(this,function(d){switch(d.label){case 0:return[4,a.default.isLoggedIn()];case 1:if(!d.sent())throw new Error("".concat(s.logPrefix," Missing or invalid jwt"));if(globalThis.google&&"google"===e){u=null!==(c=null===(l=null===(n=null===(t=null===a.default||void 0===a.default?void 0:a.default.userProfile)||void 0===t?void 0:t.identities)||void 0===n?void 0:n.find(function(e){return"Google"===e.type}))||void 0===l?void 0:l.userName)&&void 0!==c?c:"";try{globalThis.google.accounts.id.revoke(u)}catch(e){throw new Error("[Arc Identity SDK]: Error revoking sign in with google user consent. ".concat(e))}}return[2,fetch("".concat(a.default.apiOrigin,"/identity/public/v1/identity/").concat(e),{method:"DELETE",headers:r.__assign({Authorization:"Bearer ".concat(a.default.userIdentity.accessToken)},s.headers)}).then(o.default).then(function(e){if((0,i.isAPIErrorResponse)(e))throw e;return localStorage.removeItem(s.PROFILE_STORAGE_KEY_EXPIRED_TIME),e})]}})})}},41311:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=r.__importDefault(n(51010)),o=n(87850),a=r.__importDefault(n(91809)),s=n(9858);t.default=function(e,t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(n){switch(n.label){case 0:return[4,a.default.isLoggedIn()];case 1:if(!n.sent())throw new Error("".concat(s.logPrefix," Missing or invalid jwt"));return[2,fetch("".concat(a.default.apiOrigin,"/identity/public/v1/password"),{method:"PUT",headers:r.__assign({Authorization:"Bearer ".concat(a.default.userIdentity.accessToken)},s.headers),body:JSON.stringify({oldPassword:e,newPassword:t})}).then(i.default).then(function(e){if((0,o.isUpdatePasswordSuccessResponse)(e))return!0;throw e})]}})})}},69092:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=r.__importDefault(n(51010)),o=n(12239),a=r.__importDefault(n(91809)),s=n(9858);t.default=function(e){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){switch(t.label){case 0:return[4,a.default.isLoggedIn()];case 1:if(!t.sent())throw new Error("".concat(s.logPrefix," Missing or invalid jwt"));return(0,o.isUserProfile)(e)&&delete e.uuid,[2,fetch("".concat(a.default.apiOrigin,"/identity/public/v1/profile"),{method:"PATCH",headers:r.__assign({Authorization:"Bearer ".concat(a.default.userIdentity.accessToken)},s.headers),body:JSON.stringify(e)}).then(i.default).then(function(e){if((0,o.isUserProfile)(e))return a.default.userProfile=e,a.default.userProfile;throw e})]}})})}},87850:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUserIdentity=t.isUpdatePasswordSuccessResponse=void 0,t.isUpdatePasswordSuccessResponse=function(e){return void 0!==e.userName},t.isUserIdentity=function(e){return void 0!==e.uuid}},12239:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSignUpResponse=t.isUserProfile=void 0,t.isUserProfile=function(e){return void 0!==e.uuid},t.isSignUpResponse=function(e){return void 0!==e.uuid}},55722:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUserSegment=void 0,t.isUserSegment=function(e){return void 0!==e.segment}},23128:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238),i=r.__importDefault(n(51010)),o=r.__importDefault(n(91809)),a=n(9858);t.default=function(e){return fetch("".concat(o.default.apiOrigin,"/identity/public/v1/email/verify/").concat(e),{method:"GET",headers:a.headers}).then(i.default).then(function(e){if(e.success)return!0;throw e})}},6032:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAPIErrorResponse=void 0,t.isAPIErrorResponse=function(e){return void 0!==e.code&&void 0!==e.message}},51010:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238);t.default=function(e){return r.__awaiter(this,void 0,void 0,function(){var t;return r.__generator(this,function(n){switch(n.label){case 0:return[4,e.clone().text()];case 1:t=n.sent();try{return[2,JSON.parse(t)]}catch(n){return 2==(e.status/100|0)?[2,Promise.resolve({message:t})]:[2,Promise.resolve({code:e.status,message:t,httpStatus:e.status,error:!0})]}}})})}},15026:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ONGOING_FETCHES=void 0;var r=n(9858);t.ONGOING_FETCHES=new Map,t.default=function(e,n,i){if(void 0===n&&(n={}),t.ONGOING_FETCHES.has(i))return console.info("".concat(r.logPrefix," ").concat(i," cannot be called until the previous to ").concat(i," completes")),t.ONGOING_FETCHES.get(i);var o=fetch(e,n).finally(function(){t.ONGOING_FETCHES.delete(i)});return t.ONGOING_FETCHES.set(i,o),o}},12433:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9858),i=function(){function e(e,t,n){void 0===e&&(e=""),this.sessionIndicator=".session",this.length=1,this.baseDomain=e,this.cookieString=t?this.sessionIndicator:"",this.doc=document,this.expDate=n}return e.prototype.isSession=function(e){var t="".concat(e).concat(this.sessionIndicator);return document.cookie.indexOf(t)>=0||this.cookieString.indexOf(this.sessionIndicator)>=0},e.prototype.getItem=function(e){if(!e||!this._has(e))return null;var t="(?:^|.*;\\s*)"+encodeURIComponent("".concat(e).concat(this.isSession(e)?this.sessionIndicator:"")).replace(/[-.+*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return JSON.parse(decodeURIComponent(this.doc.cookie.replace(new RegExp(t),"$1")))},e.prototype.setItem=function(e,t){if(e){var n=encodeURIComponent(JSON.stringify(t)),i=encodeURIComponent("".concat(e).concat(this.isSession(e)?this.sessionIndicator:"")),o=this.expDate&&e===r.PROFILE_STORAGE_KEY?new Date(this.expDate).toUTCString():"Tue, 19 Jan 2038 03:14:07 GMT";if(this.cookieString="".concat(i,"=").concat(n,";
2 ").concat(this.isSession(e)?"":"expires="+o+"; ",";").concat(this.baseDomain?"domain=".concat(this.baseDomain,";"):""," path=/"),!(t&&n.length>4e3))return this.doc.cookie=this.cookieString,t;console.warn("".concat(r.logPrefix,' Unable to save data to key "').concat(e,'" due to the size of the data (').concat(this.cookieString.length," bytes is greater than maximum allowed 4 KB)"))}},e.prototype.removeItem=function(e){e&&this._has(e)&&(this.doc.cookie=encodeURIComponent("".concat(e).concat(this.isSession(e)?this.sessionIndicator:""))+"=; Max-Age=-99999999;".concat(this.baseDomain?"domain=".concat(this.baseDomain,";"):""," path=/"))},e.prototype.clear=function(){console.warn("".concat(r.logPrefix," unsupported method, please use .removeItem(key) instead."))},e.prototype.key=function(e){return console.warn("".concat(r.logPrefix," unsupported method, please use getItem(key) instead.")),"N/A"},e.prototype._has=function(e){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[-.+*]/g,"\\$&")+"\\s*\\=").test(this.doc.cookie)||new RegExp("(?:^|;\\s*)"+encodeURIComponent(e+this.sessionIndicator).replace(/[-.+*]/g,"\\$&")+"\\s*\\=").test(this.doc.cookie)},e}();t.default=i},45507:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecaptchaMethod=void 0;var r,i=n(11238),o=i.__importDefault(n(91809)),a=n(75529);!function(e){e.SIGN_IN="SIGN_IN",e.SIGN_UP="SIGN_UP",e.MAGIC_LINK="MAGIC_LINK",e.RESET_PASSWORD="RESET_PASSWORD"}(r||(t.RecaptchaMethod=r={})),t.default=function(e,t){return i.__awaiter(this,void 0,void 0,function(){var n;return i.__generator(this,function(i){switch(i.label){case 0:return[4,o.default.getConfig()];case 1:if(n=i.sent(),(0,a.isConfigOptions)(n)&&(e===r.MAGIC_LINK&&n.magicLinkRecaptcha||e===r.SIGN_IN&&n.signinRecaptcha||e===r.SIGN_UP&&n.signupRecaptcha||e===r.RESET_PASSWORD&&n.resetPasswordRecaptcha)&&!t)throw{code:"130001",message:"Captcha token invalid"};return[2,!0]}})})}},5649:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fireEvent=void 0;var n=function(e,t){if(void 0===t&&(t={bubbles:!1,cancelable:!1,detail:null}),document){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}};"undefined"!=typeof Event&&(n.prototype=Event.prototype);t.fireEvent=function(e,t){if(void 0===t&&(t={}),"undefined"!=typeof window){window.CustomEvent&&"function"==typeof window.CustomEvent||(window.CustomEvent=n);var r=new(CustomEvent||window.CustomEvent)(e,t);window.dispatchEvent(r)}}},24271:function(e,t){"use strict";function n(e){try{var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(window.atob(t))}catch(t){console.error("[ArcSDK] Error parsing JWT: ".concat(e,"\n ").concat(t))}}Object.defineProperty(t,"__esModule",{value:!0}),t.jwtHasExp=t.isJwtExpired=t.parseJwt=void 0,t.parseJwt=n,t.isJwtExpired=function(e){return 1e3*n(e).exp<=Date.now()},t.jwtHasExp=function(e){return!!n(e).exp}},10965:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBrowserLocale=t.bestFacebookLocaleFor=void 0;var n=["af_ZA","ak_GH","am_ET","ar_AR","as_IN","ay_BO","az_AZ","be_BY","bg_BG","bn_IN","br_FR","bs_BA","ca_ES","cb_IQ","ck_US","co_FR","cs_CZ","cx_PH","cy_GB","de_DE","da_DK","el_GR","en_GB","en_IN","en_PI","en_UD","en_US","eo_EO","es_LA","es_CL","es_CO","es_ES","es_MX","es_VE","et_EE","eu_ES","fa_IR","fb_LT","ff_NG","fi_FI","fo_FO","fr_FR","fr_CA","fy_NL","ga_IE","gl_ES","gn_PY","gu_IN","gx_GR","ha_NG","he_IL","hi_IN","hr_HR","hu_HU","hy_AM","id_ID","ig_NG","is_IS","it_IT","ja_JP","ja_KS","jv_ID","ka_GE","kk_KZ","km_KH","kn_IN","ko_KR","ku_TR","la_VA","lg_UG","li_NL","ln_CD","lo_LA","lt_LT","lv_LV","mg_MG","mk_MK","ml_IN","mn_MN","mr_IN","ms_MY","mt_MT","my_MM","nb_NO","nd_ZW","ne_NP","nl_BE","nl_NL","nn_NO","ny_MW","or_IN","pa_IN","pl_PL","ps_AF","pt_BR","pt_PT","qu_PE","rm_CH","ro_RO","ru_RU","rw_RW","sa_IN","sc_IT","se_NO","si_LK","sk_SK","sl_SI","sn_ZW","so_SO","sq_AL","sr_RS","sv_SE","sw_KE","sy_SY","sz_PL","ta_IN","te_IN","tg_TJ","th_TH","tk_TM","tl_PH","tl_ST","tr_TR","tt_RU","tz_MA","uk_UA","ur_PK","uz_UZ","vi_VN","wo_SN","xh_ZA","yi_DE","yo_NG","zh_CN","zh_HK","zh_TW","zu_ZA","zz_TR"],r={es_AR:"es_LA",es_PE:"es_LA",es_EC:"es_LA",es_GT:"es_LA",es_CU:"es_LA",es_BO:"es_LA",es_DO:"es_LA",es_HN:"es_LA",es_PY:"es_LA",es_SV:"es_LA",es_NI:"es_LA",es_CR:"es_LA",es_PR:"es_LA",es_PA:"es_LA",es_UY:"es_LA",es_GQ:"es_LA",ar_DZ:"ar_AR",ar_BH:"ar_AR",ar_TD:"ar_AR",ar_KM:"ar_AR",ar_DJ:"ar_AR",ar_EG:"ar_AR",ar_ER:"ar_AR",ar_GM:"ar_AR",ar_IQ:"ar_AR",ar_IL:"ar_AR",ar_JO:"ar_AR",ar_KW:"ar_AR",ar_LB:"ar_AR",ar_LY:"ar_AR",ar_MR:"ar_AR",ar_MA:"ar_AR",ar_OM:"ar_AR",ar_PS:"ar_AR",ar_QA:"ar_AR",ar_SA:"ar_AR",ar_SO:"ar_AR",ar_SD:"ar_AR",ar_SY:"ar_AR",ar_TN:"ar_AR",ar_AE:"ar_AR",ar_YE:"ar_AR"};t.bestFacebookLocaleFor=function(e){var t=e.replace("-","_");
2if(n.indexOf(t)>-1)return t;if(r[t])return r[t];var i=t.substring(0,2),o=n.find(function(e){return e.substring(0,2)===i});return o||"en_US"};t.getBrowserLocale=function(){return navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.userLanguage||navigator.language||navigator.browserLanguage||"en_US"}},90438:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this._memoryStorage={}}return e.prototype.length=function(){return Object.keys(this._memoryStorage).length},e.prototype.getItem=function(e){return this._memoryStorage[e]},e.prototype.setItem=function(e,t){if(e)return this._memoryStorage[e]=t,t},e.prototype.removeItem=function(e){e&&this._memoryStorage[e]&&(this._memoryStorage[e]=void 0)},e.prototype.clear=function(){this._memoryStorage={}},e.prototype.key=function(e){return console.warn("[ArcId] unsupported method, please use getItem(key) instead."),"N/A"},e}();t.default=n},69519:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldStorageChange=t.initStorage=void 0;var r=n(11238),i=r.__importDefault(n(12433)),o=r.__importDefault(n(90438)),a=n(9858);t.initStorage=function(e,t,n){void 0===e&&(e="");var r=t;if("undefined"==typeof window)return new o.default;var s=new i.default(void 0,void 0,n);if(e){var l=new i.default(e,t,n);return localStorage.removeItem(a.IDENTITY_STORAGE_KEY),sessionStorage.removeItem(a.IDENTITY_STORAGE_KEY),l}if(void 0===r)if(sessionStorage.getItem(a.IDENTITY_STORAGE_KEY)&&"{}"!==sessionStorage.getItem(a.IDENTITY_STORAGE_KEY))r=!0;else if(localStorage.getItem(a.IDENTITY_STORAGE_KEY)&&"{}"!==localStorage.getItem(a.IDENTITY_STORAGE_KEY))r=!1;else{l=new i.default(e,void 0,n);var c=JSON.parse(l.getItem(a.IDENTITY_STORAGE_KEY)||"{}");r=!!(c&&Object.keys(c).length>0)&&l.isSession(a.IDENTITY_STORAGE_KEY)}try{var u="ArcId.test";return r?(sessionStorage.setItem(u,"testValue"),sessionStorage.removeItem(u),localStorage.removeItem(a.IDENTITY_STORAGE_KEY),s.removeItem(a.IDENTITY_STORAGE_KEY),sessionStorage):(localStorage.setItem(u,"testValue"),localStorage.removeItem(u),sessionStorage.removeItem(a.IDENTITY_STORAGE_KEY),s.removeItem(a.IDENTITY_STORAGE_KEY),localStorage)}catch(t){return localStorage.removeItem(a.IDENTITY_STORAGE_KEY),sessionStorage.removeItem(a.IDENTITY_STORAGE_KEY),new i.default(e,r,n)}},t.shouldStorageChange=function(e,t,n){return!e||e instanceof i.default&&e.isSession(n)!==t||e===sessionStorage&&!t||e===localStorage&&t}},18029:function(e,t,n){"use strict";var r=n(11238),i=r.__importDefault(n(11114));t.A=function(e,t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(n){return[2,fetch("".concat(e,"/sales/public/v1/cart/item"),t).then(i.default)]})})}},6248:function(e,t){"use strict";t.Q=void 0,t.Q=function(e){return void 0!==e.code&&void 0!==e.message}},11114:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11238);t.default=function(e){return r.__awaiter(this,void 0,void 0,function(){var t;return r.__generator(this,function(n){switch(n.label){case 0:return[4,e.text()];case 1:t=n.sent();try{return[2,JSON.parse(t)]}catch(n){return 2==(e.status/100|0)?[2,Promise.resolve({message:t})]:[2,Promise.resolve({code:e.status,message:t,httpStatus:e.status,error:!0})]}}})})}},92131:function(e){"undefined"!=typeof self&&self,e.exports=(()=>{var e={
vendor: 378 bytes, line 2
2"./node_modules/anylogger-console/anylogger-console.cjs.js":(e,t,n)=>{function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(n("./node_modules/anylogger/anylogger.cjs.js"));i.default.ext=function(e){var t="undefined"!=typeof console&&console;for(var n in i.default.levels)e[n]=t&&(t[n]||t.log)||function(){};return e.enabledFor=function(){return!0},e}},
vendor: 556 bytes, line 2
2"./node_modules/anylogger/anylogger.cjs.js":e=>{var t=Object.create(null),n=function(e,r){return e?t[e]||(t[e]=n.ext(n.new(e,r))):t};n.levels={error:1,warn:2,info:3,log:4,debug:5,trace:6},n.new=function(e,t){var r={};r[e]=function(){n.log(e,[].slice.call(arguments))};try{Object.defineProperty(r[e],"name",{get:function(){return e}})}catch(e){}return r[e]},n.log=function(e,r){var i=r.length>1&&n.levels[r[0]]?r.shift():"log";t[e][i].apply(t[e],r)},n.ext=function(e){for(var t in e.enabledFor=function(){},n.levels)e[t]=function(){};return e},e.exports=n},
2"./src/services/amazon.js":(e,t,n)=>{"use strict";function r(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=n;if(r&&void 0!==window.innerWidth&&void 0!==n[0][0][0]){for(var s=window.innerWidth,l=-1,c=r.length,u=0;u<c;u++)if(s>=r[u][0]){l=u;break}a=n[l]}i(function(){var n={slotName:t,slotID:e,sizes:a};window.apstag.fetchBids({slots:[n]},function(){window.apstag.setDisplayBids(),o&&o()})})}function i(e){window.apstag&&e()}n.r(t),n.d(t,{fetchAmazonBids:()=>r,queueAmazonCommand:()=>i})},
2"./src/services/gpt.js":(e,t,n)=>{"use strict";n.r(t),n.d(t,{initializeGPT:()=>a,refreshSlot:()=>s,queueGoogletagCommand:()=>l,setTargeting:()=>c,dfpSettings:()=>u,determineSlotName:()=>d});var r=n("./src/util/resources.js"),i=n("./src/util/query.js"),o=n("./src/util/log.js");function a(){window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],(0,r.appendResource)("script","//securepubads.g.doubleclick.net/tag/js/gpt.js",!0,!0),(0,o.sendLog)("initializeGPT()","Appended googletag script to the head tag of the page.",null)}function s(e){var t=e.ad,n=e.correlator,r=void 0!==n&&n,i=e.prerender,a=void 0===i?null:i,s=e.info,l=void 0===s?{}:s;function c(){if(window.blockArcAdsLoad)return"blockArcAdsLoad";window.googletag&&googletag.pubadsReady?window.googletag.pubads().refresh([t],{changeCorrelator:r}):setTimeout(function(){c()},200)}new Promise(function(e){if(a)try{a(l).then(function(){e("Prerender function has completed.")})}catch(t){console.warn("ArcAds: Prerender function did not return a promise or there was an error.\n Documentation: https://github.com/washingtonpost/arcads/wiki/Utilizing-a-Prerender-Hook"),e("Prerender function did not return a promise or there was an error, ignoring.")}else e("No Prerender function was provided.")}).then(function(){c()}).catch(function(e){(0,o.sendLog)("header bidding","init error",e)})}function l(e){window.googletag.cmd.push(e)}function c(e,t){for(var n in t)t.hasOwnProperty(n)&&t[n]&&e.setTargeting(n,t[n])}function u(e){window.googletag.pubads().disableInitialLoad(),window.googletag.pubads().enableSingleRequest(),window.googletag.pubads().enableAsyncRendering(),this.collapseEmptyDivs&&((0,o.sendLog)("dfpSettings()","This wrapper is set to collapse any empty divs.",null),window.googletag.pubads().collapseEmptyDivs()),window.googletag.enableServices(),e&&((0,o.sendLog)("dfpSettings()","This wrapper has a function to call upon the slot render ending.",null),window.googletag.pubads().addEventListener("slotRenderEnded",e))}function d(e,t){var n=(0,i.expandQueryString)("adslot");return!n||""===n&&null===n?"/".concat(e,"/").concat(t):"/".concat(e,"/").concat(n)}},
2"./src/services/headerbidding.js":(e,t,n)=>{"use strict";n.r(t),n.d(t,{initializeBiddingServices:()=>s,fetchBids:()=>l});var r=n("./src/services/prebid.js"),i=n("./src/services/amazon.js"),o=n("./src/services/gpt.js"),a=n("./src/util/log.js");function s(e){var t=e.prebid,n=void 0!==t&&t,r=e.amazon,o=void 0!==r&&r;if(window.arcBiddingReady)(0,a.sendLog)("initializeBiddingServices()","Header bidding has been previously initialized",null);else{window.arcBiddingReady=!1;var s=new Promise(function(e){if(n&&n.enabled){if("undefined"==typeof pbjs){var t=t||{};t.que=t.que||[]}e("Prebid has been initialized")}else(0,a.sendLog)("initializeBiddingServices()","Prebid is not enabled on this wrapper.",null),e("Prebid is not enabled on the wrapper...")}),l=new Promise(function(e){o&&o.enabled&&window.apstag?o.id&&""!==o.id?(0,i.queueAmazonCommand)(function(){window.apstag.init({pubID:o.id,adServer:"googletag"}),e("Amazon scripts have been added onto the page!")}):(console.warn("ArcAds: Missing Amazon account id. \n Documentation: https://github.com/washingtonpost/arcads#amazon-tama9"),(0,a.sendLog)("initializeBiddingServices()","Amazon is not enabled on this wrapper.",null),e("Amazon is not enabled on the wrapper...")):e("Amazon is not enabled on the wrapper...")});Promise.all([s,l]).then(function(){window.arcBiddingReady=!0}).catch(function(e){(0,a.sendLog)("header bidding","init error",e)})}}function l(e){var t=this,n=e.ad,l=e.id,c=e.slotName,u=e.dimensions,d=e.wrapper,p=e.bidding,f=e.correlator,h=void 0!==f&&f,m=e.prerender,g=e.breakpoints,b={adUnit:n,adSlot:c,adDimensions:u,adId:l,bids:p},y=new Promise(function(e){if(d.prebid&&d.prebid.enabled){var i=d.prebid.timeout||700;r.queuePrebidCommand.bind(t,(0,r.fetchPrebidBids)(n,d.prebid.useSlotForAdUnit?c:l,i,b,m,function(){e("Fetched Prebid ads!")}))}else e("Prebid is not enabled on the wrapper...")}),v=new Promise(function(e){d.amazon&&d.amazon.enabled?(0,i.fetchAmazonBids)(l,c,u,g,function(){e("Fetched Amazon ads!")}):e("Amazon is not enabled on the wrapper...")});window.arcBiddingReady?Promise.all([y,v]).then(function(){(0,o.refreshSlot)({ad:n,correlator:h,prerender:m,info:b})}).catch(function(e){(0,a.sendLog)("header bidding","init error",e)}):setTimeout(function(){return s()},200)}},
2"./src/services/prebid.js":(e,t,n)=>{"use strict";n.r(t),n.d(t,{queuePrebidCommand:()=>s,fetchPrebidBidsArray:()=>l,fetchPrebidBids:()=>c,addUnit:()=>u});var r=n("./src/services/gpt.js");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){pbjs.que.push(e)}function l(e,t,n,i,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;pbjs.addAdUnits(i),window.blockArcAdsPrebid||pbjs.requestBids({timeout:n,adUnitCodes:t,bidsBackHandler:function(n){console.log("Bid Back Handler",n),pbjs.setTargetingForGPTAsync(t),a?a():(0,r.refreshSlot)({ad:e,info:i,prerender:o})}})}function c(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=r;a.bids=Array.isArray(r.bids)?r.bids:[r.bids],l(e,[t],n,a,i,o)}function u(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=o({code:e,bids:n},arguments.length>4&&void 0!==arguments[4]?arguments[4]:{});i.mediaTypes={banner:{sizes:t}};var a=r.sizeConfig,s=r.config;pbjs.addAdUnits(i),s?pbjs.setConfig(s):a&&pbjs.setConfig({sizeConfig:a})}},
2"./src/services/sizemapping.js":(e,t,n)=>{"use strict";n.r(t),n.d(t,{sizemapListeners:()=>s,resizeListeners:()=>l,prepareSizeMaps:()=>c,parseSizeMappings:()=>u,runResizeEvents:()=>d,setResizeListener:()=>p});var r=n("./src/util/debounce.js"),i=n("./src/services/headerbidding.js"),o=n("./src/services/gpt.js"),a=n("./src/util/log.js"),s={},l={};function c(e,t){var n=[],r=[],i=[],o=t.length?t:null;return o&&e&&o.forEach(function(t,o){n.push([t,e[o]]),-1===r.indexOf(t[0])&&(r.push(t[0]),i.push(!1))}),r.sort(function(e,t){return e-t}),{mapping:n,breakpoints:r,correlators:i}}function u(e){try{var t=[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight],n=e.filter(function(e){return e[0][0]<=t[0]&&e[0][1]<=t[1]}),r=n.length>0?n[0][1]:[];return r.length>0&&r[0].constructor!==Array&&(r=[r]),r}catch(t){return(0,a.sendLog)("parseSizeMappings()","invalid size mapping",null),e[e.length-1][1]}}function d(e){var t,n=!1;if(e.breakpoints){var r=window.innerWidth;t=e.breakpoints.filter(function(e){return e<r}).pop()||e.breakpoints[0]}return function(){for(var r,a,l=e.ad,c=e.breakpoints,d=e.id,p=e.bidding,f=e.mapping,h=e.slotName,m=e.wrapper,g=e.prerender,b=window.innerWidth,y=0;y<c.length;y++){if(r=c[y],a=c[y+1],t!==r&&(b>r&&(b<a||!a)||b===r&&!n)){t=r,n=!0;var v=u(f),w={adUnit:l,adSlot:h,adDimensions:v,adId:d};p.prebid&&p.prebid.enabled||p.amazon&&p.amazon.enabled?(0,i.fetchBids)({ad:l,id:d,slotName:h,dimensions:v,bidding:p,wrapper:m,prerender:g,correlator:s[d].correlators[y],breakpoints:c}):(0,o.refreshSlot)({ad:l,correlator:s[d].correlators[y],prerender:g,info:w})}s[d].correlators[y]=!0}}}function p(e){var t=e.id,n=e.correlators;l[t]=(0,r.debounce)(d(e),250),window.addEventListener("resize",l[t]),s[t]={listener:l[t],correlators:n}}},
2"./src/util/debounce.js":(e,t,n)=>{"use strict";function r(e,t){var n;return function(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout(function(){n=null,e.apply(r,o)},t)}}n.r(t),n.d(t,{debounce:()=>r})},
2"./src/util/log.js":(e,t,n)=>{"use strict";n.r(t),n.d(t,{sendLog:()=>o});var r=n("./node_modules/anylogger/anylogger.cjs.js"),i=n.n(r);function o(e,t,n){try{"true"===new URLSearchParams(window.location.search).get("debug")&&i()("arcads.js")({service:"ArcAds",timestamp:"".concat(new Date),"logging from":e,description:t,slotName:n})}catch(e){console.error(e)}}n("./node_modules/anylogger-console/anylogger-console.cjs.js")},
2"./src/util/mobile.js":(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.r(t),n.d(t,{MobileDetection:()=>i,default:()=>o});var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,i=[{key:"Android",value:function(){return!!navigator.userAgent.match(/Android/i)}},{key:"AndroidOld",value:function(){return!!navigator.userAgent.match(/Android 2.3.3/i)}},{key:"AndroidTablet",value:function(){return!(!navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/Mobile/i))}},{key:"Kindle",value:function(){return!!navigator.userAgent.match(/Kindle/i)}},{key:"KindleFire",value:function(){return!!navigator.userAgent.match(/KFOT/i)}},{key:"Silk",value:function(){return!!navigator.userAgent.match(/Silk/i)}},{key:"BlackBerry",value:function(){return!!navigator.userAgent.match(/BlackBerry/i)}},{key:"iOS",value:function(){return!!navigator.userAgent.match(/iPhone|iPad|iPod/i)}},{key:"iPhone",value:function(){return!!navigator.userAgent.match(/iPhone|iPod/i)}},{key:"iPad",value:function(){return!!navigator.userAgent.match(/iPad/i)}},{key:"Windows",value:function(){return!!navigator.userAgent.match(/IEMobile/i)}},{key:"FirefoxOS",value:function(){return!!navigator.userAgent.match(/Mozilla/i)&&!!navigator.userAgent.match(/Mobile/i)}}
2,{key:"Retina",value:function(){return window.retina||window.devicePixelRatio>1}},{key:"any",value:function(){return this.Android()||this.Kindle()||this.KindleFire()||this.Silk()||this.BlackBerry()||this.iOS()||this.Windows()||this.FirefoxOS()}}],(n=null)&&r(t.prototype,n),i&&r(t,i),e}();const o=i},
2"./src/util/query.js":(e,t,n)=>{"use strict";function r(e){var t=window.location.href,n=e.replace(/[[\]]/g,"\\$&"),r=new RegExp("[?&]".concat(n,"(=([^&#]*)|&|#|$)")).exec(t);return r?r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):"":null}n.r(t),n.d(t,{expandQueryString:()=>r})},
2"./src/util/resources.js":(e,t,n)=>{"use strict";function r(e,t,n,r,i){var o=document.createElement(e);"script"===e&&void 0===document.querySelectorAll('script[src="'.concat(t,'"]'))[0]&&(o.src=t,o.async=n||!1,o.defer=n||r||!1,(document.head||document.documentElement).appendChild(o),i&&i())}n.r(t),n.d(t,{appendResource:()=>r})}
2},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.r(r),n.d(r,{ArcAds:()=>f});var e=n("./src/util/mobile.js"),t=n("./src/util/log.js"),i=n("./src/services/headerbidding.js"),o=n("./src/services/gpt.js"),a=n("./src/services/prebid.js"),s=n("./src/services/sizemapping.js");function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e)||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.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e){return Array.isArray(e)?1+Math.max.apply(Math,u(e.map(function(e){return p(e)}))):0}var f=function(){function n(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;l(this,n),this.dfpId=r.dfp.id||"",this.wrapper=r.bidding||{},this.positions=[],this.collapseEmptyDivs=r.dfp.collapseEmptyDivs,this.adsList=[],window.isMobile=e.MobileDetection,""===this.dfpId?(console.warn("ArcAds: DFP id is missing from the arcads initialization script.","\n","Documentation: https://github.com/washingtonpost/arcads#getting-started"),(0,t.sendLog)("constructor()","The DFP id missing from the arcads initialization script. ArcAds cannot proceed.",null)):((0,o.initializeGPT)(),(0,o.queueGoogletagCommand)(o.dfpSettings.bind(this,a)),(0,i.initializeBiddingServices)(this.wrapper))}var r,d,f;return r=n,f=[{key:"setAdsBlockGate",value:function(){var e=n.getWindow();void 0!==e&&(e.blockArcAdsLoad=!0)}},{key:"releaseAdsBlockGate",value:function(){var e=n.getWindow();void 0!==e&&(e.blockArcAdsLoad=!1)}},{key:"getWindow",value:function(){return window}}],(d=[{key:"registerAd",value:function(e){var n=e.id,r=e.slotName,i=e.dimensions,s=e.adType,l=void 0!==s&&s,c=e.targeting,d=void 0===c?{}:c,f=e.display,h=void 0===f?"all":f,m=e.bidding,g=void 0!==m&&m,b=e.iframeBidders,y=void 0===b?["openx"]:b,v=e.others,w=void 0===v?{}:v,_=[],x=!1,j=p(i);i&&void 0!==i&&1===j||i&&void 0!==i&&i.length>0&&2===j?_.push.apply(_,u(i)):i&&i.forEach(function(e){_.push.apply(_,u(e))});try{if(!(d&&d.hasOwnProperty("position")||!1===l)){var O=this.positions[l]+1||1;this.positions[l]=O;var S=Object.assign(d,{position:O});Object.assign(e,{targeting:S})}var k=g.prebid&&(g.prebid.enabled&&g.prebid.bids||void 0===g.prebid.enabled&&g.prebid.bids);if(isMobile.any()&&"mobile"===h||!isMobile.any()&&"desktop"===h||"all"===h){if(k&&this.wrapper.prebid&&this.wrapper.prebid.enabled&&_){pbjs&&y.length>0&&pbjs.setConfig({userSync:{iframeEnabled:!0,filterSettings:{iframe:{bidders:y,filter:"include"}}}});var C=this.wrapper.prebid.useSlotForAdUnit?(0,o.determineSlotName)(this.dfpId,r):n;a.queuePrebidCommand.bind(this,(0,a.addUnit)(C,_,g.prebid.bids,this.wrapper.prebid,w))}(x=this.displayAd.bind(this,e))&&((0,t.sendLog)("registerAd()","Queuing Google Tag command for ad",r),(0,o.queueGoogletagCommand)(x))}}catch(e){console.error("ads error",e)}}},{key:"registerAdCollection",value:function(e){var t=this;e.forEach(function(e){t.registerAd(e)})}},{key:"registerAdCollectionSingleCall",value:function(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:700;(0,t.sendLog)("registerAdCollectionSingleCall()","Registering all reserved ads",null),window.blockArcAdsLoad=!0,window.blockArcAdsPrebid=!0,e.forEach(function(e){n.registerAd(e)}),window.blockArcAdsLoad=!1,window.blockArcAdsPrebid=!1,pbjs.requestBids({timeout:r,bidsBackHandler:function(e){console.log("Bid Back Handler",e),pbjs.setTargetingForGPTAsync(),window.googletag.pubads().refresh(window.adsList),window.adsList=[]}})}},{key:"displayAd",value:function(e){var n=e.id,r=e.slotName,a=e.dimensions,l=e.targeting,c=e.sizemap,u=void 0!==c&&c,d=e.bidding,p=void 0!==d&&d,f=e.prerender,h=void 0===f?null:f,m=(0,o.determineSlotName)(this.dfpId,r),g=a&&!a.length?null:a,b=a?window.googletag.defineSlot(m,g,n):window.googletag.defineOutOfPageSlot(m,n);if(u&&u.breakpoints&&a){var y=(0,s.prepareSizeMaps)(g,u.breakpoints),v=y.mapping,w=y.breakpoints,_=y.correlators;if(!b)return(0,t.sendLog)("displayAd()","No ad available to display - the div was either not defined or an ad with the same slot name already exists on the page",r),!1;b.defineSizeMapping(v),u.refresh&&((0,t.sendLog)("displayAd()","Attaching resize listener to the ad with this slot name and sizemap defined",r),(0,s.setResizeListener)({ad:b,slotName:m,breakpoints:w,id:n,mapping:v,correlators:_,bidding:p,wrapper:this.wrapper,prerender:h}))}b&&(b.addService(window.googletag.pubads()),(0,o.setTargeting)(b,l));var x=u&&u.breakpoints?u.breakpoints:[];window.adsList&&b&&adsList.push(b),a&&p&&(p.amazon&&p.amazon.enabled||p.prebid&&p.prebid.enabled)?((0,t.sendLog)("displayAd()","Fetching bids for ad with this slot name",r),(0,i.fetchBids)({ad:b,i
2d:n,slotName:m,dimensions:g,wrapper:this.wrapper,prerender:h,bidding:p,breakpoints:x})):window.blockArcAdsPrebid||((0,t.sendLog)("displayAd()","Refreshing ad with this slot name",r),(0,o.refreshSlot)({ad:b,prerender:h,info:{adUnit:b,adSlot:m,adDimensions:g,adId:n}}))}},{key:"sendSingleCallAds",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:700;if(this.adsList&&this.adsList.length<1)return(0,t.sendLog)("sendSingleCallAds()","No ads have been reserved on the page",null),!1;window&&window.googletag&&googletag.pubadsReady?(window.googletag.pubads().disableInitialLoad(),window.googletag.pubads().enableSingleRequest(),window.googletag.pubads().enableAsyncRendering(),this.registerAdCollectionSingleCall(this.adsList,n)):setTimeout(function(){e.sendSingleCallAds()},2e3)}},{key:"reserveAd",value:function(e){n.setAdsBlockGate(),this.adsList.push(e)}},{key:"setPageLeveTargeting",value:function(e,t){googletag.pubads().setTargeting(e,t)}}])&&c(r.prototype,d),f&&c(r,f),n}()})(),r})()},54830:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},21718:function(e,t){"use strict";function n(e){var t,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=n(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}t.A=function(){for(var e,t,r=0,i="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=n(e))&&(i&&(i+=" "),i+=t);return i}},19216:function(e,t,n){"use strict";n.d(t,{A:function(){return H}});var r=n(40809);function i(e){return function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e)||Array.isArray(e)}function o(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;return JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{const r=e[n],a=t[n];return"function"==typeof r?`${r}`==`${a}`:i(r)&&i(a)?o(r,a):r===a})}function a(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function s(e){return"number"==typeof e}function l(e){return"string"==typeof e}function c(e){return"boolean"==typeof e}function u(e){return"[object Object]"===Object.prototype.toString.call(e)}function d(e){return Math.abs(e)}function p(e){return Math.sign(e)}function f(e,t){return d(e-t)}function h(e){return v(e).map(Number)}function m(e){return e[g(e)]}function g(e){return Math.max(0,e.length-1)}function b(e,t){return t===g(e)}function y(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function v(e){return Object.keys(e)}function w(e,t){return[e,t].reduce((e,t)=>(v(t).forEach(n=>{const r=e[n],i=t[n],o=u(r)&&u(i);e[n]=o?w(r,i):i}),e),{})}function _(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function x(){let e=[];const t={add:function(n,r,i,o={passive:!0}){let a;if("addEventListener"in n)n.addEventListener(r,i,o),a=()=>n.removeEventListener(r,i,o);else{const e=n;e.addListener(i),a=()=>e.removeListener(i)}return e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function j(e,t,n,r){const i=x(),o=1e3/60;let a=null,s=0,l=0;function c(e){if(!l)return;a||(a=e,n(),n());const i=e-a;for(a=e,s+=i;s>=o;)n(),s-=o;r(s/o),l&&(l=t.requestAnimationFrame(c))}function u(){t.cancelAnimationFrame(l),a=null,s=0,l=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,s=0)})},destroy:function(){u(),i.clear()},start:function(){l||(l=t.requestAnimationFrame(c))},stop:u,update:n,render:r}}function O(e=0,t=0){const n=d(e-t);function r(t){return t<e}function i(e){return e>t}function o(e){return r(e)||i(e)}return{length:n,max:t,min:e,constrain:function(n){return o(n)?r(n)?e:t:n},reachedAny:o,reachedMax:i,reachedMin:r,removeOffset:function(e){return n?e-n*
vendor: 4,104 bytes, line 2
2Math.ceil((e-t)/n):e}}}function S(e,t,n){const{constrain:r}=O(0,e),i=e+1;let o=a(t);function a(e){return n?d((i+e)%i):r(e)}function s(){return o}function l(){return S(e,s(),n)}const c={get:s,set:function(e){return o=a(e),c},add:function(e){return l().set(s()+e)},clone:l};return c}function k(e,t,n,r,i,o,a,s,l,u,h,m,g,b,y,v,w,j,S){const{cross:k,direction:C}=e,P=["INPUT","SELECT","TEXTAREA"],T={passive:!1},E=x(),N=x(),A=O(50,225).constrain(b.measure(20)),I={mouse:300,touch:400},L={mouse:500,touch:600},D=y?43:25;let R=!1,M=0,$=0,F=!1,V=!1,z=!1,B=!1;function H(e){if(!_(e,r)&&e.touches.length>=2)return U(e);const t=o.readPoint(e),n=o.readPoint(e,k),a=f(t,M),l=f(n,$);if(!V&&!B){if(!e.cancelable)return U(e);if(V=a>l,!V)return U(e)}const c=o.pointerMove(e);a>v&&(z=!0),u.useFriction(.3).useDuration(.75),s.start(),i.add(C(c)),e.preventDefault()}function U(e){const t=h.byDistance(0,!1).index!==m.get(),n=o.pointerUp(e)*(y?L:I)[B?"mouse":"touch"],r=function(e,t){const n=m.add(-1*p(e)),r=h.byDistance(e,!y).distance;return y||d(e)<A?r:w&&t?.5*r:h.byIndex(n.get(),0).distance}(C(n),t),i=function(e,t){if(0===e||0===t)return 0;if(d(e)<=d(t))return 0;const n=f(d(e),d(t));return d(n/e)}(n,r),a=D-10*i,s=j+i/50;V=!1,F=!1,N.clear(),u.useDuration(a).useFriction(s),l.distance(r,!y),B=!1,g.emit("pointerUp")}function q(e){z&&(e.stopPropagation(),e.preventDefault(),z=!1)}return{init:function(e){if(!S)return;function s(s){(c(S)||S(e,s))&&function(e){const s=_(e,r);if(B=s,z=y&&s&&!e.buttons&&R,R=f(i.get(),a.get())>=2,s&&0!==e.button)return;if(function(e){const t=e.nodeName||"";return P.includes(t)}(e.target))return;F=!0,o.pointerDown(e),u.useFriction(0).useDuration(0),i.set(a),function(){const e=B?n:t;N.add(e,"touchmove",H,T).add(e,"touchend",U).add(e,"mousemove",H,T).add(e,"mouseup",U)}(),M=o.readPoint(e),$=o.readPoint(e,k),g.emit("pointerDown")}(s)}const l=t;E.add(l,"dragstart",e=>e.preventDefault(),T).add(l,"touchmove",()=>{},T).add(l,"touchend",()=>{}).add(l,"touchstart",s).add(l,"mousedown",s).add(l,"touchcancel",U).add(l,"contextmenu",U).add(l,"click",q,!0)},destroy:function(){E.clear(),N.clear()},pointerDown:function(){return F}}}function C(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){const i="client"+("x"===(r||e.scroll)?"X":"Y");return(_(n,t)?n:n.touches[0])[i]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){const t=o(e)-o(r),a=i(e)-i(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;const t=o(r)-o(n),a=i(e)-i(n),s=i(e)-i(r)>170,l=t/a;return a&&!s&&d(l)>.1?l:0},readPoint:o}}function P(e,t,n,r,i,o,a){const s=[e].concat(r);let l,u,p=[],f=!1;function h(e){return i.measureSize(a.measure(e))}return{init:function(i){o&&(u=h(e),p=r.map(h),l=new ResizeObserver(n=>{(c(o)||o(i,n))&&function(n){for(const o of n){if(f)return;const n=o.target===e,a=r.indexOf(o.target),s=n?u:p[a];if(d(h(n?e:r[a])-s)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{s.forEach(e=>l.observe(e))}))},destroy:function(){f=!0,l&&l.disconnect()}}}function T(e,t,n,r,i){const o=i.measure(10),a=i.measure(50),s=O(.1,.99);let l=!1;function c(){return!l&&(!!e.reachedAny(n.get())&&!!e.reachedAny(t.get()))}return{shouldConstrain:c,constrain:function(i){if(!c())return;const l=e.reachedMin(t.get())?"min":"max",u=d(e[l]-t.get()),p=n.get()-t.get(),f=s.constrain(u/a);n.subtract(p*f),!i&&d(p)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}function E(e,t,n,r){const i=t.min+.1,o=t.max+.1,{reachedMin:a,reachedMax:s}=O(i,o);return{loop:function(t){if(!function(e){return 1===e?s(n.get()):-1===e&&a(n.get())}(t))return;const i=e*(-1*t);r.forEach(e=>e.add(i))}}}function N(e,t,n,r,i){const{reachedAny:o,removeOffset:a,constrain:s}=r;function l(e){return e.concat().sort((e,t)=>d(e)-d(t))[0]}function c(t,r){const i=[t,t+n,t-n];if(!e)return t;if(!r)return l(i);const o=i.filter(e=>p(e)===r);return o.length?l(o):m(i)-n}return{byDistance:function(n,r){const l=i.get()+n,{index:u,distance:p}=function(n){const r=e?a(n):s(n),i=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>
vendor: 5,091 bytes, line 2
2d(e.diff)-d(t.diff)),{index:o}=i[0];return{index:o,distance:r}}(l),f=!e&&o(l);return!r||f?{index:u,distance:n}:{index:u,distance:n+c(t[u]-p,0)}},byIndex:function(e,n){return{index:e,distance:c(t[e]-i.get(),n)}},shortcut:c}}function A(e,t,n,r,i,o,a,l){const u={passive:!0,capture:!0};let d=0;function p(e){"Tab"===e.code&&(d=(new Date).getTime())}return{init:function(f){l&&(o.add(document,"keydown",p,!1),t.forEach((t,p)=>{o.add(t,"focus",t=>{(c(l)||l(f,t))&&function(t){if((new Date).getTime()-d>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;const o=n.findIndex(e=>e.includes(t));s(o)&&(i.useDuration(0),r.index(o,0),a.emit("slideFocus"))}(p)},u)}))}}}function I(e){let t=e;function n(e){return s(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function L(e,t){const n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style;let i=null,o=!1;return{clear:function(){o||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(o)return;const a=(s=e.direction(t),Math.round(100*s)/100);var s;a!==i&&(r.transform=n(a),i=a)},toggleActive:function(e){o=!e}}}function D(e,t,n,r,i,o,a,s,l){const c=h(i),u=h(i).reverse(),d=function(){const e=a[0];return m(f(u,e),n,!1)}().concat(function(){const e=t-a[0]-1;return m(f(c,e),-n,!0)}());function p(e,t){return e.reduce((e,t)=>e-i[t],t)}function f(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function m(i,a,c){const u=function(e){return o.map((n,i)=>({start:n-r[i]+.5+e,end:n+t-.5+e}))}(a);return i.map(t=>{const r=c?0:-n,i=c?n:0,o=c?"end":"start",a=u[t][o];return{index:t,loopPoint:a,slideLocation:I(-1),translate:L(e,l[t]),target:()=>s.get()>a?r:i}})}return{canLoop:function(){return d.every(({index:e})=>p(c.filter(t=>t!==e),t)<=.1)},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{const{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:d}}function R(e,t,n){let r,i=!1;return{init:function(o){n&&(r=new MutationObserver(e=>{i||(c(n)||n(o,e))&&function(e){for(const n of e)if("childList"===n.type){o.reInit(),t.emit("slidesChanged");break}}(e)}),r.observe(e,{childList:!0}))},destroy:function(){r&&r.disconnect(),i=!0}}}function M(e,t,n,r){const i={};let o,a=null,s=null,l=!1;return{init:function(){o=new IntersectionObserver(e=>{l||(e.forEach(e=>{const n=t.indexOf(e.target);i[n]=e}),a=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>o.observe(e))},destroy:function(){o&&o.disconnect(),l=!0},get:function(e=!0){if(e&&a)return a;if(!e&&s)return s;const t=function(e){return v(i).reduce((t,n)=>{const r=parseInt(n),{isIntersecting:o}=i[r];return(e&&o||!e&&!o)&&t.push(r),t},[])}(e);return e&&(a=t),e||(s=t),t}}}function $(e,t,n,r,i,o,a,l,c){const{startEdge:u,endEdge:p,direction:f}=e,b=s(n);return{groupSlides:function(e){return b?function(e,t){return h(e).filter(e=>e%t===0).map(n=>e.slice(n,n+t))}(e,n):function(e){return e.length?h(e).reduce((n,s,h)=>{const b=m(n)||0,y=0===b,v=s===g(e),w=i[u]-o[b][u],_=i[u]-o[s][p],x=!r&&y?f(a):0,j=d(_-(!r&&v?f(l):0)-(w+x));return h&&j>t+c&&n.push(s),v&&n.push(e.length),n},[]).map((t,n,r)=>{const i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}(e)}}}function F(e,t,n,r,i,o,a){const{align:s,axis:c,direction:u,startIndex:v,loop:w,duration:_,dragFree:F,dragThreshold:V,inViewThreshold:z,slidesToScroll:B,skipSnaps:H,containScroll:U,watchResize:q,watchSlides:Z,watchDrag:G,watchFocus:W}=o,K={measure:function(e){const{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},Y=K.measure(t),J=n.map(K.measure),X=function(e,t){const n="rtl"===t,r="y"===e,i=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(e){const{height:t,width:n}=e;return r?t:n},direction:function(e){return e*i}}}(c,u),Q=X.measureSize(Y),ee=function(e){return{measure:function(t){return e*(t/100)}}}(Q),te=function(e,t){const n={start:function(){return 0},center:function(e){return r(e)/2},end:r};function r(e){return t-e}return{measure:function(r,i){return l(e)?n[e](r):e(t,r,i)}}}(s,Q),ne=!w&&!!U,re=w||!!U,{slideSizes:ie,slideSizesWithGaps:oe,startGap:ae,endGap:se}=function(e,t,n,r,i,o){const{measureSize:a,startEdge:s,endEdge:l}=e,c=n[0]&&i,u=function(){if(!c)return 0;const e=n[0];return d(t[s]-e[s])}(),p=function(){if(!c)return 0;const e=o.getComputedStyle(m(r));return parseFloat(e.getPropertyValue(`margin-${l}`))}(),f=n.map(a),h=n.map((e,t,n)=>{const r=!t,i=b(n,t);return r?f[t]+u:i?f[t]+p:n[t+1][s]-e[s]}).map(d);return{slideSizes:f,slideSizesWithGaps:h,startGap:u,endGap:p}}(X,Y,J,n,re,i),le=$(X,Q,B,w,Y,J,ae,se,2),{snaps:ce,snapsAligned:ue}=function(e,t,n,r,i){const{startEdge:o,endEdge:a}=e,{groupSlides:s}=i,l=s(r).map(e=>m(e)[a]-e[0][o]).map(d).map(t.measure),c=r.map(e=>n[o]-e[o]).map(e=>-d(e)),u=s(c).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:c,snapsAligned:u}}
vendor: 6,428 bytes, line 2
2(X,te,Y,J,le),de=-m(ce)+m(oe),{snapsContained:pe,scrollContainLimit:fe}=function(e,t,n,r,i){const o=O(-t+e,0),a=n.map((e,t)=>{const{min:r,max:i}=o,a=o.constrain(e),s=!t,c=b(n,t);return s?i:c||l(r,a)?r:l(i,a)?i:a}).map(e=>parseFloat(e.toFixed(3))),s=function(){const e=a[0],t=m(a);return O(a.lastIndexOf(e),a.indexOf(t)+1)}();function l(e,t){return f(e,t)<=1}return{snapsContained:function(){if(t<=e+i)return[o.max];if("keepSnaps"===r)return a;const{min:n,max:l}=s;return a.slice(n,l)}(),scrollContainLimit:s}}(Q,de,ue,U,2),he=ne?pe:ue,{limit:me}=function(e,t,n){const r=t[0];return{limit:O(n?r-e:m(t),r)}}(de,he,w),ge=S(g(he),v,w),be=ge.clone(),ye=h(n),ve=j(r,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(Ie),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:o,slideLooper:a,dragHandler:s,animation:l,eventHandler:c,scrollBounds:u,options:{loop:d}},p)=>{const f=e.settled(),h=!u.shouldConstrain(),m=d?f:f&&h,g=m&&!s.pointerDown();g&&l.stop();const b=n.get()*p+i.get()*(1-p);r.set(b),d&&(o.loop(e.direction()),a.loop()),t.to(r.get()),g&&c.emit("settle"),m||c.emit("scroll")})(Ie,e)),we=he[ge.get()],_e=I(we),xe=I(we),je=I(we),Oe=I(we),Se=function(e,t,n,r,i,o){let a=0,s=0,l=i,c=o,u=e.get(),f=0;function h(e){return l=e,g}function m(e){return c=e,g}const g={direction:function(){return s},duration:function(){return l},velocity:function(){return a},seek:function(){const t=r.get()-e.get();let i=0;return l?(n.set(e),a+=t/l,a*=c,u+=a,e.add(a),i=u-f):(a=0,n.set(r),e.set(r),i=t),s=p(i),f=u,g},settled:function(){return d(r.get()-t.get())<.001},useBaseFriction:function(){return m(o)},useBaseDuration:function(){return h(i)},useFriction:m,useDuration:h};return g}(_e,je,xe,Oe,_,.68),ke=N(w,he,de,me,Oe),Ce=function(e,t,n,r,i,o,a){function s(i){const s=i.distance,l=i.index!==t.get();o.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(i.index),a.emit("select"))}return{distance:function(e,t){s(i.byDistance(e,t))},index:function(e,n){const r=t.clone().set(e);s(i.byIndex(r.get(),n))}}}(ve,ge,be,Se,ke,Oe,a),Pe=function(e){const{max:t,length:n}=e;return{get:function(e){return n?(e-t)/-n:0}}}(me),Te=x(),Ee=M(t,n,a,z),{slideRegistry:Ne}=function(e,t,n,r,i,o){const{groupSlides:a}=i,{min:s,max:l}=r;return{slideRegistry:function(){const r=a(o),i=!e||"keepSnaps"===t;return 1===n.length?[o]:i?r:r.slice(s,l).map((e,t,n)=>{const r=!t,i=b(n,t);return r?y(m(n[0])+1):i?y(g(o)-m(n)[0]+1,m(n)[0]):e})}()}}(ne,U,he,fe,le,ye),Ae=A(e,n,Ne,Ce,Se,Te,a,W),Ie={ownerDocument:r,ownerWindow:i,eventHandler:a,containerRect:Y,slideRects:J,animation:ve,axis:X,dragHandler:k(X,e,r,i,Oe,C(X,i),_e,ve,Ce,Se,ke,ge,a,ee,F,V,H,.68,G),eventStore:Te,percentOfView:ee,index:ge,indexPrevious:be,limit:me,location:_e,offsetLocation:je,previousLocation:xe,options:o,resizeHandler:P(t,a,i,n,X,q,K),scrollBody:Se,scrollBounds:T(me,je,Oe,Se,ee),scrollLooper:E(de,me,je,[_e,je,xe,Oe]),scrollProgress:Pe,scrollSnapList:he.map(Pe.get),scrollSnaps:he,scrollTarget:ke,scrollTo:Ce,slideLooper:D(X,Q,de,ie,oe,ce,he,je,n),slideFocus:Ae,slidesHandler:R(t,a,Z),slidesInView:Ee,slideIndexes:ye,slideRegistry:Ne,slidesToScroll:le,target:Oe,translate:L(X,t)};return Ie}const V={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function z(e){function t(e,t){return w(e,t||{})}const n={mergeOptions:t,optionsAtMedia:function(n){const r=n.breakpoints||{},i=v(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>v(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}};return n}function B(e,t,n){const r=e.ownerDocument,i=r.defaultView,o=z(i),a=function(e){let t=[];return{init:function(n,r){return t=r.filter(({options:t})=>!1!==e.optionsAtMedia(t).active),t.forEach(t=>t.init(n,e)),r.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){t=t.filter(e=>e.destroy())}}}(o),s=x(),c=function(){let e,t={};function n(e){return t[e]||[]}const r={init:function(t){e=t},emit:function(t){return n(t).forEach(n=>n(e,t)),r},off:function(e,i){return t[e]=n(e).filter(e=>e!==i),r},on:function(e,i){return t[e]=n(e).concat([i]),r},clear:function(){t={}}};return r}(),{mergeOptions:u,optionsAtMedia:d,optionsMediaQueries:p}=o,{on:f,off:h,emit:m}=c,g=P;let b,y,v,w,_=!1,j=u(V,B.globalOptions),O=u(j),S=[];function k(t){const n=F(e,v,w,r,i,t,c);if(t.loop&&!n.slideLooper.canLoop()){return k(Object.assign({},t,{loop:!1}))}return n}function C(t,n){_||(j=u(j,t),O=d(j),S=n||S,function(){const{container:t,slides:n}=O,r=l(t)?e.querySelector(t):t;v=r||e.children[0];const i=l(n)?v.querySelectorAll(n):n;w=[].slice.call(i||v.children)}(),b=k(O),p([j,...S.map(({options:e})=>e)]).forEach(e=>s.add(e,"change",P)),O.active&&(b.translate.to(b.location.get()),b.animation.init(),b.slidesInView.init(),b.slideFocus.init(A),b.eventHandler.init(A),b.resizeHandler.init(A),b.slidesHandler.init(A),b.options.loop&&b.slideLooper.loop(),v.offsetParent&&w.length&&b.dragHandler.init(A),y=a.init(A,S)))}function P(e,t){const n=N();T(),C(u({startIndex:n},e),t),c.emit("reInit")}function T(){b.dragHandler.destroy(),b.eventStore.clear(),b.translate.clear(),b.slideLooper.clear(),b.resizeHandler.destroy(),b.slidesHandler.destroy(),b.slidesInView.destroy(),b.animation.destroy(),a.destroy(),s.clear()}function E(e,t,n){O.active&&!_&&(b.scrollBody.useBaseFriction().useDuration(!0===t?0:O.duration),b.scrollTo.index(e,n||0))}function N(){return b.index.get()}const A={canScrollNext:function(){return b.index.add(1).get()!==N()},canScrollPrev:function(){return b.index.add(-1).get()!==N()},containerNode:function(){return v},internalEngine:function(){return b},destroy:function(){_||(_=!0,s.clear(),T(),c.emit("destroy"),c.clear())},off:h,on:f,emit:m,plugins:function(){return y},previousScrollSnap:function(){return b.indexPrevious.get()},reInit:g,rootNode:function(){return e},scrollNext:function(e){E(b.index.add(1).get(),e,-1)},scrollPrev:function(e){E(b.index.add(-1).get(),e,1)},scrollProgress:function(){return b.scrollProgress.get(b.offsetLocation.get())},scrollSnapList:function(){return b.scrollSnapList}
2,scrollTo:E,selectedScrollSnap:N,slideNodes:function(){return w},slidesInView:function(){return b.slidesInView.get()},slidesNotInView:function(){return b.slidesInView.get(!1)}};return C(t,n),setTimeout(()=>c.emit("init"),0),A}function H(e={},t=[]){const n=(0,r.useRef)(e),i=(0,r.useRef)(t),[s,l]=(0,r.useState)(),[c,u]=(0,r.useState)(),d=(0,r.useCallback)(()=>{s&&s.reInit(n.current,i.current)},[s]);return(0,r.useEffect)(()=>{o(n.current,e)||(n.current=e,d())},[e,d]),(0,r.useEffect)(()=>{(function(e,t){if(e.length!==t.length)return!1;const n=a(e),r=a(t);return n.every((e,t)=>o(e,r[t]))})(i.current,t)||(i.current=t,d())},[t,d]),(0,r.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&c){B.globalOptions=H.globalOptions;const e=B(c,n.current,i.current);return l(e),()=>e.destroy()}l(void 0)},[c,l]),[u,s]}B.globalOptions=void 0,H.globalOptions=void 0},64865:function(e,t,n){"use strict";var r=n(76156),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=f(n);i&&i!==h&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var b=a[g];if(!(o[b]||r&&r[b]||m&&m[b]||s&&s[b])){var y=p(n,b);try{c(t,b,y)}catch(e){}}}}return t}},46226:function(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function n(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,r,i){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof r&&(i=r,r={}),r=r||{},i=i||function(){},a.type=r.type||"text/javascript",a.charset=r.charset||"utf8",a.async=!("async"in r)||!!r.async,a.src=e,r.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,r.attrs),r.text&&(a.text=""+r.text),("onload"in a?t:n)(a,i),a.onload||t(a,i),o.appendChild(a)}},11221:function(e,t,n){var r="__lodash_hash_undefined__",i="[object Function]",o="[object GeneratorFunction]",a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,l=/^\./,c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,p="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,h=p||f||Function("return this")();var m,g=Array.prototype,b=Function.prototype,y=Object.prototype,v=h["__core-js_shared__"],w=(m=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",_=b.toString,x=y.hasOwnProperty,j=y.toString,O=RegExp("^"+_.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=h.Symbol,k=g.splice,C=$(h,"Map"),P=$(Object,"create"),T=S?S.prototype:void 0,E=T?T.toString:void 0;function N(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function A(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function I(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function L(e,t){for(var n=e.length;n--;)if(B(e[n][0],t))return n;return-1}function D(e,t){var n;t=function(e,t){if(H(e))return!1;var n=typeof e;if("number"==n||"symbol"==n||"boolean"==n||null==e||q(e))return!0;return s.test(e)||!a.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:H(n=t)?n:F(n);for(var r=0,i=t.length;null!=e&&r<i;)e=e[V(t[r++])];return r&&r==i?e:void 0}function R(e){if(!U(e)||(t=e,w&&w in t))return!1;var t,n=function(e){var t=U(e)?j.call(e):"";return t==i||t==o}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?O:d;return n.test(function(e){if(null!=e){try{return _.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function M(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function $(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return R(n)?n:void 0}N.prototype.clear=function(){this.__data__=P?P(null):{}},N.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},N.prototype.get=function(e){var t=this.__data__;if(P){var n=t[e];return n===r?void 0:n}return x.call(t,e)?t[e]:void 0},N.prototype.has=function(e){var t=this.__data__;return P?void 0!==t[e]:x.call(t,e)},N.prototype.set=function(e,t){return this.__data__[e]=P&&void 0===t?r:t,this},A.prototype.clear=function(){this.__data__=[]},A.prototype.delete=function(e){var t=this.__data__,n=L(t,e);return!(n<0)&&(n==t.length-1?t.pop():k.call(t,n,1),!0)},A.prototype.get=function(e){var t=this.__data__,n=L(t,e);return n<0?void 0:t[n][1]},A.prototype.has=function(e){return L(this.__data__,e)>-1},A.prototype.set=function(e,t){var n=this.__data__,r=L(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},I.prototype.clear=function(){this.__data__={hash:new N,map:new(C||A),string:new N}},I.prototype.delete=function(e){return M(this,e).delete(e)},I.prototype.get=function(e){return M(this,e).get(e)},I.prototype.has=function(e){return M(this,e).has(e)},I.prototype.set=function(e,t){return M(this,e).set(e,t),this};var F=z(function(e){var t;
2e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(q(e))return E?E.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return l.test(e)&&n.push(""),e.replace(c,function(e,t,r,i){n.push(r?i.replace(u,"$1"):t||e)}),n});function V(e){if("string"==typeof e||q(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function z(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(z.Cache||I),n}function B(e,t){return e===t||e!=e&&t!=t}z.Cache=I;var H=Array.isArray;function U(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function q(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==j.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:D(e,t);return void 0===r?n:r}},91071:function(e,t,n){var r="Expected a function",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),p=Object.prototype.toString,f=Math.max,h=Math.min,m=function(){return d.Date.now()};function g(e,t,n){var i,o,a,s,l,c,u=0,d=!1,p=!1,g=!0;if("function"!=typeof e)throw new TypeError(r);function v(t){var n=i,r=o;return i=o=void 0,u=t,s=e.apply(r,n)}function w(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-u>=a}function _(){var e=m();if(w(e))return x(e);l=setTimeout(_,function(e){var n=t-(e-c);return p?h(n,a-(e-u)):n}(e))}function x(e){return l=void 0,g&&i?v(e):(i=o=void 0,s)}function j(){var e=m(),n=w(e);if(i=arguments,o=this,c=e,n){if(void 0===l)return function(e){return u=e,l=setTimeout(_,t),d?v(e):s}(c);if(p)return l=setTimeout(_,t),v(c)}return void 0===l&&(l=setTimeout(_,t)),s}return t=y(t)||0,b(n)&&(d=!!n.leading,a=(p="maxWait"in n)?f(y(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g),j.cancel=function(){void 0!==l&&clearTimeout(l),u=0,i=c=o=l=void 0},j.flush=function(){return void 0===l?s:x(m())},j}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==p.call(e)}(e))return NaN;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=a.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(r);return b(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),g(e,t,{leading:i,maxWait:t,trailing:o})}},63200:function(e,t,n){"use strict";n.d(t,{Ay:function(){return Qe}});var r=n(40809);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var o=["children","options"],a=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(function(e,t){return e[t.toLowerCase()]=t,e},{class:"className",for:"htmlFor"}),s={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"Â ",quot:"â"},l=["style","script","pre"],c=["src","href","data","formAction","srcDoc","action"],u=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,d=/\n{2,}$/,p=/^(\s*>[\s\S]*?)(?=\n\n|$)/,f=/^ *> ?/gm,h=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,m=/^ {2,}\n/,g=/^(?:([-*_])( *\1){2,}) *(?:\n *)+\n/,b=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,y=/^(?: {4}
vendor: 9,485 bytes, line 2
2[^\n]+\n*)+(?:\n *)+\n?/,v=/^(`+)((?:\\`|(?!\1)`|[^`])+)\1/,w=/^(?:\n *)*\n/,_=/\r\n?/g,x=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,j=/^\[\^([^\]]+)]/,O=/\f/g,S=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,k=/^\s*?\[(x|\s)\]/,C=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,P=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,T=/^([^\n]+)\n *(=|-)\2{2,} *\n/,E=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,N=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,A=/^<!--[\s\S]*?(?:-->)/,I=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,L=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,D=/^\{.*\}$/,R=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,M=/^<([^ >]+[:@\/][^ >]+)>/,$=/-([a-z])?/gi,F=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,V=/^[^\n]+(?: \n|\n{2,})/,z=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,B=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,H=/^\[([^\]]*)\] ?\[([^\]]*)\]/,U=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,q=/\t/g,Z=/(^ *\||\| *$)/g,G=/^ *:-+: *$/,W=/^ *:-+ *$/,K=/^ *-+: *$/,Y=function(e){return"(?=[\\s\\S]+?\\1"+(e?"\\1":"")+")"},J="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)",X=RegExp("^([*_])\\1"+Y(1)+J+"\\1\\1(?!\\1)"),Q=RegExp("^([*_])"+Y(0)+J+"\\1(?!\\1)"),ee=RegExp("^(==)"+Y(0)+J+"\\1"),te=RegExp("^(~~)"+Y(0)+J+"\\1"),ne=/^(:[a-zA-Z0-9-_]+:)/,re=/^\\([^0-9A-Za-z\s])/,ie=/\\([^0-9A-Za-z\s])/g,oe=/^[\s\S](?:(?! \n|[0-9]\.|http)[^=*_~\-\n:<`\\\[!])*/,ae=/^\n+/,se=/^([ \t]*)/,le=/(?:^|\n)( *)$/,ce="(?:\\d+\\.)",ue="(?:[*+-])";function de(e){return"( *)("+(1===e?ce:ue)+") +"}var pe=de(1),fe=de(2);function he(e){return RegExp("^"+(1===e?pe:fe))}var me=he(1),ge=he(2);function be(e){return RegExp("^"+(1===e?pe:fe)+"[^\\n]*(?:\\n(?!\\1"+(1===e?ce:ue)+" )[^\\n]*)*(\\n|$)","gm")}var ye=be(1),ve=be(2);function we(e){var t=1===e?ce:ue;return RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var _e=we(1),xe=we(2);function je(e,t){var n=1===t,r=n?_e:xe,i=n?ye:ve,o=n?me:ge;return{t:function(e){return o.test(e)},u:De(function(e,t){var n=le.exec(t.prevCapture);return n&&(t.list||!t.inline&&!t.simple)?r.exec(e=n[1]+e):null}),i:1,o:function(e,t,r){var a=n?+e[2]:void 0,s=e[0].replace(d,"\n").match(i),l=!1;return{items:s.map(function(e,n){var i=o.exec(e)[0].length,a=RegExp("^ {1,"+i+"}","gm"),c=e.replace(a,"").replace(o,""),u=n===s.length-1,d=-1!==c.indexOf("\n\n")||u&&l;l=d;var p,f=r.inline,h=r.list;r.list=!0,d?(r.inline=!1,p=Ce(c)+"\n\n"):(r.inline=!0,p=Ce(c));var m=t(p,r);return r.inline=f,r.list=h,m}),ordered:n,start:a}},l:function(t,n,r){return e(t.ordered?"ol":"ul",{key:r.key,start:"20"===t.type?t.start:void 0},t.items.map(function(t,i){return e("li",{key:i},n(t,r))}))}}}var Oe=RegExp("^\\[((?:\\[[^\\[\\]]*(?:\\[[^\\[\\]]*\\][^\\[\\]]*)*\\]|[^\\[\\]])*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),Se=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/;function ke(e){return"string"==typeof e}function Ce(e){for(var t=e.length;t>0&&e[t-1]<=" ";)t--;return e.slice(0,t)}function Pe(e,t){return e.startsWith(t)}function Te(e,t,n){if(Array.isArray(n)){for(var r=0;r<n.length;r++)if(Pe(e,n[r]))return!0;return!1}return n(e,t)}function Ee(e){return e.replace(/[ÃÃÃÃÃÃ
à áâãäåæÃ]/g,"a").replace(/[çÃ]/g,"c").replace(/[ðÃ]/g,"d").replace(/[ÃÃÃÃéèêë]/g,"e").replace(/[ÃïÃîÃÃÃì]/g,"i").replace(/[Ãñ]/g,"n").replace(/[øÃÅÅÃõÃôÃóÃò]/g,"o").replace(/[ÃüÃûÃúÃù]/g,"u").replace(/[ŸÿÃý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function Ne(e){return K.test(e)?"right":G.test(e)?"center":W.test(e)?"left":null}function Ae(e,t,n,r){var i=n.inTable;n.inTable=!0;var o=[[]],a="";function s(){if(a){var e=o[o.length-1];e.push.apply(e,t(a,n)),a=""}}return e.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach(function(e,t,n){"|"===e.trim()&&(s(),r)?0!==t&&t!==n.length-1&&o.push([]):a+=e}),s(),n.inTable=i,o}function Ie(e,t,n){n.inline=!0;var r=e[2]?e[2].replace(Z,"").split("|").map(Ne):[],i=e[3]?function(e,t,n){return e.trim().split("\n").map(function(e){return Ae(e,t,n,!0)})}(e[3],t,n):[],o=Ae(e[1],t,n,!!i.length);return n.inline=!1,i.length?{align:r,cells:i,header:o,type:"25"}:{children:o,type:"21"}}function Le(e,t){return null==e.align[t]?{}:{textAlign:e.align[t]}}function De(e){return e.inline=1,e}function Re(e){return De(function(t,n){return n.inline?e.exec(t):null})}function Me(e){return De(function(t,n){return n.inline||n.simple?e.exec(t):null})}function $e(e){return function(t,n){return n.inline||n.simple?null:e.exec(t)}}function Fe(e){return De(function(t){return e.exec(t)})}var Ve=/(javascript|vbscript|data(?!:image)):/i;function ze(e){try{var t=decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"");if(Ve.test(t))return null}catch(e){return null}return e}function Be(e){return e?e.replace(ie,"$1"):e}function He(e,t,n){var r=n.inline||!1,i=n.simple||!1;n.inline=!0,n.simple=!0;var o=e(t,n);return n.inline=r,n.simple=i,o}function Ue(e,t,n){var r=n.inline||!1,i=n.simple||!1;n.inline=!1,n.simple=!0;var o=e(t,n);return n.inline=r,n.simple=i,o}function qe(e,t,n){var r=n.inline||!1;n.inline=!1;var i=e(t,n);return n.inline=r,i}var Ze=function(e,t,n){return{children:He(t,e[2],n)}};function Ge(){return{}}function We(){return null}function Ke(){return[].slice.call(arguments).filter(Boolean).join(" ")}function Ye(e,t,n){for(var r=e,i=t.split(".");i.length&&void 0!==(r=r[i[0]]);)i.shift();return r||n}function Je(e,t){var n=Ye(t,e);return n?"function"==typeof n||"object"==typeof n&&"render"in n?n:Ye(t,e+".component",e):e}function Xe(e,t){var n;void 0===e&&(e=""),void 0===t&&(t={}),t.overrides=t.overrides||{},t.namedCodesToUnicode=t.namedCodesToUnicode?i({},s,t.namedCodesToUnicode):s;var o=t.slugify||Ee,d=t.sanitizer||ze,Z=t.createElement||r.createElement,G=[p,b,y,t.enforceAtxHeadings?P:C,T,F,_e,xe],W=[].concat(G,[V,E,A,L]);function K(e,t){for(var n=0;n<e.length;n++)if(e[n].test(t))return!0;return!1}function Y(e,n){var r=Ye(t.overrides,e+".props",{});return Z.apply(void 0,[Je(e,t.overrides),i({},n,r,{className:Ke(null==n?void 0:n.className,r.className)||void 0})].concat([].slice.call(arguments,2)))}function J(e){e=e.replace(S,"");var n=!1;t.forceInline?n=!0:t.forceBlock||(n=!1===U.test(e));for(var r=pe(de(n?e:Ce(e).replace(ae,"")+"\n\n",{inline:n}));ke(r[r.length-1])&&!r[r.length-1].trim();)r.pop();if(null===t.wrapper)return r;var i,o=t.wrapper||(n?"span":"div");if(r.length>1||t.forceWrapper)i=r;else{if(1===r.length)return"string"==typeof(i=r[0])?Y("span",{key:"outer"},i):i;i=null}return Z(o,{key:"outer"},i)}function ie(e,t){if(!t||!t.trim())return null;var n=t.match(u);return n?n.reduce(function(t,n){var r=n.indexOf("=");if(-1!==r){var i=function(e){return-1!==e.indexOf("-")&&null===e.match(I)&&(e=e.replace($,function(e,t){return t.toUpperCase()})),e}(n.slice(0,r)).trim(),o=function(e){var t=e[0];return('"'===t||"'"===t)&&e.length>=2&&e[e.length-1]===t?e.slice(1,-1):e}(n.slice(r+1).trim()),s=a[i]||i;if("ref"===s)return t;var l=t[s]=function(e,t,n,r){return"style"===t?function(e){var t=[],n="",r=!1,i=!1,o="";if(!e)return t;for(var a=0;a<e.length;a++){var s=e[a];if('"'!==s&&"'"!==s||r||(i?s===o&&(i=!1,o=""):(i=!0,o=s)),"("===s&&n.endsWith("url")?r=!0:")"===s&&r&&(r=!1),";"!==s||i||r)n+=s;else{var l=n.trim();if(l){var c=l.indexOf(":");if(c>0){var u=l.slice(0,c).trim(),d=l.slice(c+1).trim();t.push([u,d])}}n=""}}var p=n.trim();if(p){var f=p.indexOf(":");if(f>0){var h=p.slice(0,f).trim(),m=p.slice(f+1).trim();t.push([h,m])}}return t}(n).reduce(function(t,n){var i=n[0],o=n[1];return t[i.replace(/(-[a-z])/g,function(e){return e[1].toUpperCase()})]=r(o,e,i),t},{}):-1!==c.indexOf(t)?r(Be(n),e,t):(n.match(D)&&(n=Be(n.slice(1,n.length-1))),"true"===n||"false"!==n&&n)}(e,i,o,d);"string"==typeof l&&(E.test(l)||L.test(l))&&(t[s]=J(l.trim()))}else"style"!==n&&(t[a[n]||n]=!0);return t},{}):null}var le=[],ce={},ue=((n={})[0]={t:[">"],u:$e(p),i:1,o:function(e,t,n){var r=e[0].replace(f,"").match(h);return{alert:r[1],children:t(r[2],n)}},l:function(e,t,n){var r={key:n.key};return e.alert&&(r.className="markdown-alert-"+o(e.alert.toLowerCase(),Ee),e.children.unshift({attrs:{},children:[{type:"27",text:e.alert}],noInnerParse:!0,type:"11",tag:"header"})),Y("blockquote",r,t(e.children,n))}},n[1]={t:[" "],u:Fe(m),i:1,o:Ge,l:function(e,t,n){return Y("br",{key:n.key})}},n[2]={t:["--","__","**","- ","* ","_ "],u:$e(g),i:1,o:Ge,l:function(e,t,n){return Y("hr",{key:n.key})}},n[3]={t:[" "],u:$e(y),i:0,o:function(e){return{lang:void 0,text:Be(Ce(e[0].replace(/^ {4}/gm,"")))}},l:function(e,t,n){return Y("pre",{key:n.key},Y("code",i({},e.attrs,{className:e.lang?"lang-"+e.lang:""}),e.text))}},n[4]={t:["```","~~~"],u:$e(b),i:0,o:function(e){return{attrs:ie("code",e[3]||""),lang:e[2]||void 0,text:e[4],type:"3"}}},n[5]={t:["`"],u:Me(v),i:3,o:function(e){return{text:Be(e[2])}},l:function(e,t,n){return Y("code",{key:n.key},e.text)}},n[6]={t:["[^"],u:$e(x),i:0,o:function(e){return le.push({footnote:e[2],identifier:e[1]}),{}},l:We},n[7]={t:["[^"],u:Re(j),i:1,o:function(e){return{target:"#"+o(e[1],Ee),text:e[1]}},l:function(e,t,n){return Y("a",{key:n.key,href:d(e.target,"a","href")},Y("sup",{key:n.key},e.text))}},n[8]={t:["[ ]","[x]"],u:Re(k),i:1,o:function(e){return{completed:"x"===e[1].toLowerCase()}},l:function(e,t,n){return Y("input",{checked:e.completed,key:n.key,readOnly:!0,t
2ype:"checkbox"})}},n[9]={t:["#"],u:$e(t.enforceAtxHeadings?P:C),i:1,o:function(e,t,n){return{children:He(t,e[2],n),id:o(e[2],Ee),level:e[1].length}},l:function(e,t,n){return Y("h"+e.level,{id:e.id,key:n.key},t(e.children,n))}},n[10]={t:function(e){var t=e.indexOf("\n");return t>0&&t<e.length-1&&("="===e[t+1]||"-"===e[t+1])},u:$e(T),i:1,o:function(e,t,n){return{children:He(t,e[1],n),level:"="===e[2]?1:2,type:"9"}}},n[11]={t:["<"],u:Fe(E),i:1,o:function(e,t,n){var r=e[3].match(se),i=RegExp("^"+r[1],"gm"),o=e[3].replace(i,""),a=K(W,o)?qe:He,s=e[1].toLowerCase(),c=-1!==l.indexOf(s),u=(c?s:e[1]).trim(),d={attrs:ie(u,e[2]),noInnerParse:c,tag:u};if(n.inAnchor=n.inAnchor||"a"===s,c)d.text=e[3];else{var p=n.inHTML;n.inHTML=!0,d.children=a(t,o,n),n.inHTML=p}return n.inAnchor=!1,d},l:function(e,t,n){return Y(e.tag,i({key:n.key},e.attrs),e.text||(e.children?t(e.children,n):""))}},n[13]={t:["<"],u:Fe(L),i:1,o:function(e){var t=e[1].trim();return{attrs:ie(t,e[2]||""),tag:t}},l:function(e,t,n){return Y(e.tag,i({},e.attrs,{key:n.key}))}},n[12]={t:["\x3c!--"],u:Fe(A),i:1,o:function(){return{}},l:We},n[14]={t:["!["],u:Me(Se),i:1,o:function(e){return{alt:Be(e[1]),target:Be(e[2]),title:Be(e[3])}},l:function(e,t,n){return Y("img",{key:n.key,alt:e.alt||void 0,title:e.title||void 0,src:d(e.target,"img","src")})}},n[15]={t:["["],u:Re(Oe),i:3,o:function(e,t,n){return{children:Ue(t,e[1],n),target:Be(e[2]),title:Be(e[3])}},l:function(e,t,n){return Y("a",{key:n.key,href:d(e.target,"a","href"),title:e.title},t(e.children,n))}},n[16]={t:["<"],u:Re(M),i:0,o:function(e){var t=e[1],n=!1;return-1!==t.indexOf("@")&&-1===t.indexOf("//")&&(n=!0,t=t.replace("mailto:","")),{children:[{text:t,type:"27"}],target:n?"mailto:"+t:t,type:"15"}}},n[17]={t:function(e,n){return!n.inAnchor&&!t.disableAutoLink&&(Pe(e,"http://")||Pe(e,"https://"))},u:Re(R),i:0,o:function(e){return{children:[{text:e[1],type:"27"}],target:e[1],title:void 0,type:"15"}}},n[20]=je(Y,1),n[33]=je(Y,2),n[19]={t:["\n"],u:$e(w),i:3,o:Ge,l:function(){return"\n"}},n[21]={u:De(function(e,t){if(t.inline||t.simple||t.inHTML&&-1===e.indexOf("\n\n")&&-1===t.prevCapture.indexOf("\n\n"))return null;for(var n="",r=0;;){var i=e.indexOf("\n",r),o=e.slice(r,-1===i?void 0:i+1);if(K(G,o))break;if(n+=o,-1===i||!o.trim())break;r=i+1}var a=Ce(n);return""===a?null:[n,,a]}),i:3,o:Ze,l:function(e,t,n){return Y("p",{key:n.key},t(e.children,n))}},n[22]={t:["["],u:Re(z),i:0,o:function(e){return ce[e[1]]={target:e[2],title:e[4]},{}},l:We},n[23]={t:["!["],u:Me(B),i:0,o:function(e){return{alt:e[1]?Be(e[1]):void 0,ref:e[2]}},l:function(e,t,n){return ce[e.ref]?Y("img",{key:n.key,alt:e.alt,src:d(ce[e.ref].target,"img","src"),title:ce[e.ref].title}):null}},n[24]={t:function(e){return"["===e[0]&&-1===e.indexOf("](")},u:Re(H),i:0,o:function(e,t,n){return{children:t(e[1],n),fallbackChildren:e[0],ref:e[2]}},l:function(e,t,n){return ce[e.ref]?Y("a",{key:n.key,href:d(ce[e.ref].target,"a","href"),title:ce[e.ref].title},t(e.children,n)):Y("span",{key:n.key},e.fallbackChildren)}},n[25]={t:["|"],u:$e(F),i:1,o:Ie,l:function(e,t,n){var r=e;return Y("table",{key:n.key},Y("thead",null,Y("tr",null,r.header.map(function(e,i){return Y("th",{key:i,style:Le(r,i)},t(e,n))}))),Y("tbody",null,r.cells.map(function(e,i){return Y("tr",{key:i},e.map(function(e,i){return Y("td",{key:i,style:Le(r,i)},t(e,n))}))})))}},n[27]={u:De(function(e,t){var n;return Pe(e,":")&&(n=ne.exec(e)),n||oe.exec(e)}),i:4,o:function(e){var n=e[0];return{text:-1===n.indexOf("&")?n:n.replace(N,function(e,n){return t.namedCodesToUnicode[n]||e})}},l:function(e){return e.text}},n[28]={t:["**","__"],u:Me(X),i:2,o:function(e,t,n){return{children:t(e[2],n)}},l:function(e,t,n){return Y("strong",{key:n.key},t(e.children,n))}},n[29]={t:function(e){var t=e[0];return("*"===t||"_"===t)&&e[1]!==t},u:Me(Q),i:3,o:function(e,t,n){return{children:t(e[2],n)}},l:function(e,t,n){return Y("em",{key:n.key},t(e.children,n))}},n[30]={t:["\\"],u:Me(re),i:1,o:function(e){return{text:e[1],type:"27"}}},n[31]={t:["=="],u:Me(ee),i:3,o:Ze,l:function(e,t,n){return Y("mark",{key:n.key},t(e.children,n))}},n[32]={t:["~~"],u:Me(te),i:3,o:Ze,l:function(e,t,n){return Y("del",{key:n.key},t(e.children,n))}},n);!0===t.disableParsingRawHTML&&(delete ue[11],delete ue[13]);var de=function(e){var t=Object.keys(e);function n(r,i){var o=[];if(i.prevCapture=i.prevCapture||"",r.trim())for(;r;)for(var a=0;a<t.length;){var s=t[a],l=e[s];if(!l.t||Te(r,i,l.t)){var c=l.u(r,i);if(c&&c[0]){r=r.substring(c[0].length);var u=l.o(c,n,i);i.prevCapture+=c[0],u.type||(u.type=s),o.push(u);break}a++}else a++}return i.prevCapture="",o}return t.sort(function(t,n){return e[t].i-e[n].i||(t<n?-1:1)}),function(e,t){return n(function(e){return e.replace(_,"\n").replace(O,"").replace(q," ")}(e),t)}}(ue),pe=function(e,t){return function n(r,i){if(void 0===i&&(i={}),Array.isArray(r)){for(var o=i.key,a=[],s=!1,l=0;l<r.length;l++){i.key=l;var c=n(r[l],i),u=ke(c);u&&s?a[a.length-1]+=c:null!==c&&a.push(c),s=u}return i.key=o,a}return function(n,r,i){var o=e[n.type].l;return t?t(function(){return o(n,r,i)},n,r,i):o(n,r,i)}(r,n,i)}}(ue,t.renderRule),fe=J(e);return le.length?Y("div",null,fe,Y("footer",{key:"footer"},le.map(function(e){return Y("div",{id:o(e.identifier,Ee),key:e.identifier},e.identifier,pe(de(e.footnote,{inline:!0})))}))):fe}function Qe(e){var t=e.children,n=e.options,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,o);return r.cloneElement(Xe(null==t?"":t,n),i)}},31064:function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function i(e,t){return e===t||!(!r(e)||!r(t))}function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!i(e[n],t[n]))return!1;return!0}t.default=function(e,t){var n;void 0===t&&(t=o);var r,i=[],a=!1;return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return a&&n===this&&t(o,i)||(r=e.apply(this,o),a=!0,n=this,i=o),r}}},39947:function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw new Error("unable to locate global object")}();e.exports=t=r.fetch,r.fetch&&(t.default=r.fetch.bind(r)),t.Headers=r.Headers,t.Request=r.Request,t.Response=r.Response},51327:function(e,t){"use strict";const n={captionContent:".pswp-caption-content",type:"auto",horizontalEdgeThreshold:20,mobileCaptionOverlapRatio:.3,mobileLayoutBreakpoint:600,verticallyCenterImage:!1};t.A=class{constructor(e,t){this.options={...n,...t},this.lightbox=e,this.lightbox.on("init",()=>{this.pswp=this.lightbox.pswp,this.initCaption()})}initCaption(){const{pswp:e}=this;e.on("change",()=>{this.showCaption(this.pswp.currSlide)}),e.on("calcSlideSize",e=>this.onCalcSlideSize(e)),e.on("slideDestroy",e=>{e.slide.dynamicCaption&&(e.slide.dynamicCaption.element&&e.slide.dynamicCaption.element.remove(),delete e.slide.dynamicCaption)}),e.on("zoomPanUpdate",({slide:t})=>{if(e.opener.isOpen&&t.dynamicCaption){if(t.currZoomLevel>t.zoomLevels.initial?this.hideCaption(t):this.showCaption(t),t.dynamicCaption.element){let e=0;if(t.currZoomLevel<=t.zoomLevels.initial){const n=t.pan.y-t.bounds.center.y;Math.abs(n)>1&&(e=n)}this.setCaptionYOffset(t.dynamicCaption.element,e)}this.adjustPanArea(t,t.currZoomLevel)}}),e.on("beforeZoomTo",t=>{this.adjustPanArea(e.currSlide,t.destZoomLevel)}),e.on("tapAction",e=>{e.originalEvent.target.closest(".pswp__dynamic-caption")&&e.preventDefault()})}adjustPanArea(e,t){e.dynamicCaption&&e.dynamicCaption.adjustedPanAreaSize&&(t>e.zoomLevels.initial?(e.panAreaSize.x=e.dynamicCaption.originalPanAreaSize.x,e.panAreaSize.y=e.dynamicCaption.originalPanAreaSize.y):(e.panAreaSize.x=e.dynamicCaption.adjustedPanAreaSize.x,e.panAreaSize.y=e.dynamicCaption.adjustedPanAreaSize.y))}useMobileLayout(){const{mobileLayoutBreakpoint:e}=this.options;return"function"==typeof e?e.call(this):"number"==typeof e&&window.innerWidth<e}hideCaption(e){if(e.dynamicCaption&&!e.dynamicCaption.hidden){const t=e.dynamicCaption.element;if(!t)return;e.dynamicCaption.hidden=!0,t.classList.add("pswp__dynamic-caption--faded"),e.captionFadeTimeout&&clearTimeout(e.captionFadeTimeout),e.captionFadeTimeout=setTimeout(()=>{t.style.visibility="hidden",delete e.captionFadeTimeout},400)}}setCaptionYOffset(e,t){e.style.transform=`translateY(${t}px)`}showCaption(e){if(e.dynamicCaption&&e.dynamicCaption.hidden){const t=e.dynamicCaption.element;if(!t)return;e.dynamicCaption.hidden=!1,t.style.visibility="visible",clearTimeout(e.captionFadeTimeout),e.captionFadeTimeout=setTimeout(()=>{t.classList.remove("pswp__dynamic-caption--faded"),delete e.captionFadeTimeout},50)}}setCaptionPosition(e,t,n){const r=t<=this.options.horizontalEdgeThreshold;e.classList[r?"add":"remove"]("pswp__dynamic-caption--on-hor-edge"),e.style.left=t+"px",e.style.top=n+"px"}setCaptionWidth(e,t){t?e.style.width=t+"px":e.style.removeProperty("width")}setCaptionType(e,t){const n=e.dataset.pswpCaptionType;t!==n&&(e.classList.add("pswp__dynamic-caption--"+t),e.classList.remove("pswp__dynamic-caption--"+n),e.dataset.pswpCaptionType=t)}updateCaptionPosition(e){if(!e.dynamicCaption||!e.dynamicCaption.type||!e.dynamicCaption.element)return;if("mobile"===e.dynamicCaption.type)return this.setCaptionType(e.dynamicCaption.element,e.dynamicCaption.type),e.dynamicCaption.element.style.removeProperty("left"),e.dynamicCaption.element.style.removeProperty("top"),void this.setCaptionWidth(e.dynamicCaption.element,!1);const t=e.zoomLevels.initial,n=Math.ceil(e.width*t),r=Math.ceil(e.height*t);this.setCaptionType(e.dynamicCaption.element,e.dynamicCaption.type),"aside"===e.dynamicCaption.type?(this.setCaptionPosition(e.dynamicCaption.element,e.bounds.center.x+n,e.bounds.center.y),this.setCaptionWidth(e.dynamicCaption.element,!1)):"below"===e.dynamicCaption.type&&(this.setCaptionPosition(e.dynamicCaption.element,e.bounds.center.x,e.bounds.center.y+r),this.setCaptionWidth(e.dynamicCaption.element,n))}onCalcSlideSize(e){const{slide:t}=e;let n,r;if(!t.dynamicCaption){t.dynamicCaption={element:void 0,type:!1,hidden:!1};const e=this.getCaptionHTML(t);if(!e)return;t.dynamicCaption.element=document.createElement("div"),t.dynamicCaption.element.className="pswp__dynamic-caption pswp__hide-on-close",t.dynamicCaption.element.innerHTML=e,this.pswp.dispatch("dynamicCaptionUpdateHTML",{c
2aptionElement:t.dynamicCaption.element,slide:t}),t.holderElement.appendChild(t.dynamicCaption.element)}if(!t.dynamicCaption.element)return;this.storeOriginalPanAreaSize(t),t.bounds.update(t.zoomLevels.initial),this.useMobileLayout()?(t.dynamicCaption.type="mobile",r=!0):"auto"===this.options.type?t.bounds.center.x>t.bounds.center.y?t.dynamicCaption.type="aside":t.dynamicCaption.type="below":t.dynamicCaption.type=this.options.type;const i=Math.ceil(t.width*t.zoomLevels.initial),o=Math.ceil(t.height*t.zoomLevels.initial);if(this.setCaptionType(t.dynamicCaption.element,t.dynamicCaption.type),"aside"===t.dynamicCaption.type){this.setCaptionWidth(t.dynamicCaption.element,!1),n=this.measureCaptionSize(t.dynamicCaption.element,e.slide);const r=n.x,o=i+t.bounds.center.x;t.panAreaSize.x-o<=r&&(t.panAreaSize.x-=r,this.recalculateZoomLevelAndBounds(t))}else if("below"===t.dynamicCaption.type||r){this.setCaptionWidth(t.dynamicCaption.element,r?this.pswp.viewportSize.x:i),n=this.measureCaptionSize(t.dynamicCaption.element,e.slide);const a=n.y;if(this.options.verticallyCenterImage)t.panAreaSize.y-=a,this.recalculateZoomLevelAndBounds(t);else{const e=o+t.bounds.center.y,n=t.panAreaSize.y-e,i=t.panAreaSize.y;if(n<=a){t.panAreaSize.y-=Math.min(2*(a-n),a),this.recalculateZoomLevelAndBounds(t);const e=t.panAreaSize.x*this.options.mobileCaptionOverlapRatio/2;r&&t.bounds.center.x>e&&(t.panAreaSize.y=i,this.recalculateZoomLevelAndBounds(t))}}}this.storeAdjustedPanAreaSize(t),this.updateCaptionPosition(t)}measureCaptionSize(e,t){const n=e.getBoundingClientRect();return this.pswp.dispatch("dynamicCaptionMeasureSize",{captionEl:e,slide:t,captionSize:{x:n.width,y:n.height}}).captionSize}recalculateZoomLevelAndBounds(e){e.zoomLevels.update(e.width,e.height,e.panAreaSize),e.bounds.update(e.zoomLevels.initial)}storeAdjustedPanAreaSize(e){e.dynamicCaption&&(e.dynamicCaption.adjustedPanAreaSize||(e.dynamicCaption.adjustedPanAreaSize={}),e.dynamicCaption.adjustedPanAreaSize.x=e.panAreaSize.x,e.dynamicCaption.adjustedPanAreaSize.y=e.panAreaSize.y)}storeOriginalPanAreaSize(e){e.dynamicCaption&&(e.dynamicCaption.originalPanAreaSize||(e.dynamicCaption.originalPanAreaSize={}),e.dynamicCaption.originalPanAreaSize.x=e.panAreaSize.x,e.dynamicCaption.originalPanAreaSize.y=e.panAreaSize.y)}getCaptionHTML(e){if("function"==typeof this.options.captionContent)return this.options.captionContent.call(this,e);const t=e.data.element;let n="";if(t){const e=t.querySelector(this.options.captionContent);if(e)n=e.innerHTML;else{const e=t.querySelector("img");e&&(n=e.getAttribute("alt"))}}return n}}},33274:function(e,t,n){"use strict";function r(e,t,n){const r=document.createElement(t);return e&&(r.className=e),n&&n.appendChild(r),r}function i(e,t){return e.x=t.x,e.y=t.y,void 0!==t.id&&(e.id=t.id),e}function o(e){e.x=Math.round(e.x),e.y=Math.round(e.y)}function a(e,t){const n=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y);return Math.sqrt(n*n+r*r)}function s(e,t){return e.x===t.x&&e.y===t.y}function l(e,t,n){return Math.min(Math.max(e,t),n)}function c(e,t,n){let r=`translate3d(${e}px,${t||0}px,0)`;return void 0!==n&&(r+=` scale3d(${n},${n},1)`),r}function u(e,t,n,r){e.style.transform=c(t,n,r)}n.d(t,{default:function(){return le}});function d(e,t,n,r){e.style.transition=t?`${t} ${n}ms ${r||"cubic-bezier(.4,0,.22,1)"}`:"none"}function p(e,t,n){e.style.width="number"==typeof t?`${t}px`:t,e.style.height="number"==typeof n?`${n}px`:n}const f="idle",h="loading",m="loaded",g="error";function b(){return!(!navigator.vendor||!navigator.vendor.match(/apple/i))}let y=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>{y=!0}}))}catch(e){}class v{constructor(){this._pool=[]}add(e,t,n,r){this._toggleListener(e,t,n,r)}remove(e,t,n,r){this._toggleListener(e,t,n,r,!0)}removeAll(){this._pool.forEach(e=>{this._toggleListener(e.target,e.type,e.listener,e.passive,!0,!0)}),this._pool=[]}_toggleListener(e,t,n,r,i,o){if(!e)return;const a=i?"removeEventListener":"addEventListener";t.split(" ").forEach(t=>{if(t){o||(i?this._pool=this._pool.filter(r=>r.type!==t||r.listener!==n||r.target!==e):this._pool.push({target:e,type:t,listener:n,passive:r}));const s=!!y&&{passive:r||!1};e[a](t,n,s)}})}}function w(e,t){if(e.getViewportSizeFn){const n=e.getViewportSizeFn(e,t);if(n)return n}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function _(e,t,n,r,i){let o=0;if(t.paddingFn)o=t.paddingFn(n,r,i)[e];else if(t.padding)o=t.padding[e];else{const n="padding"+e[0].toUpperCase()+e.slice(1);t[n]&&(o=t[n])}return Number(o)||0}function x(e,t,n,r){return{x:t.x-_("left",e,t,n,r)-_("right",e,t,n,r),y:t.y-_("top",e,t,n,r)-_("bottom",e,t,n,r)}}class j{constructor(e){this.slide=e,this.currZoomLevel=1,this.center={x:0,y:0},this.max={x:0,y:0},this.min={x:0,y:0}}update(e){this.currZoomLevel=e,this.slide.width?(this._updateAxis("x"),this._updateAxis("y"),this.slide.pswp.dispatch("calcBounds",{slide:this.slide})):this.reset()}_updateAxis(e){const{pswp:t}=this.slide,n=this.slide["x"===e?"width":"height"]*this.currZoomLevel,r=_("x"===e?"left"
vendor: 41,748 bytes, line 2
2:"top",t.options,t.viewportSize,this.slide.data,this.slide.index),i=this.slide.panAreaSize[e];this.center[e]=Math.round((i-n)/2)+r,this.max[e]=n>i?Math.round(i-n)+r:this.center[e],this.min[e]=n>i?r:this.center[e]}reset(){this.center.x=0,this.center.y=0,this.max.x=0,this.max.y=0,this.min.x=0,this.min.y=0}correctPan(e,t){return l(t,this.max[e],this.min[e])}}class O{constructor(e,t,n,r){this.pswp=r,this.options=e,this.itemData=t,this.index=n,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(e,t,n){const r={x:e,y:t};this.elementSize=r,this.panAreaSize=n;const i=n.x/r.x,o=n.y/r.y;this.fit=Math.min(1,i<o?i:o),this.fill=Math.min(1,i>o?i:o),this.vFill=Math.min(1,o),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(e){const t=e+"ZoomLevel",n=this.options[t];if(n)return"function"==typeof n?n(this):"fill"===n?this.fill:"fit"===n?this.fit:Number(n)}_getSecondary(){let e=this._parseZoomLevelOption("secondary");return e||(e=Math.min(1,3*this.fit),this.elementSize&&e*this.elementSize.x>4e3&&(e=4e3/this.elementSize.x),e)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,4*this.fit)}}class S{constructor(e,t,n){this.data=e,this.index=t,this.pswp=n,this.isActive=t===n.currIndex,this.currentResolution=0,this.panAreaSize={x:0,y:0},this.pan={x:0,y:0},this.isFirstSlide=this.isActive&&!n.opener.isOpen,this.zoomLevels=new O(n.options,e,t,n),this.pswp.dispatch("gettingData",{slide:this,data:this.data,index:t}),this.content=this.pswp.contentLoader.getContentBySlide(this),this.container=r("pswp__zoom-wrap","div"),this.holderElement=null,this.currZoomLevel=1,this.width=this.content.width,this.height=this.content.height,this.heavyAppended=!1,this.bounds=new j(this),this.prevDisplayedWidth=-1,this.prevDisplayedHeight=-1,this.pswp.dispatch("slideInit",{slide:this})}setIsActive(e){e&&!this.isActive?this.activate():!e&&this.isActive&&this.deactivate()}append(e){this.holderElement=e,this.container.style.transformOrigin="0 0",this.data&&(this.calculateSize(),this.load(),this.updateContentSize(),this.appendHeavy(),this.holderElement.appendChild(this.container),this.zoomAndPanToInitial(),this.pswp.dispatch("firstZoomPan",{slide:this}),this.applyCurrentZoomPan(),this.pswp.dispatch("afterSetContent",{slide:this}),this.isActive&&this.activate())}load(){this.content.load(!1),this.pswp.dispatch("slideLoad",{slide:this})}appendHeavy(){const{pswp:e}=this;!this.heavyAppended&&e.opener.isOpen&&!e.mainScroll.isShifted()&&(this.isActive,1)&&(this.pswp.dispatch("appendHeavy",{slide:this}).defaultPrevented||(this.heavyAppended=!0,this.content.append(),this.pswp.dispatch("appendHeavyContent",{slide:this})))}activate(){this.isActive=!0,this.appendHeavy(),this.content.activate(),this.pswp.dispatch("slideActivate",{slide:this})}deactivate(){this.isActive=!1,this.content.deactivate(),this.currZoomLevel!==this.zoomLevels.initial&&this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize(),this.pswp.dispatch("slideDeactivate",{slide:this})}destroy(){this.content.hasSlide=!1,this.content.remove(),this.container.remove(),this.pswp.dispatch("slideDestroy",{slide:this})}resize(){this.currZoomLevel!==this.zoomLevels.initial&&this.isActive?(this.calculateSize(),this.bounds.update(this.currZoomLevel),this.panTo(this.pan.x,this.pan.y)):(this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize())}updateContentSize(e){const t=this.currentResolution||this.zoomLevels.initial;if(!t)return;const n=Math.round(this.width*t)||this.pswp.viewportSize.x,r=Math.round(this.height*t)||this.pswp.viewportSize.y;(this.sizeChanged(n,r)||e)&&this.content.setDisplayedSize(n,r)}sizeChanged(e,t){return(e!==this.prevDisplayedWidth||t!==this.prevDisplayedHeight)&&(this.prevDisplayedWidth=e,this.prevDisplayedHeight=t,!0)}getPlaceholderElement(){var e;return null===(e=this.content.placeholder)||void 0===e?void 0:e.element}zoomTo(e,t,n,r){const{pswp:i}=this;if(!this.isZoomable()||i.mainScroll.isShifted())return;i.dispatch("beforeZoomTo",{destZoomLevel:e,centerPoint:t,transitionDuration:n}),i.animations.stopAllPan();const a=this.currZoomLevel;r||(e=l(e,this.zoomLevels.min,this.zoomLevels.max)),this.setZoomLevel(e),this.pan.x=this.calculateZoomToPanOffset("x",t,a),this.pan.y=this.calculateZoomToPanOffset("y",t,a),o(this.pan);const s=()=>{this._setResolution(e),this.applyCurrentZoomPan()};n?i.animations.startTransition({isPan:!0,name:"zoomTo",target:this.container,transform:this.getCurrentTransform(),onComplete:s,duration:n,easing:i.options.easing}):s()}toggleZoom(e){this.zoomTo(this.currZoomLevel===this.zoomLevels.initial?this.zoomLevels.secondary:this.zoomLevels.initial,e,this.pswp.options.zoomAnimationDuration)}setZoomLevel(e){this.currZoomLevel=e,this.bounds.update(this.currZoomLevel)}calculateZoomToPanOffset(e,t,n){if(0===this.bounds.max[e]-this.bounds.min[e])return this.bounds.center[e];t||(t=this.pswp.getViewportCenterPoint()),n||(n=this.zoomLevels.initial);const r=this.currZoomLevel/n;return this.bounds.correctPan(e,(this.pan[e]-t[e])*r+t[e])}panTo(e,t){this.pan.x=this.bounds.correctPan("x",e),this.pan.y=this.bounds.correctPan("y",t),this.applyCurrentZoomPan()}isPannable(){return Boolean(this.width)&&this.currZoomLevel>this.zoomLevels.fit}isZoomable(){return Boolean(this.width)&&this.content.isZoomable()}applyCurrentZoomPan(){this._applyZoomTransform(this.pan.x,this.pan.y,this.currZoomLevel),this===this.pswp.currSlide&&this.pswp.dispatch("zoomPanUpdate",{slide:this})}zoomAndPanToInitial(){this.currZoomLevel=this.zoomLevels.initial,this.bounds.update(this.currZoomLevel),i(this.pan,this.bounds.center),this.pswp.dispatch("initialZoomPan",{slide:this})}_applyZoomTransform(e,t,n){n/=this.currentResolution||this.zoomLevels.initial,u(this.container,e,t,n)}calculateSize(){const{pswp:e}=this;i(this.panAreaSize,x(e.options,e.viewportSize,this.data,this.index)),this.zoomLevels.update(this.width,this.height,this.panAreaSize),e.dispatch("calcSlideSize",{slide:this})}getCurrentTransform(){const e=this.currZoomLevel/(this.currentResolution||this.zoomLevels.initial);return c(this.pan.x,this.pan.y,e)}_setResolution(e){e!==this.currentResolution&&(this.currentResolution=e,this.updateContentSize(),this.pswp.dispatch("resolutionChanged"))}}class k{constructor(e){this.gestures=e,this.pswp=e.pswp,this.startPan={x:0,y:0}}start(){this.pswp.currSlide&&i(this.startPan,this.pswp.currSlide.pan),this.pswp.animations.stopAll()}change(){const{p1:e,prevP1:t,dragAxis:n}=this.gestures,{currSlide:r}=this.pswp;if("y"===n&&this.pswp.options.closeOnVerticalDrag&&r&&r.currZoomLevel<=r.zoomLevels.fit&&!this.gestures.isMultitouch){const n=r.pan.y+(e.y-t.y);if(!this.pswp.dispatch("verticalDrag",{panY:n}).defaultPrevented){this._setPanWithFriction("y",n,.6);const e=1-Math.abs(this._getVerticalDragRatio(r.pan.y));this.pswp.applyBgOpacity(e),r.applyCurrentZoomPan()}}else{this._panOrMoveMainScroll("x")||(this._panOrMoveMainScroll("y"),r&&(o(r.pan),r.applyCurrentZoomPan()))}}end(){const{velocity:e}=this.gestures,{mainScroll:t,currSlide:n}=this.pswp;let r=0;if(this.pswp.animations.stopAll(),t.isShifted()){const n=(t.x-t.getCurrSlideX())/this.pswp.viewportSize.x;e.x<-.5&&n<0||e.x<.1&&n<-.5?(r=1,e.x=Math.min(e.x,0)):(e.x>.5&&n>0||e.x>-.1&&n>.5)&&(r=-1,e.x=Math.max(e.x,0)),t.moveIndexBy(r,!0,e.x)}n&&n.currZoomLevel>n.zoomLevels.max||this.gestures.isMultitouch?this.gestures.zoomLevels.correctZoomPan(!0):(this._finishPanGestureForAxis("x"),this._finishPanGestureForAxis("y"))}_finishPanGestureForAxis(e){const{velocity:t}=this.gestures,{currSlide:n}=this.pswp;if(!n)return;const{pan:r,bounds:i}=n,o=r[e],a=this.pswp.bgOpacity<1&&"y"===e,s=o+function(e,t){return e*t/(1-t)}(t[e],.995);if(a){const e=this._getVerticalDragRatio(o),t=this._getVerticalDragRatio(s);if(e<0&&t<-.4||e>0&&t>.4)return void this.pswp.close()}const c=i.correctPan(e,s);if(o===c)return;const u=c===s?1:.82,d=this.pswp.bgOpacity,p=c-o;this.pswp.animations.startSpring({name:"panGesture"+e,isPan:!0,start:o,end:c,velocity:t[e],dampingRatio:u,onUpdate:t=>{if(a&&this.pswp.bgOpacity<1){const e=1-(c-t)/p;this.pswp.applyBgOpacity(l(d+(1-d)*e,0,1))}r[e]=Math.floor(t),n.applyCurrentZoomPan()}})}_panOrMoveMainScroll(e){const{p1:t,dragAxis:n,prevP1:r,isMultitouch:i}=this.gestures,{currSlide:o,mainScroll:a}=this.pswp,s=t[e]-r[e],l=a.x+s;if(!s||!o)return!1;if("x"===e&&!o.isPannable()&&!i)return a.moveTo(l,!0),!0;const{bounds:c}=o,u=o.pan[e]+s;if(this.pswp.options.allowPanToNext&&"x"===n&&"x"===e&&!i){const t=a.getCurrSlideX(),n=a.x-t,r=s>0,i=!r;if(u>c.min[e]&&r){if(c.min[e]<=this.startPan[e])return a.moveTo(l,!0),!0;this._setPanWithFriction(e,u)}else if(u<c.max[e]&&i){if(this.startPan[e]<=c.max[e])return a.moveTo(l,!0),!0;this._setPanWithFriction(e,u)}else if(0!==n){if(n>0)return a.moveTo(Math.max(l,t),!0),!0;if(n<0)return a.moveTo(Math.min(l,t),!0),!0}else this._setPanWithFriction(e,u)}else"y"===e&&(a.isShifted()||c.min.y===c.max.y)||this._setPanWithFriction(e,u);return!1}_getVerticalDragRatio(e){var t,n;return(e-(null!==(t=null===(n=this.pswp.currSlide)||void 0===n?void 0:n.bounds.center.y)&&void 0!==t?t:0))/(this.pswp.viewportSize.y/3)}_setPanWithFriction(e,t,n){const{currSlide:r}=this.pswp;if(!r)return;const{pan:i,bounds:o}=r;if(o.correctPan(e,t)!==t||n){const r=Math.round(t-i[e]);i[e]+=r*(n||.35)}else i[e]=t}}function C(e,t,n){return e.x=(t.x+n.x)/2,e.y=(t.y+n.y)/2,e}class P{constructor(e){this.gestures=e,this._startPan={x:0,y:0},this._startZoomPoint={x:0,y:0},this._zoomPoint={x:0,y:0},this._wasOverFitZoomLevel=!1,this._startZoomLevel=1}start(){const{currSlide:e}=this.gestures.pswp;e&&(this._startZoomLevel=e.currZoomLevel,i(this._startPan,e.pan)),this.gestures.pswp.animations.stopAllPan(),this._wasOverFitZoomLevel=!1}change(){const{p1:e,startP1:t,p2:n,startP2:r,pswp:i}=this.gestures,{currSlide:o}=i;if(!o)return;const s=o.zoomLevels.min,l=o.zoomLevels.max;if(!o.isZoomable()||i.mainScroll.isShifted())return;C(this._startZoomPoint,t,r),C(this._zoomPoint,e,n);let c=1/a(t,r)*a(e,n)*this._startZoomLevel;if(c>o.zoomLevels.initial+o.zoomLevels.initial/15&&(this._wasOverFitZoomLevel=!0),c<s)if(i.options.pinchToClose&&!this._wasOverFitZoomLevel&&this._startZoomLevel<=o.zoomLevels.initial){const e=1-(s-c)/(s/1.2);i.dispatch("pinchClose",{bgOpacity:e}).defaultPrevented||i.applyBgOpacity(e)}else c=s-.15*(s-c);else c>l&&(c=l+.05*(c-l));o.pan.x=this._calculatePanForZoomLevel("x",c),o.pan.y=this._calculatePanForZoomLevel("y",c),o.setZoomLevel(c),o.applyCurrentZoomPan()}end(){const{pswp:e}=this.gestures,{currSlide:t}=e;(!t||t.currZoomLevel<t.zoomLevels.initial)&&!this._wasOverFitZoomLevel&&e.options.pinchToClose?e.close():this.correctZoomPan()}_calculatePanForZoomLevel(e,t){const n=t/this._startZoomLevel;return this._zoomPoint[e]-(this._startZoomPoint[e]-this._startPan[e])*n}correctZoomPan(e){const{pswp:t}=this.gestures,{currSlide:n}=t;if(null==n||!n.isZoomable())return;0===this._zoomPoint.x&&(e=!0);const r=n.currZoomLevel;let o,a=!0;r<n.zoomLevels.initial?o=n.zoomLevels.initial:r>n.zoomLevels.max?o=n.zoomLevels.max:(a=!1,o=r);const c=t.bgOpacity,u=t.bgOpacity<1,d=i({x:0,y:0},n.pan);let p=i({x:0,y:0},d);e&&(this._zoomPoint.x=0,this._zoomPoint.y=0,this._startZoomPoint.x=0,this._startZoomPoint.y=0,this._startZoomLevel=r,i(this._startPan,d)),a&&(p={x:this._calculatePanForZoomLevel("x",o),y:this._calculatePanForZoomLevel("y",o)}),n.setZoomLevel(o),p={x:n.bounds.correctPan("x",p.x),y:n.bounds.correctPan("y",p.y)},n.setZoomLevel(r);const f=!s(p,d);if(!f&&!a&&!u)return n._setResolution(o),void n.applyCurrentZoomPan();t.animations.stopAllPan(),t.animations.startSpring({isPan:!0,start:0,end:1e3,velocity:0,dampingRatio:1,naturalFrequency:40,onUpdate:e=>{if(e/=1e3,f||a){if(f&&(n.pan.x=d.x+(p.x-d.x)*e,n.pan.y=d.y+(p.y-d.y)*e),a){const t=r+(o-r)*e;n.setZoomLevel(t)}n.applyCurrentZoomPan()}u&&t.bgOpacity<1&&t.applyBgOpacity(l(c+(1-c)*e,0,1))},onComplete:()=>{n._setResolution(o),n.applyCurrentZoomPan()}})}}function T(e){return!!e.target.closest(".pswp__container")}class E{constructor(e){this.gestures=e}click(e,t){const n=t.target.classList,r=n.contains("pswp__img"),i=n.contains("pswp__item")||n.contains("pswp__zoom-wrap");r?this._doClickOrTapAction("imageClick",e,t):i&&this._doClickOrTapAction("bgClick",e,t)}tap(e,t){T(t)&&this._doClickOrTapAction("tap",e,t)}doubleTap(e,t){T(t)&&this._doClickOrTapAction("doubleTap",e,t)}_doClickOrTapAction(e,t,n){var r;const{pswp:i}=this.gestures,{currSlide:o}=i,a=e+"Action",s=i.options[a];if(!i.dispatch(a,{point:t,originalEvent:n}).defaultPrevented)if("function"!=typeof s)switch(s){case"close":case"next":i[s]();break;case"zoom":null==o||o.toggleZoom(t);break;case"zoom-or-close":null!=o&&o.isZoomable()&&o.zoomLevels.secondary!==o.zoomLevels.initial?o.toggleZoom(t):i.options.clickToCloseNonZoomable&&i.close();break;case"toggle-controls":null===(r=this.gestures.pswp.element)||void 0===r||r.classList.toggle("pswp--ui-visible")}else s.call(i,t,n)}}class N{constructor(e){this.pswp=e,this.dragAxis=null,this.p1={x:0,y:0},this.p2={x:0,y:0},this.prevP1={x:0,y:0},this.prevP2={x:0,y:0},this.startP1={x:0,y:0},this.startP2={x:0,y:0},this.velocity={x:0,y:0},this._lastStartP1={x:0,y:0},this._intervalP1={x:0,y:0},this._numActivePoints=0,this._ongoingPointers=[],this._touchEventEnabled="ontouchstart"in window,this._pointerEventEnabled=!!window.PointerEvent,this.supportsTouch=this._touchEventEnabled||this._pointerEventEnabled&&navigator.maxTouchPoints>1,this._numActivePoints=0,this._intervalTime=0,this._velocityCalculated=!1,this.isMultitouch=!1,this.isDragging=!1,this.isZooming=!1,this.raf=null,this._tapTimer=null,this.supportsTouch||(e.options.allowPanToNext=!1),this.drag=new k(this),this.zoomLevels=new P(this),this.tapHandler=new E(this),e.on("bindEvents",()=>{e.events.add(e.scrollWrap,"click",this._onClick.bind(this)),this._pointerEventEnabled?this._bindEvents("pointer","down","up","cancel"):this._touchEventEnabled?(this._bindEvents("touch","start","end","cancel"),e.scrollWrap&&(e.scrollWrap.ontouchmove=()=>{},e.scrollWrap.ontouchend=()=>{})):this._bindEvents("mouse","down","up")})}_bindEvents(e,t,n,r){const{pswp:i}=this,{events:o}=i,a=r?e+r:"";o.add(i.scrollWrap,e+t,this.onPointerDown.bind(this)),o.add(window,e+"move",this.onPointerMove.bind(this)),o.add(window,e+n,this.onPointerUp.bind(this)),a&&o.add(i.scrollWrap,a,this.onPointerUp.bind(this))}onPointerDown(e){const t="mousedown"===e.type||"mouse"===e.pointerType;if(t&&e.button>0)return;const{pswp:n}=this;n.opener.isOpen?n.dispatch("pointerDown",{originalEvent:e}).defaultPrevented||(t&&(n.mouseDetected(),this._preventPointerEventBehaviour(e,"down")),n.animations.stopAll(),this._updatePoints(e,"down"),1===this._numActivePoints&&(this.dragAxis=null,i(this.startP1,this.p1)),this._numActivePoints>1?(this._clearTapTimer(),this.isMultitouch=!0):this.isMultitouch=!1):e.preventDefault()}onPointerMove(e){this._preventPointerEventBehaviour(e,"move"),this._numActivePoints&&(this._updatePoints(e,"move"),this.pswp.dispatch("pointerMove",{originalEvent:e}).defaultPrevented||(1!==this._numActivePoints||this.isDragging?this._numActivePoints>1&&!this.isZooming&&(this._finishDrag(),this.isZooming=!0,this._updateStartPoints(),this.zoomLevels.start(),this._rafStopLoop(),this._rafRenderLoop()):(this.dragAxis||this._calculateDragDirection(),this.dragAxis&&!this.isDragging&&(this.isZooming&&(this.isZooming=!1,this.zoomLevels.end()),this.isDragging=!0,this._clearTapTimer(),this._updateStartPoints(),this._intervalTime=Date.now(),this._velocityCalculated=!1,i(this._intervalP1,this.p1),this.velocity.x=0,this.velocity.y=0,this.drag.start(),this._rafStopLoop(),this._rafRenderLoop()))))}_finishDrag(){this.isDragging&&(this.isDragging=!1,this._velocityCalculated||this._updateVelocity(!0),this.drag.end(),this.dragAxis=null)}onPointerUp(e){this._numActivePoints&&(this._updatePoints(e,"up"),this.pswp.dispatch("pointerUp",{originalEvent:e}).defaultPrevented||(0===this._numActivePoints&&(this._rafStopLoop(),this.isDragging?this._finishDrag():this.isZooming||this.isMultitouch||this._finishTap(e)),this._numActivePoints<2&&this.isZooming&&(this.isZooming=!1,this.zoomLevels.end(),1===this._numActivePoints&&(this.dragAxis=null,this._updateStartPoints()))))}_rafRenderLoop(){(this.isDragging||this.isZooming)&&(this._updateVelocity(),this.isDragging?s(this.p1,this.prevP1)||this.drag.change():s(this.p1,this.prevP1)&&s(this.p2,this.prevP2)||this.zoomLevels.change(),this._updatePrevPoints(),this.raf=requestAnimationFrame(this._rafRenderLoop.bind(this)))}_updateVelocity(e){const t=Date.now(),n=t-this._intervalTime;n<50&&!e||(this.velocity.x=this._getVelocity("x",n),this.velocity.y=this._getVelocity("y",n),this._intervalTime=t,i(this._intervalP1,this.p1),this._velocityCalculated=!0)}_finishTap(e){const{mainScroll:t}=this.pswp;if(t.isShifted())return void t.moveIndexBy(0,!0);if(e.type.indexOf("cancel")>0)return;if("mouseup"===e.type||"mouse"===e.pointerType)return void this.tapHandler.click(this.startP1,e);const n=this.pswp.options.doubleTapAction?300:0;this._tapTimer?(this._clearTapTimer(),a(this._lastStartP1,this.startP1)<25&&this.tapHandler.doubleTap(this.startP1,e)):(i(this._lastStartP1,this.startP1),this._tapTimer=setTimeout(()=>{this.tapHandler.tap(this.startP1,e),this._clearTapTimer()},n))}_clearTapTimer(){this._tapTimer&&(clearTimeout(this._tapTimer),this._tapTimer=null)}_getVelocity(e,t){const n=this.p1[e]-this._intervalP1[e];return Math.abs(n)>1&&t>5?n/t:0}_rafStopLoop(){this.raf&&(cancelAnimationFrame(this.raf),this.raf=null)}_preventPointerEventBehaviour(e,t){this.pswp.applyFilters("preventPointerEvent",!0,e,t)&&e.preventDefault()}_updatePoints(e,t){if(this._pointerEventEnabled){const n=e,r=this._ongoingPointers.findIndex(e=>e.id===n.pointerId);"up"===t&&r>-1?this._ongoingPointers.splice(r,1):"down"===t&&-1===r?this._ongoingPointers.push(this._convertEventPosToPoint(n,{x:0,y:0})):r>-1&&this._convertEventPosToPoint(n,this._ongoingPointers[r]),this._numActivePoints=this._ongoingPointers.length,this._numActivePoints>0&&i(this.p1,this._ongoingPointers[0]),this._numActivePoints>1&&i(this.p2,this._ongoingPointers[1])}else{const n=e;this._numActivePoints=0,n.type.indexOf("touch")>-1?n.touches&&n.touches.length>0&&(this._convertEventPosToPoint(n.touches[0],this.p1),this._numActivePoints++,n.touches.length>1&&(this._convertEventPosToPoint(n.touches[1],this.p2),this._numActivePoints++)):(this._convertEventPosToPoint(e,this.p1),"up"===t?this._numActivePoints=0:this._numActivePoints++)}}_updatePrevPoints(){i(this.prevP1,this.p1),i(this.prevP2,this.p2)}_updateStartPoints(){i(this.startP1,this.p1),i(this.startP2,this.p2),this._updatePrevPoints()}_calculateDragDirection(){if(this.pswp.mainScroll.isShifted())this.dragAxis="x";else{const e=Math.abs(this.p1.x-this.startP1.x)-Math.abs(this.p1.y-this.startP1.y);if(0!==e){const t=e>0?"x":"y";Math.abs(this.p1[t]-this.startP1[t])>=10&&(this.dragAxis=t)}}}_convertEventPosToPoint(e,t){return t.x=e.pageX-this.pswp.offset.x,t.y=e.pageY-this.pswp.offset.y,"pointerId"in e?t.id=e.pointerId:void 0!==e.identifier&&(t.id=e.identifier),t}_onClick(e){this.pswp.mainScroll.isShifted()&&(e.preventDefault(),e.stopPropagation())}}class A{constructor(e){this.pswp=e,this.x=0,this.slideWidth=0,this._currPositionIndex=0,this._prevPositionIndex=0,this._containerShiftIndex=-1,this.itemHolders=[]}resize(e){const{pswp:t}=this,n=Math.round(t.viewportSize.x+t.viewportSize.x*t.options.spacing),r=n!==this.slideWidth;r&&(this.slideWidth=n,this.moveTo(this.getCurrSlideX())),this.itemHolders.forEach((t,n)=>{r&&u(t.el,(n+this._containerShiftIndex)*this.slideWidth),e&&t.slide&&t.slide.resize()})}resetPosition(){this._currPositionIndex=0,this._prevPositionIndex=0,this.slideWidth=0,this._containerShiftIndex=-1}appendHolders(){this.itemHolders=[];for(let e=0;e<3;e++){const t=r("pswp__item","div",this.pswp.container);t.setAttribute("role","group"),t.setAttribute("aria-roledescription","slide"),t.setAttribute("aria-hidden","true"),t.style.display=1===e?"block":"none",this.itemHolders.push({el:t})}}canBeSwiped(){return this.pswp.getNumItems()>1}moveIndexBy(e,t,n){const{pswp:r}=this;let i=r.potentialIndex+e;const o=r.getNumItems();if(r.canLoop()){i=r.getLoopedIndex(i);const t=(e+o)%o;e=t<=o/2?t:t-o}else i<0?i=0:i>=o&&(i=o-1),e=i-r.potentialIndex;r.potentialIndex=i,this._currPositionIndex-=e,r.animations.stopMainScroll();const a=this.getCurrSlideX();if(t){r.animations.startSpring({isMainScroll:!0,start:this.x,end:a,velocity:n||0,naturalFrequency:30,dampingRatio:1,onUpdate:e=>{this.moveTo(e)},onComplete:()=>{this.updateCurrItem(),r.appendHeavy()}});let e=r.potentialIndex-r.currIndex;if(r.canLoop()){const t=(e+o)%o;e=t<=o/2?t:t-o}Math.abs(e)>1&&this.updateCurrItem()}else this.moveTo(a),this.updateCurrItem();return Boolean(e)}getCurrSlideX(){return this.slideWidth*this._currPositionIndex}isShifted(){return this.x!==this.getCurrSlideX()}updateCurrItem(){var e;const{pswp:t}=this,n=this._prevPositionIndex-this._currPositionIndex;if(!n)return;this._prevPositionIndex=this._currPositionIndex,t.currIndex=t.potentialIndex;let r,i=Math.abs(n);i>=3&&(this._containerShiftIndex+=n+(n>0?-3:3),i=3,this.itemHolders.forEach(e=>{var t;null===(t=e.slide)||void 0===t||t.destroy(),e.slide=void 0}));for(let e=0;e<i;e++)n>0?(r=this.itemHolders.shift(),r&&(this.itemHolders[2]=r,this._containerShiftIndex++,u(r.el,(this._containerShiftIndex+2)*this.slideWidth),t.setContent(r,t.currIndex-i+e+2))):(r=this.itemHolders.pop(),r&&(this.itemHolders.unshift(r),this._containerShiftIndex--,u(r.el,this._containerShiftIndex*this.slideWidth),t.setContent(r,t.currIndex+i-e-2)));Math.abs(this._containerShiftIndex)>50&&!this.isShifted()&&(this.resetPosition(),this.resize()),t.animations.stopAllPan(),this.itemHolders.forEach((e,t)=>{e.slide&&e.slide.setIsActive(1===t)}),t.currSlide=null===(e=this.itemHolders[1])||void 0===e?void 0:e.slide,t.contentLoader.updateLazy(n),t.currSlide&&t.currSlide.applyCurrentZoomPan(),t.dispatch("change")}moveTo(e,t){if(!this.pswp.canLoop()&&t){let t=(this.slideWidth*this._currPositionIndex-e)/this.slideWidth;t+=this.pswp.currIndex;const n=Math.round(e-this.x);(t<0&&n>0||t>=this.pswp.getNumItems()-1&&n<0)&&(e=this.x+.35*n)}this.x=e,this.pswp.container&&u(this.pswp.container,e),this.pswp.dispatch("moveMainScroll",{x:e,dragging:null!=t&&t})}}const I={Escape:27,z:90,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Tab:9},L=(e,t)=>t?e:I[e];class D{constructor(e){this.pswp=e,this._wasFocused=!1,e.on("bindEvents",()=>{e.options.trapFocus&&(e.options.initialPointerPos||this._focusRoot(),e.events.add(document,"focusin",this._onFocusIn.bind(this))),e.events.add(document,"keydown",this._onKeyDown.bind(this))});const t=document.activeElement;e.on("destroy",()=>{e.options.returnFocus&&t&&this._wasFocused&&t.focus()})}_focusRoot(){!this._wasFocused&&this.pswp.element&&(this.pswp.element.focus(),this._wasFocused=!0)}_onKeyDown(e){const{pswp:t}=this;if(t.dispatch("keydown",{originalEvent:e}).defaultPrevented)return;if(function(e){return"button"in e&&1===e.button||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}(e))return;let n,r,i=!1;const o="key"in e;switch(o?e.key:e.keyCode){case L("Escape",o):t.options.escKey&&(n="close");break;case L("z",o):n="toggleZoom";break;case L("ArrowLeft",o):r="x";break;case L("ArrowUp",o):r="y";break;case L("ArrowRight",o):r="x",i=!0;break;case L("ArrowDown",o):i=!0,r="y";break;case L("Tab",o):this._focusRoot()}if(r){e.preventDefault();const{currSlide:o}=t;t.options.arrowKeys&&"x"===r&&t.getNumItems()>1?n=i?"next":"prev":o&&o.currZoomLevel>o.zoomLevels.fit&&(o.pan[r]+=i?-80:80,o.panTo(o.pan.x,o.pan.y))}n&&(e.preventDefault(),t[n]())}_onFocusIn(e){const{template:t}=this.pswp;t&&document!==e.target&&t!==e.target&&!t.contains(e.target)&&t.focus()}}const R="cubic-bezier(.4,0,.22,1)";class M{constructor(e){var t;this.props=e;const{target:n,onComplete:r,transform:i,onFinish:o=()=>{},duration:a=333,easing:s=R}=e;this.onFinish=o;const l=i?"transform":"opacity",c=null!==(t=e[l])&&void 0!==t?t:"";this._target=n,this._onComplete=r,this._finished=!1,this._onTransitionEnd=this._onTransitionEnd.bind(this),this._helperTimeout=setTimeout(()=>{d(n,l,a,s),this._helperTimeout=setTimeout(()=>{n.addEventListener("transitionend",this._onTransitionEnd,!1),n.addEventListener("transitioncancel",this._onTransitionEnd,!1),this._helperTimeout=setTimeout(()=>{this._finalizeAnimation()},a+500),n.style[l]=c},30)},0)}_onTransitionEnd(e){e.target===this._target&&this._finalizeAnimation()}_finalizeAnimation(){this._finished||(this._finished=!0,this.onFinish(),this._onComplete&&this._onComplete())}destroy(){this._helperTimeout&&clearTimeout(this._helperTimeout),d(this._target),this._target.removeEventListener("transitionend",this._onTransitionEnd,!1),this._target.removeEventListener("transitioncancel",this._onTransitionEnd,!1),this._finished||this._finalizeAnimation()}}class ${constructor(e,t,n){this.velocity=1e3*e,this._dampingRatio=t||.75,this._naturalFrequency=n||12,this._dampedFrequency=this._naturalFrequency,this._dampingRatio<1&&(this._dampedFrequency*=Math.sqrt(1-this._dampingRatio*this._dampingRatio))}easeFrame(e,t){let n,r=0;t/=1e3;const i=Math.E**(-this._dampingRatio*this._naturalFrequency*t);if(1===this._dampingRatio)n=this.velocity+this._naturalFrequency*e,r=(e+n*t)*i,this.velocity=r*-this._naturalFrequency+n*i;else if(this._dampingRatio<1){n=1/this._dampedFrequency*(this._dampingRatio*this._naturalFrequency*e+this.velocity);const o=Math.cos(this._dampedFrequency*t),a=Math.sin(this._dampedFrequency*t);r=i*(e*o+n*a),this.velocity=r*-this._naturalFrequency*this._dampingRatio+i*(-this._dampedFrequency*e*a+this._dampedFrequency*n*o)}return r}}class F{constructor(e){this.props=e,this._raf=0;const{start:t,end:n,velocity:r,onUpdate:i,onComplete:o,onFinish:a=()=>{},dampingRatio:s,naturalFrequency:l}=e;this.onFinish=a;const c=new $(r,s,l);let u=Date.now(),d=t-n;const p=()=>{this._raf&&(d=c.easeFrame(d,Date.now()-u),Math.abs(d)<1&&Math.abs(c.velocity)<50?(i(n),o&&o(),this.onFinish()):(u=Date.now(),i(d+n),this._raf=requestAnimationFrame(p)))};this._raf=requestAnimationFrame(p)}destroy(){this._raf>=0&&cancelAnimationFrame(this._raf),this._raf=0}}class V{constructor(){this.activeAnimations=[]}startSpring(e){this._start(e,!0)}startTransition(e){this._start(e)}_start(e,t){const n=t?new F(e):new M(e);return this.activeAnimations.push(n),n.onFinish=()=>this.stop(n),n}stop(e){e.destroy();const t=this.activeAnimations.indexOf(e);t>-1&&this.activeAnimations.splice(t,1)}stopAll(){this.activeAnimations.forEach(e=>{e.destroy()}),this.activeAnimations=[]}stopAllPan(){this.activeAnimations=this.activeAnimations.filter(e=>!e.props.isPan||(e.destroy(),!1))}stopMainScroll(){this.activeAnimations=this.activeAnimations.filter(e=>!e.props.isMainScroll||(e.destroy(),!1))}isPanRunning(){return this.activeAnimations.some(e=>e.props.isPan)}}class z{constructor(e){this.pswp=e,e.events.add(e.element,"wheel",this._onWheel.bind(this))}_onWheel(e){e.preventDefault();const{currSlide:t}=this.pswp;let{deltaX:n,deltaY:r}=e;if(t&&!this.pswp.dispatch("wheel",{originalEvent:e}).defaultPrevented)if(e.ctrlKey||this.pswp.options.wheelToZoom){if(t.isZoomable()){let n=-r;1===e.deltaMode?n*=.05:n*=e.deltaMode?1:.002,n=2**n;const i=t.currZoomLevel*n;t.zoomTo(i,{x:e.clientX,y:e.clientY})}}else t.isPannable()&&(1===e.deltaMode&&(n*=18,r*=18),t.panTo(t.pan.x-n,t.pan.y-r))}}class B{constructor(e,t){var n;const i=t.name||t.className;let o=t.html;if(!1===e.options[i])return;"string"==typeof e.options[i+"SVG"]&&(o=e.options[i+"SVG"]),e.dispatch("uiElementCreate",{data:t});let a="";t.isButton?(a+="pswp__button ",a+=t.className||`pswp__button--${t.name}`):a+=t.className||`pswp__${t.name}`;let s=t.isButton?t.tagName||"button":t.tagName||"div";s=s.toLowerCase();const l=r(a,s);if(t.isButton){"button"===s&&(l.type="button");let{title:n}=t;const{ariaLabel:r}=t;"string"==typeof e.options[i+"Title"]&&(n=e.options[i+"Title"]),n&&(l.title=n);const o=r||n;o&&l.setAttribute("aria-label",o)}l.innerHTML=function(e){if("string"==typeof e)return e;if(!e||!e.isCustomSVG)return"";const t=e;let n='<svg aria-hidden="true" class="pswp__icn" viewBox="0 0 %d %d" width="%d" height="%d">';return n=n.split("%d").join(t.size||32),t.outlineID&&(n+='<use class="pswp__icn-shadow" xlink:href="#'+t.outlineID+'"/>'),n+=t.inner,n+="</svg>",n}(o),t.onInit&&t.onInit(l,e),t.onClick&&(l.onclick=n=>{"string"==typeof t.onClick?e[t.onClick]():"function"==typeof t.onClick&&t.onClick(n,l,e)});const c=t.appendTo||"bar";let u=e.element;"bar"===c?(e.topBar||(e.topBar=r("pswp__top-bar pswp__hide-on-close","div",e.scrollWrap)),u=e.topBar):(l.classList.add("pswp__hide-on-close"),"wrapper"===c&&(u=e.scrollWrap)),null===(n=u)||void 0===n||n.appendChild(e.applyFilters("uiElement",l,t))}}function H(e,t,n){e.classList.add("pswp__button--arrow"),e.setAttribute("aria-controls","pswp__items"),t.on("change",()=>{t.options.loop||(e.disabled=n?!(t.currIndex<t.getNumItems()-1):!(t.currIndex>0))})}const U={name:"arrowPrev",className:"pswp__button--arrow--prev",title:"Previous",order:10,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<path d="M29 43l-3 3-16-16 16-16 3 3-13 13 13 13z" id="pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"prev",onInit:H},q={name:"arrowNext",className:"pswp__button--arrow--next",title:"Next",order:11,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<use xlink:href="#pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"next",onInit:(e,t)=>{H(e,t,!0)}},Z={name:"close",title:"Close",order:20,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M24 10l-2-2-6 6-6-6-2 2 6 6-6 6 2 2 6-6 6 6 2-2-6-6z" id="pswp__icn-close"/>',outlineID:"pswp__icn-close"},onClick:"close"},G={name:"zoom",title:"Zoom",order:10,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M17.426 19.926a6 6 0 1 1 1.5-1.5L23 22.5 21.5 24l-4.074-4.074z" id="pswp__icn-zoom"/><path fill="currentColor" class="pswp__zoom-icn-bar-h" d="M11 16v-2h6v2z"/><path fill="currentColor" class="pswp__zoom-icn-bar-v" d="M13 12h2v6h-2z"/>',outlineID:"pswp__icn-zoom"},onClick:"toggleZoom"},W={name:"preloader",appendTo:"bar",order:7,html:{isCustomSVG:!0,inner:'<path fill-rule="evenodd" clip-rule="evenodd" d="M21.2 16a5.2 5.2 0 1 1-5.2-5.2V8a8 8 0 1 0 8 8h-2.8Z" id="pswp__icn-loading"/>',outlineID:"pswp__icn-loading"},onInit:(e,t)=>{let n,r=null;const i=t=>{var r,i;n!==t&&(n=t,r="active",i=t,e.classList.toggle("pswp__preloader--"+r,i))},o=()=>{var e;if(null===(e=t.currSlide)||void 0===e||!e.content.isLoading())return i(!1),void(r&&(clearTimeout(r),r=null));r||(r=setTimeout(()=>{var e;i(Boolean(null===(e=t.currSlide)||void 0===e?void 0:e.content.isLoading())),r=null},t.options.preloaderDelay))};t.on("change",o),t.on("loadComplete",e=>{t.currSlide===e.slide&&o()}),t.ui&&(t.ui.updatePreloaderVisibility=o)}},K={name:"counter",order:5,onInit:(e,t)=>{t.on("change",()=>{e.innerText=t.currIndex+1+t.options.indexIndicatorSep+t.getNumItems()})}};function Y(e,t){e.classList.toggle("pswp--zoomed-in",t)}class J{constructor(e){this.pswp=e,this.isRegistered=!1,this.uiElementsData=[],this.items=[],this.updatePreloaderVisibility=()=>{},this._lastUpdatedZoomLevel=void 0}init(){const{pswp:e}=this;this.isRegistered=!1,this.uiElementsData=[Z,U,q,G,W,K],e.dispatch("uiRegister"),this.uiElementsData.sort((e,t)=>(e.order||0)-(t.order||0)),this.items=[],this.isRegistered=!0,this.uiElementsData.forEach(e=>{this.registerElement(e)}),e.on("change",()=>{var t;null===(t=e.element)||void 0===t||t.classList.toggle("pswp--one-slide",1===e.getNumItems())}),e.on("zoomPanUpdate",()=>this._onZoomPanUpdate())}registerElement(e){this.isRegistered?this.items.push(new B(this.pswp,e)):this.uiElementsData.push(e)}_onZoomPanUpdate(){const{template:e,currSlide:t,options:n}=this.pswp;if(this.pswp.opener.isClosing||!e||!t)return;let{currZoomLevel:r}=t;if(this.pswp.opener.isOpen||(r=t.zoomLevels.initial),r===this._lastUpdatedZoomLevel)return;this._lastUpdatedZoomLevel=r;const i=t.zoomLevels.initial-t.zoomLevels.secondary;if(Math.abs(i)<.01||!t.isZoomable())return Y(e,!1),void e.classList.remove("pswp--zoom-allowed");e.classList.add("pswp--zoom-allowed");Y(e,(r===t.zoomLevels.initial?t.zoomLevels.secondary:t.zoomLevels.initial)<=r),"zoom"!==n.imageClickAction&&"zoom-or-close"!==n.imageClickAction||e.classList.add("pswp--click-to-zoom")}}class X{constructor(e,t){this.type=e,this.defaultPrevented=!1,t&&Object.assign(this,t)}preventDefault(){this.defaultPrevented=!0}}class Q{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(e,t,n=100){var r,i,o;this._filters[e]||(this._filters[e]=[]),null===(r=this._filters[e])||void 0===r||r.push({fn:t,priority:n}),null===(i=this._filters[e])||void 0===i||i.sort((e,t)=>e.priority-t.priority),null===(o=this.pswp)||void 0===o||o.addFilter(e,t,n)}removeFilter(e,t){this._filters[e]&&(this._filters[e]=this._filters[e].filter(e=>e.fn!==t)),this.pswp&&this.pswp.removeFilter(e,t)}applyFilters(e,...t){var n;return null===(n=this._filters[e])||void 0===n||n.forEach(e=>{t[0]=e.fn.apply(this,t)}),t[0]}on(e,t){var n,r;this._listeners[e]||(this._listeners[e]=[]),null===(n=this._listeners[e])||void 0===n||n.push(t),null===(r=this.pswp)||void 0===r||r.on(e,t)}off(e,t){var n;this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(e=>t!==e)),null===(n=this.pswp)||void 0===n||n.off(e,t)}dispatch(e,t){var n;if(this.pswp)return this.pswp.dispatch(e,t);const r=new X(e,t);return null===(n=this._listeners[e])||void 0===n||n.forEach(e=>{e.call(this,r)}),r}}class ee{constructor(e,t){if(this.element=r("pswp__img pswp__img--placeholder",e?"img":"div",t),e){const t=this.element;t.decoding="async",t.alt="",t.src=e,t.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(e,t){this.element&&("IMG"===this.element.tagName?(p(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=c(0,0,e/250)):p(this.element,e,t))}destroy(){var e;null!==(e=this.element)&&void 0!==e&&e.parentNode&&this.element.remove(),this.element=null}}class te{constructor(e,t,n){this.instance=t,this.data=e,this.index=n,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=f,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(e,t){if(this.slide&&this.usePlaceholder())if(this.placeholder){const e=this.placeholder.element;e&&!e.parentElement&&this.slide.container.prepend(e)}else{const e=this.instance.applyFilters("placeholderSrc",!(!this.data.msrc||!this.slide.isFirstSlide)&&this.data.msrc,this);this.placeholder=new ee(e,this.slide.container)}this.element&&!t||this.instance.dispatch("contentLoad",{content:this,isLazy:e}).defaultPrevented||(this.isImageContent()?(this.element=r("pswp__img","img"),this.displayedImageWidth&&this.loadImage(e)):(this.element=r("pswp__content","div"),this.element.innerHTML=this.data.html||""),t&&this.slide&&this.slide.updateContentSize(!0))}loadImage(e){var t,n;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:e}).defaultPrevented)return;const r=this.element;this.updateSrcsetSizes(),this.data.srcset&&(r.srcset=this.data.srcset),r.src=null!==(t=this.data.src)&&void 0!==t?t:"",r.alt=null!==(n=this.data.alt)&&void 0!==n?n:"",this.state=h,r.complete?this.onLoaded():(r.onload=()=>{this.onLoaded()},r.onerror=()=>{this.onError()})}setSlide(e){this.slide=e,this.hasSlide=!0,this.instance=e.pswp}onLoaded(){this.state=m,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),this.state!==m&&this.state!==g||this.removePlaceholder())}onError(){this.state=g,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===h,this)}isError(){return this.state===g}isImageContent(){return"image"===this.type}setDisplayedSize(e,t){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(e,t),!this.instance.dispatch("contentResize",{content:this,width:e,height:t}).defaultPrevented&&(p(this.element,e,t),this.isImageContent()&&!this.isError()))){const n=!this.displayedImageWidth&&e;this.displayedImageWidth=e,this.displayedImageHeight=t,n?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:e,height:t,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==g,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const e=this.element,t=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!e.dataset.largestUsedSize||t>parseInt(e.dataset.largestUsedSize,10))&&(e.sizes=t+"px",e.dataset.largestUsedSize=String(t))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented||(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var e,t;let n=r("pswp__error-msg","div");n.innerText=null!==(e=null===(t=this.instance.options)||void 0===t?void 0:t.errorMsg)&&void 0!==e?e:"",n=this.instance.applyFilters("contentErrorElement",n,this),this.element=r("pswp__content pswp__error-msg-container","div"),this.element.appendChild(n),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===g)return void this.displayError();if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const e="decode"in this.element;this.isImageContent()?e&&this.slide&&(!this.slide.isActive||b())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){!this.instance.dispatch("contentActivate",{content:this}).defaultPrevented&&this.slide&&(this.isImageContent()&&this.isDecoding&&!b()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,this.instance.dispatch("contentRemove",{content:this}).defaultPrevented||(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),this.state!==m&&this.state!==g||this.removePlaceholder()))}}function ne(e,t,n){const r=t.createContentFromData(e,n);let i;const{options:o}=t;if(o){let a;i=new O(o,e,-1),a=t.pswp?t.pswp.viewportSize:w(o,t);const s=x(o,a,e,n);i.update(r.width,r.height,s)}return r.lazyLoad(),i&&r.setDisplayedSize(Math.ceil(r.width*i.initial),Math.ceil(r.height*i.initial)),r}class re{constructor(e){this.pswp=e,this.limit=Math.max(e.options.preload[0]+e.options.preload[1]+1,5),this._cachedItems=[]}updateLazy(e){const{pswp:t}=this;if(t.dispatch("lazyLoad").defaultPrevented)return;const{preload:n}=t.options,r=void 0===e||e>=0;let i;for(i=0;i<=n[1];i++)this.loadSlideByIndex(t.currIndex+(r?i:-i));for(i=1;i<=n[0];i++)this.loadSlideByIndex(t.currIndex+(r?-i:i))}loadSlideByIndex(e){const t=this.pswp.getLoopedIndex(e);let n=this.getContentByIndex(t);n||(n=function(e,t){const n=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:n}).defaultPrevented)return ne(n,t,e)}(t,this.pswp),n&&this.addToCache(n))}getContentBySlide(e){let t=this.getContentByIndex(e.index);return t||(t=this.pswp.createContentFromData(e.data,e.index),this.addToCache(t)),t.setSlide(e),t}addToCache(e){if(this.removeByIndex(e.index),this._cachedItems.push(e),this._cachedItems.length>this.limit){const e=this._cachedItems.findIndex(e=>!e.isAttached&&!e.hasSlide);
vendor: 5,778 bytes, line 2
2if(-1!==e){this._cachedItems.splice(e,1)[0].destroy()}}}removeByIndex(e){const t=this._cachedItems.findIndex(t=>t.index===e);-1!==t&&this._cachedItems.splice(t,1)}getContentByIndex(e){return this._cachedItems.find(t=>t.index===e)}destroy(){this._cachedItems.forEach(e=>e.destroy()),this._cachedItems=[]}}class ie extends Q{getNumItems(){var e;let t=0;const n=null===(e=this.options)||void 0===e?void 0:e.dataSource;n&&"length"in n?t=n.length:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),n.items&&(t=n.items.length));const r=this.dispatch("numItems",{dataSource:n,numItems:t});return this.applyFilters("numItems",r.numItems,n)}createContentFromData(e,t){return new te(e,this,t)}getItemData(e){var t;const n=null===(t=this.options)||void 0===t?void 0:t.dataSource;let r={};Array.isArray(n)?r=n[e]:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),r=n.items[e]);let i=r;i instanceof Element&&(i=this._domElementToItemData(i));const o=this.dispatch("itemData",{itemData:i||{},index:e});return this.applyFilters("itemData",o.itemData,e)}_getGalleryDOMElements(e){var t,n;return null!==(t=this.options)&&void 0!==t&&t.children||null!==(n=this.options)&&void 0!==n&&n.childSelector?function(e,t,n=document){let r=[];if(e instanceof Element)r=[e];else if(e instanceof NodeList||Array.isArray(e))r=Array.from(e);else{const i="string"==typeof e?e:t;i&&(r=Array.from(n.querySelectorAll(i)))}return r}(this.options.children,this.options.childSelector,e)||[]:[e]}_domElementToItemData(e){const t={element:e},n="A"===e.tagName?e:e.querySelector("a");if(n){t.src=n.dataset.pswpSrc||n.href,n.dataset.pswpSrcset&&(t.srcset=n.dataset.pswpSrcset),t.width=n.dataset.pswpWidth?parseInt(n.dataset.pswpWidth,10):0,t.height=n.dataset.pswpHeight?parseInt(n.dataset.pswpHeight,10):0,t.w=t.width,t.h=t.height,n.dataset.pswpType&&(t.type=n.dataset.pswpType);const i=e.querySelector("img");var r;if(i)t.msrc=i.currentSrc||i.src,t.alt=null!==(r=i.getAttribute("alt"))&&void 0!==r?r:"";(n.dataset.pswpCropped||n.dataset.cropped)&&(t.thumbCropped=!0)}return this.applyFilters("domItemData",t,e,n)}lazyLoadData(e,t){return ne(e,this,t)}}const oe=.003;class ae{constructor(e){this.pswp=e,this.isClosed=!0,this.isOpen=!1,this.isClosing=!1,this.isOpening=!1,this._duration=void 0,this._useAnimation=!1,this._croppedZoom=!1,this._animateRootOpacity=!1,this._animateBgOpacity=!1,this._placeholder=void 0,this._opacityElement=void 0,this._cropContainer1=void 0,this._cropContainer2=void 0,this._thumbBounds=void 0,this._prepareOpen=this._prepareOpen.bind(this),e.on("firstZoomPan",this._prepareOpen)}open(){this._prepareOpen(),this._start()}close(){if(this.isClosed||this.isClosing||this.isOpening)return;const e=this.pswp.currSlide;this.isOpen=!1,this.isOpening=!1,this.isClosing=!0,this._duration=this.pswp.options.hideAnimationDuration,e&&e.currZoomLevel*e.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps(),setTimeout(()=>{this._start()},this._croppedZoom?30:0)}_prepareOpen(){if(this.pswp.off("firstZoomPan",this._prepareOpen),!this.isOpening){const e=this.pswp.currSlide;this.isOpening=!0,this.isClosing=!1,this._duration=this.pswp.options.showAnimationDuration,e&&e.zoomLevels.initial*e.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps()}}_applyStartProps(){const{pswp:e}=this,t=this.pswp.currSlide,{options:n}=e;var r,i;("fade"===n.showHideAnimationType?(n.showHideOpacity=!0,this._thumbBounds=void 0):"none"===n.showHideAnimationType?(n.showHideOpacity=!1,this._duration=0,this._thumbBounds=void 0):this.isOpening&&e._initialThumbBounds?this._thumbBounds=e._initialThumbBounds:this._thumbBounds=this.pswp.getThumbBounds(),this._placeholder=null==t?void 0:t.getPlaceholderElement(),e.animations.stopAll(),this._useAnimation=Boolean(this._duration&&this._duration>50),this._animateZoom=Boolean(this._thumbBounds)&&(null==t?void 0:t.content.usePlaceholder())&&(!this.isClosing||!e.mainScroll.isShifted()),this._animateZoom)?this._animateRootOpacity=null!==(r=n.showHideOpacity)&&void 0!==r&&r:(this._animateRootOpacity=!0,this.isOpening&&t&&(t.zoomAndPanToInitial(),t.applyCurrentZoomPan()));if(this._animateBgOpacity=!this._animateRootOpacity&&this.pswp.options.bgOpacity>oe,this._opacityElement=this._animateRootOpacity?e.element:e.bg,!this._useAnimation)return this._duration=0,this._animateZoom=!1,this._animateBgOpacity=!1,this._animateRootOpacity=!0,void(this.isOpening&&(e.element&&(e.element.style.opacity=String(oe)),e.applyBgOpacity(1)));this._animateZoom&&this._thumbBounds&&this._thumbBounds.innerRect?(this._croppedZoom=!0,this._cropContainer1=this.pswp.container,this._cropContainer2=null===(i=this.pswp.currSlide)||void 0===i?void 0:i.holderElement,e.container&&(e.container.style.overflow="hidden",e.container.style.width=e.viewportSize.x+"px")):this._croppedZoom=!1;this.isOpening?(this._animateRootOpacity?(e.element&&(e.element.style.opacity=String(oe)),e.applyBgOpacity(1)):(this._animateBgOpacity&&e.bg&&(e.bg.style.opacity=String(oe)),e.element&&(e.element.style.opacity="1")),this._animateZoom&&(this._setClosedStateZoomPan(),this._placeholder&&(this._placeholder.style.willChange="transform",this._placeholder.style.opacity=String(oe)))):this.isClosing&&(e.mainScroll.itemHolders[0]&&(e.mainScroll.itemHolders[0].el.style.display="none"),e.mainScroll.itemHolders[2]&&(e.mainScroll.itemHolders[2].el.style.display="none"),this._croppedZoom&&0!==e.mainScroll.x&&(e.mainScroll.resetPosition(),e.mainScroll.resize()))}_start(){this.isOpening&&this._useAnimation&&this._placeholder&&"IMG"===this._placeholder.tagName?new Promise(e=>{let t=!1,n=!0;var r;(r=this._placeholder,"decode"in r?r.decode().catch(()=>{}):r.complete?Promise.resolve(r):new Promise((e,t)=>
vendor: 5,701 bytes, line 2
2{r.onload=()=>e(r),r.onerror=t})).finally(()=>{t=!0,n||e(!0)}),setTimeout(()=>{n=!1,t&&e(!0)},50),setTimeout(e,250)}).finally(()=>this._initiate()):this._initiate()}_initiate(){var e,t;null===(e=this.pswp.element)||void 0===e||e.style.setProperty("--pswp-transition-duration",this._duration+"ms"),this.pswp.dispatch(this.isOpening?"openingAnimationStart":"closingAnimationStart"),this.pswp.dispatch("initialZoom"+(this.isOpening?"In":"Out")),null===(t=this.pswp.element)||void 0===t||t.classList.toggle("pswp--ui-visible",this.isOpening),this.isOpening?(this._placeholder&&(this._placeholder.style.opacity="1"),this._animateToOpenState()):this.isClosing&&this._animateToClosedState(),this._useAnimation||this._onAnimationComplete()}_onAnimationComplete(){const{pswp:e}=this;if(this.isOpen=this.isOpening,this.isClosed=this.isClosing,this.isOpening=!1,this.isClosing=!1,e.dispatch(this.isOpen?"openingAnimationEnd":"closingAnimationEnd"),e.dispatch("initialZoom"+(this.isOpen?"InEnd":"OutEnd")),this.isClosed)e.destroy();else if(this.isOpen){var t;this._animateZoom&&e.container&&(e.container.style.overflow="visible",e.container.style.width="100%"),null===(t=e.currSlide)||void 0===t||t.applyCurrentZoomPan()}}_animateToOpenState(){const{pswp:e}=this;this._animateZoom&&(this._croppedZoom&&this._cropContainer1&&this._cropContainer2&&(this._animateTo(this._cropContainer1,"transform","translate3d(0,0,0)"),this._animateTo(this._cropContainer2,"transform","none")),e.currSlide&&(e.currSlide.zoomAndPanToInitial(),this._animateTo(e.currSlide.container,"transform",e.currSlide.getCurrentTransform()))),this._animateBgOpacity&&e.bg&&this._animateTo(e.bg,"opacity",String(e.options.bgOpacity)),this._animateRootOpacity&&e.element&&this._animateTo(e.element,"opacity","1")}_animateToClosedState(){const{pswp:e}=this;this._animateZoom&&this._setClosedStateZoomPan(!0),this._animateBgOpacity&&e.bgOpacity>.01&&e.bg&&this._animateTo(e.bg,"opacity","0"),this._animateRootOpacity&&e.element&&this._animateTo(e.element,"opacity","0")}_setClosedStateZoomPan(e){if(!this._thumbBounds)return;const{pswp:t}=this,{innerRect:n}=this._thumbBounds,{currSlide:r,viewportSize:o}=t;if(this._croppedZoom&&n&&this._cropContainer1&&this._cropContainer2){const t=-o.x+(this._thumbBounds.x-n.x)+n.w,r=-o.y+(this._thumbBounds.y-n.y)+n.h,i=o.x-n.w,a=o.y-n.h;e?(this._animateTo(this._cropContainer1,"transform",c(t,r)),this._animateTo(this._cropContainer2,"transform",c(i,a))):(u(this._cropContainer1,t,r),u(this._cropContainer2,i,a))}r&&(i(r.pan,n||this._thumbBounds),r.currZoomLevel=this._thumbBounds.w/r.width,e?this._animateTo(r.container,"transform",r.getCurrentTransform()):r.applyCurrentZoomPan())}_animateTo(e,t,n){if(!this._duration)return void(e.style[t]=n);const{animations:r}=this.pswp,i={duration:this._duration,easing:this.pswp.options.easing,onComplete:()=>{r.activeAnimations.length||this._onAnimationComplete()},target:e};i[t]=n,r.startTransition(i)}}const se={allowPanToNext:!0,spacing:.1,loop:!0,pinchToClose:!0,closeOnVerticalDrag:!0,hideAnimationDuration:333,showAnimationDuration:333,zoomAnimationDuration:333,escKey:!0,arrowKeys:!0,trapFocus:!0,returnFocus:!0,maxWidthToAnimate:4e3,clickToCloseNonZoomable:!0,imageClickAction:"zoom-or-close",bgClickAction:"close",tapAction:"toggle-controls",doubleTapAction:"zoom",indexIndicatorSep:" / ",preloaderDelay:2e3,bgOpacity:.8,index:0,errorMsg:"The image cannot be loaded",preload:[1,2],easing:"cubic-bezier(.4,0,.22,1)"};class le extends ie{constructor(e){super(),this.options=this._prepareOptions(e||{}),this.offset={x:0,y:0},this._prevViewportSize={x:0,y:0},this.viewportSize={x:0,y:0},this.bgOpacity=1,this.currIndex=0,this.potentialIndex=0,this.isOpen=!1,this.isDestroying=!1,this.hasMouse=!1,this._initialItemData={},this._initialThumbBounds=void 0,this.topBar=void 0,this.element=void 0,this.template=void 0,this.container=void 0,this.scrollWrap=void 0,this.currSlide=void 0,this.events=new v,this.animations=new V,this.mainScroll=new A(this),this.gestures=new N(this),this.opener=new ae(this),this.keyboard=new D(this),this.contentLoader=new re(this)}init(){if(this.isOpen||this.isDestroying)return!1;this.isOpen=!0,this.dispatch("init"),this.dispatch("beforeOpen"),this._createMainStructure();let e="pswp--open";return this.gestures.supportsTouch&&(e+=" pswp--touch"),this.options.mainClass&&(e+=" "+this.options.mainClass),this.element&&(this.element.className+=" "+e),this.currIndex=this.options.index||0,this.potentialIndex=this.currIndex,this.dispatch("firstUpdate"),this.scrollWheel=new z(this),(Number.isNaN(this.currIndex)||this.currIndex<0||this.currIndex>=this.getNumItems())&&(this.currIndex=0),this.gestures.supportsTouch||this.mouseDetected(),this.updateSize(),this.offset.y=window.pageYOffset,this._initialItemData=this.getItemData(this.currIndex),this.dispatch("gettingData",{index:this.currIndex,data:this._initialItemData,slide:void 0}),this._initialThumbBounds=this.getThumbBounds(),this.dispatch("initialLayout"),this.on("openingAnimationEnd",()=>{const{itemHolders:e}=this.mainScroll;e[0]&&(e[0].el.style.display="block",this.setContent(e[0],this.currIndex-1)),e[2]&&(e[2].el.style.display="block",this.setContent(e[2],this.currIndex+1)),this.appendHeavy(),this.contentLoader.updateLazy(),this.events.add(window,"resize",this._handlePageResize.bind(this)),this.events.add(window,"scroll",this._updatePageScrollOffset.bind(this)),this.dispatch("bindEvents")}),this.mainScroll.itemHolders[1]&&this.setContent(this.mainScroll.itemHolders[1],this.currIndex),this.dispatch("change"),this.opener.open(),this.dispatch("afterInit"),!0}getLoopedIndex(e){const t=this.getNumItems();return this.options.loop&&(e>t-1&&(e-=t),e<0&&(e+=t)),l(e,0,t-1)}
2appendHeavy(){this.mainScroll.itemHolders.forEach(e=>{var t;null===(t=e.slide)||void 0===t||t.appendHeavy()})}goTo(e){this.mainScroll.moveIndexBy(this.getLoopedIndex(e)-this.potentialIndex)}next(){this.goTo(this.potentialIndex+1)}prev(){this.goTo(this.potentialIndex-1)}zoomTo(...e){var t;null===(t=this.currSlide)||void 0===t||t.zoomTo(...e)}toggleZoom(){var e;null===(e=this.currSlide)||void 0===e||e.toggleZoom()}close(){this.opener.isOpen&&!this.isDestroying&&(this.isDestroying=!0,this.dispatch("close"),this.events.removeAll(),this.opener.close())}destroy(){var e;if(!this.isDestroying)return this.options.showHideAnimationType="none",void this.close();this.dispatch("destroy"),this._listeners={},this.scrollWrap&&(this.scrollWrap.ontouchmove=null,this.scrollWrap.ontouchend=null),null===(e=this.element)||void 0===e||e.remove(),this.mainScroll.itemHolders.forEach(e=>{var t;null===(t=e.slide)||void 0===t||t.destroy()}),this.contentLoader.destroy(),this.events.removeAll()}refreshSlideContent(e){this.contentLoader.removeByIndex(e),this.mainScroll.itemHolders.forEach((t,n)=>{var r,i;let o=(null!==(r=null===(i=this.currSlide)||void 0===i?void 0:i.index)&&void 0!==r?r:0)-1+n;var a;(this.canLoop()&&(o=this.getLoopedIndex(o)),o===e)&&(this.setContent(t,e,!0),1===n&&(this.currSlide=t.slide,null===(a=t.slide)||void 0===a||a.setIsActive(!0)))}),this.dispatch("change")}setContent(e,t,n){if(this.canLoop()&&(t=this.getLoopedIndex(t)),e.slide){if(e.slide.index===t&&!n)return;e.slide.destroy(),e.slide=void 0}if(!this.canLoop()&&(t<0||t>=this.getNumItems()))return;const r=this.getItemData(t);e.slide=new S(r,t,this),t===this.currIndex&&(this.currSlide=e.slide),e.slide.append(e.el)}getViewportCenterPoint(){return{x:this.viewportSize.x/2,y:this.viewportSize.y/2}}updateSize(e){if(this.isDestroying)return;const t=w(this.options,this);!e&&s(t,this._prevViewportSize)||(i(this._prevViewportSize,t),this.dispatch("beforeResize"),i(this.viewportSize,this._prevViewportSize),this._updatePageScrollOffset(),this.dispatch("viewportSize"),this.mainScroll.resize(this.opener.isOpen),!this.hasMouse&&window.matchMedia("(any-hover: hover)").matches&&this.mouseDetected(),this.dispatch("resize"))}applyBgOpacity(e){this.bgOpacity=Math.max(e,0),this.bg&&(this.bg.style.opacity=String(this.bgOpacity*this.options.bgOpacity))}mouseDetected(){var e;this.hasMouse||(this.hasMouse=!0,null===(e=this.element)||void 0===e||e.classList.add("pswp--has_mouse"))}_handlePageResize(){this.updateSize(),/iPhone|iPad|iPod/i.test(window.navigator.userAgent)&&setTimeout(()=>{this.updateSize()},500)}_updatePageScrollOffset(){this.setScrollOffset(0,window.pageYOffset)}setScrollOffset(e,t){this.offset.x=e,this.offset.y=t,this.dispatch("updateScrollOffset")}_createMainStructure(){this.element=r("pswp","div"),this.element.setAttribute("tabindex","-1"),this.element.setAttribute("role","dialog"),this.template=this.element,this.bg=r("pswp__bg","div",this.element),this.scrollWrap=r("pswp__scroll-wrap","section",this.element),this.container=r("pswp__container","div",this.scrollWrap),this.scrollWrap.setAttribute("aria-roledescription","carousel"),this.container.setAttribute("aria-live","off"),this.container.setAttribute("id","pswp__items"),this.mainScroll.appendHolders(),this.ui=new J(this),this.ui.init(),(this.options.appendToEl||document.body).appendChild(this.element)}getThumbBounds(){return function(e,t,n){const r=n.dispatch("thumbBounds",{index:e,itemData:t,instance:n});if(r.thumbBounds)return r.thumbBounds;const{element:i}=t;let o,a;if(i&&!1!==n.options.thumbSelector){const e=n.options.thumbSelector||"img";a=i.matches(e)?i:i.querySelector(e)}return a=n.applyFilters("thumbEl",a,t,e),a&&(o=t.thumbCropped?function(e,t,n){const r=e.getBoundingClientRect(),i=r.width/t,o=r.height/n,a=i>o?i:o,s=(r.width-t*a)/2,l=(r.height-n*a)/2,c={x:r.left+s,y:r.top+l,w:t*a};return c.innerRect={w:r.width,h:r.height,x:s,y:l},c}(a,t.width||t.w||0,t.height||t.h||0):function(e){const t=e.getBoundingClientRect();return{x:t.left,y:t.top,w:t.width}}(a)),n.applyFilters("thumbBounds",o,t,e)}(this.currIndex,this.currSlide?this.currSlide.data:this._initialItemData,this)}canLoop(){return this.options.loop&&this.getNumItems()>2}_prepareOptions(e){return window.matchMedia("(prefers-reduced-motion), (update: slow)").matches&&(e.showHideAnimationType="none",e.zoomAnimationDuration=0),{...se,...e}}}},18048:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case i:return t}}}function x(e){return _(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return x(e)||_(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return _(e)===c},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===p},t.isFragment=function(e){return _(e)===o},t.isLazy=function(e){return _(e)===g},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===i},t.isProfiler=function(e){return _(e)===s},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===v||e.$$typeof===w||e.$$typeof===b)},t.typeOf=_},76156:function(e,t,n){"use strict";e.exports=n(18048)},25867:function(e,t){"use strict";function n(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||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.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.getEmbedConfiguration=void 0;var i={"connect.facebook.net":{isLoaded:function(){if(!document.querySelector("body > #fb-root")){n(document.querySelectorAll("#fb-root")).forEach(function(e){return e.parentNode.removeChild(e)});var e=document.createElement("div");e.id="fb-root",document.body.appendChild(e)}return void 0!==window.FB},reload:function(e){return window.FB.XFBML.parse(e)}},"instagram.com":{isLoaded:function(){return void 0!==window.instgrm},reload:function(){return window.instgrm.Embeds.process()}},"twitter.com":{isLoaded:function(){return void 0!==window.twttr&&void 0!==window.twttr.widgets},reload:function(){return window.twttr.widgets.load()}},"trellocdn.com":{isLoaded:function(){return void 0!==window.TrelloCards&&void 0!==window.TrelloCards.load},reload:function(){return window.TrelloCards.load(document,{compact:!1,allAnchors:!1})}}};t.getEmbedConfiguration=function(e){return Object.keys(i).reduce(function(t,n){return t||e.indexOf(n)>-1&&i[n]||null},null)};var o=i;t.default=o},68460:function(e,t){"use strict";function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.injectScriptTag=t.getScripts=t.INJECTED_SCRIPT=t.EXTERNAL_SCRIPT=t.ANY_SCRIPT=void 0;t.ANY_SCRIPT=/<script[\s\S]*?>[\s\S]*?<\/script>/gi;var i=/<script[^>]+src=(['"])(.*?)\1/i;t.EXTERNAL_SCRIPT=i;var o=/<script[\s\S]*?>[\s\S]*?createElement[\s\S]*?src\s?=\s?(['"])(.*?)\1/i;t.INJECTED_SCRIPT=o;var a=function(e){return function(e){var t=e.match(i);return t&&t[2]}(e)||function(e){var t=e.match(o);return t&&t[2]}(e)},s=function(e){return Object.keys(e.reduce(function(e,t){return t?function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?n(Object(i),!0).forEach(function(t){r(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({},e,r({},t,!0)):e},{}))};t.getScripts=function(e){var t=e.match(/<script[\s\S]*?<\/script>/gi);return t?s(t.map(a)):[]};t.injectScriptTag=function(e){var t=document.createElement("script");return t.src=e.replace("&","&"),document.head.appendChild(t),t}},90641:function(e,t,n){"use strict";t.A=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(40809)),o=(r=n(19894))&&r.__esModule?r:{default:r},a=n(68460),s=n(25867);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e){return function(){var t,n=p(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var r=p(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}
2function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(l,e);var t,n,r,o=d(l);function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),o.apply(this,arguments)}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this,t=this.props.markup;this.scripts=(0,a.getScripts)(t).map(function(t){return e.injectScript(t)}).filter(Boolean)}},{key:"shouldComponentUpdate",value:function(e){return e.markup!==this.props.markup}},{key:"injectScript",value:function(e){var t=this.container,n=(0,s.getEmbedConfiguration)(e);return n&&n.isLoaded()?(n.reload(t),null):(0,a.injectScriptTag)(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className;return i.default.createElement("div",{className:r,ref:function(t){e.container=t}},n)}}])&&u(t.prototype,n),r&&u(t,r),l}(i.Component);h.defaultProps={className:null},h.propTypes={children:o.default.oneOfType([o.default.node,o.default.arrayOf(o.default.node)]).isRequired,className:o.default.string,markup:o.default.string.isRequired};var m=h;t.A=m},66351:function(e,t,n){"use strict";n.d(t,{Z2:function(){return T},q7:function(){return N}});var r=n(33274),i=n(40809),o=n.n(i),a=n(91565),s=n(19894),l=n.n(s);var c=function(e){return Object.entries(e).map(([e,t])=>t?`${e}=${t}`:e).join("&")};var u=function(e){return e.split("&").reduce((e,t)=>{const[n,r]=t.split("=");return n&&(e[n]=r),e},{})};var d=function(e){const t=u(e);return delete t.gid,delete t.pid,c(t)};var p=function(){return window.location.hash.substring(1)};var f=function(){return`${window.location.pathname}${window.location.search}`};var h=e=>{const t=u(e);return Boolean(t.gid)&&Boolean(t.pid)};var m=function(e,t){return null!==e?e:t?parseInt(t,10)-1:0};const g=(0,i.createContext)({remove:()=>{},set:()=>{},handleClick:()=>{},open:()=>{},close:()=>{},isRefRegistered:()=>!1});class b{constructor(e){this.pswp=e,this.on=e.on.bind(e),this.off=e.off.bind(e),this.dispatch=e.dispatch.bind(e)}}var y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};var v=(e,t)=>
2{var n;const{width:r,height:i,original:o,originalSrcset:a,thumbnail:s,cropped:l,content:c,id:u}=e,d=y(e,["width","height","original","originalSrcset","thumbnail","cropped","content","id"]);return Object.assign(Object.assign(Object.assign({w:r?Number(r):void 0,h:i?Number(i):void 0,src:o,srcset:a,msrc:s,element:null!==(n=null==t?void 0:t.current)&&void 0!==n?n:void 0,thumbCropped:l,content:c},void 0!==c?{type:"html"}:{}),void 0!==u?{pid:u}:{}),d)};class w extends Error{constructor(e=""){super(),this.message=`\n ${e}\n\n No \`sourceId\` provided.\n You should add \`sourceId\` prop to Item component during using \`dataSource\` prop at Gallery component.\n Also you should add \`sourceId\` property to each item of \`dataSource\` array at Gallery component.\n Example:\n <Gallery dataSource={[{sourceId: 1, src: 'a.jpg'}]}>\n <Item sourceId={1}>{({ ref }) => <div ref={ref}></div>}</Item>\n </Gallery>\n`}}var _=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};var x=(e,t,n,r,i)=>{const o=Array.from(t.current).reduce((e,[t,{sourceId:n}])=>{if(void 0===n)throw new w("sourceId is missed on Item component");return e.set(n,t),e},new Map),{slides:a,index:s}=e.reduce((e,t,i)=>{const{sourceId:a}=t,s=_(t,["sourceId"]);if(void 0===a)throw new w("sourceId is missed in dataSource item");const l=o.has(a)?o.get(a):void 0;return(n===l||void 0!==s.id&&String(s.id)===r)&&(e.index=i),e.slides.push(v(s,l)),e},{slides:[],index:i||null});return{slides:a,index:s}};var j=function(e,t){return e===t?0:2&e.compareDocumentPosition(t)?1:-1};class O extends Error{constructor(e=""){super(),this.message=`\n ${e}\n No valid \`ref\` provided.\n You should use \`ref\` from render prop of Item component.\n Example:\n <Item>{({ ref }) => <div ref={ref}></div>}</Item>\n`}}var S=e=>e[0].current instanceof Element;var k=e=>{if(S(e))return e;throw new O};var C=(e,t,n,r)=>{const i=Array.from(e.current);if("number"==typeof r&&(void 0===i[r]||!S(i[r])))throw new O(`Failed to open at index ${r}`);const{slides:o,index:a}=i.map(k).sort(([{current:e}],[{current:t}])=>j(e,t)).reduce((e,r,i)=>{const[o,a]=r;return(t===o||void 0!==a.id&&String(a.id)===n)&&(e.index=i),e.slides.push(v(a,o)),e},{slides:[],index:r||null});return{slides:o,index:a}};let P=null;const T=({children:e,dataSource:t,options:n,plugins:s,uiElements:l,id:y,onBeforeOpen:v,onOpen:w,withCaption:_,withDownloadButton:j})=>{const[O,S]=(0,i.useState)(null),k=(0,i.useRef)(new Map),T=(0,i.useRef)(null),E=(0,i.useCallback)((e,i,o,u)=>{if(P)return;const{slides:g,index:O}=t?x(t,k,e,i,o):C(k,e,i,o),T=u&&void 0!==u.clientX&&void 0!==u.clientY?{x:u.clientX,y:u.clientY}:null,E=new r.default(Object.assign({dataSource:g,index:m(O,i),initialPointerPos:T},n||{}));P=E,E.on("contentActivate",({content:e})=>{e.data.content?S((0,a.createPortal)(e.data.content,e.element)):S(null)}),E.on("close",()=>{S(null)}),j&&E.on("uiRegister",()=>{var e;null===(e=E.ui)||void 0===e||e.registerElement({name:"download-button",ariaLabel:"Download",order:8,isButton:!0,tagName:"a",appendTo:"bar",html:{isCustomSVG:!0,inner:'<path d="M20.5 14.3 17.1 18V10h-2.2v7.9l-3.4-3.6L10 16l6 6.1 6-6.1ZM23 23H9v2h14Z" id="pswp__icn-download"/>',outlineID:"pswp__icn-download"},onInit:(e,t)=>{e.setAttribute("download",""),e.setAttribute("target","_blank"),e.setAttribute("rel","noopener"),E.on("change",()=>{var n;if(!(null===(n=t.currSlide)||void 0===n?void 0:n.data.src))return;e.href=t.currSlide.data.src})}})}),_&&E.on("uiRegister",()=>{var e;null===(e=E.ui)||void 0===e||e.registerElement({name:"default-caption",order:9,isButton:!1,appendTo:"root",onInit:(e,t)=>{e.style.position="absolute",e.style.bottom="15px",e.style.left="0",e.style.right="0",e.style.padding="0 20px",e.style.color="var(--pswp-icon-color)",e.style.textAlign="center",e.style.fontSize="14px",e.style.lineHeight="1.5",e.style.textShadow="1px 1px 3px var(--pswp-icon-color-secondary)",E.on("change",()=>{if(!t.currSlide)return;const{caption:n,alt:r}=t.currSlide.data;e.innerHTML=n||r||""})}})}
2),Array.isArray(l)&&l.forEach(e=>{E.on("uiRegister",()=>{var t;null===(t=E.ui)||void 0===t||t.registerElement(e)})}),"function"==typeof s&&s(new b(E)),"function"==typeof v&&v(E);const N=()=>({gallery:{galleryUID:y}});E.on("beforeOpen",()=>{var e;if(void 0===y)return;if(!h(p()))return void window.history.pushState(N(),document.title);if(Boolean(null===(e=window.history.state)||void 0===e?void 0:e.gallery))return;const t=f(),n=p(),r=d(n),i=`${t}${r?`#${r}`:""}`,o=`${t}#${n}`;window.history.replaceState(window.history.state,document.title,i),window.history.pushState(N(),document.title,o)}),E.on("change",()=>{var e;if(void 0===y)return;const t=(null===(e=E.currSlide)||void 0===e?void 0:e.data.pid)||E.currIndex+1,n=`${f()}#${d(p())}&${c({gid:y,pid:t})}`;window.history.replaceState(N(),document.title,n)});const A=()=>{void 0!==y&&null!==P&&P.close()};window.addEventListener("popstate",A),E.on("destroy",()=>{void 0!==y&&(window.removeEventListener("popstate",A),h(p())&&window.history.back()),P=null}),E.init(),"function"==typeof w&&w(E)},[n,s,l,y,v,w,_,j]);(0,i.useEffect)(()=>()=>{P&&P.close()},[]);const N=(0,i.useCallback)(()=>{if(void 0===y)return;if(null!==P)return;const e=p();if(e.length<5)return;const t=u(e),{pid:n,gid:r}=t;n&&r&&(0!==k.current.size?n&&r===String(y)&&E(null,n):T.current=n)},[E,y]);(0,i.useEffect)(()=>(N(),window.addEventListener("popstate",N),()=>{window.removeEventListener("popstate",N)}),[N]);const A=(0,i.useCallback)(e=>{k.current.delete(e)},[]),I=(0,i.useCallback)((e,t)=>{if(k.current.set(e,t),null===T.current)return;const{id:n}=t;if(n===T.current)return E(e),void(T.current=null);if(!n){const e=parseInt(T.current,10)-1,t=Array.from(k.current.keys())[e];t&&(E(t),T.current=null)}},[E]),L=(0,i.useCallback)(e=>k.current.has(e),[]),D=(0,i.useCallback)(e=>{E(null,null,e)},[E]),R=(0,i.useCallback)(()=>{P&&P.close()},[]),M=(0,i.useMemo)(()=>({remove:A,set:I,handleClick:E,open:D,close:R,isRefRegistered:L}),[A,I,E,D,R,L]);return o().createElement(g.Provider,{value:M},e,O)};T.propTypes={children:l().any,options:l().object,plugins:l().func,uiElements:l().array,id:l().oneOfType([l().string,l().number]),onBeforeOpen:l().func,onOpen:l().func,withCaption:l().bool,withDownloadButton:l().bool,dataSource:l().array};var E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};const N=e=>{var{children:t}=e,n=E(e,["children"]);const r=(0,i.useRef)(null),{remove:o,set:a,handleClick:s,close:l,isRefRegistered:c}=(0,i.useContext)(g),u=(0,i.useCallback)(e=>{r.current=e,a(r,n)},[a,...Object.values(n)]),d=(0,i.useCallback)(e=>{if(!c(r))throw new O;s(r,null,null,e)},[s,c]),p=(0,i.useMemo)(()=>({ref:u,open:d,close:l}),[u,d,l]);return(0,i.useEffect)(()=>()=>{null===r.current&&o(r)},[o]),t(p)};N.propTypes={children:l().func.isRequired,original:l().string,originalSrcset:l().string,thumbnail:l().string,width:l().oneOfType([l().number,l().string]),height:l().oneOfType([l().number,l().string]),alt:l().string,caption:l().string,content:l().element,html:l().string,id:l().oneOfType([l().number,l().string]),cropped:l().bool,sourceId:l().oneOfType([l().number,l().string])}},5672:function(e,t,n){var r,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))c.call(e,i)||i===n||o(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},d=(e,t,n)=>(n=null!=e?i(l(e)):{},u(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)),p=(e,t,n)=>(((e,t,n)=>{t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n),f={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(f,{default:()=>y}),e.exports=(r=f,u(o({},"__esModule",{value:!0}),r));var h=d(n(40809)),m=d(n(76095)),g=n(57055),b=n(15684);class y extends h.Component{constructor(){super(...arguments),p(this,"mounted",!1),p(this,"isReady",!1),p(this,"isPlaying",!1),p(this,"isLoading",!0),p(this,"loadOnReady",null),p(this,"startOnPlay",!0),p(this,"seekOnPlay",null),p(this,"onDurationCalled",!1),p(this,"handlePlayerMount",e=>{this.player||(this.player=e,this.player.load(this.props.url)),this.progress()}),p(this,"getInternalPlayer",e=>this.player?this.player[e]:null),p(this,"progress",()=>{if(this.props.url&&this.player&&this.isReady){const e=this.getCurrentTime()||0,t=this.getSecondsLoaded(),n=this.getDuration();if(n){const r={playedSeconds:e,played:e/n};null!==t&&(r.loadedSeconds=t,r.loaded=t/n),r.playedSeconds===this.prevPlayed&&r.loadedSeconds===this.prevLoaded||this.props.onProgress(r),this.prevPlayed=r.playedSeconds,this.prevLoaded=r.loadedSeconds}}this.progressTimeout=setTimeout(this.progress,this.props.progressFrequency||this.props.progressInterval)}),p(this,"handleReady",()=>{if(!this.mounted)return;this.isReady=!0,this.isLoading=!1;const{onReady:e,playing:t,volume:n,muted:r}=this.props;e(),r||null===n||this.player.setVolume(n),this.loadOnReady?(this.player.load(this.loadOnReady,!0),this.loadOnReady=null):t&&this.player.play(),this.handleDurationCheck()}),p(this,"handlePlay",()=>{this.isPlaying=!0,this.isLoading=!1;const{onStart:e,onPlay:t,playbackRate:n}=this.props;this.startOnPlay&&(this.player.setPlaybackRate&&1!==n&&this.player.setPlaybackRate(n),e(),this.startOnPlay=!1),t(),this.seekOnPlay&&(this.seekTo(this.seekOnPlay),this.seekOnPlay=null),this.handleDurationCheck()}),p(this,"handlePause",e=>{this.isPlaying=!1,this.isLoading||this.props.onPause(e)}),p(this,"handleEnded",()=>{const{activePlayer:e,loop:t,onEnded:n}=this.props;e.loopOnEnded&&t&&this.seekTo(0),t||(this.isPlaying=!1,n())}),p(this,"handleError",(...e)=>{this.isLoading=!1,this.props.onError(...e)}),p(this,"handleDurationCheck",()=>{clearTimeout(this.durationCheckTimeout);const e=this.getDuration();e?this.onDurationCalled||(this.props.onDuration(e),this.onDurationCalled=!0):this.durationCheckTimeout=setTimeout(this.handleDurationCheck,100)}),p(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(
vendor: 6,034 bytes, line 2
2)),this.mounted=!1}componentDidUpdate(e){if(!this.player)return;const{url:t,playing:n,volume:r,muted:i,playbackRate:o,pip:a,loop:s,activePlayer:l,disableDeferredLoading:c}=this.props;if(!(0,m.default)(e.url,t)){if(this.isLoading&&!l.forceLoad&&!c&&!(0,b.isMediaStream)(t))return console.warn(`ReactPlayer: the attempt to load ${t} is being deferred until the player has loaded`),void(this.loadOnReady=t);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(t,this.isReady)}e.playing||!n||this.isPlaying||this.player.play(),e.playing&&!n&&this.isPlaying&&this.player.pause(),!e.pip&&a&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!a&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==r&&null!==r&&this.player.setVolume(r),e.muted!==i&&(i?this.player.mute():(this.player.unmute(),null!==r&&setTimeout(()=>this.player.setVolume(r)))),e.playbackRate!==o&&this.player.setPlaybackRate&&this.player.setPlaybackRate(o),e.loop!==s&&this.player.setLoop&&this.player.setLoop(s)}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,n){if(!this.isReady)return void(0!==e&&(this.seekOnPlay=e,setTimeout(()=>{this.seekOnPlay=null},5e3)));if(t?"fraction"===t:e>0&&e<1){const t=this.player.getDuration();return t?void this.player.seekTo(t*e,n):void console.warn("ReactPlayer: could not seek using fraction â duration not yet available")}this.player.seekTo(e,n)}render(){const 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}}p(y,"displayName","Player"),p(y,"propTypes",g.propTypes),p(y,"defaultProps",g.defaultProps)},76903:function(e,t,n){var r,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))c.call(e,i)||i===n||o(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},d=(e,t,n)=>(n=null!=e?i(l(e)):{},u(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)),p=(e,t,n)=>(((e,t,n)=>{t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n),f={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(f,{createReactPlayer:()=>C}),e.exports=(r=f,u(o({},"__esModule",{value:!0}),r));var h=d(n(40809)),m=d(n(40660)),g=d(n(31064)),b=d(n(76095)),y=n(57055),v=n(15684),w=d(n(5672));const _=(0,v.lazy)(()=>n.e(353).then(n.t.bind(n,61913,23))),x="undefined"!=typeof window&&window.document&&"undefined"!=typeof document,j=void 0!==n.g&&n.g.window&&n.g.window.document,O=Object.keys(y.propTypes),S=x||j?h.Suspense:()=>null,k=[],C=(e,t)=>{var n;return n=class extends h.Component{constructor(){super(...arguments),p(this,"state",{showPreview:!!this.props.light}),p(this,"references",{wrapper:e=>{this.wrapper=e},player:e=>{this.player=e}}),p(this,"handleClickPreview",e=>{this.setState({showPreview:!1}),this.props.onClickPreview(e)}),p(this,"showPreview",()=>{this.setState({showPreview:!0})}),p(this,"getDuration",()=>this.player?this.player.getDuration():null),p(this,"getCurrentTime",()=>this.player?this.player.getCurrentTime():null),p(this,"getSecondsLoaded",()=>this.player?this.player.getSecondsLoaded():null),p(this,"getInternalPlayer",(e="player")=>this.player?this.player.getInternalPlayer(e):null),p(this,"seekTo",(e,t,n)=>{if(!this.player)return null;this.player.seekTo(e,t,n)}),p(this,"handleReady",()=>{this.props.onReady(this)}),p(this,"getActivePlayer",(0,g.default)(n=>{for(const t of[...k,...e])if(t.canPlay(n))return t;return t||null})),p(this,"getConfig",(0,g.default)((e,t)=>{const{config:n}=this.props;return m.default.all([y.defaultProps.config,y.defaultProps.config[t]||{},n,n[t]||{}])})),p(this,"getAttributes",(0,g.default)(e=>(0,v.omit)(this.props,O))),p(this,"renderActivePlayer",e=>{if(!e)return null;const t=this.getActivePlayer(e);if(!t)return null;const n=this.getConfig(e,t.key);return h.default.createElement(w.default,{...this.props,key:t.key,ref:this.references.player,config:n,activePlayer:t.lazyPlayer||t,onReady:this.handleReady})})}shouldComponentUpdate(e,t){return!(0,b.default)(this.props,e)||!(0,b.default)(this.state,t)}componentDidUpdate(e){const{light:t}=this.props;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}renderPreview(e){if(!e)return null;const{light:t,playIcon:n,previewTabIndex:r,oEmbedUrl:i,previewAriaLabel:o}=this.props;return h.default.createElement(_,{url:e,light:t,playIcon:n,previewTabIndex:r,previewAriaLabel:o,oEmbedUrl:i,onClick:this.handleClickPreview})}render(){const{url:e,style:t,width:n,height:r,fallback:i,wrapper:o}=this.props,{showPreview:a}=this.state,s=this.getAttributes(e),l="string"==typeof o?this.references.wrapper:void 0;return h.default.createElement(o,{ref:l,style:{...t,width:n,height:r},...s},h.default.createElement(S,{fallback:i},a?this.renderPreview(e):this.renderActivePlayer(e)))}},p(n,"displayName","ReactPlayer"),p(n,"propTypes",y.propTypes),p(n,"defaultProps",y.defaultProps),p(n,"addCustomPlayer",e=>{k.push(e)}),p(n,"removeCustomPlayers",()=>{k.length=0}),p(n,"canPlay",t=>{for(const n of[...k,...e])if(n.canPlay(t))return!0;return!1}),p(n,"canEnablePIP",t=>{for(const n of[...k,...e])if(n.canEnablePIP&&n.canEnablePIP(t))return!0;return!1}),n}},74665:function(e,t,n){var r,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))c.call(e,i)||i===n||o(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},d={};((e,t)=>
2{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(d,{default:()=>m}),e.exports=(r=d,u(o({},"__esModule",{value:!0}),r));var p=((e,t,n)=>(n=null!=e?i(l(e)):{},u(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(47536)),f=n(76903);const h=p.default[p.default.length-1];var m=(0,f.createReactPlayer)(p.default,h)},17090:function(e,t,n){var r,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(l,{AUDIO_EXTENSIONS:()=>O,DASH_EXTENSIONS:()=>C,FLV_EXTENSIONS:()=>P,HLS_EXTENSIONS:()=>k,MATCH_URL_DAILYMOTION:()=>w,MATCH_URL_FACEBOOK:()=>h,MATCH_URL_FACEBOOK_WATCH:()=>m,MATCH_URL_KALTURA:()=>j,MATCH_URL_MIXCLOUD:()=>_,MATCH_URL_MUX:()=>f,MATCH_URL_SOUNDCLOUD:()=>d,MATCH_URL_STREAMABLE:()=>g,MATCH_URL_TWITCH_CHANNEL:()=>v,MATCH_URL_TWITCH_VIDEO:()=>y,MATCH_URL_VIDYARD:()=>x,MATCH_URL_VIMEO:()=>p,MATCH_URL_WISTIA:()=>b,MATCH_URL_YOUTUBE:()=>u,VIDEO_EXTENSIONS:()=>S,canPlay:()=>E}),e.exports=(r=l,((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of a(t))s.call(e,l)||l===n||i(e,l,{get:()=>t[l],enumerable:!(r=o(t,l))||r.enumerable});return e})(i({},"__esModule",{value:!0}),r));var c=n(15684);const u=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,d=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,p=/vimeo\.com\/(?!progressive_redirect).+/,f=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,h=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,m=/^https?:\/\/fb\.watch\/.+$/,g=/streamable\.com\/([a-z0-9]+)$/,b=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,y=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,v=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,w=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,_=/mixcloud\.com\/([^/]+\/[^/]+)/,x=/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-_].*)$/,O=/\.(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,C=/\.(mpd)($|\?)/i,P=/\.(flv)($|\?)/i,T=e=>{if(e instanceof Array){for(const t of e){if("string"==typeof t&&T(t))return!0;if(T(t.src))return!0}return!1}return!(!(0,c.isMediaStream)(e)&&!(0,c.isBlobUrl)(e))||(O.test(e)||S.test(e)||k.test(e)||C.test(e)||P.test(e))},E={youtube:e=>e instanceof Array?e.every(e=>u.test(e)):u.test(e),soundcloud:e=>d.test(e)&&!O.test(e),vimeo:e=>p.test(e)&&!S.test(e)&&!k.test(e),mux:e=>f.test(e),facebook:e=>h.test(e)||m.test(e),streamable:e=>g.test(e),wistia:e=>b.test(e),twitch:e=>y.test(e)||v.test(e),dailymotion:e=>w.test(e),mixcloud:e=>_.test(e),vidyard:e=>x.test(e),kaltura:e=>j.test(e),file:T}},47536:function(e,t,n){Object.create;var r,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=(Object.getPrototypeOf,Object.prototype.hasOwnProperty),l=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of a(t))s.call(e,l)||l===n||i(e,l,{get:()=>t[l],enumerable:!(r=o(t,l))||r.enumerable});return e},c={};((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(c,{default:()=>p}),e.exports=(r=c,l(i({},"__esModule",{value:!0}),r));var u=n(15684),d=n(17090),p=[{key:"youtube",name:"YouTube",canPlay:d.canPlay.youtube,lazyPlayer:(0,u.lazy)(()=>n.e(446).then(n.t.bind(n,24569,23)))},{key:"soundcloud",name:"SoundCloud",canPlay:d.canPlay.soundcloud,lazyPlayer:(0,u.lazy)(()=>n.e(979).then(n.t.bind(n,18350,23)))},{key:"vimeo",name:"Vimeo",canPlay:d.canPlay.vimeo,lazyPlayer:(0,u.lazy)(()=>n.e(173).then(n.t.bind(n,17224,23)))},{key:"mux",name:"Mux",canPlay:d.canPlay.mux,lazyPlayer:(0,u.lazy)(()=>n.e(723).then(n.t.bind(n,79702,23)))},{key:"facebook",name:"Facebook",canPlay:d.canPlay.facebook,lazyPlayer:(0,u.lazy)(()=>n.e(887).then(n.t.bind(n,1626,23)))},{key:"streamable",name:"Streamable",canPlay:d.canPlay.streamable,lazyPlayer:(0,u.lazy)(()=>n.e(627).then(n.t.bind(n,94622,23)))},{key:"wistia",name:"Wistia",canPlay:d.canPlay.wistia,lazyPlayer:(0,u.lazy)(()=>n.e(340).then(n.t.bind(n,64711,23)))},{key:"twitch",name:"Twitch",canPlay:d.canPlay.twitch,lazyPlayer:(0,u.lazy)(()=>n.e(42).then(n.t.bind(n,97045,23)))},{key:"dailymotion",name:"DailyMotion",canPlay:d.canPlay.dailymotion,lazyPlayer:(0,u.lazy)(()=>n.e(328).then(n.t.bind(n,98243,23)))},{key:"mixcloud",name:"Mixcloud",canPlay:d.canPlay.mixcloud,lazyPlayer:(0,u.lazy)(()=>n.e(570).then(n.t.bind(n,87469,23)))}
vendor: 10,030 bytes, line 2
2,{key:"vidyard",name:"Vidyard",canPlay:d.canPlay.vidyard,lazyPlayer:(0,u.lazy)(()=>n.e(392).then(n.t.bind(n,85483,23)))},{key:"kaltura",name:"Kaltura",canPlay:d.canPlay.kaltura,lazyPlayer:(0,u.lazy)(()=>n.e(463).then(n.t.bind(n,16898,23)))},{key:"file",name:"FilePlayer",canPlay:d.canPlay.file,canEnablePIP:e=>d.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,u.supportsWebKitPresentationMode)())&&!d.AUDIO_EXTENSIONS.test(e),lazyPlayer:(0,u.lazy)(()=>n.e(458).then(n.t.bind(n,66893,23)))}]},57055:function(e,t,n){var r,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))c.call(e,i)||i===n||o(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},d={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(d,{defaultProps:()=>O,propTypes:()=>x}),e.exports=(r=d,u(o({},"__esModule",{value:!0}),r));var p=((e,t,n)=>(n=null!=e?i(l(e)):{},u(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(19894));const{string:f,bool:h,number:m,array:g,oneOfType:b,shape:y,object:v,func:w,node:_}=p.default,x={url:b([f,g,v]),playing:h,loop:h,controls:h,volume:m,muted:h,playbackRate:m,width:b([f,m]),height:b([f,m]),style:v,progressInterval:m,playsinline:h,pip:h,stopOnUnmount:h,light:b([h,f,v]),playIcon:_,previewTabIndex:m,previewAriaLabel:f,fallback:_,oEmbedUrl:f,wrapper:b([f,w,y({render:w.isRequired})]),config:y({soundcloud:y({options:v}),youtube:y({playerVars:v,embedOptions:v,onUnstarted:w}),facebook:y({appId:f,version:f,playerId:f,attributes:v}),dailymotion:y({params:v}),vimeo:y({playerOptions:v,title:f}),mux:y({attributes:v,version:f}),file:y({attributes:v,tracks:g,forceVideo:h,forceAudio:h,forceHLS:h,forceSafariHLS:h,forceDisableHls:h,forceDASH:h,forceFLV:h,hlsOptions:v,hlsVersion:f,dashVersion:f,flvVersion:f}),wistia:y({options:v,playerId:f,customControls:g}),mixcloud:y({options:v}),twitch:y({options:v,playerId:f}),vidyard:y({options:v})}),onReady:w,onStart:w,onPlay:w,onPause:w,onBuffer:w,onBufferEnd:w,onEnded:w,onError:w,onDuration:w,onSeek:w,onPlaybackRateChange:w,onPlaybackQualityChange:w,onProgress:w,onClickPreview:w,onEnablePIP:w,onDisablePIP:w},j=()=>{},O={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},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:j},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:j,onStart:j,onPlay:j,onPause:j,onBuffer:j,onBufferEnd:j,onEnded:j,onError:j,onDuration:j,onSeek:j,onPlaybackRateChange:j,onPlaybackQualityChange:j,onProgress:j,onClickPreview:j,onEnablePIP:j,onDisablePIP:j}},15684:function(e,t,n){var r,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))c.call(e,i)||i===n||o(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},d=(e,t,n)=>(n=null!=e?i(l(e)):{},u(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)),p={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(p,{callPlayer:()=>N,getConfig:()=>T,getSDK:()=>P,isBlobUrl:()=>I,isMediaStream:()=>A,lazy:()=>g,omit:()=>E,parseEndTime:()=>j,parseStartTime:()=>x,queryString:()=>S,randomString:()=>O,supportsWebKitPresentationMode:()=>L}),e.exports=(r=p,u(o({},"__esModule",{value:!0}),r));var f=d(n(40809)),h=d(n(46226)),m=d(n(40660));const g=e=>f.default.lazy(async()=>{const t=await e();return"function"==typeof t.default?t:t.default}),b=/[?&#](?:start|t)=([0-9hms]+)/,y=/[?&#]end=([0-9hms]+)/,v=/(\d+)(h|m|s)/g,w=/^\d+$/;function _(e,t){if(e instanceof Array)return;const n=e.match(t);if(n){const e=n[1];if(e.match(v))return function(e){let t=0,n=v.exec(e);for(;null!==n;){const[,r,i]=n;"h"===i&&(t+=60*parseInt(r,10)*60),"m"===i&&(t+=60*parseInt(r,10)),"s"===i&&(t+=parseInt(r,10)),n=v.exec(e)}return t}(e);if(w.test(e))return parseInt(e)}}function x(e){return _(e,b)}function j(e){return _(e,y)}function O(){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}const C={},P=function(e){0;return e}(function(e,t,n=null,r=()=>!0,i=h.default){const o=k(t);return o&&r(o)?Promise.resolve(o):new Promise((r,o)=>{if(C[e])return void C[e].push({resolve:r,reject:o});C[e]=[{resolve:r,reject:o}];const a=t=>{C[e].forEach(e=>e.resolve(t))};if(n){const e=window[n];window[n]=function(){e&&e(),a(k(t))}}i(e,r=>{r?(C[e].forEach(e=>e.reject(r)),C[e]=null):n||a(k(t))})})});function T(e,t){return(0,m.default)(t.config,e.config)}function E(e,...t){const n=[].concat(...t),r={},i=Object.keys(e);for(const t of i)-1===n.indexOf(t)&&(r[t]=e[t]);return r}function N(e,...t){if(!this.player||!this.player[e]){let t=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c â `;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 A(e){return"undefined"!=typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream}function I(e){return/^blob:/.test(e)}function L(e=document.createElement("video")){const t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t}},40660:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map(function(e){return r(e,n)})}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach(function(t){i[t]=r(e[t],n)}),o(t).forEach(function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"==typeof n?n:l}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))}),i}function l(e,n,o){(o=o||{}).arrayMerge=o.arrayMerge||i,o.isMergeableObject=o.isMergeableObject||t,o.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?o.arrayMerge(e,n,o):s(e,n,o):r(n,o)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return l(e,n,t)},{})};var c=l;e.exports=c},76095:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(!o(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof a.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],a[c[l]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},93525:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
2i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useTurnstile=t.Turnstile=void 0;const a=o(n(40809)),s="undefined"!=typeof globalThis?globalThis:window;let l,c,u=void 0!==s.turnstile?"ready":"unloaded";const d=new Promise((e,t)=>{c={resolve:e,reject:t},"ready"===u&&e(void 0)});{const e="cf__reactTurnstileOnLoad",t="https://challenges.cloudflare.com/turnstile/v0/api.js";l=()=>{if("unloaded"===u){u="loading",s[e]=()=>{c.resolve(),u="ready",delete s[e]};const n=`${t}?onload=${e}&render=explicit`,r=document.createElement("script");r.src=n,r.async=!0,r.addEventListener("error",()=>{c.reject("Failed to load Turnstile."),delete s[e]}),document.head.appendChild(r)}return d}}function p({id:e,className:t,style:n,sitekey:r,action:i,cData:o,theme:s,language:c,tabIndex:d,responseField:p,responseFieldName:f,size:h,fixedSize:m,retry:g,retryInterval:b,refreshExpired:y,appearance:v,execution:w,userRef:_,onVerify:x,onSuccess:j,onLoad:O,onError:S,onExpire:k,onTimeout:C,onAfterInteractive:P,onBeforeInteractive:T,onUnsupported:E}){const N=(0,a.useRef)(null),A=(0,a.useState)({onVerify:x,onSuccess:j,onLoad:O,onError:S,onExpire:k,onTimeout:C,onAfterInteractive:P,onBeforeInteractive:T,onUnsupported:E})[0],I=null!=_?_:N,L=m?{width:"compact"===h?"130px":"flexible"===h?"100%":"300px",height:"compact"===h?"120px":"65px",...n}:n;return(0,a.useEffect)(()=>{if(!I.current)return;let e=!1,t="";return(async()=>{var n,a;if("ready"!==u)try{await l()}catch(e){return void(null===(n=A.onError)||void 0===n||n.call(A,e))}if(e||!I.current)return;let m;const _={sitekey:r,action:i,cData:o,theme:s,language:c,tabindex:d,"response-field":p,"response-field-name":f,size:h,retry:g,"retry-interval":b,"refresh-expired":y,appearance:v,execution:w,callback:(e,t)=>{var n,r;null===(n=A.onVerify)||void 0===n||n.call(A,e,m),null===(r=A.onSuccess)||void 0===r||r.call(A,e,t,m)},"error-callback":e=>{var t;return null===(t=A.onError)||void 0===t?void 0:t.call(A,e,m)},"expired-callback":e=>{var t;return null===(t=A.onExpire)||void 0===t?void 0:t.call(A,e,m)},"timeout-callback":()=>{var e;return null===(e=A.onTimeout)||void 0===e?void 0:e.call(A,m)},"after-interactive-callback":()=>{var e;return null===(e=A.onAfterInteractive)||void 0===e?void 0:e.call(A,m)},"before-interactive-callback":()=>{var e;return null===(e=A.onBeforeInteractive)||void 0===e?void 0:e.call(A,m)},"unsupported-callback":()=>{var e;return null===(e=A.onUnsupported)||void 0===e?void 0:e.call(A,m)}};t=window.turnstile.render(I.current,_),m=function(e){return{execute:t=>window.turnstile.execute(e,t),reset:()=>window.turnstile.reset(e),getResponse:()=>window.turnstile.getResponse(e),isExpired:()=>window.turnstile.isExpired(e)}}(t),null===(a=A.onLoad)||void 0===a||a.call(A,t,m)})(),()=>{e=!0,t&&window.turnstile.remove(t)}},[r,i,o,s,c,d,p,f,h,g,b,y,v,w]),(0,a.useEffect)(()=>{A.onVerify=x,A.onSuccess=j,A.onLoad=O,A.onError=S,A.onExpire=k,A.onTimeout=C,A.onAfterInteractive=P,A.onBeforeInteractive=T,A.onUnsupported=E}
2,[x,j,O,S,k,C,P,T,E]),a.default.createElement("div",{ref:I,id:e,className:t,style:L})}t.Turnstile=p,t.default=p,t.useTurnstile=function(){const[e,t]=(0,a.useState)(u);return(0,a.useEffect)(()=>{"ready"!==u&&d.then(()=>t(u))},[]),s.turnstile}},39923:function(e){!function(){"use strict";var t="undefined"!=typeof window&&void 0!==window.document?window.document:{},n=e.exports,r=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,i=n.length,o={};r<i;r++)if((e=n[r])&&e[1]in t){for(r=0;r<e.length;r++)o[n[0][r]]=e[r];return o}return!1}(),i={change:r.fullscreenchange,error:r.fullscreenerror},o={request:function(e,n){return new Promise(function(i,o){var a=function(){this.off("change",a),i()}.bind(this);this.on("change",a);var s=(e=e||t.documentElement)[r.requestFullscreen](n);s instanceof Promise&&s.then(a).catch(o)}.bind(this))},exit:function(){return new Promise(function(e,n){if(this.isFullscreen){var i=function(){this.off("change",i),e()}.bind(this);this.on("change",i);var o=t[r.exitFullscreen]();o instanceof Promise&&o.then(i).catch(n)}else e()}.bind(this))},toggle:function(e,t){return this.isFullscreen?this.exit():this.request(e,t)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,n){var r=i[e];r&&t.addEventListener(r,n,!1)},off:function(e,n){var r=i[e];r&&t.removeEventListener(r,n,!1)},raw:r};r?(Object.defineProperties(o,{isFullscreen:{get:function(){return Boolean(t[r.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(t[r.fullscreenEnabled])}}}),n?e.exports=o:window.screenfull=o):n?e.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}()},63118:function(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","Â¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã
":"A","Ã":"AE","Ã":"C","Ã":"E","Ã":"E","Ã":"E","Ã":"E","Ã":"I","Ã":"I","Ã":"I","Ã":"I","Ã":"D","Ã":"N","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"U","Ã":"U","Ã":"U","Ã":"U","Ã":"Y","Ã":"TH","Ã":"ss","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","Ã":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ä":"A","Ä":"a","Ä":"A","Ä":"a","Ä":"A","Ä
":"a","Ä":"C","Ä":"c","Ä":"C","Ä":"c","Ä":"D","Ä":"d","Ä":"DJ","Ä":"dj","Ä":"E","Ä":"e","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"E","Ä":"e","Ä":"G","Ä":"g","Ä¢":"G","Ä£":"g","Ĩ":"I","Ä©":"i","Ī":"i","Ä«":"i","Ä®":"I","į":"i","İ":"I","ı":"i","Ķ":"k","Ä·":"k","Ä»":"L","ļ":"l","Ľ":"L","ľ":"l","Å":"L","Å":"l","Å":"N","Å":"n","Å
":"N","Å":"n","Å":"N","Å":"n","Å":"O","Å":"o","Å":"O","Å":"o","Å":"OE","Å":"oe","Å":"R","Å":"r","Å":"R","Å":"r","Å":"S","Å":"s","Å":"S","Å":"s","Å ":"S","Å¡":"s","Å¢":"T","Å£":"t","Ť":"T","Å¥":"t","Ũ":"U","Å©":"u","Ū":"u","Å«":"u","Å®":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","ź":"z","Å»":"Z","ż":"z","Ž":"Z","ž":"z","Æ":"E","Æ":"f","Æ ":"O","Æ¡":"o","Ư":"U","ư":"u","Ç":"LJ","Ç":"lj","Ç":"NJ","Ç":"nj","È":"S","È":"s","È":"T","È":"t","É":"e","Ë":"o","Î":"A","Î":"E","Î":"H","Î":"I","Î":"O","Î":"Y","Î":"W","Î":"i","Î":"A","Î":"B","Î":"G","Î":"D","Î":"E","Î":"Z","Î":"H","Î":"8","Î":"I","Î":"K","Î":"L","Î":"M","Î":"N","Î":"3","Î":"O","Î ":"P","Ρ":"R","Σ":"S","Τ":"T","Î¥":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","Î":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","Ï":"p","Ï":"r","Ï":"s","Ï":"s","Ï":"t","Ï
":"y","Ï":"f","Ï":"x","Ï":"ps","Ï":"w","Ï":"i","Ï":"y","Ï":"o","Ï":"y","Ï":"w","Ð":"Yo","Ð":"DJ","Ð":"Ye","Ð":"I","Ð":"Yi","Ð":"J","Ð":"LJ","Ð":"NJ","Ð":"C","Ð":"DZ","Ð":"A","Ð":"B","Ð":"V","Ð":"G","Ð":"D","Ð":"E","Ð":"Zh","Ð":"Z","Ð":"I","Ð":"J","Ð":"K","Ð":"L","Ð":"M","Ð":"N","Ð":"O","Ð":"P","Ð ":"R","С":"S","Т":"T","У":"U","Ф":"F","Ð¥":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Ð":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","Ñ":"r","Ñ":"s","Ñ":"t","Ñ":"u","Ñ":"f","Ñ
":"h","Ñ":"c","Ñ":"ch","Ñ":"sh","Ñ":"sh","Ñ":"u","Ñ":"y","Ñ":"","Ñ":"e","Ñ":"yu","Ñ":"ya","Ñ":"yo","Ñ":"dj","Ñ":"ye","Ñ":"i","Ñ":"yi","Ñ":"j","Ñ":"lj","Ñ":"nj","Ñ":"c","Ñ":"u","Ñ":"dz","Ò":"G","Ò":"g","Ò":"GH","Ò":"gh","Ò":"KH","Ò":"kh","Ò¢":"NG","Ò£":"ng","Ò®":"UE","Ò¯":"ue","Ò°":"U","Ò±":"u","Òº":"H","Ò»":"h","Ó":"AE","Ó":"ae","Ó¨"
2:"OE","Ó©":"oe","Ô±":"A","Ô²":"B","Ô³":"G","Ô´":"D","Ôµ":"E","Ô¶":"Z","Ô·":"E\'","Ô¸":"Y\'","Ô¹":"T\'","Ôº":"JH","Ô»":"I","Ô¼":"L","Ô½":"X","Ô¾":"C\'","Ô¿":"K","Õ":"H","Õ":"D\'","Õ":"GH","Õ":"TW","Õ":"M","Õ
":"Y","Õ":"N","Õ":"SH","Õ":"CH","Õ":"P","Õ":"J","Õ":"R\'","Õ":"S","Õ":"V","Õ":"T","Õ":"R","Õ":"C","Õ":"P\'","Õ":"Q\'","Õ":"O\'\'","Õ":"F","Ö":"EV","Ø¡":"a","Ø¢":"aa","Ø£":"a","ؤ":"u","Ø¥":"i","ئ":"e","ا":"a","ب":"b","Ø©":"h","ت":"t","Ø«":"th","ج":"j","Ø":"h","Ø®":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","Ø´":"sh","ص":"s","ض":"dh","Ø·":"t","ظ":"z","ع":"a","غ":"gh","Ù":"f","Ù":"q","Ù":"k","Ù":"l","Ù
":"m","Ù":"n","Ù":"h","Ù":"w","Ù":"a","Ù":"y","Ù":"an","Ù":"on","Ù":"en","Ù":"a","Ù":"u","Ù":"e","Ù":"","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù¾":"p","Ú":"ch","Ú":"zh","Ú©":"k","Ú¯":"g","Û":"y","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9","฿":"baht","á":"a","á":"b","á":"g","á":"d","á":"e","á":"v","á":"z","á":"t","á":"i","á":"k","á":"l","á":"m","á":"n","á":"o","á":"p","á":"zh","á ":"r","á¡":"s","á¢":"t","á£":"u","á¤":"f","á¥":"k","á¦":"gh","á§":"q","á¨":"sh","á©":"ch","áª":"ts","á«":"dz","á¬":"ts","á":"ch","á®":"kh","á¯":"j","á°":"h","á¹¢":"S","á¹£":"s","áº":"W","áº":"w","áº":"W","áº":"w","áº":"W","áº
":"w","áº":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","áº":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","á»":"E","á»":"e","á»":"E","á»":"e","á»":"E","á»
":"e","á»":"E","á»":"e","á»":"I","á»":"i","á»":"I","á»":"i","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á» ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","á»§":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","á»":"u","á»®":"U","ữ":"u","á»°":"U","á»±":"u","Ỳ":"Y","ỳ":"y","á»´":"Y","ỵ":"y","á»¶":"Y","á»·":"y","Ỹ":"Y","ỹ":"y","â":"-","â":"\'","â":"\'","â":"\\"","â":"\\"","â":"\\"","â ":"+","â¢":"*","â¦":"...","â ":"ecu","â¢":"cruzeiro","â£":"french franc","â¤":"lira","â¥":"mill","â¦":"naira","â§":"peseta","â¨":"rupee","â©":"won","âª":"new shequel","â«":"dong","â¬":"euro","â":"kip","â®":"tugrik","â¯":"drachma","â°":"penny","â±":"peso","â²":"guarani","â³":"austral","â´":"hryvnia","âµ":"cedi","â¸":"kazakhstani tenge","â¹":"indian rupee","âº":"turkish lira","â½":"russian ruble","â¿":"bitcoin","â ":"sm","â¢":"tm","â":"d","â":"delta","â":"sum","â":"infinity","â¥":"love","å
":"yuan","å":"yen","ï·¼":"rial","ﻵ":"laa","ï»·":"laa","ﻹ":"lai","ï»»":"la"}'),t=JSON.parse('{"bg":{"Ð":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","Ñ":"ts","Ñ":"sht","Ñ":"a","Ñ":"y"},"de":{"Ã":"AE","ä":"ae","Ã":"OE","ö":"oe","Ã":"UE","ü":"ue","Ã":"ss","%":"prozent","&":"und","|":"oder","â":"summe","â":"unendlich","â¥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","â£":"francos","â":"suma","â":"infinito","â¥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","â£":"franc","â":"somme","â":"infini","â¥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","â":"soma","£":"libra","â":"infinito","â¥":"amor"},"uk":{"Ð":"Y","и":"y","Ð":"Y","й":"y","Ц":"Ts","Ñ":"ts","Ð¥":"Kh","Ñ
":"kh","Щ":"Shch","Ñ":"shch","Ð":"H","г":"h"},"vi":{"Ä":"D","Ä":"d"},"da":{"Ã":"OE","ø":"oe","Ã
":"AA","Ã¥":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Ã
":"AA","Ã":"AE","Ã":"OE","Ã¥":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Ã
":"AA","Ã":"AE","Ã":"OE","Ã¥":"aa","ä":"ae","ö":"oe"}}');function n(n,r){if("string"!=typeof n)throw new Error("slugify: string argument expected");var i=t[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},o=void 0===r.replacement?"-":r.replacement,a=void 0===r.trim||r.trim,s=n.normalize().split("").reduce(function(t,n){var a=i[n];return void 0===a&&(a=e[n]),void 0===a&&(a=n),a===o&&(a=" "),t+a.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return r.strict&&(s=s.replace(/[^A-Za-z0-9\s]/g,"")),a&&(s=s.trim()),s=s.replace(/\s+/g,o),r.lower&&(s=s.toLowerCase()),s}return n.extend=function(t){Object.assign(e,t)},n},e.exports=t(),e.exports.default=t()},11238:function(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:function(){return D},__assign:function(){return o},__asyncDelegator:function(){return S},__asyncGenerator:function(){return O},__asyncValues:function(){return k},__await:function(){return j},__awaiter:function(){return h},__classPrivateFieldGet:function(){return A},__classPrivateFieldIn:function(){return L},__classPrivateFieldSet:function(){return I},__createBinding:function(){return g},__decorate:function(){return s},__disposeResources:function(){return M},__esDecorate:function(){return c},__exportStar:function(){return b},__extends:function(){return i},__generator:function(){return m},__importDefault:function(){return N},__importStar:function(){return E}
vendor: 9,312 bytes, line 2
2,__makeTemplateObject:function(){return C},__metadata:function(){return f},__param:function(){return l},__propKey:function(){return d},__read:function(){return v},__rest:function(){return a},__rewriteRelativeImportExtension:function(){return $},__runInitializers:function(){return u},__setFunctionName:function(){return p},__spread:function(){return w},__spreadArray:function(){return x},__spreadArrays:function(){return _},__values:function(){return y}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var g=(0,n[f])("accessor"===l?{get:d.get,set:d.set}:d[c],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&i.unshift(s)}else(s=a(g))&&("field"===l?i.unshift(s):d[c]=s)}u&&Object.defineProperty(u,r.name,d),p=!0}function u(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function m(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function b(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function _(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function x(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function j(e){return this instanceof j?(this.v=e,this):new j(e)}function O(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(e,t){i[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{(n=i[e](t)).value instanceof j?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(e){u(o[0][3],e)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function S(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:j(e[r](t)),done:!1}:i?i(t):t}:i}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,i,(t=e[n](t)).done,t.value)})}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var P=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},T=function(e){return T=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},T(e)};function E(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=T(e),r=0;r<n.length;r++)"default"!==n[r]&&g(t,e,n[r]);return P(t,e),t}function N(e){return e&&e.__esModule?e:{default:e}}function A(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function I(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function L(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function D(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");
2i&&(r=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var R="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function M(e){function t(t){e.error=e.hasError?new R(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function i(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function $(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,n,r,i,o){return n?t?".jsx":".js":!r||i&&o?r+i+"."+o.toLowerCase()+"js":e}):e}t.default={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__esDecorate:c,__runInitializers:u,__propKey:d,__setFunctionName:p,__metadata:f,__awaiter:h,__generator:m,__createBinding:g,__exportStar:b,__values:y,__read:v,__spread:w,__spreadArrays:_,__spreadArray:x,__await:j,__asyncGenerator:O,__asyncDelegator:S,__asyncValues:k,__makeTemplateOb
2ject:C,__importStar:E,__importDefault:N,__classPrivateFieldGet:A,__classPrivateFieldSet:I,__classPrivateFieldIn:L,__addDisposableResource:D,__disposeResources:M,__rewriteRelativeImportExtension:$}},2482:function(e){"use strict";var t=function(){};e.exports=t},76498:function(e,t,n){const r=n(92986),i=n(71592),o=n(1534),a={};a.chains=a.chains||{},a.features=a.features||{},a.layouts=a.layouts||{},a.chains.columns=i(o(n(19055))),a.chains.div=i(o(n(75335))),a.chains["double-chain-block"]=i(o(n(8691))),a.chains["ordered-list"]=i(o(n(7476))),a.chains["product-chain"]=i(o(n(14007))),a.chains["single-chain-block"]=i(o(n(64220))),a.chains["staff-feature"]=i(o(n(63064))),a.chains["time-conditional"]=i(o(n(28284))),a.chains["unordered-list"]=i(o(n(80297))),a.chains["absolute-container"]=i(o(n(95239))),a.chains["dn-showcase-grid"]=i(o(n(98691))),a.chains["dn-sponsor-logos"]=i(o(n(30390))),a.chains["magazine-cover-grid"]=i(o(n(70661))),a.chains["magazine-past-issues-breaker"]=i(o(n(65245))),a.features["ads/default"]=i(o(n(66643))),a.features["article-audio/churchnews"]=i(o(n(47179))),a.features["article-audio/deseretnews"]=i(o(n(25532))),a.features["article-audio/utahbusiness"]=i(o(n(20345))),a.features["article-body/churchnews"]=i(o(n(97095))),a.features["article-body/deseretnews"]=i(o(n(10155))),a.features["article-body/utahbusiness"]=i(o(n(10685))),a.features["cognito-form-seamless/default"]=i(o(n(86039))),a.features["gallery/churchnews"]=i(o(n(36260))),a.features["gallery/deseretnews"]=i(o(n(48073))),a.features["gallery/utahbusiness"]=i(o(n(45630))),a.features["heading/deseretnews"]=i(o(n(44009))),a.features["heading/utahbusiness"]=i(o(n(59966))),a.features["html-block/default"]=i(o(n(19584))),a.features["lead-art-credits/default"]=i(o(n(82184))),a.features["meta-overrides/default"]=i(o(n(23896))),a.features["paragraph/deseretnews"]=i(o(n(96569))),a.features["paragraph/utahbusiness"]=i(o(n(91598))),a.features["piano-fixed-banner/default"]=i(o(n(83910))),a.features["piano-inline-target/default"]=i(o(n(76192))),a.features["piano-inline-target/deseretnews"]=i(o(n(20620))),a.features["piano-myaccount/churchnews"]=i(o(n(36679))),a.features["piano-myaccount/deseretnews"]=i(o(n(15056))),a.features["piano-myaccount/utahbusiness"]=i(o(n(37821))),a.features["piano-podcast-widget/deseretnews"]=i(o(n(6110))),a.features["piano-subscription/churchnews"]=i(o(n(40907))),a.features["piano-subscription/deseretnews"]=i(o(n(88288))),a.features["piano-subscription/utahbusiness"]=i(o(n(98137))),a.features["preferred-google-badge/default"]=i(o(n(68868))),a.features["showcase-block/deseretnews"]=i(o(n(40900))),a.features["showcase-block/utahbusiness"]=i(o(n(19889))),a.features["single-image/utahbusiness"]=i(o(n(77120))),a.features["sponsor-logo/deseretnews"]=i(o(n(71921))),a.features["sponsor-logo/utahbusiness"]=i(o(n(33494))),a.features["stock-ticker/utahbusiness"]=i(o(n(79587))),a.features["subheadline/churchnews"]=i(o(n(60660))),a.features["subheadline/deseretnews"]=i(o(n(52345))),a.features["subheadline/utahbusiness"]=i(o(n(15086))),a.features["submenu/deseretnews"]=i(o(n(26464))),a.features["submenu/utahbusiness"]=i(o(n(37773))),a.features["video-player/deseretnews"]=i(o(n(68598))),a.features["video-player/shared"]=i(o(n(8490))),a.features["video-player/utahbusiness"]=i(o(n(88583))),a.features["deseretnews/absolute-logo"]=i(o(n(30088))),a.features["deseretnews/action-box"]=i(o(n(70043))),a.features["deseretnews/affiliate-notice"]=i(o(n(3095))),a.features["deseretnews/author-profile"]=i(o(n(22656))),a.features["deseretnews/buffer-divider"]=i(o(n(50319))),a.features["deseretnews/byline"]=i(o(n(18476))),a.features["deseretnews/call-out"]=i(o(n(76830))),a.features["deseretnews/comments-notice"]=i(o(n(10398))),a.features["deseretnews/content-recommendations"]=i(o(n(5965))),a.features["deseretnews/coral-talk"]=i(o(n(73043))),a.features["deseretnews/custom-ad"]=i(o(n(37988))),a.features["deseretnews/custom-event-button"]=i(o(n(27230))),a.features["deseretnews/eyebrows"]=i(o(n(95969))),a.features["deseretnews/featured-media"]=i(o(n(38500))),a.features["deseretnews/featured-voices"]=i(o(n(14779))),a.features["deseretnews/feedback-widget"]=i(o(n(6787))),a.features["deseretnews/five-up"]=i(o(n(53171))),a.features["deseretnews/flex-block"]=i(o(n(69569))),a.features["deseretnews/footer"]=i(o(n(52040))),a.features["deseretnews/header"]=i(o(n(29332))),a.features["deseretnews/headline"]=i(o(n(65809))),a.features["deseretnews/homepage-five-story-breaker"]=i(o(n(53907))),a.features["deseretnews/htl-ad"]=i(o(n(18327))),a.features["deseretnews/latest-stories-paginated"]=i(o(n(42837))),a.features["deseretnews/live-updates"]=i(o(n(57370))),a.features["deseretnews/logo-bar"]=i(o(n(52720))),a.features["deseretnews/magazine-cover"]=i(o(n(47053))),a.features["deseretnews/magazine-page-banner"]=i(o(n(17420))),a.features["deseretnews/mini-story-queue"]=i(o(n(92154))),a.features["deseretnews/most-commented"]=i(o(n(66859))),a.features["deseretnews/most-popular"]=i(o(n(50396))),a.features["deseretnews/one-up"]=i(o(n(97155))),a.features["deseretnews/outbrain"]=i(o(n(20605))),a.features["deseretnews/product-additional-info"]=i(o(n(25899))),a.features["deseretnews/product"]=i(o(n(94428))),a.features["deseretnews/publish-date"]=i(o(n(91419))),a.features["deseretnews/search-bar"]=i(o(n(34133))),a.features["deseretnews/section-title"]=i(o(n(84793))),a.features["deseretnews/share-buttons"]=i(o(n(33190))),a.features["deseretnews/special-coverage-navigation"]=i(o(n(38042))),a.features["deseretnews/story-list-curated"]=i(o(n(83492))),a.features["deseretnews/template-lead-art"]=i(o(n(70034))),a.features["deseretnews/testimonial"]=i(o(n(68668))),a.features["deseretnews/three-up-collection"]=i(o(n(42866))),a.features["deseretnews/three-up-curated"]=i(o(n(79850))),a.features["deseretnews/three-up-section"]=i(o(n(10053))),a.features["deseretnews/vertical-video-carousel"]=i(o(n(38774))),a.features["deseretnews/video-breaker"]=i(o(n(48475))),a.features["deseretnews/video-byline"]=i(o(n(73111))),a.features["deseretnews/video-grid"]=i(o(n(64919))),a.features["@wpmedia/ad-taboola-block/ad-taboola"]=i(o(n(45881))),a.features["@wpmedia/ads-block/ads"]=i(o(n(88370))),a.features["@wpmedia/article-tag-block/tag"]=i(o(n(80890))),a.features["@wpmedia/author-bio-block/author-bio"]=i(o(n(34595))),a.features["@wpmedia/headline-block/headline"]=i(o(n(12741))),a.features["@wpmedia/htmlbox-block/htmlbox"]=i(o(n(95353))),a.features["@wpmedia/large-manual-promo-block/large-manual-promo"]=i(o(n(12415))),a.features["@wpmedia/video-player-block/video-player"]=i(o(n(50171))),a.layouts.DNHeadlineAboveArticleLayout=r(o(n(40188))),a.layouts.DNHeadlineBelowArticleLayout=r(o(n(85712))),a.layouts.DNStandardArticleLayout=r(o(n(84384))),a.layouts.DNStandardPageLayout=r(o(n(50442))),a.layouts.DNTemplateLeadArtLayout=r(o(n(89724))),a.layouts.DNVerticalVideoArticleLayout=r(o(n(6576))),a.layouts.DNWebinarArticleLayout=r(o(n(58279))),a.layouts.PageLayout=r(o(n(23132))),e.exports=a},45881:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});var r=n(40809),i=n(19894),o=n.n(i),a=n(87983),s=n.n(a),l=n(88792),c=n.n(l);var u,d={article:"article",video:"video",gallery:"photo",section:"category",tag:"category",author:"category",homepage:"home",search:"category"},p=n(74848);const f=()=>"\n window._taboola = window._taboola || [];\n _taboola.push({flush: true});\n ";let h=c()(u=class extends r.Component{constructor(e){super(e),this.appendScript=(e,t,n
2)=>{const r=document.createElement("script");r.id=e,r.async=!0,r.type="text/javascript",r.innerHTML=n(),t.appendChild(r)};const{arcSite:t}=this.props;this.publisherID=s()(t).taboolaPublisherId;const{customFields:{placement:n,mode:r,container:i}={}}=e;this.state={placement:n,mode:r,container:i}}componentDidMount(){this.canRender()&&(this.insertLoader(),this.insertFlusher())}canRender(){const{placement:e,mode:t,container:n}=this.state;return this.publisherID&&e&&t&&n}insertLoader(){if(document.getElementById("tbl-loader"))return;const e=document.getElementsByTagName("head")[0];if(!e)return;const{metaValue:t}=this.props,n=t("page-type"),r=d[n]||"";r&&this.appendScript("tbl-loader",e,()=>((e,t)=>`window._taboola = window._taboola || [];\n _taboola.push({${t}:'auto'});\n !function (e, f, u, i) {\n if (!document.getElementById(i)){\n e.async = 1;\n e.src = u;\n e.id = i;\n f.parentNode.insertBefore(e, f);\n }\n }(document.createElement('script'),\n document.getElementsByTagName('script')[0],\n '//cdn.taboola.com/libtrc/${e}/loader.js',\n 'tb_loader_script');\n if(window.performance && typeof window.performance.mark == 'function')\n {window.performance.mark('tbl_ic');}\n `)(this.publisherID,r))}insertFlusher(){if(document.getElementById("tbl-flusher"))return;const e=document.getElementsByTagName("body")[0];e&&this.appendScript("tbl-flusher",e,f)}render(){if(!this.canRender())return null;const{isAdmin:e}=this.props,{placement:t,mode:n,container:r}=this.state;if(e)return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("div",{className:"tbl-wrapper",style:{backgroundColor:"#ffefd5",padding:"20px"},children:[(0,p.jsx)("small",{children:"Taboola widget "}),(0,p.jsx)("strong",{children:t})]})});const i=`\n window._taboola = window._taboola || [];\n _taboola.push({\n mode: '${n}',\n container: '${r}',\n placement: '${t}',\n target_type: 'mix'\n });\n `;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{id:`${r}`}),(0,p.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:i}})]})}})||u;h.label="Taboola Ad â Arc Block",h.icon="arc-ads",h.propTypes={customFields:o().shape({placement:o().string.tag({label:"Taboola Placement",group:"Configure Taboola Widget"}),mode:o().string.tag({label:"Taboola Mode",group:"Configure Taboola Widget"}),container:o().string.tag({label:"Taboola Container",group:"Configure Taboola Widget"})})};var m=h},88370:function(e,t,n){"use strict";n.r(t),n.d(t,{ArcAdDisplay:function(){return R},default:function(){return V}});var r=n(40809),i=n(19674),o=n.n(i),a=n(4321),s=n(7770);const l=[[992,0],[768,0],[0,0]],c=[],u=[300,250],d=[300,600],p=[320,50],f=[728,90];var h={"1x1":{adName:"oop",adLabel:"OOP",adClass:"1x1",ampDimensionsArray:[1,1]},"300x250":{adName:"cube",adLabel:"Cube",adClass:"300x250",dimensionsArray:[u,u,u],ampDimensionsArray:u},"300x250_gallery":{adName:"gallery_cube",adLabel:"Gallery Cube",adClass:"300x250",dimensionsArray:[u,u,u],ampDimensionsArray:u},"300x250|300x600":{adName:"flex_cube",adLabel:"Flex Cube",adClass:"300x600",dimensionsArray:[[u,d],[u,d],u],ampDimensionsArray:u},"300x250|300x600_rightrail":{adName:"right_rail_cube",adLabel:"Right Rail Cube",adClass:"300x250",dimensionsArray:[[u,d],c,c],ampDimensionsArray:c},"728x90|320x50":{adName:"leaderboard_medium",adLabel:"Leaderboard - Medium",adClass:"728x90",dimensionsArray:[f,f,p],ampDimensionsArray:p},"970x250|970x90|728x90|320x50":{adName:"leaderboard_large",adLabel:"Leaderboard - Large",adClass:"728x90",dimensionsArray:[[[970,250],[970,90],f],f,[p,u]],ampDimensionsArray:p}},m=n(92131);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEac
2h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class v{static getInstance(e,t){return null==v.instance&&(v.properties=e,v.instance=new v,t&&t()),this.instance}constructor(){this.initArcAds=this.initArcAds.bind(this),this.registerAd=this.registerAd.bind(this)}initArcAds({publisherIds:e,debug:t=!1}){if(!this.arcAds){const{dfp_publisher_id:n}=e,r={dfp:{id:n}};this.arcAds=new m.ArcAds(r,e=>{((e,t=!1)=>{t&&(e&&e.creativeId?console.info(`Advertisement ${e.creativeId} has loaded...`,e):console.info("Advertisement did not load...",e))})(e,t)})}}registerAd(e,t){const{params:n,disableAds:r}=e;r||(this.initArcAds(e),this.arcAds.registerAd(b(b({},n),t?{prerender:t}:{})))}}v.instance=void 0,v.properties=void 0;var w=v;const _=({globalContent:e}={})=>{const t=((e={})=>e?.type)(e);return t&&("story"===t||"gallery"===t||"video"===t)||!1},x=({adType:e})=>h[e]?.adClass,j=({adType:e})=>h[e]?.dimensionsArray,O=({globalContent:e}={})=>e?._id,S=(e={})=>{const{metaValue:t}=e;return t&&t("page-type")||""},k=e=>(e=>{let t="";if(e){t=e;const n=t.length-1;"/"===t.charAt(n)&&(t=t.substring(0,n)),"/"===t.charAt(0)&&(t=t.substring(1))}return t})((e=>{const{metaValue:t}=e;let n=t&&t("ad-path")||"";return n&&"/"===n.charAt(0)&&(n=n.substring(1)),n||void 0})(e)||(e=>{const t=S(e);return"tag"===t||"author"===t||"search"===t?t:_(e)&&(({globalContent:e,arcSite:t}={})=>e?.websites[t]?.website_section?._id||"")(e)||(({globalContent:e}={})=>"section"===(e?.node_type||""))(e)&&O(e)||""})(e)),C=(e={})=>{const{siteProperties:t}=e,{websiteAdPath:n=""}=t||{},r=k(e);return n&&!r?n:n&&r?`${n}/${r}`:r},P=e=>{const{instanceId:t=""}=e,n=(({adType:e})=>h[e]?.adName)(e),r="right_rail_cube"===n?"desktop":e?.display||"all",i={id:`arcad_${t}`,slotName:C(e),adType:n,adClass:x(e),dimensions:j(e),sizemap:{breakpoints:l,refresh:!0},display:r};return i.targeting=(e=>({ad_type:e?.adType}))(i),i};var T=n(74848);const E=e=>{const{adConfig:t,featureConfig:n}=e,{id:i}=t,{customFields:{debug:o},siteProperties:a}=n,s=(0,r.useCallback)(()=>{const e={dfp_publisher_id:a.dfpId};w.getInstance(a,()=>{(e=>{window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(()=>{window.googletag.pubads().setTargeting("page_type",S(e)).setTargeting("section_id",k(e)),_(e)&&window.googletag.pubads().setTargeting("arc_id",O(e)).setTargeting("tags",(({globalContent:e}={})=>(e?.taxonomy?.tags||[]).map(e=>e?.slug||null).filter(e=>e).join(","))(e))})})(n)}).registerAd({params:t,publisherIds:e,debug:o})},[t,o,n,a]);return(0,r.useEffect)(()=>{s()},[s]),(0,T.jsx)("div",{id:i})};E.propTypes={adConfig:o().shape({id:o().string.isRequired,slotName:o().string.isRequired,adType:o().string.isRequired,adClass:o().string.isRequired,dimensions:o().array.isRequired,sizemap:o().object.isRequired,display:o().string.isRequired}).isRequired,featureConfig:o().shape({siteProperties:o().shape({dfpId:o().oneOfType([o().string,o().number])}).isRequired})};var N=E;var A=({adType:e,slotName:t,dimensions:n})=>(0,T.jsxs)(s.BJ,{className:"b-ads-block--admin",children:[(0,T.jsxs)(s.BJ,{children:[(0,T.jsx)(s.fz,{children:e||"Ad Name N/A"}),(0,T.jsx)(s.fz,{children:t})]}),(0,T.jsx)(s.fz,{children:JSON.stringify(n)})]});function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach(function(t){D(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEac
2h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function D(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const R=e=>{const{config:t,displayAdLabel:n,instanceId:r,isAdmin:i,isAMP:o,lazyLoad:a,propsWithContext:l,sizing:c,adLabel:u}=e,d=!i&&!o(),p=d&&n;return(0,T.jsxs)(s.BJ,{id:`arcad-feature-${r}`,className:"b-ads-block",alignment:"center",children:[p?(0,T.jsx)(s.fz,{children:u}):null,d?(0,T.jsx)("div",{style:c,"data-testid":"ad-block-unit-wrapper",children:(0,T.jsx)(s.bE,{enabled:a,offsetBottom:0,offsetLeft:0,offsetRight:0,offsetTop:200,renderPlaceholder:e=>(0,T.jsx)("div",{"data-testid":"lazy-load-placeholder",ref:e}),children:(0,T.jsx)(N,{adConfig:t,featureConfig:l})})}):null,i?(0,T.jsx)(A,L({},t)):null]})},M=e=>{const t=(0,a.useFusionContext)(),n=(0,s.il)(),[i]=(0,r.useState)(()=>`${t.id||"0000"}-${Math.floor(9007199254740991*Math.random()).toString(16)}`),o=L(L(L({},t),e),{},{instanceId:i}),{customFields:l,isAdmin:c,siteProperties:u}=o,{displayAdLabel:d,lazyLoad:p=!0,reserveSpace:f=!0}=l,[h]=(0,r.useState)(P(L(L({},l),o))),[,m]=h.adClass?h.adClass.split("x"):[],g={minBlockSize:f&&m?`${m}px`:null},b=u?.advertisementLabel||n.t("ads-block.ad-label");return(0,T.jsx)(R,{config:h,displayAdLabel:d,instanceId:i,isAdmin:c,isAMP:()=>!(!o.outputType||"amp"!==o.outputType),lazyLoad:p,propsWithContext:o,sizing:g,adLabel:b})},$=Object.keys(h),F={};$.forEach(e=>{F[e]=h[e].adLabel}),M.propTypes={customFields:o().shape({adType:o().oneOf($).tag({name:"Ad Type",labels:F,defaultValue:"1x1",required:!0,hidden:!1}),lazyLoad:o().boolean.tag({name:"Lazy Load Ad?",defaultValue:!0}),displayAdLabel:o().boolean.tag({name:"Display Advertisement Label?",defaultValue:!0}),reserveSpace:o().boolean.tag({name:"Reserve space for Ad",defaultValue:!0})})},M.label="Google Ad â Arc Block",M.icon="arc-ads";var V=M},7770:function(e,t,n){"use strict";n.d(t,{Ex:function(){return v},be:function(){return Mi},cG:function(){return eo},xA:function(){return so},DZ:function(){return go},AF:function(){return yo},In:function(){return Kr},_V:function(){return Io},bE:function(){return Qo},N_:function(){return aa},mO:function(){return fa},bz:function(){return Da},fz:function(){return Te},ab:function(){return es},BJ:function(){return As},Ce:function(){return Us},Ql:function(){return Zs},PU:function(){return Ls},MS:function(){return Ks},RP:function(){return ba},KD:function(){return Ys},kF:function(){return Js},VN:function(){return Xs},i1:function(){return So},fL:function(){return ai},il:function(){return tl}});var r={};n.r(r),n.d(r,{Amex:function(){return un},Apple:function(){return dn},ApplePay:function(){return pn},ArrowLeft:function(){return fn},ArrowRight:function(){return hn},Backward:function(){return mn},Bell:function(){return gn},Calendar:function(){return bn},Camera:function(){return yn},Chart:function(){return vn},Check:function(){return wn},ChevronDown:function(){return _n},ChevronLeft:function(){return xn},ChevronRight:function(){return jn},ChevronUp:function(){return On},Close:function(){return Sn},ClosedCaptioning:function(){return kn},Cog:function(){return Cn},Comments:function(){return Pn},Delete:function(){return Tn},Diners:function(){return En},Discover:function(){return Nn},Download:function(){return An},Edit:function(){return In},EllipsisHorizontal:function(){return Ln},EllipsisVertical:function(){return Dn},Envelope:function(){return Rn},EnvelopeOpen:function(){return Mn},ExternalLink:function(){return $n},Facebook:function(){return Fn},FacebookAlt:function(){return Vn},Filter:function(){return zn},Forward:function(){return Bn},Fullscreen:function(){return Hn},Gift:function(){return Un},Google:function(){return qn},GoogleColor:function(){return Zn},GooglePay:function(){return Gn},Grid:function(){return Wn},GripVertical:function(){return Kn},HamburgerMenu:function(){return Yn},Headphones:function(){return Jn},Home:function(){return Xn},Instagram:function(){return Qn},Jcb:function(){return er},Link:function(){return tr},LinkedIn:function(){return nr},LinkedInAlt:function(){return rr},Lock:function(){return ir},Mastercard:function(){return or},Medium:function(){return ar},Next:function(){return sr},Page:function(){return lr},Pause:function(){return cr},PauseCircle:function(){return ur},PayPal:function(){return dr},Phone:function(){return pr},Pinterest:function(){return fr},PinterestAlt:function(){return hr},Play:function(){return mr},PlayCircle:function(){return gr},Previous:function(){return br},Print:function(){return yr},Reddit:function(){return vr},Rss:function(){return wr},Search:function(){return _r},Share:function(){return xr},Snapchat:function(){return jr},SoundCloud:function(){return Or},SoundOff:function(){return Sr},SoundOn:function(){return kr},Star:function(){return Cr},StarHalf:function(){return Pr},TikTok:function(){return Tr},TikTokColor:function(){return Er},Tumblr:function(){return Nr},Twitch:function(){return Ar},Twitter:function(){return Ir},TwitterAlt:function(){return Lr},Unionpay:function(){return Dr},User:function(){return Rr},Visa:function(){return Mr},WhatsApp:function(){return $r},Youtube:function(){return Fr},YoutubeAlt:function(){return Vr},ZoomIn:function(){return zr},ZoomOut:function(){return Br}});var i=n(19894),o=n.n(i),a=n(74848);const s=["children","className"];function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?l(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d="c-attribution",p=e=>{let{children:t,className:n}=e,r=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,s);return(0,a.jsx)("div",c(c({},r),{},{className:n?`${d} ${n}`:`${d}`,children:t}))};p.propTypes={className:o().string,children:o().node.isRequired};const f=["children","className","variant"];function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b="c-badge",y=e=>{let{children:t,className:n,variant:r="default"}=e,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,f);return(0,a.jsx)("span",m(m({},i),{},{className:[b,r&&`${b}--${r}`,n].filter(e=>e).join(" "),children:t}))};y.propTypes={className:o().string,children:o().node.isRequired,variant:o().oneOf(["default","light","primary","danger","warning","success"])};var v=y,w=n(40809),_=n.n(w),x=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j.apply(this,arguments)}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}var k=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(O(t)),t.handleErrored=t.handleErrored.bind(O(t)),t.handleChange=t.handleChange.bind(O(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(O(t)),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n);var i=r.prototype;return i.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},i.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},i.execute=function(){var e=this.getCaptchaFunction("execute");
2if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var e=this;return new Promise(function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()})},i.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},i.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},i.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},i.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},i.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.handleRecaptchaRef=function(e){this.captcha=e},i.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,x));return w.createElement("div",j({},t,{ref:this.handleRecaptchaRef}))},r}(w.Component);k.displayName="ReCAPTCHA",k.propTypes={sitekey:o().string.isRequired,onChange:o().func,grecaptcha:o().object,theme:o().oneOf(["dark","light"]),type:o().oneOf(["image","audio"]),tabindex:o().number,onExpired:o().func,onErrored:o().func,size:o().oneOf(["compact","normal","invisible"]),stoken:o().string,hl:o().string,badge:o().oneOf(["bottomright","bottomleft","inline"]),isolated:o().bool},k.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var C=n(64865),P=n.n(C);function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(this,arguments)}var E={},N=0;var A="onloadcallback";function I(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}var L=function(e,t){return t=t||{},function(n){var r=n.displayName||n.name||"Component",i=function(r){var i,o;function a(e,t){var n;return(n=r.call(this,e,t)||this).state={},n.__scriptURL="",n}o=r,(i=a).prototype=Object.create(o.prototype),i.prototype.constructor=i,i.__proto__=o;var s=a.prototype;return s.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+N++),this.__scriptLoaderID},s.setupScriptURL=function(){return this.__scriptURL="function"==typeof e?e():e,this.__scriptURL},s.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},s.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=E[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var n in e.observers)e.observers[n](e);delete window[t.callbackName]},s.componentDidMount=function(){var e=this,n=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),i=t,o=i.globalName,a=i.callbackName,s=i.scriptId;if(o&&void 0!==window[o]&&(E[n]={loaded:!0,observers:{}}),E[n]){var l=E[n];return l&&(l.loaded||l.errored)?void this.asyncScriptLoaderHandleLoad(l):void(l.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var c={};c[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},E[n]={loaded:!1,observers:c};var u=document.createElement("script");for(var d in u.src=n,u.async=!0,t.attributes)u.setAttribute(d,t.attributes[d]);s&&(u.id=s);var p=function(e){if(E[n]){var t=E[n].observers;for(var r in t)e(t[r])&&delete t[r]}};a&&"undefined"!=typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),u.onload=function(){var e=E[n];e&&(e.loaded=!0,p(function(t){return!a&&(t(e),!0)}))},u.onerror=function(){var e=E[n];e&&(e.errored=!0,p(function(t){return t(e),!0}))},document.body.appendChild(u)},s.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var n=document.getElementsByTagName("script"),r=0;r<n.length;r+=1)n[r].src.indexOf(e)>-1&&n[r].parentNode&&n[r].parentNode.removeChild(n[r]);var i=E[e];i&&(delete i.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete E[e])},s.render=function(){var e=t.globalName,r=this.props,i=(r.asyncScriptOnLoad,r.forwardedRef),o=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(r,["asyncScriptOnLoad","forwardedRef"]);return e&&"undefined"!=typeof window&&(o[e]=void 0!==window[e]?window[e]:void 0),o.ref=i,(0,w.createElement)(n,o)},a}(w.Component),a=(0,w.forwardRef)(function(e,t){return(0,w.createElement)(i,T({},e,{forwardedRef:t}))});return a.displayName="AsyncScriptLoader("+r+")",a.propTypes={asyncScriptOnLoad:o().func},P()(a,n)}}(function(){var e=I(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+A+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+A+"&render=explicit"},{callbackName:A,globalName:"grecaptcha",attributes:I().nonce?{nonce:I().nonce}:{}})(k),D=L,R=n(4486),M=function(){return M=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},M.apply(this,arguments)};var $,F=function(e,t){(function(e){var t;e?function(e){if(e)for(;e.lastChild;
2)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(t=document.querySelector(".grecaptcha-badge"))&&t.parentNode&&document.body.removeChild(t.parentNode)})(t),window.___grecaptcha_cfg=void 0;var n=document.querySelector("#"+e);n&&n.remove(),function(){var e=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]');e&&e.remove()}()},V=function(e){void 0!==R&&R.env,console.warn(e)};!function(e){e.SCRIPT_NOT_AVAILABLE="Recaptcha script is not available"}($||($={}));var z=(0,w.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});z.Consumer;function B(e){var t=e.reCaptchaKey,n=e.useEnterprise,r=void 0!==n&&n,i=e.useRecaptchaNet,o=void 0!==i&&i,a=e.scriptProps,s=e.language,l=e.container,c=e.children,u=(0,w.useState)(null),d=u[0],p=u[1],f=(0,w.useRef)(t),h=JSON.stringify(a),m=JSON.stringify(null==l?void 0:l.parameters);(0,w.useEffect)(function(){if(t){var e=(null==a?void 0:a.id)||"google-recaptcha-v3",n=(null==a?void 0:a.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[n]=function(){var e=r?window.grecaptcha.enterprise:window.grecaptcha,n=M({badge:"inline",size:"invisible",sitekey:t},(null==l?void 0:l.parameters)||{});f.current=e.render(null==l?void 0:l.element,n)},function(e){var t=e.render,n=e.onLoadCallbackName,r=e.language,i=e.onLoad,o=e.useRecaptchaNet,a=e.useEnterprise,s=e.scriptProps,l=void 0===s?{}:s,c=l.nonce,u=void 0===c?"":c,d=l.defer,p=void 0!==d&&d,f=l.async,h=void 0!==f&&f,m=l.id,g=void 0===m?"":m,b=l.appendTo,y=g||"google-recaptcha-v3";if(function(e){return!!document.querySelector("#"+e)}(y))i();else{var v=function(e){return"https://www."+(e.useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(e.useEnterprise?"enterprise.js":"api.js")}({useEnterprise:a,useRecaptchaNet:o}),w=document.createElement("script");w.id=y,w.src=v+"?render="+t+("explicit"===t?"&onload="+n:"")+(r?"&hl="+r:""),u&&(w.nonce=u),w.defer=!!p,w.async=!!h,w.onload=i,("body"===b?document.body:document.getElementsByTagName("head")[0]).appendChild(w)}}({render:(null==l?void 0:l.element)?"explicit":t,onLoadCallbackName:n,useEnterprise:r,useRecaptchaNet:o,scriptProps:a,language:s,onLoad:function(){if(window&&window.grecaptcha){var e=r?window.grecaptcha.enterprise:window.grecaptcha;e.ready(function(){p(e)})}else V("<GoogleRecaptchaProvider /> "+$.SCRIPT_NOT_AVAILABLE)},onError:function(){V("Error loading google recaptcha script")}}),function(){F(e,null==l?void 0:l.element)}}V("<GoogleReCaptchaProvider /> recaptcha key not provided")},[r,o,h,m,s,t,null==l?void 0:l.element]);var g=(0,w.useCallback)(function(e){if(!d||!d.execute)throw new Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return d.execute(f.current,{action:e})},[d,f]),b=(0,w.useMemo)(function(){return{executeRecaptcha:d?g:void 0,container:null==l?void 0:l.element}},[g,d,null==l?void 0:l.element]);return _().createElement(z.Provider,{value:b},c)}var H=function(){return(0,w.useContext)(z)};function U(e,t){return e(t={exports:{}},t.exports),t.exports}var q="function"==typeof Symbol&&Symbol.for,Z=q?Symbol.for("react.element"):60103,G=q?Symbol.for("react.portal"):60106,W=q?Symbol.for("react.fragment"):60107,K=q?Symbol.for("react.strict_mode"):60108,Y=q?Symbol.for("react.profiler"):60114,J=q?Symbol.for("react.provider"):60109,X=q?Symbol.for("react.context"):60110,Q=q?Symbol.for("react.async_mode"):60111,ee=q?Symbol.for("react.concurrent_mode"):60111,te=q?Symbol.for("react.forward_ref"):60112,ne=q?Symbol.for("react.suspense"):60113,re=q?Symbol.for("react.suspense_list"):60120,ie=q?Symbol.for("react.memo"):60115,oe=q?Symbol.for("react.lazy"):60116,ae=q?Symbol.for("react.block"):60121,se=q?Symbol.for("react.fundamental"):60117,le=q?Symbol.for("react.responder"):60118,ce=q?Symbol.for("react.scope"):60119;function ue(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Z:switch(e=e.type){case Q:case ee:case W:case Y:case K:case ne:return e;default:switch(e=e&&e.$$typeof){case X:case te:case oe:case ie:case J:return e;default:return t}}case G:return t}}}function de(e){return ue(e)===ee}var pe={AsyncMode:Q,ConcurrentMode:ee,ContextConsumer:X,ContextProvider:J,Element:Z,ForwardRef:te,Fragment:W,Lazy:oe,Memo:ie,Portal:G,Profiler:Y,StrictMode:K,Suspense:ne,isAsyncMode:function(e){return de(e)||ue(e)===Q},isConcurrentMode:de,isContextConsumer:function(e){return ue(e)===X},isContextProvider:function(e){return ue(e)===J},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Z},isForwardRef:function(e){return ue(e)===te},isFragment:function(e){return ue(e)===W},isLazy:function(e){return ue(e)===oe},isMemo:function(e){return ue(e)===ie},isPortal:function(e){return ue(e)===G},isProfiler:function(e){return ue(e)===Y},isStrictMode:function(e){return ue(e)===K},isSuspense:function(e){return ue(e)===ne},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===W||e===ee||e===Y||e===K||e===ne||e===re||"object"==typeof e&&null!==e&&(e.$$typeof===oe||e.$$typeof===ie||e.$$typeof===J||e.$$typeof===X||e.$$typeof===te||e.$$typeof===se||e.$$typeof===le||e.$$typeof===ce||e.$$typeof===ae)},typeOf:ue},fe=U(function(e,t){}
2),he=(fe.AsyncMode,fe.ConcurrentMode,fe.ContextConsumer,fe.ContextProvider,fe.Element,fe.ForwardRef,fe.Fragment,fe.Lazy,fe.Memo,fe.Portal,fe.Profiler,fe.StrictMode,fe.Suspense,fe.isAsyncMode,fe.isConcurrentMode,fe.isContextConsumer,fe.isContextProvider,fe.isElement,fe.isForwardRef,fe.isFragment,fe.isLazy,fe.isMemo,fe.isPortal,fe.isProfiler,fe.isStrictMode,fe.isSuspense,fe.isValidElementType,fe.typeOf,U(function(e){e.exports=pe})),me={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ge={};ge[he.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ge[he.Memo]=me;Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype;var be=n(16120),ye=n(4321),ve=n(87983),we=n.n(ve);const _e=e=>e?.identities?.reduce((e,t)=>e.lastLoginDate>t.lastLoginDate?e:t)||null;var xe=()=>{const{arcSite:e}=(0,ye.useFusionContext)(),{api:t}=we()(e),[n,r]=(0,w.useState)(!!be.A.apiOrigin);return!n&&e&&t?.identity?.origin&&(be.A.options({apiOrigin:t.identity.origin}),r(!0)),{Identity:be.A,isInitialized:n,getSignedInIdentity:_e}};const je=["children","className","truncationLines"];function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach(function(t){ke(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ke(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ce="c-paragraph",Pe=e=>{let{children:t,className:n="",truncationLines:r=0}=e,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,je);return(0,a.jsx)("p",Se(Se({},i),{},{style:{"--paragraph-truncation":r>0?r:null},className:n?`${Ce} ${n}`:`${Ce}`,children:t}))};Pe.propTypes={children:o().any,className:o().string,truncationLines:o().number};var Te=Pe,Ee=n(39947),Ne=n.n(Ee),Ae=be.A;var Ie={"Content-Type":"application/json"},Le="[Arc Sales SDK]";function De(e){e?(Rt.apiOrigin=e&&e.apiOrigin&&e.apiOrigin.replace(/\/$/,"")||Rt.apiOrigin,e.Identity&&function(e){return!!e.heartbeat&&void 0===e._selectedStorage}(e.Identity)||e.Identity&&function(e){return!!e.heartbeat&&void 0!==e._selectedStorage}(e.Identity)?Rt._Identity=e.Identity:(Ae.options({apiOrigin:Rt.apiOrigin}),Rt._Identity=Ae,console.warn("".concat(Le," No Identity provided to Sales.options.")))):console.warn("".concat(Le," No options specified when calling Sales.options"))}var Re=n(11238),Me=n(6248),$e=n(11114);function Fe(){return(0,Re.__awaiter)(this,void 0,void 0,function(){return(0,Re.__generator)(this,function(e){return Rt._configOptions?[2,Rt._configOptions]:[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/config"),{method:"GET",cache:"no-cache",headers:(0,Re.__assign)({},Ie)}).then($e.default).then(function(e){if((0,Me.Q)(e))throw e;return Rt._configOptions=e,e})]})})}function Ve(e){return!!e.subscriptionID||0===e.subscriptionID}function ze(e){return!!(null==e?void 0:e.subscriptionID)||0===(null==e?void 0:e.subscriptionID)}function Be(e){return Rt.subscriptions.find(function(t){return t.subscriptionID===e})}function He(e,t){var n=e.find(function(e){return e.subscriptionID===t.subscriptionID}),r=e.filter(function(e){return e.subscriptionID!==t.subscriptionID}),i=(0,Re.__assign)((0,Re.__assign)({},n),t);return(0,Re.__spreadArray)((0,Re.__spreadArray)([],(0,Re.__read)(r),!1),[i],!1)}function Ue(e,t){return t.reduce(function(e,t){return He(e,t)},e)}function qe(e,t){return t.reduce(function(e,t){return function(e,t){var n=e.find(function(e){return e.subscriptionID===t.subscriptionID}),r=e.filter(function(e){return e.subscriptionID!==t.subscriptionID}),i=(0,Re.__assign)((0,Re.__assign)({},n),t);return(0,Re.__spreadArray)((0,Re.__spreadArray)([],(0,Re.__read)(r),!1),[i],!1)}(e,t)},e)}function Ze(e,t){var n=e.find(function(e){return e.orderNumber===t.orderNumber}),r=e.filter(function(e){return e.orderNumber!==t.orderNumber}),i=(0,Re.__assign)((0,Re.__assign)({},n),t);return(0,Re.__spreadArray)((0,Re.__spreadArray)([],(0,Re.__read)(r),!1),[i],!1)}function Ge(e){return void 0===e&&(e={}),(0,Re.__awaiter)(this,void 0,void 0,function(){var t,n;return(0,Re.__generator)(this,function(r){switch(r.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:return t=r.sent(),n=(0,Re.__assign)((0,Re.__assign)({},e),{headers:t?(0,Re.__assign)((0,Re.__assign)({},e.headers),{Authorization:Rt._Identity.userIdentity.accessToken}):(0,Re.__assign)({},e.headers)}),t||(n=(0,Re.__assign)((0,Re.__assign)({}
2,n),{credentials:"include"})),[2,n]}})})}function We(e){var t={};return Object.keys(e).forEach(function(n){t[n]=e[n]||void 0}),t}function Ke(e,t,n){return(0,Re.__awaiter)(this,void 0,void 0,function(){var r;return(0,Re.__generator)(this,function(i){switch(i.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!i.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return r=JSON.stringify({reason:t,reasonCode:n}),[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/").concat(e,"/cancel"),{method:"PUT",headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie),body:r}).then($e.default).then(function(t){if(Ve(t)){var n=Be(e);return Rt.subscriptions=He(Rt.subscriptions,(0,Re.__assign)((0,Re.__assign)({},n),{subscriptionID:t.subscriptionID,status:3})),t}throw t})]}})})}function Ye(){return(0,Re.__awaiter)(this,void 0,void 0,function(){return(0,Re.__generator)(this,function(e){switch(e.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!e.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/allactive"),{method:"GET",headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie)}).then($e.default).then(function(e){if(Array.isArray(e)){var t=e.map(function(e){var t=e.statusID,n=(0,Re.__rest)(e,["statusID"]);return(0,Re.__assign)((0,Re.__assign)({},n),{status:t})});return Rt.subscriptions=Ue(Rt.subscriptions,t),t}throw e})]}})})}function Je(){return(0,Re.__awaiter)(this,void 0,void 0,function(){return(0,Re.__generator)(this,function(e){switch(e.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!e.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/all"),{method:"GET",headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie)}).then($e.default).then(function(e){if(Array.isArray(e)){var t=e.map(function(e){var t=e.statusID,n=(0,Re.__rest)(e,["statusID"]);return(0,Re.__assign)((0,Re.__assign)({},n),{status:t})});return Rt.subscriptions=Ue(Rt.subscriptions,t),t}throw e})]}})})}function Xe(e){return(0,Re.__awaiter)(this,void 0,void 0,function(){return(0,Re.__generator)(this,function(t){switch(t.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!t.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/").concat(e,"/details"),{method:"GET",cache:"no-cache",headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie)}).then($e.default).then(function(e){if(ze(e))return Rt.subscriptions=He(Rt.subscriptions,e),e;throw e})]}})})}function Qe(e){return(0,Re.__awaiter)(this,void 0,void 0,function(){return(0,Re.__generator)(this,function(t){switch(t.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!t.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/").concat(e,"/sharing"),{method:"GET",cache:"no-cache",headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie)}).then($e.default).then(function(e){if(function(e){return Array.isArray(e.sharedSubscriptions)}(e))return Rt.sharedSubscriptions=qe(Rt.sharedSubscriptions,e.sharedSubscriptions),e;throw e})]}})})}function et(e){return(0,Re.__awaiter)(this,void 0,void 0,function(){return(0,Re.__generator)(this,function(t){switch(t.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!t.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/").concat(e,"/stopshare"),{method:"PUT",headers:{Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)}}).then($e.default).then(function(e){if(Ve(e))return Rt.sharedSubscriptions=Rt.sharedSubscriptions.filter(function(t){return t.subscriptionID!==e.subscriptionID}),e;throw e})]}})})}function tt(e,t){return(0,Re.__awaiter)(this,void 0,void 0,function(){return(0,Re.__generator)(this,function(n){switch(n.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!n.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/").concat(e,"/share"),{method:"PUT",body:JSON.stringify({email:t}),headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie)}).then($e.default).then(function(e){if(function(e){return void 0!==e.redeemCode}(e))return e;throw e})]}})})}function nt(e){return(0,Re.__awaiter)(this,void 0,void 0,function(){var t=this;return(0,Re.__generator)(this,function(n){switch(n.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!n.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/redeem"),{method:"POST",body:JSON.stringify({token:e}),headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie)}).then($e.default).then(function(e){return(0,Re.__awaiter)(t,void 0,void 0,function(){return(0,Re.__generator)(this,function(t){switch(t.label){case 0:return Ve(e)?[4,Rt.getSubscriptionDetail
2s(e.subscriptionID)]:[3,2];case 1:return t.sent(),[2,e];case 2:throw e}})})})]}})})}function rt(e){return(0,Re.__awaiter)(this,void 0,void 0,function(){var t=this;return(0,Re.__generator)(this,function(n){switch(n.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!n.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v2/subscriptions/enterprise"),{method:"POST",body:JSON.stringify({nonce:e}),headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie)}).then($e.default).then(function(e){return(0,Re.__awaiter)(t,void 0,void 0,function(){return(0,Re.__generator)(this,function(t){switch(t.label){case 0:return Ve(e)?[4,Rt.getSubscriptionDetails(e.subscriptionID)]:[3,2];case 1:return t.sent(),[2,e];case 2:throw e}})})})]}})})}function it(e){return(0,Re.__awaiter)(this,void 0,void 0,function(){return(0,Re.__generator)(this,function(t){switch(t.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!t.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/").concat(e,"/rescue"),{method:"PUT",headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie),body:JSON.stringify({})}).then($e.default).then(function(t){if(Ve(t)){var n=Be(e);return Rt.subscriptions=He(Rt.subscriptions,(0,Re.__assign)((0,Re.__assign)({},n),{subscriptionID:t.subscriptionID,status:1})),t}throw t})]}})})}function ot(e,t){return(0,Re.__awaiter)(this,void 0,void 0,function(){var n;return(0,Re.__generator)(this,function(r){switch(r.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!r.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return n=JSON.stringify({billingAddress:e,subscriptionID:t}),[2,Rt.getSubscriptionDetails(t).then(function(e){if(ze(e))return fetch("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/address"),{method:"PUT",headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie),body:n}).then($e.default).then(function(n){if(n.country)return Rt.subscriptions=He(Rt.subscriptions,(0,Re.__assign)((0,Re.__assign)({},e),{subscriptionID:t,billingAddress:n})),n;throw n});throw e})]}})})}function at(e,t){return(0,Re.__awaiter)(this,void 0,void 0,function(){return(0,Re.__generator)(this,function(n){switch(n.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!n.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/gift/").concat(e),{method:"PUT",body:JSON.stringify(t),headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie)}).then($e.default).then(function(e){if((t=e).subscriptionID&&void 0!==t.redeemCode)return e;throw e;var t})]}})})}function st(e){return(0,Re.__awaiter)(this,void 0,void 0,function(){var t=this;return(0,Re.__generator)(this,function(n){switch(n.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!n.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/gift/redeem"),{method:"POST",body:JSON.stringify({token:e}),headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie)}).then($e.default).then(function(e){return(0,Re.__awaiter)(t,void 0,void 0,function(){return(0,Re.__generator)(this,function(t){if(Ve(e))return[2,e];throw e})})})]}})})}function lt(e){return!!e.orderNumber}function ct(e){return!!e.items}function ut(e){return(0,Re.__awaiter)(this,void 0,void 0,function(){var t;return(0,Re.__generator)(this,function(n){switch(n.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!n.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[4,Ge({method:"GET",headers:Ie,cache:"no-cache"})];case 2:return t=n.sent(),[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/order/detail/").concat(e),t).then($e.default).then(function(e){if(lt(e))return Rt.orders=Ze(Rt.orders,e),e;throw e})]}})})}function dt(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=10),void 0===n&&(n={}),(0,Re.__awaiter)(this,void 0,void 0,function(){return(0,Re.__generator)(this,function(r){switch(r.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!r.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/order/history?pageSize=").concat(t,"&start=").concat(e).concat(n.status?"&status=".concat(n.status):""),{method:"GET",cac
2he:"no-cache",headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie)}).then($e.default).then(function(e){if(void 0!==(n=e).start&&Array.isArray(n.orders))return Rt.orders=(t=Rt.orders,e.orders.reduce(function(e,t){return Ze(e,t)},t)),e;throw e;var t,n})]}})})}function pt(){return(0,Re.__awaiter)(this,void 0,void 0,function(){var e;return(0,Re.__generator)(this,function(t){switch(t.label){case 0:return[4,Ge({method:"GET",headers:Ie})];case 1:return e=t.sent(),[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/cart"),e).then($e.default).then(function(e){if(ct(e))return Rt.cart=e,e;throw e})]}})})}var ft=n(18029);function ht(e,t){return(0,Re.__awaiter)(this,void 0,void 0,function(){var n;return(0,Re.__generator)(this,function(r){switch(r.label){case 0:return[4,Ge({method:"POST",headers:Ie,body:JSON.stringify({items:e,billingAddress:t})})];case 1:return n=r.sent(),[2,(0,ft.A)(Rt.apiOrigin,n).then(function(e){if(ct(e))return Rt.cart=e,e;throw e})]}})})}function mt(e){return Rt._Identity.heartbeat().then(function(){return fetch("".concat(Rt.apiOrigin,"/sales/public/v1/cart/item/").concat(e),{method:"DELETE",headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie)})}).then($e.default).then(function(e){if(ct(e))return Rt.cart=e,e;throw e})}function gt(){return(0,Re.__awaiter)(this,void 0,void 0,function(){var e;return(0,Re.__generator)(this,function(t){switch(t.label){case 0:return[4,Ge({method:"DELETE",headers:Ie})];case 1:return e=t.sent(),[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/cart/clear"),e).then($e.default).then(function(e){if(ct(e))return Rt.cart=e,e;throw e})]}})})}function bt(e){return(0,Re.__awaiter)(this,void 0,void 0,function(){var t;return(0,Re.__generator)(this,function(n){switch(n.label){case 0:return[4,Rt.getConfig()];case 1:if(t=n.sent(),void 0!==t.checkoutRecaptchaEnabled&&t.checkoutRecaptchaEnabled&&!e)throw{code:"130001",message:"Captcha token invalid"};return[2,!0]}})})}function yt(e,t,n,r,i,o,a,s){return(0,Re.__awaiter)(this,void 0,void 0,function(){return(0,Re.__generator)(this,function(l){return[2,vt(n,e,t,r,i,o,a,s)]})})}function vt(e,t,n,r,i,o,a,s){return(0,Re.__awaiter)(this,void 0,void 0,function(){var l=this;return(0,Re.__generator)(this,function(c){return[2,bt(s).then(function(){return(0,Re.__awaiter)(l,void 0,void 0,function(){var l,c;return(0,Re.__generator)(this,function(u){switch(u.label){case 0:return l=JSON.stringify(We({email:t,phone:n,billingAddress:e,firstName:r,lastName:i,secondLastName:o,shippingAddress:a,"recaptcha-token":s})),[4,Ge({method:"POST",headers:Ie,body:l})];case 1:return c=u.sent(),[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/checkout/order"),c).then($e.default).then(function(e){if(lt(e))return Rt.currentOrder=e,e;throw e})]}})})})]})})}function wt(){return(0,Re.__awaiter)(this,void 0,void 0,function(){var e;return(0,Re.__generator)(this,function(t){switch(t.label){case 0:return[4,Ge({method:"GET",cache:"no-cache",headers:Ie})];case 1:return e=t.sent(),[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/checkout/payment/options"),e).then($e.default).then(function(e){if(Array.isArray(e))return Rt._paymentOptions=e,e;throw e})]}})})}function _t(){return(0,Re.__awaiter)(this,void 0,void 0,function(){return(0,Re.__generator)(this,function(e){switch(e.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!e.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/checkout/addresses"),{method:"GET",headers:(0,Re.__assign)({Authorization:"Bearer ".concat(Rt._Identity.userIdentity.accessToken)},Ie)}).then($e.default).then(function(e){if(Array.isArray(e))return Rt.addresses=e,e;throw e})]}})})}var xt=new Set;function jt(e,t,n){return void 0===t&&(t={}),xt[n]?Promise.reject("".concat(Le," ").concat(n," cannot be called until the previous to ").concat(n," completes")):(xt[n]=!0,fetch(e,t).finally(function(){xt[n]=!1}))}function Ot(e,t,n){return(0,Re.__awaiter)(this,void 0,void 0,function(){var r,i;return(0,Re.__generator)(this,function(o){switch(o.label){case 0:return r="".concat(Rt.apiOrigin,"/sales/public/v1/checkout/order/").concat(e,"/payment/").concat(t),n&&n.applePayValidationUrl&&(r+="?validationURL=".concat(n.applePayValidationUrl)),[4,Ge({method:"GET",headers:Ie,options:n})];case 1:return i=o.sent(),[2,jt(r,i,"initializePayment").then($e.default).then(function(e){if(function(e){return!!e.orderNumber}(e))return e;throw e})]}})})}function St(e,t,n,r,i){return(0,Re.__awaiter)(this,void 0,void 0,function(){var o=this;return(0,Re.__generator)(this,function(a){return[2,bt(i).then(function(){return(0,Re.__awaiter)(o,void 0,void 0,function(){var o;return(0,Re.__generator)(this,function(a){switch(a.label){case 0:return[4,Ge({method:"PUT",headers:Ie,body:JSON.stringify((0,Re.__assign)((0,Re.__assign)({},r),{token:n,"recaptcha-token":i}))})];case 1:return o=a.sent(),[2,jt("".concat(Rt.apiOrigin,"/sales/public/v1/checkout/order/").concat(e,"/payment/").concat(t),o,"finalizePayment").then($e.default).then(function(e){if(lt(e))return Rt.currentOrder=e,e;throw e})]}})})})]})})}function kt(e,t,n,r,i){return(0,Re.__awaiter)(this,void 0,void 0,function(){var o=this;return(0,Re.__generator)(this,function(a){return[2,bt(i).then(function(){return(0,Re.__awaiter)(o,void 0,void 0,function(){var o;return(0,Re.__generator)(this,function(a){switch(a.label){case 0:return[4,Ge({method:"PUT",headers:Ie,body:JSON.stringify((0,Re.__assign)((0,Re.__assign)({},r),{token:n,"recaptcha-token":i}))})];case 1:return o=a.sent(),[2,jt("".concat(Rt.apiOrigin,"/sales/public/v1/checkout/order/").concat(e,"/payment/").concat(t),o,"finalizePayment").then($e.default).then(function(e){if(lt(e))return Rt.currentOrder=e,e;throw e})]}})})})]})})}function Ct(e,t,n,r,i){return(0,Re.__awaiter)(this,void 0,void 0,function(){var o,a;return(0,Re.__generator)(this,function(s){switch(s.label){case 0:return o=i?JSON.stringify((0,Re.__assign)((0,Re.__assign)({},r),{token:n,SPREEDLY_SUCCEEDED:!0})):JSON.stringify((0,Re.__assign)((0,Re.__assign)({},r),{token:n})),[4,Ge({method:"PUT",headers:Ie,body:o})];case 1:return a=s.sent(),[2,jt("".concat(Rt.apiOrigin,"/sales/public/v1/checkout/3ds/order/").concat(e,"/payment/").concat(t),a,"finalize3DS").then($e.default).then(function(e){if(lt(e))return Rt.currentOrder=e,e;throw e})]}})})}function Pt(e,t){return(0,Re.__awaiter)(this,void 0,void 0,function(){var n,r;return(0,Re.__generator)(this,function(i){switch(i.label){case 0:return n="".concat(Rt.apiOrigin,"/sales/public/v1/paymentmethod/").concat(e,"/provider/").concat(t),[4,Ge({method:"PUT",headers:Ie,body:JSON.stringify({})})];case 1:return r=i.sent(),[2,jt(n,r,"initializePaymentUpdate").then($e.default).then(function(e){if((0,Me.Q)(e))throw e;return e})]}})})}function Tt(e,t,n,r,i){return(0,Re.__awaiter)(this,void 0,void 0,function(){var o=this;return(0,Re.__generator)(this,function(a){return[2,bt(i).then(function(){return(0,Re.__awaiter)(o,void 0,void 0,function(){var o;return(0,Re.__generator)(this,function(a){switch(a.label){case 0:return[4,Ge({method:"PUT",headers:Ie,body:JSON.stringify((0,Re.__assign)((0,Re.__assign)({},r),{token:n,"recaptcha-token":i}))})];case 1:return o=a.sent(),[2,jt("".concat(Rt.apiOrigin,"/sales/public/v1/paymentmethod/").concat(e,"/provider/").concat(t,"/finalize"),o,"finalizePaymentUpdate").then($e.default).then(function(e){if((0,Me.Q)(e))throw e;return e})]}})})})]})})}function Et(e,t,n,r,i){return(0,Re.__awaiter)(this,void 0,void 0,function(){var o,a;return(0,Re.__generator)(this,function(s){switch(s.label){case 0:return o=i?JSON.stringify((0,Re.__assign)((0,Re.__assign)({},r),{token:n,SPREEDLY_SUCCEEDED:!0})):JSON.stringify((0,Re.__assign)((0,Re.__assign)({},r),{token:n})),[4,Ge({method:"PUT",headers:Ie,body:o})];case 1:return a=s.sent(),[2,jt("".concat(Rt.apiOrigin,"/sales/public/v1/paymentmethod/").concat(e,"/provider/").concat(t,"/finalize3ds"),a,"finalizePaymentUpdate3ds").then($e.default).then(function(e){if((0,Me.Q)(e))throw e;return e})]}})})}function Nt(e,t,n,r){return(0,Re.__awaiter)(this,void 0,void 0,function(){var i,o;return(0,Re.__generator)(this,function(a){switch(a.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!a.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return i=JSON.stringify(We({subscriptionId:e,newPriceCode:t,productChanges:n,currentTerm:r})),[4,Ge({method:"POST",headers:Ie,body:i})];case 2:return o=a.sent(),[2,jt("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/upgradedowngrade"),o,"initializePaymentUpdate").then($e.default).then(function(e){if((0,Me.Q)(e))throw e;return e})]}})})}function At(e,t){return(0,Re.__awaiter)(this,void 0,void 0,function(){var n,r;return(0,Re.__generator)(this,function(i){switch(i.label){case 0:return[4,Rt._Identity.isLoggedIn()];case 1:if(!i.sent())throw new Error("".concat(Le," Missing or invalid jwt"));return n=JSON.stringify(We({sessionId:e,reasonCode:t})),[4,Ge({method:"PUT",headers:Ie,body:n})];case 2:return r=i.sent(),[2,jt("".concat(Rt.apiOrigin,"/sales/public/v1/subscription/upgradedowngrade"),r,"finalizePaymentUpdate").then($e.default).then(function(e){if((0,Me.Q)(e))throw e;return e})]}})})}function It(e){return(0,Re.__awaiter)(this,void 0,void 0,function(){var t;return(0,Re.__generator)(this,function(n){switch(n.label){case 0:return[4,Ge({method:"POST",headers:Ie,body:e})];case 1:return t=n.sent(),[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/swg/purchase"),t).then($e.default).then(function(e){if((0,Me.Q)(e))throw e})]}})})}var Lt=function(e){var t=e.subscriptionToken,n=e.findOrCreate,r=void 0!==n&&n;return(0,Re.__awaiter)(void 0,void 0,void 0,function(){return(0,Re.__generator)(this,function(e){return[2,fetch("".concat(Rt.apiOrigin,"/sales/public/v1/swg/loginexists"),{method:"POST",headers:Ie,body:JSON.stringify((0,Re.__assign)((0,Re.__assign)({},JSON.parse(t)),{findOrCreate:r}))}).then($e.default).then(function(e){if(function(e){return"boolean"==typeof e.exists}(e))return e;throw e})]})})},Dt=function(){function e(){}return Object.defineProperty(e,"subscriptions",{get:function(){return this._subscriptions}
2,set:function(e){this._subscriptions=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"sharedSubscriptions",{get:function(){return this._sharedSubscriptions},set:function(e){this._sharedSubscriptions=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"orders",{get:function(){return this._orders},set:function(e){this._orders=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"cart",{get:function(){return this._cart},set:function(e){this._cart=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"currentOrder",{get:function(){return this._currentOrder},set:function(e){this._currentOrder=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"paymentOptions",{get:function(){return this._paymentOptions},enumerable:!1,configurable:!0}),Object.defineProperty(e,"addresses",{get:function(){return this._addresses},set:function(e){this._addresses=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"configOptions",{get:function(){return this._configOptions},enumerable:!1,configurable:!0}),e.apiOrigin="",e._subscriptions=[],e._sharedSubscriptions=[],e._orders=[],e._addresses=[],e._paymentOptions=[],e._version=n(22273).rE,e.options=De,e.getConfig=Fe,e.cancelSubscription=Ke,e.rescueSubscription=it,e.getAllActiveSubscriptions=Ye,e.getAllSubscriptions=Je,e.getSubscriptionDetails=Xe,e.getSubscriptionSharingDetails=Qe,e.stopSharing=et,e.shareSubscription=tt,e.redeemAssociateInvitation=nt,e.redeemEnterpriseSubscription=rt,e.setGiftRecipient=at,e.redeemGiftSubscription=st,e.getOrderDetails=ut,e.getOrderHistory=dt,e.getCart=pt,e.addItemToCart=ht,e.removeItemFromCart=mt,e.clearCart=gt,e.createOrder=yt,e.createNewOrder=vt,e.getPaymentOptions=wt,e.getAddresses=_t,e.initializePayment=Ot,e.finalizePayment=St,e.finalizePaymentPayU=kt,e.finalizePayment3ds=Ct,e.initializePaymentUpdate=Pt,e.finalizePaymentUpdate=Tt,e.finalizePaymentUpdate3ds=Et,e.updateBillingAddress=ot,e.onSwgPurchase=It,e.checkSwgSubscriptionToken=Lt,e.enforceRecaptcha=bt,e.initializeSubscriptionChange=Nt,e.finalizeSubscriptionChange=At,e}(),Rt=Dt;"undefined"!=typeof window&&/localhost/.test(location.href)&&(window.Identity=Ae),"undefined"!=typeof window&&window.addEventListener("ArcSDK.logout",function(){Dt.subscriptions=[],Dt.sharedSubscriptions=[],Dt.orders=[],Dt.addresses=[],Dt.currentOrder={},Dt.cart={}});var Mt=Rt;var $t=()=>{const{arcSite:e}=(0,ye.useFusionContext)(),{api:t}=we()(e),[n,r]=(0,w.useState)(!!Mt.apiOrigin),i=!!be.A.apiOrigin,o=t?.identity?.origin??t?.sales?.origin??t?.retail?.origin,a=t?.sales?.origin??t?.identity?.origin??t?.retail?.origin;return!i&&e&&o&&be.A.options({apiOrigin:o}),!n&&e&&a&&(Mt.options({apiOrigin:a,Identity:be.A}),r(!0)),{Sales:Mt,isInitialized:n}};globalThis.fetch=Ne();const Ft="signin",Vt="magicLink",zt="signup",Bt="V2";var Ht=e=>{const{Identity:t}=xe(),{Sales:n,isInitialized:r}=$t(),[i,o]=(0,w.useState)(),[a,s]=(0,w.useState)(),[l,c]=(0,w.useState)(!1),u=(e,t,n)=>{e&&t&&String(n)&&("-1"===n?(s(t),o(Bt),c(!0)):parseFloat(n)>=0&&parseFloat(n)<=1&&(s(t),o("V3"),c(!0)))};return(0,w.useMemo)(()=>(async()=>{if(r){const r=await t.getConfig(),{recaptchaSiteKey:i,recaptchaScore:o}=r;if([Ft,zt,Vt].includes(e)){const t=r?.[`${e}Recaptcha`];u(t,i,o)}if("checkout"===e){const e=await n.getConfig(),t=e?.checkoutRecaptchaEnabled;u(t,i,o)}}})(),[e,r]),{recaptchaVersion:i,siteKey:a,isRecaptchaEnabled:l}};const Ut="ArcXP_captchaToken";var qt=({setCaptchaToken:e,resetRecaptcha:t})=>{const{executeRecaptcha:n}=H(),r=(0,w.useCallback)(async()=>{if(!n)return void console.log("ArcXP - Execute recaptcha not yet available");const t=await n();e(t),localStorage.setItem(Ut,t)},[n]);return(0,w.useEffect)(()=>{r()},[n,t]),null};const Zt="c-reCaptcha",Gt=({challengeIn:e,setCaptchaToken:t,captchaError:n,error:r,setCaptchaError:i,resetRecaptcha:o})=>{const{isInitialized:s}=xe(),{recaptchaVersion:l,siteKey:c,isRecaptchaEnabled:u}=Ht(e),d=(0,w.useRef)();(0,w.useEffect)(()=>{u&&l===Bt&&(n||r)&&d.current.reset()},[n,r,u,l,o,d]);const p=e=>{t(e),i(null),localStorage.setItem(Ut,e)};return s&&u&&c&&l?l===Bt?(0,a.jsxs)("section",{className:Zt,"data-testid":"bot-challege-protection-container-V2",children:[(0,a.jsx)(D,{ref:d,sitekey:c,onChange:p,onExpired:()=>{}}),n&&(0,a.jsx)(Te,{className:`${Zt}--warning`,children:n})]}):"V3"===l?(0,a.jsx)("section",{"data-testid":"bot-challege-protection-container-V3",children:(0,a.jsx)(B,{reCaptchaKey:c,scriptProps:{async:!0},children:(0,a.jsx)(qt,{setCaptchaToken:t,resetRecaptcha:o})})}):null:null};Gt.propTypes={challengeIn:o().oneOf(["signin","signup","magicLink","checkout"]),setCaptchaToken:o().func.isRequired,captchaError:o().string,error:o().string,
2setCaptchaError:o().func.isRequired,resetRecaptcha:o().bool.isRequired};const Wt=["accessibilityLabel","assistiveHidden","children","className","disabled","fullWidth","href","iconLeft","iconRight","size","type","variant"];function Kt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kt(Object(n),!0).forEach(function(t){Jt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Jt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Xt="c-button",Qt=(0,w.forwardRef)((e,t)=>{const{accessibilityLabel:n,assistiveHidden:r,children:i,className:o,disabled:s,fullWidth:l=!1,href:c,iconLeft:u,iconRight:d,size:p="medium",type:f="button",variant:h="default"}=e,m=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Wt),g=Yt(Yt({},m),{},{ref:t,"aria-label":n,"aria-hidden":r?"true":void 0,tabIndex:r?"-1":void 0,className:[Xt,c&&`${Xt}--link`,l&&`${Xt}--full-width`,p&&`${Xt}--${p}`,h&&`${Xt}--${h}`,o].filter(e=>e).join(" ")}),b=(0,a.jsxs)(a.Fragment,{children:[u,w.Children.count(i)?(0,a.jsx)("span",{children:i}):null,d]});return c?(0,a.jsxs)("a",Yt(Yt({},g),{},{href:c,children:[n&&(0,a.jsx)("span",{className:"visually-hidden",children:n}),b]})):(0,a.jsxs)("button",Yt(Yt({},g),{},{type:f,"aria-disabled":s,children:[n&&(0,a.jsx)("span",{className:"visually-hidden",children:n}),b]}))});Qt.propTypes={accessibilityLabel:o().string,assistiveHidden:o().bool,className:o().string,children:o().node,disabled:o().bool,fullWidth:o().bool,href:o().string,iconLeft:o().node,iconRight:o().node,size:o().oneOf(["small","medium","large"]),variant:o().oneOf(["primary","primary-reverse","secondary","secondary-reverse","default"]),type:o().oneOf(["button","submit","reset"])};const en={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},tn={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},nn="mousemove",rn="mouseup";function on(e,t){if(0===t)return e;const n=Math.PI/180*t;return[e[0]*Math.cos(n)+e[1]*Math.sin(n),e[1]*Math.cos(n)-e[0]*Math.sin(n)]}function an(e,t){const n=t=>{const n="touches"in t;n&&t.touches.length>1||e((e,i)=>{i.trackMouse&&!n&&(document.addEventListener(nn,r),document.addEventListener(rn,o));const{clientX:a,clientY:s}=n?t.touches[0]:t,l=on([a,s],i.rotationAngle);return i.onTouchStartOrOnMouseDown&&i.onTouchStartOrOnMouseDown({event:t}),Object.assign(Object.assign(Object.assign({},e),tn),{initial:l.slice(),xy:l,start:t.timeStamp||0})})},r=t=>{e((e,n)=>{const r="touches"in t;if(r&&t.touches.length>1)return e;if(t.timeStamp-e.start>n.swipeDuration)return e.swiping?Object.assign(Object.assign({},e),{swiping:!1}):e;const{clientX:i,clientY:o}=r?t.touches[0]:t,[a,s]=on([i,o],n.rotationAngle),l=a-e.xy[0],c=s-e.xy[1],u=Math.abs(l),d=Math.abs(c),p=(t.timeStamp||0)-e.start,f=Math.sqrt(u*u+d*d)/(p||1),h=[l/(p||1),c/(p||1)],m=function(e,t,n,r){return e>t?n>0?"Right":"Left":r>0?"Down":"Up"}(u,d,l,c),g="number"==typeof n.delta?n.delta:n.delta[m.toLowerCase()]||en.delta;if(u<g&&d<g&&!e.swiping)return e;const b={absX:u,absY:d,deltaX:l,deltaY:c,dir:m,event:t,first:e.first,initial:e.initial,velocity:f,vxvy:h};b.first&&n.onSwipeStart&&n.onSwipeStart(b),n.onSwiping&&n.onSwiping(b);let y=!1;return(n.onSwiping||n.onSwiped||n[`onSwiped${m}`])&&(y=!0),y&&n.preventScrollOnSwipe&&n.trackTouch&&t.cancelable&&t.preventDefault(),Object.assign(Object.assign({},e),{first:!1,eventData:b,swiping:!0})})},i=t=>{e((e,n)=>{let r;if(e.swiping&&e.eventData){if(t.timeStamp-e.start<n.swipeDuration){r=Object.assign(Object.assign({},e.eventData),{event:t}),n.onSwiped&&n.onSwiped(r);const i=n[`onSwiped${r.dir}`];i&&i(r)}}else n.onTap&&n.onTap({event:t});return n.onTouchEndOrOnMouseUp&&n.onTouchEndOrOnMouseUp({event:t}
2),Object.assign(Object.assign(Object.assign({},e),tn),{eventData:r})})},o=e=>{document.removeEventListener(nn,r),document.removeEventListener(rn,o),i(e)},a=(e,t)=>{let o=()=>{};if(e&&e.addEventListener){const a=Object.assign(Object.assign({},en.touchEventOptions),t.touchEventOptions),s=[["touchstart",n,a],["touchmove",r,Object.assign(Object.assign({},a),t.preventScrollOnSwipe?{passive:!1}:{})],["touchend",i,a]];s.forEach(([t,n,r])=>e.addEventListener(t,n,r)),o=()=>s.forEach(([t,n])=>e.removeEventListener(t,n))}return o},s={ref:t=>{null!==t&&e((e,n)=>{if(e.el===t)return e;const r={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),r.cleanUpTouch=void 0),n.trackTouch&&t&&(r.cleanUpTouch=a(t,n)),Object.assign(Object.assign(Object.assign({},e),{el:t}),r)})}};return t.trackMouse&&(s.onMouseDown=n),[s,a]}function sn(e){const{trackMouse:t}=e,n=w.useRef(Object.assign({},tn)),r=w.useRef(Object.assign({},en)),i=w.useRef(Object.assign({},r.current));let o;for(o in i.current=Object.assign({},r.current),r.current=Object.assign(Object.assign({},en),e),en)void 0===r.current[o]&&(r.current[o]=en[o]);const[a,s]=w.useMemo(()=>an(e=>n.current=e(n.current,r.current),{trackMouse:t}),[t]);return n.current=function(e,t,n,r){return t.trackTouch&&e.el?e.cleanUpTouch?t.preventScrollOnSwipe!==n.preventScrollOnSwipe||t.touchEventOptions.passive!==n.touchEventOptions.passive?(e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:r(e.el,t)})):e:Object.assign(Object.assign({},e),{cleanUpTouch:r(e.el,t)}):(e.cleanUpTouch&&e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:void 0}))}(n.current,r.current,i.current,s),a}const ln={image:{role:"img",focusable:!1},presentational:{"aria-hidden":!0,focusable:!1}};var cn=e=>ln[e];var un=()=>(0,a.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,a.jsx)("rect",{fill:"#016fd0",height:"16",rx:"2",width:"24"}),(0,a.jsx)("path",{d:"m13.7640663 13.3938564v-5.70139231l10.1475359.00910497v1.57489503l-1.1728619 1.25339231 1.1728619 1.2648839v1.6083094h-1.8726188l-.9951823-1.0981657-.9881105 1.1023204z",fill:"#fffffe"}),(0,a.jsx)("path",{d:"m14.4418122 12.7687956v-4.448884h3.7722872v1.02488398h-2.550895v.69569062h2.4900774v1.0078232h-2.4900774v.6833149h2.550895v1.0371713z",fill:"#016fd0"}),(0,a.jsx)("path",{d:"m18.1952707 12.7687956 2.087337-2.2270055-2.0874254-2.2217901h1.6156464l1.2754917 1.41003315 1.2791161-1.41003315h1.5461657v.03500552l-2.0428729 2.18678458 2.0428729 2.1638895v.063116h-1.5617237l-1.2981216-1.4241768-1.2847735 1.4241768z",fill:"#016fd0"}),(0,a.jsx)("path",{d:"m14.2373481 2.6319558h2.4460552l.8591381 1.95085083v-1.95085083h3.0198453l.5207514 1.46156906.5225194-1.46156906h2.3059447v5.70139227h-12.1865193z",fill:"#fffffe"}),(0,a.jsxs)("g",{fill:"#016fd0",children:[(0,a.jsx)("path",{d:"m14.7004641 3.25135912-1.9740111 4.44517127h1.3539006l.3724199-.89016575h2.0179447l.3721547.89016575h1.3875801l-1.96579-4.44517127zm.1696353 2.55743646.592-1.41507182.5915581 1.41507182z"}),(0,a.jsx)("path",{d:"m18.2119779 7.69573481v-4.44508288l1.903116.00654144.9792707 2.73272928.9856354-2.73927072h1.8316022v4.44508288l-1.1786077.01043094v-3.05334807l-1.1125746 3.04291713h-1.0758011l-1.1356464-3.05334807v3.05334807z"})]})]});var dn=()=>(0,a.jsx)("path",{d:"M19.5577 12.6827C19.5465 10.7162 20.4726 9.23204 22.3472 8.13898C21.2984 6.69765 19.7139 5.90465 17.6217 5.74926C15.6411 5.59923 13.4764 6.85839 12.6841 6.85839C11.8472 6.85839 9.928 5.80284 8.42163 5.80284C5.30845 5.85106 2 8.1872 2 12.9399C2 14.3437 2.2678 15.7957 2.8034 17.2906C3.51753 19.2571 6.09511 24.0794 8.78427 23.999C10.1902 23.9669 11.1833 23.0399 13.0133 23.0399C14.7875 23.0399 15.708 23.999 17.2758 23.999C19.9872 23.9615 22.3193 19.5786 23 17.6068C19.3624 15.9618 19.5577 12.7845 19.5577 12.6827ZM16.3998 3.88464C17.923 2.14861 17.7835 0.56796 17.7388 0C16.3943 0.0750136 14.8377 0.878731 13.9506 1.86998C12.9742 2.93089 12.3996 4.24363 12.5223 5.72247C13.9785 5.82963 15.3063 5.11164 16.3998 3.88464Z"});var pn=()=>(0,a.jsx)("path",{d:"M9.08779 2.54047C8.53694 3.1923 7.65559 3.70642 6.77424 3.63298C6.66407 2.75163 7.09557 1.81519 7.60051 1.23681C8.15135 0.566612 9.11533 0.0892132 9.89569 0.0524902C9.9875 0.970564 9.62945 1.87028 9.08779 2.54047ZM9.88651 3.80741C8.61039 3.73397 7.51788 4.53269 6.91195 4.53269C6.29684 4.53269 5.36959 3.84414 4.35971 3.8625C3.04686 3.88086 1.82582 4.6245 1.15563 5.80881C-0.221483 8.17744 0.79758 11.6845 2.12879 13.6124C2.78062 14.5672 3.56098 15.6138 4.58922 15.5771C5.56238 15.5404 5.94797 14.9437 7.12311 14.9437C8.30742 14.9437 8.64711 15.5771 9.67535 15.5588C10.7403 15.5404 11.4105 14.604 12.0623 13.6492C12.806 12.5658 13.109 11.5101 13.1273 11.455C13.109 11.4366 11.0708 10.6562 11.0525 8.30597C11.0341 6.3413 12.6591 5.40486 12.7325 5.34978C11.8145 3.99103 10.3823 3.84414 9.88651 3.80741ZM17.2586 1.145V15.4578H19.4804V10.5644H22.5559C25.3652 10.5644 27.3391 8.63648 27.3391 5.84554C27.3391 3.05459 25.402 1.145 22.6294 1.145H17.2586ZM19.4804 3.01787H22.0418C23.9698 3.01787 25.0715 4.04611 25.0715 5.85472C25.0715 7.66332 23.9698 8.70075 22.0326 8.70075H19.4804V3.01787ZM31.397 15.5679C32.7925 15.5679 34.0869 14.861 34.6745 13.741H34.7204V15.4578H36.7769V8.33352C36.7769 6.26785 35.1244 4.93664 32.5813 4.93664C30.2218 4.93664 28.4775 6.28621 28.4132 8.14072H30.4146C30.5799 7.25937 31.397 6.68098 32.517 6.68098C33.8758 6.68098 34.6378 7.31446 34.6378 8.48041V9.26995L31.8652 9.43521C29.2854 9.59128 27.8899 10.6471 27.8899 12.4832C27.8899 14.3377 29.3313 15.5679 31.397 15.5679ZM31.9937 13.8695C30.8094 13.8695 30.0566 13.3003 30.0566 12.4281C30.0566 11.5284 30.7819 11.0051 32.1682 10.9225L34.6378 10.7664V11.5743C34.6378 12.9147 33.4994 13.8695 31.9937 13.8695ZM39.5219 19.3504C41.6886 19.3504 42.7077 18.5241 43.5982 16.0178L47.5 5.07435H45.2415L42.625 13.5298H42.5791L39.9626 5.07435H37.6399L41.404 15.4945L41.202 16.128C40.8623 17.2021 40.3115 17.6152 39.3291 17.6152C39.1547 17.6152 38.8
215 17.5969 38.6773 17.5785V19.2953C38.8058 19.332 39.3567 19.3504 39.5219 19.3504Z",fill:"black"});var fn=()=>(0,a.jsx)("path",{d:"M289.55 445.45L267.35 467.65C257.95 477.05 242.75 477.05 233.45 467.65L39.05 273.35C29.65 263.95 29.65 248.75 39.05 239.45L233.45 45.05C242.85 35.65 258.05 35.65 267.35 45.05L289.55 67.25C299.05 76.75 298.85 92.25 289.15 101.55L168.65 216.35H456.05C469.35 216.35 480.05 227.05 480.05 240.35V272.35C480.05 285.65 469.35 296.35 456.05 296.35H168.65L289.15 411.15C298.95 420.45 299.15 435.95 289.55 445.45Z"});var hn=()=>(0,a.jsx)("path",{d:"M222.5 67.25L244.7 45.05C254.1 35.65 269.3 35.65 278.6 45.05L473 239.35C482.4 248.75 482.4 263.95 473 273.25L278.6 467.65C269.2 477.05 254 477.05 244.7 467.65L222.5 445.45C213 435.95 213.2 420.45 222.9 411.15L343.4 296.35L56 296.35C42.7 296.35 32 285.65 32 272.35L32 240.35C32 227.05 42.7 216.35 56 216.35L343.4 216.35L222.9 101.55C213.1 92.25 212.9 76.75 222.5 67.25Z"});var mn=()=>(0,a.jsx)("path",{d:"M220.716 231.493H43.258C37.388 231.493 32.628 226.734 32.628 220.863V43.405C32.628 37.535 37.388 32.775 43.258 32.775H85.777C91.647 32.775 96.407 37.535 96.407 43.405V112.598C136.953 67.569 195.848 39.392 261.324 39.868 382.595 40.749 479.63 138.745 479.372 260.02 479.114 381.13 380.859 479.225 259.692 479.225 202.921 479.225 151.183 457.689 112.195 422.343 107.678 418.25 107.47 411.222 111.781 406.911L141.869 376.825C145.833 372.861 152.2 372.645 156.398 376.359 183.89 400.686 220.048 415.446 259.692 415.446 345.853 415.446 415.594 345.718 415.594 259.545 415.594 173.383 345.868 103.641 259.692 103.641 207.875 103.641 162.004 128.865 133.663 167.714H220.716C226.587 167.714 231.346 172.474 231.346 178.344V220.863C231.346 226.734 226.587 231.493 220.716 231.493Z"});var gn=()=>(0,a.jsx)("path",{d:"M443.446 346.606C444.613 347.833 445.733 349.01 446.795 350.154 452.11 355.858 454.467 362.695 454.422 369.383 454.335 383.911 442.923 397.731 425.987 397.731H86.012C69.076 397.731 57.675 383.911 57.578 369.383 57.534 362.695 59.89 355.867 65.205 350.154 66.268 349.01 67.388 347.833 68.555 346.606 86.173 328.084 114.341 298.471 114.341 213.481 114.341 144.653 162.6 89.556 227.672 76.038V57.578C227.672 41.926 240.357 29.232 256.001 29.232 271.644 29.232 284.329 41.926 284.329 57.578V76.038C349.4 89.556 397.658 144.653 397.658 213.481 397.658 298.471 425.827 328.084 443.446 346.606ZM312.666 426.077C312.666 457.39 287.286 482.768 256.001 482.768 224.713 482.768 199.335 457.39 199.335 426.077H312.666Z"});var bn=()=>(0,a.jsx)("path",{d:"M454.422 128.443V160.332C454.422 166.179 449.639 170.962 443.792 170.962H68.207C62.361 170.962 57.578 166.179 57.578 160.332V128.443C57.578 104.969 76.623 85.924 100.097 85.924H142.616V39.862C142.616 34.015 147.399 29.232 153.245 29.232H188.678C194.524 29.232 199.308 34.015 199.308 39.862V85.924H312.692V39.862C312.692 34.015 317.475 29.232 323.321 29.232H358.753C364.601 29.232 369.383 34.015 369.383 39.862V85.924H411.903C435.376 85.924 454.422 104.969 454.422 128.443ZM443.792 199.308H68.207C62.361 199.308 57.578 204.092 57.578 209.938V440.249C57.578 463.724 76.623 482.768 100.097 482.768H411.903C435.376 482.768 454.422 463.724 454.422 440.249V209.938C454.422 204.092 449.639 199.308 443.792 199.308Z"});var yn=()=>(0,a.jsx)("path",{d:"M255.55 210.79C276.421 210.79 294.266 218.2 309.086 233.02C323.906 247.84 331.316 265.685 331.316 286.556C331.316 307.427 323.906 325.272 309.086 340.092C294.266 354.912 276.421 362.322 255.55 362.322C234.679 362.322 216.834 354.912 202.014 340.092C187.194 325.272 179.784 307.427 179.784 286.556C179.784 265.685 187.194 247.84 202.014 233.02C216.834 218.2 234.679 210.79 255.55 210.79ZM440.756 101.35C459.347 101.35 475.219 107.927 488.373 121.081C501.527 134.235 508.104 150.107 508.104 168.698V404.415C508.104 423.005 501.527 438.878 488.373 452.032C475.219 465.185 459.347 471.762 440.756 471.762H70.3438C51.7531 471.762 35.8808 465.185 22.7269 452.032C9.57306 438.878 2.99614 423.005 2.99614 404.415V168.698C2.99614 150.107 9.57306 134.235 22.7269 121.081C35.8808 107.927 51.7531 101.35 70.3438 101.35H129.273L142.69 65.5716C146.022 56.9778 152.117 49.5678 160.974 43.3416C169.831 37.1155 178.907 34.0024 188.202 34.0024H322.898C332.193 34.0024 341.269 37.1155 350.126 43.3416C358.983 49.5678 365.078 56.9778 368.41 65.5716L381.827 101.35H440.756ZM255.55 404.415C287.996 404.415 315.751 392.883 338.814 369.82C361.877 346.757 373.408 319.002 373.408 286.556C373.408 254.11 361.877 226.355 338.814 203.292C315.751 180.229 287.996 168.698 255.55 168.698C223.104 168.698 195.349 180.229 172.286 203.292C149.223 226.355 137.692 254.11 137.692 286.556C137.692 319.002 149.223 346.757 172.286 369.82C195.349 392.883 223.104 404.415 255.55 404.415Z"});var vn=()=>(0,a.jsx)("path",{d:"M85.924 369.385H468.596C476.426 369.385 482.768 375.727 482.768 383.558V411.904C482.768 419.733 476.426 426.076 468.596 426.076H57.578C41.926 426.076 29.232 413.382 29.232 397.73V100.097C29.232 92.267 35.574 85.924 43.405 85.924H71.751C79.582 85.924 85.924 92.267 85.924 100.097V369.385ZM409.068 312.693H443.084C448.754 312.693 454.422 307.023 454.422 301.355V97.263C454.422 91.593 448.754 85.924 443.084 85.924H409.068C403.399 85.924 397.731 91.593 397.731 97.263V301.355C397.731 307.023 403.399 312.693 409.068 312.693ZM324.031 312.693H358.045C363.715 312.693 369.383 307.023 369.383 301.355V182.301C369.383 176.631 363.715 170.962 358.045 170.962H324.031C318.361 170.962 312.692 176.631 312.692 182.301V301.355C312.692 307.023 318.361 312.693 324.031 312.693ZM187.97 312.693H153.955C148.285 312.693 142.616 307.023 142.616 301.355V238.993C142.616 233.323 148.285 227.654 153.955 227.654H187.97C193.639 227.654 199.308 233.323 199.308 238.993V301.355C199.308 307.023 193.639 312.693 187.97 312.693ZM238.992 312.693H273.008C278.676 312.693 284.347 307.023 284.347 301.355V125.609C284.347 119.939 278.676 114.27 273.008 114.27H238.992C233.324 114.27 227.653 119.939 227.653 125.609V301.355C227.653 307.023 233.324 312.693 238.992 312.693Z"});var wn=()=>(0,a.jsx)("path",{d:"M 205.0388 415.5596 L 57.6418 268.1627 C 48.7864 259.3073 48.7864 244.9496 57.6418 236.0932 L 89.7104 204.0237 C 98.5658 195.1675 112.9246 195.1675 121.7799 204.0237 L 221.0735 303.316 L 433.7503 90.6415 C 442.6056 81.7862 456.9627 81.7862 465.8181 90.6415 L 497.888 122.7111 C 506.7433 131.5664 506.7433 145.9242 497.888 154.7805 L 237.1082 415.5596 C 228.2521 424.4149 213.8941 424.4149 205.0388 415.5596 Z"});var _n=()=>(0,a.jsx)("path",{d:"M256 416C247.812 416 239.62 412.875 233.38 406.625L41.38 214.625C28.88 202.125 28.88 181.875 41.38 169.375C53.88 156.875 74.13 156.875 86.63 169.375L256 338.8L425.4 169.4C437.9 156.9 458.15 156.9 470.65 169.4C483.15 181.9 483.15 202.15 470.65 214.65L278.65 406.65C272.4 412.9 264.2 416 256 416Z"});var xn=()=>(0,a.jsx)("path",{d:"M96 256C96 247.812 99.125 239.62 105.375 233.38L297.375 41.38C309.875 28.88 330.125 28.88 342.625 41.38C355.125 53.88 355.125 74.13 342.625 86.63L1
273.2 256L342.6 425.4C355.1 437.9 355.1 458.15 342.6 470.65C330.1 483.15 309.85 483.15 297.35 470.65L105.35 278.65C99.1 272.4 96 264.2 96 256Z"});var jn=()=>(0,a.jsx)("path",{d:"M416 256C416 264.188 412.875 272.38 406.625 278.62L214.625 470.62C202.125 483.12 181.875 483.12 169.375 470.62C156.875 458.12 156.875 437.87 169.375 425.37L338.8 256L169.4 86.6C156.9 74.1 156.9 53.85 169.4 41.35C181.9 28.85 202.15 28.85 214.65 41.35L406.65 233.35C412.9 239.6 416 247.8 416 256Z"});var On=()=>(0,a.jsx)("path",{d:"M256 96C264.188 96 272.38 99.125 278.62 105.375L470.62 297.375C483.12 309.875 483.12 330.125 470.62 342.625C458.12 355.125 437.87 355.125 425.37 342.625L256 173.2L86.6 342.6C74.1 355.1 53.85 355.1 41.35 342.6C28.85 330.1 28.85 309.85 41.35 297.35L233.35 105.35C239.6 99.1 247.8 96 256 96Z"});var Sn=()=>(0,a.jsx)("path",{d:"M406.6 361.4C419.1 373.9 419.1 394.15 406.6 406.65C400.4 412.9 392.2 416 384 416C375.8 416 367.62 412.875 361.38 406.625L256 301.3L150.63 406.6C144.38 412.9 136.19 416 128 416C119.81 416 111.63 412.9 105.375 406.6C92.875 394.1 92.875 373.85 105.375 361.35L210.775 255.95L105.375 150.6C92.875 138.1 92.875 117.85 105.375 105.35C117.875 92.85 138.125 92.85 150.625 105.35L256 210.8L361.4 105.4C373.9 92.9 394.15 92.9 406.65 105.4C419.15 117.9 419.15 138.15 406.65 150.65L301.25 256.05L406.6 361.4Z"});var kn=()=>(0,a.jsx)("path",{d:"M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM218.1 287.7c2.8-2.5 7.1-2.1 9.2.9l19.5 27.7c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.8-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7l-17.5 30.5c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2.1 48 51.1 70.5 92.3 32.6zm190.4 0c2.8-2.5 7.1-2.1 9.2.9l19.5 27.7c1.7 2.4 1.5 5.6-.5 7.7-53.5 56.9-172.7 32.1-172.7-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7L420 222.2c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6z"});var Cn=()=>(0,a.jsx)("path",{d:"M423.153 287.003 460.889 308.795C465.229 311.274 467.178 316.413 465.849 321.284 456.017 352.908 439.274 381.431 417.395 405.083 414.029 408.801 408.625 409.599 404.286 407.12L366.549 385.328C350.605 398.881 332.356 409.422 312.691 416.42V460.001C312.691 464.964 309.237 469.303 304.365 470.367 273.45 477.275 240.145 477.629 207.635 470.367 202.762 469.303 199.308 464.964 199.308 460.001V416.42C179.554 409.512 161.306 398.969 145.45 385.328L107.715 407.12C103.463 409.599 97.971 408.714 94.605 405.083 72.725 381.341 55.983 352.818 46.151 321.284 44.733 316.501 46.682 311.364 51.023 308.882L88.758 287.093C84.949 266.54 84.949 245.458 88.758 224.908L51.023 203.116C46.682 200.636 44.645 195.499 46.151 190.715 55.983 159.092 72.725 130.568 94.605 106.917 97.971 103.197 103.374 102.4 107.715 104.88L145.362 126.671C161.306 113.118 179.554 102.577 199.219 95.579V51.997C199.219 47.036 202.674 42.696 207.546 41.633 238.462 34.724 271.767 34.369 304.277 41.633 309.15 42.696 312.604 47.036 312.604 51.997V95.49C332.356 102.4 350.605 112.941 366.462 126.582L404.196 104.791C408.448 102.311 413.941 103.197 417.305 106.829 439.187 130.568 455.927 159.092 465.76 190.627 467.178 195.41 465.229 200.548 460.889 203.028L423.153 224.818C426.961 245.369 426.961 266.453 423.153 287.003ZM185.046 255.912C185.046 294.975 216.847 326.777 255.912 326.777 294.976 326.777 326.777 294.975 326.777 255.912 326.777 216.846 294.976 185.046 255.912 185.046 216.847 185.046 185.046 216.846 185.046 255.912Z"});var Pn=()=>(0,a.jsx)("path",{d:"M185.135 57.578C286.914 57.578 369.385 121.002 369.385 199.308 369.385 277.614 286.914 341.038 185.135 341.038 148.816 341.038 115.067 332.799 86.543 318.892 67.233 330.143 40.393 341.038 7.972 341.038 5.137 341.038 2.657 339.444 1.505 336.786.354 334.128.885 331.116 2.834 329.078 3.1 328.814 22.676 307.553 34.546 280.803 13.375 257.682.885 229.691.885 199.308.885 121.002 83.354 57.578 185.135 57.578ZM511.115 312.692C511.115 343.075 498.624 371.156 477.453 394.186 489.323 421.027 508.898 442.198 509.165 442.463 511.115 444.59 511.646 447.602 510.494 450.171 509.431 452.739 506.861 454.422 504.028 454.422 471.607 454.422 444.766 443.527 425.455 432.276 396.932 446.273 363.183 454.422 326.865 454.422 250.507 454.422 184.957 418.636 157.054 367.7 166.267 368.675 175.568 369.383 185.135 369.383 302.327 369.383 397.73 293.115 397.73 199.308 397.73 193.284 397.376 187.349 396.578 181.503 463.723 202.674 511.115 253.43 511.115 312.692Z"});var Tn=()=>(0,a.jsx)("path",{d:"M64 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H64zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM464 32H344l-9.4-18.7A24 24 0 0 0 313.1 0H198.8a23.72 23.72 0 0 0-21.4 13.3L168 32H48A16 16 0 0 0 32 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"});var En=()=>(0,a.jsx)("g",{id:"319",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,a.jsx)("g",{id:"New-Icons",transform:"translate(-320.000000, -280.000000)",fillRule:"nonzero",children:(0,a.jsx)("g",{id:"Card-Brands",transform:"translate(40.000000, 200.000000)",children:(0,a.jsx)("g",{id:"Color",transform:"translate(0.000000, 80.000000)",children:(0,a.jsxs)("g",{id:"Diners-Club",transform:"translate(280.000000, 0.000000)",children:[(0,a.jsx)("path",{d:"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.74
261702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z",id:"shape",strokeOpacity:"0.2",stroke:"#000000",strokeWidth:"0.5",fill:"#FFFFFF"}),(0,a.jsx)("path",{d:"M10.0021142,2.05179033 L10.0021142,2.03579033 L14.0021142,2.03579033 L14.0021142,2.05179033 C17.1375481,2.28122918 19.5642283,4.89197286 19.5642283,8.03579033 C19.5642283,11.1796078 17.1375481,13.7903515 14.0021142,14.0197903 L14.0021142,14.0357903 L10.0021142,14.0357903 L10.0021142,14.0197903 C6.86668021,13.7903515 4.44,11.1796078 4.44,8.03579033 C4.44,4.89197286 6.86668021,2.28122918 10.0021142,2.05179033 Z",id:"shape",fill:"#0165AC"}),(0,a.jsx)("path",{d:"M11.6021142,11.4277903 C13.0374002,10.9175027 13.9961556,9.55908923 13.9961556,8.03579033 C13.9961556,6.51249143 13.0374002,5.15407792 11.6021142,4.64379033 L11.6021142,11.4277903 L11.6021142,11.4277903 Z M9.20211417,4.64379033 C7.76682809,5.15407792 6.80807271,6.51249143 6.80807271,8.03579033 C6.80807271,9.55908923 7.76682809,10.9175027 9.20211417,11.4277903 L9.20211417,4.64379033 L9.20211417,4.64379033 Z M10.4021142,13.2357903 C7.53023347,13.2357903 5.20211417,10.907671 5.20211417,8.03579033 C5.20211417,5.16390963 7.53023347,2.83579033 10.4021142,2.83579033 C13.2739949,2.83579033 15.6021142,5.16390963 15.6021142,8.03579033 C15.6021142,10.907671 13.2739949,13.2357903 10.4021142,13.2357903 Z",id:"shape",fill:"#FFFFFF"})]})})})})});var Nn=()=>(0,a.jsx)("g",{id:"319",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,a.jsx)("g",{id:"New-Icons",transform:"translate(-280.000000, -280.000000)",fillRule:"nonzero",children:(0,a.jsx)("g",{id:"Card-Brands",transform:"translate(40.000000, 200.000000)",children:(0,a.jsx)("g",{id:"Color",transform:"translate(0.000000, 80.000000)",children:(0,a.jsxs)("g",{id:"Discover",transform:"translate(240.000000, 0.000000)",children:[(0,a.jsx)("path",{d:"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z",id:"shape",strokeOpacity:"0.2",stroke:"#000000",strokeWidth:"0.5",fill:"#FFFFFF"}),(0,a.jsx)("path",{d:"M12.6124138,15.9999283 L21.9972414,15.9999283 C22.5240217,16.0043364 23.0309756,15.7992919 23.4065697,15.4299059 C23.7821638,15.06052 23.9956285,14.5570537 24,14.0302731 L24,11.6716524 C20.4561668,13.7059622 16.6127929,15.1667795 12.6124138,15.9999283 L12.6124138,15.9999283 Z",id:"shape",fill:"#F27712"}),(0,a.jsx)("path",{d:"M23.1724138,9.29647999 L22.32,9.29647999 L21.36,8.03027309 L21.2689655,8.03027309 L21.2689655,9.29647999 L20.5737931,9.29647999 L20.5737931,6.1516524 L21.6,6.1516524 C22.4027586,6.1516524 22.8662069,6.48268688 22.8662069,7.07854895 C22.8662069,7.56682481 22.5765517,7.88130757 22.0551724,7.98061792 L23.1724138,9.29647999 Z M22.1462069,7.10337654 C22.1462069,6.79716964 21.9144828,6.63992826 21.4841379,6.63992826 L21.2689655,6.63992826 L21.2689655,7.5916524 L21.4675862,7.5916524 C21.9144828,7.5916524 22.1462069,7.42613516 22.1462069,7.10337654 L22.1462069,7.10337654 Z M18.1406897,6.1516524 L20.1103448,6.1516524 L20.1103448,6.68130757 L18.8358621,6.68130757 L18.8358621,7.38475585 L20.0606897,7.38475585 L20.0606897,7.92268688 L18.8358621,7.92268688 L18.8358621,8.77510068 L20.1103448,8.77510068 L20.1103448,9.30475585 L18.1406897,9.30475585 L18.1406897,6.1516524 Z M15.9062069,9.37923861 L14.4,6.14337654 L15.1613793,6.14337654 L16.1131034,8.26199723 L17.0731034,6.14337654 L17.817931,6.14337654 L16.2951724,9.37923861 L15.9227586,9.37923861 L15.9062069,9.37923861 Z M9.60827586,9.37096274 C8.54896552,9.37096274 7.72137931,8.65096274 7.72137931,7.71579033 C7.72137931,6.805445
25 8.56551724,6.06889378 9.62482759,6.06889378 C9.92275862,6.06889378 10.1710345,6.12682481 10.4772414,6.25923861 L10.4772414,6.98751447 C10.2453534,6.75969251 9.93335245,6.63192067 9.60827586,6.6316524 C8.9462069,6.6316524 8.44137931,7.1116524 8.44137931,7.71579033 C8.44137931,8.35303171 8.93793103,8.80820412 9.64137931,8.80820412 C9.95586207,8.80820412 10.1958621,8.70889378 10.4772414,8.46061792 L10.4772414,9.18889378 C10.1627586,9.32130757 9.89793103,9.37096274 9.60827586,9.37096274 L9.60827586,9.37096274 Z M7.5062069,8.33647999 C7.5062069,8.94889378 7.00137931,9.37096274 6.27310345,9.37096274 C5.74344828,9.37096274 5.36275862,9.18889378 5.04,8.77510068 L5.49517241,8.38613516 C5.65241379,8.66751447 5.91724138,8.80820412 6.24827586,8.80820412 C6.56275862,8.80820412 6.7862069,8.6178593 6.7862069,8.36958343 C6.7862069,8.22889378 6.72,8.12130757 6.57931034,8.03854895 C6.42504922,7.96369158 6.26441119,7.90275992 6.09931034,7.85647999 C5.44551724,7.64958343 5.22206897,7.42613516 5.22206897,6.98751447 C5.22206897,6.47441102 5.70206897,6.0854455 6.33103448,6.0854455 C6.72827586,6.0854455 7.08413793,6.20958343 7.38206897,6.44130757 L7.01793103,6.85510068 C6.87360928,6.69688076 6.66932728,6.60675635 6.45517241,6.60682481 C6.15724138,6.60682481 5.94206897,6.75579033 5.94206897,6.95441102 C5.94206897,7.11992826 6.0662069,7.21096274 6.48,7.3516524 C7.27448276,7.59992826 7.5062069,7.8316524 7.5062069,8.34475585 L7.5062069,8.33647999 Z M4.08827586,6.1516524 L4.78344828,6.1516524 L4.78344828,9.30475585 L4.08827586,9.30475585 L4.08827586,6.1516524 Z M1.8537931,9.30475585 L0.827586207,9.30475585 L0.827586207,6.1516524 L1.8537931,6.1516524 C2.97931034,6.1516524 3.75724138,6.79716964 3.75724138,7.72406619 C3.75724138,8.19579033 3.52551724,8.64268688 3.12,8.94061792 C2.77241379,9.18889378 2.38344828,9.30475585 1.84551724,9.30475585 L1.8537931,9.30475585 Z M2.66482759,6.9378593 C2.43310345,6.75579033 2.16827586,6.68958343 1.71310345,6.68958343 L1.52275862,6.68958343 L1.52275862,8.77510068 L1.71310345,8.77510068 C2.16,8.77510068 2.44137931,8.69234206 2.66482759,8.52682481 C2.90482759,8.32820412 3.04551724,8.03027309 3.04551724,7.72406619 C3.04551724,7.4178593 2.90482759,7.12820412 2.66482759,6.9378593 Z",id:"shape",fill:"#000000"}),(0,a.jsx)("path",{d:"M12.4137931,6.06889378 C11.5034483,6.06889378 10.7586207,6.79716964 10.7586207,7.69923861 C10.7586207,8.65923861 11.4703448,9.37923861 12.4137931,9.37923861 C13.3406897,9.37923861 14.0689655,8.65096274 14.0689655,7.72406619 C14.0689655,6.79716964 13.3489655,6.06889378 12.4137931,6.06889378 Z",id:"shape",fill:"#F27712"})]})})})})});var An=()=>(0,a.jsx)("path",{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"});var In=()=>(0,a.jsx)("path",{d:"M506.065 77.552 462.837 34.325C449.374 20.86 427.494 20.86 413.941 34.325L382.583 65.683C379.217 69.049 379.217 74.541 382.583 77.907L462.483 157.807C465.85 161.173 471.341 161.173 474.707 157.807L506.065 126.449C519.529 112.896 519.529 91.017 506.065 77.552ZM362.564 97.838 442.464 177.738C445.83 181.104 445.83 186.596 442.464 189.962L249.003 383.424 166.799 392.549C155.815 393.788 146.513 384.487 147.754 373.502L156.877 291.299 350.338 97.838C353.705 94.471 359.198 94.471 362.564 97.838ZM346.086 420.982V330.806C346.086 327.973 347.238 325.315 349.188 323.277L384.621 287.845C391.351 281.201 402.78 285.895 402.78 295.373V435.156C402.78 458.629 383.733 477.675 360.26 477.675H48.454C24.98 477.675 5.935 458.629 5.935 435.156V123.349C5.935 99.875 24.98 80.83 48.454 80.83H301.619C311.098 80.83 315.881 92.257 309.148 98.989L273.715 134.422C271.678 136.371 269.022 137.522 266.187 137.522H62.627V420.982H346.086Z"});var Ln=()=>(0,a.jsx)("path",{d:"M36.318 256C36.318 220.745 64.841 192.222 100.096 192.222 135.352 192.222 163.875 220.745 163.875 256 163.875 291.255 135.352 319.778 100.096 319.778 64.841 319.778 36.318 291.255 36.318 256ZM319.778 256C319.778 291.255 291.255 319.778 256 319.778 220.745 319.778 192.221 291.255 192.221 256 192.221 220.745 220.745 192.222 256 192.222 291.255 192.222 319.778 220.745 319.778 256ZM411.902 192.222C376.646 192.222 348.124 220.745 348.124 256 348.124 291.255 376.646 319.778 411.902 319.778 447.157 319.778 475.682 291.255 475.682 256 475.682 220.745 447.157 192.222 411.902 192.222Z"});var Dn=()=>(0,a.jsx)("path",{d:"M192.222 100.096C192.222 135.352 220.745 163.875 256 163.875 291.255 163.875 319.778 135.352 319.778 100.096 319.778 64.841 291.255 36.318 256 36.318 220.745 36.318 192.222 64.841 192.222 100.096ZM256 192.221C291.255 192.221 319.778 220.745 319.778 256 319.778 291.255 291.255 319.778 256 319.778 220.745 319.778 192.222 291.255 192.222 256 192.222 220.745 220.745 192.221 256 192.221ZM256 475.682C220.745 475.682 192.222 447.157 192.222 411.902 192.222 376.646 220.745 348.124 256 348.124 291.255 348.124 319.778 376.646 319.778 411.902 319.778 447.157 291.255 475.682 256 475.682Z"});var Rn=()=>(0,a.jsx)("path",{d:"M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.
26-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"});var Mn=()=>(0,a.jsx)("path",{d:"M440.249 482.767C463.732 482.767 482.768 463.731 482.768 440.247V207.035C482.768 193.971 476.763 181.632 466.48 173.572 444.428 156.284 426.164 142.236 321.029 65.935 318.527 64.111 315.611 61.854 312.391 59.364 296.449 47.033 273.098 28.973 256.001 29.233 238.9 28.975 215.557 47.03 199.613 59.362 196.393 61.853 193.474 64.11 190.97 65.936 85.825 142.245 67.588 156.273 45.519 173.572 35.238 181.632 29.232 193.971 29.232 207.035V440.247C29.232 463.731 48.268 482.767 71.751 482.767H440.249ZM414.557 264.403C417.78 262.022 422.331 262.79 424.601 266.092L432.635 277.781C434.8 280.93 434.081 285.226 431.007 287.496 410.734 302.466 381.885 323.539 337.727 355.588 334.994 357.58 331.935 359.946 328.601 362.526 309.996 376.908 282.834 397.909 256.001 397.728 229.155 397.909 201.987 376.898 183.396 362.521 180.061 359.944 177.003 357.578 174.272 355.588 130.115 323.541 101.266 302.466 80.993 287.496 77.919 285.226 77.199 280.93 79.364 277.781L87.4 266.092C89.67 262.79 94.221 262.022 97.444 264.403 117.683 279.351 146.578 300.465 190.97 332.68 193.48 334.511 196.403 336.772 199.626 339.264 215.578 351.601 238.896 369.634 256.001 369.38 273.1 369.638 296.443 351.586 312.387 339.255 315.609 336.763 318.527 334.506 321.029 332.68 365.428 300.46 394.32 279.349 414.557 264.403Z"});var $n=()=>(0,a.jsx)("path",{d:"M348.125 29.232H461.509C473.249 29.232 482.768 38.75 482.768 50.492V163.876C482.768 182.921 459.737 192.222 446.45 178.934L414.809 147.329 199.016 363.184C195.027 367.186 189.608 369.437 183.957 369.437 178.306 369.437 172.887 367.186 168.898 363.184L148.817 343.137C144.814 339.148 142.564 333.729 142.564 328.078 142.564 322.427 144.814 317.008 148.817 313.021L364.716 97.2 333.066 65.55C319.734 52.183 329.196 29.232 348.125 29.232ZM383.557 312.692H411.903C419.73 312.692 426.077 319.037 426.077 326.866V440.249C426.077 463.732 407.039 482.768 383.557 482.768H71.751C48.268 482.768 29.232 463.732 29.232 440.249V128.443C29.232 104.96 48.268 85.924 71.751 85.924H213.481C221.309 85.924 227.653 92.269 227.653 100.097V128.443C227.653 136.271 221.309 142.616 213.481 142.616H85.924V426.077H369.383V326.866C369.383 319.037 375.73 312.692 383.557 312.692Z"});var Fn=()=>(0,a.jsx)("path",{d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"});var Vn=()=>(0,a.jsx)("path",{d:"M432 32H80A48 48 0 0 0 32 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H432a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"});var zn=()=>(0,a.jsx)("path",{d:"M237.781 373.333H96C84.218 373.333 74.667 363.782 74.667 352 74.667 340.217 84.218 330.666 96 330.666H237.781C247.219 299.027 276.316 277.339 309.333 277.339 342.351 277.339 371.447 299.027 380.885 330.666H416C427.782 330.666 437.333 340.217 437.333 352 437.333 363.782 427.782 373.333 416 373.333H380.885C371.447 404.972 342.351 426.66 309.333 426.66 276.316 426.66 247.219 404.972 237.781 373.333ZM341.333 352C341.333 334.327 327.006 320 309.333 320 291.661 320 277.333 334.327 277.333 352 277.333 369.672 291.661 384 309.333 384 327.006 384 341.333 369.672 341.333 352ZM120.448 181.333H96C84.218 181.333 74.667 171.782 74.667 160 74.667 148.218 84.218 138.666 96 138.666H120.448C129.885 107.026 158.982 85.34 192 85.34 225.018 85.34 254.114 107.026 263.552 138.666H416C427.782 138.666 437.333 148.218 437.333 160 437.333 171.782 427.782 181.333 416 181.333H263.552C254.114 212.973 225.018 234.66 192 234.66 158.982 234.66 129.885 212.973 120.448 181.333ZM224 160C224 142.327 209.673 128 192 128 174.327 128 160 142.327 160 160 160 177.673 174.327 192 192 192 209.673 192 224 177.673 224 160Z"});var Bn=()=>(0,a.jsx)("path",{d:"M291.285 231.493H468.742C474.613 231.493 479.372 226.734 479.372 220.863V43.405C479.372 37.535 474.613 32.775 468.742 32.775H426.223C420.354 32.775 415.594 37.535 415.594 43.405V112.598C375.046 67.569 316.151 39.392 250.677 39.868 129.404 40.749 32.37 138.745 32.628 260.02 32.886 381.13 131.141 479.225 252.309 479.225 309.079 479.225 360.817 457.689 399.806 422.343 404.322 418.25 404.531 411.222 400.219 406.911L370.131 376.825C366.167 372.861 359.801 372.645 355.603 376.359 328.111 400.686 291.951 415.446 252.309 415.446 166.148 415.446 96.406 345.718 96.406 259.545 96.406 173.383 166.133 103.641 252.309 103.641 304.126 103.641 349.996 128.865 378.338 167.714H291.285C285.414 167.714 280.655 172.474 280.655 178.344V220.863C280.655 226.734 285.414 231.493 291.285 231.493Z"});var Hn=()=>(0,a.jsx)("path",{d:"M480 344V456C480.008 459.154 479.393 462.278 478.189 465.194C476.986 468.109 475.218 470.758 472.988 472.988C470.758 475.218 468.109 476.986 465.194 478.189C462.278 479.393 459.154 480.008 456 480H344C322.61 480 311.91 454.1 327 439L363.2 402.8L256 295.6L148.77 402.9L185 439C200.09 454.1 189.39 480 168 480H56.0001C52.8461 480.008 49.7217 479.393 46.8063 478.189C43.8909 476.986 41.242 475.218 39.0119 472.988C36.7817 470.758 35.0142 468.109 33.8108 465.194C32.6075 462.278 31.9922 459.154 32.0001 456V344C32.0001 322.6 57.8901 311.9 73.0001 327L109.19 363.2L216.46 256L109.18 148.7L73.0001 185C57.9001 200.1 32.0001 189.4 32.0001 168V56.0001C31.9922 52.8461 32.6075 49.7217 33.8108 46.8063C35.0142 43.8909 36.7817 41.242 39.0119 39.0119C41.242 36.7817 43.8909 35.0142 46.8063 33.8108C49.7217 32.6075 52.8461 31.9922 56.0001 32.0001H168C189.39 32.0001 200.09 57.9001 185 73.0001L148.8 109.2L256 216.4L363.23 109.1L327 73.0001C311.91 57.9001 322.61 32.0001 344 32.0001H456C459.154 31.9922 462.278 32.6075 465.194 33.8108C468.109 35.0142 470.758 36.7817 472.988 39.0119C475.218 41.242 476.986 43.8909 478.189 46.8063C479.393 49.7217 480.008 52.8461 480 56.0001V168C480 189.4 454.11 200.1 439 185L402.81 148.8L295.54 256L402.82 363.3L439 327.1C454.1 311.9 480 322.6 480 344Z"});var Un=()=>(0,a.jsx)("path",{d:"M32 448c0 17.7 14.3 32 32 32h160V320H32v128zm256 32h160c17.7 0 32-14.3 32-32V320H288v160zm192-320h-42.1c6.2-12.1 10.1-25.5 10.1-40 0-48.5-39.5-88-88-88-41.6 0-68.5 21.3-103 68.3-34.5-47-61.4-68.3-103-68.3-48.5 0-88 39.5-88 88 0 14.5 3.8 27.9 10.1 40H32c-17.7 0-32 14.3-32 32v80c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16v-80c0-17.7-14.3-32-32-32zm-326.1 0c-22.1 0-40-17.9-40-40s17.9-40 40-40c19.9 0 34.6 3.3 86.1 80h-86.1zm206.1 0h-86.1c51.4-76.5 65.7-80 86.1-80 22.1 0 40 17.9 40 40s-17.9 40-40 40z"});var qn=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("mask",{id:"mask0_16694_
2137339",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"117",width:"165",height:"278",children:(0,a.jsx)("path",{d:"M21.3334 117.334H185.355V394.885H21.3334V117.334Z",fill:"white"})}),(0,a.jsxs)("g",{mask:"url(#mask0_16694_137339)",children:[(0,a.jsx)("mask",{id:"mask1_16694_137339",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"21",width:"470",height:"470",children:(0,a.jsx)("path",{d:"M485.21 213.437H261.458V304.071H390.252C378.245 361.65 328.038 394.705 261.458 394.705C182.872 394.705 119.566 332.86 119.566 256.087C119.566 179.316 182.872 117.471 261.458 117.471C295.294 117.471 325.855 129.201 349.867 148.394L419.721 80.1525C377.154 43.8987 322.581 21.5071 261.458 21.5071C128.298 21.5071 21.3334 126.002 21.3334 256.087C21.3334 386.174 128.298 490.669 261.458 490.669C381.519 490.669 490.667 405.367 490.667 256.087C490.667 242.226 488.484 227.298 485.21 213.437Z",fill:"white"})}),(0,a.jsx)("g",{mask:"url(#mask1_16694_137339)",children:(0,a.jsx)("path",{d:"M-0.494751 394.704V117.47L185.055 256.087L-0.494751 394.704Z"})})]}),(0,a.jsx)("mask",{id:"mask2_16694_137339",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"21",width:"470",height:"236",children:(0,a.jsx)("path",{d:"M21.3334 21.3333H490.667V256.109H21.3334V21.3333Z",fill:"white"})}),(0,a.jsxs)("g",{mask:"url(#mask2_16694_137339)",children:[(0,a.jsx)("mask",{id:"mask3_16694_137339",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"21",width:"470",height:"470",children:(0,a.jsx)("path",{d:"M485.21 213.435H261.458V304.069H390.252C378.245 361.648 328.038 394.703 261.458 394.703C182.872 394.703 119.566 332.859 119.566 256.086C119.566 179.314 182.872 117.47 261.458 117.47C295.294 117.47 325.855 129.199 349.867 148.392L419.721 80.1508C377.154 43.897 322.581 21.5054 261.458 21.5054C128.298 21.5054 21.3334 126 21.3334 256.086C21.3334 386.172 128.298 490.667 261.458 490.667C381.519 490.667 490.667 405.365 490.667 256.086C490.667 242.225 488.484 227.296 485.21 213.435Z",fill:"white"})}),(0,a.jsx)("g",{mask:"url(#mask3_16694_137339)",children:(0,a.jsx)("path",{d:"M-0.494751 117.469L185.055 256.085L261.458 191.043L523.412 149.458V0.178467H-0.494751V117.469Z"})})]}),(0,a.jsx)("mask",{id:"mask4_16694_137339",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"21",width:"470",height:"470",children:(0,a.jsx)("path",{d:"M21.3334 21.3333H490.667V490.666H21.3334V21.3333Z",fill:"white"})}),(0,a.jsxs)("g",{mask:"url(#mask4_16694_137339)",children:[(0,a.jsx)("mask",{id:"mask5_16694_137339",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"21",width:"470",height:"470",children:(0,a.jsx)("path",{d:"M485.21 213.435H261.458V304.069H390.252C378.245 361.648 328.038 394.703 261.458 394.703C182.872 394.703 119.566 332.859 119.566 256.086C119.566 179.314 182.872 117.47 261.458 117.47C295.294 117.47 325.855 129.199 349.867 148.392L419.721 80.1508C377.154 43.897 322.581 21.5054 261.458 21.5054C128.298 21.5054 21.3334 126 21.3334 256.086C21.3334 386.172 128.298 490.667 261.458 490.667C381.519 490.667 490.667 405.365 490.667 256.086C490.667 242.225 488.484 227.296 485.21 213.435Z",fill:"white"})}),(0,a.jsx)("g",{mask:"url(#mask5_16694_137339)",children:(0,a.jsx)("path",{d:"M-0.494751 394.703L326.947 149.458L413.173 160.121L523.412 0.178467V511.993H-0.494751V394.703Z"})})]}),(0,a.jsx)("mask",{id:"mask6_16694_137339",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"141",y:"117",width:"350",height:"374",children:(0,a.jsx)("path",{d:"M141.238 11
27.334H490.666V490.667H141.238V117.334Z",fill:"white"})}),(0,a.jsxs)("g",{mask:"url(#mask6_16694_137339)",children:[(0,a.jsx)("mask",{id:"mask7_16694_137339",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"21",width:"470",height:"470",children:(0,a.jsx)("path",{d:"M485.21 213.437H261.458V304.071H390.252C378.245 361.65 328.038 394.705 261.458 394.705C182.872 394.705 119.566 332.86 119.566 256.087C119.566 179.316 182.872 117.471 261.458 117.471C295.294 117.471 325.855 129.201 349.867 148.394L419.721 80.1525C377.154 43.8987 322.581 21.5071 261.458 21.5071C128.298 21.5071 21.3333 126.002 21.3333 256.087C21.3333 386.174 128.298 490.669 261.458 490.669C381.519 490.669 490.667 405.367 490.667 256.087C490.667 242.226 488.484 227.298 485.21 213.437Z",fill:"white"})}),(0,a.jsx)("g",{mask:"url(#mask7_16694_137339)",children:(0,a.jsx)("path",{d:"M523.41 511.995L185.054 256.087L141.395 224.099L523.41 117.47V511.995Z"})})]})]});var Zn=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("mask",{id:"mask0_16694_137340",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"117",width:"165",height:"278",children:(0,a.jsx)("path",{d:"M21.3334 117.333H185.355V394.884H21.3334V117.333Z",fill:"white"})}),(0,a.jsxs)("g",{mask:"url(#mask0_16694_137340)",children:[(0,a.jsx)("mask",{id:"mask1_16694_137340",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"21",width:"470",height:"470",children:(0,a.jsx)("path",{d:"M485.21 213.435H261.458V304.069H390.253C378.246 361.648 328.039 394.703 261.458 394.703C182.873 394.703 119.567 332.858 119.567 256.085C119.567 179.314 182.873 117.469 261.458 117.469C295.294 117.469 325.856 129.199 349.867 148.392L419.722 80.1505C377.154 43.8967 322.581 21.5051 261.458 21.5051C128.298 21.5051 21.334 126 21.334 256.085C21.334 386.172 128.298 490.667 261.458 490.667C381.52 490.667 490.667 405.365 490.667 256.085C490.667 242.224 488.484 227.296 485.21 213.435Z",fill:"white"})}),(0,a.jsx)("g",{mask:"url(#mask1_16694_137340)",children:(0,a.jsx)("path",{d:"M-0.494751 394.702V117.469L185.055 256.085L-0.494751 394.702Z",fill:"#FBBC05"})})]}),(0,a.jsx)("mask",{id:"mask2_16694_137340",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"21",width:"470",height:"236",children:(0,a.jsx)("path",{d:"M21.3334 21.3333H490.667V256.109H21.3334V21.3333Z",fill:"white"})}),(0,a.jsxs)("g",{mask:"url(#mask2_16694_137340)",children:[(0,a.jsx)("mask",{id:"mask3_16694_137340",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"21",width:"470",height:"470",children:(0,a.jsx)("path",{d:"M485.21 213.435H261.458V304.069H390.253C378.246 361.648 328.039 394.703 261.458 394.703C182.873 394.703 119.567 332.858 119.567 256.085C119.567 179.314 182.873 117.469 261.458 117.469C295.294 117.469 325.856 129.199 349.867 148.392L419.722 80.1505C377.154 43.8967 322.581 21.5051 261.458 21.5051C128.298 21.5051 21.334 126 21.334 256.085C21.334 386.172 128.298 490.667 261.458 490.667C381.52 490.667 490.667 405.365 490.667 256.085C490.667 242.224 488.484 227.296 485.21 213.435Z",fill:"white"})}),(0,a.jsx)("g",{mask:"url(#mask3_16694_137340)",children:(0,a.jsx)("path",{d:"M-0.494751 117.468L185.055 256.084L261.458 191.042L523.412 149.456V0.177002H-0.494751V117.468Z",fill:"#EA4335"})})]}),(0,a.jsx)("mask",{id:"mask4_16694_137340",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"21",width:"470",height:"470",children:(0,a.jsx)("path",{d:"M21.3334 21.3333H490.667V490.666H21.3334V21.3333Z",fill:"white"})}),(0,a.jsxs)("g",{mask:"url(#mask4_16694_137340)",children:[(0,a.jsx)("mask",{id:"mask5_16694_137340",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"21",width:"470",height:"470",children:(0,a.jsx)("path",{d:"M485.21 213.435H261.458V304.069H390.253C378.246 361.648 328.039 394.703 261.458 394.703C182.873 394.703 119.567 332.858 119.567 256.085C119.567 179.314 182.873 117.469 261.458 117.469C295.294 117.469 325.856 129.199 349.867 148.392L419.722 80.1505C377.154 43.8967 322.581 21.5051 261.458 21.5051C128.298 21.5051 21.334 126 21.334 256.085C21.334 386.172 128.298 490.667 261.458 490.667C381.52 490.667 490.667 405.365 490.667 256.085C490.667 242.224 488.484 227.296 485.21 213.435
2Z",fill:"white"})}),(0,a.jsx)("g",{mask:"url(#mask5_16694_137340)",children:(0,a.jsx)("path",{d:"M-0.494751 394.701L326.947 149.456L413.173 160.12L523.412 0.177002V511.992H-0.494751V394.701Z",fill:"#34A853"})})]}),(0,a.jsx)("mask",{id:"mask6_16694_137340",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"141",y:"117",width:"350",height:"374",children:(0,a.jsx)("path",{d:"M141.237 117.333H490.666V490.666H141.237V117.333Z",fill:"white"})}),(0,a.jsxs)("g",{mask:"url(#mask6_16694_137340)",children:[(0,a.jsx)("mask",{id:"mask7_16694_137340",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"21",width:"470",height:"470",children:(0,a.jsx)("path",{d:"M485.21 213.435H261.458V304.069H390.252C378.245 361.648 328.038 394.703 261.458 394.703C182.872 394.703 119.566 332.858 119.566 256.085C119.566 179.314 182.872 117.469 261.458 117.469C295.294 117.469 325.855 129.199 349.867 148.392L419.721 80.1505C377.154 43.8967 322.581 21.5051 261.458 21.5051C128.298 21.5051 21.3334 126 21.3334 256.085C21.3334 386.172 128.298 490.667 261.458 490.667C381.519 490.667 490.667 405.365 490.667 256.085C490.667 242.224 488.484 227.296 485.21 213.435Z",fill:"white"})}),(0,a.jsx)("g",{mask:"url(#mask7_16694_137340)",children:(0,a.jsx)("path",{d:"M523.411 511.993L185.055 256.085L141.396 224.098L523.411 117.469V511.993Z",fill:"#4285F4"})})]})]});var Gn=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M22.4202 10.4377V16.4905H20.5V1.54275H25.5927C26.2006 1.53005 26.805 1.63787 27.371 1.85997C27.937 2.08207 28.4534 2.41407 28.8904 2.8368C29.3319 3.23386 29.6832 3.72082 29.9208 4.26494C30.1584 4.80906 30.2768 5.39774 30.268 5.99141C30.2806 6.58826 30.164 7.18078 29.9263 7.72837C29.6885 8.27595 29.3352 8.76566 28.8904 9.16391C27.9999 10.0131 26.9007 10.4373 25.5927 10.4365H22.4202V10.4377ZM22.4202 3.38304V8.60097H25.6404C25.9934 8.61144 26.3448 8.5481 26.6719 8.41502C26.9991 8.28194 27.2948 8.08205 27.5403 7.82812C27.7845 7.59071 27.9786 7.30673 28.1112 6.993C28.2437 6.67926 28.312 6.34213 28.312 6.00155C28.312 5.66096 28.2437 5.32383 28.1112 5.0101C27.9786 4.69636 27.7845 4.41239 27.5403 4.17497C27.2979 3.9157 27.0032 3.7109 26.6756 3.57417C26.3481 3.43743 25.9952 3.37188 25.6404 3.38185H22.4202V3.38304Z",fill:"black"}),(0,a.jsx)("path",{d:"M34.6927 5.92847C36.1119 5.92847 37.2322 6.30774 38.0536 7.06627C38.875 7.82481 39.2852 8.86482 39.2844 10.1863V16.4896H37.4477V15.0703H37.3642C36.5691 16.2391 35.5116 16.8235 34.1917 16.8235C33.0651 16.8235 32.1225 16.4896 31.3639 15.8217C30.9999 15.5151 30.7089 15.1312 30.512 14.6979C30.3152 14.2646 30.2175 13.7929 30.2261 13.3171C30.2261 12.2588 30.6261 11.4171 31.4259 10.7922C32.2258 10.1672 33.2937 9.85394 34.6294 9.85235C35.7696 9.85235 36.7087 10.0611 37.4465 10.4785V10.0396C37.4487 9.71521 37.3787 9.39441 37.2415 9.10045C37.1043 8.80649 36.9034 8.54674 36.6534 8.34005C36.1456 7.88191 35.4839 7.63194 34.8 7.63995C33.7274 7.63995 32.8786 8.09237 32.2536 8.99721L30.5624 7.93215C31.4927 6.59636 32.8695 5.92847 34.6927 5.92847ZM32.2083 13.3588C32.207 13.6032 32.2642 13.8443 32.3749 14.0622C32.4857 14.28 32.647 14.4682 32.8452 14.6111C33.2699 14.9452 33.797 15.1221 34.3372 15.112C35.1475 15.1107 35.9242 14.7881 36.4972 14.2151C37.1333 13.6164 37.4513 12.9139 37.4513 12.1077C36.8526 11.6306 36.0177 11.3921 34.9467 11.3921C34.1667 11.3921 33.5163 11.5801 32.9955 11.9562C32.4695 12.3379 32.2083 12.8018 32.2083 13.3588Z",fill:"black"}),(0,a.jsx)("path",{d:"M49.8274 6.2644L43.4156 20.9998H41.4334L43.8128 15.8439L39.5967 6.2644H41.6839L44.7311 13.6112H44.7729L47.7367 6.2644H49.8274Z",fill:"black"}),(0,a.jsx)("path",{d:"M17.333 9.1323C17.3338 8.54712 17.2843 7.96295 17.1851 7.38623H9.08691V10.6935H13.7252C13.6303 11.2217 13.4294 11.7253 13.1346 12.1737C12.8399 12.6222 12.4574 13.0064 12.0101 13.3031V15.4499H14.7783C16.3992 13.9555 17.333 11.7454 17.333 9.1323Z",fill:"#4285F4"}),(0,a.jsx)("path",{d:"M9.08699 17.5238C11.4044 17.5238 13.3556 16.7629 14.7784 15.4509L12.0102 13.3041C11.2398 13.8265 10.2475 14.1247 9.08699 14.1247C6.84716 14.1247 4.94605 12.6148 4.26622 10.5801H1.41455V12.7925C2.12928 14.2147 3.22523 15.4103 4.58006 16.2458C5.93489 17.0813 7.49527 17.5237 9.08699 17.5238Z",fill:"#34A853"}),(0,a.jsx)("path",{d:"M4.26606 10.5809C3.90666 9.51475 3.90666 8.36014 4.26606 7.29395V5.08154H1.41439C0.813133 6.27797 0.5 7.59843 0.5 8.93744C0.5 10.2765 0.813133 11.5969 1.41439 12.7933L4.26606 10.5809Z",fill:"#FBBC04"}),(0,a.jsx)("path",{d:"M9.08699 3.75001C10.3116 3.73001 11.4949 4.1927 12.3811 5.0381L14.8321 2.58716C13.2779 1.12742 11.219 0.326003 9.08699 0.350905C7.49527 0.350978 5.93489 0.793451 4.58006 1.62893C3.22523 2.4644 2.12928 3.65999 1.41455 5.08223L4.26622 7.29463C4.94605 5.25993 6.84716 3.75001 9.08699 3.75001Z",fill:"#EA4335"})]});var Wn=()=>(0,a.jsx)("path",{d:"M161.513 78.837V149.702C161.513 161.444 151.995 170.962 140.254 170.962H50.492C38.75 170.962 29.232 161.444 29.232 149.702V78.837C29.232 67.096 38.75 57.578 50.492 57.578H140.254C151.995 57.578 161.513
267.096 161.513 78.837ZM322.141 291.431V220.566C322.141 208.827 312.624 199.308 300.882 199.308H211.119C199.377 199.308 189.859 208.827 189.859 220.566V291.431C189.859 303.173 199.377 312.692 211.119 312.692H300.88C312.624 312.692 322.141 303.173 322.141 291.431ZM350.486 149.702V78.837C350.486 67.096 360.005 57.578 371.747 57.578H461.509C473.251 57.578 482.768 67.096 482.768 78.837V149.702C482.768 161.444 473.251 170.962 461.509 170.962H371.747C360.005 170.962 350.486 161.444 350.486 149.702ZM322.141 149.702V78.837C322.141 67.096 312.624 57.578 300.882 57.578H211.119C199.377 57.578 189.859 67.096 189.859 78.837V149.702C189.859 161.444 199.377 170.962 211.119 170.962H300.88C312.624 170.962 322.141 161.444 322.141 149.702ZM50.492 199.308H140.254C151.995 199.308 161.513 208.827 161.513 220.566V291.431C161.513 303.173 151.995 312.692 140.254 312.692H50.492C38.75 312.692 29.232 303.173 29.232 291.431V220.566C29.232 208.827 38.75 199.308 50.492 199.308ZM29.232 362.297V433.162C29.232 444.903 38.75 454.422 50.492 454.422H140.254C151.995 454.422 161.513 444.903 161.513 433.162V362.297C161.513 350.557 151.995 341.038 140.254 341.038H50.492C38.75 341.038 29.232 350.557 29.232 362.297ZM461.509 312.692H371.747C360.005 312.692 350.486 303.173 350.486 291.431V220.566C350.486 208.827 360.005 199.308 371.747 199.308H461.509C473.251 199.308 482.768 208.827 482.768 220.566V291.431C482.768 303.173 473.251 312.692 461.509 312.692ZM371.747 454.422H461.509C473.251 454.422 482.768 444.903 482.768 433.162V362.297C482.768 350.557 473.251 341.038 461.509 341.038H371.747C360.005 341.038 350.486 350.557 350.486 362.297V433.162C350.486 444.903 360.005 454.422 371.747 454.422ZM189.859 433.162V362.297C189.859 350.557 199.377 341.038 211.119 341.038H300.88C312.622 341.038 322.141 350.557 322.141 362.297V433.162C322.141 444.903 312.622 454.422 300.88 454.422H211.119C199.377 454.422 189.859 444.903 189.859 433.162Z"});var Kn=()=>(0,a.jsx)("path",{d:"M142.616 57.578H199.308C214.96 57.578 227.654 70.271 227.654 85.924V142.616C227.654 158.268 214.96 170.962 199.308 170.962H142.616C126.964 170.962 114.27 158.268 114.27 142.616V85.924C114.27 70.271 126.964 57.578 142.616 57.578ZM142.616 199.308H199.308C214.96 199.308 227.654 212.001 227.654 227.653V284.347C227.654 299.999 214.96 312.692 199.308 312.692H142.616C126.964 312.692 114.27 299.999 114.27 284.347V227.653C114.27 212.001 126.964 199.308 142.616 199.308ZM199.308 341.038H142.616C126.964 341.038 114.27 353.731 114.27 369.383V426.077C114.27 441.729 126.964 454.422 142.616 454.422H199.308C214.96 454.422 227.654 441.729 227.654 426.077V369.383C227.654 353.731 214.96 341.038 199.308 341.038ZM312.691 57.578H369.385C385.037 57.578 397.73 70.271 397.73 85.924V142.616C397.73 158.268 385.037 170.962 369.385 170.962H312.691C297.039 170.962 284.346 158.268 284.346 142.616V85.924C284.346 70.271 297.039 57.578 312.691 57.578ZM369.385 199.308H312.691C297.039 199.308 284.346 212.001 284.346 227.653V284.347C284.346 299.999 297.039 312.692 312.691 312.692H369.385C385.037 312.692 397.73 299.999 397.73 284.347V227.653C397.73 212.001 385.037 199.308 369.385 199.308ZM312.691 341.038H369.385C385.037 341.038 397.73 353.731 397.73 369.383V426.077C397.73 441.729 385.037 454.422 369.385 454.422H312.691C297.039 454.422 284.346 441.729 284.346 426.077V369.383C284.346 353.731 297.039 341.038 312.691 341.038Z"});var Yn=()=>(0,a.jsx)("path",{d:"M25 96C25 78.33 39.33 64 57 64H441C458.7 64 473 78.33 473 96C473 113.7 458.7 128 441 128H57C39.33 128 25 113.7 25 96ZM25 256C25 238.3 39.33 224 57 224H441C458.7 224 473 238.3 473 256C473 273.7 458.7 288 441 288H57C39.33 288 25 273.7 25 256ZM441 448H57C39.33 448 25 433.7 25 416C25 398.3 39.33 384 57 384H441C458.7 384 473 398.3 473 416C473 433.7 458.7 448 441 448Z"});var Jn=()=>(0,a.jsx)("path",{d:"M256 32C114.52 32 0 146.496 0 288v48a32 32 0 0 0 17.689 28.622l14.383 7.191C34.083 431.903 83.421 480 144 480h24c13.255 0 24-10.745 24-24V280c0-13.255-10.745-24-24-24h-24c-31.342 0-59.671 12.879-80 33.627V288c0-105.869 86.131-192 192-192s192 86.131 192 192v1.627C427.671 268.879 399.342 256 368 256h-24c-13.255 0-24 10.745-24 24v176c0 13.255 10.745 24 24 24h24c60.579 0 109.917-48.098 111.928-108.187l14.382
2-7.191A32 32 0 0 0 512 336v-48c0-141.479-114.496-256-256-256z"});var Xn=()=>(0,a.jsx)("path",{d:"M433.159 190.924 507.214 251.966C509.409 253.749 510.802 256.335 511.084 259.151 511.365 261.965 510.516 264.777 508.72 266.961L486.13 294.421C484.334 296.595 481.748 297.967 478.939 298.231 476.131 298.498 473.334 297.638 471.16 295.84L262.791 124.222C258.836 121.034 253.193 121.034 249.238 124.222L40.877 295.84C38.7 297.636 35.898 298.496 33.088 298.225 30.278 297.954 27.691 296.576 25.898 294.396L3.309 266.935C1.511 264.762.651 261.965.916 259.157 1.182 256.35 2.553 253.762 4.727 251.966L228.952 67.3C244.649 54.384 267.291 54.384 282.988 67.3L362.294 132.549V68.23C362.294 62.359 367.054 57.6 372.925 57.6H422.529C428.4 57.6 433.159 62.359 433.159 68.23V190.924ZM85.92 295.051 249.238 160.54C253.193 157.352 258.836 157.352 262.791 160.54L426.072 294.955V440.226C426.072 448.055 419.728 454.4 411.901 454.4L312.671 454.125C308.903 454.125 305.292 452.625 302.633 449.958 299.973 447.292 298.486 443.674 298.497 439.908V355.189C298.497 347.362 292.152 341.015 284.325 341.015H227.632C219.805 341.015 213.46 347.362 213.46 355.189V439.97C213.46 447.77 207.157 454.103 199.358 454.144L100.094 454.4C92.266 454.4 85.92 448.055 85.92 440.226V295.051Z"});var Qn=()=>(0,a.jsx)("path",{d:"M256.1 141C192.5 141 141.2 192.3 141.2 255.9C141.2 319.5 192.5 370.8 256.1 370.8C319.7 370.8 371 319.5 371 255.9C371 192.3 319.7 141 256.1 141ZM256.1 330.6C215 330.6 181.4 297.1 181.4 255.9C181.4 214.7 214.9 181.2 256.1 181.2C297.3 181.2 330.8 214.7 330.8 255.9C330.8 297.1 297.2 330.6 256.1 330.6V330.6ZM402.5 136.3C402.5 151.2 390.5 163.1 375.7 163.1C360.8 163.1 348.9 151.1 348.9 136.3C348.9 121.5 360.9 109.5 375.7 109.5C390.5 109.5 402.5 121.5 402.5 136.3ZM478.6 163.5C476.9 127.6 468.7 95.8 442.4 69.6C416.2 43.4 384.4 35.2 348.5 33.4C311.5 31.3 200.6 31.3 163.6 33.4C127.8 35.1 96 43.3 69.7 69.5C43.4 95.7 35.3 127.5 33.5 163.4C31.4 200.4 31.4 311.3 33.5 348.3C35.2 384.2 43.4 416 69.7 442.2C96 468.4 127.7 476.6 163.6 478.4C200.6 480.5 311.5 480.5 348.5 478.4C384.4 476.7 416.2 468.5 442.4 442.2C468.6 416 476.8 384.2 478.6 348.3C480.7 311.3 480.7 200.5 478.6 163.5V163.5ZM430.8 388C423 407.6 407.9 422.7 388.2 430.6C358.7 442.3 288.7 439.6 256.1 439.6C223.5 439.6 153.4 442.2 124 430.6C104.4 422.8 89.3 407.7 81.4 388C69.7 358.5 72.4 288.5 72.4 255.9C72.4 223.3 69.8 153.2 81.4 123.8C89.2 104.2 104.3 89.1 124 81.2C153.5 69.5 223.5 72.2 256.1 72.2C288.7 72.2 358.8 69.6 388.2 81.2C407.8 89 422.9 104.1 430.8 123.8C442.5 153.3 439.8 223.3 439.8 255.9C439.8 288.5 442.5 358.6 430.8 388Z"});var er=()=>(0,a.jsxs)("g",{fill:"none",children:[(0,a.jsx)("path",{d:"m.20535714 16h4.51785715c1.0278125 0 2.25892857-1.1946667 2.25892857-2.1333333v-13.8666667h-4.51785715c-1.0278125 0-2.25892857 1.19466667-2.25892857 3.2z",fill:"#047ab1"}),(0,a.jsx)("path",{d:"m2.76924107 10.816c-.86733559.0001606-1.73039558-.1147397-2.56388393-.3413333v-1.17333337c.64678874.37770431 1.38610045.59084099 2.14598215.61866667.8696875 0 1.35535714-.576 1.35535714-1.36533333v-3.22133334h2.14598214v3.22133334c0 1.25866666-.70026786 2.26133333-3.0834375 2.26133333z",fill:"#fff"}),(0,a.jsx)("path",{d:"m8.11160714 16h4.51785716c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.02781249 0-2.25892856 1.19466667-2.25892856 3.2z",fill:"#d42d06"}),(0,a.jsx)("path",{d:"m8.11160714 6.08c.65508929-.59733333 1.78455357-.97066667 3.61428576-.88533333.9939285.04266666 2.0330357.32 2.0330357.32v1.184c-.5943231-.3394747-1.2623758-.54734656-1.9539732-.608-1.3892411-.11733334-2.23633933.61866666-2.23633933 1.90933333s.84709823 2.0266667 2.23633933 1.92c.6920185-.06606555 1.3596342-.27744592 1.9539732-.61866667v1.17333337s-1.0391072.288-2.0330357.3306666c-1.82973219.0853334-2.95919647-.288-3.61428576-.8853333z",fill:"#fff"}),(0,a.jsx)("path",{d:"m16.0178571 16h4.5178572c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.0278125 0-2.2589286 1.19466667-2.2589286 3.2z",fill:"#67b637"}),(0,a.jsx)("path",{d:"m21.6651786 9.28c0 .8533333-.7002679 1.3866667-1.6377232 1.3866667h-4.0095983v-5.33333337h3.6481697l.2597768.01066667c.8245089.04266667 1.4344196.50133333 1.4344196 1.29066667 0 .61866666-.4179018 1.152-1.1746428 1.28v.032c.8358035.05333333 1.4795982.55466666 1.4795982 1.33333333zm-2.880134-3.104c-.0486104-.00686658-.0976798-.01043129-.1468303-.01066667h-1.3553572v1.344h1.5021875c.2823661-.064.5195536-.30933333.5195536-.672 0-.36266666-.2371875-.608-.5195536-.66133333zm.1694197 2.176c-.059755-.00886168-.1202559-.01243275-.1807143-.01066667h-1.4908929v1.46133334h1.4908929l.1807143-.02133334c.2823661-.064.5195536-.34133333.5195536-.71466666 0-.37333334-.2258929-.64-.5195536-.71466667z",fill:"#fff"})]});var tr=()=>(0,a.jsx)("path",{d:"M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.8
206l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"});var nr=()=>(0,a.jsx)("path",{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"});var rr=()=>(0,a.jsx)("path",{d:"M448 32H63.9C46.3 32 32 46.5 32 64.3v383.4C32 465.5 46.3 480 63.9 480H448c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM167.4 416H101V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S112.9 96 134.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"});var ir=()=>(0,a.jsx)("path",{d:"M390.644 227.653H411.903C435.376 227.653 454.422 246.7 454.422 270.173V440.249C454.422 463.724 435.376 482.768 411.903 482.768H100.097C76.623 482.768 57.578 463.724 57.578 440.249V270.173C57.578 246.7 76.623 227.653 100.097 227.653H121.356V163.876C121.356 89.644 181.769 29.232 255.999 29.232 330.23 29.232 390.644 89.644 390.644 163.876V227.653ZM192.221 163.876V227.653H319.779V163.876C319.779 128.709 291.167 100.097 255.999 100.097 220.833 100.097 192.221 128.709 192.221 163.876Z"});var or=()=>(0,a.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,a.jsx)("rect",{fill:"#252525",height:"16",rx:"2",width:"24"}),(0,a.jsx)("circle",{cx:"9",cy:"8",fill:"#eb001b",r:"5"}),(0,a.jsx)("circle",{cx:"15",cy:"8",fill:"#f79e1b",r:"5"}),(0,a.jsx)("path",{d:"m12 3.99963381c1.2144467.91220633 2 2.36454836 2 4.00036619s-.7855533 3.0881599-2 4.0003662c-1.2144467-.9122063-2-2.36454837-2-4.0003662s.7855533-3.08815986 2-4.00036619z",fill:"#ff5f00"})]});var ar=()=>(0,a.jsx)("path",{d:"M71.5 142.3c.6-5.9-1.7-11.8-6.1-15.8L20.3 72.1V64h140.2l108.4 237.7L364.2 64h133.7v8.1l-38.6 37c-3.3 2.5-5 6.7-4.3 10.8v272c-.7 4.1 1 8.3 4.3 10.8l37.7 37v8.1H307.3v-8.1l39.1-37.9c3.8-3.8 3.8-5 3.8-10.8V171.2L241.5 447.1h-14.7L100.4 171.2v184.9c-1.1 7.8 1.5 15.6 7 21.2l50.8 61.6v8.1h-144v-8L65 377.3c5.4-5.6 7.9-13.5 6.5-21.2V142.3z"});var sr=()=>(0,a.jsx)("path",{d:"M384 44v424c0 6.6-5.4 12-12 12h-48c-6.6 0-12-5.4-12-12V291.6l-195.5 181C95.9 489.7 64 475.4 64 448V64c0-27.4 31.9-41.7 52.5-24.6L312 219.3V44c0-6.6 5.4-12 12-12h48c6.6 0 12 5.4 12 12z"});var lr=()=>(0,a.jsx)("path",{d:"M288 136V0H88C74.7 0 64 10.7 64 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H312c-13.2 0-24-10.8-24-24zm64 236c0 6.6-5.4 12-12 12H172c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-64c0 6.6-5.4 12-12 12H172c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-72v8c0 6.6-5.4 12-12 12H172c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm96-114.1v6.1H320V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"});var cr=()=>(0,a.jsx)("path",{d:"M368 63.1H336C309.49 63.1 288 84.59 288 110.2V398.2C288 424.71 309.49 446.2 336 446.2L368 448C394.51 448 416 426.51 416 400V112C416 85.49 394.5 63.1 368 63.1ZM176 63.1H144C117.49 63.1 96 84.59 96 111.1V399.1C96 426.5 117.49 448 144 448H176C202.51 448 224 426.51 224 400V112C224 85.49 202.5 63.1 176 63.1Z"});var ur=()=>(0,a.jsx)("path",{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm-16 328c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16v160zm112 0c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16v160z"});var dr=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M32.2783 4.94116H27.5753C27.2534 4.94116 26.9797 5.17497 26.9295 5.49268L25.0274 17.5526C24.9896 17.7905 25.1739 18.005 25.4152 18.005H27.6605C27.9824 18.005 28.2561 17.7712 28.3063 17.4528L28.8193 14.2001C28.8688 13.8817 29.1432
213.6479 29.4643 13.6479H30.9531C34.0512 13.6479 35.8391 12.1488 36.3061 9.17797C36.5165 7.87825 36.315 6.85704 35.7064 6.14185C35.038 5.35652 33.8524 4.94116 32.2783 4.94116ZM32.8209 9.34576C32.5637 11.0333 31.2743 11.0333 30.0275 11.0333H29.3178L29.8157 7.88169C29.8453 7.6912 30.0103 7.55091 30.2029 7.55091H30.5282C31.3774 7.55091 32.1786 7.55091 32.5926 8.03504C32.8395 8.32387 32.9151 8.75298 32.8209 9.34576Z",fill:"#253B80"}),(0,a.jsx)("path",{d:"M46.3367 9.29164H44.0846C43.8927 9.29164 43.727 9.43193 43.6974 9.62241L43.5977 10.2523L43.4402 10.024C42.9527 9.3164 41.8654 9.07983 40.7803 9.07983C38.2916 9.07983 36.1659 10.9648 35.7519 13.6089C35.5367 14.9279 35.8427 16.1891 36.5909 17.0686C37.2772 17.8773 38.2592 18.2143 39.4276 18.2143C41.4329 18.2143 42.5449 16.9249 42.5449 16.9249L42.4445 17.5507C42.4066 17.79 42.5909 18.0046 42.8309 18.0046H44.8596C45.1821 18.0046 45.4544 17.7708 45.5053 17.4524L46.7225 9.74413C46.761 9.50688 46.5774 9.29164 46.3367 9.29164ZM43.1975 13.6749C42.9802 14.9616 41.959 15.8253 40.6565 15.8253C40.0025 15.8253 39.4799 15.6156 39.1443 15.2181C38.8114 14.8233 38.6849 14.2615 38.7908 13.6357C38.9937 12.3601 40.0321 11.4682 41.3146 11.4682C41.9541 11.4682 42.474 11.6806 42.8165 12.0816C43.1596 12.4866 43.2958 13.0519 43.1975 13.6749Z",fill:"#253B80"}),(0,a.jsx)("path",{d:"M58.331 9.29053H56.0678C55.8519 9.29053 55.649 9.39781 55.5266 9.57729L52.4052 14.1751L51.0821 9.75678C50.9989 9.48033 50.7438 9.29053 50.4549 9.29053H48.231C47.9607 9.29053 47.773 9.5546 47.8589 9.80904L50.3518 17.1246L48.0082 20.433C47.8239 20.6937 48.0096 21.0519 48.328 21.0519H50.5884C50.8029 21.0519 51.0037 20.9474 51.1254 20.7714L58.6528 9.906C58.833 9.64606 58.648 9.29053 58.331 9.29053Z",fill:"#253B80"}),(0,a.jsx)("path",{d:"M65.8242 4.94116H61.1205C60.7993 4.94116 60.5256 5.17497 60.4754 5.49268L58.5733 17.5526C58.5355 17.7905 58.7198 18.005 58.9598 18.005H61.3735C61.5977 18.005 61.7896 17.8414 61.8247 17.6186L62.3645 14.2001C62.414 13.8817 62.6884 13.6479 63.0095 13.6479H64.4977C67.5964 13.6479 69.3836 12.1488 69.8513 9.17797C70.0624 7.87825 69.8595 6.85704 69.2509 6.14185C68.5832 5.35652 67.3983 4.94116 65.8242 4.94116ZM66.3668 9.34576C66.1103 11.0333 64.8209 11.0333 63.5734 11.0333H62.8644L63.363 7.88169C63.3926 7.6912 63.5562 7.55091 63.7495 7.55091H64.0747C64.9233 7.55091 65.7252 7.55091 66.1392 8.03504C66.386 8.32387 66.461 8.75298 66.3668 9.34576Z",fill:"#179BD7"}),(0,a.jsx)("path",{d:"M79.8821 9.29164H77.6314C77.4381 9.29164 77.2738 9.43193 77.2449 9.62241L77.1452 10.2523L76.987 10.024C76.4994 9.3164 75.4129 9.07983 74.3277 9.07983C71.839 9.07983 69.7141 10.9648 69.3001 13.6089C69.0855 14.9279 69.3902 16.1891 70.1384 17.0686C70.8261 17.8773 71.8067 18.2143 72.9751 18.2143C74.9803 18.2143 76.0923 16.9249 76.0923 16.9249L75.9919 17.5507C75.9541 17.79 76.1384 18.0046 76.3798 18.0046H78.4077C78.7289 18.0046 79.0026 17.7708 79.0528 17.4524L80.2707 9.74413C80.3078 9.50688 80.1235 9.29164 79.8821 9.29164ZM76.7429 13.6749C76.5269 14.9616 75.5044 15.8253 74.2019 15.8253C73.5493 15.8253 73.0253 15.6156 72.6897 15.2181C72.3568 14.8233 72.2317 14.2615 72.3362 13.6357C72.5404 12.3601 73.5775 11.4682 74.86 11.4682C75.4995 11.4682 76.0194
211.6806 76.3619 12.0816C76.7064 12.4866 76.8426 13.0519 76.7429 13.6749Z",fill:"#179BD7"}),(0,a.jsx)("path",{d:"M82.5368 5.27262L80.6065 17.5532C80.5687 17.7912 80.753 18.0057 80.993 18.0057H82.9336C83.2561 18.0057 83.5298 17.7719 83.5793 17.4535L85.4829 5.39434C85.5207 5.15641 85.3364 4.94116 85.0964 4.94116H82.9233C82.7314 4.94185 82.5664 5.08214 82.5368 5.27262Z",fill:"#179BD7"}),(0,a.jsx)("path",{d:"M5.49704 20.3464L5.8567 18.062L5.05555 18.0434H1.22998L3.88856 1.18625C3.89681 1.13536 3.92363 1.08791 3.96283 1.05422C4.00202 1.02052 4.05223 1.00195 4.10449 1.00195H10.5549C12.6964 1.00195 14.1742 1.44757 14.9458 2.32712C15.3075 2.73972 15.5379 3.1709 15.6493 3.6454C15.7662 4.14328 15.7683 4.73813 15.6541 5.46363L15.6458 5.51658V5.98145L16.0076 6.18638C16.3122 6.34799 16.5543 6.53297 16.7399 6.74478C17.0494 7.09756 17.2495 7.54593 17.3341 8.07751C17.4214 8.62421 17.3926 9.27476 17.2495 10.0113C17.0845 10.8585 16.8177 11.5964 16.4573 12.2002C16.1258 12.7565 15.7036 13.2179 15.2023 13.5755C14.7237 13.9152 14.155 14.1731 13.512 14.3382C12.8889 14.5005 12.1786 14.5823 11.3994 14.5823H10.8974C10.5384 14.5823 10.1898 14.7116 9.91609 14.9433C9.6417 15.1799 9.46015 15.5031 9.40445 15.8566L9.36663 16.0622L8.73121 20.0886L8.70233 20.2364C8.69476 20.2832 8.6817 20.3065 8.66244 20.3224C8.64525 20.3368 8.62049 20.3464 8.59642 20.3464H5.49704Z",fill:"#253B80"}),(0,a.jsx)("path",{d:"M16.3499 5.57275C16.3307 5.69585 16.3087 5.82169 16.2839 5.95098C15.4333 10.3184 12.523 11.8272 8.80607 11.8272H6.91357C6.45902 11.8272 6.07598 12.1573 6.00515 12.6057L5.0362 18.7508L4.76182 20.4927C4.71574 20.787 4.94268 21.0525 5.23976 21.0525H8.59633C8.99381 21.0525 9.33146 20.7636 9.39404 20.3717L9.42705 20.2011L10.059 16.1906L10.0996 15.9705C10.1615 15.5771 10.4998 15.2883 10.8973 15.2883H11.3993C14.6514 15.2883 17.1972 13.968 17.9412 10.1472
2C18.2521 8.5511 18.0912 7.21838 17.2687 6.28107C17.0197 5.99843 16.711 5.76393 16.3499 5.57275Z",fill:"#179BD7"}),(0,a.jsx)("path",{d:"M15.4598 5.21329C15.3298 5.17547 15.1957 5.14108 15.0582 5.11014C14.92 5.07988 14.7783 5.05306 14.6325 5.02968C14.1223 4.94716 13.5632 4.90796 12.9642 4.90796H7.90838C7.78391 4.90796 7.66563 4.93615 7.55973 4.98704C7.32661 5.09913 7.15331 5.31988 7.11136 5.59014L6.03583 12.4023L6.00488 12.601C6.07571 12.1527 6.45875 11.8226 6.91331 11.8226H8.80581C12.5227 11.8226 15.433 10.3131 16.2837 5.94636C16.3091 5.81707 16.3304 5.69123 16.3497 5.56813C16.1344 5.45398 15.9013 5.35633 15.6503 5.27312C15.5884 5.25249 15.5245 5.23254 15.4598 5.21329Z",fill:"#222D65"}),(0,a.jsx)("path",{d:"M7.11136 5.5928C7.15331 5.32254 7.32661 5.10179 7.55973 4.99039C7.66632 4.9395 7.78391 4.91131 7.90838 4.91131H12.9642C13.5632 4.91131 14.1223 4.9505 14.6325 5.03303C14.7783 5.05641 14.92 5.08323 15.0582 5.11349C15.1957 5.14443 15.3298 5.17881 15.4598 5.21664C15.5245 5.23589 15.5884 5.25584 15.651 5.27578C15.902 5.35899 16.1351 5.45733 16.3504 5.57079C16.6034 3.9568 16.3483 2.85789 15.4756 1.86282C14.5136 0.767339 12.7772 0.29834 10.5553 0.29834H4.10482C3.65095 0.29834 3.26378 0.628427 3.19364 1.07748L0.506869 18.1079C0.453918 18.4449 0.713861 18.7488 1.05358 18.7488H5.03594L6.03583 12.405L7.11136 5.5928Z",fill:"#253B80"})]});var pr=()=>(0,a.jsx)("path",{d:"M497.69 361.495l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.9 203.805l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.9.305l-104 24A24 24 0 0 0 .3 47.695c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z"});var fr=()=>(0,a.jsx)("path",{d:"M267.234 16C168.54 16 71 81.7962 71 188.282C71 256.002 109.093 294.479 132.179 294.479C141.702 294.479 147.185 267.93 147.185 260.427C147.185 251.481 124.387 232.435 124.387 195.208C124.387 117.869 183.257 63.0385 259.442 63.0385C324.95 63.0385 373.431 100.265 373.431 168.659C373.431 219.737 352.942 315.546 286.569 315.546C262.617 315.546 242.128 298.231 242.128 273.413C242.128 237.052 267.523 201.845 267.523 164.33C267.523 100.65 177.197 112.193 177.197 189.148C177.197 205.308 179.217 223.2 186.432 237.918C173.157 295.056 146.031 380.187 146.031 439.058C146.031 457.238 148.628 475.13 150.359 493.311C153.63 496.966 151.995 496.581 156.997 494.754C205.478 428.38 203.747 415.394 225.679 328.532C237.51 351.041 268.1 363.161 292.341 363.161C394.498 363.161 440.382 263.601 440.382 173.853C440.382 78.3332 357.848 16 267.234 16Z"});var hr=()=>(0,a.jsx)("path",{d:"M504 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C73.4 450.9 8 361.1 8 256 8 119 119 8 256 8s248 111 248 248z"});var mr=()=>(0,a.jsx)("path",{d:"M425 215C439.3 223.8 448 239.3 448 256C448 272.7 439.3 288.2 425 296.1L137.03 472.1C122.21 482 103.66 482.4 88.52 473.9C73.377 465.4 64 449.4 64 432V80C64 62.64 73.377 46.63 88.52 38.13C103.66 29.64 122.21 29.99 137.03 39.04L425 215Z"});var gr=()=>(0,a.jsx)("path",{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm115.7 272-176 101c-15.8 8.8-35.7-2.5-35.7-21V152c0-18.4 19.8-29.8 35.7-21l176 107c16.4 9.2 16.4 32.9 0 42z"});var br=()=>(0,a.jsx)("path",{d:"M64 468V44c0-6.6 5.4-12 12-12h48c6.6 0 12 5.4 12 12v176.4l195.5-181C352.1 22.3 384 36.6 384 64v384c0 27.4-31.9 41.7-52.5 24.6L136 292.7V468c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12z"});var yr=()=>(0,a.jsx)("path",{d:"M448 192V77.25c0-8.49-3.37-16.62-9.37-22.63L393.37 9.37c-6-6-14.14-9.37-22.63-9.37H96C78.33 0 64 14.33 64 32v160c-35.35 0-64 28.65-64 64v112c0 8.84 7.16 16 16 16h48v96c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-96h48c8.84 0 16-7.16 16-16V256c0-35.35-28.65-64-64-64zm-64 256H128v-96h256v96zm0-224H128V64h192v48c0 8.84 7.16 16 16 16h48v96zm48 72c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"});var vr=()=>(0,a.jsx)("path",{d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22
217.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"});var wr=()=>(0,a.jsx)("path",{d:"M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"});var _r=()=>(0,a.jsx)("path",{d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"});var xr=()=>(0,a.jsx)("path",{d:"M485.112 191.87L367.547 302.889C355.155 314.592 334.5 305.915 334.5 288.644V229.893C216.468 230.685 166.675 258.56 199.977 369.787C203.637 382.011 189.489 391.476 179.562 383.935C147.749 359.77 118.969 313.547 118.969 266.89C118.969 149.379 214.977 126.06 334.5 125.397V66.6037C334.5 49.3171 355.169 40.6681 367.547 52.3591L485.112 163.381C493.293 171.106 493.299 184.138 485.112 191.87V191.87ZM334.5 356.523V412.75H73.25V151.5H114.818C116.137 151.499 117.443 151.232 118.656 150.714C119.869 150.196 120.966 149.438 121.878 148.485C134.086 135.775 148.197 125.716 163.527 117.726C172.613 112.99 169.246 99.2502 159 99.2502H60.1875C38.5446 99.2502 21 116.795 21 138.438V425.813C21 447.456 38.5446 465 60.1875 465H347.563C369.205 465 386.75 447.456 386.75 425.813V353.311C386.75 346.545 380.058 341.827 373.679 344.084C364.735 347.247 355.157 348.193 345.766 346.841C339.831 345.987 334.5 350.526 334.5 356.523V356.523Z"});var jr=()=>(0,a.jsx)("path",{d:"M510.846 392.673c-5.211 12.157-27.239 21.089-67.36 27.318-2.064 2.786-3.775 14.686-6.507 23.956-1.625 5.566-5.623 8.869-12.128 8.869l-.297-.005c-9.395 0-19.203-4.323-38.852-4.323-26.521 0-35.662 6.043-56.254 20.588-21.832 15.438-42.771 28.764-74.027 27.399-31.646 2.334-58.025-16.908-72.871-27.404-20.714-14.643-29.828-20.582-56.241-20.582-18.864 0-30.736 4.72-38.852 4.72-8.073 0-11.213-4.922-12.422-9.04-2.703-9.189-4.404-21.263-6.523-24.13-20.679-3.209-67.31-11.344-68.498-32.15a10.627 10.627 0 0 1 8.877-11.069c69.583-11.455 100.924-82.901 102.227-85.934.074-.176.155-.344.237-.515 3.713-7.537 4.544-13.849 2.463-18.753-5.05-11.896-26.872-16.164-36.053-19.796-23.715-9.366-27.015-20.128-25.612-27.504 2.437-12.836 21.725-20.735 33.002-15.453 8.919 4.181 16.843 6.297 23.547 6.297 5.022 0 8.212-1.204 9.96-2.171-2.043-35.936-7.101-87.29 5.687-115.969C158.122 21.304 229.705 15.42 250.826 15.42c.944 0 9.141-.089 10.11-.089 52.148 0 102.254 26.78 126.723 81.643 12.777 28.65 7.749 79.792 5.695 116.009 1.582.872 4.357 1.942 8.599 2.139 6.397-.286 13.815-2.389 22.069-6.257 6.085-2.846 14.406-2.461 20.48.058l.029.01c9.476 3.385 15.439 10.215 15.589 17.87.184 9.747-8.522 18.165-25.878 25.018-2.118.835-4.694 1.655-7.434 2.525-9.797 3.106-24.6 7.805-28.616 17.271-2.079 4.904-1.256 11.211 2.46 18.748.087.168.166.342.239.515 1.301 3.03 32.615 74.46 102.23 85.934 6.427 1.058 11.163 7.877 7.725 15.859z"});var Or=()=>(0,a.jsx)("path",{d:"M100.68 256.223L104.984 304.465L100.68 355.156C100.457 357.012 99.0469 358.422 97.4141 358.422C95.7812 358.422 94.2969 357.012 94.2969 355.156L90.1406 304.465L94.2969 256.223C94.2969 254.59 95.707 253.105 97.4141 253.105C99.0469 253.105 100.457 254.59 100.68 256.223ZM116.563 222.379C114.484 222.379 113.074 224.012 112.852 226.09L109.141 304.465L112.852 355.156C113.074 357.234 114.484 358.867 116.563 358.867C118.418 358.867 120.051 357.234 120.051 355.156L124.355 304.465L120.051 226.09C120.051 224.012 118.418 222.379 116.563 222.379ZM135.488 204.492C133.188 204.492 131.555 206.125 131.332 208.426L128.066 304.91L131.332 355.23C131.555 357.531 133.188 359.164 135.488 359.164C137.566 359.164 139.422 357.531 139.422 355.23L143.355 304.91L139.422 208.426C139.422 206.125 137.566 204.492 135.488 204.492ZM23.3437 276.188C22.3047 276.188 21.7109 277.004 21.4883 278.043L18 304.465L21.4883 330.441C21.7109 331.48 22.3047 332.297 23.3437 332.297C24.3828 332.297 24.9766 331.48 25.1992 330.441L29.3555 304.465L25.1992 278.043C24.9766 277.004 24.3828 276.188 23.3437 276.188V276.188ZM40.8594 259.934C39.8203 259.934 39.0039 260.75 39.0039 261.789L34.2539 304.465L39.0039 346.102C39.0039 347.363 39.8203 348.18 40.8594 348.18C41.8984 348.18 42.7148 347.363 42.9375 346.324L48.2812 304.465L42.9375 261.789C42.7148 260.75 41.8984 259.934 40.8594 259.934V259.934ZM59.6367 251.473C58.375 251.473 57.3359 252.512 57.1875 253.922L52.8828 304.465L57.1875 353.301C57.4102 354.563 58.4492 355.602 59.6367 355.602C60.8984 355.602 61.9375 354.563 61.9375 353.301L67.0586 304.465L61.9375 253.922C61.9375 252.512 60.8984 251.473 59.6367 251.473V251.473ZM78.4141 249.84C77.0039 249.84 75.7422 250.879 75.7422 252.512L71.4375 304.465L75.7422 354.785C75.7422 356.418 77.0039 357.457 78.4141 357.457C79.8242 357.457 81.0859 356.418 81.3086 354.785L86.0586 304.465L81.3086 252.512C81.0859 250.879 79.8242 249.84 78.4141 249.84ZM257.578 167.531C256.762 166.938 255.5 166.492 254.461 166.492C252.828 166.492 251.344 167.086 250.305 167.902C248.895 169.164 248.004 171.02 247.855 172.875V173.469L245.406 304.613L246.668 328.734L247.93 352.262C248.152 355.75 251.047 358.645 254.535 358.645C258.023 358.645 260.918 355.75 260.918 352.262L263.813 304.613L260.918 172.875C260.621 170.648 259.434 168.57 257.578 167.531V167.531ZM237.762 178.887C236.723 178.293 235.684 177.848 234.496 177.848C233.309 177.848 232.195 178.293 231.23 178.887C229.598 179.926 228.559 181.781 228.559 183.859L228.336 185.121L226.258 304.465C226.258 304.465 226.258 304.687 228.559 353.152V353.375C228.559 354.637 229.004 355.824 229.82 356.863C231.082 358.273 232.715 359.164 234.57 359.164C236.203 359.164 237.687 358.348 238.727 357.309C239.988 356.27 240.582 354.859 240.582 353.152L240.805 348.18L243.105 304.688L240.656 183.859C240.434 181.781 239.395 179.926 237.762 178.887V178.887ZM155.082 195.586C152.781 195.586 150.777 197.664 150.777 200.113L147.512 304.465L150.777 354.34C151 356.789 152.855 358.645 155.082 358.645C157.531 358.645 159.387 356.789 159.609 354.34L163.32 304.465L159.609 200.113C159.461 197.664 157.605 195.586 155.082 195.586ZM434.664 242.195C426.648 242.195 419.004 243.828 411.953 246.723C407.203 194.176 363.117 152.91 309.3
209 152.91C296.098 152.91 283.332 155.359 271.977 159.887C267.449 161.52 266.187 163.152 266.187 166.715V352.039C266.187 355.75 269.082 358.422 272.57 358.867H434.59C466.727 358.867 492.926 332.891 492.926 300.754C493 268.395 466.801 242.195 434.664 242.195V242.195ZM214.457 197.441C211.34 197.441 208.891 199.891 208.668 203.23L206.219 304.688L208.668 353.375C208.891 356.492 211.34 358.941 214.457 358.941C217.574 358.941 220.023 356.492 220.023 353.375L222.918 304.688L220.023 203.23C219.801 199.891 217.574 197.441 214.457 197.441ZM174.676 191.652C172.227 191.652 169.926 193.953 169.926 196.625L167.031 304.465L169.926 354.117C170.148 356.789 172.227 358.867 174.676 358.867C177.348 358.867 179.426 356.789 179.648 354.117L182.914 304.465L179.648 196.625C179.426 193.953 177.348 191.652 174.676 191.652V191.652ZM194.492 194.176C191.598 194.176 189.371 196.477 189.371 199.297L186.477 304.465L189.371 353.746C189.594 356.641 191.672 358.867 194.492 358.867C197.313 358.867 199.613 356.566 199.613 353.746L202.73 304.465L199.613 199.297C199.613 196.402 197.387 194.176 194.492 194.176V194.176Z"});var Sr=()=>(0,a.jsx)("path",{d:"M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z"});var kr=()=>(0,a.jsx)("path",{d:"M327.12 198.766C319.169 192.32 307.467 193.454 301.017 201.397C294.515 209.317 295.675 221.003 303.627 227.493C312.348 234.653 317.375 245.017 317.375 255.304C317.375 266.264 312.348 276.643 303.6 283.79C295.649 290.283 294.489 301.965 300.99 309.885C304.64 314.376 309.977 316.693 315.345 316.693C319.478 316.693 323.659 315.317 327.093 312.517C344.523 298.926 354.5 278.12 354.5 255.304C354.5 232.487 344.523 212.997 327.12 198.766ZM373.913 141.686C366.009 135.24 354.314 136.351 347.787 144.269C341.285 152.189 342.445 163.876 350.373 170.365C376.62 191.109 391.625 222.974 391.625 255.304C391.625 287.634 376.589 318.803 350.393 340.923C342.465 347.417 341.305 359.099 347.807 367.019C351.481 371.486 356.794 373.803 362.162 373.803C366.319 373.803 370.476 372.427 373.933 369.602C408.795 341.774 428.75 300.086 428.75 255.304C428.75 210.522 408.795 170.148 373.913 141.686ZM421.325 83.8328C413.42 77.387 401.726 78.5216 395.198 86.4161C388.697 94.3361 389.857 106.023 397.785 112.512C441.048 147.951 465.875 200.235 465.875 255.304C465.875 310.373 441.055 363.353 397.766 398.777C389.838 405.27 388.678 416.952 395.18 424.872C398.818 430.023 404.155 432.344 409.569 432.344C413.726 432.344 417.883 430.968 421.34 428.143C473.223 385.628 503 322.902 503 255.304C503 187.705 473.223 126.325 421.325 83.8328ZM240.959 85.0548C232.065 81.0477 221.616 82.6757 214.33 89.1463L109.939 181.827H45.125C24.6212 181.827 8 198.441 8 218.921V293.11C8 313.59 24.6212 330.204 45.125 330.204H109.97L214.307 422.861C218.916 426.93 224.795 429.095 230.75 429.095C234.183 429.095 237.679 428.375 240.928 426.903C249.854 422.908 255.5 414.091 255.5 404.423V107.593C255.5 97.8707 249.854 89.038 240.959 85.0548Z"});var Cr=()=>(0,a.jsx)("path",{d:"M230.577 38.754 172.734 156.036 43.317 174.904C20.108 178.27 10.807 206.882 27.638 223.27L121.268 314.508 99.123 443.394C95.137 466.69 119.674 484.14 140.225 473.246L256 412.39 371.776 473.246C392.326 484.053 416.864 466.69 412.879 443.394L390.732 314.508 484.362 223.27C501.194 206.882 491.893 178.27 468.684 174.904L339.268 156.036 281.423 38.754C271.059 17.849 241.03 17.583 230.577 38.754Z"});var Pr=()=>(0,a.jsx)("path",{d:"M339.431 162.281 469.086 181.158C492.34 184.524 501.658 213.136 484.792 229.524L390.977 320.743 413.148 449.62C416.301 468.037 401.579 482.751 385.103 482.751 380.754 482.751 376.271 481.723 371.966 479.463L255.977 418.608 139.981 479.446C135.667 481.731 131.176 482.768 126.809 482.768 110.35 482.768 95.655 468.001 98.808 449.595L121.007 320.726 27.208 229.488C10.351 213.1 19.67 184.497 42.922 181.131L172.588 162.272 230.546 45.008C235.772 34.458 245.863 29.232 255.96 29.232 266.121 29.232 276.28 34.529 281.49 45.008L339.431 162.281ZM345.197 305.898 361.249 290.29 434.46 219.088 333.274 204.357 311.119 201.133 301.217 181.087 256.013 89.591 255.988 370.563 275.811 380.961 366.279 428.432 348.988 327.937 345.197 305.898Z"});var Tr=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M369.164 201.42C403.408 223.071 445.358 235.811 490.667 235.811V158.694C482.092 158.695 473.539 157.905 465.15 156.332V217.034C419.845 217.034 377.9 204.295 343.648 182.645V340.018C343.648 418.744 271.494 482.56 182.493 482.56C149.285 482.56 118.419 473.68 92.7793 458.45C122.043 484.916 162.854 501.334 208.004 501.334C297.01 501.334 369.168 437.519 369.168 358.79V201.42H369.164V201.42ZM400.641 123.619C383.141 106.708 371.65 84.8532 369.164 60.6923V50.7734H344.983C351.07 81.482 371.83 107.717 400.641 123.619ZM149.072 398.038C139.294 386.699 134.011 372.827 134.034 358.564C134.034 322.558 167.037 293.364 207.753 293.364C215.341 293.362 222.884 294.39 230.115 296.419V217.579C221.664 216.554 213.135 216.119 204.61 216.279V277.644C197.373 275.615 189.827 274.584 182.237 274.59C141.521 274.59 108.52 303.782 108.52 339.793C108.52 365.255 125.016 387.3 149.072 398.038Z"}),(0,a.jsx)("path",{d:"M343.646 182.644C377.899 204.294 419.844 217.033 465.149 217.033V156.331C439.86 151.566 417.473 139.877 400.64 123.619C371.827 107.716 351.069 81.4803 344.982 50.7734H281.467V358.786C281.323 394.694 248.377 423.77 207.748 423.77C183.806 423.77 162.536 413.675 149.066 398.038C125.011 387.3 108.515 365.254 108.515 339.794C108.515 303.787 141.516 274.592 182.232 274.592C190.033 274.592 197.552 275.666 204.605 277.646V216.281C117.168 217.878 46.8473 281.07 46.8473 358.788C46.8473 397.584 64.3587 432.754 92.78 458.452C118.42 473.68 149.286 482.561 182.494 482.561C271.497 482.561 343.648 418.743 343.648 340.018V182.644H343.646Z"}),(0,a.jsx)("path",{d:"M465.15 156.33V139.917C442.345 139.948 419.989 134.299 400.641 123.617C417.768 140.202 440.321 151.638 465.15 156.33ZM344.983 50.773C344.402 47.8383 343.956 44.8842 343.647 41.9189V32H255.95V340.016C255.809 375.919 222.865 404.995 182.233 404.995C170.304 404.995 159.041 402.49 149.066 398.039C162.537 413.675 183.807 423.768 207.749 423.768C248.374 423.768 281.326 394.696 281.468 358.788V50.773H344.983ZM204.609 216.28V198.807C197.281 197.921 189.894 197.476 182.497 197.48C93.4868 197.478 21.3333 261.297 21.3333 340.016C21.3333 389.369 49.6909 432.863 92.7824 458.448C64.3611 432.752 46.8497 397.58 46.8497 358.786C46.8497 281.07 117.169 217.878 204.609 216.28Z"})]});var Er=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M369.164 201.42C403.408 223.071 445.358 235.811 490.667 235.811V158.694C482.092 158.695 473.539 157.905 465.15 156.332V217.034C419.845 217.034 377.9 204.295 343.648 182.645V340.018C343.648 418.744 271.494 482.56 182.493 482.56C149.285 482.56 118.419 473.68 92.7793 458.45C122.043 484.916 162.854 501.334 208.004 501.334C297.01 501.334 369.168 437.519 369.168 358.79V201.42H369.164V201.42ZM400.641 123.619C383.141 106.708 371.65 84.8532 369.164 60.6923V50.7734H344.983C351.07 81.482 371.83 107.717 400.641 123.619ZM149.072 398.038C139.294 386.699 134.011 372.827 134.034 358.564C134.034 322.558 167.037 293.364 207.753 293.364C215.341 293.362 222.884 294.39 230.115 296.419V217.579C221.664 216.554 213.135 216.119 204.61 216.279V277.644C197.373 275.615 189.827 274.584 182.237 274.59C141.521 274.59 108.52 303.782 108.52 339.793C108.52 365.255 125.016 387.3 149.072 398.038Z",fill:"#FF004F"}),(0,a.jsx)("path",{d:"M343.647 182.644C377.9 204.294 419.845 217.033 465.149 217.033V156.331C439.861 151.566 417.473 139.877 400.64 123.619C371.828 10
27.716 351.069 81.4803 344.983 50.7734H281.468V358.786C281.324 394.694 248.378 423.77 207.749 423.77C183.807 423.77 162.537 413.675 149.066 398.038C125.011 387.3 108.515 365.254 108.515 339.794C108.515 303.787 141.516 274.592 182.232 274.592C190.033 274.592 197.552 275.666 204.605 277.646V216.281C117.168 217.878 46.8477 281.07 46.8477 358.788C46.8477 397.584 64.3591 432.754 92.7804 458.452C118.421 473.68 149.286 482.561 182.495 482.561C271.497 482.561 343.649 418.743 343.649 340.018V182.644H343.647Z",fill:"black"}),(0,a.jsx)("path",{d:"M465.15 156.33V139.917C442.345 139.948 419.989 134.299 400.641 123.617C417.768 140.202 440.321 151.638 465.15 156.33ZM344.983 50.773C344.402 47.8383 343.957 44.8842 343.647 41.9189V32H255.95V340.016C255.81 375.919 222.865 404.995 182.233 404.995C170.304 404.995 159.041 402.49 149.066 398.039C162.537 413.675 183.807 423.768 207.749 423.768C248.374 423.768 281.326 394.696 281.468 358.788V50.773H344.983ZM204.609 216.28V198.807C197.282 197.921 189.894 197.476 182.497 197.48C93.4869 197.478 21.3334 261.297 21.3334 340.016C21.3334 389.369 49.691 432.863 92.7825 458.448C64.3612 432.752 46.8497 397.58 46.8497 358.786C46.8497 281.07 117.169 217.878 204.609 216.28Z",fill:"#00F2EA"})]});var Nr=()=>(0,a.jsx)("path",{d:"M399.338 469.724C386.349 483.573 351.584 500 306.313 500C190.94 500 165.917 415.189 165.917 365.716V228.185H120.551C115.298 228.185 111 223.887 111 218.634V153.689C111 146.812 115.298 140.7 121.792 138.407C181.007 117.587 199.631 65.8215 202.305 26.5678C203.07 16.0619 208.513 11 217.682 11H285.397C290.65 11 294.948 15.2979 294.948 20.5508V130.576H374.22C379.472 130.576 383.77 134.778 383.77 140.031V218.061C383.77 223.314 379.472 227.612 374.22 227.612H294.566V354.828C294.566 387.492 317.201 406.02 359.511 389.02C364.096 387.205 368.107 385.964 371.641 386.919C374.984 387.778 377.18 390.166 378.708 394.464L399.72 455.875C401.439 460.651 402.872 465.999 399.338 469.724Z"});var Ar=()=>(0,a.jsx)("path",{d:"M391.17,103.47H352.54v109.7h38.63ZM285,103H246.37V212.75H285ZM120.83,0,24.31,91.42V420.58H140.14V512l96.53-91.42h77.25L487.69,256V0ZM449.07,237.75l-77.22,73.12H294.61l-67.6,64v-64H140.14V36.58H449.07Z"});var Ir=()=>(0,a.jsx)("path",{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"});var Lr=()=>(0,a.jsx)("path",{d:"M432 32H80C53.5 32 32 53.5 32 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z"});var Dr=()=>(0,a.jsxs)("g",{fill:"none",children:[(0,a.jsx)("path",{d:"m4.54588254.00006676h5.79377466c.8087588 0 1.3117793.72566459 1.1231113 1.61890981l-2.69741608 12.74856503c-.19036262.8901361-1.00010994 1.6164225-1.80943362 1.6164225h-5.79320976c-.80762905 0-1.31177937-.7262864-1.12311135-1.6164225l2.69854581-12.74856503c.18866803-.89324522.9979917-1.61890981 1.80773904-1.61890981",fill:"#dd2423"}),(0,a.jsx)("path",{d:"m9.85756516.00006676h6.66269264c.8086174 0 .4439911.72566459.2537697 1.61890981l-2.6969924 12.74856503c-.1892329.8901361-.1302036 1.6164225-.9405158 1.6164225h-6.66269248c-.81031221 0-1.31177939-.7262864-1.12141672-1.6164225l2.69685116-12.74856503c.19149238-.89324522.99912144-1.61890981 1.8083039-1.61890981",fill:"#16315e"}),(0,a.jsx)("path",{d:"m16.2559813.00006676h5.7937745c.8098886 0 1.3129092.72566459 1.1226878 1.61890981l-2.6969924 12.74856503c-.1903626.8901361-1.0006749 1.6164225-1.8104222 1.6164225h-5.7910915c-.8103122 0-1.3129091-.7262864-1.1231113-1.6164225l2.697416-12.74856503c.1886681-.89324522.9974268-1.61890981 1.8077391-1.61890981",fill:"#036862"}),(0,a.jsx)("path",{d:"m6.05901135 4.08561434c-.59580116.00668457-.77175951 0-.8279645-.01461278-.02160646.11301588-.42365577 2.15460824-.42478553 2.15631824-.08656699.4130443-.14955043.7074763-.36349659.89759795-.12144798.1105286-.26323144.1638497-.4276098
26.1638497-.26421996 0-.41814822-.1444178-.44399122-.41832975l-.00494264-.09405035s.08049458-.55326485.08049458-.55637395c0 0 .42196112-1.86048711.49751306-2.10641713.00395412-.01399096.00508387-.02129736.00607239-.02798193-.82132725.00792821-.9669236 0-.97695012-.01461278-.00550753.02005371-.025843.13540142-.025843.13540142l-.43085788 2.09693437-.03699927.1778407-.07159782.5817131c0 .1725552.03078565.31339755.09207452.4324762.19629382.37760055.75622549.4341862 1.07297875.4341862.40812169 0 .79096525-.09544945 1.04967767-.26971465.44907509-.2921002.56656897-.74867195.67135315-1.15440985l.04857917-.20815445s.43467082-1.93230737.5085281-2.18367833c.00282441-.01399096.00395413-.02129736.00776704-.02798193zm1.47893982 1.55881086c-.10478422 0-.29627659.0279819-.46828081.12078865-.0624186.0352883-.12144796.07601755-.18372539.11659135l.056205-.22338905-.03078563-.03762015c-.36476761.08130305-.44639193.0921849-.78333945.14441785l-.02824374.0206755c-.03911752.3570805-.07385733.6255515-.21888878 1.32743145-.05521646.25867735-.11255121.519842-.17002718.7778975l.01553403.03280105c.34527946-.0200537.45006363-.0200537.75015309-.0146128l.02428961-.0290701c.03812903-.21499445.04307165-.2653619.12752039-.70079175.03968242-.20644445.1224365-.66006255.16324868-.8215804.07498704-.038242.14898558-.07586215.21959486-.07586215.16819135 0 .14771465.1615179.14121858.22587635-.00720213.1080413-.06849101.4609245-.13133325.76390655l-.04194194.19556255c-.02923223.14441785-.06128888.2847938-.09052111.427968l.01270966.02860375c.34033679-.0200537.44413246-.0200537.73476028-.0146128l.0341749-.0290701c.0525333-.3357831.06792611-.42563615.16113038-.9145426l.04688457-.22463265c.09108601-.43962715.13684082-.6625498.06792616-.8441214-.07286879-.2034908-.24769738-.2526146-.40826291-.2526146zm1.65214439.4602871c-.18090101.038242-.29627659.0637366-.41094606.08021485-.11368097.02005375-.22453757.038242-.39936616.06498025l-.01383941.0138355-.01270966.01103735c-.01821719.14332965-.0309269.26722735-.05507525.41288885-.02047669.150636-.05196844.3217921-.10323077.56772215-.03968243.18825615-.06015913.25385825-.08275412.32008215-.0220301.06622385-.04631967.1305823-.09094476.31572935l.01045019.0171001.00875554.01570095c.1633899-.00855005.27029237-.0146128.38016043-.01570095.10972684-.00435275.22340776 0 .39936611.00108815l.01539286-.0138355.01652257-.0152346c.02541932-.1669588.02923224-.21188535.04476626-.29334385.01539282-.0873658.04194194-.20830985.10704369-.53134565.03078568-.1517242.06510179-.30298205.09701718-.4578154.03318641-.1542115.06792612-.30609115.10097127-.45781535l-.00494263-.0183437zm.00385525-.620608c-.1643784-.10679765-.45288796-.07290845-.64706354.0746185-.19361063.14457325-.21564072.34977405-.05182718.4579708.16155403.10384405.45119334.0729085.64367421-.0758621.19318708-.14768235.21733543-.3510177.05521651-.4567272zm.99410809 2.473369c.3325698 0 .6734715-.1008904.9300657-.400297.1974235-.2428209.2879446-.60409865.3192952-.7528692.1021011-.4931037.0225949-.7233328-.0772466-.8635533-.1516687-.21375085-.4197016-.28230655-.697761-.28230655-.1672028 0-.5654392.01818825-.87654364.33391765-.22340786.22774175-.32663863.5367866-.38891601.83308405-.06284224.3018939-.13514621.84536505.31887154 1.0476122.14008884.0662239.34203141.08441215.47223481.08441215zm-.0259841-1.10948335c.0766817-.3734032.1672028-.6868008.3982364-.6868008.1810422 0 .1941755.23318275.1136809.6078296-.0144042.0831685-.0804945.3923688-.1698859.5240393-.0624186.09715945-.1362759.15607695-.2179003.15607695-.0242896 0-.1687562 0-.1710157-.23613635-.0011297-.11659135.0204767-.23567.0468846-.3650087zm2.1066988 1.06146325.0259841-.0290701c.0368581-.21499445.0429305-.2655174.1245549-.70079175.0408121-.20644445.1252608-.66006255.1649433-.82158045.0751282-.0383974.1478558-.07601755.2207245-.07601755.1670616 0 .1467262.1615179.140089.2258763-.0060725.1081968-.0673613.4609245-.1313334.76390655l-.0396824.1955626c-.030362.14457325-.0634071.2847938-.0926394.42812345l.0127097.02860375c.3414665-.02005375.441308-.02005375.7336305-.0146128l.0353047-.0290701c.0512623-.33593855.0651017-.42579165.1611304-.9145426l.0457548-.2247881c.0915096-.43962715.1378292-.66239435.0700444-.84396595-.0749871-.2034908-.2509454-.2526146-.4092515-.2526146-.1049254 0-.2974063.02782645-.468422.12078865-.0611476.0352883-.1224365.0758621-.1825956.11659135l.0523921-.22338905-.0281025-.0377756c-.3646263.0814585-.4479453.09234035-.7844692.1445733l-.025843.0206
2755c-.0408122.35708045-.0739986.62539605-.21903 1.32743145-.0552164.25867735-.1125512.51984195-.1698859.7778975l.0153928.03280105c.3458442-.02005375.4490751-.02005375.7485997-.0146128zm2.5088186.01453505c.0214652-.1153477.1489856-.7990394.1501153-.7990394 0 0 .1085971-.50165375.1152345-.519842 0 0 .0341748-.0522329.0683497-.07290845h.0502738c.4743532 0 1.0099953 0 1.4298381-.3399804.2856852-.2331827.4809905-.57751585.5681223-.99600105.022595-.1026004.0392588-.22463269.0392588-.34666496 0-.16027425-.0292322-.3188385-.1136809-.44273624-.2140874-.32972035-.6404262-.3357831-1.132573-.33827039-.0015534 0-.2426136.00248729-.2426136.00248729-.629976.00855003-.8826161.00606275-.9864117-.00792821-.0087556.05052291-.0252782.14037599-.0252782.14037599s-.2256673 1.15130077-.2256673 1.15316622c0 0-.5400198 2.4477966-.5654392 2.5631443.5500464-.00730635.7755725-.00730635.8704714.0041973zm.4181482-2.0451678s.2399304-1.14896892.2388007-1.14461618l.0077669-.05891749.0033893-.04492654.0958874.01088185s.4948299.046792.5064099.04803565c.1953052.0831685.2757998.29754113.2195948.57736036-.0512623.2557237-.2019425.4707182-.3955532.5745622-.1594358.0879876-.3547411.095294-.5559775.095294h-.1302035zm1.4938667.99045135c-.0634072.2975411-.136276.8410123.3154822 1.0347094.1440429.0674675.2731167.0875212.4043088.08021485.1385355-.00823915.2669031-.08472305.3858092-.1947853-.0107326.04523745-.0214652.0904749-.0321978.1358678l.0204766.0290701c.324944-.01507915.4257741-.01507915.7778319-.0121255l.0319154-.0267383c.0514036-.332674.0998416-.65570975.2334344-1.2921431.0651017-.30484755.1300622-.6067414.1968587-.9103453l-.0104501-.03342285c-.3634967.0741521-.4606551.09000855-.8103124.1445733l-.026549.0237846c-.0035305.0309356-.0072021.0606275-.0105914.09031945-.0543692-.0966931-.1331691-.17923975-.2547583-.2306954-.1554817-.0673121-.5206729.01943185-.8346018.33407305-.2205834.2246327-.3264973.53243385-.3866564.8276432zm.7634275.01818825c.0778115-.3667187.1672028-.67700715.3988014-.67700715.1464436 0 .2235489.14877055.2078737.40247335-.0124272.06327025-.025843.1299605-.0418008.20535625-.0231597.10897405-.0482967.21701535-.0727275.32521215-.0248545.07399665-.0538043.143796-.0855784.1902771-.0595943.09296215-.2013777.150636-.2830021.150636-.0231599 0-.1660731 0-.1710157-.23193905-.0011298-.11550315.0204767-.23442635.0474494-.36500865zm3.9866711-1.21085565-.0281024-.0352883c-.3596838.08021485-.4247856.09296215-.755237.142086l-.0242897.02673825c-.0011296.00435275-.0021182.01103735-.0038128.0171001l-.0011298-.00606275c-.2460027.6247742-.2388006.4899946-.4390485.98185465-.0011298-.02238555-.0011298-.0363765-.0022595-.06016115l-.0501327-1.0662668-.0314917-.0352883c-.3767711.08021485-.3856679.09296215-.7336305.142086l-.0271139.02673825c-.003813.01274735-.003813.0267383-.0060724.0419729l.0022594.00544095c.0434954.2446864.0330452.19012165.0766818.5762722.0203354.1894998.0474494.3800878.0677848.5672558.0343162.3132421.0535219.4674536.0954638.94547815-.2349878.4268798-.2906279.5883977-.51686.9630446l.0015534.0037309-.1592946.27733195c-.0182171.0292256-.0347397.0492793-.0578996.05782935-.0254193.0138355-.0584644.01632275-.1043605.01632275h-.0882616l-.131192.4803564.4500635.00855005c.26422-.00124365.4302931-.1372669.5196844-.32008215l.283002-.53383295h-.004519l.0297972-.03762015c.1903626-.4511308 1.6384179-3.1855867 1.6384179-3.1855867zm-4.7501128 6.3087581h-.1909276l.7066579-2.57293795h.2344228l.0744221-.265051.0072022.29474295c-.0087556.1821934.121448.3437113.4634794.31697305h.3955532l.1361347-.49543555h-.1488443c-.0855785 0-.1252609-.02378465-.1203182-.0747739l-.0072022-.299873h-.7325008v.00155455c-.2368235.00544095-.9440462.0250283-1.0872418.0670012-.1732752.0491238-.3558709.1936971-.3558709.1936971l.071739-.26536195h-.6851925l-.1427719.52652655-.7161194 2.61226815h-.1389591l-.136276.4918601h1.3647364l-.0457548.1640051h.6724828l.0446251-.1640051h.1886681zm-.5599316-2.0501423c-.1097268.03342285-.313929.1347796-.313929.1347796l.1816071-.65757525h.5443977l-.1313333.47911275s-.1681914.01088185-.2807425.0436829zm.0104502.9394154s-.1710158.0236292-.283567.0516111c-.1108566.0369984-.3187303.1535897-.3187303.1535897l.1875382-.6843
2135h.5472221zm-.3050322 1.1167897h-.5460922l.158306-.5775158h.5443976zm1.315112-1.5959024h.7871525l-.1131162.4032506h-.7976024l-.1197535.4408708h.6979023l-.5284398.8190931c-.0369994.0601612-.0701858.0814585-.1070437.0984031-.0369994.0206755-.0855785.0449265-.1417835.0449265h-.1936107l-.133028.4828437h.5064098c.2632315 0 .4187131-.131826.5335239-.3048476l.3623669-.5459584.0778115.5543531c.0165225.1038439.0843074.1646269.1302034.1882561.0506975.0279819.1030897.0760176.1770882.0831685.0793648.0037309.1366995.0066846.1748285.0066846h.2488272l.1494092-.5403621h-.0981469c-.0563463 0-.1533633-.0104155-.1698859-.0298474-.0165226-.0236292-.0165226-.0600057-.0254194-.1153477l-.0789412-.5555967h-.3232494l.1417836-.1857688h.796049l.1224365-.4408708h-.7370197l.1148107-.4032506h.7347603l.1362759-.497301h-2.1905826zm-6.6483163 1.7081877.1837253-.6728098h.7550958l.1379705-.5004101h-.7558018l.1153756-.4141325h.7385731l.1368408-.4845537h-1.84798632l-.13401641.4845537h.41984283l-.1119863.4141325h-.42097264l-.13952389.5089601h.41970155l-.24487301.8901361c-.03304514.117835.01553408.1627615.04631971.2174817.03149175.0533211.06340718.0886094.13514621.1086631.07399857.0181883.12469597.0290701.19361067.0290701h.8512656l.1516688-.554353-.3773361.0570521c-.0728688 0-.2746701-.0096382-.25264-.0837903zm.0866093-3.22084395-.1913512.38070965c-.0409534.08316845-.0778114.1347796-.1109978.1585642-.0292322.02005375-.0871318.0284483-.1710157.0284483h-.0998415l-.13345158.48704095h.33158128c.1594357 0 .2818722-.0643584.3403368-.09653765.0628422-.0369983.0793647-.0158564.1279439-.0674675l.1119864-.1067977h1.0354146l.1374057-.50709465h-.7579202l.1323219-.2768656zm1.5286064 3.23062205c-.0176524-.027982-.0049427-.0772612.0220301-.1798616l.283002-1.0311339h1.0067472c.1467262-.0023318.25264-.0041973.3215547-.0096382.0739985-.0085501.1544932-.0376202.2421899-.0898531.0905212-.0547202.1368408-.1123941.1759583-.178618.0436366-.0660684.113681-.2106417.1738401-.4335643l.3557296-1.3048905-1.044735.0066846s-.3216959.0522329-.4633381.10990675c-.1429132.06435845-.3471154.2440646-.3471154.2440646l.0943341-.3577023h-.645369l-.9035164 3.29860265c-.0320566.1280949-.0535218.2210571-.0584645.2768655-.0016946.0601612.0689147.1197005.1146695.164627.0540867.0449266.1340164.0376202.2106981.0449266.0806358.0066846.1953053.0108818.3536113.0108818h.4959597l.1522336-.5658567-.4439912.0461702c-.0474494 0-.0817655-.027982-.0960286-.0516111zm.4876277-1.9074346h1.0574447l-.06722.2319391c-.0094616.0054409-.0320566-.0115037-.1396652.0024873h-.9156612zm.2118279-.77789745h1.0663414l-.0766816.27935285s-.5025969-.0054409-.5830915.01088185c-.3541763.06746755-.5610614.27577745-.5610614.27577745zm.802065 1.78653705c-.0087555.0346665-.0225949.0558084-.0419418.0716648-.0214654.0152346-.0562051.0206755-.1080323.0206755h-.1506803l.0088968-.2824619h-.626728l-.0254193 1.380908c-.0009886.0996467.007767.1573206.0739985.2034908.0662315.0576738.2702923.0649802.5449624.0649802h.392729l.1417834-.5168883-.3418902.0206755-.1136809.0073064c-.0155341-.0073064-.030362-.013991-.0468846-.0321792-.0144043-.015701-.0386939-.0060627-.0347398-.1057095l.0026831-.3539713.3585541-.0163228c.1936107 0 .2763648-.0693331.346974-.1354015.0673612-.0632702.0893913-.1360232.1148107-.2344264l.0601592-.3133975h-.4927118z",fill:"#fefefe"})]});var Rr=()=>(0,a.jsx)("path",{d:"M256 288c79.5 0 144-64.5 144-144S335.5 0 256 0 112 64.5 112 144s64.5 144 144 144zm128 32h-55.1c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16H128C57.3 320 0 377.3 0 448v16c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48v-16c0-70.7-57.3-128-128-128z"});var Mr=()=>(0,a.jsx)("g",{id:"319",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,a.jsx)("g",{id:"New-Icons",transform:"translate(-80.000000, -280.000000)",fillRule:"nonzero",children:(0,a.jsx)("g",{id:"Card-Brands",transform:"translate(40.000000, 200.000000)",children:(0,a.jsx)("g",{id:"Color",transform:"translate(0.000000, 80.000000)",children:(0,a.jsxs)("g",{id:"Visa",transform:"translate(40.000000, 0.000000)",children:[(0,a.jsx)("rect",{id:"Container",strokeOpacity:"0.2",stroke:"#000000",strokeWidth:"0.5",fill:"#FFFFFF",x:"0.25",y:"0.25",width:"23.5",height:"15.5",rx:"2"}),(0,a.jsx)("path",{d:"M2.78773262,5.91443732 C2.26459089,5.62750595 1.6675389,5.39673777 1,5.23659312 L1.0280005,5.
21118821 L3.76497922,5.1118821 C4.13596254,5.12488556 4.43699113,5.23650585 4.53494636,5.63071135 L5.12976697,8.46659052 L5.31198338,9.32072617 L6.97796639,5.1118821 L8.77678896,5.1118821 L6.10288111,11.2775284 L4.30396552,11.2775284 L2.78773262,5.91443732 L2.78773262,5.91443732 Z M10.0999752,11.2840738 L8.39882877,11.2840738 L9.46284763,5.1118821 L11.163901,5.1118821 L10.0999752,11.2840738 Z M16.2667821,5.26277458 L16.0354292,6.59558538 L15.881566,6.53004446 C15.5737466,6.40524617 15.1674138,6.28053516 14.6143808,6.29371316 C13.942741,6.29371316 13.6415263,6.56277129 13.6345494,6.82545859 C13.6345494,7.11441463 13.998928,7.3048411 14.5939153,7.58725177 C15.5740257,8.02718756 16.0286384,8.56556562 16.0218476,9.26818871 C16.0080799,10.5486366 14.8460128,11.376058 13.0610509,11.376058 C12.2978746,11.3694253 11.5627918,11.2180965 11.163808,11.0475679 L11.4018587,9.66204513 L11.6258627,9.76066195 C12.1788958,9.99070971 12.5428092,10.0889775 13.221984,10.0889775 C13.7117601,10.0889775 14.2368857,9.89837643 14.2435835,9.48488392 C14.2435835,9.21565125 14.0198586,9.01850486 13.3617074,8.7164581 C12.717789,8.42086943 11.8568435,7.92848346 11.8707973,7.04197926 C11.8780532,5.84042483 13.0610509,5 14.7409877,5 C15.3990458,5 15.9312413,5.13788902 16.2667821,5.26277458 Z M18.5277524,9.0974856 L19.941731,9.0974856 C19.8717762,8.78889347 19.549631,7.31147374 19.549631,7.31147374 L19.4307452,6.77964104 C19.3467437,7.00942698 19.1998574,7.38373457 19.2069273,7.37055657 C19.2069273,7.37055657 18.6678479,8.74290137 18.5277524,9.0974856 Z M20.6276036,5.1118821 L22,11.2839865 L20.4249023,11.2839865 C20.4249023,11.2839865 20.2707601,10.5748181 20.221922,10.3581228 L18.0377903,10.3581228 C17.9746264,10.5221933 17.6807607,11.2839865 17.6807607,11.2839865 L15.8957988,11.2839865 L18.4226343,5.62399144 C18.5977072,5.22341512 18.9059917,5.1118821 19.3117663,5.1118821 L20.6276036,5.1118821 L20.6276036,5.1118821 Z",id:"Shape",fill:"#1434CB"})]})})})})});var $r=()=>(0,a.jsx)("path",{d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"});var Fr=()=>(0,a.jsx)("path",{d:"M475.779 144.539C470.496 124.645 454.93 108.978 435.165 103.661C399.341 94 255.689 94 255.689 94C255.689 94 112.038 94 76.213 103.661C56.4486 108.979 40.8824 124.645 35.5992 144.539C26 180.596 26 255.826 26 255.826C26 255.826 26 331.057 35.5992 367.114C40.8824 387.007 56.4486 402.022 76.213 407.339C112.038 417 255.689 417 255.689 417C255.689 417 399.34 417 435.165 407.339C454.93 402.022 470.496 387.007 475.779 367.114C485.378 331.057 485.378 255.826 485.378 255.826C485.378 255.826 485.378 180.596 475.779 144.539V144.539ZM208.707 324.13V187.523L328.771 255.828L208.707 324.13V324.13Z"});var Vr=()=>(0,a.jsx)("path",{d:"M218.8 202.1l95.2 54.1-95.2 54.1V202.1zM480 80v352c0 26.5-21.5 48-48 48H80c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-42 176.3s0-59.6-7.6-88.2c-4.2-15.8-16.5-28.2-32.2-32.4C369.9 128 256 128 256 128s-113.9 0-142.2 7.7c-15.7 4.2-28 16.6-32.2 32.4-7.6 28.5-7.6 88.2-7.6 88.2s0 59.6 7.6 88.2c4.2 15.8 16.5 27.7 32.2 31.9C142.1 384 256 384 256 384s113.9 0 142.2-7.7c15.7-4.2 28-16.1 32.2-31.9 7.6-28.5 7.6-88.1 7.6-88.1z"});var zr=()=>(0,a.jsx)("path",{d:"M304 192v32c0 6.6-5.4 12-12 12h-56v56c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-56h-56c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h56v-56c0-6.
26 5.4-12 12-12h32c6.6 0 12 5.4 12 12v56h56c6.6 0 12 5.4 12 12zm201 284.7L476.7 505c-9.4 9.4-24.6 9.4-33.9 0L343 405.3c-4.5-4.5-7-10.6-7-17V372c-35.3 27.6-79.7 44-128 44C93.1 416 0 322.9 0 208S93.1 0 208 0s208 93.1 208 208c0 48.3-16.4 92.7-44 128h16.3c6.4 0 12.5 2.5 17 7l99.7 99.7c9.3 9.4 9.3 24.6 0 34zM344 208c0-75.2-60.8-136-136-136S72 132.8 72 208s60.8 136 136 136 136-60.8 136-136z"});var Br=()=>(0,a.jsx)("path",{d:"M304 192v32c0 6.6-5.4 12-12 12H124c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm201 284.7L476.7 505c-9.4 9.4-24.6 9.4-33.9 0L343 405.3c-4.5-4.5-7-10.6-7-17V372c-35.3 27.6-79.7 44-128 44C93.1 416 0 322.9 0 208S93.1 0 208 0s208 93.1 208 208c0 48.3-16.4 92.7-44 128h16.3c6.4 0 12.5 2.5 17 7l99.7 99.7c9.3 9.4 9.3 24.6 0 34zM344 208c0-75.2-60.8-136-136-136S72 132.8 72 208s60.8 136 136 136 136-60.8 136-136z"});const Hr=["className","context","description","fill","height","name","title","width","viewBox"];function Ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ur(Object(n),!0).forEach(function(t){Zr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Zr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Gr="c-icon",Wr=e=>{let{className:t,context:n="presentational",description:i,fill:o="currentColor",height:s=48,name:l,title:c,width:u=48,viewBox:d}=e,p=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Hr);const f=r[l];return(0,a.jsxs)("svg",qr(qr(qr({},p),{},{className:t?`${Gr} ${t}`:`${Gr}`,width:u,height:s,xmlns:"http://www.w3.org/2000/svg",viewBox:d||"0 0 512 512",fill:o},cn(n)),{},{children:["image"===n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("title",{children:c}),i?(0,a.jsx)("desc",{children:i}):null]}):null,(0,a.jsx)(f,{})]}))};
2Wr.propTypes={className:o().string,context:o().oneOf(["presentational","image"]),description:o().string,fill:o().string,height:o().number,name:o().oneOf(["Amex","Apple","ApplePay","ArrowLeft","ArrowRight","Backward","Bell","Calendar","Camera","Chart","Check","ChevronDown","ChevronLeft","ChevronRight","ChevronUp","Close","ClosedCaptioning","Cog","Comments","Delete","Diners","Discover","Download","Edit","EllipsisHorizontal","EllipsisVertical","Envelope","EnvelopeOpen","ExternalLink","Facebook","FacebookAlt","Filter","Forward","Fullscreen","Gift","Google","GoogleColor","GooglePay","Grid","GripVertical","HamburgerMenu","Headphones","Home","Instagram","Jcb","Link","LinkedIn","LinkedInAlt","Mastercard","Lock","Medium","Next","Page","Pause","PauseCircle","PayPal","Phone","Pinterest","PinterestAlt","Play","PlayCircle","Previous","Print","Reddit","Rss","Search","Share","Snapchat","SoundCloud","SoundOff","SoundOn","Star","StarHalf","TikTok","TikTokColor","Tumblr","Twitch","Twitter","TwitterAlt","Unionpay","User","Visa","WhatsApp","Youtube","YoutubeAlt","ZoomIn","ZoomOut"]).isRequired,title:o().string,width:o().number};var Kr=Wr;const Yr=({children:e,className:t,id:n,label:r,onClick:i})=>(0,a.jsx)("button",{type:"button","aria-label":r,className:t,"aria-controls":n,onClick:i,children:e});Yr.propTypes={children:o().oneOfType([o().node,o().func]).isRequired,className:o().string,id:o().string.isRequired,label:o().string,onClick:o().func};var Jr=Yr;const Xr=["children","className","label","viewable"];function Qr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ei(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qr(Object(n),!0).forEach(function(t){ti(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ti(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ni=e=>{let{children:t,className:n,label:r,viewable:i}=e,o=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Xr);return(0,a.jsx)("div",ei(ei({},o),{},{role:"group","aria-roledescription":"slide",tabIndex:i?null:"-1",className:["c-carousel__slide",n].filter(e=>e).join(" "),"aria-label":r,"aria-hidden":!i||null,children:"function"==typeof t?t({viewable:i}):w.Children.map(t,e=>(0,w.cloneElement)(e,{"aria-hidden":!i||null,tabIndex:i?null:"-1"}))}))};ni.propTypes={children:o().oneOfType([o().node,o().func]).isRequired,label:o().string.isRequired};var ri=ni;var ii={events:{},dispatch(e,t){this.events[e]&&this.events[e].forEach(e=>e(t))},subscribe(e,t){this.events[e]||(this.events[e]=[]),this.events[e].push(t)}};var oi=function(e,t){const n=_().useRef(null),r=_().useRef(e);return _().useEffect(()=>{r.current=e},[e]),_().useEffect(()=>{const e=()=>r.current();if("number"==typeof t)return n.current=window.setInterval(e,t),()=>window.clearInterval(n.current)},[t]),n};var ai=()=>"undefined"==typeof window;const si="c-carousel",li=({currentSlideNumber:e,goToSlide:t,goToSlidePhrase:n,totalSlideNumber:r})=>(0,a.jsx)("div",{className:`${si}__indicator-dots-container`,children:Array.from({length:r},(r,i)=>(0,a.jsx)("button",{"aria-label":n(i+1),type:"button",onClick:()=>t(i+1),className:[`${si}__indicator-dot`,i===e-1?`${si}__indicator-dot--active`:""].filter(e=>e).join(" ")},`carousel-indicator-dot-${i}`))});li.propTypes={currentSlideNumber:o().number.isRequired,goToSlide:o().func.isRequired,goToSlidePhrase:o().func.isRequired,totalSlideNumber:o().number.isRequired};var ci=li;const ui="c-carousel",di=({children:e,currentSlideNumber:t,goToSlide:n,goToSlidePhrase:r})=>((0,w.useEffect)(()=>{const e=document.querySelector(`.${ui}__indicator-thumbnail--active`);e&&e.scrollIntoView()},[t]),(0,a.jsx)("div",{className:`${ui}__indicator-thumbnails-container`,children:w.Children.map(e,(e,i)=>(0,a.jsx)("button",{"aria-label":r(i+1),type:"button",onClick:()=>n(i+1),className:[`${ui}__indicator-thumbnail`,i===t-1?`${ui}__indicator-thumbnail--active`:""].filter(e=>e).join(" "),children:e},e.key))}
2));di.propTypes={children:o().oneOfType([o().node,o().func]).isRequired,currentSlideNumber:o().number.isRequired,goToSlide:o().func.isRequired,goToSlidePhrase:o().func.isRequired};var pi=di;const fi=["additionalNextButton","additionalPreviousButton","adElement","adInterstitialClicks","autoplayPhraseLabels","children","className","enableAutoplay","enableFullScreen","fullScreenMinimizeButton","fullScreenShowButton","id","indicators","goToSlidePhrase","label","nextButton","pageCountPhrase","previousButton","showAdditionalSlideControls","showLabel","slidesToShow","startAutoplayIcon","startAutoplayText","stopAutoplayIcon","stopAutoplayText","thumbnails"];function hi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hi(Object(n),!0).forEach(function(t){gi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gi(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const bi="c-carousel",yi=`${bi}__button`,vi=`${bi}__icon`,wi=(e,t)=>t?`${e} ${e}--fullscreen`:e,_i=({id:e,onClick:t,isFullScreen:n})=>(0,a.jsx)(Jr,{id:e,onClick:t,label:"Next Slide",className:`${wi(`${yi}`,n)} ${yi}--next`,children:"Next"}),xi=({id:e,onClick:t,isFullScreen:n})=>(0,a.jsx)(Jr,{id:e,onClick:t,label:"Previous Slide",className:`${wi(`${yi}`,n)} ${yi}--previous`,children:"Previous"}),ji=(e,t)=>(0,w.cloneElement)(e,{className:`${wi(`${vi}`,t)} ${e?.props?.className||""}`}),Oi=({id:e,onClick:t,isFullScreen:n})=>(0,a.jsx)(Jr,{id:e,onClick:t,label:"Previous Slide",className:`${wi(`${yi}`,n)} ${yi}--additional-previous`,children:ji((0,a.jsx)(Kr,{name:"ChevronLeft"}),n)}),Si=({id:e,onClick:t,isFullScreen:n})=>(0,a.jsx)(Jr,{id:e,onClick:t,label:"Next Slide",className:`${wi(`${yi}`,n)} ${yi}--additional-next`,children:ji((0,a.jsx)(Kr,{name:"ChevronLeft"}),n)}),ki=({id:e,onClick:t,isFullScreen:n})=>(0,a.jsx)(Jr,{id:e,onClick:t,label:"Exit full screen mode displaying the carousel",className:`${wi(`${yi}`,n)} ${yi}--exit-full-screen`,children:"Minimize Screen"}),Ci=({id:e,onClick:t,isFullScreen:n})=>(0,a.jsx)(Jr,{id:e,onClick:t,label:"Enter full screen mode displaying the carousel",className:`${wi(`${yi}`,n)} ${yi}--enter-full-screen`,children:"Full Screen"}),Pi=({id:e,onClick:t,iconNode:n,text:r,ariaLabel:i,isFullScreen:o})=>(0,a.jsxs)(Jr,{id:e,onClick:t,label:i,className:`${wi(`${yi}`,o)} ${yi}--toggle-auto-play`,children:[n&&ji(n,o),r]}),Ti=(e,t,n,r,i,o=!0)=>{const{children:a}=e.props;return(0,w.cloneElement)(e,{"aria-controls":t,onClick:t=>{r(),e.props?.onClick&&e.props.onClick(t)},className:`${wi(`${yi}`,i)} ${n} ${e.props?.className||""}`,children:o?w.Children.map(a,e=>e.type===Kr?ji((0,w.cloneElement)(e),i):e):a})},Ei=e=>parseInt(window?.getComputedStyle(e)?.getPropertyValue("--viewable-slides")||4,10),Ni=e=>{let{additionalNextButton:t,additionalPreviousButton:n,adElement:r,adInterstitialClicks:i,autoplayPhraseLabels:o={start:"Start automatic slide show",stop:"Stop automatic slide show"},children:s,className:l,enableAutoplay:c=!1,enableFullScreen:u,fullScreenMinimizeButton:d,fullScreenShowButton:p,id:f,indicators:h="none",goToSlidePhrase:m=e=>`Go to slide ${e}`,label:g,nextButton:b,pageCountPhrase:y=(e,t)=>`${e} of ${t}`,previousButton:v,showAdditionalSlideControls:_,showLabel:x=!1,slidesToShow:j,startAutoplayIcon:O,startAutoplayText:S="Start Autoplay",stopAutoplayIcon:k,stopAutoplayText:C="Stop Autoplay",thumbnails:P}=e,T=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,fi);const[E,N]=(0,w.useState)(0),[A,I]=(0,w.useState)(0),[L,D]=(0,w.useState)(0),[R,M]=(0,w.useState)(!1),[$,F]=(0,w.useState)(!1),V=[bi,l].filter(e=>e).join(" "),z=(0,w.useRef)(),B=Object.values(Ni).map(e=>w.Children.map(s,t=>t?.type===e?t:null));let H=w.Children.toArray(B).map((e,t)=>{const n=t+1>A-E&&t+1<=A;return e.type===ri?(0,w.cloneElement)(e,{viewable:n}):null});const U=H.length,q=(0,w.useCallback)((e,t,n)=>{ii.dispatch(e,mi({eventName:e,ansGalleryId:f,ansGalleryHeadline:g,orderPosition:t||A,totalImages:U},n))},[f,g,A,U]);(0,w.useEffect)(()=>{const e=Ei(z.current);N(e),I(e)},[z]),(0,w.useEffect)(()=>{const e=()=>{const e=Ei(z.current);N(e);const t=z.current.querySelectorAll(".c-carousel__slide"),n=Math.max(t.length,1);let r=A;A>n&&(r=n,I(r));const i=e||1,o=t[Math.max(r-i,0)];D(-(o?.offsetLeft||0))};return window.addEventListener("resize",e,!1),()=>window.removeEventListener("resize",e,!1)},[A]),(0,w.useEffect)(()=>{const e=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled)&&(document.fullscreenElement||document.webkitFullscreenElement?(M(!0),q("galleryExpandEnter")):(M(!1),q("galleryExpandExit")))};return document.addEventListener("fullscreenchange",e),()=>window.removeEventListener("fullscreenchange",e,!1)},[q]),r&&i&&(H=((e,t,n,r)=>{for(let i=n;i<e.length;i+=n+1)e.splice(i,0,r===i+1?(0,w.cloneElement)(t,{className:`${bi}__slide`,key:`ad-${i}`}):(0,a.jsx)("div",{className:`${bi}__slide`},`ad-placeholder-${i}`));return e})(H,r,i,A));const Z=e=>{I(e);const t=z.current.querySelectorAll(".c-carousel__slide"),n=E||j||1,r=t[Math.max(e-n,
20)];let i=r?.offsetLeft||0;const o=t.length-n,a=o>=0&&t[o]?.offsetLeft||0;i>a&&(i=a);D(-i),q(A>e?"galleryImagePrevious":"galleryImageNext",e,{autoplay:$})},G=()=>{const e=E||j||1;let t=A-e;t<e&&(t=e),Z(t)},W=()=>{A+1>H.length||Z(A+1)},K=c&&!ai()&&!!window.matchMedia("'(prefers-reduced-motion: reduce)");oi(()=>{A+1>H.length?F(!1):Z(A+1)},K&&$?4e3:null);const Y=()=>{const e=document.getElementById(f);document.fullscreenEnabled?document.fullscreenElement?document.exitFullscreen():e.requestFullscreen():document.webkitFullscreenEnabled&&(document.webkitFullscreenElement?document.webkitExitFullscreen():e.webkitRequestFullscreen())},J=sn({onSwipedLeft:()=>W(),onSwipedRight:()=>G(),preventDefaultTouchmoveEvent:!0,trackMouse:!0}),X=b?Ti(b,f,`${yi}--next`,W,R,!1):(0,a.jsx)(_i,{id:f,onClick:()=>W(),isFullScreen:R}),Q=v?Ti(v,f,`${yi}--previous`,G,R,!1):(0,a.jsx)(xi,{id:f,onClick:()=>G(),isFullScreen:R}),ee=t?Ti(t,f,`${yi}--additional-next`,W,R):(0,a.jsx)(Si,{id:f,onClick:W,isFullScreen:R}),te=n?Ti(n,f,`${yi}--additional-previous`,G,R):(0,a.jsx)(Oi,{id:f,onClick:G,isFullScreen:R}),ne=p?Ti(p,f,`${yi}--enter-full-screen`,Y,R):(0,a.jsx)(Ci,{btnText:R?"Minimize Screen":"Full Screen",id:f,onClick:Y,isFullScreen:R}),re=d?Ti(d,f,`${yi}--exit-full-screen`,Y,R,!1):(0,a.jsx)(ki,{id:f,onClick:Y,isFullScreen:R}),ie=!ai()&&(document.fullscreenEnabled||document.webkitFullscreenEnabled)&&u;return(0,a.jsxs)("div",mi(mi({},T),{},{className:V,id:f,"aria-label":g,role:"region","aria-roledescription":"carousel",style:{"--carousel-slide-width":100/(E||j)+"%","--viewable-slides":j},ref:z,children:[(0,a.jsxs)("div",{className:`${bi}__controls`,children:[(0,a.jsxs)("div",{className:`${bi}__expand-autoplay-container`,children:[ie&&!R?ne:null,ie&&R?re:null,K?(0,a.jsx)(Pi,{id:f,onClick:()=>{!$&&A+1>=H.length&&Z(1),q($?"galleryAutoplayStop":"galleryAutoplayStart"),F(!$)},text:$?C:S,iconNode:$?k:O,ariaLabel:$?o.stop:o.start,isFullScreen:R}):null]}),(0,a.jsxs)("div",{className:`${bi}__counter-controls-container`,children:[x?(0,a.jsx)("p",{className:`${bi}__image-counter-label`,dangerouslySetInnerHTML:{__html:y(A,U)||`${A} of ${U}`}}):null,H.length>1&&_?(0,a.jsxs)("div",{className:`${bi}__additional-controls`,children:[A!==j?te:null,A!==H.length&&H.length>1?ee:null]}):null]})]}),(0,a.jsx)("div",mi(mi({className:`${bi}__track`,"data-testid":"carousel-track",style:{transform:`translate3d(${L}px, 0px, 0px)`},"aria-live":$?"off":"polite"},J),{},{children:H})),(0,a.jsxs)("div",{className:`${bi}__actions`,children:[A!==E?Q:null,A<H.length?X:null]}),"thumbnails"===h?(0,a.jsx)(pi,{currentSlideNumber:A,goToSlide:Z,goToSlidePhrase:m,children:P}):null,"dots"===h?(0,a.jsx)(ci,{currentSlideNumber:A,goToSlide:Z,goToSlidePhrase:m,totalSlideNumber:U}):null]}))};Ni.Button=Jr,Ni.Item=ri,Ni.propTypes={additionalNextButton:o().node,additionalPreviousButton:o().node,adElement:o().node,adInterstitialClicks:o().number,autoplayPhraseLabels:o().shape({start:o().string,stop:o().string}),className:o().string,children:o().node.isRequired,enableAutoplay:o().bool,enableFullScreen:o().bool,fullScreenMinimizeButton:o().node,fullScreenShowButton:o().node,goToSlidePhrase:o().func,id:o().string.isRequired,indicators:o().oneOf(["none","dots","thumbnails"]),label:o().string.isRequired,pageCountPhrase:o().func,previousButton:o().node,nextButton:o().node,showAdditionalSlideControls:o().bool,showLabel:o().bool,slidesToShow:o().number,startAutoplayIcon:o().node,startAutoplayText:o().string,stopAutoplayIcon:o().node,stopAutoplayText:o().string,thumbnails:o().arrayOf(o().node)};const Ai=["children","component","condition"];function Ii(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Li(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(n),!0).forEach(function(t){Di(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Di(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ri=e=>{let{children:t,component:n,condition:r}=e,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Ai);const o=n;return r?(0,a.jsx)(o,Li(Li({},i),{},{children:t})):t};Ri.propTypes={children:o().node.isRequired,component:o().func.isRequired,condition:o().any};var Mi=Ri;const $i=["className","dateString","dateTime"];function Fi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Vi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Fi(Object(n),!0).forEach(function(t){zi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zi(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bi="c-date",Hi=e=>{let{className:t,dateString:n,dateTime:r}=e,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,$i);return(0,a.jsx)("time",Vi(Vi({},i),{},{className:t?`${Bi} ${t}`:`${Bi}`,dateTime:r,children:n}))};Hi.propTypes={className:o().string,dateString:o().string.isRequired,dateTime:o().string.isRequired};const Ui=["children","childrenHTML","className","icon","iconPlacement","open","summary"];function qi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Zi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qi(Object(n),!0).forEach(function(t){Gi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Gi(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Wi="c-details",Ki=e=>{let{children:t,childrenHTML:n=!1,className:r,icon:i,iconPlacement:o="right",open:s=!1,summary:l}=e,c=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Ui);const u=[Wi,i&&`${Wi}--with-icon`,r].filter(e=>e).join(" "),d=(0,a.jsx)("span",{className:`${Wi}__summary-icon`,children:i});return(0,a.jsxs)("details",Zi(Zi({},c),{},{className:u,open:s,children:[(0,a.jsxs)("summary",{children:["left"===o&&d,(0,a.jsx)("span",{className:`${Wi}__summary-text`,children:l}),"right"===o&&d]}),n?(0,a.jsx)("div",{className:`${Wi}__content`,dangerouslySetInnerHTML:{__html:t}}):t]}))};Ki.propTypes={className:o().string,children:o().node,childrenHTML:o().bool,icon:o().node,iconPlacement:o().oneOf(["left","right"]),open:o().bool,summary:o().string.isRequired};function Yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ji(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Xi="c-divider",Qi=({className:e,assistiveHidden:t})=>{const n={};return t&&(n["aria-hidden"]="true"),(0,a.jsx)("hr",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Yi(Object(n),!0).forEach(function(t){Ji(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({className:e?`${Xi} ${e}`:`${Xi}`},n))};Qi.propTypes={className:o().string,assistiveHidden:o().bool};var eo=Qi;const to=["as","children","className"];function no(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ro(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?no(Object(n),!0).forEach(function(t){io(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):no(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function io(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const oo="c-grid",ao=e=>{let{as:t="div",children:n,className:r}=e,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,to);const o=`${t}`;return(0,a.jsx)(o,ro(ro({},i),{},{className:r?`${oo} ${r}`:`${oo}`,children:n}))};ao.propTypes={as:o().string,className:o().string,children:o().node.isRequired};var so=ao;var lo=_().createContext(1);const co=["className","children","truncationLines"];function uo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function po(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uo(Object(n),!0).forEach(function(t){fo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ho="c-heading",mo=e=>{let{className:t,children:n,truncationLines:r}=e,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,co);return(0,a.jsx)(lo.Consumer,{children:e=>{const o=`h${Math.min(e,6)}`;return(0,a.jsx)(o,po(po({},i),{},{style:{"--heading-truncation":r>0?r:null},className:t?`${ho} ${t}`:`${ho}`,children:n}))}})};mo.propTypes={className:o().string,children:o().node.isRequired,truncationLines:o().number};var go=mo;const bo=({children:e})=>(0,a.jsx)(lo.Consumer,{children:t=>(0,a.jsx)(lo.Provider,{value:t+1,children:e})});bo.propTypes={children:o().node.isRequired};var yo=bo,vo=n(43993);const wo=["height","width"];function _o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?_o(Object(n),!0).forEach(function(t){jo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function jo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oo=(e,t,n,r)=>{const{height:i,width:o}=t,a=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,wo);return e.concat("?",new URLSearchParams(xo(xo(xo({},a),n?{width:Math.floor(n)}:{}),r?{height:Math.floor(r)}:{})).toString())};var So=e=>{const{_id:t,auth:n,url:r}=e||{};if(r){if(t){const e=r.match(/\.\w{3,4}$/);return e?`${t}${e[0]}`:`${t}`}if(n)return encodeURIComponent(r)}return null};var ko=({aspectRatio:e="",width:t,height:n,ansImage:r={}})=>{if(t&&n)return{width:t,height:n};const[i,o]=e.split(":"),a=r?.width||t,s=r?.height||n;if(e&&a){const e=o/i*a;return{width:a,height:Math.floor(e)}}if(e&&s){const e=i/o*s;return{width:Math.floor(e),height:s}}return{width:a||null,height:s||null}};const Co=["alt","ansImage","aspectRatio","className","loading","src","resizedOptions","resizerURL","responsiveImages","width","height","sizes"];function Po(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function To(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Po(Object(n),!0).forEach(function(t){Eo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Po(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Eo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const No="c-image",Ao=e=>{let{alt:t="",ansImage:n,aspectRatio:r,className:i,loading:o="lazy",src:s,resizedOptions:l={},resizerURL:c,responsiveImages:u=[],width:d,height:p,sizes:f=[]}=e,h=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Co);const m=n?n.auth[vo.RESIZER_TOKEN_VERSION]:l?.auth,g=n?So(n):s,{arcSite:b}=(0,ye.useFusionContext)(),{resizerURL:y,resizerURLs:v}=we()(b),w=c||v?.[vo.ENVIRONMENT]||y,_=i?`${No} ${i}`:No;if(!m)return console.error("No auth token provided for resizer"),(0,a.jsx)("img",{alt:t,className:_,src:s,width:d,height:p});const x=ko({aspectRatio:r,width:d,height:p,ansImage:n}),j=x.width/x.height,O=Oo(w.concat(g),To(To({},l),{},{auth:m}),x.width,x.height),S=u.filter(e=>Number.isInteger(e)&&e>0).map(e=>Oo(w.concat(g),To(To({},l),{},{auth:m}),e,0!==j?e/j:void 0).concat(` ${e}w`)).join(", ")||null,k=f&&f.length?f.filter(({isDefault:e})=>!e).map(({mediaCondition:e,sourceSizeValue:t})=>`${e} ${t}`).concat(f.find(e=>e.isDefault)?.sourceSizeValue||[]).join(", "):null;return(0,a.jsx)("img",To(To({},h),{},{"data-chromatic":"ignore",alt:t,className:_,loading:o,src:O,srcSet:S,sizes:k},x))};Ao.propTypes={alt:o().string,ansImage:o().shape({_id:o().string,url:o().string,auth:o().object}),aspectRatio:o().string,className:o().string,height:o().number,loading:o().oneOf(["lazy","eager"]),resizedOptions:o().object,resizerURL:o().string,responsiveImages:o().arrayOf(o().number),sizes:o().arrayOf(o().shape({isDefault:o().bool,sourceSizeValue:o().string,mediaCondition:o().string})),width:o().number,src:o().string};var Io=Ao;function Lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Do(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Lo(Object(n),!0).forEach(function(t){Ro(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ro(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mo="c-input",$o={EMAIL:"email",PASSWORD:"password",TEXT:"text",SELECT:"select",RADIO:"radio"},Fo={LARGE:"large",SMALL:"small"},Vo={DEFAULT:"default",ERROR:"error",SUCCESS:"success",WARNING:"warning"},zo=({autoComplete:e,className:t,defaultValue:n="",hidden:r=!1,inputState:i,label:o,name:s,onChange:l=()=>{},checked:c,optionLabelKey:u="label",options:d,optionValueKey:p="value",placeholder:f,required:h=!1,showDefaultError:m=!1,size:g=Fo.LARGE,tip:b,type:y=$o.TEXT,validationErrorMessage:v,validationPattern:_})=>{const[x,j]=(0,w.useState)(!0),[O,S]=(0,w.useState)(n),[k,C]=(0,w.useState)(m),P=(0,w.useRef)();(0,w.useEffect)(()=>{if(k){v&&P.current.setCustomValidity("");const e=P.current?.checkValidity();!e&&v&&P.current.setCustomValidity(v),j(e)}},[k,P,v,_,O]);const T=()=>{C(!0)},E=e=>{S(e.target.value),l({value:e.target.value})},N=`id_${s}_error`,A=`id_${s}_input`,I=Do(Do(Do(Do(Do(Do(Do({},e?{autoComplete:e}:{}),""!==n?{defaultValue:n}:{}),_?{pattern:_}:{}),f?{placeholder:f,"aria-placeholder":f}:{}),h?{required:h}:{}),b||!x?{"aria-describedby":N}:{}),x?{}:{"aria-invalid":!0}),L=(({valid:e,inputState:t})=>e?t||Vo.DEFAULT:Vo.ERROR)({valid:x,inputState:i}),D=[Mo,t,`${Mo}--${g}`,r?`${Mo}--hidden`:`${Mo}--${L}`,y===$o.RADIO?`${Mo}__radio`:void 0].filter(e=>e).join(" ");return(0,a.jsxs)("div",{className:D,"data-testid":"label-container",children:[y!==$o.RADIO&&(0,a.jsx)("label",{className:`${Mo}__label`,htmlFor:A,children:o}),y===$o.SELECT?(0,a.jsx)("select",Do(Do({className:`${Mo}__input ${Mo}__dropdown`,id:A,name:s,onBlur:T,onChange:E,ref:P},I),{},{children:d&&d.map(e=>(0,a.jsx)("option",{value:e[p],children:e[u]},e[p]))})):(0,a.jsx)("input",Do({className:`${Mo}__input`,id:A,name:s,type:y,onBlur:T,checked:c,onChange:E,ref:P},I),p),y===$o.RADIO&&(0,a.jsx)("label",{className:`${Mo}__label`,htmlFor:A,children:o}),b||!x?(0,a.jsxs)("div",{className:`${Mo}__tip`,id:N,children:[!x&&P.current?.validationMessage&&(0,a.jsx)("span",{role:"alert",children:`${P.current.validationMessage} `}),b&&x&&(0,a.jsx)("span",{children:b})]}):null]})};zo.propTypes={className:o().string,defaultValue:o().string,hidden:o().bool,inputState:o().oneOf(Object.values(Vo)),label:o().string.isRequired,name:o().string.isRequired,onChange:o().func,optionLabelKey:o().string,options:o().array,optionValueKey:o().string,checked:o().bool,placeholder:o().string,required:o().bool,showDefaultError:o().bool,size:o().oneOf(Object.values(Fo)),tip:o().string,type:o().oneOf(Object.values($o)),validationErrorMessage:o().string,validationPattern:o().string};const Bo=({children:e,separator:t})=>_().Children.toArray(e).map((e,n)=>(0,a.jsxs)(w.Fragment,{children:[n>0&&(0,a.jsx)(t,{}),e]},`separated_key_${n}`));Bo.propTypes={children:o().node.isRequired,separator:o().elementType.isRequired};var Ho=n(91071),Uo=n.n(Ho);let qo;const Zo=(e,t,n)=>(void 0===qo&&(qo="undefined"!=typeof window&&"IntersectionObserver"in window),qo?((e,t,{offsetBottom:n=0,offsetLeft:r=0,offsetRight:i=0,offsetTop:o=0}={})=>{const a=new IntersectionObserver(([e])=>{t(e.isIntersecting)},{root:null,rootMargin:`${n}px ${r}px ${o}px ${i}px`});return a.observe(e),()=>{a.unobserve(e)}})(e,t,n):((e,t,{offsetBottom:n=0,offsetLeft:r=0,offsetRight:i=0,offsetTop:o=0,throttle:a=100}={})=>{let s;const l=()=>{const a=!!e&&function(e,{offsetBottom:t,offsetLeft:n,offsetRight:r,offsetTop:i}){if(!function(e){return"isConnected"in e?e.isConnected:document.body.contains(e)}(e))return!1;const o=e.getBoundingClientRect();return o.bottom+t>=0&&o.left-n<=window.innerWidth&&o.right+r>=0&&o.top-i<=window.innerHeight}(e,{offsetBottom:n,offsetLeft:r,offsetRight:i,offsetTop:o});a!==s&&(s=a,t(a))},c=Uo()(l,a);return l(),window.addEventListener("scroll",c),window.addEventListener("resize",c),()=>{window.removeEventListener("scroll",c),window.removeEventListener("resize",c)}})(e,t,n));function Go(e,t,n){void 0===n&&(n={});var r=(0,w.useState)(null),i=r[0],o=r[1],a=(0,w.useMemo)(function(){return n},[n.enabled,n.offsetBottom,n.offsetLeft,n.offsetRight,n.offsetTop,n.throttle]);return(0,w.useEffect)(function(){if(i&&!1!==a.enabled)return e(i,t,a)},[i,t,a]),o}function Wo(e,t){return void 0===t&&(t={}),Go(Zo,e,t)}function Ko(){return(Ko=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Yo(e){var t=e.children,n=e.renderPlaceholder,r=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,["children","renderPlaceholder"]),i=(0,w.useState)(!1),o=i[0],a=Wo(i[1],Ko({enabled:!o},r));return _().createElement(w.Fragment,null,o?t:n(a))}const Jo=e=>(0,a.jsx)("div",{ref:e}),Xo=({children:e,enabled:t=!1,offsetTop:n=300,offsetBottom:r=300,offsetLeft:i=0,offsetRight:o=0,throttle:s=100,renderPlaceholder:l})=>t&&"undefined"!=typeof window?(0,a.jsx)(Yo,{offsetTop:n,offsetBottom:r,offsetLeft:i,offsetRight:o,throttle:s,renderPlaceholder:l&&"function"==typeof l?l:Jo,children:e}):e;Xo.propTypes={children:o().oneOfType([o().element,o().arrayOf(o().element)]),enabled:o().bool,offsetTop:o().number,offsetBottom:o().number,offsetLeft:o().number,offsetRight:o().number,throttle:o().number,renderPlaceholder:o().func};var Qo=Xo;const ea=["assistiveHidden","children","className","href","openInNewTab","supplementalText"];function ta(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function na(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?ta(Object(n),!0).forEach(function(t){ra(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ta(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ra(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ia="c-link";const oa=e=>{let{assistiveHidden:t=!1,children:n,className:r="",href:i,openInNewTab:o,supplementalText:s=""}=e,l=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,ea);const c=i.startsWith("http")&&!1!==o||!0===o,u=function(e,t){return e||(t?"Opens in new window":"")}(s,c);return(0,a.jsxs)("a",na(na({},l),{},{className:r?`${ia} ${r}`:`${ia}`,href:i,"aria-hidden":t?"true":void 0,tabIndex:t?"-1":void 0,rel:c?"noreferrer":void 0,target:c?"_blank":void 0,children:[n,u?(0,a.jsx)("span",{className:"visually-hidden",children:u}):null]}))};oa.propTypes={className:o().string,assistiveHidden:o().bool,children:o().node.isRequired,href:o().string.isRequired,openInNewTab:o().bool,supplementalText:o().string};var aa=oa;const sa=["caption","children","className","credit","title"];function la(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ca(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?la(Object(n),!0).forEach(function(t){ua(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):la(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ua(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const da="c-media-item",pa=e=>{let{caption:t,children:n,className:r,credit:i,title:o}=e,s=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,sa);return(0,a.jsxs)("figure",ca(ca({},s),{},{className:r?`${da} ${r}`:`${da}`,children:[n,o||t||i?(0,a.jsxs)("figcaption",{className:`${da}__fig-caption`,children:[o?(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:`${o} `},className:`${da}__title`}):null,t?(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:`${t} `},className:`${da}__caption`}):null,i?(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:`${i} `},className:`${da}__credit`}):null]}):null]}))};pa.propTypes={className:o().string,title:o().node,caption:o().node,credit:o().node,children:o().node};var fa=pa,ha=n(65848),ma=n(14375),ga=n(18);var ba=e=>{if(!e)return"";const t=(e=>{let t;return"undefined"==typeof window?t=new URL(e,"http://example.com"):(t=document.createElement("a"),t.href=e,""===t.host&&(t.href=`${t.href}`)),t})(e);return t.hash||t.search||t.pathname.match(/\./)?e:"/"!==e[e.length-1]?`${e}/`:e};const ya=e=>"image"===e?.basic?.type&&e?.basic?.url?e.basic:null;var va=e=>{const{promo_items:t}=e||{};if(!t)return null;const n=ya(t);if(n)return n;if(t.lead_art){const e=ya(t.lead_art.promo_items);if(e)return e}return null};function wa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?wa(Object(n),!0).forEach(function(t){xa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wa(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xa(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ja=(e,t,r)=>{const i=(e=>{let t=null;"undefined"==typeof window&&(t=(new(n(79189))).parseFromString(e).getElementsByTagName("META").map(e=>({metaName:e.getAttribute("name"),metaValue:e.getAttribute("value")||e.getAttribute("content")})));return t})(ha.renderToString((0,a.jsx)(r,{}))).filter(t=>!e[t.metaName]);return(0,a.jsx)(a.Fragment,{children:i.length>0&&i.map((e,n)=>(0,a.jsx)(t,{name:e.metaName,default:e.metaValue},`custom-meta-data-${n}`))})},Oa=(e,t)=>{try{const n=new ga.URL(t||"",e);return ba(n.href)}catch{return null}},Sa=(e,t,n,r)=>{const i=((e="")=>Array.from(e.matchAll(/(?:[&?]?([\w\d%\-._~]{1:100})=([\w\d%\-._~]{1:100})){:10}?/gi)).reduce((e,[,t,n])=>e[t]?_a(_a({},e),{},{[t]:[..."object"==typeof e[t]?e[t]:[e[t]],n]}):_a(_a({},e),{},{[t]:n}),{}))(r),o=n?.authors?n?.authors[0]?.bio_page:"",a=n?.canonical_url,s=i.query?`${r.replace(/\?.*/,"")}?query=${i.query}`:"",l=n?.metadata?`search/${n?.metadata.q}/`:"",c=n?.Payload?`tags/${n?.Payload[0]?.slug}/`:"";return{article:Oa(t,a),author:Oa(t,o),gallery:Oa(t,a),homepage:t,"queryly-search":Oa(t,s),search:Oa(t,l),section:Oa(t,n?._id||""),tag:Oa(t,c),video:Oa(t,a)}[e]},ka=(e,t,n)=>{const r=n&&n.websites&&n.websites[e];return r?`${t}${r.website_url}`:null},Ca=(e,t)=>{if(!t)return null;if(!t.startsWith("http")){return`${e}¬${t}`.replace(/\/?¬\/?/,"/")}return t},Pa=({arcSite:e,canonicalDomain:t,canonicalResolver:n,facebookAdmins:r,fallbackImage:i,globalContent:o,MetaTag:s,MetaTags:l,metaValue:c,outputCanonicalLink:u,requestUri:d,resizerURL:p,twitterUsername:f,websiteDomain:h,websiteName:m})=>{const g=c("page-type");let b=null,y=!0,v=null;const w={description:null,keywords:null,ogImage:null,ogImageAlt:null,url:ka(e,h,o),"page-type":g,title:c("title")||m,"og:title":c("og:title")||m,ogSiteName:m,twitterUsername:f?`@${f}`:null,twitterCard:"summary_large_image","twitter:title":c("twitter:title")||m,twitterImage:null,fallbackImage:Ca(h,i)},_=(0,ma.useContent)(c("og:image")?{source:"signing-service",query:{id:c("og:image")}}:{}),x=(0,ma.useContent)(c("twitter:image")?{source:"signing-service",query:{id:c("twitter:image")}}:{}),j=o&&o.authors&&o.authors.length?o.authors[0]:{},O="string"==typeof j.image?j.image:j.image&&j.image.url,S=(0,ma.useContent)(O?{source:"signing-service",query:{id:O}}:{}),k=(0,ma.useContent)(w.fallbackImage?{source:"signing-service",query:{id:w.fallbackImage}}:{}),C={smart:!0},{resizerURL:P,resizerURLs:T}=we()(e)||{},E=p||T?.[vo.ENVIRONMENT]||P,N=(e,t,n,r=C)=>Oo(E.concat(e),_a(_a({},r),{},{auth:t}),1200,n),A=k?N(encodeURIComponent(w.fallbackImage),k.hash,void 0,{}):w.fallbackImage,I=(e="og:image")=>{if("og:image"===e&&_)return N(encodeURIComponent(c("og:image")),_.hash,630);if("twitter:image"===e&&x)return N(encodeURIComponent(c("twitter:image")),x.hash,630);if(o?.promo_items?.basic?.url||"image"===o?.promo_items?.lead_art?.type){const e=va(o),t=e?.auth[vo.RESIZER_TOKEN_VERSION];return N(So(e),t,630)}return null},L=(e="og:image:alt")=>c(e)?c(e):o?.promo_items?.basic?.alt_text||o?.promo_items?.basic?.caption||o?.promo_items?.lead_art?.alt_text||o?.promo_items?.lead_art?.caption||null;if("article"===g||"video"===g||"gallery"===g){if("undefined"==typeof window){const e=o&&o.description&&o.description.basic,t=o&&o.headlines&&o.headlines.basic;w.title=c("title")||t&&`${t} â ${m}`||m,w.description=c("description")||e||null,w["og:title"]=c("og:title")||t||m,w.ogImage=I("og:image")||A,w.ogImageAlt=L("og:image:alt"),w["twitter:title"]=c("twitter:title")||t||m,w.twitterImage=I("twitter:image")||A,w.twitterImageAlt=L("twitter:image:alt"),c("keywords")?w.keywords=c("keywords"):o&&o.taxonomy&&o.taxonomy.seo_keywords?void 0!==o.taxonomy.seo_keywords&&(w.keywords=o.taxonomy.seo_keywords.join(",")):o&&o.taxonomy&&o.taxonomy.tags?void 0!==o.taxonomy.tags&&o.taxonomy.tags.length&&(w.keywords=[],o.taxonomy.tags.forEac
2h(e=>{e.slug&&w.keywords.push(e.slug)}),w.keywords=w.keywords.join(",")):w.keywords=null,b=(0,a.jsxs)(a.Fragment,{children:[w.description&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{name:"description",content:w.description}),(0,a.jsx)("meta",{name:"twitter:description",content:w.description}),(0,a.jsx)("meta",{property:"og:description",content:w.description})]}),w.keywords&&(0,a.jsx)("meta",{name:"keywords",content:w.keywords}),(0,a.jsx)("meta",{property:"og:title",content:w["og:title"]}),(0,a.jsx)("meta",{name:"twitter:title",content:w["twitter:title"]}),w.ogImage&&(0,a.jsx)("meta",{property:"og:image",content:w.ogImage}),w.ogImageAlt&&(0,a.jsx)("meta",{property:"og:image:alt",content:w.ogImageAlt}),w.twitterImage&&(0,a.jsx)("meta",{name:"twitter:image",content:w.twitterImage}),w.twitterImageAlt&&(0,a.jsx)("meta",{name:"twitter:image:alt",content:w.twitterImageAlt}),"article"===g&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:type",content:"article"}),(0,a.jsx)("meta",{name:"robots",content:"noarchive"})]})]})}}else if("author"===g){const e=j.byline&&`${j.byline} - ${m}`||m;w.description=c("description")||j.bio||null,w["og:title"]=c("og:title")||e,w["twitter:title"]=c("twitter:title")||e,w.title=c("title")||e;const{name:t}=j,n=S?.hash?N(encodeURIComponent(O),S.hash,1200):A,r=("object"==typeof j.image?j.image.alt_text:j.byline||t)||t||j.byline||m;b=(0,a.jsxs)(a.Fragment,{children:[w.description&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{name:"description",content:w.description}),(0,a.jsx)("meta",{property:"og:description",content:w.description}),(0,a.jsx)("meta",{name:"twitter:description",content:w.description})]}),(0,a.jsx)("meta",{property:"og:title",content:w["og:title"]}),(0,a.jsx)("meta",{name:"twitter:title",content:w["twitter:title"]}),n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:image",content:n}),(0,a.jsx)("meta",{property:"og:image:alt",content:r}),(0,a.jsx)("meta",{name:"twitter:image",content:n}),(0,a.jsx)("meta",{name:"twitter:image:alt",content:r})]})]})}else if("search"===g){const e=`Search - ${m}`;w.title=c("title")||e,w["og:title"]=c("og:title")||e,w["twitter:title"]=c("twitter:title")||e,b=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:title",content:w["og:title"]}),(0,a.jsx)("meta",{name:"twitter:title",content:w["twitter:title"]})]})}else if("tag"===g){const e=o&&o.Payload&&o.Payload.length?o.Payload[0]:{},t=e.name&&`${e.name} - ${m}`||m;w.description=c("description")||e.description||null,w.title=c("title")||t,w["og:title"]=c("og:title")||t,w["twitter:title"]=c("twitter:title")||t,b=(0,a.jsxs)(a.Fragment,{children:[w.description&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{name:"description",content:w.description}),(0,a.jsx)("meta",{property:"og:description",content:w.description}),(0,a.jsx)("meta",{name:"twitter:description",content:w.description})]}),(0,a.jsx)("meta",{property:"og:title",content:w["og:title"]}),(0,a.jsx)("meta",{name:"twitter:title",content:w["twitter:title"]}),A&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:image",content:A}),(0,a.jsx)("meta",{property:"og:image:alt",content:w["og:title"]}),(0,a.jsx)("meta",{name:"twitter:image",content:A}),(0,a.jsx)("meta",{name:"twitter:image:alt",content:w["twitter:title"]})]})]})}else if("section"===g){const e=o&&o.name?o:{},t=o&&o.metadata?o.metadata:{},n=e.name&&`${e.name} - ${m}`||m;w.description=c("description")||t.metadata_description||null,w.title=c("title")||t.metadata_title||n,w["og:title"]=c("og:title")||n,w["twitter:title"]=c("twitter:title")||n,b=(0,a.jsxs)(a.Fragment,{children:[w.description&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{name:"description",content:w.description}),(0,a.jsx)("meta",{property:"og:description",content:w.description}),(0,a.jsx)("meta",{name:"twitter:description",content:w.description})]}),(0,a.jsx)("meta",{property:"og:title",content:w["og:title"]}),(0,a.jsx)("meta",{name:"twitter:title",content:w["twitter:title"]}),A&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:image",content:A}),(0,a.jsx)("meta",{property:"og:image:alt",content:w["og:title"]}),(0,a.jsx)("meta",{name:"twitter:image",content:A}),(0,a.jsx)("meta",{name:"twitter:image:alt",content:w["twitter:title"]})]})]})}else"homepage"===g?b=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:title",content:w["og:title"]}),(0,a.jsx)("meta",{name:"twitter:title",content:w["twitter:title"]}),A&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:image",content:A}),(0,a.jsx)("meta",{property:"og:image:alt",content:m}),(0,a.jsx)("meta",{name:"twitter:image",content:A}),(0,a.jsx)("meta",{name:"twitter:image:alt",content:m})]})]}):"nativo-clp"===g?(y=!1,b=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge"}),(0,a.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]})):b=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:title",content:w["og:title"]}),(0,a.jsx)("meta",{name:"twitter:title",content:w["twitter:title"]})]});const D=(0,a.jsxs)(a.Fragment,{children:[w.ogSiteName&&(0,a.jsx)("meta",{property:"og:site_name",content:w.ogSiteName}),w.url&&(0,a.jsx)("meta",{property:"og:url",content:w.url}),w.twitterUsername&&(0,a.jsx)("meta",{name:"twitter:site",content:w.twitterUsername}),w.twitterCard&&(0,a.jsx)("meta",{name:"twitter:card",content:w.twitterCard}),r&&(0,a.jsx)("meta",{property:"fb:admins",content:r})]});if(u){const e=o&&o.canonical_url_external;if(e)v=(0,a.jsx)("link",{rel:"canonical",href:e});else{const e=Sa(g,t||h,o,d),r=n?n(g,e):e;r&&(v=(0,a.jsx)("link",{rel:"canonical",href:r}))}}const R=ja(w,s,l);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("title",{children:w.title}),b,R,y&&D,v]})};Pa.propTypes={arcSite:o().string,canonicalDomain:o().string,facebookAdmins:o().string,fallbackImage:o().string,globalContent:o().shape({name:o().string,description:o().shape({basic:o().string}),headlines:o().shape({basic:o().string}),taxonomy:o().shape({seo_keywords:o().array,tags:o().array}),authors:o().array,Payload:o().array,metadata:o().shape({metadata_description:o().string,metadata_title:o().string}),canonical_url:o().string}),MetaTag:o().func,MetaTags:o().func,metaValue:o().func,outputCanonicalLink:o().bool,resizerURL:o().string,twitterUsername:o().string,websiteDomain:o().string,websiteName:o().string};const Ta=["children","className","href"];function Ea(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Na(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Ea(Object(n),!0).forEach(function(t){Aa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ea(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Aa(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ia="c-overline",La=e=>{let{children:t,className:n,href:r}=e,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Ta);return r?(0,a.jsx)("a",Na(Na({},i),{},{className:n?`${Ia} ${n}`:`${Ia}`,href:r,children:t})):(0,a.jsx)("span",Na(Na({},i),{},{className:n?`${Ia} ${n}`:`${Ia}`,children:t}))};La.propTypes={className:o().string,children:o().node.isRequired,href:o().string};var Da=La;const Ra=["height","media","resizedOptions","resizerURL","src","width"];function Ma(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ma(Object(n),!0).forEach(function(t){Fa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ma(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fa(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Va=e=>{let{height:t,media:n,resizedOptions:r={},resizerURL:i="",src:o,width:s}=e,l=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Ra);return n&&o?(0,a.jsx)("source",$a($a({},l),{},{height:t,media:n,srcSet:r?.auth&&i?Oo(i.concat(o),r,s,t):o,width:s})):null};Va.propTypes={height:o().number,media:o().string.isRequired,resizedOptions:o().object,resizerURL:o().string,src:o().string.isRequired,width:o().number};var za=Va;const Ba=["children","className"];function Ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ua(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ha(Object(n),!0).forEach(function(t){qa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qa(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Za="c-picture",Ga=e=>{let{children:t,className:n}=e,r=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Ba);return(0,a.jsx)("picture",Ua(Ua({},r),{},{className:n?`${Za} ${n}`:`${Za}`,children:w.Children.toArray(t).filter(e=>[Io,za].includes(e.type))}))};Ga.Source=za,Ga.Image=Io,Ga.propTypes={className:o().string,children:o().node.isRequired};const Wa=["children","className","href"];function Ka(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Ka(Object(n),!0).forEach(function(t){Ja(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ka(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ja(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Xa="c-pill",Qa=e=>{let{children:t,className:n,href:r}=e,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Wa);return r?(0,a.jsx)("a",Ya(Ya({},i),{},{className:n?`${Xa} ${n}`:`${Xa}`,href:r,children:t})):(0,a.jsx)("span",Ya(Ya({},i),{},{className:n?`${Xa} ${n}`:`${Xa}`,children:t}))};Qa.propTypes={className:o().string,children:o().node.isRequired,href:o().string};var es=Qa;const ts=["children","className"];function ns(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ns(Object(n),!0).forEach(function(t){is(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ns(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function is(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const os="c-price__list",as=e=>{let{children:t,className:n}=e,r=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,ts);return(0,a.jsx)("div",rs(rs({},r),{},{className:n?`${os} ${n}`:`${os}`,children:t}))};as.propTypes={className:o().string,children:o().node.isRequired};var ss=as;const ls=["children","className"];function cs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function us(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cs(Object(n),!0).forEach(function(t){ds(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cs(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ds(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ps="c-price__sale",fs=e=>{let{children:t,className:n}=e,r=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,ls);return(0,a.jsx)("div",us(us({},r),{},{className:n?`${ps} ${n}`:`${ps}`,children:t}))};fs.propTypes={className:o().string,children:o().node.isRequired};var hs=fs;const ms=["children","className"];function gs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?gs(Object(n),!0).forEach(function(t){ys(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gs(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ys(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const vs="c-price",ws=e=>{let{children:t,className:n}=e,r=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,ms);const i=Object.values(ws).map(e=>e),o=w.Children.map(t,e=>e?.type&&i?.find(t=>t===e?.type)?e:null);return(0,a.jsx)("div",bs(bs({},r),{},{className:n?`${vs} ${n}`:`${vs}`,"data-testid":"price",children:o}))};ws.List=ss,ws.Sale=hs,ws.propTypes={className:o().string,children:o().node.isRequired};const _s=["className","separatorString"];function xs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function js(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xs(Object(n),!0).forEach(function(t){Os(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xs(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Os(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ss="c-separator",ks=e=>{let{className:t,separatorString:n=""}=e,r=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,_s);const i=""!==n,o=[Ss,t].filter(e=>e).join(" ");return(0,a.jsx)("span",js(js({},r),{},{className:o,style:{"--separator-content":i?`"${n}"`:null}}))};ks.propTypes={className:o().string,separatorString:o().string};const Cs=["as","className","alignment","children","direction","divider","inline","justification","gap","wrap"];function Ps(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ts(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ps(Object(n),!0).forEach(function(t){Es(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ps(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Es(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ns=e=>{let{as:t="div",className:n="",alignment:r="unset",children:i,direction:o="vertical",divider:s=!1,inline:l=!1,justification:c="start",ga
2p:u,wrap:d="nowrap"}=e,p=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Cs);const f=_().Children.count(i),h=`${t}`;return(0,a.jsx)(h,Ts(Ts({},p),{},{className:n?`c-stack ${n}`:"c-stack","data-style-direction":o,"data-style-justification":c,"data-style-alignment":r,"data-style-inline":l,"data-style-wrap":d,style:{"--c-stack-gap":u},children:_().Children.map(i,(e,t)=>(0,a.jsxs)(a.Fragment,{children:[e,s&&t!==f-1?(0,a.jsx)("hr",{"aria-hidden":"true"}):null]}))}))};Ns.propTypes={as:o().string,className:o().string,alignment:o().oneOf(["unset","start","center","end"]),children:o().any.isRequired,direction:o().oneOf(["vertical","horizontal"]),divider:o().bool,inline:o().bool,justification:o().oneOf(["start","center","end","space-between"]),gap:o().string,wrap:o().oneOf(["nowrap","wrap","reverse"])};var As=Ns,Is=n(90641);var Ls=(e,t={})=>{if("undefined"==typeof window||"undefined"==typeof document)return"";if(e){const n=(new DOMParser).parseFromString(e,"text/html").body;return Object.entries(t).filter(([,e])=>void 0!==e).forEach(([e,t])=>{n.querySelector(".powa")?.setAttribute(`data-${e}`,t)}),n.innerHTML}return""};function Ds(e,t,n){return Math.abs(e-t)<=n}var Rs=e=>{if("undefined"==typeof window||"undefined"==typeof document)return"";if(e){const t=(new DOMParser).parseFromString(e,"text/html"),n=t.body.querySelector(".powa")?.dataset;return function(e){return Ds(.5625,e,.001)?"16:9":1===e?"1:1":.75===e?"4:3":Ds(1.7777,e,.001)?"9:16":"16:9"}(Number(n.aspectRatio))}return"16:9"};const Ms=["className","aspectRatio","viewportPercentage","embedMarkup","borderRadius"];function $s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$s(Object(n),!0).forEach(function(t){Vs(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Vs(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zs="c-video",Bs=e=>Math.trunc(1e4*e)/1e4,Hs=e=>{let{className:t,aspectRatio:n,viewportPercentage:r,embedMarkup:i,borderRadius:o}=e,s=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Ms);const l=i&&"undefined"!=typeof window;(0,w.useEffect)(()=>{l&&window.powaBoot&&window.powaBoot()},[l]);const c=[zs,t].filter(e=>e).join(" "),u=n&&"--"!==n,[d,p]=u?n.split(":"):Rs(i).split(":"),f=Bs(p/d),h=Ls(i,{"aspect-ratio":f,"border-radius":f>1?o:void 0});return(0,a.jsx)("div",{className:`${zs}__frame`,children:(0,a.jsx)("div",Fs(Fs({},s),{},{className:c,style:{"--aspect-ratio":Bs(d/p),"--height":f>1?r:65},children:l?(0,a.jsx)(Is.A,{markup:h,children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:h}})}):null}))})};Hs.propTypes={className:o().string,aspectRatio:o().string,viewportPercentage:o().number,borderRadius:o().bool};var Us=Hs;const qs=e=>t=>t[e];var Zs=e=>{const t=e?.by?.map(qs("name")).join(", ")||!1,n=e?.affiliation?.map(qs("name")).join(", ")||!1;
2return t||n?`(${[t,n].filter(Boolean).join("/")})`:""};const Gs=Object.freeze({Email:"email",Facebook:"facebook",Instagram:"instagram",LinkedIn:"linkedin",Medium:"medium",Pinterest:"pinterest",Reddit:"reddit",Rss:"rss",Snapchat:"snapchat",SoundCloud:"soundcloud",Tumblr:"tumblr",Twitter:"twitter",WhatsApp:"whatsapp",Youtube:"youtube"});function Ws(e,t){if(t.match(/^https?:\/\/\S+/))return t;switch(e){case Gs.Email:return`mailto:${t}`;case Gs.Facebook:return`https://www.facebook.com/${t}`;case Gs.Instagram:return`https://www.instagram.com/${t}/`;case Gs.LinkedIn:return`https://www.linkedin.com/in/${t}/`;case Gs.Medium:return`https://medium.com/${t}`;case Gs.Pinterest:return`https://www.pinterest.com/${t}/`;case Gs.Reddit:return`https://www.reddit.com/user/${t}/`;case Gs.Snapchat:return`https://www.snapchat.com/add/${t}`;case Gs.SoundCloud:return`https://soundcloud.com/${t}`;case Gs.Tumblr:return`https://${t}.tumblr.com`;case Gs.Twitter:return`https://twitter.com/${t}`;case Gs.WhatsApp:return`https://wa.me/${t}`;case Gs.Youtube:return`https://www.youtube.com/user/${t}`;default:return t}}Ws.types=Gs;var Ks=Ws;var Ys=(e,t)=>{if(0===t)return;const n=((e,t)=>{let n=Math.abs(e),r=Math.abs(t);for(;r;){const e=r;r=n%r,n=e}return n})(e,t);return`${e/n}:${t/n}`};var Js=e=>{if(e?.focal_point){const{x:t,y:n}=e.focal_point;if(t&&n)return{focal:`${t},${n}`}}return{smart:!0}};var Xs=(e,t=!1)=>{let n="";if(!t&&e){const t=/^https:\/\/cloudfront.{1,50}images\.arcpublishing\.com\/.{1,150}\/(\w{26})(?:$|\.\w{3,4})/,r=e.match(t);n=Array.isArray(r)&&r.length>=2?r[1]:""}return n};n(11221);var Qs=n(77508),el=n.n(Qs);var tl=function(){const{arcSite:e}=(0,ye.useFusionContext)(),{locale:t="en"}=we()(e);return el()(t)}},79189:function(e,t,n){var r=n(19982);e.exports=r},64565:function(e,t,n){var r=/(<\/?[a-z][a-z0-9]*(?::[a-z][a-z0-9]*)?\s*(?:\s+[a-z0-9-_]+=(?:(?:'[\s\S]*?')|(?:"[\s\S]*?")))*\s*\/?>)|([^<]|<(?![a-z\/]))*/gi,i=/\s[a-z0-9-_]+\b(\s*=\s*('|")[\s\S]*?\2)?/gi,o=/(\s[a-z0-9-_]+\b\s*)(?:=(\s*('|")[\s\S]*?\3))?/gi,a=/^<[a-z]/,s=/\/>$/,l=/^<\//,c=/<\/?([a-z][a-z0-9]*)(?::([a-z][a-z0-9]*))?/i,u=/^('|")|('|")$/g,d=/^(?:area|base|br|col|command|embed|hr|img|input|link|meta|param|source)/i,p=n(89493);function f(e,t,n){for(var f,h,m,g,b,y,v,w,_=[],x=0,j=e.match(r),O=!1,S=null,k=0,C=j.length;k<C;k++)if(h=(w=j[k]).match(c),(f=t.test(w))&&!O&&(O=!0),O){if(a.test(w)){m=s.test(w)||d.test(h[1]),g=[];for(var P=0,T=(y=w.match(i)||[]).length;P<T;P++)o.lastIndex=0,b=o.exec(y[P]),g.push({name:b[1].trim(),value:(b[2]||"").trim().replace(u,"")});(S&&S.childNodes||_).push(v=new p({nodeType:1,nodeName:h[1],namespace:h[2],attributes:g,childNodes:[],parentNode:S,startTag:w,selfCloseTag:m})),x++,!n&&f&&S&&_.push(v),m?x--:S=v}else l.test(w)?S.nodeName==h[1]&&(S=S.parentNode,x--):S.childNodes.push(new p({nodeType:3,text:w,parentNode:S}));if(0==x&&(O=!1,S=null,n))break}return n?_[0]||null:_}function h(e){this.rawHTML=e}h.prototype.getElementsByClassName=function(e){var t=new RegExp("class=('|\")(.*?\\s)?"+e+"(\\s.*?)?\\1");return f(this.rawHTML,t)},h.prototype.getElementsByTagName=function(e){var t=new RegExp("^<"+e,"i");return f(this.rawHTML,t)},h.prototype.getElementById=function(e){var t=new RegExp("id=('|\")"+e+"\\1");return f(this.rawHTML,t,!0)},h.prototype.getElementsByName=function(e){return this.getElementsByAttribute("name",e)},h.prototype.getElementsByAttribute=function(e,t){var n=new RegExp("\\s"+e+"=('|\")"+t+"\\1");return f(this.rawHTML,n)},e.exports=h},19982:function(e,t,n){var r=n(64565);function i(){}i.prototype.parseFromString=function(e){return new r(e)},e.exports=i},89493:function(e){function t(e){this.namespace=e.namespace||null,this.text=e.text,this._selfCloseTag=e.selfCloseTag,Object.defineProperties(this,{nodeType:{value:e.nodeType},nodeName:{value:1==e.nodeType?e.nodeName:"#text"},childNodes:{value:e.childNodes},firstChild:{get:function(){return this.childNodes[0]||null}},lastChild:{get:function(){return this.childNodes[this.childNodes.length-1]||null}},parentNode:{value:e.parentNode||null},attributes:{value:e.attributes||[]},innerHTML:{get:function(){for(var e,t="",n=0,r=this.childNodes.length;n<r;n++)t+=3===(e=this.childNodes[n]).nodeType?e.text:e.outerHTML;return t}},outerHTML:{get:function(){if(3!=this.nodeType){var e,t=(this.attributes.map(function(e){return e.name+(e.value?'="'+e.value+'"'
2:"")})||[]).join(" ");e="<"+this.nodeName+(t?" "+t:"")+(this._selfCloseTag?"/":"")+">",this._selfCloseTag||(e+=(this._selfCloseTag?"":this.childNodes.map(function(e){return e.outerHTML})||[]).join(""),e+="</"+this.nodeName+">")}else e=this.textContent;return e}},textContent:{get:function(){return this.nodeType==t.TEXT_NODE?this.text:this.childNodes.map(function(e){return e.textContent}).join("").replace(/\x20+/g," ")}}})}function n(e,t,r){var i=[];if(r=!!r,3!==e.nodeType)for(var o=0,a=e.childNodes.length;o<a&&(3===e.childNodes[o].nodeType||!t(e.childNodes[o])||(i.push(e.childNodes[o]),!r));o++)i=i.concat(n(e.childNodes[o],t));return r?i[0]:i}t.prototype.getAttribute=function(e){for(var t=0,n=this.attributes.length;t<n;t++)if(this.attributes[t].name==e)return this.attributes[t].value;return null},t.prototype.getElementsByTagName=function(e){return n(this,function(t){return t.nodeName==e})},t.prototype.getElementsByClassName=function(e){var t=new RegExp("^(.*?\\s)?"+e+"(\\s.*?)?$");return n(this,function(e){return e.attributes.length&&t.test(e.getAttribute("class"))})},t.prototype.getElementById=function(e){return n(this,function(t){return t.attributes.length&&t.getAttribute("id")==e},!0)},t.prototype.getElementsByName=function(e){return n(this,function(t){return t.attributes.length&&t.getAttribute("name")==e})},t.ELEMENT_NODE=1,t.TEXT_NODE=3,e.exports=t},80890:function(e,t,n){"use strict";n.r(t),n.d(t,{ArticleTagItems:function(){return l}});n(40809);var r=n(19674),i=n.n(r),o=n(4321),a=n(7770),s=n(74848);const l=({content:e})=>{const{taxonomy:{tags:t=[]}={}}=e;return t.length?(0,s.jsx)(a.BJ,{className:"b-article-tag",direction:"horizontal",wrap:"wrap",justification:"center","data-testid":"article-container",children:t.map(e=>{const{slug:t=""}=e,n=""!==t?encodeURI(`/tags/${t}/`):"";return(0,s.jsx)(a.ab,{href:n,children:e.text},e.text)})}):null},c=()=>{const{arcSite:e,globalContent:t}=(0,o.useFusionContext)();return(0,s.jsx)(l,{arcSite:e,content:t})},u=({customFields:e={}})=>{const{isAdmin:t}=(0,o.useFusionContext)();return e?.lazyLoad&&(0,a.fL)()&&!t?null:(0,s.jsx)(a.bE,{enabled:e.lazyLoad&&!t,children:(0,s.jsx)(c,{})})};u.label="Tags Bar â Arc Block",u.icon="tags",u.propTypes={customFields:i().shape({lazyLoad:i().bool.tag({name:"Lazy Load block?",defaultValue:!1,description:"Turning on lazy-loading will prevent this block from being loaded on the page until it is nearly in-view for the user."})})},t.default=u},34595:function(e,t,n){"use strict";n.r(t),n.d(t,{AuthorBioItems:function(){return v}});n(40809);var r=n(19674),i=n.n(r),o=n(14375),a=n(4321),s=n(43993),l=n(7770),c=n(74848);const u=["alt_text"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h="b-author-bio",m={email:"Envelope",facebook:"Facebook",instagram:"Instagram",linkedin:"LinkedIn",medium:"Medium",pinterest:"Pinterest",reddit:"Reddit",rss:"Rss",snapchat:"Snapchat",soundcloud:"SoundCloud",tumblr:"Tumblr",twitter:"Twitter",whatsapp:"WhatsApp",youtube:"Youtube"},g=()=>{const{globalContent:e}=(0,a.useFusionContext)();return(0,c.jsx)(v,{content:e})},b=({ansImage:e,altText:t,imageUrl:n})=>e?.auth?(0,c.jsx)(l._V,{alt:t,ansImage:e,aspectRatio:"1:1",resizedOptions:(0,l.kF)(e),responsiveImages:[100,200,400],width:100}):n?(0,c.jsx)(l._V,{alt:t,src:n,width:100}):null,y=({author:e})=>{const{additional_properties:{original:{byline:t,ansImage:n,image:r}}={},description:i,name:a,image:{alt_text:d=""}={},social_links:f=[],url:g}=e,y=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e.image,u),v=(0,l.il)(),w=y?.auth||n?.auth,_=y?.url||r||n?.url;let x=(0,o.useContent)(w?{}:{source:"signing-service",query:{id:_}})||{};w&&(x=w);let j=y;return x?.hash?j=p(p({},y),{},{auth:{[s.RESIZER_TOKEN_VERSION]:x.hash}}):x&&Object.keys(x).length>0&&(y?.auth&&y?.url?j=p(p({},y),{},{auth:x}):n?.auth&&n?.url&&(j=p(p({},n),{},{auth:x}))),(0,c.jsxs)(l.BJ,{direction:"horizontal",className:`${h}__author`,children:[(0,c.jsx)(b,{ansImage:j,altText:d||a||"",imageUrl:_}),(0,c.jsxs)(l.BJ,{children:[t?(0,c.jsx)(l.be,{className:`${h}__author-name-link`,condition:g,component:l.N_,href:g,children:(0,c.jsx)(l.AF,{children:(0,c.jsx)(l.DZ,{className:`${h}__author-name`,children:t})})}):null,(0,c.jsx)(l.fz,{className:`${h}__author-description`,children:i}),f?.length?(0,c.jsx)(l.BJ,{direction:"horizontal",wrap:"wrap",className:`${h}__social-link-wrapper`,children:f.filter(({site:e,url:t})=>e&&t?.length).map(({site:e,url:t})=>(0,c.jsx)(l.N_,{"aria-label":v.t(`global.social-${e.toLowerCase()}-connect`,{authorName:a}),className:`${h}__social-link`,href:(0,l.MS)(e,t),id:"youtube"===e?"link-social-youtube":void 0,openInNewTab:!0,children:(0,c.jsx)(l.In,{name:m[e]||"Envelope"})},e))}):null]})]},`${a}_${g}`)},v=({content:e})=>{const{credits:t={}}=e,{by:n=[]}=t,r=n.filter(({additional_properties:e={},description:t=""})=>t?.length&&e?.original?.bio?.length).map(e=>(0,c.jsx)(y,{author:e},`${e.name}_${e.url}`));return r.length?(0,c.jsx)(l.BJ,{className:h,children:r}):null},w=({customFields:e={}})=>{const{isAdmin:t}=(0,a.useFusionContext)();return e?.lazyLoad&&(0,l.fL)()&&!t?null:(0,c.jsx)(l.bE,{enabled:e?.lazyLoad&&!t,children:(0,c.jsx)(g,{})})};w.label="Short Author Bio â Arc Block",w.icon="paragraph-normal",w.propTypes={customFields:i().shape({lazyLoad:i().bool.tag({name:"Lazy Load block?",defaultValue:!1,description:"Turning on lazy-loading will prevent this block from being loaded on the page until it is nearly in-view for the user."})})},t.default=w},12741:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});n(40809);var r=n(4321),i=n(74848);var o=({headlineString:e})=>""!==e?(0,i.jsx)("h1",{className:"b-headline",dangerouslySetInnerHTML:{__html:e}}):null;const a=()=>{const{globalContent:e}=(0,r.useFusionContext)(),{basic:t=""}=e?.headlines||{};return(0,i.jsx)(o,{headlineString:t})};a.label="Headline â Arc Block",a.icon="arc-headline";var s=a},95353:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19894),i=n.n(r),o=n(4321),a=n(59626),s=n.n(a),l=n(74848);const c=({id:e})=>{let t=null;const{customFields:{HTML:n}}=(0,o.useFusionContext)();return n&&(t=(0,l.jsx)(s(),{className:"b-html-box",id:`html-block-${e}`,children:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:n}})})),t};c.label="HTML Box â Arc Block",c.icon="programming-language-html",c.propTypes={customFields:i().shape({HTML:i().richtext})},t.default=c},12415:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(43993),a=n(4321),s=n(14375),l=n(87983),c=n.n(l),u=n(7770),d=n(74848);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?p(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const m="b-large-manual-promo",g=({showOverline:e,overline:t,overlineURL:n})=>e&&t?n?(0,d.jsx)(u.bz,{href:n,children:t}):(0,d.jsx)(u.bz,{children:t}):null,b=({customFields:e})=>{const{description:t,headline:n,imageAuth:r,imageURL:i,imageId:l,imageFocalPoint:p,imageRatio:h,lazyLoad:b,linkURL:y,newTab:v,overline:w,overlineURL:_,showDescription:x,showHeadline:j,showImage:O,showOverline:S}=e,{arcSite:k,isAdmin:C}=(0,a.useFusionContext)(),{fallbackImage:P}=c()(k),{registerSuccessEvent:T}=(0,a.useComponentContext)(),{searchableField:E}=(0,s.useEditableContent)(),N=b&&!C,A=l&&r&&"{}"!==r&&i?.includes(l),I=(0,u.VN)(i,A);let L=(0,s.useContent)(A||!i?{}:{source:"signing-service",query:{id:I||i}});if(r&&!L&&(L=JSON.parse(r)),L?.hash&&!L[o.RESIZER_TOKEN_VERSION]&&(L[o.RESIZER_TOKEN_VERSION]=L.hash),N&&(0,u.fL)())return null;const D={_id:A?l:I,url:i,auth:L,focal_point:p?JSON.parse(p):void 0},R=n||t||null,M=i&&L?{alt:R,ansImage:D,aspectRatio:h,resizedOptions:(0,u.kF)(D),responsiveImages:[200,400,600,800,1200],width:600}:{alt:R,src:P};return(0,d.jsx)(u.bE,{enabled:N,children:(0,d.jsx)(u.AF,{children:(0,d.jsxs)(u.xA,{as:"article",className:m,children:[O?(0,d.jsx)(u.mO,f(f({},E({imageURL:"url",imageId:"_id",imageAuth:"auth",imageFocalPoint:"focal_point"})),{},{suppressContentEditableWarning:!0,children:(0,d.jsx)(u.be,{className:`${m}__img`,component:u.N_,condition:y,href:(0,u.RP)(y),openInNewTab:v,onClick:T,assistiveHidden:j&&x,children:(0,d.jsx)(u._V,f({},M))})})):null,(0,d.jsxs)(u.BJ,{className:`${m}__text`,children:[(0,d.jsx)(g,{showOverline:S,overline:w,overlineURL:_}),x||j?(0,d.jsxs)(u.BJ,{children:[j&&n?(0,d.jsx)(u.DZ,{children:(0,d.jsx)(u.be,{component:u.N_,condition:y,href:(0,u.RP)(y),openInNewTab:v,onClick:T,children:n})}):null,x&&t?(0,d.jsx)(u.fz,{children:t}):null]}):null]})]})})})};b.propTypes={customFields:i().shape({headline:i().string.tag({label:"Headline",group:"Configure Content"}),description:i().string.tag({label:"Description",group:"Configure Content"}),overline:i().string.tag({label:"Overline",group:"Configure Content"}),overlineURL:i().string.tag({label:"Overline URL",group:"Configure Content"}),imageURL:i().string.tag({label:"Image URL",group:"Configure Content",searchable:"image"}),imageAuth:i().string.tag({hidden:!0}),imageId:i().string.tag({hidden:!0}),imageFocalPoint:i().string.tag({hidden:!0}),linkURL:i().string.tag({label:"Link URL",group:"Configure Content"}),newTab:i().bool.tag({label:"Open in new tab",defaultValue:!1,group:"Configure Content"}),showOverline:i().bool.tag({label:"Show overline",defaultValue:!0,group:"Show promo elements"}),showHeadline:i().bool.tag({label:"Show headline",defaultValue:!0,group:"Show promo elements"}),showImage:i().bool.tag({label:"Show image",defaultValue:!0,group:"Show promo elements"}),showDescription:i().bool.tag({label:"Show description",defaultValue:!0,group:"Show promo elements"}),imageRatio:i().oneOf(["16:9","3:2","4:3"]).tag({defaultValue:"4:3",label:"Image ratio",group:"Art"}),lazyLoad:i().bool.tag({name:"Lazy Load block?",defaultValue:!1,description:"Turning on lazy-loading will prevent this block from being loaded on the page until it is nearly in-view for the user."})})},b.label="Large Manual Promo â Arc Block",b.icon="paragraph-bullets",t.default=b},50171:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(14375),o=n(19674),a=n.n(o),s=n(7770),l=n(74848);const c="b-video-player",u={inlineVideo:({alertBadge:e,aspectRatio:t,viewportPercentage:n,caption:r,credit:i,description:o,embedMarkup:a,captionTitle:u,hideVideoTitle:d,title:p,borderRadius:f})=>(0,l.jsxs)(s.BJ,{className:`${c} ${c}__inline`,children:[e?(0,l.jsx)(s.Ex,{variant:"danger",children:e}):null,p?(0,l.jsx)(s.AF,{children:(0,l.jsx)(s.DZ,{children:p})}):null,(0,l.jsx)(s.mO,{caption:r,credit:i,title:!d&&u,children:(0,l.jsx)(s.Ce,{aspectRatio:t,viewportPercentage:n,className:"video-container",embedMarkup:a,borderRadius:f})}),o?(0,l.jsx)(s.fz,{children:o}):null]}),featureVideo:({alertBadge:e,aspectRatio:t,viewportPercentage:n,caption:r,credit:i,description:o,embedMarkup:a,captionTitle:u,hideVideoTitle:d,title:p,borderRadius:f})=>(0,l.jsxs)(s.BJ,{className:`${c} ${c}__feature`,children:[(0,l.jsx)(s.mO,{caption:r,credit:i,title:!d&&u,children:(0,l.jsx)(s.Ce,{aspectRatio:t,viewportPercentage:n,className:"video-container",embedMarkup:a,borderRadius:f})}),(0,l.jsxs)(s.BJ,{className:`${c}__feature-meta`,children:[e?(0,l.jsx)(s.Ex,{variant:"danger",children:e}):null,p?(0,l.jsx)(s.AF,{children:(0,l.jsx)(s.DZ,{children:p})}):null,o?(0,l.jsx)(s.fz,{children:o}):null]})]})};function d({customFields:e={},embedMarkup:t}){const{alertBadge:n,autoplay:o,aspectRatio:a,viewportPercentage:l=65,description:c,displayStyle:d="inlineVideo",hideVideoCaption:p,hideVideoCredits:f,hideVideoTitle:h,inheritGlobalContent:m,playthrough:g,borderRadius:b,title:y,websiteURL:v}=e,{globalContent:w={},arcSite:_}=(0,r.useFusionContext)(),x=v?{website_url:v,site:_}:e?.itemContentConfig?.contentConfigValues||null,j=v?"content-api":e?.itemContentConfig?.contentService||null,O=(0,i.useContent)({query:m?null:x,source:m?null:j}),S=m?w:O,k=m?S?.headlines?.basic:c&&y||S?.headlines?.basic,C=m?S?.description?.basic:y&&c||S?.description?.basic;let P=a;if(!P&&S&&S.promo_items&&S.promo_items.basic){const e=S?.promo_items.basic.width,t=S?.promo_items.basic.height;P=(0,s.KD)(e,t)||"16:9"}const T=u[d],E=S?.embed_html||t;return E?T({alertBadge:n,aspectRatio:P,viewportPercentage:l,caption:p?null:C,credit:f?null:(0,s.Ql)(S?.credits),description:c,embedMarkup:(0,s.PU)(E,{autoplay:o,playthrough:g}),captionTitle:k,hideVideoTitle:h,title:y,borderRadius:b}):null}d.propTypes={customFields:a().shape({websiteURL:a().string.tag({label:"Display Content Info",hidden:!0,group:"Configure Content"}),itemContentConfig:a().contentConfig("ans-item").tag({label:"Video Content",group:"Configure Content"}),inheritGlobalContent:a().bool.tag({label:"Inherit global content",defaultValue:!0,group:"Configure Content"}),autoplay:a().bool.tag({label:"Autoplay",defaultValue:!1,group:"Video Settings"}),playthrough:a().bool.tag({label:"Playthrough",defaultValue:!1,group:"Video Settings"}
2),hideVideoTitle:a().bool.tag({description:"This display option applies to all Videos in the Video Center Player block",label:"Hide Title",defaultValue:!1,group:"Video Subtext Options"}),hideVideoCaption:a().bool.tag({description:"This display option applies to all Videos in the Video Center Player block",label:"Hide Caption",defaultValue:!1,group:"Video Subtext Options"}),hideVideoCredits:a().bool.tag({description:"This display option applies to all Videos in the Video Center Player block",label:"Hide Credits",defaultValue:!1,group:"Video Subtext Options"}),aspectRatio:a().oneOf(["--","16:9","9:16","1:1","4:3"]).isRequired.tag({description:"Aspect ratio to use in player (Defaults to the aspect ratio of the resolved video)",label:"Player aspect ratio",defaultValue:"--",group:"Display Settings",labels:{"--":"Video Source","16:9":"16:9","9:16":"9:16","1:1":"1:1","4:3":"4:3"}}),viewportPercentage:a().number.tag({label:"View height percentage",description:"Height percentage the player takes from viewport (Applies only for 9:16 videos)",defaultValue:65,group:"Display Settings"}),title:a().string.tag({label:"Title",group:"Display Settings"}),description:a().string.tag({label:"Description",group:"Display Settings"}),alertBadge:a().string.tag({label:"Alert Badge",group:"Display Settings"}),displayStyle:a().oneOf(Object.keys(u)).tag({defaultValue:"inlineVideo",label:"Video Display Style",labels:{inlineVideo:"Inline Video",featureVideo:"Feature Video"},group:"Display Settings"}),borderRadius:a().bool.tag({label:"Round player corners",description:"Applies only for 9:16 videos",defaultValue:!1,group:"Display Settings"})}),embedMarkup:a().string},d.label="Video Center Player - Arc Block",d.icon="video-player-adjust",t.default=d},95239:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(74848);const o=({children:e})=>0===r.Children.count(e)?null:(0,i.jsx)("div",{className:"absolute-container container-wrapper",children:(0,i.jsx)("div",{className:"container one-column-container",children:e})});o.label="DN - Absolute Container",o.icon="book-library-2",t.default=o},19055:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n.n(r),o=n(19674),a=n.n(o),s=n(61882),l=n(4321),c=n(14375),u=n(87983),d=n.n(u),p=n(7770),f=n(43993),h=n(74848);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach(function(t){b(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function b(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const y=(e="",t,n="")=>{const r=String(e).split("/").map(Number);return`col-${n||"md"}-${Math.max(1,Math.round(r[t]))}`},v=e=>String(e).split("/").map(Number).map(e=>`${e}fr`).join(" "),w=({children:e,customFields:t={}})=>{const{columns:n="",columnBreakpointClassSizeOverride:r="",content:o=[],reverseMobile:a=!1,customClass:u="",useContainer:m=!0,backgroundColorOverride:b,mobilePaddingX:w,mobilePaddingY:_,paddingX:x,paddingY:j,disableChain:O=!1,backgroundImageId:S,chainContentConfig:k,syncRowHeights:C=!1}=t,{arcSite:P}=(0,l.useFusionContext)(),T=d()?.(P),E=(0,c.useContent)({source:"image-by-id",query:{_id:S}});if(O)return null;if(!e||0===e.length)return null;let N=[...e];const A=String(n).split("/").map((e,t)=>{const n=o[t]||0;return N.splice(0,n)}),I="row"+(a?" flex-column-reverse flex-md-row":""),L=i().useRef(`columns-pad-${Math.random().toString(36).substr(2,9)}`).current,D=w||x,R=_||j;let M="";(D||R)&&(M+=`.${L}{`,D&&(M+=`padding-left:${D};padding-right:${D};`),R&&(M+=`padding-top:${R};padding-bottom:${R};`),M+="}"),(x||j)&&(M+=`@media(min-width:960px){.${L}{`,x&&(M+=`padding-left:${x};padding-right:${x};`),j&&(M+=`padding-top:${j};padding-bottom:${j};`),M+="}}");
2const $=[u,M&&L,C&&"column-chain--sync-rows"].filter(Boolean).join(" "),F=C?{"--chain-columns":v(n)}:void 0,V=(0,h.jsxs)("div",{className:`column-chain ${$}`,style:F,children:[M&&(0,h.jsx)("style",{dangerouslySetInnerHTML:{__html:M}}),(0,h.jsx)("div",{className:I,children:A.map((e,t)=>(0,h.jsx)("div",{className:y(n,t,r),"data-blocks":e.length,children:e},t))})]}),z=E?.auth?.[f.RESIZER_TOKEN_VERSION],B=E?(0,p.i1)(E):null,H=E?.additional_properties?.focal_point?.max||(E?.focal_point?[E.focal_point.x,E.focal_point.y]:null),U=T?.resizerURL&&B&&z?`${T.resizerURL}${B}?auth=${z}&width=2000`:"",q=H&&E?.width&&E?.height?`${(H[0]/E.width*100).toFixed(1)}% ${(H[1]/E.height*100).toFixed(1)}%`:"center",Z=g(g({},b?{backgroundColor:b}:{}),U?{backgroundImage:`url("${U}")`,backgroundSize:"cover",backgroundPosition:q}:{}),G=Object.keys(Z).length>0,W=e=>k?.contentService?(0,h.jsx)(s.A.Provider,{value:k,children:e}):e;return W(m?(0,h.jsx)("div",{className:"container-wrapper",children:(0,h.jsx)("div",{className:"container-lg",style:G?Z:void 0,children:V})}):(0,h.jsx)("div",{style:G?Z:void 0,className:"container-fluid",children:V}))};w.label="Columns",w.icon="arc-columns-chain",w.propTypes={children:a().array,customFields:a().shape({columns:a().oneOf(["12","11/1","1/11","10/2","2/10","9/3","3/9","8/4","4/8","7/5","5/7","6/6","4/4/4","6/3/3","3/3/6","3/6/3","3/3/3/3"]).tag({label:"Columns",labels:{12:"100%","11/1":"92% / 8%","1/11":"8% / 92%","10/2":"83
2% / 17%","2/10":"17% / 83%","9/3":"75% / 25%","3/9":"25% / 75%","8/4":"67% / 33%","4/8":"33% / 67%","7/5":"58% / 42%","5/7":"42% / 58%","6/6":"50% / 50%","4/4/4":"33% / 33% / 33%","6/3/3":"50% / 25% / 25%","3/3/6":"25% / 25% / 50%","3/6/3":"25% / 50% / 25%","3/3/3/3":"25% / 25% / 25% / 25%"},description:"Choose a configuration for a 12-column layout."}),columnBreakpointClassSizeOverride:a().oneOf(["sm","md","lg","xl"]).tag({label:"Column Breakpoint Class Size (Override)",labels:{sm:"sm",md:"md",lg:"lg",xl:"xl"},description:"Choose a configuration for a 12-column layout.",defaultValue:"md"}),content:a().list.tag({label:"Content",description:"Number of blocks to display in each column (make a new item per column)"}),reverseMobile:a().bool.tag({label:"Reverse columns on mobile",description:"Reverse the order of columns on mobile devices.",group:"Style Options"}),customClass:a().string.tag({label:"Custom CSS class",description:"Optional custom CSS class for the columns container.",group:"Style Options"}),useContainer:a().bool.tag({label:"Use Container",description:"Wrap the columns in a centered container.",group:"Style Options"}),backgroundColorOverride:a().string.tag({description:"Example: #FFFFFF (use Hex value)",label:"Background Color Override",group:"Style Options"}),paddingX:a().string.tag({label:"Padding Left/Right",description:"Horizontal padding (e.g., 24px, 2rem). Also applies to mobile unless Mobile Padding X is set.",group:"Style Options"}),paddingY:a().string.tag({label:"Padding Top/Bottom",description:"Vertical padding (e.g., 24px, 2rem). Also applies to mobile unless Mobile Padding Y is set.",group:"Style Options"}),mobilePaddingX:a().string.tag({label:"Mobile Padding Left/Right",description:"Horizontal padding for small screens (e.g., 16px, 1rem)",group:"Style Options"}),mobilePaddingY:a().string.tag({label:"Mobile Padding Top/Bottom",description:"Vertical padding for small screens (e.g., 16px, 1rem)",group:"Style Options"}),backgroundImageId:a().string.tag({label:"Background Image ID",description:"Enter the ARC Photo Center image ID",group:"Style Options"}),disableChain:a().bool.tag({label:"Disable Chain",defaultValue:!1}),syncRowHeights:a().bool.tag({label:"Sync Row Heights",description:"Align stories at the same position across columns using CSS Subgrid. Best with flex blocks that have the same number of stories in side columns.",defaultValue:!1,group:"Style Options"}),chainContentConfig:a().contentConfig("ans-feed").tag({defaultValue:{contentService:"collections-for-lists",contentConfigValues:{collection_alias:""}},group:"Collection",label:"Collection for Flex Blocks",description:"Shared collection that child Flex Blocks can inherit. Leave empty if each block uses its own collection."})})},t.default=w},75335:function(e,t,n){"use strict";n.r(t);var r=n(49623);t.default=(0,r.A)("div","div")},98691:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var r=n(40809),i=n(19216),o=n(12308),a=n(94439),s=n(74848);function l(e,t){(0,r.useEffect)(()=>{const n=t.current;if(!n||!e)return;let r=!1;const i=t=>{if(Math.abs(t.deltaX)<=Math.abs(t.deltaY))return;const n=t.deltaX>0;(n?e.canScrollNext():e.canScrollPrev())&&(t.preventDefault(),r||(r=!0,setTimeout(()=>{r=!1},300),n?e.scrollNext():e.scrollPrev()))};return n.addEventListener("wheel",i,{passive:!1}),()=>n.removeEventListener("wheel",i)},[e,t])}function c({children:e,customFields:t}){const{backgroundColor:n,cardBackgroundColor:c,headingContent:u,headingLevel:d,headingAlign:p,headingFontColor:f,textColor:h,buttonText:m,buttonUrl:g,buttonColor:b,buttonTextColor:y}=t||{},v=(e||[]).filter(Boolean),w=v.length,_=v.slice(0,8),x=Math.min(_.length,4)||1,j=[];for(let e=0;e<w;e+=2)j.push(v.slice(e,e+2));const O=w>8,[S,k]=(0,i.A)({align:"start",containScroll:"trimSnaps",slidesToScroll:"auto"}),[C,P]=(0,i.A)({align:"start",containScroll:"trimSnaps",slidesToScroll:1}),T=(0,r.useRef)(null),E=(0,r.useRef)(null),N=(0,r.useCallback)(e=>{T.current=e,S(e)},[S]),A=(0,r.useCallback)(e=>{E.current=e,C(e)},[C]),[I,L]=(0,r.useState)(!0),[D,R]=(0,r.useState)(!0),[M,$]=(0,r.useState)(!0),[F,V]=(0,r.useState)(!0),[z,B]=(0,r.useState)(0),[H,U]=(0,r.useState)([]);(0,r.useEffect)(()=>
2{if(!k)return;const e=()=>{L(!k.canScrollPrev()),R(!k.canScrollNext())};return k.on("select",e),k.on("reInit",e),e(),()=>{k.off("select",e),k.off("reInit",e)}},[k]),(0,r.useEffect)(()=>{if(!P)return;const e=()=>{B(P.selectedScrollSnap()),U(P.scrollSnapList()),$(!P.canScrollPrev()),V(!P.canScrollNext())};return P.on("select",e),P.on("reInit",e),e(),()=>{P.off("select",e),P.off("reInit",e)}},[P]),l(k,T),l(P,E);const q=(0,r.useCallback)(()=>k?.scrollPrev(),[k]),Z=(0,r.useCallback)(()=>k?.scrollNext(),[k]),G=(0,r.useCallback)(()=>P?.scrollPrev(),[P]),W=(0,r.useCallback)(()=>P?.scrollNext(),[P]),K="light"===h?"showcase-grid--text-light":"showcase-grid--text-dark",Y=`showcase-grid--header-${f||"dark"}`,J={backgroundColor:n};c&&(J["--showcase-card-bg"]=c),n&&(J["--showcase-section-bg"]=n);const X="showcase-grid__carousel "+(D?"showcase-grid__carousel--end":""),Q=H.length>1?"showcase-grid__carousel "+(F?"showcase-grid__carousel--end":""):"";return(0,s.jsxs)("div",{className:`showcase-grid ${K} ${Y}`,style:J,children:[u&&(0,s.jsx)("div",{className:"showcase-grid__heading",children:(0,s.jsx)(o.A,{customFields:{headingContent:u,headingLevel:d||"2",textAlign:p||"center",fontColor:f||"dark"}})}),(0,s.jsxs)("div",{className:"showcase-grid__desktop d-none d-xl-block",children:[!O&&_.length>0&&(0,s.jsx)("div",{className:"showcase-grid__static",children:((e,t,r)=>(0,s.jsx)("div",{className:"showcase-grid__slide",children:(0,s.jsx)("div",{className:"showcase-grid__grid",style:{backgroundColor:n,"--grid-columns":t},children:e.map((e,t)=>(0,s.jsx)("div",{className:"showcase-grid__item",children:e},t))})},r))(_,x,"static")}),O&&(0,s.jsxs)("div",{className:"showcase-grid__wrapper",children:[(0,s.jsx)("button",{className:"showcase-grid__scroll-left",disabled:I,onClick:q,children:(0,s.jsx)("i",{className:"fa fa-arrow-left"})}),(0,s.jsx)("div",{className:`showcase-grid__viewport ${X}`,ref:N,children:(0,s.jsx)("div",{className:"showcase-grid__container showcase-grid__container--columns",children:j.map((e,t)=>(0,s.jsx)("div",{className:"showcase-grid__column",children:e.map((e,t)=>(0,s.jsx)("div",{className:"showcase-grid__item",children:e},t))},t))})}),(0,s.jsx)("button",{className:"showcase-grid__scroll-right",disabled:D,onClick:Z,children:(0,s.jsx)("i",{className:"fa fa-arrow-right"})})]})]}),(0,s.jsx)("div",{className:`showcase-grid__viewport showcase-grid__viewport--mobile ${Q} d-xl-none`,ref:A,children:(0,s.jsx)("div",{className:"showcase-grid__container",children:v.map((e,t)=>(0,s.jsx)("div",{className:"showcase-grid__slide showcase-grid__slide--mobile",children:(0,s.jsx)("div",{className:"showcase-grid__item",children:e})},t))})}),H.length>1&&(0,s.jsxs)("div",{className:"showcase-grid__mobile-nav d-xl-none",children:[(0,s.jsx)("button",{className:"showcase-grid__nav-arrow",disabled:M,onClick:G,children:(0,s.jsx)("i",{className:"fa fa-arrow-left"})}),(0,s.jsx)("div",{className:"showcase-grid__scroll-dots-wrapper",children:H.map((e,t)=>(0,s.jsx)("i",{className:`fa-${z===t?"solid":"regular"} fa-circle`},t))}),(0,s.jsx)("button",{className:"showcase-grid__nav-arrow",disabled:F,onClick:W,children:(0,s.jsx)("i",{className:"fa fa-arrow-right"})})]}),m&&(0,s.jsx)("div",{className:`showcase-grid__button showcase-grid__button--text-${y||"dark"}`,children:(0,s.jsx)(a.A,{customFields:{message:m,url:g,color:b,alignment:"center"}})})]})}c.icon="layout-module-1";var u=c,d=n(19674),p=n.n(d);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const m=e=>(0,s.jsx)(u,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?f(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));m.label="DN - Showcase Grid",m.propTypes={customFields:p().shape({backgroundColor:p().string.tag({label:"Background Color",description:"Hex code for the background color of the showcase section",defaultValue:"rgba(229, 229, 229, 1)"}),cardBackgroundColor:p().string.tag({label:"Card Background Color",description:"Hex code for the background of each honoree card. Applies to all cards in the section.",defaultValue:"#000000"}),textColor:p().oneOf(["dark","light"]).tag({label:"Text Color",description:"Applies to all text elements in the block (names, titles, descriptions)",defaultValue:"light"}),headingContent:p().string.tag({label:"Heading Text",description:"Optional heading displayed above the grid",group:"Heading"}),headingLevel:p().oneOf(["1","2","3","4","5","6"]).tag({label:"Heading Level",defaultValue:"2",group:"Heading"}),headingAlign:p().oneOf(["left","center","right"]).tag({label:"Heading Alignment",defaultValue:"center",group:"Heading"}),headingFontColor:p().oneOf(["dark","light"]).tag({label:"Heading Font Color",description:"Applies only to the optional heading above the grid",defaultValue:"dark",group:"Heading"}),buttonText:p().string.tag({label:"Button Text",description:"Leave blank to hide the button. Displays centered below the grid.",group:"Button"}),buttonUrl:p().string.tag({label:"Button URL",description:"The URL the button should link to (can be internal or external)",group:"Button"}),buttonColor:p().oneOf(["rgba(255, 210, 24, 1)"]).tag({label:"Button Color",labels:{"rgba(255, 210, 24, 1)":"Yellow"},defaultValue:"rgba(255, 210, 24, 1)",group:"Button"}),buttonTextColor:p().oneOf(["light","dark"]).tag({label:"Button Text Color",defaultValue:"dark",group:"Button"})})};var g=m},48368:function(e,t,n){"use strict";var r=n(40809);const i=n.n(r)().createContext();t.A=i},30390:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(19674),o=n.n(i),a=n(48368),s=n(74848);const l=({customFields:e,children:t})=>{if(0===r.Children.count(t))return null;const n={};return e?.imageSize&&(n.imageSize=e.imageSize),e?.linkBorder&&(n.linkBorder=e.linkBorder),(0,s.jsx)(a.A.Provider,{value:n,children:(0,s.jsx)("div",{className:"container-wrapper",children:(0,s.jsx)("div",{className:"container-lg",children:(0,s.jsx)("div",{className:"sponsor-logos mt-4",children:t})})})})};l.label="DN - Sponsor Logos",l.icon="book-library-2",l.propTypes={customFields:o().shape({imageSize:o().oneOf(["small","medium","large"]).tag({label:"Sponsor Logo Size Override",labels:{small:"Small",medium:"Medium",large:"Large"}}),linkBorder:o().oneOf(["noborder","border"]).tag({label:"Sponsor Logo Border Override",labels:{noborder:"No Border",border:"Border"}})})},t.default=l},8691:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(4321),a=n(7927),s=n(74848);const l=({children:e,customFields:t})=>{const{disableChain:n=!1}=t;if(n)return null;if(e&&e.length&&e.length>0){const{columnOne:n=e?.length||1,columnOneClassOverride:r,columnTwoClassOverride:i,backgroundColorOverride:l}=t,{arcSite:c}=(0,o.useFusionContext)(),u=e=>(0,a.gI)(e)?"col-12 col-xl-9":"col-12 col-xl-8",d=e=>(0,a.gI)(e)?"col-12 col-xl-3 mt-5 mt-xl-0":"utahbusiness"===e?"col-12 col-xl-3 p-xl-0 ms-auto mt-5 mt-xl-0 ub-colTwo":"col-12 col-xl-4 mt-5 mt-xl-0";if(n>0)return(0,s.jsx)("div",{className:"container-wrapper double-column",style:{backgroundColor:l},children:(0,s.jsx)("div",{className:"container two-column-container",children:(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)("div",{className:r||u(c),children:e.slice(0,n)}),(0,s.jsx)("div",{className:i||d(c),children:e.slice(n)})]})})})}return null};l.label="Double Column",l.icon="arc-double-chain",l.propTypes={children:i().array,customFields:i().shape({columnOne:i().number.isRequired.tag({description:"The number of features which will appear in the first column. The rest will go into the second column.",label:"Column one size"}
2),columnOneClassOverride:i().string.tag({description:"Bootstrap grid class names. ie: col-xl-8",label:"Column one class override"}),columnTwoClassOverride:i().string.tag({description:"Bootstrap grid class names. ie: col-xl-4",label:"Column two class override"}),backgroundColorOverride:i().string.tag({description:"Example: #FFFFFF (use Hex value)",label:"Background Color Override"}),disableChain:i().bool.tag({label:"Disable Chain",defaultValue:!1})})},t.default=l},61882:function(e,t,n){"use strict";var r=n(40809);const i=n.n(r)().createContext(null);t.A=i},49623:function(e,t,n){"use strict";n(40809);var r=n(74848);t.A=(e,t="li")=>({children:n})=>(0,r.jsx)(e,{children:n.map((e,n)=>(0,r.jsx)(t,{children:e},e.key||n))})},70661:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(74848);const o=({children:e})=>0===r.Children.count(e)?null:(0,i.jsx)("div",{className:"container-wrapper",children:(0,i.jsx)("div",{className:"container one-column-container dn-magazine-grid",children:e})});o.label="DN - Magazine Cover Grid",o.icon="book-library-2",t.default=o},65245:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(19674),o=n.n(i),a=n(74848);const s=({children:e,customFields:t={}})=>{const{heading:n,buttonText:i,buttonUrl:o}=t;return 0===r.Children.count(e)?null:(0,a.jsx)("div",{className:"container-wrapper dn-magazine-past-issues-breaker",children:(0,a.jsx)("div",{className:"container one-column-container",children:(0,a.jsxs)("div",{className:"breaker-content",children:[(0,a.jsx)("h3",{children:n}),(0,a.jsx)("div",{className:"breaker-grid",children:e}),(0,a.jsx)("a",{href:o,className:"breaker-button",children:i})]})})})};s.label="DN - Magazine Past Issues Breaker",s.propTypes={children:o().array,customFields:o().shape({heading:o().string.tag({label:"Heading",defaultValue:"Past issues"}),buttonText:o().string.tag({label:"Button Text",defaultValue:"View all"}),buttonUrl:o().string.tag({label:"Button URL",defaultValue:"#"})})},s.icon="book-library-2",t.default=s},7476:function(e,t,n){"use strict";n.r(t);var r=n(49623);t.default=(0,r.A)("ol")},14007:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(74848);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c=({children:e,customFields:t={}})=>{const{boxColor:n,backgroundImageUrl:r="",backgroundCSS:i={"background-repeat":"no-repeat"},backgroundWidth:a="auto",backgroundHeight:l="auto",backgroundColor:c="#FFFFFFFF"}=t;return(0,o.jsx)("div",{className:"product-chain",style:s({backgroundImage:`url(${r})`,backgroundColor:c,backgroundSize:`${a||"auto"} ${l||"auto"}`},i),children:(0,o.jsx)("div",{className:"product-chain--inner container p-5 mt-md-5",style:{backgroundColor:n},children:e})})};c.label="DN - Product Chain",c.icon="e-commerce-cart-browser",c.propTypes={customFields:i().shape({backgroundImageUrl:i().string.tag({label:"Background Image Url",group:"Background",defaultValue:"",description:"url to background image"}),backgroundColor:i().string.tag({label:"Background Color",group:"Background",defaultValue:"#FAF9F7",description:"Default: #FAF9F7"}),backgroundWidth:i().string.tag({label:"Background Width",group:"Backgroun
2d",defaultValue:"auto",description:"(background-size) Default: auto (values can be % or px)"}),backgroundHeight:i().string.tag({label:"Background Height",group:"Background",defaultValue:"auto",description:"(background-size) Default: auto (values can be % or px)"}),backgroundCSS:i().kvp.tag({label:"CSS Overrides",group:"Background",defaultValue:{"background-repeat":"no-repeat","background-position":"top"},description:"CSS Key/Value pairs (be careful)"}),boxColor:i().string.tag({label:"Box Color (HEX Code)",group:"Box",defaultValue:"#FFFFFFFF",description:"Default: #FFFFFFFF"})})},t.default=c},64220:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(19674),o=n.n(i),a=n(74848);const s=({children:e,customFields:t={}})=>{const{fullWidth:n=null,contentFullWidth:i=null,backgroundColorOverride:o,disableChain:s=!1}=t;if(s)return null;if(0===r.Children.count(e))return null;const l={backgroundColor:o};return n&&i&&(l["--bs-gutter-x"]=0),(0,a.jsx)("div",{className:"container-wrapper",children:n?(0,a.jsx)("div",{className:"container-fluid",style:l,children:(0,a.jsx)("div",{className:i?null:"container",children:e})}):(0,a.jsx)("div",{className:"container one-column-container",style:l,children:e})})};s.label="Single Column",s.icon="layout-none",s.propTypes={children:o().array,customFields:o().shape({backgroundColorOverride:o().string.tag({description:"Example: #FFFFFF (use Hex value)",label:"Background Color Override"}),fullWidth:o().bool.tag({defaultValue:!1,description:"This display option toggles full width containers",label:"Full Width Container"}),contentFullWidth:o().bool.tag({defaultValue:!1,description:"This display option toggles full width content",label:"Full Width Content"}),disableChain:o().bool.tag({label:"Disable Chain",defaultValue:!1})})},t.default=s},80213:function(e,t,n){"use strict";var r=n(40809);const i=n.n(r)().createContext();t.A=i},63064:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return f}});var r=n(40809);const i=["deseretnews.com","deseret.com","thechurchnews.com","utahbusiness.com"],o=()=>{const[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{window.tp=window.tp||[],window.tp.push(["init",()=>{e||(async()=>{if("undefined"==typeof window)return!1;const e=window?.tp?.pianoId?.getUser();if(!e?.email)return!1;const t=e.email.split("@")[1];return!!i.includes(t)&&await Promise.race([new Promise(e=>setTimeout(()=>e(!1),3e3)),new Promise(e=>{tp?.pianoId?.loadExtendedUser({formName:"internal",extendedUserLoaded:t=>{for(const n of t?.custom_field_values||[])if("staff"===n.field_name)return console.log("User staff field value:",n.value,typeof n.value),e("true"===n.value)}})})])})().then(t)}])},[]),{isStaffMember:e}};var a=n(19674),s=n.n(a),l=n(74848);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=({children:e,customFields:t={}})=>{const{enabled:n=!0}=t,{shouldShow:r,staffWrapperProps:i}=((e={})=>{const{isStaffMember:t}=o(),{isEnabled:n=!0}=e,r=n&&t;return{shouldShow:r,staffWrapperProps:{}}})({isEnabled:n});return(0,l.jsx)("div",u(u({},i),{},{children:r&&e}))};p.label="Staff Feature",p.icon="layout-none",p.propTypes={children:s().array,customFields:s().shape({enabled:s().bool.tag({label:"Enabled",description:"Enable or disable the staff gating feature",defaultValue:!0})})};var f=p},28284:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(19674),o=n.n(i),a=n(74848);const s=({children:e,customFields:t={}})=>{const{startTime:n,endTime:i}=t,o=new Date,s=new Date(n),l=new Date(i);return 0===r.Children.count(e)?null:o>s&&o<l?(0,a.jsx)("div",{className:"time-conditional",children:e}):null};s.label="Time Conditional",s.icon="layout-none",s.propTypes={children:o().array,customFields:o().shape({startTime:o().dateTime.tag({de
2scription:"The date and time to START showing the contained blocks",label:"Start Date & Time"}),endTime:o().dateTime.tag({description:"The date and time to STOP showing the contained blocks",label:"End Date & Time"})})},t.default=s},80297:function(e,t,n){"use strict";n.r(t);var r=n(49623);t.default=(0,r.A)("ul")},66643:function(e,t,n){"use strict";n.r(t),n.d(t,{ArcAdDisplay:function(){return F},default:function(){return H}});var r=n(40809),i=n(19674),o=n.n(i),a=n(4321),s=n(7770);const l=[[992,0],[768,0],[0,0]],c=[300,250],u=[300,600],d=[320,50],p=[728,90],f=[970,250];var h={"1x1":{adName:"oop",adLabel:"OOP",adClass:"1x1",ampDimensionsArray:[1,1]},fluid:{adName:"fluid",adLabel:"Fluid",adClass:"fluid",dimensionsArray:["fluid"],ampDimensionsArray:["fluid"]},"300x250":{adName:"cube",adLabel:"Cube",adClass:"300x250",dimensionsArray:[c,c,c],ampDimensionsArray:c},"300x250_gallery":{adName:"gallery_cube",adLabel:"Gallery Cube",adClass:"300x250",dimensionsArray:[c,c,c],ampDimensionsArray:c},"300x250|300x600":{adName:"flex_cube",adLabel:"Flex Cube",adClass:"300x600",dimensionsArray:[[c,u],[c,u],c],ampDimensionsArray:c},"300x250|300x600_rightrail":{adName:"right_rail_cube",adLabel:"Right Rail Cube",adClass:"300x250",dimensionsArray:[u,c,c],ampDimensionsArray:c},"728x90|320x50":{adName:"leaderboard_medium",adLabel:"Leaderboard - Medium",adClass:"728x90",dimensionsArray:[p,p,d],ampDimensionsArray:d},"970x250|970x90|728x90|320x50":{adName:"leaderboard_large",adLabel:"Leaderboard - Large",adClass:"728x90",dimensionsArray:[[f,[970,90],p],p,[d,c]],ampDimensionsArray:d},"970x250|300x250":{adName:"takeover",adLabel:"Takeover",adClass:"728x90",dimensionsArray:[f,f,c],ampDimensionsArray:c}},m=n(92131);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class v{static getInstance(e,t){return null==v.instance&&(v.properties=e,v.instance=new v,t&&t()),this.instance}constructor(){this.initArcAds=this.initArcAds.bind(this),this.registerAd=this.registerAd.bind(this)}initArcAds({publisherIds:e,debug:t=!1}){if(!this.arcAds){const{dfp_publisher_id:n}=e,r={dfp:{id:n}};this.arcAds=new m.ArcAds(r,e=>{((e,t=!1)=>{t&&(e&&e.creativeId?console.info(`Advertisement ${e.creativeId} has loaded...`,e):console.info("Advertisement did not load...",e))})(e,t)})}}registerAd(e,t){const{params:n,disableAds:r}=e;r||(this.initArcAds(e),this.arcAds.registerAd(b(b({},n),t?{prerender:t}:{})))}}v.instance=void 0,v.properties=void 0;var w=v;function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function x(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const j=({globalContent:e}={})=>{const t=((e={})=>e?.type)(e);return t&&("story"===t||"gallery"===t||"video"===t)||!1},O=({adType:e})=>h[e]?.adClass,S=({adType:e})=>h[e]?.dimensionsArray,k=({globalContent:e}={})=>e?._id,C=(e={})=>{const{metaValue:t}=e;return t&&t("page-type")||""},P=e=>(e=>{let t="";if(e){t=e;const n=t.length-1;"/"===t.charAt(n)&&(t=t.substring(0,n)),"/"===t.charAt(0)&&(t=t.substring(1))}return t})((e=>{const{metaValue:t}=e;let n=t&&t("ad-path")||"";return n&&"/"===n.charAt(0)&&(n=n.substring(1)),n||void 0})(e)||(!0===e?.siteProperties?.disableAppendSectionToAdPath?"":(e
2=>{const t=C(e);return"tag"===t||"author"===t||"search"===t?t:j(e)&&(({globalContent:e,arcSite:t}={})=>e?.websites[t]?.website_section?._id||"")(e)||(({globalContent:e}={})=>"section"===(e?.node_type||""))(e)&&k(e)||""})(e))),T=(e={})=>{const{siteProperties:t}=e,{websiteAdPath:n=""}=t||{},r=P(e);return n&&!r?n:n&&r?`${n}/${r}`:r},E=e=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(t){x(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({ad_type:e?.adType},e?.position?{position:e.position}:{}),N=e=>{const{instanceId:t=""}=e,n=(({adType:e})=>h[e]?.adName)(e),r=e?.display||"all",i={id:`arcad_${t}`,slotName:T(e),adType:n,position:e.position,adClass:O(e),dimensions:S(e),sizemap:{breakpoints:l,refresh:!0},display:r};return i.targeting=E(i),i};var A=n(74848);const I=e=>{const{adConfig:t,featureConfig:n}=e,{id:i}=t,{customFields:{debug:o},siteProperties:a}=n,s=(0,r.useCallback)(()=>{const e={dfp_publisher_id:a.dfpId};w.getInstance(a,()=>{(e=>{window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(()=>{window.googletag.pubads().setTargeting("page_type",C(e)).setTargeting("section_id",P(e)),j(e)&&window.googletag.pubads().setTargeting("arc_id",k(e)).setTargeting("tags",(({globalContent:e}={})=>(e?.taxonomy?.tags||[]).map(e=>e?.slug||null).filter(e=>e).join(","))(e))})})(n)}).registerAd({params:t,publisherIds:e,debug:o})},[t,o,n,a]);return(0,r.useEffect)(()=>{s()},[s]),(0,A.jsx)("div",{id:i})};I.propTypes={adConfig:o().shape({id:o().string.isRequired,slotName:o().string.isRequired,adType:o().string.isRequired,adClass:o().string.isRequired,dimensions:o().array.isRequired,sizemap:o().object.isRequired,display:o().string.isRequired}).isRequired,featureConfig:o().shape({siteProperties:o().shape({dfpId:o().oneOfType([o().string,o().number])}).isRequired})};var L=I;var D=({adType:e,slotName:t,dimensions:n})=>(0,A.jsxs)(s.BJ,{className:"b-ads-block--admin",children:[(0,A.jsxs)(s.BJ,{children:[(0,A.jsx)(s.fz,{children:e||"Ad Name N/A"}),(0,A.jsx)(s.fz,{children:t})]}),(0,A.jsx)(s.fz,{children:JSON.stringify(n)})]});function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach(function(t){$(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const F=e=>{const{config:t,displayAdLabel:n,instanceId:r,isAdmin:i,isAMP:o,lazyLoad:a,propsWithContext:l,sizing:c,adLabel:u}=e,d=!i&&!o(),p=d&&n;return(0,A.jsxs)(s.BJ,{id:`arcad-feature-${r}`,className:"dn-ads-block",alignment:"center",children:[p?(0,A.jsx)(s.fz,{children:u}):null,d?(0,A.jsx)("div",{style:c,children:(0,A.jsx)(s.bE,{enabled:a,offsetBottom:0,offsetLeft:0,offsetRight:0,offsetTop:200,renderPlaceholder:e=>(0,A.jsx)("div",{"data-testid":"lazy-load-placeholder",ref:e}),children:(0,A.jsx)(L,{adConfig:t,featureConfig:l})})}):null,i?(0,A.jsx)(D,M({},t)):null]})},V=e=>{const t=(0,a.useFusionContext)(),[n]=((0,s.il)(),(0,r.useState)(()=>`${t.id||"0000"}-${Math.floor(9007199254740991*Math.random()).toString(16)}`)),i=M(M(M({},t),e),{},{instanceId:n}),{customFields:o,isAdmin:l,siteProperties:c}=i,{displayAdLabel:u,lazyLoad:d=!0,reserveSpace:p=!0}=o,[f]=(0,r.useState)(N(M(M({},o),i))),[h,m]=f.adClass?f.adClass.split("x"):[],g={minHeight:p?`${m}px`:null},b=c?.advertisementLabel;return(0,A.jsx)(F,{config:f,displayAdLabel:u,instanceId:n,isAdmin:l,isAMP:()=>!(!i.outputType||"amp"!==i.outputType),lazyLoad:d,propsWithContext:i,sizing:g,adLabel:b})},z=Object.keys(h),B={};
2z.forEach(e=>{B[e]=h[e].adLabel}),V.propTypes={customFields:o().shape({adType:o().oneOf(z).tag({name:"Ad Type",labels:B,defaultValue:"1x1",required:!0,hidden:!1}),position:o().text.tag({name:"Position"}),lazyLoad:o().boolean.tag({name:"Lazy Load Ad?",defaultValue:!0}),displayAdLabel:o().boolean.tag({name:"Display Advertisement Label?",defaultValue:!1}),reserveSpace:o().boolean.tag({name:"Reserve space for Ad",defaultValue:!0})})},V.label="Google Ad Block",V.icon="arc-ads";var H=V},47179:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4647),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.label="CN - Article Audio",s.icon="book-sound",s.propTypes=r.A.propTypes,t.default=s},25532:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4647),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.label="DN - Article Audio",s.icon="book-sound",s.propTypes=r.A.propTypes,t.default=s},20345:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4647),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.label="UB - Article Audio",s.icon="book-sound",s.propTypes=r.A.propTypes,t.default=s},91296:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(36591),i=n(74848);function o({classNamePrefix:e="",item:t={}}){const n=t?.embed?.config,o=(0,r.A)(n?.imageUrl,300);return(0,i.jsxs)("div",{className:`${e}__action-box ${t?.alignment||""}`,children:[o&&(0,i.jsx)("div",{className:`${e}__action-box__image mb-3 mb-md-0 ${t?.alignment?"mb-md-3":"me-md-3"}`,children:(0,i.jsx)("img",{src:o})}),(0,i.jsxs)("div",{className:`${e}__action-box__content`,children:[(0,i.jsx)("div",{className:`${e}__action-box__title`,children:n?.title}),(0,i.jsx)("div",{className:`${e}__action-box__description`,children:n?.description})]}),(0,i.jsx)("div",{className:`${e}__action-box__cta ${t?.alignment?.match(/left|right/)?"":"ms-md-auto"}`,children:(0,i.jsx)("a",{className:`${e}__action-box__button`,href:n?.button_url,target:"_blank",children:n?.button_text})})]})}},71352:function(e,t,n){"use strict";n.d(t,{A:function(){return g}});var r=n(99789),i=n(66351),o=n(51327),a=n(40809),s=n(25067),l=n(7770),c=n(44745),u=n(21718),d=n(74848);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?p(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const m=e=>t=>t[e];function g({images:e,classPrefix:t,arcSite:n,galleryIndex:p,selectedDefaultWidth:h=740,selectedMaxHeight:g=435}){const[y,v]=(0,a.useState)(0);return(0,d.jsxs)("div",{className:`${t}__carousel`,children:[(0,d.jsx)(i.Z2,{options:{bgOpacity:1,loop:!1},beforeOpen:e=>{window&&"function"==typeof window.galleryBeforeOpen?console.log("calling galleryBeforeOpen"):console.log("galleryBeforeOpen not defined")},plugins:e=>{new o.A(e,{type:"below",captionContent:e=>{let t="";return window.photoPurchasing&&(t=window.photoPurchasing.getGalleryPhotoPurchaseLink(e)),`<div class="pswp__caption__center">\n ${e.data.caption} ${t}\n </div>`}})},children:e.map((t,o)=>{const{alt_text:a,caption:b,credits:w,url:_,width:x,height:j,vanity_credits:O}=t,S=(O||w)?.affiliation?.map(m("name")).join(", ")||(O||w)?.by?.map(m("name")).join(", ")||!1;return(0,d.jsx)("div",{className:(0,u.A)("carousel-hero-image",`carousel-hero-${o}`,o===y&&"selected"),"data-width":x,"data-height":j,children:(0,d.jsx)(i.q7,{original:(0,s.C$)(t,n,1e3),width:x,height:j,caption:`${b||""} ${S?`<strong>${S}</strong>`:""}`,children:({ref:i,open:s})=>(0,d.jsxs)(l.mO,{caption:b,credit:S?`${b?"|":""} ${S}`:null,title:null,children:[(0,d.jsx)("div",{className:"carousel-hero-image__image-container",children:(0,d.jsx)(c.A,f(f({},(0,r.A)(t,n,h,[],g)),{},{ref:i,onClick:s,alt:a}))}),(0,d.jsxs)("div",{className:"d-flex align-items-center print-only w-100",children:[(0,d.jsx)("i",{className:"fa-solid fa-images"})," Photo Gallery: ",o+1," of ",e.length]}),(0,d.jsxs)("div",{className:"d-flex justify-content-between align-items-center carousel-controls w-100",children:[(0,d.jsxs)("div",{className:"d-flex align-items-center",children:[(0,d.jsx)("button",{disabled:0===o,className:(0,u.A)("carousel-icon-button",0===o&&"disabled"),onClick:()=>{v(o-1),document?.getElementById(`carousel-navigation-image-${p}-${o-1}`)?.scrollIntoView({block:"nearest",behavior:"smooth"})},children:(0,d.jsx)("i",{className:"fa-solid fa-arrow-left"})}),(0,d.jsxs)("span",{className:"mx-2",children:[o+1," of ",e.length]}),(0,d.jsx)("button",{disabled:o===e.length-1,className:(0,u.A)("carousel-icon-button",o===e.length-1&&"disabled"),onClick:()=>{v(o+1),document?.getElementById(`carousel-navigation-image-${p}-${o+1}`)?.scrollIntoView({block:"nearest",behavior:"smooth"})},children:(0,d.jsx)("i",{className:"fa-solid fa-arrow-right"})})]}),(0,d.jsx)("div",{className:"d-flex align-items-center",children:(0,d.jsx)("button",{className:"carousel-icon-button",onClick:s,children:(0,d.jsx)("i",{className:"fa-solid fa-expand"})})})]})]})})},t._id)})}),(0,d.jsx)(b,{children:(0,d.jsx)("div",{className:"carousel-navigation",children:e.map((e,t)=>(0,d.jsx)("div",{id:`carousel-navigation-image-${p}-${t}`,className:"carousel-navigation__item",draggable:!1,children:(0,d.jsx)(c.A,f(f({className:(0,u.A)("carousel-navigation__image",t===y&&"selected")},(0,r.A)(e,n,90,[],72)),{},{onClick:()=>v(t)}))},e._id))})})]})}const b=({children:e})=>{const t=(0,a.useRef)(null),[n,r]=(0,a.useState)(!1),i=(0,a.useRef)({startX:0,startY:0,scrollLeft:0,scrollTop:0}),o=()=>{r(!1),t.current&&(document.body.style.cursor="default")};return(0,d.jsx)("div",{ref:t,onMouseDown:e=>{if(!t.current)return;const n=t.current.children[0],o=e.pageX-n.offsetLeft,a=e.pageY-n.offsetTop,s=n.scrollLeft,l=n.scrollTop;i.current={startX:o,startY:a,scrollLeft:s,scrollTop:l},r(!0),document.body.style.cursor="grabbing"},onMouseUp:o,onMouseLeave:o,onMouseMove:e=>{if(!n||!t.current)return;e.preventDefault();const r=t.current.children[0],o=e.pageX-r.offsetLeft,a=e.pageY-r.offsetTop,s=1.5*(o-i.current.startX),l=1.5*(a-i.current.startY);r.scrollLeft=i.current.scrollLeft-s,r.scrollTop=i.current.scrollTop-l},children:e})}},47976:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(40809),i=n(63118),o=n.n(i),a=n(74848);function s({item:e}){const t=Array.isArray(e?.embed?.config?.labels)?e?.embed?.config?.labels:[];t.sort();const n=t?.map(e=>({label:e,href:`#${o()(e)}`})),i=()=>{const e=document.querySelectorAll(".hashLink-wrapper");let t;for(let n=0;n<e.length;n++){e[n].style["border-right"]="#DFE0E1 solid";let r=Math.floor(e[n].getBoundingClientRect().top+window.scrollY);t?t<r&&(e[n-1].style["border-right"]="none",t=r):t=r,n===e.length-1&&(e[n].style["border-right"]="none")}};return(0,r.useEffect)(()=>(window.addEventListener("resize",i),i(),()=>{window.removeEventListener("resize",i)}),[]),(0,a.jsx)("div",{className:"hashLinkList d-flex",children:n.map(e=>(0,a.jsx)("div",{className:"hashLinkList-item py-2",children:(0,a.jsx)("div",{className:"hashLink-wrapper",children:(0,a.jsx)("a",{className:"hashLink px-5",href:e.href,children:e.label.toUpperCase()})})}))})}},65930:function(e,t,n){"use strict";var r=n(21718),i=(n(40809),n(63118)),o=n.n(i),a=n(74848);t.A=({element:e,className:t="",classPrefix:n=""})=>{const i=`h${e.level?e.level:2}`,s=o()(e.content);return(0,a.jsx)(i,{id:s,className:(0,r.A)(n&&`${n}__${i}`,t&&t),dangerouslySetInnerHTML:{__html:e.content}})}},78629:function(e,t,n){"use strict";n(40809);var r=n(59626),i=n.n(r),o=n(74848);t.A=({className:e,content:t,id:n})=>t?(0,o.jsx)(i(),{id:`article-html-block-${n}`,children:(0,o.jsx)("div",{className:e,dangerouslySetInnerHTML:{__html:t}})}):null},27261:function(e,t,n){"use strict";n.d(t,{Gc:function(){return l}});n(40809);var r=n(74848);const i="Alternate Headlines",o="Key Points",a=(e,t)=>"custom_embed"===e?.type&&e?.subtype===t,s=e=>(e||"").replace(/<(\w+)>\s*<\/(\w+)>/g,""),l=(e,t=[])=>{const n=((e=[])=>{const t=e.find(e=>a(e,i));return s(t?.embed?.config?.key_points)})(t),r=t.some(e=>a(e,o));return a(e,o)?n||s(e?.embed?.config?.content):a(e,i)&&!r?n:""};t.Ay=({html:e,classNamePrefix:t})=>e?(0,r.jsxs)("div",{className:`${t}__key-points-list col-12`,children:[(0,r.jsxs)("div",{className:"key-points-list-heading",children:[(0,r.jsx)("div",{className:"key-points-list-heading__text col-3 col-md-2",children:"KEY POINTS"}),(0,r.jsx)("div",{className:"key-points-list-heading__empty col-9 col-md-10"})]}),(0,r.jsx)("div",{className:"key-points-list-content",dangerouslySetInnerHTML:{__html:e}})]}):null},91906:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});n(40809);var r=n(74848);const i=e=>{const{listType:t,listItems:n}=e,o=n.map((e,t)=>{if("list"===e.type){const{list_type:n,items:o}=e;return(0,r.jsx)(i,{listType:n,listItems:o},e._id+t)}return(0,r.jsx)("li",{dangerouslySetInnerHTML:{__html:(n=e.content,void 0!==n&&n?n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"):null)}},e._id+t);var n});return"unordered"===t?(0,r.jsx)("ul",{children:o}):(0,r.jsx)("ol",{children:o})};var o=i},17808:function(e,t,n){"use strict";n(40809);var r=n(19674),i=n.n(r),o=n(90641),a=n(74848);const s=({element:e,classPrefix:t=""})=>{let n=e.raw_oembed.html;const r=-1!==["youtube","vimeo"].indexOf(e.subtype)?`${t}__oembed ${t}__embed-responsive`:`${t}__oembed`;if("youtube"===e.subtype){const t=e.raw_oembed.html.match(/(src="https?:\/\/[^\s"]+)"/)[1];t.includes("enablejsapi")||(n=e.raw_oembed.html.replace(t,t+(t?.includes("?")?"&":"?")+"enablejsapi=1"))}return(0,a.jsx)("div",{className:`${r} ${e.subtype} ${e?.alignment||""}`,"data-chromatic":"ignore",children:(0,a.jsx)(o.A,{markup:n,children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:n}})})})};s.propTypes={element:i().object},t.A=s},72436:function(e,t,n){"use strict";n(40809);var r=n(7770),i=n(91906),o=n(74848);
2t.A=({type:e="blockquote",addQuotes:t=!1,classPrefix:n,element:a})=>{const{content_elements:s=[],citation:l={},_id:c}=a,u=n?`${n}__${e} ${a?.alignment||""}`:null,d=[];if(s.forEach(e=>{if("text"===e.type&&Object.prototype.hasOwnProperty.call(e,"content")){let n=e.content;t&&(n=`â${n}â`),d.push((0,o.jsx)(r.fz,{dangerouslySetInnerHTML:{__html:n}},e._id))}if("list"===e.type){const{list_type:t,items:n}=e;d.push((0,o.jsx)(i.A,{listType:t,listItems:n},e._id))}}),"text"===l.type&&null!==l.content&&void 0!==l.content&&""!==l.content){const e=n?`${n}__citation`:null;d.push((0,o.jsxs)("span",{className:e,children:["â Â ",l.content]},l.content))}return(0,o.jsx)(r.BJ,{as:"blockquote",className:u,cite:a.citation&&a.citation.content,children:d},c)}},50644:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(21718),i=n(74848);function o({item:e={},className:t=""}){const n=e?.embed?.config;return(0,i.jsx)("div",{className:(0,r.A)(t,`float-${"left"===n?.alignment?"start":"end"} col-12 col-lg-5 ms-0 ms-lg-5`),dangerouslySetInnerHTML:{__html:n.content}})}},59716:function(e,t,n){"use strict";n(40809);var r=n(63200),i=n(74848);t.A=({element:e,classPrefix:t})=>{const{header:n,rows:o}=e,a=t?`${t}__table`:null;console.log({header:n,rows:o});const s=n.map((e,t)=>(0,i.jsx)("th",{children:(0,i.jsx)(r.Ay,{children:e.content})},e._id+t)),l=o.map((e,t)=>{let n;const o=e.map((e,o)=>(n+=e._id+t,(0,i.jsx)("td",{children:(0,i.jsx)(r.Ay,{children:e.content})},e._id+o)));return(0,i.jsx)("tr",{children:o},n)});return(0,i.jsxs)("table",{className:a,children:[(0,i.jsx)("thead",{children:(0,i.jsx)("tr",{children:s})}),(0,i.jsx)("tbody",{children:l})]})}},87751:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(40809),i=n(73974),o=n(7770),a=n(21718),s=n(35616),l=n(74848);function c({item:e,options:t={}}){const[n,c]=(0,r.useState)(t?.autoplay||!1);return(0,l.jsxs)("div",{className:(0,a.A)({"article-body-video-wrapper":!0,"vertical-video":!!e?.additional_properties?.vertical,[`alignment-${e?.alignment}`]:!!e?.alignment,"with-caption":e?.description?.basic||e?.subheadlines?.basic}),children:[(0,l.jsx)(i.A,{aspectRatio:e?.additional_properties?.vertical?"9/16":"16/9",thumbnail:t?.thumbnail||(0,s.Z_)(e),credit:(0,o.Ql)(e?.credits),urls:e?.streams,playing:n,setPlaying:c,showPip:!1,mute:t?.autoplay||!1,hideMuteControl:t?.hideMuteControl||!1,hideSeekControl:t?.hideSeekControl||!1,hideProgressLabel:t?.hideProgressLabel||!1,hideFullscreenControl:t?.hideFullscreenControl||!1,hidePlayPauseControl:t?.hidePlayPauseControl||!1,loop:t?.autoplay||!1,playOnHover:!t?.autoplay&&t.playOnHover,title:e?.headlines?.basic,videoId:e?._id}),(e?.description?.basic||e?.subheadlines?.basic)&&!t.hideCaption&&(0,l.jsx)("span",{className:"c-media-item__caption ",children:e?.description?.basic})]})}},97095:function(e,t,n){"use strict";n.r(t),n.d(t,{ArticleBodyChainPresentation:function(){return D}});n(40809);var r=n(19674),i=n.n(r),o=n(4321),a=n(21718),s=n(66351),l=n(51327),c=n(28408),u=n(25067),d=n(63200),p=n(7770),f=n(44745),h=n(57072),m=n(99789),g=n(81809),b=n(65930),y=n(78629),v=n(91906),w=n(17808),_=n(72436),x=n(59716),j=n(71352),O=n(47976),S=n(50644),k=n(91296),C=n(87751),P=n(74848);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach(function(t){N(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function N(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const A=e=>t=>t[e],I="cn-article-body";function L(e,t,n,r,i,o,g=[]){const{_id:T=t,type:N,content:L}=e,{hideImageTitle:D=!1,hideImageCaption:R=!1,hideImageCredits:M=!1,hideGalleryTitle:$=!1,hideGalleryCaption:F=!1,hideGalleryCredits:V=!1,hideVideoTitle:z=!1,hideVideoCaption:B=!1,hideVideoCredits:H=!1,viewportPercentage:U=65,borderRadius:q=!1,aspectRatio:Z}=o;switch(N){case"text":return L&&L.trim()&&"<br/>"!==L.trim()?(0,P.jsx)(p.fz,{dangerouslySetInnerHTML:{__html:L}},`${N}_${t}_${T}`):null;case"copyright":return L&&L.length>0?(0,P.jsx)(p.fz,{className:`${I}__copyright`,dangerouslySetInnerHTML:{__html:L}},`${N}_${t}_${T}`):null;case"divider":return(0,P.jsx)(p.cG,{assistiveHidden:!1},`${N}_${t}_${T}`);case"image":{const{additional_properties:{link:r=""}={},alignment:i="",alt_text:o,caption:a,credits:c,subtitle:d,url:h,width:g,height:b,vanity_credits:y}
2=e,v="left"===i||"right"===i?i:"",w=`${I}__image${v?` ${I}__image-float-${v}`:""}`;if(h){const i=(y||c)?.affiliation?.map(A("name")).join(", ")||(y||c)?.by?.map(A("name")).join(", ")||null;return(0,P.jsx)(s.Z2,{options:{bgOpacity:1},plugins:e=>{new l.A(e,{type:"below",captionContent:e=>e.data.caption})},children:(0,P.jsx)("div",{className:"cn-article-body__image-wrapper","data-width":g,"data-height":b,children:(0,P.jsx)(s.q7,{original:(0,u.C$)(e,n,1e3),width:g,height:b,caption:R?null:`<div class="pswp__caption__center">${a||""} ${i?`<strong>${i}</strong>`:""}</div>`,children:({ref:t,open:s})=>(0,P.jsx)(p.mO,{className:w,caption:R?null:a,credit:!M&&i?`${a?"|":""} ${i}`:null,title:null,children:(0,P.jsx)(p.be,{component:p.N_,condition:r,href:r,children:(0,P.jsx)(f.A,E(E({},(0,m.A)(e,n,v?400:800)),{},{ref:t,onClick:s,alt:o}))})})})})},`${N}_${t}_${T}`)}return null}case"interstitial_link":{const{url:n,content:i}=e;if(!n||!i)return null;let o=g[t-1],s=g[t-2],l=g[t+1],u=g[t+2],d=0===o?.content?.replaceAll(" ","")?.length&&"interstitial_link"!==s?.type||"interstitial_link"!==o?.type&&0!==o?.content?.replaceAll(" ","")?.length,p=0===l?.content?.replaceAll(" ","")?.length&&"interstitial_link"!==u?.type||"interstitial_link"!==l?.type&&0!==l?.content?.replaceAll(" ","")?.length,f="interstitial_link"===l?.type||""===l?.content&&"interstitial_link"===u?.type;return(0,P.jsxs)("div",{className:(0,a.A)(`${I}__related-story`,p&&`${I}__related-story-last`),children:[d&&(0,P.jsx)("div",{className:`${I}__related-story-title`,children:f?r.t("cn-article.relatedStories"):r.t("cn-article.relatedStory")}),(0,P.jsx)("div",{className:`${I}__related-story-item`,children:(0,P.jsx)("a",{href:(0,c.J1)(n),children:i})})]},`${N}_${t}_${T}`)}case"raw_html":{const{alignment:n=""}=e,r="left"===n||"right"===n||"center"===n?n:"",i=`${I}__html${r?` ${I}__html-float-${r}`:""}`;return L&&L.length>0?(0,P.jsx)(y.A,{id:T,className:i,content:L},`${N}_${t}_${T}`):null}case"list":{const{_id:n="",list_type:r,items:i}=e;return i&&i.length>0?(0,P.jsx)(v.A,{listType:r,listItems:i},`${N}_${t}_${n}_${T}`):null}case"correction":{const{correction_type:n}=e,i="clarification"===n?r.t("article-body-block.clarification"):r.t("article-body-block.correction");return e.text&&e.text.length>0?(0,P.jsx)("section",{className:`${I}__correction`,children:(0,P.jsxs)(p.AF,{children:[(0,P.jsx)(p.DZ,{children:i}),(0,P.jsx)(p.fz,{children:e.text})]})},`${N}_${t}_${T}`):null}case"header":return e.content&&e.content.length>0?(0,P.jsx)(b.A,{classPrefix:I,element:e},`${N}_${t}_${T}`):null;case"oembed_response":return e.raw_oembed?(0,P.jsx)(w.A,{classPrefix:I,element:e},`${N}_${t}_${T}`):null;case"table":return e.rows?(0,P.jsx)(x.A,{element:e,classPrefix:I},`${N}_${t}_${T}`):null;case"quote":return"pullquote"===e.subtype?(0,P.jsx)(_.A,{element:e,classPrefix:I,type:"pullquote"},`${N}_${t}_${T}`):(0,P.jsx)(_.A,{element:e,classPrefix:I},`${N}_${t}_${T}`);case"video":return(0,P.jsx)(C.A,{item:e});case"gallery":return(0,P.jsx)(j.A,{classPrefix:I,images:e.content_elements,arcSite:n,galleryIndex:t},`${N}_${t}_${T}`);case"custom_embed":switch(e?.subtype){case"Custom Inlines":switch(e?.embed?.config?.subtype){case"action-box":return(0,P.jsx)(k.A,{classNamePrefix:I,item:e},`${N}_${t}_${T}`);case"sidebar":return(0,P.jsx)(S.A,{className:`${I}__sidebar`,item:e},`${N}_${t}_${T}`);default:return null}case"Action Box":return(0,P.jsx)(k.A,{classNamePrefix:I,item:e},`${N}_${t}_${T}`);case"Sidebar":return(0,P.jsx)(S.A,{className:`${I}__sidebar`,item:e},`${N}_${t}_${T}`);case"Hash Link List":return(0,P.jsx)(O.A,{item:e});case"Timeline":{const n=e?.embed?.config?.content?.singleContent?.content,r=n?.events?.filter(e=>!1).length>0;return n?.events?.length>0&&(0,P.jsxs)("div",{className:"chronology",children:[(0,P.jsx)("h2",{className:"chronology_title",children:n?.title}),(0,P.jsx)("div",{className:"chronology_events",children:n?.events?.map((e,t)=>(0,P.jsxs)("div",{className:"chronology-event","data-index":t,children:[(0,P.jsx)("div",{className:"chronology-event-item chronology-event-item_date",children:(0,P.jsxs)("div",{className:"partial-date",children:[e.e_month?(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("div",{className:"partial-date--month",children:e.e_month}),e.e_day?(0,P.jsx)("div",{className:"partial-date--day",children:e.e_day}):null]}):null,(0,P.jsx)("div",{className:"partial-date--year",children:e.e_year})]})}),(0,P.jsx)("div",{className:"chronology-event-item chronology-event-item_dot-wrapper",children:(0,P.jsx)("div",{className:"chronology-event-item_dot-wrapper_dot"})}),(0,P.jsxs)("div",{className:(0,a.A)("chronology-event-item","chronology-event-item_title-and-description",!r&&"description-fullwidth"),children:[(0,P.jsx)("div",{className:"chronology-event-item_title-and-description_title",children:e.e_title}),(0,P.jsx)("div",{className:(0,a.A)("chronology-event-item_title-and-description_description",!r&&"description-fullwidth"),children:(0,P.jsx)(d.Ay,{children:e.e_content})})]}),r&&(0,P.jsx)("div",{className:"chronology-event-item chronology-event-item_image d-md-flex flex-shrink-0",children:(0,P.jsx)("img",{className:"Image",alt:"",width:"125",height:"74",src:"https://media.thechurchnews.com/bs/images/chronology-transparent.png"})})]},t))})]},`${N}_${t}_${T}`)}case"Live Updates":return(0,P.jsx)(h.T,{payload:e?.embed?.config});default:return null}case"story":return e?.canonical_url?(0,P.jsxs)("div",{className:(0,a.A)(`${I}__related-story`,e?.alignment&&`${I}__related-story-float-${e.alignment}`,"story"!==g[t+1]?.type&&`${I}__related-story-last`),children:["story"!==g[t-1]?.type&&(0,P.jsx)("div",{className:`${I}__related-story-title`,children:"story"===g[t+1]?.type?r.t("cn-article.relatedStories"):r.t("cn-article.relatedStory")}),(0,P.jsx)("div",{className:`${I}__related-story-item`,children:(0,P.jsx)("a",{href:(0,c.J1)(e?.canonical_url),target:"_blank",children:e?.headlines?.basic})})]},`${N}_${t}_${T}`):null;default:return null}}const D=({children:e,customFields:t={},context:n})=>{const{globalContent:r={},arcSite:i,id:o}=n,{content_elements:s=[],copyright:l}=r;(0,g.I)(s);const{elementPlacement:c={},embedFeaturedLiveUpdates:u=!1,pianoInlineTargetEnabled:d=!1,pianoInlineTargets:f={}}=t,m=(0,p.il)(),b=Object.keys(c).map(e=>({feature:+e,paragraph:+c[e]})),y=d?Object.keys(f).map(e=>({identifier:e,paragraph:+f[e]})):[],v=s.filter(e=>"text"===e.type).length;let w=0;const _=[...s.map((n,r)=>{if("text"===n.type){w+=1;const o=y.filter(({paragraph:e})=>e===w||e>v&&w===v).map(({identifier:e})=>(0,P.jsx)("div",{id:e,className:"piano-article-body-inline-target"},`piano-inline-${e}`));if(5===w&&w<v-1&&u)return[L(n,r,i,m,0,t,s),(0,P.jsx)(h.T,{useFeatured:!0,isEmbedded:!0}),...o];const a=b.filter(e=>e.paragraph===w);if(a.length&&w<v-1)return[L(n,r,i,m,0,t,s),...a.map(t=>e[t.feature-1]),...o];if(o.length)return[L(n,r,i,m,0,t,s),...o]}return L(n,r,i,m,0,t,s)}),...l?[L({type:"copyright",content:l},"copyright-text",i,null,0,{},[])]:[]];return(0,P.jsx)("div",{className:(0,a.A)(I,"mt-4"),children:_})},R=({children:e,customFields:t={}})=>{const n=(0,o.useFusionContext)(),{isAdmin:r}=n;return t?.lazyLoad&&(0,p.fL)()&&!r?null:(0,P.jsx)(p.bE,{enabled:t?.lazyLoad&&!r,children:(0,P.jsx)(D,{context:n,customFields:t,children:e})})};R.propTypes={customFields:i().shape({elementPlacement:i().kvp.tag({label:"Ad placements",group:"Inline ads",description:"Places your inline article body ads in the article body chain. For each ad feature in the chain, fill in two values below: Field 1) The position of the ad within the chain and Field 2) the paragraph number that this ad should follow in the article body. For example, entering 1 and 3 would mean that the first ad in the article body chain will be placed after the third paragraph in the article."}),lazyLoad:i().bool.tag({name:"Lazy Load block?",defaultValue:!1,description:"Turning on lazy-loading will prevent this block from being loaded on the page until it is nearly in-view for the user."}),embedFeaturedLiveUpdates:i().bool.tag({name:"Embed Featured Live Updates?",defaultValue:!1,description:"This will enable Live Updates Embeds."}
2),hideImageTitle:i().bool.tag({description:"This display option applies to all Images in the Article Body.",label:"Hide Title",defaultValue:!1,group:"Image Display Options"}),hideImageCaption:i().bool.tag({description:"This display option applies to all Images in the Article Body.",label:"Hide Caption",defaultValue:!1,group:"Image Display Options"}),hideImageCredits:i().bool.tag({description:"This display option applies to all Images in the Article Body.",label:"Hide Credits",defaultValue:!1,group:"Image Display Options"}),hideGalleryTitle:i().bool.tag({description:"This display option applies to all Galleries in the Article Body",label:"Hide Title",defaultValue:!1,group:"Gallery Display Options"}),hideGalleryCaption:i().bool.tag({description:"This display option applies to all Galleries in the Article Body",label:"Hide Caption",defaultValue:!1,group:"Gallery Display Options"}),hideGalleryCredits:i().bool.tag({description:"This display option applies to all Galleries in the Article Body",label:"Hide Credits",defaultValue:!1,group:"Gallery Display Options"}),aspectRatio:i().oneOf(["--","16:9","9:16","1:1","4:3"]).isRequired.tag({description:"Aspect ratio to use in player (Defaults to the aspect ratio of the resolved video)",label:"Player aspect ratio",defaultValue:"--",group:"Video Display Options",labels:{"--":"Video Source","16:9":"16:9","9:16":"9:16","1:1":"1:1","4:3":"4:3"}}),viewportPercentage:i().number.tag({description:"Height percentage the player takes from viewport (Applies only for 9:16 videos)",label:"View height percentage",defaultValue:65,group:"Video Display Options"}),borderRadius:i().bool.tag({description:"Applies only for 9:16 videos",label:"Round player corners",defaultValue:!1,group:"Video Display Options"}),hideVideoTitle:i().bool.tag({description:"This display option applies to all Videos in the Article Body",label:"Hide Title",defaultValue:!1,group:"Video Display Options"}),hideVideoCaption:i().bool.tag({description:"This display option applies to all Videos in the Article Body",label:"Hide Caption",defaultValue:!1,group:"Video Display Options"}),hideVideoCredits:i().bool.tag({description:"This display option applies to all Videos in the Article Body",label:"Hide Credits",defaultValue:!1,group:"Video Display Options"}),pianoInlineTargetEnabled:i().bool.tag({label:"Piano Inline Target Enabled",description:"Toggle to enable or disable the Piano inline targets in the article body.",defaultValue:!1,group:"Piano Inline Target"}),pianoInlineTargets:i().kvp.tag({label:"Piano Inline Targets",group:"Piano Inline Target",description:"Field 1) The Piano identifier. Field 2) The paragraph number after which it should be placed."})})},R.label="CN - Article Body",R.icon="arc-article",t.default=R},10155:function(e,t,n){"use strict";n.r(t),n.d(t,{ArticleBodyChainPresentation:function(){return X},default:function(){return ee}});var r=n(40809),i=n(19674),o=n.n(i),a=n(4321),s=n(14375),l=n(21718),c=n(7770),u=n(44745),d=n(57370),p=n(99789),f=n(81809),h=n(65930),m=n(78629),g=n(91906),b=n(17808),y=n(72436),v=n(59716),w=n(71352),_=n(66351),x=n(51327),j=n(25067),O=n(74848);function S({item:e={},id:t="",className:n=""}){const i=e?.alignment,o=e?.embed?.config,a=(0,r.useRef)(null);return(0,O.jsx)("div",{className:(0,l.A)(n,i),children:(0,O.jsx)("iframe",{ref:a,id:`${t}_iframe`,srcDoc:o?.embed,onLoad:()=>{const e=a?.current?.contentDocument||a?.current?.contentWindow?.document;if(a?.current&&e){e.body.style.margin="0",e.body.querySelector("div").style.boxSizing="border-box",e.body.querySelector("div").style.margin="0";const t=e?.body?.scrollHeight,n=e?.body?.scrollWidth;a.current.style.height=`${t+25}px`,a.current.style.width=`${n+25}px`}},width:310,height:256})})}var k=n(47976),C=n(27261),P=n(50644),T=n(91296),E=n(87751),N=n(43993),A=n(63200),I=n(90641),L=n(74878),D=n(52657);function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?R(Object(n),!0).forEach(function(t){$(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const F=e=>{if(e&&"object"==typeof e)return e;if("string"!=typeof e)return;const[t,n]=e.split(",").map(e=>Number(e.trim()));return Number.isFinite(t)&&Number.isFinite(n)?{x:t,y:n}:void 0},V=e=>M(M({},e),{},{auth:"string"==typeof e?.auth?{[N.RESIZER_TOKEN_VERSION]:e.auth}:e?.auth,focal_point:F(e?.focal_point),credits:"string"==typeof e?.credits?{by:[{name:e.credits}]}:e?.credits,alt_text:e?.alt_text||e?.caption||""}),z=({image:e,arcSite:t,classNamePrefix:n,hideCaption:r,hideCredits:i})=>{const o=e?.credits?.by?.map(e=>e?.name).filter(Boolean).join(", ")||null;return(0,O.jsx)(c.mO,{className:`${n}__image ${n}__homepage-queue__image`,caption:r?null:e?.caption||null,credit:!i&&o?`${e?.caption&&!r?"|":""} ${o}`:null,title:null,children:(0,O.jsx)(u.A,M(M({},(0,p.A)(e,t,800)),{},{alt:e?.alt_text||""}))})},B=({link:e,classNamePrefix:t})=>{const n="internal"===e?.type,r=(0,D.dA)(e?.url);return r?(0,O.jsxs)("a",M(M({className:`${t}__homepage-queue__link${n?"":" external"}`,href:r},n?{}:{target:"_blank",rel:"noopener noreferrer"}),{},{children:[(0,O.jsx)("span",{className:`${t}__homepage-queue__link-title`,children:e?.title}),(0,O.jsx)("span",{className:`${t}__homepage-queue__link-byline`,children:n?e?.byline||(e?.author?`By ${e.author}`:""):[e?.siteName||e?.domain,e?.author?`By ${e.author}`:""].filter(Boolean).join(" · ")})]})):null},H=({social:e,classNamePrefix:t})=>{const n=(0,L.Sc)(e);if(!n){const n=(0,D.dA)(e?.url);return n?(0,O.jsx)("a",{className:`${t}__homepage-queue__social-link`,href:n,target:"_blank",rel:"noopener noreferrer",children:`View on ${(0,L.G8)(e?.platform)}`}):null}return(0,O.jsx)("div",{className:`${t}__homepage-queue__social`,children:(0,O.jsx)(I.A,{markup:n,children:(0,O.jsx)("div",{dangerouslySetInnerHTML:{__html:n}})},e.url)})};function U({classNamePrefix:e="",customFields:t={},index:n=0}){const{globalContent:r,arcSite:i}=(0,a.useFusionContext)(),o=r?.additional_properties?.homepageQueue;if(!o)return null;const{hideImageCaption:s=!1,hideImageCredits:l=!1}=t,c=(Array.isArray(o.images)?o.images:[]).filter(e=>e?.url).map(V),u=(Array.isArray(o.videos)?o.videos:[]).filter(Boolean),d="string"==typeof o.content?o.content:"";return d||o.link||o.social||c.length||u.length?(0,O.jsxs)("div",{className:`${e}__homepage-queue`,children:[d&&(0,O.jsx)("div",{className:`${e}__homepage-queue__content`,children:(0,O.jsx)(A.Ay,{options:{disableParsingRawHTML:!0},children:d})}),o.social&&(0,O.jsx)(H,{social:o.social,classNamePrefix:e}),1===c.length&&(0,O.jsx)(z,{image:c[0],arcSite:i,classNamePrefix:e,hideCaption:s,hideCredits:l}),c.length>1&&(0,O.jsx)(w.A,{classPrefix:e,images:c,arcSite:i,galleryIndex:n}),u.map((e,t)=>(0,O.jsx)(E.A,{item:e},e?._id||e?.uuid||t)),o.link&&(0,O.jsx)(B,{link:o.link,classNamePrefix:e})]}):null}function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach(function(t){G(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function G(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const W=e=>t=>t[e],K="dn-article-body";function Y(e,t,n,r,i,o,a=[],s=null){const{_id:f=t,type:N,content:A}=e,{hideImageTitle:I=!1,hideImageCaption:L=!1,hideImageCredits:D=!1,hideGalleryTitle:R=!1,hideGalleryCaption:M=!1,hideGalleryCredits:$=!1,hideVideoTitle:F=!1,hideVideoCaption:V=!1,hideVideoCredits:z=!1,viewportPercentage:B=65,borderRadius:H=!1,aspectRatio:q}=o;switch(N){case"text":{const n=[];let r=A;return e.additional_properties?.tableCaptionAndCredit&&n.push("table-credit-caption"),"letter"===e?.block_properties?.dropcap&&(n.push("drop-cap-paragraph"),r=A.replace(/^(\s*)(.)/s,'$1<span class="drop-cap-first-letter">$2</span>')),r&&r.trim()&&"<br/>"!==r.trim()?(0,O.jsx)(c.fz,{className:(0,l.A)(n),dangerouslySetInnerHTML:{__html:r}},`${N}_${t}_${f}`):null}case"copyright":return A&&A.length>0?(0,O.jsx)(c.fz,{className:`${K}__copyright`,dangerouslySetInnerHTML:{__html:A}},`${N}_${t}_${f}`):null;case"divider":return(0,O.jsx)(c.cG,{assistiveHidden:!1},`${N}_${t}_${f}`);case"image":{const{additional_properties:{link:r=""}={},alignment:i="",alt_text:o,caption:a,credits:l,subtitle:d,url:h,width:m,height:g,vanity_credits:b}=e,y="left"===i||"right"===i?i:"",v=`${K}__image${y?` ${K}__image-float-${y}`:""}`;if(h){const i=(b||l)?.affiliation?.map(W("name")).join(", ")||(b||l)?.by?.map(W("name")).join(", ")||null;return"STANDARD_PAGE"===s?(0,O.jsx)(c.mO,{className:v,caption:L?null:a,credit:!D&&i?`${a?"|":""} ${i}`:null,title:null,children:(0,O.jsx)(c.be,{component:c.N_,condition:r,href:r,children:(0,O.jsx)(u.A,Z(Z({},(0,p.A)(e,n,y?400:800)),{},{alt:o}))})}):(0,O.jsx)(_.Z2,{options:{bgOpacity:1},plugins:e=>{new x.A(e,{type:"below",captionContent:e=>e.data.caption})},children:(0,O.jsx)("div",{className:"dn-article-body__image-wrapper","data-width":m,"data-height":g,children:(0,O.jsx)(_.q7,{original:(0,j.C$)(e,n,1e3),width:m,height:g,caption:L?null:`<div class="pswp__caption__center">${a||""} ${i?`<strong>${i}</strong>`:""}</div>`,children:({ref:t,open:s})=>(0,O.jsx)(c.mO,{className:v,caption:L?null:a,credit:!D&&i?`${a?"|":""} ${i}`:null,title:null,children:(0,O.jsx)(c.be,{component:c.N_,condition:r,href:r,children:(0,O.jsx)(u.A,Z(Z({},(0,p.A)(e,n,y?400:800)),{},{ref:t,onClick:s,alt:o}))})})})})},`${N}_${t}_${f}`)}return null}case"interstitial_link":{const{url:n,content:r}=e;if(!n||!r)return null;let i=a[t-1],o=a[t-2],s=a[t+1],c=a[t+2],u=0===i?.content?.replaceAll(" ","")?.length&&"interstitial_link"!==o?.type||"interstitial_link"!==i?.type&&0!==i?.content?.replaceAll(" ","")?.length,d=0===s?.content?.replaceAll(" ","")?.length&&"interstitial_link"!==c?.type||"interstitial_link"!==s?.type&&0!==s?.content?.replaceAll(" ","")?.length;return(0,O.jsxs)("div",{className:(0,l.A)(`${K}__related-story`,d&&`${K}__related-story-last`),children:[u&&(0,O.jsx)("div",{className:`${K}__related-story-title`,children:"Related"}),(0,O.jsx)("div",{className:`${K}__related-story-item`,children:(0,O.jsx)("a",{href:n,children:r})})]},`${N}_${t}_${f}`)}case"raw_html":{const{alignment:n=""}
2=e,r="left"===n||"right"===n||"center"===n?n:"",i=`${K}__html${r?` ${K}__html-float-${r}`:""}`;return A&&A.length>0?(0,O.jsx)(m.A,{id:f,className:i,content:A},`${N}_${t}_${f}`):null}case"list":{const{_id:n="",list_type:r,items:i}=e;return i&&i.length>0?(0,O.jsx)(g.A,{listType:r,listItems:i},`${N}_${t}_${n}_${f}`):null}case"correction":{const{correction_type:n}=e,i="clarification"===n?r.t("article-body-block.clarification"):r.t("article-body-block.correction");return e.text&&e.text.length>0?(0,O.jsx)("section",{className:`${K}__correction`,children:(0,O.jsxs)(c.AF,{children:[(0,O.jsx)(c.DZ,{children:i}),(0,O.jsx)(c.fz,{children:e.text})]})},`${N}_${t}_${f}`):null}case"header":return e.content&&e.content.length>0?(0,O.jsx)(h.A,{classPrefix:K,className:(0,l.A)(e.additional_properties?.tableTitle&&"table-title"),element:e},`${N}_${t}_${f}`):null;case"oembed_response":return e.raw_oembed?(0,O.jsx)(b.A,{classPrefix:K,element:e},`${N}_${t}_${f}`):null;case"table":return e.rows?(0,O.jsx)(v.A,{element:e,classPrefix:K},`${N}_${t}_${f}`):null;case"quote":return"pullquote"===e.subtype?(0,O.jsx)(y.A,{element:e,classPrefix:K,type:"pullquote"},`${N}_${t}_${f}`):(0,O.jsx)(y.A,{element:e,classPrefix:K},`${N}_${t}_${f}`);case"video":return(0,O.jsx)(E.A,{item:e});case"gallery":return(0,O.jsx)(w.A,{classPrefix:K,images:e.content_elements,arcSite:n,galleryIndex:t},`${N}_${t}_${f}`);case"custom_embed":switch(e?.subtype){case"Custom Inlines":switch(e?.embed?.config?.subtype){case"action-box":return(0,O.jsx)(T.A,{classNamePrefix:K,item:e},`${N}_${t}_${f}`);case"sidebar":return(0,O.jsx)(P.A,{className:`${K}__sidebar`,item:e},`${N}_${t}_${f}`);case"affiliate-embed":{const n=`${N}_${t}_${f}`;return(0,O.jsx)(S,{className:`${K}__affiliate-embed`,id:n,item:e},n)}default:return null}case"Action Box":return(0,O.jsx)(T.A,{classNamePrefix:K,item:e},`${N}_${t}_${f}`);case"Sidebar":return(0,O.jsx)(P.A,{className:`${K}__sidebar`,item:e},`${N}_${t}_${f}`);case"Affiliate Embed":{const n=`${N}_${t}_${f}`;return(0,O.jsx)(S,{className:`${K}__affiliate-embed`,id:n,item:e},n)}case"Hash Link List":return(0,O.jsx)(k.A,{item:e});case"Homepage Queue":return(0,O.jsx)(U,{classNamePrefix:K,customFields:o,index:t},`${N}_${t}_${f}`);case"Alternate Headlines":case"Key Points":return(0,O.jsx)(C.Ay,{classNamePrefix:K,html:(0,C.Gc)(e,a)},`${N}_${t}_${f}`);case"Key Points List":{const n=e?.embed?.config?.labels;if(n?.length)return(0,O.jsxs)("div",{className:`${K}__key-points-list col-12`,children:[(0,O.jsxs)("div",{className:"key-points-list-heading",children:[(0,O.jsx)("div",{className:"key-points-list-heading__text col-4 col-md-3",children:"KEY POINTS"}),(0,O.jsx)("div",{className:"key-points-list-heading__empty col-8 col-md-9"})]}),(0,O.jsx)("div",{className:"key-points-list-content",children:(0,O.jsx)("ul",{children:n.map((e,t)=>(0,O.jsx)("li",{className:"key-points-list-item",dangerouslySetInnerHTML:{__html:e}},`keyPoint${t}`))})})]},`${N}_${t}_${f}`)}case"Live Updates":return(0,O.jsx)(d.default,{payload:e?.embed?.config});default:return null}case"story":return e?.canonical_url?(0,O.jsxs)("div",{className:(0,l.A)(`${K}__related-story`,e?.alignment&&`${K}__related-story-float-${e.alignment}`,"story"!==a[t+1]?.type&&`${K}__related-story-last`),children:["story"!==a[t-1]?.type&&(0,O.jsx)("div",{className:`${K}__related-story-title`,children:"Related"}),(0,O.jsx)("div",{className:`${K}__related-story-item`,children:(0,O.jsx)("a",{href:e?.canonical_url,target:"_blank",children:e?.headlines?.basic})})]},`${N}_${t}_${f}`):null;default:return null}}const J=({commentCount:e=0,pageSubtype:t})=>{if("LIVE_UPDATES"===t)return null;return(0,O.jsxs)("div",{className:"comments-bubble-container",onClick:()=>{const e=document?.getElementById("comments-sidebar");e&&bootstrap?new bootstrap.Offcanvas(e)?.show():document?.getElementById("coral_thread")?.scrollIntoView({block:"start",behavior:"smooth"})},children:[(0,O.jsx)("div",{className:"comments-bubble",children:e>=1?e:(0,O.jsxs)("div",{className:"comments-bubble-lines",children:[(0,O.jsx)("div",{className:"comments-bubble-line"}),(0,O.jsx)("div",{className:"comments-bubble-line"}),(0,O.jsx)("div",{className:"comments-bubble-line"})]})}),(0,O.jsx)("div",{className:`comments-text ${e<1&&"view-comments"}`,children:e>=1?"Comment"+(1!==e?"s":""):"View Comments"})]})},X=({children:e,customFields:t={},context:n,commentCount:r=0})=>{const{globalContent:i={},arcSite:o,id:a}=n,{content_elements:s=[],copyright:u}=i;(0,f.I)(s);const{elementPlacement:d={},pianoInlineTargetEnabled:p=!1,pianoInlineTargets:h={}}=t,m=p?Object.keys(h).map(e=>({identifier:e,paragraph:+h[e]})):[],g=(0,c.il)(),b=Object.keys(d).map(e=>({feature:+e,paragraph:+d[e]})),y=e=>e&&e.trim()&&"<br/>"!==e.trim(),v=s.filter(e=>"text"===e.type&&y(e.content)).length;let w=0;const _=[...s.map((n,a)=>
2{if("text"===n.type&&y(n.content)){w+=1;const l=m.filter(({paragraph:e})=>e===w||e>v&&w===v).map(({identifier:e})=>(0,O.jsx)("div",{id:e,className:"piano-article-body-inline-target"},`piano-inline-${e}`)),c=b.filter(e=>e.paragraph===w);if(c.length&&w<v-1)return[Y(n,a,o,g,0,t,s,i.subtype),...c.map(t=>e[t.feature-1]),...l];if("STANDARD_PAGE"!==i.subtype){if(3===w)return[Y(n,a,o,g,0,t,s,i.subtype),...l];if(v<7&&w===v||v>7&&w===v-3)return[(0,O.jsx)(J,{commentCount:r,pageSubtype:i.subtype},`comment_bubble_${a}`),Y(n,a,o,g,0,t,s,i.subtype),...l]}if(l.length)return[Y(n,a,o,g,0,t,s,i.subtype),...l]}return Y(n,a,o,g,0,t,s,i.subtype)}),...u?[Y({type:"copyright",content:u},"copyright-text",o,null,0,{},[],i.subtype)]:[]];return(0,O.jsxs)("div",{className:(0,l.A)(K,"mt-4"),children:[_,(0,O.jsx)("div",{style:{clear:"both"}})]})},Q=({children:e,customFields:t={}})=>{const n=(0,a.useFusionContext)(),{isAdmin:r}=n;if(t?.lazyLoad&&(0,c.fL)()&&!r)return null;const i=(0,s.useContent)({source:"comment-count",query:{story_id:n?.globalContent?._id}});return(0,O.jsx)(c.bE,{enabled:t?.lazyLoad&&!r,children:(0,O.jsx)(X,{context:n,customFields:t,commentCount:i?Number(i):0,children:e})})};Q.propTypes={customFields:o().shape({elementPlacement:o().kvp.tag({label:"Ad placements",group:"Inline ads",description:"Places your inline article body ads in the article body chain. For each ad feature in the chain, fill in two values below: Field 1) The position of the ad within the chain and Field 2) the paragraph number that this ad should follow in the article body. For example, entering 1 and 3 would mean that the first ad in the article body chain will be placed after the third paragraph in the article."}),lazyLoad:o().bool.tag({name:"Lazy Load block?",defaultValue:!1,description:"Turning on lazy-loading will prevent this block from being loaded on the page until it is nearly in-view for the user."}),hideImageTitle:o().bool.tag({description:"This display option applies to all Images in the Article Body.",label:"Hide Title",defaultValue:!1,group:"Image Display Options"}),hideImageCaption:o().bool.tag({description:"This display option applies to all Images in the Article Body.",label:"Hide Caption",defaultValue:!1,group:"Image Display Options"}),hideImageCredits:o().bool.tag({description:"This display option applies to all Images in the Article Body.",label:"Hide Credits",defaultValue:!1,group:"Image Display Options"}),hideGalleryTitle:o().bool.tag({description:"This display option applies to all Galleries in the Article Body",label:"Hide Title",defaultValue:!1,group:"Gallery Display Options"}),hideGalleryCaption:o().bool.tag({description:"This display option applies to all Galleries in the Article Body",label:"Hide Caption",defaultValue:!1,group:"Gallery Display Options"}),hideGalleryCredits:o().bool.tag({description:"This display option applies to all Galleries in the Article Body",label:"Hide Credits",defaultValue:!1,group:"Gallery Display Options"}),aspectRatio:o().oneOf(["--","16:9","9:16","1:1","4:3"]).isRequired.tag({description:"Aspect ratio to use in player (Defaults to the aspect ratio of the resolved video)",label:"Player aspect ratio",defaultValue:"--",group:"Video Display Options",labels:{"--":"Video Source","16:9":"16:9","9:16":"9:16","1:1":"1:1","4:3":"4:3"}}),viewportPercentage:o().number.tag({description:"Height percentage the player takes from viewport (Applies only for 9:16 videos)",label:"View height percentage",defaultValue:65,group:"Video Display Options"}),borderRadius:o().bool.tag({description:"Applies only for 9:16 videos",label:"Round player corners",defaultValue:!1,group:"Video Display Options"}),hideVideoTitle:o().bool.tag({description:"This display option applies to all Videos in the Article Body",label:"Hide Title",defaultValue:!1,group:"Video Display Options"}),hideVideoCaption:o().bool.tag({description:"This display option applies to all Videos in the Article Body",label:"Hide Caption",defaultValue:!1,group:"Video Display Options"}),hideVideoCredits:o().bool.tag({description:"This display option applies to all Videos in the Article Body",label:"Hide Credits",defaultValue:!1,group:"Video Display Options"}),pianoInlineTargetEnabled:o().bool.tag({label:"Piano Inline Target Enabled",description:"Toggle to enable or disable the Piano inline targets in the article body.",defaultValue:!1,group:"Piano Inline Target"}),pianoInlineTargets:o().kvp.tag({label:"Piano Inline Targets",group:"Piano Inline Target",description:"Field 1) The Piano identifier. Field 2) The paragraph number after which it should be placed."})})},Q.label="DN - Article Body",Q.icon="arc-article";var ee=Q},99789:function(e,t,n){"use strict";var r=n(43993),i=n(87983),o=n.n(i),a=n(7770);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?s(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=(e,t)=>t?e<t?e:t:e;t.A=(e,t,n,i=[],s)=>{if(!e)return;const{resizerURL:c}=o()(t),d={auth:e?.auth?.[r.RESIZER_TOKEN_VERSION]},p=Math.floor(e.height/e.width*n);return l(l({height:u(p,s),resizerURL:c,resizedOptions:d},i.length?{responsiveImages:i}:{}),{},{src:(0,a.i1)(e),width:n,ansImage:e})}},81809:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))for(const t of e)"text"===t?.type&&"string"==typeof t?.content?(t.content=t.content.replaceAll(/(<a[^>]*href="https:\/\/www\.deseret\.com[^"]*[^/])("[^>]*>)/g,"$1/$2"),t.content=t.content.replaceAll(/(<a[^>]*href="https:\/\/www\.thechurchnews\.com[^"]*[^/])("[^>]*>)/g,"$1/$2")):"interstitial_link"===t?.type&&"string"==typeof t?.url?(t.url=t.url.replace(/^(https:\/\/www\.deseret\.com.*[^\/])$/,"$1/"),t.url=t.url.replace(/^(https:\/\/www\.thechurchnews\.com.*[^\/])$/,"$1/")):Array.isArray(t?.content_elements)?t.content_elements=r(t.content_elements):Array.isArray(t?.items)&&(t.items=r(t.items));return e}n.d(t,{I:function(){return r}})},36591:function(e,t,n){"use strict";function r(e,t){if(e)return t?e.includes("auth=")&&!e.includes("width=")?e+`&width=${t}`:e.includes("auth=")&&e.includes("width=")?e.replace(/&width=[0-9]+/,`&width=${t}`).replace(/&height=[0-9]+/,""):e:e}n.d(t,{A:function(){return r}})},10685:function(e,t,n){"use strict";n.r(t),n.d(t,{ArticleBodyChainPresentation:function(){return I}});n(40809);var r=n(19674),i=n.n(r),o=n(4321),a=n(21718),s=n(7770),l=n(44745),c=n(99789),u=n(81809),d=n(65930),p=n(78629),f=n(91906),h=n(17808),m=n(72436),g=n(59716),b=n(71352),y=n(66351),v=n(51327),w=n(25067),_=n(27261),x=n(47976),j=n(50644),O=n(91296),S=n(87751),k=n(74848);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach(function(t){T(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function T(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const E=e=>t=>t[e],N="ub-article-body";function A(e,t,n,r,i,o,u=[],C=null){const{_id:T=t,type:A,content:I}=e,{hideImageTitle:L=!1,hideImageCaption:D=!1,hideImageCredits:R=!1,hideGalleryTitle:M=!1,hideGalleryCaption:$=!1,hideGalleryCredits:F=!1,hideVideoTitle:V=!1,hideVideoCaption:z=!1,hideVideoCredits:B=!1,viewportPercentage:H=65,borderRadius:U=!1,aspectRatio:q}=o;switch(A){case"text":{const n=[];return e.additional_properties?.tableCaptionAndCredit&&n.push("table-credit-caption"),"letter"===e?.block_properties?.dropcap&&n.push("drop-cap-paragraph"),I&&I.trim()&&"<br/>"!==I.trim()?(0,k.jsx)(s.fz,{className:(0,a.A)(n),dangerouslySetInnerHTML:{__html:I}},`${A}_${t}_${T}`):null}case"copyright":return I&&I.length>0?(0,k.jsx)(s.fz,{className:`${N}__copyright`,dangerouslySetInnerHTML:{__html:I}},`${A}_${t}_${T}`):null;case"divider":return(0,k.jsx)(s.cG,{assistiveHidden:!1},`${A}_${t}_${T}`);case"image":{const{additional_properties:{link:r=""}={},alignment:i="",alt_text:o,caption:a,credits:u,subtitle:d,url:p,width:f,height:h,vanity_credits:m}=e,g="left"===i||"right"===i?i:"",b=`${N}__image${g?` ${N}__image-float-${g}`:""}`;if(p){const i=(m||u)?.affiliation?.map(E("name")).join(", ")||(m||u)?.by?.map(E("name")).join(", ")||null;return"STANDARD_PAGE"===C?(0,k.jsx)(s.mO,{className:b,caption:D?null:a,credit:!R&&i?`${a?"|":""} ${i}`:null,title:null,children:(0,k.jsx)(s.be,{component:s.N_,condition:r,href:r,children:(0,k.jsx)(l.A,P(P({},(0,c.A)(e,n,g?400:800)),{},{alt:o}))})}):(0,k.jsx)(y.Z2,{options:{bgOpacity:1},plugins:e=>{new v.A(e,{type:"below",captionContent:e=>e.data.caption})},children:(0,k.jsx)("div",{className:"ub-article-body__image-wrapper","data-width":f,"data-height":h,children:(0,k.jsx)(y.q7,{original:(0,w.C$)(e,n,2e3),width:f,height:h,caption:D?null:`<div class="pswp__caption__center">${a||""} ${i?`<strong>${i}</strong>`:""}</div>`,children:({ref:t,open:u})=>(0,k.jsx)(s.mO,{className:b,caption:D?null:a,credit:!R&&i?`${a?"|":""} ${i}`:null,title:null,children:(0,k.jsx)(s.be,{component:s.N_,condition:r,href:r,children:(0,k.jsx)(l.A,P(P({},(0,c.A)(e,n,g?400:800)),{},{ref:t,onClick:u,alt:o}))})})})})},`${A}_${t}_${T}`)}return null}case"interstitial_link":{const{url:n,content:r}=e;if(!n||!r)return null;let i=u[t-1],o=u[t-2],s=u[t+1],l=u[t+2],c=0===i?.content?.replaceAll(" ","")?.length&&"interstitial_link"!==o?.type||"interstitial_link"!==i?.type&&0!==i?.content?.replaceAll(" ","")?.length,d=0===s?.content?.replaceAll(" ","")?.length&&"interstitial_link"!==l?.type||"interstitial_link"!==s?.type&&0!==s?.content?.replaceAll(" ","")?.length;return(0,k.jsxs)("div",{className:(0,a.A)(`${N}__related-story`,d&&`${N}__related-story-last`),children:[c&&(0,k.jsx)("div",{className:`${N}__related-story-title`,children:"Related"}),(0,k.jsx)("div",{className:`${N}__related-story-item`,children:(0,k.jsx)("a",{href:n,children:r})})]},`${A}_${t}_${T}`)}case"raw_html":{const{alignment:n=""}
2=e,r="left"===n||"right"===n||"center"===n?n:"",i=`${N}__html${r?` ${N}__html-float-${r}`:""}`;return I&&I.length>0?(0,k.jsx)(p.A,{id:T,className:i,content:I},`${A}_${t}_${T}`):null}case"list":{const{_id:n="",list_type:r,items:i}=e;return i&&i.length>0?(0,k.jsx)(f.A,{listType:r,listItems:i},`${A}_${t}_${n}_${T}`):null}case"correction":{const{correction_type:n}=e,i="clarification"===n?r.t("article-body-block.clarification"):r.t("article-body-block.correction");return e.text&&e.text.length>0?(0,k.jsx)("section",{className:`${N}__correction`,children:(0,k.jsxs)(s.AF,{children:[(0,k.jsx)(s.DZ,{children:i}),(0,k.jsx)(s.fz,{children:e.text})]})},`${A}_${t}_${T}`):null}case"header":return e.content&&e.content.length>0?(0,k.jsx)(d.A,{classPrefix:N,className:(0,a.A)(e.additional_properties?.tableTitle&&"table-title"),element:e},`${A}_${t}_${T}`):null;case"oembed_response":return e.raw_oembed?(0,k.jsx)(h.A,{classPrefix:N,element:e},`${A}_${t}_${T}`):null;case"table":return e.rows?(0,k.jsx)(g.A,{element:e,classPrefix:N},`${A}_${t}_${T}`):null;case"quote":return"pullquote"===e.subtype?(0,k.jsx)(m.A,{element:e,classPrefix:N,type:"pullquote"},`${A}_${t}_${T}`):(0,k.jsx)(m.A,{element:e,classPrefix:N},`${A}_${t}_${T}`);case"video":return(0,k.jsx)(S.A,{item:e});case"gallery":return(0,k.jsx)(b.A,{classPrefix:N,images:e.content_elements,arcSite:n,galleryIndex:t},`${A}_${t}_${T}`);case"custom_embed":switch(e?.subtype){case"Custom Inlines":switch(e?.embed?.config?.subtype){case"action-box":return(0,k.jsx)(O.A,{classNamePrefix:N,item:e},`${A}_${t}_${T}`);case"sidebar":return(0,k.jsx)(j.A,{className:`${N}__sidebar`,item:e},`${A}_${t}_${T}`);default:return null}case"Action Box":return(0,k.jsx)(O.A,{classNamePrefix:N,item:e},`${A}_${t}_${T}`);case"Sidebar":return(0,k.jsx)(j.A,{className:`${N}__sidebar`,item:e},`${A}_${t}_${T}`);case"Hash Link List":return(0,k.jsx)(x.A,{item:e});case"Alternate Headlines":case"Key Points":return(0,k.jsx)(_.Ay,{classNamePrefix:N,html:(0,_.Gc)(e,u)},`${A}_${t}_${T}`);case"Key Points List":{const n=e?.embed?.config?.labels;if(n)return(0,k.jsxs)("div",{className:`${N}__key-points-list col-12`,children:[(0,k.jsxs)("div",{className:"key-points-list-heading",children:[(0,k.jsx)("div",{className:"key-points-list-heading__text col-4 col-md-3",children:"KEY POINTS"}),(0,k.jsx)("div",{className:"key-points-list-heading__empty col-8 col-md-9"})]}),(0,k.jsx)("div",{className:"key-points-list-content",children:(0,k.jsx)("ul",{children:n.map((e,t)=>(0,k.jsx)("li",{className:"key-points-list-item",dangerouslySetInnerHTML:{__html:e}},`keyPoint${t}`))})})]},`${A}_${t}_${T}`)}default:return null}case"story":return e?.canonical_url?(0,k.jsxs)("div",{className:(0,a.A)(`${N}__related-story`,e?.alignment&&`${N}__related-story-float-${e.alignment}`,"story"!==u[t+1]?.type&&`${N}__related-story-last`),children:["story"!==u[t-1]?.type&&(0,k.jsx)("div",{className:`${N}__related-story-title`,children:"Related"}),(0,k.jsx)("div",{className:`${N}__related-story-item`,children:(0,k.jsx)("a",{href:e?.canonical_url,target:"_blank",children:e?.headlines?.basic})})]},`${A}_${t}_${T}`):null;default:return null}}const I=({children:e,customFields:t={},context:n})=>{const{globalContent:r={},arcSite:i,id:o}=n,{content_elements:l=[],copyright:c}=r;(0,u.I)(l);const{elementPlacement:d={},pianoInlineTargetEnabled:p=!1,pianoInlineTargets:f={}}=t,h=(0,s.il)(),m=Object.keys(d).map(e=>({feature:+e,paragraph:+d[e]})),g=p?Object.keys(f).map(e=>({identifier:e,paragraph:+f[e]})):[],b=e=>e&&e.trim()&&"<br/>"!==e.trim(),y=l.filter(e=>"text"===e.type&&b(e.content)).length;let v=0;const w=[...l.map((o,a)=>{if("UB_HONOREE"===r?.subtype&&[0,1].includes(a)&&"quote"===o?.type&&"pullquote"===o?.subtype)return null;if("text"===o.type&&b(o.content)){v+=1;const s=g.filter(({paragraph:e})=>e===v||e>y&&v===y).map(({identifier:e})=>(0,k.jsx)("div",{id:e,className:"piano-article-body-inline-target"},`piano-inline-${e}`)),c=m.filter(e=>e.paragraph===v);if(c.length&&v<y-1)return[A(o,a,i,h,0,t,l,r.subtype),...c.map(t=>e[t.feature-1]),...s];n?.globalContent.taxonomy.sections;
2if(s.length)return[A(o,a,i,h,0,t,l,r.subtype),...s]}return A(o,a,i,h,0,t,l,r.subtype)}),...c?[A({type:"copyright",content:c},"copyright-text",i,null,0,{},[],r.subtype)]:[]];return(0,k.jsx)("div",{className:(0,a.A)(N,"mt-4"),children:w})},L=({children:e,customFields:t={}})=>{const n=(0,o.useFusionContext)(),{isAdmin:r}=n;return t?.lazyLoad&&(0,s.fL)()&&!r?null:(0,k.jsx)(s.bE,{enabled:t?.lazyLoad&&!r,children:(0,k.jsx)(I,{context:n,customFields:t,children:e})})};L.propTypes={customFields:i().shape({elementPlacement:i().kvp.tag({label:"Ad placements",group:"Inline ads",description:"Places your inline article body ads in the article body chain. For each ad feature in the chain, fill in two values below: Field 1) The position of the ad within the chain and Field 2) the paragraph number that this ad should follow in the article body. For example, entering 1 and 3 would mean that the first ad in the article body chain will be placed after the third paragraph in the article."}),lazyLoad:i().bool.tag({name:"Lazy Load block?",defaultValue:!1,description:"Turning on lazy-loading will prevent this block from being loaded on the page until it is nearly in-view for the user."}),hideImageTitle:i().bool.tag({description:"This display option applies to all Images in the Article Body.",label:"Hide Title",defaultValue:!1,group:"Image Display Options"}),hideImageCaption:i().bool.tag({description:"This display option applies to all Images in the Article Body.",label:"Hide Caption",defaultValue:!1,group:"Image Display Options"}),hideImageCredits:i().bool.tag({description:"This display option applies to all Images in the Article Body.",label:"Hide Credits",defaultValue:!1,group:"Image Display Options"}),hideGalleryTitle:i().bool.tag({description:"This display option applies to all Galleries in the Article Body",label:"Hide Title",defaultValue:!1,group:"Gallery Display Options"}),hideGalleryCaption:i().bool.tag({description:"This display option applies to all Galleries in the Article Body",label:"Hide Caption",defaultValue:!1,group:"Gallery Display Options"}),hideGalleryCredits:i().bool.tag({description:"This display option applies to all Galleries in the Article Body",label:"Hide Credits",defaultValue:!1,group:"Gallery Display Options"}),aspectRatio:i().oneOf(["--","16:9","9:16","1:1","4:3"]).isRequired.tag({description:"Aspect ratio to use in player (Defaults to the aspect ratio of the resolved video)",label:"Player aspect ratio",defaultValue:"--",group:"Video Display Options",labels:{"--":"Video Source","16:9":"16:9","9:16":"9:16","1:1":"1:1","4:3":"4:3"}}),viewportPercentage:i().number.tag({description:"Height percentage the player takes from viewport (Applies only for 9:16 videos)",label:"View height percentage",defaultValue:65,group:"Video Display Options"}),borderRadius:i().bool.tag({description:"Applies only for 9:16 videos",label:"Round player corners",defaultValue:!1,group:"Video Display Options"}),hideVideoTitle:i().bool.tag({description:"This display option applies to all Videos in the Article Body",label:"Hide Title",defaultValue:!1,group:"Video Display Options"}),hideVideoCaption:i().bool.tag({description:"This display option applies to all Videos in the Article Body",label:"Hide Caption",defaultValue:!1,group:"Video Display Options"}),hideVideoCredits:i().bool.tag({description:"This display option applies to all Videos in the Article Body",label:"Hide Credits",defaultValue:!1,group:"Video Display Options"}),pianoInlineTargetEnabled:i().bool.tag({label:"Piano Inline Target Enabled",description:"Toggle to enable or disable the Piano inline targets in the article body.",defaultValue:!1,group:"Piano Inline Target"}),pianoInlineTargets:i().kvp.tag({label:"Piano Inline Targets",group:"Piano Inline Target",description:"Field 1) The Piano identifier. Field 2) The paragraph number after which it should be placed."})})},L.label="UB - Article Body",L.icon="arc-article",t.default=L},46196:function(e,t,n){"use strict";n.d(t,{Y:function(){return i}});var r=n(7770);const i=(e,t={language:"en",timeZone:"GMT",dateTimeFormat:"%B %d %Y %l:%M%p %Z"})=>{const n=(0,r.il)(),i=new Date(e),{day:o,month:a,year:s,hour:l,minute:c,dayPeriod:u,timeZoneName:d}=new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",hour12:!0,timeZone:t.timeZone,timeZoneName:"short"}).formatToParts(i).reduce((e,t)=>
2(e[t.type]=t.value,e),{}),p={Mar:"March",Apr:"April",Jun:"June",Jul:"July",Sep:"Sept"}?.[a]??a;return`${o} ${n.t(`cn-byline-month.${p}`)} ${s}, ${`${l}:${c} ${"PM"===u?"p.m.":"a.m."} ${d}`}`}},86039:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(19674),o=n.n(i),a=n(74848);const s=({customFields:e})=>{const{formNumber:t,formKey:n,pianoCustomFieldName:i}=e||{},o=`form${t}`;return(0,r.useEffect)(()=>{if(window.Cognito){const e=Cognito(n).mount(t,`#${o}`);i&&e.on("afterSubmit",function(e){if(window.tp?.pianoId?.isUserValid()){const e=new URLSearchParams({lang:"en_US",aid:window.tp.aid});fetch(window.tp.pianoIdUrl+"/id/api/v1/identity/userinfo?"+e.toString(),{method:"PUT",headers:{"Content-Type":"application/json",Authorization:window.tp.pianoId.getToken()},body:JSON.stringify({uid:window.tp.pianoId.getUser().uid,custom_field_values:[{field_name:i,value:"true"}]})}).catch(console.error)}})}},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{id:o}),(0,a.jsx)("script",{src:"https://cdnjs.cloudflare.com/ajax/libs/reflect-metadata/0.1.13/Reflect.min.js"}),(0,a.jsx)("script",{src:"https://www.cognitoforms.com/f/seamless.js"})]})};s.icon="arc-list",s.label="Cognito Form Seamless",s.propTypes={customFields:o().shape({formNumber:o().string.tag({label:"Form Number",description:"data-form attribute value from the Cognito Forms embed code",required:!0}),formKey:o().string.tag({label:"Form Key",description:"data-key attribute value from the Cognito Forms embed code",required:!0}),pianoCustomFieldName:o().string.tag({label:"Update Piano Custom Field Name (optional)",description:"The name of the custom field in Piano that should be updated after the form is submitted",required:!1})})},t.default=s},30088:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(87983),o=n.n(i),a=n(28408),s=n(74848);const l=()=>{const{arcSite:e}=(0,r.useFusionContext)(),t=o()?.(e);return(0,s.jsx)("div",{className:"absolute-logo",children:(0,s.jsx)("div",{className:"logo-wrapper p-3",children:(0,s.jsx)("a",{href:(0,a.J1)("/"),children:(0,s.jsx)("img",{src:t?.desktop_logo_light,className:"dn-logo",alt:t?.desktop_logo_light_alt})})})})};l.label="DN - Absoute Logo",t.default=l},70043:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(74848);t.default=({imageUrl:e,headline:t,subheadline:n,buttonLink:i,buttonText:o})=>(0,r.jsxs)("div",{className:"action-box",children:[e&&(0,r.jsx)("div",{className:"action-box__image mb-3 mb-md-0 me-md-3",children:(0,r.jsx)("img",{src:e})}),(0,r.jsxs)("div",{className:"action-box__content",children:[(0,r.jsx)("div",{className:"action-box__title",children:t}),(0,r.jsx)("div",{className:"action-box__description",children:n})]}),(0,r.jsx)("div",{className:"action-box__cta ms-md-auto",children:(0,r.jsx)("a",{className:"action-box__button",href:i,target:"_blank",children:o})})]})},3095:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(74848);const o=()=>{const{globalContent:e}=(0,r.useFusionContext)();return e?.taxonomy?.tags?.some(e=>"affiliate"===e?.slug)?(0,i.jsx)("div",{className:"mt-2 affiliate-notice",children:(0,i.jsxs)("div",{className:"px-2 py-1",children:[(0,i.jsx)("strong",{children:"Disclaimer:"})," The Deseret News may earn a small commission when you buy through links on this page."]})}):null};o.label="DN - Affiliate Notice",o.icon="paragraph-bullets",t.default=o},22656:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(99789),o=n(7770),a=n(25067),s=n(74848);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d={email:"Envelope",facebook:"Facebook",instagram:"Instagram",linkedin:"LinkedIn",medium:"Medium",pinterest:"Pinterest",reddit:"Reddit",snapchat:"Snapchat",soundcloud:"SoundCloud",tumblr:"Tumblr",twitter:"Twitter",whatsapp:"WhatsApp",y
2outube:"Youtube"},p=()=>{const{globalContent:e,arcSite:t}=(0,r.useFusionContext)(),n=e?.authors?.[0]||e?.credits?.by?.[0]?.additional_properties?.original;if(!n)return null;const l=(0,o.il)(),u=Object.keys(d),p=Object.entries(n).filter(([e,t])=>u.includes(e)&&t).map(([e])=>e);return(0,s.jsx)("div",{className:"author-profile",children:(0,s.jsx)("div",{className:"row",children:(0,s.jsx)("div",{className:"col",children:(0,s.jsxs)("div",{className:"row author-profile__details",children:[n?.image?(0,s.jsx)("div",{className:"col-12 col-md-3",children:(0,s.jsx)("div",{className:"author-profile__details-image",children:n.ansImage?(0,s.jsx)(o._V,c(c({},(0,i.A)(n.ansImage,t,300,[],300)),{},{alt:n?.byline||""})):(0,s.jsx)(o._V,{src:(0,a.Lx)(n,"width=300&height=300"),alt:n?.byline||""})})}):null,(0,s.jsx)("div",{className:"col-12 col-md author-profile__details-header",children:(0,s.jsxs)("div",{className:"author-profile__details-name",children:[(0,s.jsx)("h1",{children:n?.byline}),(0,s.jsx)("div",{className:"SocialBar",children:(0,s.jsxs)("ul",{className:"SocialBar-items",children:[p.map(e=>(0,s.jsx)("li",{className:"SocialBar-items-item",children:(0,s.jsx)("a",{href:(0,o.MS)(e,n[e]),rel:"noreferrer",target:"_blank",className:"navigation-item navigation-item--social-link",title:l.t(`global.social-${e.toLowerCase()}-connect`,{authorName:n?.byline}),children:(0,s.jsx)(o.In,{name:d[e]})})},e)),(0,s.jsx)("li",{className:"SocialBar-items-item",children:(0,s.jsx)("a",{href:`/rss/author/${n.slug}.rss`,rel:"noreferrer",target:"_blank",className:"navigation-item navigation-item--social-link",title:l.t("global.social-rss-connect",{authorName:n?.byline}),children:(0,s.jsx)(o.In,{name:"Rss"})})})]})})]})}),(0,s.jsx)("div",{className:"col-12 author-profile__details-bio",children:(0,s.jsx)("p",{children:n?.bio_dn||n?.bio||""})})]})})})})};p.label="DN - Author Profile",p.icon="paragraph-image-right",t.default=p},50319:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});n(40809);var r=n(19674),i=n.n(r),o=n(74848);const a=({customFields:{desktopHeight:e="60px",mobileHeight:t="40px",divider:n="none"}={}})=>(0,o.jsx)("div",{className:`buffer-divider buffer-divider--${n}`,style:{"--buffer-height-desktop":e,"--buffer-height-mobile":t},children:"none"!==n&&(0,o.jsx)("div",{className:"buffer-divider__line"})});a.icon="minus",a.propTypes={customFields:i().shape({desktopHeight:i().string.tag({label:"Desktop Height",description:"Height of the buffer on desktop. Supports px, vh, and vw (e.g. 60px, 10vh, 5vw)",defaultValue:"60px"}),mobileHeight:i().string.tag({label:"Mobile Height",description:"Height of the buffer on mobile. Supports px, vh, and vw (e.g. 40px, 5vh, 3vw)",defaultValue:"40px"}),divider:i().oneOf(["none","horizontal","vertical"]).tag({label:"Divider",description:"Optional divider placed in the middle of the block",defaultValue:"none",labels:{none:"None",horizontal:"Horizontal",vertical:"Vertical"}})})};var s=a;function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=e=>(0,o.jsx)(s,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));u.label="DN - Buffer/Divider",u.icon=s.icon,u.propTypes=s.propTypes;var d=u},18476:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(4321),o=n(43993),a=n(44745),s=n(99789),l=n(28408),c=n(63200),u=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?d(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h="deseretnews"===o.ENVIRONMENT,m=()=>{const{globalContent:e,arcSite:t}=(0,i.useFusionContext)();let n=e?.credits?.by;if(!n)return null;let o=[];return n.forEach(e=>{e?.image?.url&&o.push({name:e.name,image:e.image,profileUrl:(0,l.J1)(e.url)})}),(0,u.jsx)("div",{className:"dn-article-byline",children:(0,u.jsx)("div",{className:"d-md-flex py-3 justify-content-between",children:(0,u.jsxs)("div",{className:o.length>1?"d-block d-md-flex":"d-flex",children:[o?.length>0&&o.length===n.length?(0,u.jsx)("div",{className:"byline-image-container d-flex",children:o.map((e,n)=>(0,u.jsx)("div",{style:{zIndex:o.length-n,marginLeft:0!==n?"-15px":0},children:(0,u.jsx)("a",{href:e.profileUrl,children:(0,u.jsx)("div",{className:"d-flex image-wrapper",children:(0,u.jsx)("div",{className:"image-cropper",children:(0,u.jsx)(a.A,p(p({},(0,s.A)(e.image,t,96,[],96)),{},{alt:e.name}))})})})},e.profileUrl))}):null,(0,u.jsxs)("div",{className:"byline-details align-self-center "+(o.length>1&&o.length===n.length?"ps-md-2":1===o.length&&o.length===n.length?"ps-2":""),children:[(0,u.jsxs)("div",{className:"byline-names mb-0",children:["By ",n.map((e,t)=>e?.url?(0,u.jsxs)(r.Fragment,{children:[t>0?", ":"",(0,u.jsx)("a",{href:(0,l.J1)(e.url),children:e.name}),e.org?`, ${e.org}`:""]},t):(0,u.jsxs)(r.Fragment,{children:[t>0?", ":"",e.name,e.org?`, ${e.org}`:""]},t))]}),(0,u.jsx)("div",{className:"byline-description",children:e?.location?(0,u.jsx)(c.Ay,{children:e.location}):1===n.length&&(n[0]?.additional_properties?.original?.[h?"custom_deseretnews_short_bio":"custom_sandbox.deseretnews_short_bio"]||n[0]?.additional_properties?.original?.bio)?(0,u.jsx)(c.Ay,{children:n[0]?.additional_properties?.original?.[h?"custom_deseretnews_short_bio":"custom_sandbox.deseretnews_short_bio"]||n[0]?.additional_properties?.original?.bio}):null})]})]})})})};m.label="DN - Byline",m.icon="arc-headline",t.default=m},76830:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});n(40809);var r=n(19674),i=n.n(r),o=n(63200),a=n(74848);const s=({customFields:e})=>{const{markdown:t,border:n}=e||{};let r=t?.replaceAll(/<\s*(blue|red|yellow)\s*>/g,(e,t)=>`<span style="color: ${{blue:"#009cf5",red:"#DF4848",yellow:"#FFD217"}[t]}">`);r=r?.replaceAll(/<\s*\/\s*(blue|red|yellow)\s*>/g,"</span>");const i={Top:"top-border",Left:"left-border",Right:"right-border",Bottom:"bottom-border",None:"no-border"}[n]||"no-border";return(0,a.jsx)("div",{className:`call-out-box-block ${i}`,children:(0,a.jsx)(o.Ay,{children:r})})};s.icon="",s.propTypes={customFields:i().shape({markdown:i().richtext.tag({label:"Message",description:"This can be formated through markdown"}),border:i().oneOf(["None","Top","Left","Right","Bottom"]).tag({label:"Border Direction",description:"Select the border direction for the call out box",defaultValue:"None"})})};var l=s;function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=e=>(0,a.jsx)(l,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?c(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));d.label="DN - Call Out Box",d.icon=l.icon,d.propTypes=l.propTypes;var p=d},10398:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(4321),o=n(19894),a=n.n(o),s=n(74848);const l=e=>{const{title:t,message:n,buttonLabel:o}=e.customFields,{globalContent:a,requestUri:l}=(0,i.useFusionContext)();if((0,r.useEffect)(()=>{function e(){let t=document.getElementById("comments-notice").getBoundingClientRect(),n=t.top,r=t.bottom;n<window.innerHeight&&r>=0&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"internal_click",click_type:"Comment Notice Viewed"}),window.removeEventListener("scroll",e))}return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),l?.includes("composer-preview")||"story"!==a?.type)return null;return(0,s.jsxs)("div",{id:"comments-notice",children:[(0,s.jsx)("div",{className:"title",children:t}),n?.length?(0,s.jsx)("div",{className:"message",children:n}):null,(0,s.jsx)("button",{className:"btn",onClick:()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"internal_click",click_type:"Comment Notice Clicked"});const e=document?.getElementById("comments-sidebar");e&&bootstrap?new bootstrap.Offcanvas(e)?.show():document?.getElementById("coral_thread")?.scrollIntoView({block:"start",behavior:"smooth"})},children:o?.toUpperCase()})]})};l.label="DN - Comments Notice",l.icon="programming-team-chat",l.propTypes={customFields:a().shape({title:a().string.tag({label:"Title",defaultValue:"Join the Discussion"}),message:a().string.tag({label:"Message",defaultValue:""}),buttonLabel:a().string.tag({label:"Button Label",defaultValue:"View Comments"})})},t.default=l},5965:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});n(40809);var r=n(19674),i=n.n(r),o=n(74848);function a({customFields:e}){const{identifier:t}=e;return(0,o.jsx)("div",{id:"string"==typeof t&&t?.length>0?t:"piano-content-recommendations",className:"piano-content-recommendations"})}a.label="DN - Content Recommendation",a.icon="vectors-square-link",a.propTypes={customFields:i().shape({identifier:i().string.tag({label:"Identifier",defaultValue:"piano-content-recommendations"})})}},73043:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(4321),o=n(43993),a=n(87983),s=n.n(a),l=n(19894),c=n.n(l),u=n(40849),d=n(74848);const p=e=>{const t=(0,r.useRef)(),n=(0,r.useCallback)(e=>{e&&t.current&&(t.current.element=e)}),{displayType:a}=e.customFields,{globalContent:l,arcSite:c,deployment:p,contextPath:f,requestUri:h,metaValue:m}=(0,i.useFusionContext)();h&&new URL(h,"https://www.deseret.com/"),o.ENVIRONMENT;if(h?.includes("composer-preview")||"story"!==l?.type)return null;const{websiteDomain:g,coral_root_url:b}=s()(c),y=b,v=/^\/comments\/[0-9A-Z]{26}\//.test(h),w=/^\/comments\/[0-9A-Z]{26}\/dark/.test(h);let _=p(`${g}${f}/resources/deseretnews/assets/css/coral-talk/custom.css`);v&&w&&(document.body.style.backgroundColor="#333333");let x,j=`${g}${l?.canonical_url}`;if("Chorus"===l?.source?.system){const e="string"==typeof l?.additional_properties?.originalPublishDate?new Date(l.additional_properties.originalPublishDate):null;e instanceof Date&&!Number.isNaN(e.valueOf())&&e>new Date("2022-03-01")||(j=j.replace(/\/+$/,"")),x=l.source?.source_id??l._id}else x=l?._id;const O=()=>{if(!document.getElementById("coral-talk-js")){const e=document.createElement("script");e.id="coral-talk-js",e.src=y+"/assets/js/embed.js",e.async=!1,e.defer=!0,e.onload=()=>{t.current=window.coralStreamEmbed=window.Coral.createStreamEmbed({id:"coral_thread",autoRender:!0,containerClassName:`talk ${v?"coral-mobile-app":""} ${w?"coral-dark-mode":""}`,rootURL:y,storyID:x,storyURL:j,customCSSURL:_,customScrollContainer:"Sidebar"===a?document.querySelector(".offcanvas-body"):void 0,events:function(e){e.onAny(function(e){if("createComment.success"===e?window.dataLayer.push({event:"article_c
2omment_created"}):"createCommentReply.success"===e?window.dataLayer.push({event:"article_comment_reply_created"}):"reportComment.success"===e?window.dataLayer.push({event:"article_comment_reported"}):"ready"===e&&window.dataLayer.push({event:"article_comments_viewed"}),["loginPrompt","showAuthPopup"].includes(e))setTimeout(u.Xk.bind(this,{viewContext:m("view_context")}));else if("ready"===e){const e=(0,u.Pt)();e?window.coralStreamEmbed.login(e):setTimeout(u.gf.bind(this,{viewContext:m("view_context")}))}})}})},(document.head||document.body).appendChild(e)}};return(0,r.useEffect)(()=>{window.dataLayer=window.dataLayer||[];const e=document?.getElementById("comments-sidebar");e?e.addEventListener("show.bs.offcanvas",function(){O()}):O()},[]),"Sidebar"===a?(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("div",{className:`offcanvas offcanvas-end ${(h.includes("showComments")||h.includes("commentID"))&&"show"}`,tabIndex:"-1",id:"comments-sidebar","aria-labelledby":"offcanvasRightLabel",children:[(0,d.jsxs)("div",{className:"offcanvas-header flex-wrap",children:[(0,d.jsx)("div",{className:"comments-heading",children:"Join the Conversation"}),(0,d.jsx)("button",{type:"button",className:"btn-close text-reset","data-bs-dismiss":"offcanvas","aria-label":"Close"})]}),(0,d.jsx)("div",{className:"offcanvas-body",children:(0,d.jsx)("div",{id:"coral_thread",ref:n})})]})}):(0,d.jsx)("div",{id:"comments-inpage",children:(0,d.jsx)("div",{id:"coral_thread",ref:n})})};p.label="DN - Coral Talk",p.icon="programming-team-chat",p.propTypes={customFields:c().shape({displayType:c().oneOf(["Sidebar","Inplace"]).tag({label:"Display Type",defaultValue:"Sidebar",ordered:!1,description:"Display comments in pop-out sidebar or inplace"})})},t.default=p},37988:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(25067),a=n(4321),s=n(87983),l=n.n(s),c=n(14375),u=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h=e=>{const{imageAuth:t,imageUrl:n,imageId:r,destinationLink:i}=e?.customFields,{searchableField:s}=(0,c.useEditableContent)(),d=(0,a.useFusionContext)(),{arcSite:f}=d,h=l()?.(f);return(0,u.jsx)("div",{className:"custom-ad col-12 px-4",children:(0,u.jsx)("div",p(p({className:"custom-ad__image"},s({imageId:"_id",imageAuth:"auth.1",imageUrl:"url"})),{},{children:(0,u.jsx)("a",{href:i,children:(0,u.jsx)("img",{src:(0,o.Lt)(h.websiteDomain,r,t,n,1e3),alt:"Custom ad image"})})}))})};h.label="DN - Custom Ad",h.icon="picture-flower-1",h.propTypes={customFields:i().shape({imageAuth:i().string.tag({label:"Image AUTH",hidden:!0}),imageType:i().string.tag({label:"Image Type",hidden:!0}),imageId:i().disabled.tag({label:"Image ID",hidden:!0}),destinationLink:i().string.tag({label:"Destination Link",defaultValue:""})})},t.default=h},27230:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(94439),a=n(74848);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c=e=>(0,a.jsx)(o.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?s(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));c.label="DN - Event Page Button",c.icon=o.A.icon,c.propTypes={customFields:i().shape({message:i().string.tag({label:"Button text"}),url:i().string.tag({label:"Button URL",description:"The URL the button should link to (can be internal or external)",group:"button-configuration"}),buttonIcon:i().string.tag({label:"Button Icon",description:'Enter the Font Awesome icon class (e.g., "fa-solid fa-star")',group:"button-configuration"}),color:i().oneOf(["rgba(255, 210, 24, 1)"]).tag({label:"Button Color",defaultValue:"rgba(255, 210, 24, 1)",group:"button-configuration"})})},t.default=c},95969:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(59889),o=n(74848);const a=()=>{const{globalContent:e}=(0,r.useFusionContext)();return(0,o.jsx)(i.A,{story:e})};a.label="DN - Article Eyebrows",a.icon="paragraph-bullets",t.default=a},38500:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(59626),i=n.n(r),o=n(19674),a=n.n(o),s=n(4321),l=n(44745),c=n(99789),u=n(7770),d=n(66351),p=n(25067),f=n(35616),h=n(81008),m=n(51327),g=n(87751),b=n(74848);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach(function(t){w(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function w(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _=e=>t=>t[e],x=({customFields:e})=>{const{globalContent:t,arcSite:n,layout:r}=(0,s.useFusionContext)(),{hideTitle:o=!1,hideCaption:a=!1,hideCredits:y=!1,imageOrientation:w="landscape"}=e,x=["DNHeadlineBelowArticleLayout"],j=(o=>{if("raw_html"===o.type){const t=(0,h.Hc)(o,{autoplay:!0,mute:!0,playthrough:e?.playthrough}),n=["raw-html"];return(0,h.He)(t.content)&&n.push("youtube-iframe"),(0,b.jsx)(i(),{id:o._id,children:(0,b.jsx)("div",{className:n.join(" "),dangerouslySetInnerHTML:{__html:t.content}})})}if("video"===o.type){(0,u.PU)(o?.embed_html,{autoplay:e?.enableAutoplay??!1,playthrough:e?.playthrough??!1});const n={autoplay:!1,hideMuteControl:!1,hideSeekControl:!1,hideProgressLabel:!1,hideFullscreenControl:!1,hidePlayPauseControl:!1,hideCaption:!1,hidePlayButtonOverlay:!1,playOnHover:!0};return n.autoplay="True"===t?.label?.video_options_autoplay?.text||n.autoplay,n.hideMuteControl="True"===t?.label?.video_options_hide_audio_mute_unmute?.text||n.hideMuteControl,n.hideSeekControl="True"===t?.label?.video_options_hide_video_player?.text||n.hideSeekControl,n.hideProgressLabel="True"===t?.label?.video_options_hide_video_player?.text||n.hideProgressLabel,n.hideFullscreenControl="True"===t?.label?.video_options_hide_video_player?.text||n.hideFullscreenControl,n.hidePlayPauseControl="True"===t?.label?.video_options_hide_video_player?.text||n.hidePlayPauseControl,n.hidePlayButtonOverlay="True"===t?.label?.social_video_hide_play_button_overlay?.text||n.hidePlayButtonOverlay,(0,b.jsx)(g.A,{item:o,options:n})}if("image"===o.type){const{alt_text:e,caption:t,credits:i,url:s,width:f,height:h,vanity_credits:g,subtitle:y}=o,j=(g||i)?.affiliation?.map(_("name")).join(", ")||(g||i)?.by?.map(_("name")).join(", ")||!1;let O={bgOpacity:1,arrowProps:{leftArrow:(0,b.jsx)("button",{className:"pswp__button pswp__button--arrow--left",title:"Previous (arrow left)"}),rightArrow:(0,b.jsx)("button",{className:"pswp__button pswp__button--arrow--right",title:"Next (arrow right)"})}};return(0,b.jsx)(d.Z2,{options:O,plugins:e=>{new m.A(e,{type:"below",captionContent:e=>e.data.caption})},children:(0,b.jsx)(d.q7,{original:(0,p.C$)(o,n,1e3),width:f,height:h,caption:a?null:`<div class="pswp__caption__center">${t||(y||"")}
2 ${j?`<b>${j}</b>`:""}</div>`,children:({ref:i,open:a})=>(0,b.jsx)("div",{className:"carousel-hero","data-width":o?.width,"data-height":o?.height,children:(0,b.jsx)(u.mO,{caption:t||(y||null),credit:j?`${y||t?'<span class="line"></span>':""}${j}`:null,title:null,className:"portrait"===w?"portrait":null,children:(0,b.jsx)(l.A,v(v({},(0,c.A)(o,n,x?.includes(r)?1600:800,[],"portrait"===w?null:x?.includes(r)?1200:600)),{},{ref:i,onClick:a,alt:e,loading:"eager"}))})})})})}if("gallery"===o.type){let e={bgOpacity:1,loop:!1,arrowProps:{leftArrow:(0,b.jsx)("button",{className:"pswp__button pswp__button--arrow--left",title:"Previous (arrow left)"}),rightArrow:(0,b.jsx)("button",{className:"pswp__button pswp__button--arrow--right",title:"Next (arrow right)"})}};return(0,b.jsx)(d.Z2,{options:e,beforeOpen:e=>{window&&"function"==typeof window.galleryBeforeOpen?console.log("calling galleryBeforeOpen"):console.log("galleryBeforeOpen not defined")},plugins:e=>{new m.A(e,{type:"below",captionContent:e=>{let t="";return window.photoPurchasing&&(t=window.photoPurchasing.getGalleryPhotoPurchaseLink(e)),`<div class="pswp__caption__center">\n ${e.data.caption} ${t}\n </div>`}})},children:o.content_elements.map((e,t)=>{const{alt_text:r,caption:i,credits:a,url:s,width:f,height:h,vanity_credits:m,subtitle:g}=e,y=(m||a)?.affiliation?.map(_("name")).join(", ")||(m||a)?.by?.map(_("name")).join(", ")||!1;return(0,b.jsx)("div",{className:t>0?"d-none":null,children:(0,b.jsx)(d.q7,{original:(0,p.C$)(e,n,1e3),width:f,height:h,caption:`${i||(g||"")} ${y?`<strong>${y}</strong>`:""}`,children:({ref:a,open:s})=>(0,b.jsx)(u.mO,{caption:i||(g||null),credit:y?`${g||i?'<span class="line"></span>':""}${y}`:null,title:null,children:(0,b.jsxs)("div",{className:`carousel-hero carousel-hero-${t}`,children:[o.content_elements.length>1?(0,b.jsxs)("div",{className:"overlay-icon",onClick:s,ref:a,children:[(0,b.jsxs)("div",{children:["View ",o.content_elements.length-1," more"]}),(0,b.jsx)("i",{className:"overlay-icon__plus icon-plus-btn float-end fa-solid fa-plus"})]}):null,(0,b.jsx)(l.A,v(v({},(0,c.A)(e,n,800,[],600)),{},{ref:a,onClick:s,alt:r,loading:"eager"}))]})})})})})})}return null})((0,f.kM)(t)||{});return j?(0,b.jsx)("div",{className:"dn-featured-media",children:j}):null};x.label="DN - Featured Media",x.icon="picture-landscape",x.propTypes={customFields:a().shape({enableAutoplay:a().bool.tag({label:"Autoplay",defaultValue:!1,group:"Video"}),playthrough:a().bool.tag({label:"Playthrough",defaultValue:!1,group:"Video"}),viewportPercentage:a().number.tag({description:"Height percentage the player takes from viewport (Applies only for 9:16 videos)",label:"View height percentage",defaultValue:65,group:"Video"}),aspectRatio:a().oneOf(["--","16:9","9:16","1:1","4:3"]).isRequired.tag({description:"Aspect ratio to use in player (Defaults to the aspect ratio of the resolved video)",label:"Player aspect ratio",defaultValue:"--",group:"Video",labels:{"--":"Video Source","16:9":"16:9","9:16":"9:16","1:1":"1:1","4:3":"4:3"}}),hideTitle:a().bool.tag({description:"This display option applies to Lead Art media types: Images, Gallery, and Video",label:"Hide Title",defaultValue:!1,group:"Display Options"}),hideCaption:a().bool.tag({description:"This display option applies to Lead Art media types: Images, Gallery, and Video",label:"Hide Caption",defaultValue:!1,group:"Display Options"}),hideCredits:a().bool.tag({description:"This display option applies to Lead Art media types: Images, Gallery, and Video",label:"Hide Credits",defaultValue:!1,group:"Display Options"}),borderRadius:a().bool.tag({label:"Round player corners",description:"Applies only for 9:16 videos",defaultValue:!1,group:"Video"}),imageLoadingStrategy:a().oneOf(["lazy","eager"]).tag({label:"Image Loading Strategy",defaultValue:"eager",group:"Display Options",labels:{eager:"Eager",lazy:"Lazy"}}),imageOrientation:a().oneOf(["landscape","portrait"]).tag({label:"Image Orientation",defaultValue:"landscape",group:"Display Options",labels:{landscape:"Landscape",portrait:"Portrait"}})})},t.default=x},14779:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(14375),a=n(4321),s=n(43993),l=n(44745),c=n(99789),u=n(35616),d=n(74848);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?p(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const m=e=>{const{arcSite:t}=(0,a.useFusionContext)(),{customFields:{listContentConfig:{contentService:n="",contentConfigValues:r={}}={contentService:"content-api-collections",contentConfigValues:{content_alias:"featured-voices"}}}={}}=e,{content_elements:i=[]}=(0,o.useContent)({source:n,query:f(f({},r),{},{query:"type:story"}),filter:`{\n description\n content_elements {\n _id\n additional_properties {\n promoHeadline\n }\n headlines {\n basic\n }\n canonical_url\n label {\n search {\n text\n }\n }\n taxonomy {\n primary_section {\n _id\n name\n path\n }\n }\n credits {\n by {\n type\n name\n url\n org\n additional_properties {\n original {\n byline\n }\n }\n image {\n url\n type\n auth {\n ${s.RESIZER_TOKEN_VERSION}\n }\n }\n }\n }\n display_date\n ${(0,u.G)()}\n websites {\n ${t} {\n website_url\n }\n }\n }\n }`})||{};return(0,d.jsx)("div",{className:"featured-voices__wrapper",children:(0,d.jsxs)("div",{className:"featured-voices__items",children:[(0,d.jsxs)("div",{className:"featured-voices__items-item featured-voices__title",children:[(0,d.jsx)("h3",{className:"featured-voices__header-title",children:"Featured Voices"}),(0,d.jsx)("div",{className:"featured-voices__header-description d-none d-lg-block",children:(0,d.jsx)("p",{children:"Timely insights from Deseret News journalists and contributors."})})]}),i?.slice(0,4).map(e=>(0,d.jsx)("div",{className:"featured-voices__items-item",children:(0,d.jsxs)("div",{className:"featured-voices__author",children:[(0,d.jsx)("div",{className:"featured-voices__author-image",children:(0,d.jsx)("a",{"aria-label":e?.credits?.by?.[0]?.name,href:e.canonical_url,"data-cms-ai":0,children:(0,d.jsx)(l.A,f({alt:e?.credits?.by?.[0]?.name},(0,c.A)(e?.credits?.by[0].image,t,280,[],280)))})}),(0,d.jsxs)("div",{className:"featured-voices__author-content",children:[(0,d.jsx)("div",{className:"featured-voices__author-content-name",children:(0,d.jsx)("a",{href:e.canonical_url,"data-cms-ai":0,children:e?.credits?.by?.[0]?.name})}),(0,d.jsx)("div",{className:"featured-voices__author-content-label",children:(0,d.jsx)("a",{href:e.canonical_url,"data-cms-ai":0,children:e?.additional_properties?.promoHeadline??e?.headlines?.basic})})]})]})},`featured-voices-${e._id}`))]})})};m.label="DN - Featured Voices",m.icon="picture-landscape",m.propTypes={customFields:i().shape({listContentConfig:i().contentConfig("ans-feed").tag({group:"Configure Content",label:"Display Content Info"})})},t.default=m},6787:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(19894),o=n.n(i),a=n(21718),s=n(74848);const l=e=>{const{question:t}=e.customFields,[n,i]=(0,r.useState)(""),o=e=>{switch(window.dataLayer=window.dataLayer||[],e){case"like":return window.dataLayer.push({event:"internal_click",click_type:"Feedback Widget",click_text:"like"}),void i("like");case"dislike":return window.dataLayer.push({event:"internal_click",click_type:"Feedback Widget",click_text:"dislike"}),void i("dislike");default:return void i("")}};return(0,s.jsxs)("div",{className:"feedback-widget",children:[(0,s.jsx)("p",{className:"question",children:t}),(0,s.jsxs)("div",{className:"buttons",children:[(0,s.jsx)("button",{className:(0,a.A)("icon-button","like"===n&&"clicked",!!n&&"disabled"),disabled:!!n,onClick:()=>o("like"),children:(0,s.jsx)("i",{className:(0,a.A)("fa-solid fa-thumbs-up","icon")})}),(0,s.jsx)("span",{children:" | "}),(0,s.jsx)("button",{className:(0,a.A)("icon-button","dislike"===n&&"clicked",!!n&&"disabled"),disabled:!!n,onClick:()=>o("dislike"),children:(0,s.jsx)("i",{className:(0,a.A)("fa-solid fa-thumbs-down","icon")})})]})]})};l.label="DN - Feedback Widget",l.icon="paragraph-image-right",l.propTypes={customFields:o().shape({question:o().string.tag({label:"Question",defaultValue:""})})},t.default=l},53171:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(14375),a=n(4321),s=n(57483),l=n(35616),c=n(74848);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?u(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const f=e=>{const{arcSite:t}=(0,a.useFusionContext)(),{customFields:{listContentConfig:{contentService:n="",contentConfigValues:r={}}={contentService:"content-api-collections",contentConfigValues:{content_alias:"dn-hero-stories"}},showCommentCount:i,showHeroPackage:u=!0}={}}=e,{content_elements:p=[]}=(0,o.useContent)({source:n,query:d(d({},r),{},{query:"type:story"}),filter:`{\n description\n content_elements {\n _id\n additional_properties {\n heroPackage\n heroVideoSettings {\n autoplay\n hideAudioControls\n hideVideoControls\n }\n promoHeadline\n promoDescription {\n plaintext\n }\n }\n headlines {\n basic\n }\n canonical_url\n label {\n search {\n text\n }\n eyebrows_override {\n text\n }\n }\n taxonomy {\n primary_section {\n _id\n name\n path\n }\n }\n credits {\n by {\n type\n name\n url\n org\n additional_properties {\n original {\n byline\n }\n }\n }\n }\n display_date\n description {\n basic\n }\n ${(0,l.G)()}\n websites {\n ${t} {\n website_url\n }\n }\n }\n }`})||{};return(0,c.jsx)("div",{className:"row",children:(0,c.jsx)("div",{className:"col",children:(0,c.jsxs)("div",{className:"five-up-hero-breaker",children:[(0,c.jsx)(s.A,{story:p[1],showDescription:!1,showCommentCount:i,showHeroPackage:u}),(0,c.jsx)(s.A,{story:p[2],showDescription:!1,showCommentCount:i,showHeroPackage:u}),(0,c.jsx)(s.A,{story:p[0],type:"featured",showCommentCount:i,showHeroPackage:u}),(0,c.jsx)(s.A,{story:p[3],showDescription:!1,showCommentCount:i,showHeroPackage:u}),(0,c.jsx)(s.A,{story:p[4],showDescription:!1,showCommentCount:i,showHeroPackage:u})]})})})};f.label="DN - Five Up",f.icon="picture-landscape",f.propTypes={customFields:i().shape({listContentConfig:i().contentConfig("ans-feed").tag({group:"Configure Content",label:"Display Content Info"}),showCommentCount:i().bool.tag({label:"Comment Count",defaultValue:!1,group:"Promo Elements"}),showHeroPackage:i().bool.tag({label:"Hero Package",defaultValue:!0,group:"Promo Elements"})})},t.default=f},69569:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return P}});var r=n(40809),i=n(19674),o=n.n(i),a=n(14375),s=n(4321),l=n(35616),c=n(61882),u=n(28408),d=n(44745),p=n(59889),f=n(42636),h=n(87751),m=n(21718),g=n(63200),b=n(81008),y=n(74848);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?v(Object(n),!0).forEach(function(t){_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const x={large:{width:560,aspectRatio:"131:100"},medium:{width:274,aspectRatio:"16:9"},small:{width:100,aspectRatio:"16:9"},mobileSmall:{width:80,aspectRatio:"1:1"},vertical:{width:270,aspectRatio:"9:16"}};var j=({story:e,showImage:t=!0,imageSize:n="large",imageAlignment:r="top",headlineFontSize:i="medium",titleAlignment:o="left",showEyebrow:a=!0,showDate:c=!0,showDek:v=!0,showByline:_=!0,verticalAlignment:j="top",showMarkdown:O=!0,markdownOverride:S="",backgroundColor:k=""})=>{const{arcSite:C}=(0,s.useFusionContext)();if(!e||!e.websites?.[C])return null;const P=(0,l.T6)(),T=(0,l.RM)(e),E=e?.additional_properties?.promoHeadline??e?.headlines?.basic??"",N=e?.additional_properties?.promoDescription?.plaintext??e?.subheadlines?.basic??"",A=(0,u.J1)(e?.websites[C]?.website_url),I=e?.additional_properties?.heroPackage;let L,D,R,M,$;if("raw_html"===T?.type&&(0,b.Oq)(T?.content)&&"vertical"!==n)D=(0,l.Z_)(e)||(0,l.hn)(e);else if("video"===T?.type)L=T,M=(0,l.gx)(e),$=M?.hideMuteControl&&M?.hideSeekControl&&M?.hideProgressLabel&&M?.hideFullscreenControl;else if("raw_html"===T?.type){const e=(0,b.X4)(T);e.video?(L=e.video,M=e.heroVideoOptions,$=e.shouldVideoBeLink):e.rawHtml&&(R=e.rawHtml)}else D=T;const F=x[n]||x.large,V=D?{ansImage:D,aspectRatio:F.aspectRatio,width:F.width}:{src:P},z="left"===r||"right"===r,B="top"===r||"left"===r,H=k?{backgroundColor:k,padding:"12px"}:void 0,U=S||(O?I:null),q=t?(()=>{if(L){if("small"===n||"mobileSmall"===n){const t=(0,l.CP)(L),n=t?{ansImage:t,aspectRatio:F.aspectRatio,width:F.width}:{src:P};return(0,y.jsx)("div",{className:(0,m.A)("flex-promo__media",{"flex-promo__media--inline":z,"flex-promo__media--small":!0}),children:(0,y.jsx)("a",{className:"flex-promo__media-link","aria-label":E,href:A,rel:e?.label?.search?.text?.toLowerCase()?.includes("follow")?"nofollow":null,children:(0,y.jsx)(d.A,w(w({},n),{},{className:"flex-promo__image"}))})})}const t="vertical"===n?w(w({},L),{},{additional_properties:w(w({},L?.additional_properties),{},{vertical:!0})}):L;return(0,y.jsx)("div",{className:(0,m.A)("flex-promo__media",{"flex-promo__media--inline":z,[`flex-promo__media--${n}`]:!0}),children:$?(0,y.jsx)("a",{className:"flex-promo__media-link","aria-label":E,href:A,rel:e?.label?.search?.text?.toLowerCase()?.includes("follow")?"nofollow":null,children:(0,y.jsx)(h.A,{item:t,options:M})}):(0,y.jsx)(h.A,{item:t,options:M})})}return R?(0,y.jsx)("div",{className:(0,m.A)("flex-promo__media",{"flex-promo__media--inline":z,[`flex-promo__media--${n}`]:!0}),children:(0,y.jsx)("div",{dangerouslySetInnerHTML:{__html:R.content}})}):D||P?(0,y.jsx)("div",{className:(0,m.A)("flex-promo__media",{"flex-promo__media--inline":z,[`flex-promo__media--${n}`]:!0}),children:(0,y.jsx)("a",{className:"flex-promo__media-link","aria-label":E,href:A,rel:e?.label?.search?.text?.toLowerCase()?.includes("follow")?"nofollow":null,children:(0,y.jsx)(d.A,w(w({},V),{},{className:"flex-promo__image"}))})}):null})():null,Z=(0,y.jsxs)("div",{className:(0,m.A)("flex-promo__details",{"flex-promo__details--inline":z}),style:H,children:[a&&(0,y.jsx)(p.A,{story:e,onlyPrimary:!0,isPromo:!0}),(0,y.jsx)("div",{className:(0,m.A)("flex-promo__title",`flex-promo__title--${i}`),children:(0,y.jsx)("a",{className:"flex-promo__title-link",href:A,children:E})}),U?(0,y.jsx)("div",{className:"flex-promo__hero-package",children:(0,y.jsx)(g.Ay,{children:U})}):(0,y.jsxs)(y.Fragment,{children:[v&&N&&(0,y.jsx)("div",{className:"flex-promo__description",children:N}),(0,y.jsx)("div",{className:"d-flex flex-wrap",children:_&&(0,y.jsx)(f.A,{story:e,showDate:c})})]})]}),G={top:"start",middle:"center",bottom:"end"}[j]||"start";return(0,y.jsx)("div",{className:(0,m.A)("flex-promo",`flex-promo--align-${r}`,`flex-promo--text-${o}`,`flex-promo--valign-${j}`),children:z&&q?(0,y.jsx)("div",{className:`row align-items-${G}`,children:B?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"col-auto",children:q}),(0,y.jsx)("div",{className:"col",children:Z})]}):(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"col",children:Z}),(0,y.jsx)("div",{className:"col-auto",children:q})]})}):(0,y.jsx)(y.Fragment,{children:B?(0,y.jsxs)(y.Fragment,{children:[q,Z]}):(0,y.jsxs)(y.Fragment,{children:[Z,q]})})})};function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?O(Object(n),!0).forEach(function(t){k(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function k(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const C=({customFields:e})=>{const{listContentConfig:{contentService:t="",contentConfigValues:n={}}={},customCssClass:i="",columns:o=1,numberOfStories:u=1,offset:d=0,borderTop:p=!1,borderBottom:f=!1,borderLeft:h=!1,borderRight:g=!1,showDividers:b=!1,displayMarkdown:v=!0,markdownOverride:w="",displayImage:_=!0,imageSize:x="large",imageAlignment:O="top",headlineFontSize:k="medium",titleAlignment:C="left",displayEyebrow:P=!0,displayDate:T=!0,displayDek:E=!0,displayByline:N=!0,verticalAlignment:A="top",backgroundColor:I="",paddingTop:L="",paddingBottom:D="",paddingLeft:R="",paddingRight:M="",mobileColumns:$="inherit",mobileBorderTop:F=!1,mobileBorderBottom:V=!1,mobileBorderLeft:z=!1,mobileBorderRight:B=!1,mobileOrder:H=0,mobileImageAlignment:U="inherit",mobileTitleAlignment:q="inherit",mobileVerticalAlignment:Z="inherit",mobileImageSize:G="inherit",mobileHeadlineFontSize:W="inherit",mobileShowDividers:K="inherit",mobileDisplayImage:Y="inherit",mobileDisplayEyebrow:J="inherit",mobileDisplayDate:X="inherit",mobileDisplayDek:Q="inherit",mobileDisplayByline:ee="inherit"}=e,{arcSite:te}=(0,s.useFusionContext)(),ne=(0,r.useContext)(c.A),re=["_id","collection_id","content_alias","collection_alias"],ie=e=>{if(!e)return null;const t=re.find(t=>e[t]);return t?{[t]:e[t]}:null},oe=t?ie(n):null,ae=ne?.contentService?ie(ne.contentConfigValues):null,se=oe?t:ae?ne.contentService:null,le=oe||ae,{content_elements:ce=[]}=(0,a.useContent)(se?{source:se,query:S(S({},le),{},{query:"type:story",from:d,size:u}),filter:`{\n content_elements {\n _id\n additional_properties {\n promoHeadline\n promoDescription {\n plaintext\n }\n heroPackage\n heroVideoSettings {\n autoplay\n hideAudioControls\n hideVideoControls\n }\n }\n headlines {\n basic\n }\n subheadlines {\n basic\n }\n canonical_url\n label {\n search {\n text\n }\n eyebrows_override {\n text\n }\n }\n taxonomy {\n primary_section {\n _id\n name\n path\n }\n sections {\n _id\n name\n }\n }\n credits {\n by {\n type\n name\n url\n org\n additional_properties {\n original {\n byline\n }\n }\n }\n }\n description {\n basic\n }\n display_date\n ${(0,l.G)()}\n websites {\n ${te} {\n website_url\n }\n }\n }\n }`}:{})||{},ue=`flex-block-${(0,r.useId)().replace(/:/g,"")}`;if(!ce.length)return null;const de=O,pe=C,fe="inherit"===U?O:U,he="inherit"===q?C:q,me="inherit"===Z?A:Z,ge="inherit"===$?o:parseInt($,10),be="inherit"===G?x:G,ye="inherit"===W?k:W,ve="inherit"===K?b
2:"true"===K,we="inherit"===Y?_:"true"===Y,_e="inherit"===J?P:"true"===J,xe="inherit"===X?T:"true"===X,je="inherit"===Q?E:"true"===Q,Oe="inherit"===ee?N:"true"===ee;let Se="";const ke=e=>/^[\d.]+(px|rem|em|%)$/.test(e)?e:"",Ce=ke(L),Pe=ke(D),Te=ke(R),Ee=ke(M);(Ce||Pe||Te||Ee)&&(Se+=`.${ue}{`,Ce&&(Se+=`padding-top:${Ce};`),Pe&&(Se+=`padding-bottom:${Pe};`),Te&&(Se+=`padding-left:${Te};`),Ee&&(Se+=`padding-right:${Ee};`),Se+="}"),H&&(Se+=`@media(max-width:767.98px){.${ue}{order:${H}}}`);const Ne={"flex-block--border-top":p,"flex-block--border-bottom":f,"flex-block--border-left":h,"flex-block--border-right":g},Ae={"flex-block--mobile-border-top":F,"flex-block--mobile-border-bottom":V,"flex-block--mobile-border-left":z,"flex-block--mobile-border-right":B},Ie=(e,t,n,r,i={})=>e.map(e=>(0,y.jsx)(j,{story:e,showImage:i.showImage??_,imageSize:i.imageSize??x,imageAlignment:t,headlineFontSize:i.headlineFontSize??k,titleAlignment:n,showEyebrow:i.showEyebrow??P,showDate:i.showDate??T,showDek:i.showDek??E,showByline:i.showByline??N,verticalAlignment:r,showMarkdown:v,markdownOverride:w,backgroundColor:I},e._id));let Le;if(2===o){const e=2===ge?"flex-block__grid":"flex-block__grid flex-block__grid--stack-mobile";Le=(0,y.jsx)("div",{className:e,children:Ie(ce,de,pe,A)})}else Le=Ie(ce,de,pe,A);const De="inherit"!==U||"inherit"!==q||"inherit"!==Z||"inherit"!==G||"inherit"!==W||"inherit"!==K||"inherit"!==Y||"inherit"!==J||"inherit"!==X||"inherit"!==Q||"inherit"!==ee,Re={imageSize:"small"===be?"mobileSmall":be,headlineFontSize:ye,showImage:we,showEyebrow:_e,showDate:xe,showDek:je,showByline:Oe};return(0,y.jsxs)("div",{className:(0,m.A)("flex-block",ue,i,Ne,Ae,{"flex-block--ordered":H>0},{"flex-block--has-mobile-overrides":De},{"flex-block--dividers":!De&&b},{"flex-block--dividers-desktop":De&&b},{"flex-block--dividers-mobile":De&&ve}),"data-stories":u,children:[Se&&(0,y.jsx)("style",{dangerouslySetInnerHTML:{__html:Se}}),De?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"d-none d-md-block",children:Le}),(0,y.jsx)("div",{className:"d-block d-md-none",children:2===ge?(0,y.jsx)("div",{className:"flex-block__grid",children:Ie(ce,fe,he,me,Re)}):Ie(ce,fe,he,me,Re)})]}):Le]})};C.label="DN - Flex Block",C.icon="arc-list",C.propTypes={customFields:o().shape({listContentConfig:o().contentConfig("ans-feed").tag({label:"Display Content",description:"Override chain-level collection. Leave empty to inherit from parent Columns chain.",defaultValue:{contentService:"collections-for-lists",contentConfigValues:{collection_alias:""}},group:"Collection"}),customCssClass:o().string.tag({label:"Custom CSS Class",description:"Optional CSS class for targeting with custom styles.",group:"Article Layout"}),columns:o().oneOf([1,2]).tag({label:"Columns",labels:{1:"1 Column",2:"2 Columns"},defaultValue:1,group:"Article Layout"}),numberOfStories:o().number.tag({label:"Number of Stories",description:"How many stories to display from the collection (max 50).",defaultValue:1,min:1,max:50,group:"Article Layout"}),offset:o().number.tag({label:"Offset",description:"Skip this many stories from the beginning of the collection.",defaultValue:0,min:0,group:"Article Layout"}),borderTop:o().bool.tag({label:"Border Top",defaultValue:!1,group:"Article Layout"}),borderBottom:o().bool.tag({label:"Border Bottom",defaultValue:!1,group:"Article Layout"}),borderLeft:o().bool.tag({label:"Border Left",defaultValue:!1,group:"Article Layout"}),borderRight:o().bool.tag({label:"Border Right",defaultValue:!1,group:"Article Layout"}),showDividers:o().bool.tag({label:"Show Dividers",description:"Add a line between each story.",defaultValue:!1,group:"Article Layout"}),displayMarkdown:o().bool.tag({label:"Display Markdown",description:"Show hero package markdown on articles.",defaultValue:!0,group:"Article Layout"}),markdownOverride:o().richtext.tag({label:"Markdown Override",description:"Custom markdown that replaces each story's hero package when set.",group:"Article Layout"}),paddingTop:o().string.tag({label:"Padding Top",description:"e.g., 16px, 1rem",group:"Article Layout"}),paddingBottom:o().string.tag({label:"Padding Bottom",description:"e.g., 16px, 1rem",group:"Article Layout"}),paddingLeft:o().string.tag({label:"Padding Left",description:"e.g., 16px, 1rem",group:"Article Layout"}),paddingRight:o().string.tag({label:"Padding Right",description:"e.g., 16px, 1rem",group:"Article Layout"}),displayImage:o().bool.tag({label:"Display Image",description:"Show or hide the lead art image.",defaultValue:!0,group:"Lead Art Display"}),imageSize:o().oneOf(["large","medium","small","vertical"]).tag({label:"Image Size",labels:{large:"Large (4:3)",medium:"Medium (16:9)",small:"Small (16:9)",vertical:"Vertical (9:16)"},defaultValue:"large",group:"Lead Art Display"}),imageAlignment:o().oneOf(["top","bottom","left","right"]).tag({label:"Image Alignment",labels:{top:"Top",bottom:"Bottom",left:"Left",right:"Right"},defaultValue:"top",group:"Lead Art Display"}),verticalAlignment:o().oneOf(["top","middle","bottom"]).tag({label:"Vertical Alignment",labels:{top:"Top",middle:"Middle",bottom:"Bottom"},defaultValue:"top",group:"Title Display"}),headlineFontSize:o().oneOf(["small","medium","large"]).tag({label:"Headline Font Size",labels:{small:"Small",medium:"Medium",large:"Large"},defaultValue:"medium",group:"Title Display"}),titleAlignment:o().oneOf(["left","right","center"]).tag({label:"Title Alignment",labels:{left:"Left",right:"Right",center:"Center"},defaultValue:"left",group:"Title Display"}),displayEyebrow:o().bool.tag({label:"Display Eyebrow",defaultValue:!0,group:"Title Display"}),displayDate:o().bool.tag({label:"Display Date",defaultValue:!0,group:"Title Display"}),displayDek:o().bool.tag({label:"Display Dek",defaultValue:!0,group:"Title Display"}),displayByline:o().bool.tag({label:"Display Byline",defaultValue:!0,group:"Title Display"}
2),backgroundColor:o().string.tag({label:"Background Color",description:"Hex color for the block background. Example: #F5F5F5",group:"Article Layout"}),mobileColumns:o().oneOf(["inherit","1","2"]).tag({label:"Mobile Columns",labels:{inherit:"Inherit Desktop",1:"1 Column",2:"2 Columns"},defaultValue:"inherit",group:"Mobile Styles"}),mobileBorderTop:o().bool.tag({label:"Mobile Border Top",defaultValue:!1,group:"Mobile Styles"}),mobileBorderBottom:o().bool.tag({label:"Mobile Border Bottom",defaultValue:!1,group:"Mobile Styles"}),mobileBorderLeft:o().bool.tag({label:"Mobile Border Left",defaultValue:!1,group:"Mobile Styles"}),mobileBorderRight:o().bool.tag({label:"Mobile Border Right",defaultValue:!1,group:"Mobile Styles"}),mobileOrder:o().number.tag({label:"Mobile/App Order",description:"Controls display order on mobile. Lower numbers appear first. 0 = natural order.",defaultValue:0,min:0,group:"Mobile Styles"}),mobileImageAlignment:o().oneOf(["inherit","top","bottom","left","right"]).tag({label:"Mobile Image Alignment",labels:{inherit:"Inherit Desktop",top:"Top",bottom:"Bottom",left:"Left",right:"Right"},defaultValue:"inherit",group:"Mobile Styles"}),mobileTitleAlignment:o().oneOf(["inherit","left","right","center"]).tag({label:"Mobile Title Alignment",labels:{inherit:"Inherit Desktop",left:"Left",right:"Right",center:"Center"},defaultValue:"inherit",group:"Mobile Styles"}),mobileImageSize:o().oneOf(["inherit","large","medium","small","vertical"]).tag({label:"Mobile Image Size",labels:{inherit:"Inherit Desktop",large:"Large (4:3)",medium:"Medium (16:9)",small:"Small (16:9)",vertical:"Vertical (9:16)"},defaultValue:"inherit",group:"Mobile Styles"}),mobileHeadlineFontSize:o().oneOf(["inherit","small","medium","large"]).tag({label:"Mobile Headline Font Size",labels:{inherit:"Inherit Desktop",small:"Small",medium:"Medium",large:"Large"},defaultValue:"inherit",group:"Mobile Styles"}),mobileVerticalAlignment:o().oneOf(["inherit","top","middle","bottom"]).tag({label:"Mobile Vertical Alignment",labels:{inherit:"Inherit Desktop",top:"Top",middle:"Middle",bottom:"Bottom"},defaultValue:"inherit",group:"Mobile Styles"}),mobileShowDividers:o().oneOf(["inherit","true","false"]).tag({label:"Mobile Show Dividers",labels:{inherit:"Inherit Desktop",true:"Show",false:"Hide"},defaultValue:"inherit",group:"Mobile Styles"}),mobileDisplayImage:o().oneOf(["inherit","true","false"]).tag({label:"Mobile Display Image",labels:{inherit:"Inherit Desktop",true:"Show",false:"Hide"},defaultValue:"inherit",group:"Mobile Styles"}),mobileDisplayEyebrow:o().oneOf(["inherit","true","false"]).tag({label:"Mobile Display Eyebrow",labels:{inherit:"Inherit Desktop",true:"Show",false:"Hide"},defaultValue:"inherit",group:"Mobile Styles"}),mobileDisplayDate:o().oneOf(["inherit","true","false"]).tag({label:"Mobile Display Date",labels:{inherit:"Inherit Desktop",true:"Show",false:"Hide"},defaultValue:"inherit",group:"Mobile Styles"}),mobileDisplayDek:o().oneOf(["inherit","true","false"]).tag({label:"Mobile Display Dek",labels:{inherit:"Inherit Desktop",true:"Show",false:"Hide"},defaultValue:"inherit",group:"Mobile Styles"}),mobileDisplayByline:o().oneOf(["inherit","true","false"]).tag({label:"Mobile Display Byline",labels:{inherit:"Inherit Desktop",true:"Show",false:"Hide"},defaultValue:"inherit",group:"Mobile Styles"})})};var P=C},52040:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(14375),o=n(19894),a=n.n(o),s=n(74848);const l=e=>{const t=(0,r.useFusionContext)(),{deployment:n}=t,{footerNavs:o,footerBottomLinks:a}=e.customFields,l=(0,i.useContent)({source:o.contentService,query:o.contentConfigValues}),c=(0,i.useContent)({source:a.contentService,query:a.contentConfigValues});return(0,s.jsx)("div",{id:"deseret-footer",children:(0,s.jsxs)("footer",{className:"footer__global text-center text-lg-start",children:[(0,s.jsx)("div",{className:"mb-0 mb-md-4",children:(0,s.jsx)("div",{className:"container text-center text-md-start mt-0",children:(0,s.jsxs)("div",{className:"row mt-3",children:[(0,s.jsx)("div",{className:"col-md-3 col-sm-12 mx-auto mb-2",children:(0,s.jsx)("a",{href:"/",children:(0,s.jsx)("img",{className:"footer__global-logo-img",src:n("/pf/resources/deseretnews/assets/images/deseret-logo-footer-beehive.svg"),alt:"Deseret News"})})}),l?.children?.map(e=>{const t=e?._id?.replaceAll("/","-")?.substring(1);return(0,s.jsxs)("div",{className:"footer__global-section col-md-2 col-sm-12 mx-auto mb-0",children:[(0,s.jsx)("div",{className:"section-heading collapsed","data-bs-toggle":"collapse","data-bs-target":`#${t}
2`,children:e?.section?.title}),(0,s.jsx)("div",{className:"section-body collapse",id:t,children:e?.children.map(e=>(0,s.jsxs)("a",{href:e?.section?.url||e?.section?.slug,target:"true"===e?.section?.is_internal?"":"_blank",children:[e?.site_topper?.site_logo_image?(0,s.jsx)("img",{className:"icon",alt:`${e?.section?.title}`,width:"16",height:"16",src:n(e?.site_topper?.site_logo_image)}):null,e?.section?.title]},e?._id))})]},e?._id)})]})})}),(0,s.jsx)("div",{className:"container text-center text-md-start mt-0 copyright-policies",children:(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)("div",{className:"col-md-5 col-sm-12 copyright-text",children:(0,s.jsxs)("div",{children:["Copyright © ",(new Date).getFullYear()," Deseret News Publishing Company. All Rights Reserved"]})}),(0,s.jsx)("div",{className:"col-md-7 col-sm-12 policy-links",children:(0,s.jsxs)("ul",{className:"list-inline ul-dot-separated text-right",children:[c?.children?.map(e=>(0,s.jsx)("li",{className:"list-inline-item",children:(0,s.jsx)("a",{href:e?.url||e?.section?.url||e?.section?.slug,target:e?.section?.is_internal&&"true"!==e?.section?.is_internal?"_blank":"",children:e?.display_name||e?.section?.title})},e?._id)),(0,s.jsx)("li",{className:"list-inline-item",children:(0,s.jsx)("a",{href:"#",onClick:e=>{e.preventDefault()},className:"ot-sdk-show-settings",children:"Cookie Settings"})})]})})]})})]})})};l.label="DN - Footer",l.propTypes={customFields:a().shape({footerNavs:a().contentConfig().tag({label:"Footer Navigation"}),footerBottomLinks:a().contentConfig().tag({label:"Footer Bottom Links"})})},t.default=l},29332:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return G}});var r=n(40809),i=n(4321),o=n(87983),a=n.n(o),s=n(19894),l=n.n(s),c=n(14375),u=n(28408),d=n(74848);function p({supernavLeft:e,supernavRight:t,supernavLeftMobile:n,supernavRightMobile:r}){const i=(0,c.useContent)({source:e.contentService,query:e.contentConfigValues})?.children,o=(0,c.useContent)({source:t.contentService,query:t.contentConfigValues})?.children,a=(0,c.useContent)({source:n.contentService,query:n.contentConfigValues})?.children,s=(0,c.useContent)({source:r.contentService,query:r.contentConfigValues})?.children;return(0,d.jsx)("div",{className:"supernav",children:(0,d.jsx)("div",{className:"container",children:(0,d.jsx)("div",{className:"col-12",children:(0,d.jsxs)("nav",{className:"nav__global",children:[(0,d.jsx)("ul",{className:"supernav-list supernav-list-left px-0 d-md-block d-none",children:i&&i.map(e=>(0,d.jsx)("li",{className:"supernav-list-item",children:(0,d.jsx)("a",{href:(0,u.J1)(e.url),target:"_blank",className:""+("Deseret News"===e?.display_name?"active":""),children:e?.display_name})},e?.display_name))}),(0,d.jsx)("ul",{className:"supernav-list supernav-list-left px-0 d-md-none d-block",children:a&&a.map(e=>(0,d.jsx)("li",{className:"supernav-list-item",children:(0,d.jsx)("a",{href:(0,u.J1)(e.url),target:"_blank",className:""+("Deseret News"===e?.display_name?"active":""),children:e?.display_name})},e?.display_name))}),(0,d.jsx)("ul",{className:"supernav-list supernav-list-right px-0 d-md-block d-none",children:o&&o.map(e=>(0,d.jsx)("li",{className:"supernav-list-item",children:(0,d.jsx)("a",{href:(0,u.J1)(e.url),target:"_blank",children:e?.display_name})},e?.display_name))}),(0,d.jsx)("ul",{className:"supernav-list supernav-list-right px-0 d-md-none d-block",children:s&&s.map(e=>(0,d.jsx)("li",{className:"supernav-list-item",children:(0,d.jsx)("a",{href:(0,u.J1)(e.url),target:"_blank",children:e?.display_name})},e?.display_name))})]})})})})}function f({primaryLogo:e,primaryLogoAlt:t}){return(0,d.jsx)("div",{className:"masthead",children:(0,d.jsx)("div",{className:"container",children:(0,d.jsx)("div",{className:"logo-wrapper col-12 py-3",children:(0,d.jsx)("a",{href:(0,u.J1)("/"),children:(0,d.jsx)("img",{src:e,className:"dn-logo",alt:t})})})})})}var h=n(54830),m=n.n(h),g=n(25067);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?b(Object(n),!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w({backgroundImageId:e,backgroundImageAuth:t,backgroundImageType:n,backgroundImageUrl:r,overlayHexCode:i,isLightMode:o,mastheadLogo:a,mastheadLogoAlt:s,isCompact:l,spotlightURL:p,spotlightText:f,baseUrl:h,supernavLeft:b,supernavRight:v,supernavLeftMobile:w,supernavRightMobile:x}){const{searchableField:j}=(0,c.useEditableContent)(),O=new Date,S=O.toLocaleDateString("en-us",{year:"numeric",month:"long",day:"numeric"}),k=O.toLocaleDateString("en-us",{weekday:"long"}),C=(0,c.useContent)({source:b.contentService,query:b.contentConfigValues})?.children,P=(0,c.useContent)({source:v.contentService,query:v.contentConfigValues})?.children,T=(0,c.useContent)({source:w.contentService,query:w.contentConfigValues})?.children,E=(0,c.useContent)({source:x.contentService,query:x.contentConfigValues})?.children;return(0,d.jsx)("div",y(y({id:"masthead-large",className:m()({"light-mode":o,compact:l}),style:{height:l?"200px":"340px",backgroundImage:`url("${r?(0,g.Lt)(h,e,t,r,2e3):_(h,e,t,n)}")`}},j({backgroundImageId:"_id",backgroundImageAuth:"auth.1",backgroundImageType:"additional_properties.mime_type",backgroundImageUrl:"url"})),{},{children:(0,d.jsxs)("div",{id:"masthead-overlay",style:{backgroundColor:i},children:[(0,d.jsxs)("div",{className:"container",children:[(0,d.jsx)("div",{id:"supernav-row",children:(0,d.jsx)("div",{className:"masthead-supernav",children:(0,d.jsx)("div",{className:"container",children:(0,d.jsx)("div",{className:"col-12",children:(0,d.jsxs)("nav",{className:"nav__global",children:[(0,d.jsx)("ul",{className:"supernav-list supernav-list-left px-0 d-md-block d-none",children:C&&C.map(e=>(0,d.jsxs)("li",{className:"supernav-list-item",children:[(0,d.jsx)("a",{href:(0,u.J1)(e.url),target:"_blank",className:""+("Deseret News"===e?.display_name?"active":""),children:e?.display_name}),"Deseret News"===e?.display_name&&(0,d.jsx)("div",{className:m()({"yellow-underline link":!0,"d-none":o})})]},e?.display_name))}),(0,d.jsx)("ul",{className:"supernav-list supernav-list-left px-0 d-md-none d-block",children:T&&T.map(e=>(0,d.jsxs)("li",{className:"supernav-list-item",children:[(0,d.jsx)("a",{href:(0,u.J1)(e.url),target:"_blank",className:""+("Deseret News"===e?.display_name?"active":""),children:e?.display_name}),"Deseret News"===e?.display_name&&(0,d.jsx)("div",{className:m()({"yellow-underline link":!0,"d-none":o})})]},e?.display_name))}),(0,d.jsx)("ul",{className:"supernav-list supernav-list-right px-0 d-md-block d-none",children:P&&P.map(e=>(0,d.jsx)("li",{className:"supernav-list-item",children:(0,d.jsx)("a",{href:(0,u.J1)(e.url),target:"_blank",children:e?.display_name})},e?.display_name))}),(0,d.jsx)("ul",{className:"supernav-list supernav-list-right px-0 d-md-none d-block",children:E&&E.map(e=>(0,d.jsx)("li",{className:"supernav-list-item",children:(0,d.jsx)("a",{href:(0,u.J1)(e.url),target:"_blank",children:e?.display_name})},e?.display_name))})]})})})})}),(0,d.jsxs)("div",{id:"masthead-logo-row",className:"d-flex",children:[(0,d.jsx)("div",{className:"col-2"}),(0,d.jsx)("div",{className:"col-8",children:(0,d.jsx)("div",{id:"masthead-logo",className:m()({"d-none":l}),children:(0,d.jsx)("a",{href:"/",children:(0,d.jsx)("img",{src:a,className:"dn-logo",alt:s})})})}),(0,d.jsx)("div",{className:"col-2"})]}),(0,d.jsxs)("div",{id:"masthead-utilities-row",className:"d-flex",children:[(0,d.jsx)("div",{className:"col-2",children:(0,d.jsxs)("div",{id:"masthead-date-wrapper",className:"d-lg-inline-block",children:[(0,d.jsx)("div",{id:"masthead-date-weekday",className:"masthead-utility-top",children:k}),(0,d.jsx)("div",{id:"masthead-date-date",className:"masthead-utility-bottom",children:S})]})}),(0,d.jsxs)("div",{className:"col-8",children:[(0,d.jsx)("div",{id:"masthead-spotlight-wrapper",className:m()({"d-none":l}),children:f&&p?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{id:"masthead-spotlight-label",className:m()({"masthead-utility-top":!0,"dark-mode":!o}),children:["SPOTLIGHT",(0,d.jsx)("div",{className:m()({"yellow-underline spotlight":!0,"d-none":o})})]}),(0,d.jsx)("div",{className:"masthead-utility-bottom",children:(0,d.jsx)("a",{href:p,className:m()({"light-mode":o}),children:f})})]}):null}),(0,d.jsx)("div",{id:"masthead-logo-compact",className:m()({"d-none":!l}),children:(0,d.jsx)("a",{href:"/",children:(0,d.jsx)("img",{src:a,className:"dn-logo",alt:s})})})]}),(0,d.jsx)("div",{className:"col-2",children:(0,d.jsx)("div",{id:"masthead-weather-wrapper",className:"d-lg-inline-block",children:(0,d.jsx)("iframe",{scrolling:"no",style:{background:"transparent",border:0,width:"150px",height:"50px"},src:`https://www.msn.com/widgets/fullpage/weatherWidgets/transparentwidget?experiences=${o?"WeatherTodayMiniWidgetsDark":"WeatherTodayMiniWidgets"}&width=150&height=50&cm=en-us&ocid=weather-deseret`,sandbox:"allow-scripts allow-same-origin allow-popups"})})})]})]}),(0,d.jsx)("div",{id:"masthead-large-logo"})]})}))}const _=(e,t,n,r)=>`${e}/resizer/v2/${t}.${"image/jpeg"===r?"jpg":"png"}?auth=${n}&width=2000`;var x=n(44745),j=n(21718),O=n(43993),S=n(7770),k="data:image/svg+xml;
2base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiID8+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ij4KCTxwYXRoIGQ9Ik04IDBDMy41ODEyNSAwIDAgMy41ODEyNSAwIDhDMCAxMi40MTg3NSAzLjU4MTI1IDE2IDggMTZDMTIuNDE4NzUgMTYgMTYgMTIuNDE4NzUgMTYgOEMxNiAzLjU4MTI1IDEyLjQxODc1IDAgOCAwWk04IDRDOS4yNDI4MTIyIDQgMTAuMjUgNS4wMDc1MDAyIDEwLjI1IDYuMjVDMTAuMjUgNy40OTI0OTk4IDkuMjQzNzQ5NiA4LjUgOCA4LjVDNi43NTc1MDAyIDguNSA1Ljc1IDcuNDkyNDk5OCA1Ljc1IDYuMjVDNS43NSA1LjAwNzUwMDIgNi43NTYyNDk5IDQgOCA0Wk04IDE0QzYuMzQ1OTM3NyAxNCA0Ljg0Njg3NTIgMTMuMzI3MTg4IDMuNzU5Mzc1MSAxMi4yNDA5MzdDNC4yNjU2MjUgMTAuOTM0Mzc1IDUuNTE1NjI1IDEwIDcgMTBMOSAxMEMxMC40ODU2MjUgMTAgMTEuNzM1NjI1IDEwLjkzMzc1IDEyLjI0MDYyNSAxMi4yNDA5MzdDMTEuMTUzMTI1IDEzLjMyODEyNSA5LjY1MzEyNDggMTQgOCAxNFoiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPgo8L3N2Zz4K",C=n(40849),P=n(41878);function T(){const[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1),[a,s]=(0,r.useState)(!1),l=(0,r.useRef)(null),{arcSite:c,requestUri:p}=(0,i.useFusionContext)(),f=(p&&new URL(p,"https://www.deseret.com/"),O.ENVIRONMENT,(0,u.J1)("/")),h=(0,u.J1)("/members/account"),m=(0,S.il)();(0,r.useEffect)(()=>{window.tp=window.tp||[];const e=()=>{const e=window.tp?.pianoId?.isUserValid();o(!!e),s(!1)},n=()=>s(!0),r=()=>s(!1);function i(e){l.current&&!l.current.contains(e.target)&&t(!1)}return window.tp.push(["init",e]),window.tp.push(["addHandler","loginSuccess",e]),window.tp.push(["addHandler","logout",e]),window.tp.push(["addHandler","checkoutComplete",P.l0]),window.addEventListener("deseret:googleonetap:login",e),window.addEventListener("deseret:googleonetap:loading",n),window.addEventListener("deseret:googleonetap:error",r),document.addEventListener("mousedown",i),(0,P.H8)(),()=>{document.removeEventListener("mousedown",i),window.removeEventListener("deseret:googleonetap:login",e),window.removeEventListener("deseret:googleonetap:loading",n),window.removeEventListener("deseret:googleonetap:error",r)}},[e]);return(0,d.jsxs)("div",{className:"profile-dropdown "+(n?"loggedin":""),ref:l,children:[(0,d.jsx)("span",{onClick:()=>t(!e),className:`profile-dropdown__trigger ${n?"bg-transparent":""} ${n&&"utahbusiness"===c&&"ub-profile"}`,children:a?(0,d.jsx)("span",{className:"loading-indicator"}):n?(e=>{switch(e){case"churchnews":return(0,d.jsx)("i",{className:"fa fa-user"});case"deseretnews":return(0,d.jsx)("img",{className:"dn-icon",src:k,alt:"dn user icon"});case"utahbusiness":return(0,d.jsx)("img",{className:"ub-icon",src:k,alt:"ub user icon"});default:return(0,d.jsx)("i",{className:"fa fa-user me-1"})}})(c):(0,d.jsxs)("span",{className:"sign-in-btn",children:[m.t("cn-header.sign-in")," ","utahbusiness"===c&&(0,d.jsx)("i",{className:"fa-solid fa-arrow-right"})]})}),(0,d.jsx)("ul",{className:"profile-dropdown__content "+(e?"d-block":"d-none"),children:n?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("li",{className:"profile-dropdown__option-list__item",children:(0,d.jsx)("a",{href:h,children:m.t("cn-header.manage-account")})}),(0,d.jsx)("li",{className:"profile-dropdown__option-list__item",onClick:()=>{console.log("logout"),window.tp.pianoId?.logout(()=>{(0,P.UC)(),(0,C.FB)();if(window.location.pathname.match(/^\/members\/account+/))return console.log("logged out on myaccount page. redirecting to homepage"),void(location.href=f)}),t(!1)},children:m.t("cn-header.sign-out")})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("li",{className:"profile-dropdown__option-list__item",onClick:()=>{console.log("register"),window.tp.pianoId?.show({screen:"register",displayMode:"modal",registrationSuccess:()=>{window.dn.setCookie("_pc_registrationType","SignInReg",{expires:Date((new Date).getTime()+36e5)}),(0,P.l0)(),(0,C.qz)()}}),t(!1)},children:m.t("cn-header.register")}),(0,d.jsx)("li",{className:"profile-dropdown__option-list__item",onClick:()=>{console.log("login"),window.tp.pianoId?.show({screen:"login",displayMode:"modal",loginSuccess:()=>{(0,P.l0)(),(0,C.qz)()},registrationSuccess:e=>{window.dn.setCookie("_pc_registrationType","SignInReg",{expires:Date((new Date).getTime()+36e5)})}}),t(!1)},children:m.t("cn-header.sign-in")})]})})]})}function E(e){return(0,d.jsx)(T,{})}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?N(Object(n),!0).forEach(function(t){I(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function I(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L({promo:e,navItems:t,moreItem:n,social:i}){const[o,a]=(0,r.useState)(!1),[s,l]=(0,r.useState)(null),[c,p]=(0,r.useState)(null),[f,h]=(0,r.useState)(null),[g,b]=(0,r.useState)(null),[y,v]=(0,r.useState)(!1),w=(0,r.useRef)(null),_=()=>v(!1);!function(e,t){const n=(0,r.useCallback)(n=>{e&&"Escape"===n.key&&t()},[t]);(0,r.useEffect)(()=>(document.addEventListener("keyup",n,!1),()=>{document.removeEventListener("keyup",n,!1)}))}(y,_);const x=(e,t)=>{l(e),p(t)},O=()=>{x(null,null),h(null),a(!1)},S={showSubnav:o,subnavParent:s,subnavFormat:c,navItems:t,moreItem:n,configSubnav:x},k=[...t,n];return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{id:"deseret-navigation",onMouseLeave:()=>{O()},children:[(0,d.jsx)("div",{id:"main-navigation-bar",children:(0,d.jsx)("div",{className:"container",children:(0,d.jsxs)("div",{id:"main-navigation",children:[(0,d.jsx)("div",{id:"navigation-promo",className:"d-none d-lg-flex",onMouseEnter:()=>{O()},children:e.label&&(0,d.jsxs)(u.De,{href:e?.url,children:[e?.label,(0,d.jsx)("i",{className:"fas fa-arrow-right-long"})]})}),(0,d.jsx)("div",{id:"navigation-links",children:(0,d.jsx)("ul",{id:"navigation-link-list",children:k?.length&&k.map((e,n)=>(0,d.jsxs)("li",{className:m()({"navigation-link-list-item":!0,"has-children":e?.children?.length,"active-tab":e.id===f,"d-none d-sm-block":n>1&&n<=3,"d-none d-md-block":n>3&&n!==t.length}),onMouseEnter:()=>{b(setTimeout(()=>{e.children?.length?(h(e.id),x(e,e.id),a(!0)):O()},200))},onMouseLeave:()=>{clearTimeout(g)},children:[e.url?(0,d.jsx)(u.De,{className:"d-none d-xl-block",href:e.url,children:(0,d.jsx)("div",{className:"navigation-link-list-item-inner",children:e.children?.length?(0,d.jsxs)("span",{children:[e.label," ",(0,d.jsx)("i",{className:"fas fa-caret-down"})]}):(0,d.jsx)("span",{children:e.label})})}):(0,d.jsx)("div",{className:"navigation-link-list-item-inner d-none d-xl-block",children:e.children?.length?(0,d.jsxs)("span",{children:[e.label," ",(0,d.jsx)("i",{className:"fas fa-caret-down"})]}):(0,d.jsx)("span",{children:e.label})}),(0,d.jsx)("div",{className:"navigation-link-list-item-inner d-block d-xl-none",children:e.children?.length?(0,d.jsxs)("span",{children:[e.label," ",(0,d.jsx)("i",{className:"fas fa-caret-down"})]}):(0,d.jsx)(u.De,{href:e.url,children:e.label})})]},`${e.id}-${n}`))})}),(0,d.jsx)("div",{id:"navigation-social",onMouseEnter:()=>{O()},children:(0,d.jsxs)("ul",{id:"navigation-social-list",children:[i&&i.map(e=>{if(e.url)return(0,d.jsx)("li",{className:"d-none d-lg-inline",children:(0,d.jsxs)(u.De,{href:e?.url,children:[e?.label,(0,d.jsx)("i",{className:e.icon?`fab fa-${e.icon}`:""})]})},e.id)}),(0,d.jsx)("li",{className:"d-inline",children:(0,d.jsx)("button",{onClick:y?_:()=>{w?.current?.focus(),v(!0)},className:"search",children:y?(0,d.jsx)("i",{className:"fas fa-x"}):(0,d.jsx)("i",{className:"fas fa-magnifying-glass"})})},"search"),(0,d.jsx)("li",{className:"d-inline-block ms-3",children:(0,d.jsx)(E,{})})]})})]})})}),(0,d.jsx)("div",{id:"searchbar-popover-wrapper",children:(0,d.jsx)("div",{id:"searchbar-popover",className:(0,j.A)(y&&"open"),children:(0,d.jsxs)("div",{className:"container",children:[(0,d.jsxs)("div",{className:"searchbar-popover-container d-none d-lg-flex",children:[(0,d.jsx)("i",{className:"fas fa-magnifying-glass"}),(0,d.jsxs)("form",{method:"GET",action:"/search",children:[(0,d.jsx)("input",{ref:w,name:"q",type:"text",placeholder:"What can we help you find today?"}),(0,d.jsx)("button",{type:"submit",children:"Search"})]})]}),(0,d.jsx)("div",{className:"searchbar-popover-container searchbar-popover-container--mobile d-flex d-lg-none",children:(0,d.jsxs)("form",{method:"GET",action:"/search",children:[(0,d.jsx)("input",{ref:w,name:"q",type:"text",placeholder:"Search"}),(0,d.jsx)("button",{type:"submit",children:"Go"})]})})]})})}),(0,d.jsx)("div",{id:"subnav-wrapper",children:(0,d.jsx)(D,A({},S))})]}),(0,d.jsx)("div",{id:"subnav-overlay",className:o?"d-block":"d-none"})]})}const D=e=>(0,d.jsx)("div",{id:"subnav",className:e.showSubnav?"d-block":"d-none",children:e.subnavParent?"more"===e.subnavFormat?(0,d.jsx)(R,{parent:e.subnavParent,navItems:e.navItems,moreItem:e.moreItem,configSubnav:e.configSubnav}):(0,d.jsx)(M,{parent:e.subnavParent}):null}),R=e=>{const{parent:t,navItems:n,moreItem:r,configSubnav:i}
2=e;return(0,d.jsxs)("div",{className:"subnav-list-more container",children:[(0,d.jsx)("div",{className:"dropdown-head-wrapper "+("more"===t.id?"d-none":""),children:(0,d.jsxs)("div",{className:"dropdown-head d-flex",children:[(0,d.jsx)(u.De,{className:"dropdown-title",href:t.url,children:t.label}),(0,d.jsxs)("div",{className:"dropdown-back-to-more",onClick:()=>{i(r,"more")},children:[(0,d.jsx)("i",{className:"fa fa-caret-left"})," ","Back to More"]})]})}),(0,d.jsx)("ul",{className:"nav-subitems--more mb-0",children:t?.children?.length&&t.children.map((e,t)=>(0,d.jsx)("li",{className:m()({"nav-subitem__main":!0,"d-block d-sm-none":t<2&&n?.length>2,"d-block d-md-none":t>=2&&t<n?.length-2}),onClick:()=>{e?.children?.length&&i(e,"more")},children:e.url&&!e?.children?.length?(0,d.jsx)(u.De,{href:e.url,children:e.label}):(0,d.jsxs)("span",{children:[e.label," ",e.children?.length&&(0,d.jsx)("i",{className:"fa fa-caret-right"})]})},`${e.id}-${t}`))}),(0,d.jsxs)("div",{className:"col-lg-6 ps-5 pe-4 border-left d-block d-lg-none",children:[t?.stories?.length?(0,d.jsx)("div",{className:"row m-0",children:t?.stories?.length&&t.stories.map(e=>(0,d.jsxs)("div",{className:"subnav-story col-12 col-md-6 p-0",children:[(0,d.jsx)("div",{className:"subnav-story-image d-none d-lg-block",children:(0,d.jsx)(u.De,{href:e.url,children:(0,d.jsx)(x.A,A({},e.leadImageParams))})}),(0,d.jsx)("div",{className:"subnav-story-badge",children:(0,d.jsx)(u.De,{href:e.primarySection?.url,children:(0,d.jsx)("span",{children:e.primarySection?.name})})}),(0,d.jsx)("div",{className:"subnav-story-title",children:(0,d.jsx)(u.De,{href:e.url,children:(0,d.jsx)("h4",{children:e.headline})})}),(0,d.jsx)("div",{className:"subnav-story-author",children:(0,d.jsx)(u.De,{href:e.author?.url,children:(0,d.jsxs)("p",{children:["By ",e.author?.fullName]})})})]},e.id))}):null,(0,d.jsx)(V,{newsletter:t.newsletter})]})]})},M=({parent:e})=>(0,d.jsx)("div",{className:"subnav-list-default container",children:(0,d.jsxs)("div",{className:"row",children:[(0,d.jsxs)("div",{className:"col-sm-12 col-lg-6 d-flex flex-column justify-content-between pe-5 ps-4 ps-lg-0",children:[(0,d.jsx)("div",{className:"row",children:$(e.children,3).map((t,n)=>(0===n&&t.unshift({id:e.id,url:e.url,label:`All ${e.label}`}),(0,d.jsx)("ul",{className:"col",children:t.map((e,t)=>(0,d.jsx)("li",{className:m()({"d-block d-xl-none":0===n&&0===t}),children:(0,d.jsx)(u.De,{href:e.url,children:e?.label})},e.id))},n)))}),(0,d.jsx)(F,{newsletter:e.newsletter})]}),(0,d.jsxs)("div",{className:"col-sm-12 col-lg-6 ps-5 border-left",children:[e?.stories?.length?(0,d.jsx)("div",{className:"row",children:e?.stories.map(e=>(0,d.jsxs)("div",{className:"subnav-story col-12 col-md-6",children:[(0,d.jsx)("div",{className:"subnav-story-image d-none d-lg-block",children:(0,d.jsx)(u.De,{href:e.url,children:(0,d.jsx)(x.A,A({},e.leadImageParams))})}),(0,d.jsx)("div",{className:"subnav-story-badge",children:(0,d.jsx)(u.De,{href:e.primarySection?.url,children:(0,d.jsx)("span",{children:e.primarySection?.name})})}),(0,d.jsx)("div",{className:"subnav-story-title",children:(0,d.jsx)(u.De,{href:e.url,children:(0,d.jsx)("h4",{children:e.headline})})}),(0,d.jsx)("div",{className:"subnav-story-author",children:(0,d.jsx)(u.De,{href:e.author?.url,children:(0,d.jsxs)("p",{children:["By ",e.author?.fullName]})})})]},e.id))}):null,(0,d.jsx)(V,{newsletter:e.newsletter})]})]})}),$=(e,t)=>{let n=[];for(let r=0;r<e.length;r+=t){const i=e.slice(r,r+t);n.push(i)}return n},F=({newsletter:e})=>(0,d.jsx)("div",{className:"subnav-newsletter desktop d-none d-lg-block me-md-2",children:e&&(0,d.jsx)("div",{className:"d-flex py-4 px-2 justify-content-between",children:(0,d.jsx)("a",{href:"https://pages.deseret.com/newsletters",children:(0,d.jsxs)("div",{className:"d-flex",children:[(0,d.jsx)("div",{className:"subnav-newsletter-image-wrapper",children:(0,d.jsx)("div",{className:"d-flex justify-content-center subnav-newsletter-image-circle",children:(0,d.jsx)("div",{className:"subnav-newsletter-image-cropper",children:(0,d.jsx)("img",{src:e.image,alt:`${e.label} Newsletter`})})})}),(0,d.jsxs)("div",{className:"subnav-newsletter-details align-self-center ps-4",children:[(0,d.jsxs)("h4",{children:[e.label," Newsletter"]}),(0,d.jsx)("p",{children:e.global_description})]})]})})})}),V=({newsletter:e})=>(0,d.jsx)("div",{className:"subnav-newsletter mobile d-block d-lg-none",children:e&&(0,d.jsx)("div",{className:"d-flex py-3 px-2 justify-content-between",children:(0,d.jsx)("a",{href:"https://pages.deseret.com/newsletters",children:(0,d.jsxs)("div",{className:"d-flex",children:[(0,d.jsx)("div",{className:"subnav-newsletter-image-wrapper",children:(0,d.jsx)("div",{className:"d-flex justify-content-center subnav-newsletter-image-circle",children:(0,d.jsx)("div",{className:"subnav-newsletter-image-cropper",children:(0,d.jsx)("img",{src:e.image,alt:`${e.label} Newsletter`})})})}),(0,d.jsxs)("div",{className:"subnav-newsletter-details align-self-center ps-4",children:[(0,d.jsxs)("h4",{children:[e.label," Newsletter"]}),(0,d.jsx)("p",{children:e.global_description})]})]})})})});var z=n(35616);
2const B={"/utah":{image:"https://uploads.deseret.com/cdn-cgi/image/width=80,height=80,fit=cover,gravity=0.55x0.34/deseretnews/newsletters/21888b79af10b6c0/Screen_Shot_2022-05-23_at_3.27.16_PM.png",label:"Utah Today",global_description:"Get all the news that's happening in the Beehive State in one place, as well as major national and world news that you value."},"/sports":{image:"https://uploads.deseret.com/cdn-cgi/image/width=80,height=80,fit=cover,gravity=0.78x0.45/deseretnews/newsletters/ef501aaff1298e00/a-football.jpeg",label:"Sports Edition",global_description:"We share your excitement for the game! Get daily updates on our best coverage of your favorite teams."}},H={"/utah":{contentService:"content-api-collections",contentConfigValues:{content_alias:"dn-utah"}},"/sports":{contentService:"content-api-collections",contentConfigValues:{content_alias:"dn-sports"}}};function U(e){const{arcSite:t}=(0,i.useFusionContext)(),n=(0,c.useContent)({source:e.navigation?.contentService,query:e.navigation?.contentConfigValues})?.children||[],r=(0,c.useContent)({source:e.more?.contentService,query:e.more?.contentConfigValues})?.children||[],o=n.map((e,n)=>{let r=[];const i=H[e._id];return i&&(r=(0,c.useContent)({source:i?.contentService,query:i?.contentConfigValues,filter:`{\n content_elements {\n _id\n additional_properties {\n promoHeadline\n }\n headlines {\n basic\n }\n canonical_url\n label {\n search {\n text\n }\n }\n taxonomy {\n primary_section {\n _id\n name\n path\n }\n }\n credits {\n by {\n type\n name\n url\n org\n additional_properties {\n original {\n byline\n }\n }\n }\n }\n display_date\n ${(0,z.G)()}\n websites {\n ${t} {\n website_url\n }\n }\n }\n }`})?.content_elements?.slice(0,2)?.map((e,t)=>{const r=e?.canonical_url,i=(0,z.CP)(e),o=e?.additional_properties?.promoHeadline??e?.headlines?.basic??"",a=e?.credits?.by?.[0]?.name,s=e?.credits?.by?.[0]?.url,l=e?.taxonomy?.primary_section?.name,c=e?.taxonomy?.primary_section?._id;return{id:`nav${n}-story${t}`,url:r,leadImageParams:{ansImage:i,aspectRatio:"3:2",responsiveImages:[274,548,1096],width:274,resizedOptions:{},loading:"eager"},headline:o,primarySection:{name:l,url:c},author:{fullName:a,url:s}}})||[]),{id:`nav${n}`,label:e?.navigation?.nav_title||e?.name||e?.display_name,url:"section"===e?.node_type?e?._id:e?.url,newsletter:B[e._id],children:e?.children?.map((e,t)=>({id:`nav${n}-child${t}`,label:e?.navigation?.nav_title||e.name||e.display_name,url:"section"===e?.node_type?e?._id:e?.url})),stories:r}}),a={id:"more",label:"More",url:"",children:[...o.slice(2,o.length),...r.map((e,t)=>({id:`more${t}`,label:e?.navigation?.nav_title||e?.name||e?.display_name,url:"section"===e?.node_type?e?._id:e?.url}))]},s={label:e?.promo?.promoLabel,url:e?.promo?.promoUrl},l=[{id:"social0",icon:"x-twitter",url:e?.social?.twitterLink},{id:"social1",icon:"facebook-f",url:e?.social?.facebookLink}];return(0,d.jsx)(L,{promo:s,navItems:o,moreItem:a,social:l})}var q=n(72492);const Z=e=>{const{navigation:t,twitterLink:n,facebookLink:o,more:s,supernavLeft:l,supernavRight:c,supernavLeftMobile:u,supernavRightMobile:h,mastheadSize:m,promoLabel:g,promoUrl:b,backgroundImageId:y,backgroundImageAuth:v,backgroundImageType:_,backgroundImageUrl:x,overlayHexCode:j,colorTheme:O,logo:S,spotlightURL:k,spotlightText:C}=e.customFields,P=(0,i.useFusionContext)(),{arcSite:T,metaValue:E,deployment:N}=P,A=a()?.(T),I={twitterLink:n,facebookLink:o},L=e=>N(`/pf/resources/deseretnews/assets/images/pb/${e}`),D="homepage"===E("page-type")&&S.includes("175")?L("desktop_logo_black_175_years.png"):L("desktop_logo.svg"),{mastheadLogo:R,mastheadLogoAlt:M}=(0,r.useMemo)(()=>{switch(S){case"All Black":return{mastheadLogo:L("desktop_logo_all_black.svg"),mastheadLogoAlt:"Deseret News Logo All Black"};case"All White":return{mastheadLogo:L("desktop_logo_all_white.svg"),mastheadLogoAlt:"Deseret News Logo All White"};case"Black & Yellow":return{mastheadLogo:L("desktop_logo_black_and_yellow.svg"),mastheadLogoAlt:"Deseret News Logo Black & Yellow"};case"Black & White":return{mastheadLogo:L("desktop_logo_black_and_white.svg"),mastheadLogoAlt:"Deseret News Logo Black & White"};case"White & Black":return{mastheadLogo:L("desktop_logo_white_and_black.svg"),mastheadLogoAlt:"Deseret News Logo White & Black"};case"White & Yellow":return{mastheadLogo:L("desktop_logo_white_and_yellow.svg"),mastheadLogoAlt:"Deseret News Logo White & Yellow"};case"Black & Yellow (175 years)":return{mastheadLogo:L("desktop_logo_black_and_yellow_175_years.png"),mastheadLogoAlt:"Deseret News Logo Black & Yellow (175 years)"};case"Black (175 years)":return{mastheadLogo:L("desktop_logo_black_175_years.png"),mastheadLogoAlt:"Deseret News Logo Black (175 years)"};case"Black & White (175 years)":return{mastheadLogo:L("desktop_logo_black_and_white_175_years.png"),mastheadLogoAlt:"Deseret News Logo Black & White (175 years)"};case"White (175 years)":return{mastheadLogo:L("desktop_logo_white_175_years.png"),mastheadLogoAlt:"Deseret News Logo White (175 years)"};case"White & Yellow (175 years)":return{mastheadLogo:L("desktop_logo_white_and_yellow_175_years.png"),mastheadLogoAlt:"Deseret News Logo White & Yellow (175 years)"};case"Black & Yellow (175 years outlined)":return{mastheadLogo:L("desktop_logo_black_and_yellow_175_years_outlined.png"),mastheadLogoAlt:"Deseret News Logo Black & Yellow (175 years outlined)"};case"Black & White (175 years; white dot)":return{mastheadLogo:L("desktop_logo_black_and_white_175_years_white_dot.png"),mastheadLogoAlt:"Deseret News Logo Black & White (175 years; white dot)"};default:return{mastheadLogo:L("desktop_logo.svg"),mastheadLogoAlt:"Deseret News Logo"}}},[S,A]);return(0,d.jsxs)(r.Fragment,{children:[(0,d.jsxs)("div",{id:"deseret-header",className:"d-block",children:["Large"===m||"Compact"===m?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"d-none d-md-block",children:(0,d.jsx)(w,{backgroundImageId:y,backgroundImageAuth:v,backgroundImageType:_,backgroundImageUrl:x,overlayHexCode:j,isLightMode:"White"===O,isCompact:"Compact"===m,mastheadLogo:R,mastheadLogoAlt:M,spotlightURL:k,spotlightText:C,baseUrl:A?.websiteDomain,supernavLeft:l,supernavRight:c,supernavLeftMobile:u,supernavRightMobile:h})}),(0,d.jsxs)("div",{className:"d-block d-md-none",children:[(0,d.jsx)(p,{supernavLeft:l,supernavRight:c,supernavLeftMobile:u,supernavRightMobile:h}),(0,d.jsx)(f,{primaryLogo:D,primaryLogoAlt:A?.desktop_logo_alt})]})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(p,{supernavLeft:l,supernavRight:c,supernavLeftMobile:u,supernavRightMobile:h}),(0,d.jsx)(f,{primaryLogo:L("primaryLogo.svg"),primaryLogoAlt:"Deseret News Logo"})]}),(0,d.jsx)(U,{promo:{promoLabel:g,promoUrl:b},navigation:t,more:s,social:I})]}),(0,d.jsx)(q.A,{})]})};Z.label="DN - Header",Z.propTypes={customFields:l().shape({supernavLeft:l().contentConfig().tag({label:"Left",group:"Supernav",defaultValue:{contentService:"site-service-hierarchy",contentConfigValues:{hierarchy:"supernav-left"}}}),supernavLeftMobile:l().contentConfig().tag({label:"Left (mobile)",group:"Supernav",defaultValue:{contentService:"site-service-hierarchy",contentConfigValues:{hierarchy:"supernav-left-mobile"}}
2}),supernavRight:l().contentConfig().tag({label:"Right",group:"Supernav",defaultValue:{contentService:"site-service-hierarchy",contentConfigValues:{hierarchy:"supernav-right"}}}),supernavRightMobile:l().contentConfig().tag({label:"Right (mobile)",group:"Supernav",defaultValue:{contentService:"site-service-hierarchy",contentConfigValues:{hierarchy:"supernav-right-mobile"}}}),backgroundImageId:l().disabled.tag({label:"Header Image ID",group:"Masthead",description:'To change, hover over the header and click the "Replace image" button.'}),backgroundImageAuth:l().string.tag({label:"Header Image AUTH",group:"Masthead",hidden:!0}),backgroundImageType:l().string.tag({label:"Header Image Type",group:"Masthead",hidden:!0}),backgroundImageUrl:l().string.tag({label:"Header Image URL",group:"Masthead",hidden:!0}),mastheadSize:l().oneOf(["Large","Compact","Minimal"]).tag({label:"Masthead Size",defaultValue:"Large",group:"Masthead",ordered:!1,description:"Supernav only on Minimal"}),overlayHexCode:l().string.tag({label:"Overlay HEX Code",group:"Masthead",defaultValue:"#00000000",description:"Only on Large & Compact"}),colorTheme:l().oneOf(["Black","White"]).tag({defaultValue:"White",label:"Text Color",group:"Masthead",ordered:!1,description:"Only on Large & Compact"}),logo:l().oneOf(["All Black","All White","Black & Yellow","Black & White","White & Black","White & Yellow","Black & Yellow (175 years)","Black (175 years)","Black & White (175 years)","White (175 years)","White & Yellow (175 years)","Black & Yellow (175 years outlined)","Black & White (175 years; white dot)"]).tag({defaultValue:"All White",label:"Logo",group:"Masthead",ordered:!1,description:"Only on Large & Compact"}),spotlightText:l().string.tag({label:"Spotlight Text",group:"Masthead",description:"Only on Large"}),spotlightURL:l().string.tag({label:"Spotlight URL",group:"Masthead",description:"Only on Large"}),promoLabel:l().string.tag({label:"Promo Label",defaultValue:"Newsletter Sign Up",group:"Navigation"}),promoUrl:l().string.tag({label:"Promo URL",defaultValue:"https://pages.deseret.com/newsletters",group:"Navigation"}),twitterLink:l().string.tag({label:"Twitter Link",defaultValue:"https://twitter.com/deseretnews",group:"Navigation"}),facebookLink:l().string.tag({label:"Facebook Link",defaultValue:"https://www.facebook.com/deseretnews/",group:"Navigation"}),navigation:l().contentConfig().tag({label:"Navigation",group:"Navigation",defaultValue:{contentService:"site-service-hierarchy",contentConfigValues:{hierarchy:"dn-navigation"}}}),more:l().contentConfig().tag({label:"More",group:"Navigation",defaultValue:{contentService:"site-service-hierarchy",contentConfigValues:{hierarchy:"dn-navigation-more"}}})})};var G=Z},65809:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(74848);const o=()=>{const{globalContent:e}=(0,r.useFusionContext)();return e?.headlines?.basic?(0,i.jsx)("h1",{className:"article-headline",dangerouslySetInnerHTML:{__html:e?.headlines?.basic}}):null};o.label="DN - Headline",o.icon="arc-headline",t.default=o},53907:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(57483),a=n(14375),s=n(4321),l=n(28408),c=n(35616),u=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h=e=>{const{arcSite:t}=(0,s.useFusionContext)(),{customFields:{title:n,titleLink:r,showByline:i=!0,showCommentCount:d,listContentConfig:{contentService:f="",contentConfigValues:h={}}={contentService:"content-api-collections",contentConfigValues:{content_alias:"dn-homepage-utah-breaker"}}}={}}=e,{content_elements:m=[]}=(0,a.useContent)({source:f,query:p(p({},h),{},{query:"type:story"}),filter:`{\n description\n content_elements {\n _id\n additional_properties {\n heroVideoSettings {\n autoplay\n hideAudioControl
2s\n hideVideoControls\n }\n promoHeadline\n promoDescription {\n plaintext\n }\n }\n headlines {\n basic\n }\n canonical_url\n label {\n search {\n text\n }\n eyebrows_override {\n text\n }\n }\n taxonomy {\n primary_section {\n _id\n name\n path\n }\n }\n credits {\n by {\n type\n name\n url\n org\n additional_properties {\n original {\n byline\n }\n }\n }\n }\n description {\n basic\n }\n display_date\n ${(0,c.G)()}\n websites {\n ${t} {\n website_url\n }\n }\n }\n }`})||{};return(0,u.jsxs)("div",{className:"five-story-breaker",children:[n&&r&&(0,u.jsx)("div",{className:"row",children:(0,u.jsx)("div",{className:"col-12",children:(0,u.jsx)("h2",{className:"five-story-breaker__title",children:(0,u.jsx)("a",{className:"five-story-breaker__link",href:(0,l.J1)(r),children:n})})})}),(0,u.jsxs)("div",{className:"five-story-breaker__promos row",children:[(0,u.jsx)("div",{className:"col-md-8 col-12",children:(0,u.jsx)(o.A,{story:m[0],type:"featured",showByline:i,showCommentCount:d})}),(0,u.jsxs)("div",{className:"col-md-4 col-12",children:[(0,u.jsx)(o.A,{story:m[1],type:"minimal",showByline:i,showCommentCount:d}),(0,u.jsx)(o.A,{story:m[2],type:"minimal",showByline:i,showCommentCount:d}),(0,u.jsx)(o.A,{story:m[3],type:"minimal",showByline:i,showCommentCount:d}),(0,u.jsx)(o.A,{story:m[4],type:"minimal",showByline:i,showCommentCount:d})]})]})]})};h.label="DN - Homepage 5 Story Breaker",h.icon="picture-landscape",h.propTypes={customFields:i().shape({listContentConfig:i().contentConfig("ans-feed").tag({group:"Configure Content",label:"Display Content Info"}),title:i().string.tag({label:"Title"}),titleLink:i().string.tag({label:"Title Link"}),showByline:i().bool.tag({label:"Byline",defaultValue:!0,group:"Promo Elements"}),showCommentCount:i().bool.tag({label:"Comment Count",defaultValue:!1,group:"Promo Elements"})})},t.default=h},18327:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(19674),o=n.n(i),a=n(58670),s=n(41878),l=n(74848);const c=e=>{const{customFields:{className:t,dataUnitOverride:n,dataTargeting:i,dataSticky:o,hideForReducedAds:c}}=e,[u,d]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{const e=(0,s.s5)();e?.reducedAds&&d(!1)},[]),c&&!u?null:t&&(0,l.jsx)(a.A,{className:t,dataUnitOverride:n,dataTargeting:i,dataSticky:o})};c.label="DN - HTLAd Div",c.icon="arc-ads",c.propTypes={customFields:o().shape({className:o().string.tag({label:"HTLAd Div Class Name"}).isRequired,dataUnitOverride:o().string.tag({label:"HTLAd Div Data Unit Override"}),dataTargeting:o().string.tag({label:"HTLAd Div Data Targeting"}),dataSticky:o().boolean.tag({label:"HTLAd Div is Sticky?"}),hideForReducedAds:o().boolean.tag({label:"Hide Ad for Reduced Ads Users?"})})},t.default=c},42837:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return j}});var r=n(40809),i=n(19674),o=n.n(i),a=n(4321),s=n(84129),l=n(14375);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?c(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p={content_elements:[]},f=(e=p,t)=>{const{type:n,data:r}=t;if(!r)return e;const i=e?.content_elements?.map(e=>e?._id),o=r?.content_elements?.filter(e=>!i?.includes(e?._id));if("appendUnique"===n){let t=[];return e?.content_elements?.length&&(t=e.content_elements),o?.length&&(t=[...t,...o]),u(u(u({},e),r),{},{content_elements:t})}return e};var h=n(57483),m=n(58670),g=n(35616),b=n(74848);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach(function(t){w(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function w(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=({includeSections:e,excludeSections:t,excludedSectionsList:n,authorSlug:i,arcSite:o,configuredOffset:a,configuredSize:s,sortFn:c,collectionAlias:u,insertAdEvery:d,insertBrandViewAdEvery:p,showCommentCount:y,showLoadMore:w=!0})=>{const[_,x]=(0,r.useState)(a),j=(0,r.useRef)(null),O=s||30,S=(0,r.useCallback)(n=>{let r={feedOffset:n||0,feedSize:O};return e&&(r.includeSections=e),t&&(r.excludeSections=t),i&&(r.authorSlug=i),r},[O,e,t,i]),k=(0,r.useCallback)(e=>({collection_alias:u,from:e||0,size:O,getNext:"true",excludeSections:n}),[O,u,n]);let C="",P={};u?(C="collections-for-lists",P=v({feature:"results-list"},k(_))):(C="latest-stories",P=v({feature:"results-list"},S(_)));const T=(0,l.useContent)({source:C,query:P,filter:`{\n\t\t\tcount\n\t\t\tnext\n\t\t\tcontent_elements {\n\t\t\t\t_id\n\t\t\t\ttype\n\t\t\t\tsubtype\n\t\t\t\tadditional_properties {\n\t\t\t\t\tpromoDescription {\n\t\t\t\t\t\tplaintext\n\t\t\t\t\t}\n\t\t\t\t\tpromoHeadline\n\t\t\t\t}\n\t\t\t\theadlines {\n\t\t\t\t\tbasic\n\t\t\t\t}\n\t\t\t\tsubheadline {\n\t\t\t\t\tbasic\n\t\t\t\t}\n\t\t\t\twebsite_url\n\t\t\t\tlabel {\n\t\t\t\t\teyebrows_override {\n\t\t\t\t\t\ttext\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tdescription {\n\t\t\t\t\tbasic\n\t\t\t\t}\n\t\t\t\tcredits {\n\t\t\t\t\tby {\n\t\t\t\t\t\tadditional_properties {\n\t\t\t\t\t\t\toriginal {\n\t\t\t\t\t\t\t\tbyline\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\torg\n\t\t\t\t\t\tname\n\t\t\t\t\t\turl\n\t\t\t\t\t\ttype\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tdisplay_date\n\t\t\t\ttaxonomy {\n\t\t\t\t\tprimary_section {\n\t\t\t\t\t\t_id\n\t\t\t\t\t\tname\n\t\t\t\t\t\tpath\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t${(0,g.G)()}\n\t\t\t\twebsites {\n\t\t\t\t\t${o} {\n\t\t\t\t\t\twebsite_url\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}`}),E=(0,r.useCallback)((e,t,n)=>"function"==typeof c&&Array.isArray(e?.content_elements)?(e.content_elements=c(e.content_elements,t,n),e):e,[c]),[N,A]=(0,r.useReducer)(f,E(T,_,O)),[I,L]=(0,r.useState)(!1);(0,r.useEffect)(()=>{j.current&&(L(!1),j.current.classList.remove("loading"),window.CoralCount&&setTimeout(()=>{window.CoralCount.reload(),document.querySelectorAll(".dn-promo__comment-count").forEach(e
2=>e.hidden=!1)},0)),T&&A({type:"appendUnique",data:E(T,_,O)})},[T]);const D=(0,r.useCallback)(()=>{j.current&&(L(!0),j.current.classList.add("loading")),x(e=>e+O)},[O,x]),R=N?.content_elements?.slice(0,_+O-a),M=parseInt(d,10),$=parseInt(p,10),F=T?.next;return R?.length>0&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"section-river__promos",children:R.map((e,t)=>{const n=t+1,r=(e?.label?.eyebrows_override?.text||"").split(",").map(e=>e.trim()).filter(e=>e.length).some(e=>"live"===e.toLowerCase());return M>0&&n%M===0?(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"dn-htl-ads",children:[(0,b.jsx)(m.A,{className:"htlad-hub_river_leaderboard",hideForReducedAds:!0}),(0,b.jsx)(m.A,{className:"htlad-hub_river_med_rec",hideForReducedAds:!0})]}),(0,b.jsx)(h.A,{story:e,type:"list"+(i?"-compact":""),showEyebrow:r,showDescription:!1,showDate:!0,showCommentCount:y},`section-river-${e?._id}`)]},`htlad-section-river-${n}`):$>0&&n===$?(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"dn-htl-ads",children:(0,b.jsx)(m.A,{className:"htlad-native_river"})}),(0,b.jsx)(h.A,{story:e,type:"list"+(i?"-compact":""),showEyebrow:r,showDescription:!1,showDate:!0,showCommentCount:y},`section-river-${e?._id}`)]},`htlad-section-river-${n}`):(0,b.jsx)(h.A,{story:e,type:"list"+(i?"-compact":""),showEyebrow:r,showDescription:!1,showDate:!0,showCommentCount:y},`section-river-${e?._id}`)})}),F&&w&&(0,b.jsx)("div",{className:"section-river__pagination",children:(0,b.jsx)("button",{onClick:D,className:"btn btn-main load-more-button",ref:j,children:(0,b.jsx)("span",{className:"load-more-text",children:!I&&(0,b.jsx)(b.Fragment,{children:"Load More"})})})})]})};const x=({customFields:e})=>{const{arcSite:t,globalContent:n}=(0,a.useFusionContext)(),{numberOfStories:r,storySorting:i="collection",title:o,titleLink:l,insertAdEvery:c,insertBrandViewAdEvery:u,collectionAlias:d,showCommentCount:p,from:f,showLoadMore:h,excludedSections:m}=e,g=f||0,y=parseInt(r,10)||30,v=(m||[]).join(",");let w,x=null,j=null,O=null;return"section"==n?.node_type?n?._admin?.alias_ids?.includes("/all-sections")?(j="/all-sections",O=v):j=n?._id:n?.authors&&n?.authors[0]?.slug?x=n?.authors[0]?.slug:(j="/all-sections",O=v),["displayDate"].includes(i)&&(w=(e,t,n)=>"displayDate"===i?e.sort((e,t)=>new Date(t.display_date)-new Date(e.display_date)):e),(0,b.jsxs)("div",{className:"section-river",children:[o&&(0,b.jsx)("div",{className:"section-river__heading row",children:(0,b.jsx)("div",{className:"col-12",children:(0,b.jsx)(s.A,{title:o,link:l,headingTag:"h2"})})}),(0,b.jsx)(_,{arcSite:t,configuredOffset:g,configuredSize:y,sortFn:w,includeSections:j,excludeSections:O,excludedSectionsList:v,authorSlug:x,collectionAlias:d,insertAdEvery:c,insertBrandViewAdEvery:u,showCommentCount:p,showLoadMore:h})]})};x.label="DN - Latest Stories Paginated",x.icon="arc-list",x.propTypes={customFields:o().shape({collectionAlias:o().string.tag({group:"Configure Content",label:"Collection Alias (Optional)"}),numberOfStories:o().number.tag({group:"Configure Content",label:"Number of Stories Per Page",defaultValue:30}),from:o().number.tag({label:"Offset",defaultValue:0,step:1,group:"Configure Content"}),showLoadMore:o().bool.tag({label:"Show Load More",defaultValue:!0,group:"Configure Content"}),excludedSections:o().list.tag({label:"Excluded Sections",description:"Section paths to exclude when showing all sections (e.g. /brandview). Add one item per section.",group:"Configure Content"}),storySorting:o().oneOf(["collection","displayDate"]).isRequired.tag({group:"Configure Content",label:"Story Sorting",labels:{collection:"By collection order",displayDate:"By display date"},defaultValue:"collection",ordered:!1}),title:o().string.tag({label:"Title (Optional)"}),titleLink:o().string.tag({label:"Title Link (Optional)"}),insertAdEvery:o().number.tag({group:"Ads",label:"Insert HTLAd every X stories",defaultValue:7}),insertBrandViewAdEvery:o().number.tag({group:"Ads",label:"Insert Brandview HTLAd at X position",defaultValue:3}),showCommentCount:o().bool.tag({label:"Comment Count",defaultValue:!1,group:"Promo Elements"})})};var j=x},57370:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(4321),o=n(87983),a=n.n(o),s=n(97398),l=n(51445),c=n(43993),u=n(19674),d=n.n(u),p=n(28346),f=n(37304),h=n(663),m=n(74848);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?g(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){if(!e)return;let t=e;"string"==typeof e&&(t=new Date(e));return t?.toLocaleString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,timeZone:"America/Denver",timeZoneName:"short"}).replace(/AM|PM/g,e=>"AM"===e?"a.m.":"p.m.")}const w=(0,r.memo)(({update:e,updateContent:t,hideByline:n,isNew:r,copyUpdateLink:i,localDateLocalization:o,arcSite:a,mediaCache:s,arc_environment:c,websiteDomain:u,galleryIndex:d,numNewUpdates:p})=>{const f=e.author_image?.includes("?auth=")?`${e.author_image}&width=80&height=80`:e.author_image,g=new Date-new Date(e.timestamp)>864e5;return(0,m.jsxs)("div",{id:e.id,className:"update mt-1",children:[(0,m.jsxs)("div",{className:"d-flex",children:[(0,m.jsx)("div",{className:"update__actions-wrapper",children:e.author_id?n||!f?(0,m.jsx)("div",{className:"update__dot-wrapper",children:(0,m.jsx)("div",{className:"dot"})}):(0,m.jsx)("a",{href:e.author_bio_page,children:(0,m.jsx)("div",{className:"update__author-image-wrapper",children:(0,m.jsx)("img",{src:f})})}):null}),(0,m.jsx)("div",{className:"update__byline-wrapper d-flex update__byline-wrapper ms-2",children:(0,m.jsxs)("div",{children:[n?null:(0,m.jsxs)("div",{className:"d-flex",children:[(0,m.jsx)("a",{href:e.author_bio_page,children:(0,m.jsx)("div",{className:"update__author-byline",children:e.author_byline})}),r&&(0,m.jsx)("div",{className:"new-tag align-self-center",children:"NEW"})]}),e.timestamp?(0,m.jsxs)("div",{className:"d-flex",children:[(0,m.jsxs)("span",{className:"update__timestamp-wrapper",children:[g?(0,m.jsx)("span",{role:"button",tabIndex:0,onClick:()=>i(e.id),onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||i(e.id)},className:"update__publish-date",children:(0,l.Y)(e.timestamp,o)}):(0,m.jsx)("span",{role:"button",tabIndex:0,onClick:()=>i(e.id),onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||i(e.id)},className:"update__timestamp",children:v(e.timestamp)}),(0,m.jsx)("span",{id:`tooltip-${e.id}`,className:"update__copied-tooltip",children:"Link copied"})]}),r&&n&&(0,m.jsx)("div",{className:"new-tag align-self-center",children:"NEW"})]}):null]})})]}),(0,m.jsxs)("div",{className:"d-flex mt-1",children:[e.featured_image||t||e.headline?(0,m.jsx)("div",{className:"update__vertical-rule"}):null,(0,m.jsxs)("div",{className:"update__post-wrapper ms-2 "+(e.timestamp?"mt-2":""),children:[e.headline?(0,m.jsx)("h2",{className:"update__headline",children:e.headline}):null,(0,m.jsx)(h.A,{featuredImage:e.featured_image,caption:e.featured_image_caption,credit:e.featured_image_credit,arcSite:a,mediaCache:s,arc_environment:c,websiteDomain:u,galleryIndex:d,mediaType:e.media_type,mediaId:e.media_id}),t?(0,m.jsx)("div",{className:"update__content",dangerouslySetInnerHTML:{__html:t}}):null]})]})]})},(e,t)=>e.update.id===t.update.id&&e.update.timestamp===t.update.timestamp&&e.update.headline===t.update.headline&&e.update.featured_image===t.update.featured_image&&e.update.author_id===t.update.author_id&&e.update.media_id===t.update.media_id&&e.hideByline===t.hideByline&&e.updateContent===t.updateContent),_=({customFields:{useFeatured:e=!1}={},payload:t})=>{const[n,o]=(0,r.useState)(null),[l,u]=(0,r.useState)(new Date),d=(0,r.useRef)(null),h=(0,r.useRef)(null),g=(0,r.useRef)(0),y=(0,r.useRef)(null),v=(0,r.useRef)({}),{globalContent:_,arcSite:x,requestUri:j}=(0,i.useFusionContext)(),{dateLocalization:O,websiteDomain:S}=a()(x),k=(0,r.useCallback)(e=>{const t=j||"",[n,r]=t.split("?"),i=new URLSearchParams(r||"");return i.set("update",e),`${n}?${i.toString()}`},[j]),C=(0,r.useCallback)(e=>{const t="localhost"===c.arc_environment||"dev"===c.arc_environment?`localhost${k(e)}`:`${S}${k(e)}`;navigator.clipboard.writeText(t).catch(()=>{});const n=document.querySelector(".update__copied-tooltip.visible");n&&n.classList.remove("visible"),clearTimeout(h.current);const r=document.getElementById(`tooltip-${e}`);r&&(r.classList.add("visible"),h.current=setTimeout(()=>r.classList.remove("visible"),2e3))},[S,k]),P=b(b({},O),{},{dateTimeFormat:"D MMMM YYYY, hh:mm A z"}),T=t?.id||_?._id,E=t?.showTitle??!0,N=(0,r.useMemo)(()=>e?"localhost"===c.arc_environment||"dev"===c.arc_environment?"https://uploads.deseret.com/files/dev/deseret-news/live-updates/feeds/featured.json":S.includes("sandbox")?"https://uploads.deseret.com/files/stage/deseret-news/live-updates/feeds/featured.json":"https://uploads.deseret.com/files/deseret-news/live-updates/feeds/featured.json":"localhost"===c.arc_environment||"dev"===c.arc_environment?`https://uploads.deseret.com/files/dev/deseret-news/live-updates/feeds/${T}.json`:S.includes("sandbox")?`https://uploads.deseret.com/files/stage/deseret-news/live-updates/feeds/${T}.json`:`https://uploads.deseret.com/files/deseret-news/live-updates/feeds/${T}.json`,[e,c.arc_environment,S,T]),A=async()=>{const e=await fetch(N);if(!e.ok)return clearInterval(y.current),null;const t=await e.json();"ACTIVE"!==t?.status&&clearInterval(y.current),o(t)};(0,r.useEffect)(()=>(A(),y.current=setInterval(A,1e4),()=>clearInterval(y.current)),[N]),(0,r.useEffect)(()=>
2{if(!n)return;const e=new URLSearchParams(window.location.search).get("update");e&&requestAnimationFrame(()=>{const t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"start"})})},[!!n]),(0,r.useEffect)(()=>{if(window){if(document.getElementById("instagramScript"))window?.instgrm?.Embeds?.process();else{const e=document.createElement("script");e.src="https://www.instagram.com/embed.js",e.id="instagramScript",document.body.append(e),setTimeout(()=>window?.instgrm?.Embeds?.process(),100)}if(document.getElementById("facebookScript"))window?.FB?.XFBML?.parse();else{const e=document.createElement("script");e.src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v21.0",e.id="facebookScript",e.async=!0,e.crossOrigin="anonymous",document.body.insertBefore(e,document.body.firstChild)}if(document.getElementById("xScript"))window?.twttr?.widgets?.load();else{const e=document.createElement("script");e.src="https://platform.twitter.com/widgets.js",e.id="xScript",document.body.append(e)}}},[l]);const I=()=>{d.current&&!function(e){const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}(d.current)&&d.current.scrollIntoView(!0),setTimeout(()=>{u(new Date)},1e3),g.current=L},L=n?.updates?.filter(e=>new Date(e.created_at)>l).length;let D=null;return(0,m.jsxs)("div",{className:"live-updates",children:[(0,m.jsx)("div",{className:"d-flex text-center",children:"ACTIVE"===n?.status?(0,m.jsx)(m.Fragment,{children:n?.last_updated_at?(0,m.jsx)("div",{className:"last-updated-at-timestamp",children:(0,m.jsxs)("time",{dateTime:new Date(n?.last_updated_at).toISOString(),className:"date-published date-published--iso",children:["Updated ",(0,s.A)(new Date(n?.last_updated_at))]})}):null}):null}),E&&(0,m.jsx)("h3",{className:"live-updates__feed-title mt-2",ref:d,children:n?.title}),L?(0,m.jsxs)("div",{className:"live-updates__toast-prompt",role:"button",tabIndex:0,onClick:I,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||I()},children:[L," ",L>1?"New Updates":"New Update",(0,m.jsx)("i",{className:"fa fa-circle-up ms-1"})]}):(0,m.jsx)("div",{className:"live-updates__toast-placeholder"}),n?(0,m.jsxs)("div",{className:"live-updates-feed",children:[n.updates?.toSorted((e,t)=>{const n=e.order-t.order;return 0===n?new Date(t.timestamp)-new Date(e.timestamp):n}).filter(e=>new Date(e.created_at)<l)?.map((e,t)=>{let n=!1;return D===e.author_id?n=!0:D=e.author_id,(0,m.jsx)(w,{update:e,updateContent:(0,p.A)(e.content),hideByline:n,isNew:t<g.current,copyUpdateLink:C,localDateLocalization:P,arcSite:x,mediaCache:v,arc_environment:c.arc_environment,websiteDomain:S,galleryIndex:t},e.id)}),(0,m.jsx)(f.A,{feed:n,storyId:_?._id})]}):null]})};_.label="DN - Live Updates",_.icon="paragraph-bullets",_.propTypes={customFields:d().shape({useFeatured:d().bool.tag({label:"Use Featured Live Update",defaultValue:!1})})},t.default=_},52720:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(28408),o=n(74848);const a=()=>{const{deployment:e}=(0,r.useFusionContext)();return(0,o.jsx)("div",{className:"logo-bar",children:(0,o.jsx)("div",{className:"logo-wrapper px-3 py-3",children:(0,o.jsx)("a",{href:(0,i.J1)("/"),children:(0,o.jsx)("img",{src:e("/pf/resources/deseretnews/assets/images/pb/primaryLogo.svg"),className:"dn-logo",alt:"Deseret News Logo"})})})})};a.label="DN - Logo Bar",t.default=a},47053:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19894),i=n.n(r),o=n(14375),a=n(87983),s=n.n(a),l=n(4321),c=n(25067),u=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h=e=>{const{coverImageId:t,coverImageAuth:n,coverImageUrl:r,coverLabel:i,coverLink:a}=e.customFields,{searchableField:d}=(0,o.useEditableContent)(),f=(0,l.useFusionContext)(),{arcSite:h}=f,m=s()?.(h);return(0,u.jsx)("div",{className:"dn-magazine-cover",children:(0,u.jsx)("a",{href:a,children:(0,u.jsxs)("div",{className:"dn-magazine-cover--magazine-promo",children:[(0,u.jsx)("div",{className:"dn-magazine-cover--magazine-promo-image",children:(0,u.jsx)("img",p({src:(0,c.Lt)(m?.websiteDomain,t,n,r,326),alt:i,width:326,height:420},d({coverImageId:"_id",coverImageAuth:"auth.1",coverImageUrl:"url"})))}),(0,u.jsx)("div",{className:"dn-magazine-cover--magazine-promo-date",children:i})]})})})};h.label="DN - Magazine Cover",h.icon="book-open",h.propTypes={customFields:i().shape({coverImageId:i().disabled.tag({label:"Cover Image ID",group:"Cover Settings",description:'To change, hover over the cover and click the "Replace image" button.'}).isRequired,coverImageAuth:i().string.tag({label:"Cover Image AUTH",group:"Cover Settings",hidden:!0}),coverImageUrl:i().string.tag({label:"Cover Image URL",group:"Cover Settings",hidden:!0}),coverLabel:i().string.tag({label:"Cover Label",group:"Cover Settings"}).isRequired,coverLink:i().string.tag({label:"Cover Link",group:"Cover Settings"}).isRequired})},t.default=h},17420:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(14375),o=n(87983),a=n.n(o),s=n(19894),l=n.n(s),c=n(25067),u=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?d(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h=e=>{const{backgroundImageId:t,backgroundImageAuth:n,backgroundImageUrl:o,overlayHexCode:s,logoImageId:l,logoImageAuth:d,logoImageUrl:f,coverImageId:h,coverImageAuth:m,coverImageUrl:g,heading:b,subheading:y,buttonText:v,buttonUrl:w}=e.customFields,_=(0,r.useFusionContext)(),{arcSite:x}=_,j=a()?.(x),{searchableField:O}=(0,i.useEditableContent)();return(0,u.jsxs)("div",p(p({className:"magazine-page-banner"},O({backgroundImageId:"_id",backgroundImageAuth:"auth.1",backgroundImageUrl:"url"})),{},{children:[(0,u.jsxs)("div",{className:"mpb-header",style:{backgroundImage:`url("${(0,c.Lt)(j?.websiteDomain,t,n,o,2e3)}")`},children:[(0,u.jsx)("div",{className:"mpb-overlay",style:{backgroundColor:s}}),(0,u.jsx)("div",{className:"mpb-header-content",children:(0,u.jsx)("div",{className:"mpb-logo",children:(0,u.jsx)("img",p(p({src:(0,c.Lt)(j?.websiteDomain,l,d,f,580)},O({logoImageId:"_id",logoImageAuth:"auth.1",logoImageUrl:"url"})),{},{alt:"Deseret Magazine"}))})})]}),(0,u.jsxs)("div",{className:"mpb-cta",children:[(0,u.jsx)("div",p(p({className:"mpb-cover"},O({coverImageId:"_id",coverImageAuth:"auth.1",coverImageUrl:"url"})),{},{children:(0,u.jsx)("img",{src:(0,c.Lt)(j?.websiteDomain,h,m,g),alt:"Deseret Magazine Latest Cover"})})),(0,u.jsxs)("div",{className:"mpb-cta-content",children:[(0,u.jsxs)("div",{className:"mpb-headings",children:[(0,u.jsx)("h3",{children:b}),(0,u.jsx)("p",{children:y})]}),(0,u.jsx)("a",{href:w,target:"_blank",children:v})]})]})]}))};h.label="DN - Magazine - Page Banner",h.propTypes={customFields:l().shape({backgroundImageId:l().disabled.tag({label:"Background Image ID",group:"Background",description:'To change, hover over the background and click the "Replace image" button.'}),backgroundImageAuth:l().string.tag({label:"Background Image AUTH",group:"Background",hidden:!0}),backgroundImageUrl:l().string.tag({label:"Background Image URL",group:"Background",hidden:!0}),overlayHexCode:l().string.tag({label:"Overlay HEX Code",group:"Background",defaultValue:"#00000000"}),logoImageId:l().disabled.tag({label:"Logo Image ID",group:"Logo",description:'To change, hover over the logo and click the "Replace image" button.'}),logoImageAuth:l().string.tag({label:"Logo Image AUTH",group:"Logo",hidden:!0}),logoImageUrl:l().string.tag({label:"Logo Image URL",group:"Logo",hidden:!0}),coverImageId:l().disabled.tag({label:"Magazine Cover Image ID",group:"CTA",description:'To change, hover over the cover and click the "Replace image" button.'}),coverImageAuth:l().string.tag({label:"Magazine Cover Image AUTH",group:"CTA",hidden:!0}),coverImageUrl:l().string.tag({label:"Magazine Cover Image URL",group:"CTA",hidden:!0}),heading:l().string.tag({label:"Heading",group:"CTA",defaultValue:"Latest Issue: [Month] / [Month] [Year]"}),subheading:l().string.tag({label:"Subheading",group:"CTA",defaultValue:"Get the digital edition of this months issue plus access to every issue in the Deseret Magazine Archive."}),buttonText:l().string.tag({label:"Button Text",group:"CTA",defaultValue:"Subscribe Now"}),buttonUrl:l().string.tag({label:"Button URL",group:"CTA",defaultValue:"#"})})},t.default=h},92154:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(4321),a=n(14375),s=n(28408),l=n(44745),c=n(35616),u=n(42636),d=n(74848);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?p(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const m=({customFields:e})=>{const{listContentConfig:{contentService:t="",contentConfigValues:n={}}={},numberOfStories:r,title:i,showDate:p,showByline:h,buttonText:m,buttonLink:g}=e,{arcSite:b}=(0,o.useFusionContext)(),{content_elements:y=[]}=(0,a.useContent)({source:t,query:f(f({},n),{},{query:"type:story",length:r}),filter:`{\n content_elements {\n _id\n additional_properties {\n promoHeadline\n promoDescription {\n plaintext\n }\n }\n headlines {\n basic\n }\n canonical_url\n label {\n search {\n text\n }\n }\n credits {\n by {\n type\n name\n url\n org\n additional_properties {\n original {\n byline\n }\n }\n }\n }\n display_date\n ${(0,c.G)()}\n websites {\n ${b} {\n website_url\n }\n }\n }\n }`})||{};return(0,d.jsxs)("div",{className:"dn-mini-story-queue",children:[i&&(0,d.jsx)("div",{className:"dn-mini-story-queue__title",children:i}),(0,d.jsx)("div",{className:"dn-mini-story-queue__stories",children:y.map((e,t)=>{const n=e?.additional_properties?.promoHeadline??e?.headlines?.basic??"";return(0,d.jsxs)("div",{className:"dn-mini-story-queue__story",children:[0===t&&(0,d.jsx)(l.A,{ansImage:(0,c.CP)(e),aspectRatio:"3:2",width:500}),n&&(0,d.jsx)("div",{className:"dn-mini-story-queue__headline",children:(0,d.jsx)("a",{href:(0,s.J1)(e?.websites[b]?.website_url),rel:e?.label?.search?.text?.toLowerCase()?.includes("follow")?"nofollow":null,children:n})}),(h||p)&&(0,d.jsx)(u.A,{story:e,showByline:h,showDate:p})]},e._id)})}),m&&g&&(0,d.jsx)("div",{className:"dn-mini-story-queue__button",children:(0,d.jsx)("a",{href:g,children:m})})]})};m.label="DN - Mini Story Queue",m.icon="arc-list",m.propTypes={customFields:i().shape({listContentConfig:i().contentConfig("ans-feed").tag({group:"Configure Content",label:"Collection",defaultValue:{contentService:"content-api-collections",contentConfigValues:{content_alias:"dn-hero-stories"}}}),numberOfStories:i().number.tag({group:"Configure Content",label:"Number of Stories",defaultValue:5}),title:i().string.tag({label:"Title"}),showByline:i().boolean.tag({label:"Show Byline",group:"Promo Options",defaultValue:!0}),showDate:i().boolean.tag({label:"Show Date",group:"Promo Options",defaultValue:!0}),buttonText:i().string.tag({label:"Button Text",group:"Button",defaultValue:""}),buttonLink:i().string.tag({label:"Button Link",group:"Button",defaultValue:""})})},t.default=m},66859:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(14375),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=e=>{const{customFields:{listContentConfig:{contentService:t="",contentConfigValues:n={}}={}}={}}=e;let o=(0,r.useContent)({source:"most-commented",query:a(a({},n),{},{query:"type:story"})});return o&&o.length?(o.sort((e,t)=>e.commentCounts.totalPublished>t.commentCounts.totalPublished?-1:e.commentCounts.totalPublished<t.commentCounts.totalPublished?1:0),(0,i.jsx)("div",{id:"most-commented-widget-dn",children:(0,i.jsxs)("div",{className:"mcw-root",children:[(0,i.jsx)("div",{className:"header sidebar-widget-title",children:(0,i.jsx)("div",{className:"title",children:"Most Commented"})}),(0,i.jsx)("ul",{children:o.map(e=>(0,i.jsxs)("li",{className:"item",children:[(0,i.jsx)("a",{className:"most-commented-bubble",href:e.url,children:e.commentCounts.totalPublished}),(0,i.jsx)("a",{href:e.url,children:e.metadata.title})]},e.url))})]})})):null};l.label="DN - Most Commented",l.icon="picture-landscape",t.default=l},50396:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(14375),a=n(28408),s=n(74848);const l=({customFields:{storyLimit:e=5}})=>{let t=(0,o.useContent)({source:"most-popular",query:{query:"type:story",limit:e||5},filter:"{\n\t\t\t_id\n\t\t\tadditional_properties {\n\t\t\t\tpromoHeadline\n\t\t\t}\n\t\t\theadlines {\n\t\t\t\tbasic\n\t\t\t}\n\t\t\tcanonical_url\n\t\t}"});return t="object"!=typeof t||Array.isArray(t)?t:Object.values(t),t&&0!==t.length?(0,s.jsxs)("div",{id:"most-popular",className:"most-popular",children:[(0,s.jsx)("div",{className:"most-popular__title",children:"Most Popular"}),t.map((e,t)=>(0,s.jsxs)("div",{className:"most-popular__article",children:[(0,s.jsx)("a",{href:(0,a.J1)(e?.canonical_url),className:"most-popular__article_ranking",children:t+1}),(0,s.jsx)("a",{href:(0,a.J1)(e?.canonical_url),className:"most-popular__article_title",children:e?.additional_properties?.promoHeadline||e?.headlines?.basic})]},e?._id))]}):null};l.label="DN - Most Popular",l.icon="picture-landscape",l.propTypes={customFields:i().shape({storyLimit:i().oneOf([1,2,3,4,5,6,7,8,9,10]).isRequired.tag({label:"Number of Stories to Display",description:"default: 5",defaultValue:5,group:"Configure Content"})})},t.default=l},97155:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(14375),a=n(4321),s=n(63200),l=n(81008),c=n(35616),u=n(28408),d=n(44745),p=n(59889),f=n(42636),h=n(87751),m=n(74848);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const v=e=>{const{arcSite:t}=(0,a.useFusionContext)(),{customFields:{headline:n,subheadline:r,relatedContentLabel:i,relatedContent:g,listContentConfig:{contentService:y="",contentConfigValues:v={}}={contentService:"content-api-collections",contentConfigValues:{content_alias:"dn-hero-stories"}},mobileSize:w,desktopSize:_,showHeroPackage:x,showDescription:j,showByline:O}={}}=e,{content_elements:S=[]}=(0,o.useContent)({source:y,query:b(b({},v),{},{query:"type:story"}),filter:`{\n description\n content_elements {\n _id\n additional_properties {\n heroPackage\n heroVideoSettings {\n autoplay\n hideAudioControl
2s\n hideVideoControls\n }\n promoHeadline\n promoDescription {\n plaintext\n }\n }\n headlines {\n basic\n }\n canonical_url\n label {\n search {\n text\n }\n eyebrows_override {\n text\n }\n }\n taxonomy {\n primary_section {\n _id\n name\n path\n }\n }\n credits {\n by {\n type\n name\n url\n org\n additional_properties {\n original {\n byline\n }\n }\n }\n }\n display_date\n description {\n basic\n }\n ${(0,c.G)()}\n websites {\n ${t} {\n website_url\n }\n }\n }\n }`})||{},k=S[0];if(!k||!k.websites[t])return null;const C=(0,c.T6)();let P,T,E,N,A,I;const L=(0,c.RM)(k);if("video"===L?.type)P=L,I=(0,c.gx)(k),A=I?.hideMuteControl&&I?.hideSeekControl&&I?.hideProgressLabel&&I?.hideFullscreenControl&&I?.hideFullscreenControl;else if("raw_html"===L?.type){const e=(0,l.X4)(L);e.video?(P=e.video,I=e.heroVideoOptions,A=e.shouldVideoBeLink):e.rawHtml&&(E=e.rawHtml)}else T=L,N=T?{ansImage:T,aspectRatio:"3:2",width:900}:{src:C};const D=k?.additional_properties?.promoHeadline??k?.headlines?.basic??"",R=k?.additional_properties?.promoDescription?.plaintext??k?.description?.basic??"",M=(0,u.J1)(k?.websites[t]?.website_url);return(0,m.jsx)("div",{className:"row",children:(0,m.jsx)("div",{className:"col",children:(0,m.jsxs)("div",{className:"one-up-hero-breaker",children:[(0,m.jsxs)("div",{className:"one-up-hero-breaker--lead",children:[(0,m.jsx)("a",{className:`ou-headline ou-headline-mobile-${w} ou-headline-desktop-${_}`,href:M,rel:k?.label?.search?.text?.toLowerCase()?.includes("follow")?"nofollow":null,children:n}),(0,m.jsx)("div",{className:`ou-subheadline ou-subheadline-mobile-${w} ou-subheadline-desktop-${_}`,children:r})]}),(0,m.jsxs)("div",{className:"one-up-hero-breaker--body",children:[(0,m.jsxs)("div",{className:"ou-details",children:[(0,m.jsx)(p.A,{story:k,onlyPrimary:!0,isPromo:!0}),(0,m.jsx)("a",{href:M,rel:k?.label?.search?.text?.toLowerCase()?.includes("follow")?"nofollow":null,className:"ou-title",children:D}),j&&(0,m.jsx)("div",{className:"ou-description",children:R}),O&&(0,m.jsx)(f.A,{story:k,showDate:!1}),x&&k?.additional_properties?.heroPackage&&!g&&(0,m.jsx)("div",{className:"d-flex flex-wrap ou-hero-package mt-1",children:(0,m.jsx)(s.Ay,{children:k?.additional_properties?.heroPackage})}),g&&(0,m.jsxs)("div",{className:"mt-1",children:[i&&(0,m.jsx)("div",{className:"ou-label",children:i}),(0,m.jsx)("div",{className:"ou-hero-package",children:(0,m.jsx)(s.Ay,{children:g})})]})]}),(0,m.jsx)("div",{className:"ou-image w-100",children:P?A?(0,m.jsx)("a",{"aria-label":k?.subheadline?.basic||T?.alt,href:M,rel:k?.label?.search?.text?.toLowerCase()?.includes("follow")?"nofollow":null,children:(0,m.jsx)(h.A,{item:P,options:I})}):(0,m.jsx)(h.A,{item:P,options:I}):E?(0,m.jsx)("div",{dangerouslySetInnerHTML:{__html:E.content}}):(0,m.jsx)("a",{"aria-label":k?.subheadline?.basic||T?.alt,href:M,rel:k?.label?.search?.text?.toLowerCase()?.includes("follow")?"nofollow":null,children:(0,m.jsx)(d.A,b({},N))})})]})]})})})};v.label="One Up",v.icon="picture-landscape",v.propTypes={customFields:i().shape({listContentConfig:i().contentConfig("ans-feed").tag({group:"Configure Content",label:"Display Content Info"}),headline:i().string.tag({label:"Headline",group:"Headlines"}),subheadline:i().string.tag({label:"Subheadline",group:"Headlines"}),relatedContentLabel:i().string.tag({label:"Related Content Label"}),relatedContent:i().richtext.tag({label:"Related Content"}),mobileSize:i().oneOf(["sm","md","lg","xl","xxl"]).tag({label:"One-Up Size - Mobile",labels:{sm:"Small",md:"Medium",lg:"Large",xl:"XL",xxl:"XXL"},defaultValue:"Small",group:"Headlines",ordered:!1,description:"Choose the size of the one up Headline and Subheadline. Default is 'Small'."}),desktopSize:i().oneOf(["sm","md","lg","xl","xxl"]).tag({label:"One-Up Size - Desktop",labels:{sm:"Small",md:"Medium",lg:"Large",xl:"XL",xxl:"XXL"},defaultValue:"Small",group:"Headlines",ordered:!1,description:"Choose the size of the one up Headline and Subheadline. Default is 'Small'."}),showByline:i().bool.tag({label:"Byline",defaultValue:!0,group:"Promo Elements"}),showDescription:i().bool.tag({label:"Description",defaultValue:!0,group:"Promo Elements"}),showHeroPackage:i().bool.tag({label:"Hero Package",defaultValue:!0,group:"Promo Elements"})})},t.default=v},20605:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(4321),o=n(87983),a=n.n(o),s=n(41878),l=n(74848);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?c(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=()=>{const{globalContent:e,arcSite:t,requestUri:n}=(0,i.useFusionContext)(),{cookiepro_domain_id:o}=a()(t),c=o&&!n.includes("composer-preview"),[d,p]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let t=!1;const n=(0,s.s5)();if((n?.reducedAds||"True"===e?.label?.no_ads?.text||"True"===e?.label?.disable_outbrain?.text)&&(t=!0),!t){const t=(0,s.s5)();t?.reducedAds||setTimeout(()=>{const t=document.createElement("div");t.classList.add("OUTBRAIN"),t.setAttribute("data-src",`https://www.deseret.com${e.canonical_url}`),t.setAttribute("data-widget-id","AR_1"),document.getElementById("outbrain-block")?.append(t),window.OBR&&window.OBR.extern&&"function"==typeof window.OBR.extern.researchWidget&&(window.OBR.extern.researchWidget(),clearInterval(intervalId))},1e3)}p(t)}),d?null:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{id:"outbrain-block"}),(0,l.jsx)("script",u(u({},c?{type:"text/plain",className:"optanon-category-C0004"}:{}),{},{async:"async",src:"https://widgets.outbrain.com/outbrain.js"}))]})};p.label="DN - Outbrain",p.icon="arc-headline",t.default=p},25899:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19894),i=n.n(r),o=n(14375),a=n(87983),s=n.n(a),l=n(4321),c=n(25067),u=n(84129),d=n(63200),p=n(74848);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g=e=>{const{imageId:t,imageAuth:n,imageUrl:r,coverLabel:i,title:a,items:f=""}=e.customFields,{searchableField:m}=(0,o.useEditableContent)(),g=(0,l.useFusionContext)(),{arcSite:b}=g,y=s()?.(b);return(0,p.jsxs)("div",{className:"dn-product-more-info mb-1",children:[(0,p.jsx)("div",{className:"dn-product-more-info-header",children:(0,p.jsx)(u.A,{title:a,headingTag:"h3"})}),(0,p.jsxs)("div",{className:" row",children:[(0,p.jsx)("div",{className:"dn-product-bullet-points col-12 col-lg-6",children:(0,p.jsx)(d.Ay,{children:f})}),(0,p.jsx)("div",{className:"col-12 col-lg-6",children:(0,p.jsx)("img",h({src:(0,c.Lt)(y?.websiteDomain,t,n,r,360),alt:i,width:360},m({imageId:"_id",imageAuth:"auth.1",imageUrl:"url"})))})]})]})};g.label="DN - Product Additional Info",g.icon="book-open",g.propTypes={customFields:i().shape({imageId:i().disabled.tag({label:"Cover Image ID",description:'To change, hover over the cover and click the "Replace image" button.'}).isRequired,imageAuth:i().string.tag({label:"Cover Image AUTH",hidden:!0}),imageUrl:i().string.tag({label:"Cover Image URL",hidden:!0}),title:i().string.tag({label:"Title"}),items:i().richtext.tag({label:"Additional Content"})})},t.default=g},94428:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(25067),a=n(4321),s=n(87983),l=n.n(s),c=n(63200),u=n(14375),d=n(71352),p=n(74848);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?f(Object(n),!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g=e=>{const{headlineText:t,headlineColor:n,descColor:r,subheadColor:i,priceColor:s,tagText:f,tagTextColor:m,tagColor:g,subheadText:b,itemDesc:y,productPrice:v,discountPrice:w,buttonText:_,buttonLink:x,buttonColor:j,buttonTextColor:O,productImageAuth:S,productImageUrl:k,productImageId:C,productGalleryId:P,mediaType:T}=e?.customFields,{searchableField:E}=(0,u.useEditableContent)(),N=(0,a.useFusionContext)(),{arcSite:A}=N,I=l()?.(A);let L=null;"gallery"===T&&(L=(0,u.useContent)({source:"content-api-gallery",key:{_id:P,published:!0}}));return(0,p.jsxs)("div",{className:"product-block",children:[t?(0,p.jsx)("div",{className:"product-block--headline",children:(0,p.jsx)("h2",{style:{color:n},children:t})}):null,f?(0,p.jsx)("div",{className:"product-block--tag-wrapper mobile d-md-none d-flex ",children:(0,p.jsx)("div",{className:"product-block--tag",style:{color:m,backgroundColor:g},children:f?.toUpperCase()})}):null,(0,p.jsxs)("div",{className:"d-md-flex mt-4 mb-4",children:["gallery"===T?(0,p.jsx)("div",h(h({className:"product-block--gallery col-md-6"},E({productGalleryId:"_id"},"gallery")),{},{children:(0,p.jsx)(d.A,{classPrefix:"product-block",images:L?.content_elements||[],arcSite:A,galleryIndex:0},"product-gallery-0")})):(0,p.jsx)("div",{className:"product-block--img col-md-6",children:(0,p.jsx)("div",{children:(0,p.jsx)("img",h({src:(0,o.Lt)(I.websiteDomain,C,S,k,1e3),alt:"product"},E({productImageId:"_id",productImageAuth:"auth.1",productImageUrl:"url"})))})}),(0,p.jsxs)("div",{className:"col-md-6 ps-md-3",children:[f?(0,p.jsx)("div",{className:"product-block--tag-wrapper d-md-flex d-none",children:(0,p.jsx)("div",{className:"product-block--tag",style:{color:m,backgroundColor:g},children:f?.toUpperCase()})}):null,b?(0,p.jsx)("div",{className:"product-block--subhead mt-4",children:(0,p.jsx)("h4",{style:{color:i},children:b})}):null,y?(0,p.jsx)("div",{className:"product-block--desc mt-4",style:{color:r},children:(0,p.jsx)(c.Ay,{children:y})}):null,v?(0,p.jsxs)("div",{className:"product-block--price mt-4",style:{color:s},children:[w&&(0,p.jsxs)("div",{children:["$",w.toFixed(2)]}),(0,p.jsxs)("div",{className:w&&"discounted",children:["$",v.toFixed(2)]})]}):null,_&&x?(0,p.jsxs)("div",{className:"product-block--button mt-4",children:["Qty: ",(0,p.jsx)("select",{id:"qty-select",className:"form-select form-select-lg mb-2",children:Array.from({length:10},(e,t)=>t).map(e=>(0,p.jsx)("option",{value:e+1,children:e+1}))}),(0,p.jsx)("a",{className:"btn",onClick:async()=>{await(async()=>{window.dataLayer.push({event:"product-click",eventCategory:"Product",eventAction:"click"});const e=document.getElementById("qty-select")?.value;if(e){const t=await fetch(`https://pages.deseret.com/stripe-checkout/purchase-link-1984?quantity=${e}`);if(t?.ok){const e=await t.json();e?.url&&(window.location=e?.url)}}})()},style:{color:O,backgroundColor:j},children:_})]}):null]})]})]})};g.label="DN - Product",g.icon="e-commerce-cart-browser",g.propTypes={customFields:i().shape({productImageAuth:i().string.tag({label:"Product Image AUTH",hidden:!0}),productImageType:i().string.tag({label:"Product Image Type",hidden:!0}),mediaType:i().oneOf(["image","gallery"]).tag({label:"Media Type",labels:{image:"Image",gallery:"Gallery"},group:"Media",description:'Select type of media for the Product Block (image or gallery). To change the image, hover over the Product Block and click the "Replace image" button.',defaultValue:"image",ordered:!1}),productImageId:i().disabled.tag({label:"Product Image ID",group:"Media",description:'To change, hover over the product image and click the "Replace image" button.',hidden:!0}),productGalleryId:i().disabled.tag({label:"Product Gallery ID",group:"Media",description:'To change, hover over the product image and click the "Replace gallery" button.',hidden:!0}),headlineText:i().string.tag({label:"Headline",group:"Headline"}),headlineColor:i().string.tag({label:"Headline Color (HEX Code)",group:"Headline",defaultValue:"#000000FF",description:"Default: #000000FF"}),tagText:i().string.tag({label:"Tag Text",group:"Tag"}),tagTextColor:i().string.tag({label:"Tag Text Color (HEX Code)",group:"Tag",defaultValue:"#000000FF",description:"Default: #000000FF"}),tagColor:i().string.tag({label:"Tag Color (HEX Code)",group:"Tag",defaultValue:"#FFD217FF",description:"Default: #FFD217FF"}),subheadText:i().string.tag({label:"Subheadline Text",group:"Subheadline"}),subheadColor:i().string.tag({label:"Subheadline Color (HEX Code)",group:"Subheadline",defaultValue:"#000000FF",description:"Default: #000000FF"}),itemDesc:i().richtext.tag({label:"Description Text",group:"Description"}),descColor:i().string.tag({label:"Description Color (HEX Code)",group:"Description",defaultValue:"#000000FF",description:"Default: #000000FF"}),productPrice:i().number.tag({label:"Price",group:"Price",step:.01,min:0}),discountPrice:i().number.tag({label:"Discount Price",group:"Price",step:.01,min:0}),priceColor:i().string.tag({label:"Price Color (HEX Code)",group:"Price",defaultValue:"#000000FF",description:"Default: #000000FF"}),buttonText:i().string.tag({label:"Button Text",group:"Button"}),buttonLink:i().string.tag({label:"Button Link",group:"Button"}),buttonTextColor:i().string.tag({label:"Button Text Color (HEX Code)",group:"Button",defaultValue:"#000000FF",description:"Default: #000000FF"}),buttonColor:i().string.tag({label:"Button Color (HEX Code)",group:"Button",defaultValue:"#FFD217FF",description:"Default: #FFD217FF"})})},t.default=g},91419:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(87983),o=n.n(i),a=n(51445),s=n(74848);const l=()=>{const{arcSite:e,globalContent:t}=(0,r.useFusionContext)(),{dateLocalization:n}=o()(e);return(0,s.jsxs)("div",{className:"published-updated",children:[(0,s.jsxs)("time",{dateTime:t?.first_publish_date,className:"date-published date-published--iso d-block d-md-inline-block",children:["Published: ",(0,a.Y)(t?.first_publish_date,n)]}),t?.display_date&&(0,a.Y)(t?.display_date)!==(0,a.Y)(t?.first_publish_date)?(0,s.jsxs)("time",{dateTime:t?.last_updated_date,className:"date-updated date-updated--iso d-block d-md-inline-block mt-1 mt-md-0",children:["Updated: ",(0,a.Y)(t?.display_date,n)]}):null]})};l.label="DN - Publish Date",l.icon="user-question",t.default=l},51445:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});const r=(e,t={language:"en",timeZone:"GMT",dateTimeFormat:"%B %d %Y %l:%M%p %Z"})=>{const n=new Date(e),{day:r,month:i,year:o,hour:a,minute:s,dayPeriod:l,timeZoneName:c}=new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",hour12:!0,timeZone:t.timeZone,timeZoneName:"short"}).formatToParts(n).reduce((e,t)=>
2(e[t.type]=t.value,e),{});return`${{Mar:"March",Apr:"April",Jun:"June",Jul:"July",Sep:"Sept"}?.[i]??i} ${r}, ${o}, ${`${a}:${s} ${"PM"===l?"p.m.":"a.m."} ${c}`}`}},34133:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(74848);const o=()=>{const[e,t]=(0,r.useState)("");return(0,r.useEffect)(()=>{const e=new URL(document.location).searchParams.get("q");t(e)},[]),(0,i.jsx)("div",{className:"search-bar",children:(0,i.jsx)("form",{method:"GET",className:"search-bar__form",children:(0,i.jsxs)("div",{className:"search-bar__group",children:[(0,i.jsx)("input",{className:"search-bar__input",placeholder:"Keyword Search...",defaultValue:e,name:"q",type:"text"}),(0,i.jsx)("button",{className:"search-bar__submit",type:"submit",children:"Search"})]})})})};o.label="DN - Search Bar",o.icon="picture-landscape",t.default=o},84793:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(19674),o=n.n(i),a=n(84129),s=n(74848);const l=e=>{const{globalContent:t}=(0,r.useFusionContext)(),{customFields:{titleOverride:n,titleLinkOverride:i}}=e;let o="";return n?o=n:t&&(t?.name||t?.display_name)&&(o=t?.name||t?.display_name),o&&(0,s.jsx)("div",{className:"section-page container-wrapper",children:(0,s.jsx)("div",{className:"container one-column-container",children:(0,s.jsx)("div",{className:"section-page__header",children:(0,s.jsx)(a.A,{title:o,link:i,headingTag:"h1"})})})})};l.label="DN - Section Title",l.icon="arc-headline",l.propTypes={customFields:o().shape({titleOverride:o().string.tag({label:"Title Override"}),titleLinkOverride:o().string.tag({label:"Title Link Override"})})},t.default=l},33190:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Cn}});var r=n(40809),i=n.n(r),o=n(19674),a=n.n(o),s=n(4321),l=n(14375),c=n(87983),u=n.n(c),d=n(54830),p=n.n(d),f=n(91565),h=n.n(f);function m(){return(0,r.useState)(null)}const g=e=>e&&"function"!=typeof e?t=>{e.current=t}:e;var b=function(e,t){return(0,r.useMemo)(()=>function(e,t){const n=g(e),r=g(t);return e=>{n&&n(e),r&&r(e)}}(e,t),[e,t])},y=Object.prototype.hasOwnProperty;function v(e,t,n){for(n of e.keys())if(w(n,t))return n}function w(e,t){var n,r,i;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&w(e[r],t[r]););return-1===r}if(n===Set){if(e.size!==t.size)return!1;for(r of e){if((i=r)&&"object"==typeof i&&!(i=v(t,i)))return!1;if(!t.has(i))return!1}return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e){if((i=r[0])&&"object"==typeof i&&!(i=v(t,i)))return!1;if(!w(r[1],t.get(i)))return!1}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return-1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}if(!n||"object"==typeof e){for(n in r=0,e){if(y.call(e,n)&&++r&&!y.call(t,n))return!1;if(!(n in t)||!w(e[n],t[n]))return!1}return Object.keys(t).length===r}}return e!=e&&t!=t}var _=function(e){const t=function(){const e=(0,r.useRef)(!0),t=(0,r.useRef)(()=>e.current);return(0,r.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}();return[e[0],(0,r.useCallback)(n=>{if(t())return e[1](n)},[t,e[1]])]};function x(e){return e.split("-")[0]}function j(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function O(e){return e instanceof j(e).Element||e instanceof Element}function S(e){return e instanceof j(e).HTMLElement||e instanceof HTMLElement}function k(e){return"undefined"!=typeof ShadowRoot&&(e instanceof j(e).ShadowRoot||e instanceof ShadowRoot)}var C=Math.max,P=Math.min,T=Math.round;function E(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function N(){return!/^((?!chrome|android).)*safari/i.test(E())}function A(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&S(e)&&(i=e.offsetWidth>0&&T(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&T(r.height)/e.offsetHeight||1);
vendor: 17,907 bytes, line 2
2var a=(O(e)?j(e):window).visualViewport,s=!N()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/i,c=(r.top+(s&&a?a.offsetTop:0))/o,u=r.width/i,d=r.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function I(e){var t=A(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function L(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&k(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function D(e){return e?(e.nodeName||"").toLowerCase():null}function R(e){return j(e).getComputedStyle(e)}function M(e){return["table","td","th"].indexOf(D(e))>=0}function $(e){return((O(e)?e.ownerDocument:e.document)||window.document).documentElement}function F(e){return"html"===D(e)?e:e.assignedSlot||e.parentNode||(k(e)?e.host:null)||$(e)}function V(e){return S(e)&&"fixed"!==R(e).position?e.offsetParent:null}function z(e){for(var t=j(e),n=V(e);n&&M(n)&&"static"===R(n).position;)n=V(n);return n&&("html"===D(n)||"body"===D(n)&&"static"===R(n).position)?t:n||function(e){var t=/firefox/i.test(E());if(/Trident/i.test(E())&&S(e)&&"fixed"===R(e).position)return null;var n=F(e);for(k(n)&&(n=n.host);S(n)&&["html","body"].indexOf(D(n))<0;){var r=R(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function B(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function H(e,t,n){return C(e,P(t,n))}function U(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function q(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var Z="top",G="bottom",W="right",K="left",Y="auto",J=[Z,G,W,K],X="start",Q="end",ee="viewport",te="popper",ne=J.reduce(function(e,t){return e.concat([t+"-"+X,t+"-"+Q])},[]),re=[].concat(J,[Y]).reduce(function(e,t){return e.concat([t,t+"-"+X,t+"-"+Q])},[]),ie=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];var oe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=x(n.placement),l=B(s),c=[K,W].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(e,t){return U("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:q(e,J))}(i.padding,n),d=I(o),p="y"===l?Z:K,f="y"===l?G:W,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=z(o),b=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,v=u[p],w=b-d[c]-u[f],_=b/2-d[c]/2+y,j=H(v,_,w),O=l;n.modifiersData[r]=((t={})[O]=j,t.centerOffset=j-_,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&L(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ae(e){return e.split("-")[1]}var se={top:"auto",right:"auto",bottom:"auto",left:"auto"};function le(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var b=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),v=K,w=Z,_=window;if(c){var x=z(n),O="clientHeight",S="clientWidth";if(x===j(n)&&"static"!==R(x=$(n)).position&&"absolute"===s&&(O="scrollHeight",S="scrollWidth"),i===Z||(i===K||i===W)&&o===Q)w=G,m-=(d&&x===_&&_.visualViewport?_.visualViewport.height:x[O])-r.height,m*=l?1:-1;if(i===K||(i===Z||i===G)&&o===Q)v=W,f-=(d&&x===_&&_.visualViewport?_.visualViewport.width:x[S])-r.width,f*=l?1:-1}var k,C=Object.assign({position:s},c&&se),P=!0===u?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:T(n*i)/i||0,y:T(r*i)/i||0}}({x:f,y:m},j(n)):{x:f,y:m};return f=P.x,m=P.y,l?Object.assign({},C,((k={})[w]=y?"0":"",k[v]=b?"0":"",k.transform=(_.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",k)):Object.assign({},C,((t={})[w]=y?m+"px":"",t[v]=b?f+"px":"",t.transform="",t))}var ce={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:x(t.placement),variation:ae(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,le(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,le(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ue={passive:!0};var de={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,l=j(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",n.update,ue)}),s&&l.addEventListener("resize",n.update,ue),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",n.update,ue)}),s&&l.removeEventListener("resize",n.update,ue)}},data:{}},pe={left:"right",right:"left",bottom:"top",top:"bottom"};function fe(e){return e.replace(/left|right|bottom|top/g,function(e){return pe[e]})}var he={start:"end",end:"start"};function me(e){return e.replace(/start|end/g,function(e){return he[e]})}function ge(e){var t=j(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function be(e){return A($(e)).left+ge(e).scrollLeft}function ye(e){var t=R(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function ve(e){return["html","body","#document"].indexOf(D(e))>=0?e.ownerDocument.body:S(e)&&ye(e)?e:ve(F(e))}function we(e,t){var n;void 0===t&&(t=[]);var r=ve(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=j(r),a=i?[o].concat(o.visualViewport||[],ye(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(we(F(a)))}function _e(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function xe(e,t,n){return t===ee?_e(function(e,t){var n=j(e),r=$(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=N();(c||!c&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+be(e),y:l}}(e,n)):O(t)?function(e,t){var n=A(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):_e(function(e){var t,n=$(e),r=ge(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=C(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=C(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+be(e),l=-r.scrollTop;return"rtl"===R(i||n).direction&&(s+=C(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}($(e)))}function je(e,t,n,r){var i="clippingParents"===t?function(e){var t=we(F(e)),n=["absolute","fixed"].indexOf(R(e).position)>=0&&S(e)?z(e):e;return O(n)?t.filter(function(e){return O(e)&&L(e,n)&&"body"!==D(e)}):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(t,n){var i=xe(e,n,r);return t.top=C(i.top,t.top),t.right=P(i.right,t.right),t.bottom=P(i.bottom,t.bottom),t.left=C(i.left,t.left),t},xe(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Oe(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?x(i):null,a=i?ae(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case Z:t={x:s,y:n.y-r.height};break;case G:t={x:s,y:n.y+n.height};break;case W:t={x:n.x+n.width,y:l};break;case K:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?B(o):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case X:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Q:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function Se(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.strategy,a=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?ee:c,d=n.elementContext,p=void 0===d?te:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,b=U("number"!=typeof g?g:q(g,J)),y=p===te?"reference":te,v=e.rects.popper,w=e.elements[h?y:p],_=je(O(w)?w:w.contextElement||$(e.elements.popper),l,u,a),x=A(e.elements.reference),j=Oe({reference:x,element:v,strategy:"absolute",placement:i}),S=_e(Object.assign({},v,j)),k=p===te?S:x,C={top:_.top-k.top+b.top,bottom:k.bottom-_.bottom+b.bottom,left:_.left-k.left+b.left,right:k.right-_.right+b.right},P=e.modifiersData.offset;if(p===te&&P){var T=P[i];Object.keys(C).forEach(function(e){var t=[W,G].indexOf(e)>=0?1:-1,n=[Z,G].indexOf(e)>=0?"y":"x";C[e]+=T[n]*t})}return C}var ke={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,b=x(g),y=l||(b===g||!h?[fe(g)]:function(e){if(x(e)===Y)return[];var t=fe(e);return[me(e),t,me(t)]}(g)),v=[g].concat(y).reduce(function(e,n){return e.concat(x(n)===Y?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?re:l,u=ae(r),d=u?s?ne:ne.filter(function(e){return ae(e)===u}):J,p=d.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=d);var f=p.reduce(function(t,n){return t[n]=Se(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[x(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)},[]),w=t.rects.reference,_=t.rects.popper,j=new Map,O=!0,S=v[0],k=0;k<v.length;k++){var C=v[k],P=x(C),T=ae(C)===X,E=[Z,G].indexOf(P)>=0,N=E?"width":"height",A=Se(t,{placement:C,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),I=E?T?W:K:T?G:Z;w[N]>_[N]&&(I=fe(I));var L=fe(I),D=[];if(o&&D.push(A[P]<=0),s&&D.push(A[I]<=0,A[L]<=0),D.every(function(e){return e})){S=C,O=!1;break}j.set(C,D)}if(O)for(var R=function(e){var t=v.find(function(t){var n=j.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},M=h?3:1;M>0;M--){if("break"===R(M))break}t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ce(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Pe(e){return[Z,W,G,K].some(function(t){return e[t]>=0})}var Te={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=re.reduce(function(e,n){return e[n]=function(e,t,n){var r=x(e),i=[K,Z].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[K,W].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e},{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var Ee={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=Se(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=x(t.placement),y=ae(t.placement),v=!y,w=B(b),_="x"===w?"y":"x",j=t.modifiersData.popperOffsets,O=t.rects.reference,S=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,T="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(j){if(o){var A,L="y"===w?Z:K,D="y"===w?G:W,R="y"===w?"height":"width",M=j[w],$=M+g[L],F=M-g[D],V=f?-S[R]/2:0,U=y===X?O[R]:S[R],q=y===X?-S[R]:-O[R],Y=t.elements.arrow,J=f&&Y?I(Y):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[L],te=Q[D],ne=H(0,O[R],J[R]),re=v?O[R]/2-V-ne-ee-T.mainAxis:U-ne-ee-T.mainAxis,ie=v?-O[R]/2+V+ne+te+T.mainAxis:q+ne+te+T.mainAxis,oe=t.elements.arrow&&z(t.elements.arrow),se=oe?"y"===w?oe.clientTop||0:oe.clientLeft||0:0,le=null!=(A=null==E?void 0:E[w])?A:0,ce=M+ie-le,ue=H(f?P($,M+re-le-se):$,M,f?C(F,ce):F);j[w]=ue,N[w]=ue-M}if(s){var de,pe="x"===w?Z:K,fe="x"===w?G:W,he=j[_],me="y"===_?"height":"width",ge=he+g[pe],be=he-g[fe],ye=-1!==[Z,K].indexOf(b),ve=null!=(de=null==E?void 0:E[_])?de:0,we=ye?ge:he-O[me]-S[me]-ve+T.altAxis,_e=ye?he+O[me]+S[me]-ve-T.altAxis:be,xe=f&&ye?function(e,t,n){var r=H(e,t,n);return r>n?n:r}(we,he,_e):H(f?we:ge,he,f?_e:be);j[_]=xe,N[_]=xe-he}t.modifiersData[r]=N}},requiresIfExists:["offset"]};function Ne(e,t,n){void 0===n&&(n=!1);var r,i,o=S(t),a=S(t)&&function(e){var t=e.getBoundingClientRect(),n=T(t.width)/e.offsetWidth||1,r=T(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=$(t),l=A(e,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==D(t)||ye(s))&&(c=(r=t)!==j(r)&&S(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:ge(r)),S(t)?((u=A(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=be(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Ae(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}var Ie={placement:"bottom",modifiers:[],strategy:"absolute"};function Le(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function De(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?Ie:i;return function(e,t,n){void 0===n&&(n=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ie,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:O(e)?we(e):e.contextElement?we(e.contextElement):[],popper:we(t)};var a,c,p=function(e){var t=Ae(e);return ie.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),c=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=p.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:s,name:t,instance:u,options:r}),a=function(){};l.push(o||a)}}),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(Le(t,n)){s.rects={reference:Ne(t,z(n),"fixed"===s.options.strategy),popper:I(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],o=i.fn,a=i.options,l=void 0===a?{}:a,d=i.name;"function"==typeof o&&(s=o({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(i())})})),a}),destroy:function(){d(),c=!0}};if(!Le(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}const Re=De({defaultModifiers:[{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Se(t,{elementContext:"reference"}),s=Se(t,{altBoundary:!0}),l=Ce(a,r),c=Ce(s,i,o),u=Pe(l),d=Pe(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Oe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ce,de,Te,ke,Ee,oe]}),Me=["enabled","placement","strategy","modifiers"];const $e={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},Fe={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:n}=e.elements;if("removeAttribute"in t){const e=(t.getAttribute("aria-describedby")||"").split(",").filter(e=>
2e.trim()!==n.id);e.length?t.setAttribute("aria-describedby",e.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:n,reference:r}=e.elements,i=null==(t=n.getAttribute("role"))?void 0:t.toLowerCase();if(n.id&&"tooltip"===i&&"setAttribute"in r){const e=r.getAttribute("aria-describedby");if(e&&-1!==e.split(",").indexOf(n.id))return;r.setAttribute("aria-describedby",e?`${e},${n.id}`:n.id)}}},Ve=[];var ze=function(e,t,n={}){let{enabled:i=!0,placement:o="bottom",strategy:a="absolute",modifiers:s=Ve}=n,l=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(n,Me);const c=(0,r.useRef)(s),u=(0,r.useRef)(),d=(0,r.useCallback)(()=>{var e;null==(e=u.current)||e.update()},[]),p=(0,r.useCallback)(()=>{var e;null==(e=u.current)||e.forceUpdate()},[]),[f,h]=_((0,r.useState)({placement:o,update:d,forceUpdate:p,attributes:{},styles:{popper:{},arrow:{}}})),m=(0,r.useMemo)(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:e})=>{const t={},n={};Object.keys(e.elements).forEach(r=>{t[r]=e.styles[r],n[r]=e.attributes[r]}),h({state:e,styles:t,attributes:n,update:d,forceUpdate:p,placement:e.placement})}}),[d,p,h]),g=(0,r.useMemo)(()=>(w(c.current,s)||(c.current=s),c.current),[s]);return(0,r.useEffect)(()=>{u.current&&i&&u.current.setOptions({placement:o,strategy:a,modifiers:[...g,m,$e]})},[a,o,m,i,g]),(0,r.useEffect)(()=>{if(i&&null!=e&&null!=t)return u.current=Re(e,t,Object.assign({},l,{placement:o,strategy:a,modifiers:[...g,Fe,m]})),()=>{null!=u.current&&(u.current.destroy(),u.current=void 0,h(e=>Object.assign({},e,{attributes:{},styles:{popper:{}}})))}},[i,e,t]),f},Be=!("undefined"==typeof window||!window.document||!window.document.createElement),He=!1,Ue=!1;try{var qe={get passive(){return He=!0},get once(){return Ue=He=!0}};Be&&(window.addEventListener("test",qe,qe),window.removeEventListener("test",qe,!0))}catch(e){}var Ze=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!Ue){var i=r.once,o=r.capture,a=n;!Ue&&i&&(a=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=a),e.addEventListener(t,a,He?r:o)}e.addEventListener(t,n,r)};var Ge=function(e,t,n,r){var i=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)};var We=function(e,t,n,r){return Ze(e,t,n,r),function(){Ge(e,t,n,r)}};function Ke(e){return e&&e.ownerDocument||document}var Ye=function(e){const t=(0,r.useRef)(e);return(0,r.useEffect)(()=>{t.current=e},[e]),t};function Je(e){const t=Ye(e);return(0,r.useCallback)(function(...e){return t.current&&t.current(...e)},[t])}function Xe(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}var Qe=n(2482),et=n.n(Qe);const tt=()=>{};const nt=e=>e&&("current"in e?e.current:e),rt={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};var it=function(e,t=tt,{disabled:n,clickTrigger:i="click"}={}){const o=(0,r.useRef)(!1),a=(0,r.useRef)(!1),s=(0,r.useCallback)(t=>{const n=nt(e);var r;et()(!!n,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),o.current=!n||!!((r=t).metaKey||r.altKey||r.ctrlKey||r.shiftKey)||!function(e){return 0===e.button}(t)||!!Xe(n,t.target)||a.current,a.current=!1},[e]),l=Je(t=>{const n=nt(e);n&&Xe(n,t.target)?a.current=!0:a.current=!1}),c=Je(e=>{o.current||t(e)});(0,r.useEffect)(()=>{var t,r;if(n||null==e)return;const o=Ke(nt(e)),a=o.defaultView||window;let u=null!=(t=a.event)?t:null==(r=a.parent)?void 0:r.event,d=null;rt[i]&&(d=We(o,rt[i],l,!0));const p=We(o,i,s,!0),f=We(o,i,e=>{e!==u?c(e):u=void 0});let h=[];return"ontouchstart"in o.documentElement&&(h=[].slice.call(o.body.children).map(e=>We(e,"mousemove",tt))),()=>{null==d||d(),p(),f(),h.forEach(e=>e())}},[e,n,i,s,l,c])};function ot(e){if(!e||"function"==typeof e)return null;const{major:t}=function(){const e=r.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}();return t>=19?e.props.ref:e.ref}const at=()=>{};var st=function(e,t,{disabled:n,clickTrigger:i}={}){const o=t||at;it(e,o,{disabled:n,clickTrigger:i});const a=Je(e=>
2{(function(e){return"Escape"===e.code||27===e.keyCode})(e)&&o(e)});(0,r.useEffect)(()=>{if(n||null==e)return;const t=Ke(nt(e));let r=(t.defaultView||window).event;const i=We(t,"keyup",e=>{e!==r?a(e):r=void 0});return()=>{i()}},[e,n,a])};const lt=(0,r.createContext)(Be?window:void 0);lt.Provider;const ct=(e,t)=>Be?null==e?(t||Ke()).body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function ut(e,t){const n=(0,r.useContext)(lt),[i,o]=(0,r.useState)(()=>ct(e,null==n?void 0:n.document));if(!i){const t=ct(e);t&&o(t)}return(0,r.useEffect)(()=>{t&&i&&t(i)},[t,i]),(0,r.useEffect)(()=>{const t=ct(e);t!==i&&o(t)},[e,i]),i}function dt(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function pt({enabled:e,enableEvents:t,placement:n,flip:r,offset:i,fixed:o,containerPadding:a,arrowElement:s,popperConfig:l={}}){var c,u,d,p,f;const h=function(e){const t={};return Array.isArray(e)?(null==e||e.forEach(e=>{t[e.name]=e}),t):e||t}(l.modifiers);return Object.assign({},l,{placement:n,enabled:e,strategy:o?"fixed":l.strategy,modifiers:dt(Object.assign({},h,{eventListeners:{enabled:t,options:null==(c=h.eventListeners)?void 0:c.options},preventOverflow:Object.assign({},h.preventOverflow,{options:a?Object.assign({padding:a},null==(u=h.preventOverflow)?void 0:u.options):null==(d=h.preventOverflow)?void 0:d.options}),offset:{options:Object.assign({offset:i},null==(p=h.offset)?void 0:p.options)},arrow:Object.assign({},h.arrow,{enabled:!!s,options:Object.assign({},null==(f=h.arrow)?void 0:f.options,{element:s})}),flip:Object.assign({enabled:!!r},h.flip)}))})}const ft=void 0!==n.g&&n.g.navigator&&"ReactNative"===n.g.navigator.product;var ht="undefined"!=typeof document||ft?r.useLayoutEffect:r.useEffect;var mt=function({children:e,in:t,onExited:n,mountOnEnter:i,unmountOnExit:o}){const a=(0,r.useRef)(null),s=(0,r.useRef)(t),l=Je(n);(0,r.useEffect)(()=>{t?s.current=!0:l(a.current)},[t,l]);const c=b(a,ot(e)),u=(0,r.cloneElement)(e,{ref:c});return t?u:o||!s.current&&i?null:u};const gt=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];var bt=n(74848);const yt=["component"];var vt=r.forwardRef((e,t)=>{let{component:n}=e;const i=function(e){let{onEnter:t,onEntering:n,onEntered:i,onExit:o,onExiting:a,onExited:s,addEndListener:l,children:c}=e,u=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,gt);const d=(0,r.useRef)(null),p=b(d,ot(c)),f=e=>t=>{e&&d.current&&e(d.current,t)},h=(0,r.useCallback)(f(t),[t]),m=(0,r.useCallback)(f(n),[n]),g=(0,r.useCallback)(f(i),[i]),y=(0,r.useCallback)(f(o),[o]),v=(0,r.useCallback)(f(a),[a]),w=(0,r.useCallback)(f(s),[s]),_=(0,r.useCallback)(f(l),[l]);return Object.assign({},u,{nodeRef:d},t&&{onEnter:h},n&&{onEntering:m},i&&{onEntered:g},o&&{onExit:y},a&&{onExiting:v},s&&{onExited:w},l&&{addEndListener:_},{children:"function"==typeof c?(e,t)=>c(e,Object.assign({},t,{ref:p})):(0,r.cloneElement)(c,{ref:p})})}(function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,yt));return(0,bt.jsx)(n,Object.assign({ref:t},i))});function wt({children:e,in:t,onExited:n,onEntered:i,transition:o}){const[a,s]=(0,r.useState)(!t);t&&a&&s(!1);const l=function({in:e,onTransition:t}){const n=(0,r.useRef)(null),i=(0,r.useRef)(!0),o=Je(t);return ht(()=>{if(!n.current)return;let t=!1;return o({in:e,element:n.current,initial:i.current,isStale:()=>t}),()=>{t=!0}},[e,o]),ht(()=>(i.current=!1,()=>{i.current=!0}),[]),n}({in:!!t,onTransition:e=>{Promise.resolve(o(e)).then(()=>{e.isStale()||(e.in?null==i||i(e.element,e.initial):(s(!0),null==n||n(e.element)))},t=>{throw e.in||s(!0),t})}}),c=b(l,ot(e));return a&&!t?null:(0,r.cloneElement)(e,{ref:c})}const _t=r.forwardRef((e,t)=>{const{flip:n,offset:i,placement:o,containerPadding:a,popperConfig:s={},transition:l,runTransition:c}=e,[u,d]=m(),[p,f]=m(),g=b(d,t),y=ut(e.container),v=ut(e.target),[w,_]=(0,r.useState)(!e.show),x=ze(v,u,pt({placement:o,enableEvents:!!e.show,containerPadding:a||5,flip:n,offset:i,arrowElement:p,popperConfig:s}));e.show&&w&&_(!1);const j=e.show||!w;if(st(u,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!j)return null;const{onExit:O,onExiting:S,onEnter:k,onEntering:C,onEntered:P}=e;let T=e.children(Object.assign({},x.attributes.popper,{style:x.styles.popper,ref:g}),{popper:x,placement:o,show:!!e.show,arrowProps:Object.assign({},x.attributes.arrow,{style:x.styles.arrow,ref:f})});return T=function(e,t,n){return e?(0,bt.jsx)(vt,Object.assign({},n,{component:e})):t?(0,bt.jsx)(wt,Object.assign({},n,{transition:t})):(0,bt.jsx)(mt,Object.assign({},n))}(l,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:T,onExit:O,onExiting:S,onExited:(...t)=>{_(!0),e.onExited&&e.onExited(...t)},onEnter:k,onEntering:C,onEntered:P}),y?h().createPortal(T,y):null});_t.displayName="Overlay";var xt=_t;var jt=function(e){const t=(0,r.useRef)(e);return(0,r.useEffect)(()=>{t.current=e},[e]),t};const Ot=void 0!==n.g&&n.g.navigator&&"ReactNative"===n.g.navigator.product;var St="undefined"!=typeof document||Ot?r.useLayoutEffect:r.useEffect;
2const kt=e=>e&&"function"!=typeof e?t=>{e.current=t}:e;var Ct=function(e,t){return(0,r.useMemo)(()=>function(e,t){const n=kt(e),r=kt(t);return e=>{n&&n(e),r&&r(e)}}(e,t),[e,t])};function Pt(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}const Tt=["xxl","xl","lg","md","sm","xs"],Et=r.createContext({prefixes:{},breakpoints:Tt,minBreakpoint:"xs"}),{Consumer:Nt,Provider:At}=Et;function It(e,t){const{prefixes:n}=(0,r.useContext)(Et);return e||n[t]||t}function Lt(){const{dir:e}=(0,r.useContext)(Et);return"rtl"===e}const Dt=r.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=It(t,"popover-header"),(0,bt.jsx)(n,{ref:i,className:p()(e,t),...r})));Dt.displayName="PopoverHeader";var Rt=Dt;const Mt=r.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=It(t,"popover-body"),(0,bt.jsx)(n,{ref:i,className:p()(e,t),...r})));Mt.displayName="PopoverBody";var $t=Mt;r.Component;function Ft(e,t){let n=e;return"left"===e?n=t?"end":"start":"right"===e&&(n=t?"start":"end"),n}function Vt(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const zt=r.forwardRef(({bsPrefix:e,placement:t="right",className:n,style:r,children:i,body:o,arrowProps:a,hasDoneInitialMeasure:s,popper:l,show:c,...u},d)=>{const f=It(e,"popover"),h=Lt(),[m]=(null==t?void 0:t.split("-"))||[],g=Ft(m,h);let b=r;return c&&!s&&(b={...r,...Vt(null==l?void 0:l.strategy)}),(0,bt.jsxs)("div",{ref:d,role:"tooltip",style:b,"x-placement":m,className:p()(n,f,m&&`bs-popover-${g}`),...u,children:[(0,bt.jsx)("div",{className:"popover-arrow",...a}),o?(0,bt.jsx)($t,{children:i}):i]})});zt.displayName="Popover";var Bt=Object.assign(zt,{Header:Rt,Body:$t,POPPER_OFFSET:[0,8]});const Ht=r.forwardRef(({bsPrefix:e,placement:t="right",className:n,style:r,children:i,arrowProps:o,hasDoneInitialMeasure:a,popper:s,show:l,...c},u)=>{e=It(e,"tooltip");const d=Lt(),[f]=(null==t?void 0:t.split("-"))||[],h=Ft(f,d);let m=r;return l&&!a&&(m={...r,...Vt(null==s?void 0:s.strategy)}),(0,bt.jsxs)("div",{ref:u,style:m,role:"tooltip","x-placement":f,className:p()(n,e,`bs-tooltip-${h}`),...c,children:[(0,bt.jsx)("div",{className:"tooltip-arrow",...o}),(0,bt.jsx)("div",{className:`${e}-inner`,children:i})]})});Ht.displayName="Tooltip";var Ut=Object.assign(Ht,{TOOLTIP_OFFSET:[0,6]});function qt(e,t){return qt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qt(e,t)}n(19894);var Zt=!1,Gt=i().createContext(null),Wt="unmounted",Kt="exited",Yt="entering",Jt="entered",Xt="exiting",Qt=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=Kt,r.appearStatus=Yt):i=Jt:i=t.unmountOnExit||t.mountOnEnter?Wt:Kt,r.state={status:i},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,qt(t,n),r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Wt?{status:Kt}:null};var o=r.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Yt&&n!==Jt&&(t=Yt):n!==Yt&&n!==Jt||(t=Xt)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Yt){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:h().findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Kt&&this.setState({status:Wt})},o.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[h().findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||Zt?this.safeSetState({status:Jt},function(){t.props.onEntered(o)}):(this.props.onEnter(o,a),this.safeSetState({status:Yt},function(){t.props.onEntering(o,a),t.onTransitionEnd(l,function(){t.safeSetState({status:Jt},function(){t.props.onEntered(o,a)})})}))},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:h().findDOMNode(this);t&&!Zt?(this.props.onExit(r),this.safeSetState({status:Xt},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Kt},function(){e.props.onExited(r)})})})):this.safeSetState({status:Kt},function(){e.props.onExited(r)})},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:h().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===Wt)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i().createElement(Gt.Provider,{value:null},"function"==typeof n?n(e,r):i().cloneElement(i().Children.only(n),r))},r}(i().Component);function en(){}Qt.contextType=Gt,Qt.propTypes={},Qt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
2:!0,exit:!0,onEnter:en,onEntering:en,onEntered:en,onExit:en,onExiting:en,onExited:en},Qt.UNMOUNTED=Wt,Qt.EXITED=Kt,Qt.ENTERING=Yt,Qt.ENTERED=Jt,Qt.EXITING=Xt;var tn=Qt;function nn(e,t){return function(e){var t=Ke(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}var rn=/([A-Z])/g;var on=/^ms-/;function an(e){return function(e){return e.replace(rn,"-$1").toLowerCase()}(e).replace(on,"-ms-")}var sn=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;var ln=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(an(t))||nn(e).getPropertyValue(an(t));Object.keys(t).forEach(function(i){var o=t[i];o||0===o?!function(e){return!(!e||!sn.test(e))}(i)?n+=an(i)+": "+o+";":r+=i+"("+o+") ":e.style.removeProperty(an(i))}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};function cn(e,t,n){void 0===n&&(n=5);var r=!1,i=setTimeout(function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,n,r),e.dispatchEvent(i)}}(e,"transitionend",!0)},t+n),o=We(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function un(e,t,n,r){var i,o;null==n&&(i=ln(e,"transitionDuration")||"",o=-1===i.indexOf("ms")?1e3:1,n=parseFloat(i)*o||0);var a=cn(e,n,r),s=We(e,"transitionend",t);return function(){a(),s()}}function dn(e,t){const n=ln(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function pn(e,t){const n=dn(e,"transitionDuration"),r=dn(e,"transitionDelay"),i=un(e,n=>{n.target===e&&(i(),t(n))},n+r)}function fn(e){return e&&"setState"in e?h().findDOMNode(e):null!=e?e:null}const hn=i().forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:o,onExiting:a,onExited:s,addEndListener:l,children:c,childRef:u,...d},p)=>{const f=(0,r.useRef)(null),h=Ct(f,u),m=e=>{h(fn(e))},g=e=>t=>{e&&f.current&&e(f.current,t)},b=(0,r.useCallback)(g(e),[e]),y=(0,r.useCallback)(g(t),[t]),v=(0,r.useCallback)(g(n),[n]),w=(0,r.useCallback)(g(o),[o]),_=(0,r.useCallback)(g(a),[a]),x=(0,r.useCallback)(g(s),[s]),j=(0,r.useCallback)(g(l),[l]);return(0,bt.jsx)(tn,{ref:p,...d,onEnter:b,onEntered:v,onEntering:y,onExit:w,onExited:x,onExiting:_,addEndListener:j,nodeRef:f,children:"function"==typeof c?(e,t)=>c(e,{...t,ref:m}):i().cloneElement(c,{ref:m})})});hn.displayName="TransitionWrapper";var mn=hn;const gn={[Yt]:"show",[Jt]:"show"},bn=r.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:i,...o},a)=>{const s={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...o},l=(0,r.useCallback)((e,t)=>{!function(e){e.offsetHeight}(e),null==i||i(e,t)},[i]);return(0,bt.jsx)(mn,{ref:a,addEndListener:pn,...s,onEnter:l,childRef:ot(t),children:(i,o)=>r.cloneElement(t,{...o,className:p()("fade",e,t.props.className,gn[i],n[i])})})});bn.displayName="Fade";var yn=bn;const vn=r.forwardRef(({children:e,transition:t=yn,popperConfig:n={},rootClose:i=!1,placement:o="top",show:a=!1,...s},l)=>{const c=(0,r.useRef)({}),[u,d]=(0,r.useState)(null),[f,h]=function(e){const t=(0,r.useRef)(null),n=It(void 0,"popover"),i=It(void 0,"tooltip"),o=(0,r.useMemo)(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(Pt(t.current,n))return Bt.POPPER_OFFSET;if(Pt(t.current,i))return Ut.TOOLTIP_OFFSET}return[0,0]}}}),[e,n,i]);return[t,[o]]}(s.offset),m=Ct(l,f),g=!0===t?yn:t||void 0,b=function(e){const t=jt(e);return(0,r.useCallback)(function(...e){return t.current&&t.current(...e)},[t])}(e=>{d(e),null==n||null==n.onFirstUpdate||n.onFirstUpdate(e)});return St(()=>{u&&s.target&&(null==c.current.scheduleUpdate||c.current.scheduleUpdate())},[u,s.target]),(0,r.useEffect)(()=>{a||d(null)},[a]),(0,bt.jsx)(xt,{...s,ref:m,popperConfig:{...n,modifiers:h.concat(n.modifiers||[]),onFirstUpdate:b},transition:g,rootClose:i,placement:o,show:a,children:(i,{arrowProps:o,popper:a,show:s})=>{var l;!function(e,t){const{ref:n}=e,{ref:r}=t;e.ref=n.__wrapped||(n.__wrapped=e=>n(fn(e))),t.ref=r.__wrapped||(r.__wrapped=e=>r(fn(e)))}(i,o);const d=null==a?void 0:a.placement,f=Object.assign(c.current,{state:null==a?void 0:a.state,scheduleUpdate:null==a?void 0:a.update,placement:d,outOfBoundaries:(null==a||null==(l=a.state)||null==(l=l.modifiersData.hide)?void 0:l.isReferenceHidden)||!1,strategy:n.strategy}),h=!!u;return"function"==typeof e?e({...i,placement:d,show:s,...!t&&s&&{className:"show"},popper:f,arrowProps:o,hasDoneInitialMeasure:h}):r.cloneElement(e,{...i,placement:d,arrowProps:o,popper:f,hasDoneInitialMeasure:h,className:p()(e.props.className,!t&&s&&"show"),style:{...e.props.style,...i.style}})}})});vn.displayName="Overlay";var wn=vn;function _n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jn=({shareUrl:e,shareText:t,shareEmailSubject:n,shareEmailBody:i,shareHeading:o,Trigger:a,TriggerCallback:s=null,shareTo:l={}})=>{const[c,u]=(0,r.useState)(!1),[d,p]=(0,r.useState)(null),f=(0,r.useRef)(null),h=e=>{"undefined"!=typeof window&&window.dataLayer&&window.dataLayer.push({event:"share_button_click",platform:e}),u(!1)},m=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?_n(Object(n),!0).forEach(function(t){xn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_n(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({email:!0,fb:!0,x:!0,flip:!1,sms:!1,whatsapp:!1},l);if(!t||!e)return null;const g=`sms:?&body=${e}`,b=`https://wa.me/?text=${e}`;return(0,bt.jsxs)("div",{ref:f,className:"share-popover-container",children:[(0,bt.jsx)(a,{iconSrcCallback:s,onClick:e=>{u(!c),p(e.target)}}),(0,bt.jsx)(wn,{show:c,target:d,placement:"top",container:f,containerPadding:20,rootClose:!0,onHide:()=>u(!1),children:(0,bt.jsxs)(Bt,{id:"share-popover",children:[(0,bt.jsx)(Bt.Header,{as:"h3",children:o||"Share"}),(0,bt.jsxs)(Bt.Body,{children:[m.fb?(0,bt.jsx)("a",{className:"page-share__icon",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`,target:"_blank",rel:"noopener nofollow",onClick:()=>h("Facebook"),children:(0,bt.jsxs)("span",{className:"fa-stack fa-sharer",children:[(0,bt.jsx)("i",{className:"fab fa-facebook-f fa-stack-1x","aria-hidden":"true"}),(0,bt.jsx)("i",{className:"fa-solid fa-circle background-fb fa-stack-2x","aria-hidden":"true"})]})}):null,m.x?(0,bt.jsx)("a",{className:"page-share__icon",href:`https://twitter.com/share?text=${t}&url=${e}`,target:"_blank",rel:"noopener nofollow",onClick:()=>h("X"),children:(0,bt.jsxs)("span",{className:"fa-stack fa-sharer",children:[(0,bt.jsx)("i",{className:"fa-brands fa-x-twitter fa-stack-1x","aria-hidden":"true"}),(0,bt.jsx)("i",{className:"fa-solid fa-circle background-x fa-stack-2x","aria-hidden":"true"})]})}):null,m.linkedIn?(0,bt.jsx)("a",{className:"page-share__icon",href:`https://linkedin.com/shareArticle?text=${t}&url=${e}`,target:"_blank",rel:"noopener nofollow",onClick:()=>h("LinkedIn"),children:(0,bt.jsxs)("span",{className:"fa-stack fa-sharer",children:[(0,bt.jsx)("i",{className:"fa-brands fa-linkedin fa-stack-1x","aria-hidden":"true"}),(0,bt.jsx)("i",{className:"fa-solid fa-circle background-linkedIn fa-stack-2x","aria-hidden":"true"})]})}):null,m.flip?(0,bt.jsx)("a",{className:"page-share__icon",href:`https://share.flipboard.com/bookmarklet/popout?v=2&title=${t}&url=${e}`,target:"_blank",rel:"noopener nofollow",onClick:()=>h("Flipboard"),children:(0,bt.jsxs)("span",{className:"fa-stack fa-sharer",children:[(0,bt.jsx)("i",{className:"fa-brands fa-flipboard fa-stack-1x","aria-hidden":"true"}),(0,bt.jsx)("i",{className:"fa-solid fa-circle background-flip fa-stack-2x","aria-hidden":"true"})]})}):null,m.email?(0,bt.jsx)("a",{className:"page-share__icon",href:`mailto:?subject=${n}&body=${i}`,target:"_blank",rel:"noopener nofollow",onClick:()=>h("Email"),children:(0,bt.jsxs)("span",{className:"fa-stack fa-sharer",children:[(0,bt.jsx)("i",{className:"fa-solid fa-envelope fa-stack-1x","aria-hidden":"true"}),(0,bt.jsx)("i",{className:"fa-solid fa-circle background-email fa-stack-2x","aria-hidden":"true"})]})}):null,m.sms?(0,bt.jsx)("a",{className:"page-share__icon",href:g,rel:"noopener nofollow",onClick:()=>h("SMS"),children:(0,bt.jsxs)("span",{className:"fa-stack fa-sharer",children:[(0,bt.jsx)("i",{className:"fa-solid fa-comment-sms fa-stack-1x","aria-hidden":"true"}),(0,bt.jsx)("i",{className:"fa-solid fa-circle background-sms fa-stack-2x","aria-hidden":"true"})]})}):null,m.whatsapp?(0,bt.jsx)("a",{className:"page-share__icon",href:b,target:"_blank",rel:"noopener nofollow",onClick:()=>h("WhatsApp"),children:(0,bt.jsxs)("span",{className:"fa-stack fa-sharer",children:[(0,bt.jsx)("i",{className:"fa-brands fa-whatsapp fa-stack-1x","aria-hidden":"true"}),(0,bt.jsx)("i",{className:"fa-solid fa-circle background-whatsapp fa-stack-2x","aria-hidden":"true"})]})}):null]})]})})]})};const On={left:"flex-start",center:"center",right:"flex-end"},Sn=({icon:e="share",label:t="Share",onClick:n,iconSrcCallback:i=null})=>{const[o,a]=(0,r.useState)(null);return(0,r.useEffect)(()=>{i&&a(i(e))},[i]),(0,bt.jsxs)("div",{onClick:n,className:"share-button-container",children:[(0,bt.jsxs)("div",{className:"share-button",children:[(0,bt.jsx)("img",{className:"share-icon centered",src:o}),(0,bt.jsx)("i",{className:"fa-solid fa-circle share-background","aria-hidden":"true"})]}),(0,bt.jsx)("div",{className:"share-label",children:t})]})},kn=({customFields:e={}})=>{const{globalContent:t,deployment:n,arcSite:r}=(0,s.useFusionContext)(),{websiteDomain:i}=u()(r),{alignment:o="right"}=e,a=On[o]||On.right,c=parseInt((0,l.useContent)({source:"comment-count",query:{story_id:t?._id}}),10)||0;if(!t?.headlines?.basic)return null;const d=e=>n(`/pf/resources/deseretnews/assets/images/icons/${e}.svg`),p=c<1?"View Comments":`View ${c} Comment${1!==c?"s":""}`;return(0,bt.jsxs)("div",{className:"share-buttons pe-0",style:{justifyContent:a}
2,children:["STANDARD_PAGE"!==t?.subtype?(0,bt.jsx)("div",{className:"share-comments share-cell",children:(0,bt.jsx)(Sn,{icon:"comment",label:p,onClick:()=>{const e=document?.getElementById("comments-sidebar");e&&bootstrap?new bootstrap.Offcanvas(e)?.show():document?.getElementById("coral_thread")?.scrollIntoView({block:"start",behavior:"smooth"})},iconSrcCallback:d})}):null,(0,bt.jsx)("div",{className:"share-popover share-cell",children:(0,bt.jsx)(jn,{shareHeading:"Share Article",shareUrl:`${i}${t?.website_url}`,shareText:t?.headlines?.basic,shareEmailSubject:"Deseret News Article",shareEmailBody:`${t?.headlines?.basic} - ${i}${t?.website_url}`,Trigger:Sn,TriggerCallback:d})})]})};kn.label="DN - Share Buttons",kn.icon="share-2",kn.propTypes={customFields:a().shape({alignment:a().oneOf(["left","center","right"]).tag({label:"Alignment",defaultValue:"right",labels:{left:"Left",center:"Center",right:"Right"}})})};var Cn=kn},38042:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(14375),a=n(87983),s=n.n(a),l=n(4321),c=n(25067),u=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h=e=>{const{imageId:t,imageAuth:n,imageUrl:r,title:i="",sections:a=[],links:d={}}=e.customFields,{arcSite:f}=(0,l.useFusionContext)(),h=s()?.(f),{searchableField:m}=(0,o.useEditableContent)(),g=Object.entries(d),b=a.map(e=>g.splice(0,e));return(0,u.jsx)("div",{className:"container",children:(0,u.jsxs)("div",{className:"dn-special-coverage-navigation",children:[(0,u.jsx)("div",p(p({},m({imageId:"_id",imageAuth:"auth.1",imageUrl:"url"})),{},{className:"dn-special-coverage-navigation__image",children:t&&(0,u.jsx)("img",{src:(0,c.Lt)(h?.websiteDomain,t,n,r,326),alt:"special coverage navigation",width:326,height:420})})),i&&(0,u.jsx)("div",{className:"dn-special-coverage-navigation__title",children:i}),b.length>0&&(0,u.jsx)("nav",{className:"dn-special-coverage-navigation__navigation",children:b.map((e,t)=>(0,u.jsxs)("div",{className:"navigation__section",children:[e.map(([e,t],n)=>(0,u.jsx)("a",{href:t,className:"navigation__link",children:e},n)),t!==b.length-1&&(0,u.jsx)("div",{className:"navigation__divider",children:"|"})]},t))})]})})};h.label="DN - Special Coverage Navigation",h.icon="arc-list",h.propTypes={customFields:i().shape({imageId:i().disabled.tag({label:"Image ID"}).isRequired,imageAuth:i().string.tag({label:"Image AUTH",hidden:!0}),imageUrl:i().string.tag({label:"Image URL",hidden:!0}),title:i().text.tag({label:"Title"}),sections:i().list.tag({label:"Sections",description:"Create a new item to create a section, and put the number of links you want displayed in that section in the text box"}),links:i().kvp.tag({label:"Links",description:"Put the link text in the top, and the link destination in the bottom"})})},t.default=h},83492:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(14375),a=n(4321),s=n(84129),l=n(57483),c=n(35616),u=n(74848);const d=e=>{const{arcSite:t}=(0,a.useFusionContext)(),n=e.customFields?.curatedStories?.join(","),r=e.customFields?.title,i=e.customFields?.titleLink,d=e.customFields.showCommentCount||!1;let p=(0,o.useContent)({source:"stories-by-urls",query:{website_urls:n,website:t,limit:e.customFields?.curatedStories?.length},filter:`{\n _id\n additional_properties {\n promoHeadline\n }\n headlines {\n basic\n }\n canonical_url\n label {\n search {\n text\n }\n }\n taxonomy {\n primary_section {\n _id\n name\n path\n }\n }\n credits {\n by {\n type\n name\n url\n org\n additional_properties {\n original {\n byline\n }\n }\n }\n }\n display_date\n ${(0,c.G)()}\n websites {\n ${t} {\n website_url\n }\n }\n }`})||[];return p="object"!=typeof p||Array.isArray(p)?p:Object.values(p),p?.length?(0,u.jsxs)("div",{className:"section-river",children:[r&&(0,u.jsx)("div",{className:"section-river__heading row",children:(0,u.jsx)("div",{className:"col-12",children:(0,u.jsx)(s.A,{title:r,link:i,headingTag:"h2"})})}),(0,u.jsx)("div",{className:"section-river__promos",children:p.map(e=>(0,u.jsx)(l.A,{story:e,type:"list-compact",showEyebrow:!1,showDescription:!1,showDate:!0,showCommentCount:d},`story-list-${e._id}`))})]}):(0,u.jsx)(u.Fragment,{})};d.label="DN - Story List (Curated)",d.icon="arc-list",d.propTypes={customFields:i().shape({title:i().text.tag({label:"Title"}),titleLink:i().string.tag({label:"Title Link"}),curatedStories:i().list.tag({label:"Curated Story URLs",description:'Only include slugs. (nothing before ".com")'}),showCommentCount:i().bool.tag({label:"Comment Count",defaultValue:!1,group:"Promo Elements"})})},t.default=d},70034:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return P}});n(40809);var r=n(19674),i=n.n(r),o=n(4321),a=n(87983),s=n.n(a),l=n(7770),c=n(44745),u=n(99789),d=n(35616),p=n(28408),f=n(74848);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?h(Object(n),!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b=e=>t=>t[e],y=({customFields:e,classPrefix:t,Eyebrow:n,logoConfig:r,subheadlineTag:i="p",headlineExtraClass:a="",subheadlineExtraClass:s="",renderMeta:h=()=>null,hasMeta:g=!1})=>{const{globalContent:y,deployment:v,arcSite:w}=(0,o.useFusionContext)(),{showCaption:_=!0,logo:x=r.defaultKey,overlay:j="",showLogo:O=!0,showEyebrows:S=!0,showHeadline:k=!0,showSubheadline:C=!0,imageHeight:P=841}=e||{},T=(0,d.kM)(y)||{},E=y?.additional_properties?.overlayLogoColor,N=(({logo:e,logoConfig:t,overlayLogoColor:n})=>e===t.autoOption?["black","dark"].includes(n)?t.autoDarkKey:t.autoLightKey:e)({logo:x,logoConfig:r,overlayLogoColor:E}),A=r.files[N]||r.files[r.defaultKey],I=A?v(`${r.assetPath}/${A.file}`):null,L=A&&(A.alt||r.fallbackAlt)||"",D=y?.headlines?.basic,R=y?.subheadlines?.basic,M=S||k&&D||C&&R||g,$=(e,{ignoreToggles:r=!1}={})=>{const o=i;return(0,f.jsxs)("div",{className:e,children:[r||S?(0,f.jsx)("div",{className:`${t}-template-lead-art-eyebrows`,children:(0,f.jsx)(n,{story:y})}):null,(r||k)&&D?(0,f.jsx)("h1",{className:`${t}-template-lead-art-headline${a?` ${a}`:""}`,dangerouslySetInnerHTML:{__html:D}}):null,(r||C)&&R?(0,f.jsx)(o,{className:`${t}-template-lead-art-subheadline${s?` ${s}`:""}`,dangerouslySetInnerHTML:{__html:R}}):null,h({ignoreToggles:r,classPrefix:t})]})},F=((e,n)=>{if("image"!==e.type)return null;const{alt_text:r,caption:i,credits:o,vanity_credits:a,subtitle:s}=e,d=(a||o)?.affiliation?.map(b("name")).join(", ")||(a||o)?.by?.map(b("name")).join(", ")||null,p=1920,h=P,g=(0,u.A)(e,w,p);return(0,f.jsxs)("div",{className:"carousel-hero","data-width":e?.width,"data-height":e?.height,children:[(0,f.jsx)(l.mO,{caption:_?i||(s||null):null,credit:_&&d?`${s||i?'<span class="line"></span>':""}${d}`:null,title:null,children:(0,f.jsx)(c.A,m(m({},g),{},{width:p,height:h,aspectRatio:`1920:${h}`,alt:r,loading:"eager"}))}),(0,f.jsx)("div",{className:`${t}-template-lead-art-layer`,children:n})]})})(T,(0,f.jsxs)(f.Fragment,{children:[j?(0,f.jsx)("div",{className:`${t}-template-lead-art-filter`,style:{backgroundColor:j}}):null,M?$(`${t}-template-lead-art-text`):null,O&&I?(0,f.jsx)("div",{className:`${t}-template-lead-art-logo`,children:(0,f.jsx)("a",{href:(0,p.J1)("/"),"aria-label":"Home",children:(0,f.jsx)("img",{src:I,className:`${t}-logo`,alt:L})})}):null]}));return F?(0,f.jsxs)("div",{className:`${t}-featured-media ${t}-template-lead-art-feature`,style:{"--template-lead-art-image-height":`${P}px`},children:[$(`${t}-print-template-lead-art-text`,{ignoreToggles:!0}),F]}):null},v={imageHeight:i().number.tag({label:"Image Height",description:"Rendered and fetched pixel height of the hero image.",defaultValue:841,min:0,max:2e3}),overlay:i().string.tag({label:"Overlay Color",description:"Hex color (with optional alpha) applied over the image, e.g. #00000055",defaultValue:""}),showLogo:i().bool.tag({label:"Show Logo",defaultValue:!0,group:"Components"}),showEyebrows:i().bool.tag({label:"Show Eyebrows",defaultValue:!0,group:"Components"}),showHeadline:i().bool.tag({label:"Show Headline",defaultValue:!0,group:"Components"}),showSubheadline:i().bool.tag({label:"Show Subheadline",defaultValue:!0,group:"Components"}),showCaption:i().bool.tag({label:"Show Caption",defaultValue:!0,group:"Components"})};y.propTypes={customFields:i().object,classPrefix:i().string.isRequired,Eyebrow:i().elementType.isRequired,logoConfig:i().shape({files:i().object.isRequired,defaultKey:i().string.isRequired,autoOption:i().string,autoDarkKey:i().string,autoLightKey:i().string,assetPath:i().string.isRequired,fallbackAlt:i().string}).isRequired,subheadlineTag:i().oneOf(["p","h2"]),headlineExtraClass:i().string,
2subheadlineExtraClass:i().string,renderMeta:i().func,hasMeta:i().bool};var w=y,_=n(59889),x=n(51445);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach(function(t){S(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function S(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k={files:{"All Black":{file:"desktop_logo_all_black.svg",alt:"Deseret News Logo All Black"},"All White":{file:"desktop_logo_all_white.svg",alt:"Deseret News Logo All White"},"Black & Yellow":{file:"desktop_logo_black_and_yellow.svg",alt:"Deseret News Logo Black & Yellow"},"Black & White":{file:"desktop_logo_black_and_white.svg",alt:"Deseret News Logo Black & White"},"White & Black":{file:"desktop_logo_white_and_black.svg",alt:"Deseret News Logo White & Black"},"White & Yellow":{file:"desktop_logo_white_and_yellow.svg",alt:"Deseret News Logo White & Yellow"},"Black & Yellow (175 years)":{file:"desktop_logo_black_and_yellow_175_years.png",alt:"Deseret News Logo Black & Yellow (175 years)"},"Black (175 years)":{file:"desktop_logo_black_175_years.png",alt:"Deseret News Logo Black (175 years)"},"Black & White (175 years)":{file:"desktop_logo_black_and_white_175_years.png",alt:"Deseret News Logo Black & White (175 years)"},"White (175 years)":{file:"desktop_logo_white_175_years.png",alt:"Deseret News Logo White (175 years)"},"White & Yellow (175 years)":{file:"desktop_logo_white_and_yellow_175_years.png",alt:"Deseret News Logo White & Yellow (175 years)"},"Black & Yellow (175 years outlined)":{file:"desktop_logo_black_and_yellow_175_years_outlined.png",alt:"Deseret News Logo Black & Yellow (175 years outlined)"},"Black & White (175 years; white dot)":{file:"desktop_logo_black_and_white_175_years_white_dot.png",alt:"Deseret News Logo Black & White (175 years; white dot)"}},defaultKey:"All White",autoOption:"Auto Black/White",autoDarkKey:"All Black",autoLightKey:"All White",assetPath:"/pf/resources/deseretnews/assets/images/pb",fallbackAlt:"Deseret News Logo"},C=({customFields:e})=>{const{globalContent:t,arcSite:n}=(0,o.useFusionContext)(),{showPublishedTime:r=!0}=e||{},i=s()(n),{dateLocalization:a}=i||{},l=t?.first_publish_date,c=t?.display_date,u=c&&(0,x.Y)(c)!==(0,x.Y)(l),d=!(!r||!l);return(0,f.jsx)(w,{customFields:e,classPrefix:"dn",Eyebrow:_.A,logoConfig:k,subheadlineTag:"p",headlineExtraClass:"article-headline",subheadlineExtraClass:"article-subheadline",renderMeta:({ignoreToggles:e,classPrefix:t})=>(e||r)&&l?(0,f.jsxs)("div",{className:`${t}-template-lead-art-published published-updated`,children:[(0,f.jsxs)("time",{dateTime:l,className:"date-published date-published--iso d-block d-md-inline-block",children:["Published: ",(0,x.Y)(l,a)]}),u?(0,f.jsxs)("time",{dateTime:c,className:"date-updated date-updated--iso d-block d-md-inline-block mt-1 mt-md-0",children:["Updated: ",(0,x.Y)(c,a)]}):null]}):null,hasMeta:d})};C.label="DN - Template Lead Art",C.icon="picture-landscape",C.propTypes={customFields:i().shape(O(O({logo:i().oneOf(["Auto Black/White","All Black","All White","Black & Yellow","Black & White","White & Black","White & Yellow","Black & Yellow (175 years)","Black (175 years)","Black & White (175 years)","White (175 years)","White & Yellow (175 years)","Black & Yellow (175 years outlined)","Black & White (175 years; white dot)"]).tag({defaultValue:"All White",label:"Logo"})},v),{},{showPublishedTime:i().bool.tag({label:"Show Published Time",defaultValue:!0,group:"Components"})}))};var P=C},68668:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(74848);const a=e=>{const{message:t,fullName:n,title:r,company:i}=e.customFields;return(0,o.jsxs)("div",{className:"testimonial-widget mt-5",children:[(0,o.jsx)("p",{className:"typographic-opening mb-0",children:"â"}),t?(0,o.jsx)("p",{className:"testimonial-message",children:t}):null,n?(0,o.jsx)("p",{className:"testimonial-author mb-0",children:(0,o.jsx)("strong",{children:n})}):null,(0,o.jsxs)("div",{className:"testimonial-sub-container d-flex",children:[r?(0,o.jsx)("p",{className:"testimonial-title",children:r}):null,r&&i?(0,o.jsx)("p",{children:"Â |Â "}):null,i?(0,o.jsx)("p",{className:"testimonial-company",children:i}):null]})]})};a.label="DN - Testimonial",a.icon="",a.propTypes={customFields:i().shape({message:i().string.tag({label:"Message",defaultValue:"",description:""}),fullName:i().string.tag({label:"Full Name",defaultValue:""}),title:i().string.tag({label:"Title",defaultValue:""}),company:i().string.tag({label:"Company",defaultValue:""})})},t.default=a},42866:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(14375),a=n(4321),s=n(4174),l=n(35616),c=n(74848);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?u(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const f=e=>{const{arcSite:t}=(0,a.useFusionContext)(),{customFields:{listContentConfig:{contentService:n="",contentConfigValues:r={}}={contentService:"content-api-collections",contentConfigValues:{content_alias:""}},showCommentCount:i,showHeroPackage:u}={}}=e;console.log({showCommentCount:i});const{content_elements:p=[]}=(0,o.useContent)({source:n,query:d(d({},r),{},{query:"type:story"}),filter:`{\n content_elements {\n _id\n additional_properties {\n heroPackage\n heroVideoSettings {\n autoplay\n hideAudioControls\n hideVideoControls\n }\n promoHeadline\n promoDescription {\n plaintext\n }\n }\n headlines {\n basic\n }\n canonical_url\n label {\n search {\n text\n }\n eyebrows_override {\n text\n }\n }\n taxonomy {\n primary_section {\n _id\n name\n path\n }\n }\n credits {\n by {\n type\n name\n url\n org\n additional_properties {\n original {\n byline\n }\n }\n }\n }\n description {\n basic\n }\n display_date\n ${(0,l.G)()}\n websites {\n ${t} {\n website_url\n }\n }\n }\n }`})||{};return(0,c.jsx)(s.A,{stories:p,showCommentCount:i,showHeroPackage:u})};f.label="DN - Three Up (Collection)",f.icon="picture-landscape",f.propTypes={customFields:i().shape({listContentConfig:i().contentConfig("ans-feed").tag({group:"Configure Content",label:"Display Content Info"}),showCommentCount:i().bool.tag({label:"Comment Count",defaultValue:!1,group:"Promo Elements"}),showHeroPackage:i().bool.tag({label:"Hero Package",defaultValue:!0,group:"Promo Elements"})})},t.default=f},79850:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(14375),a=n(4321),s=n(4174),l=n(35616),c=n(74848);const u=e=>{const{arcSite:t}=(0,a.useFusionContext)(),n=e.customFields?.curatedStories?.join(","),r=e.customFields?.showCommentCount,i=e.customFields?.showHeroPackage;let u=(0,o.useContent)({source:"stories-by-urls",query:{website_urls:n,website:t,limit:3},filter:`{\n _id\n additional_properties {\n heroPackage\n heroVideoSettings {\n autoplay\n hideAudioControl
2s\n hideVideoControls\n }\n promoHeadline\n promoDescription {\n plaintext\n }\n }\n headlines {\n basic\n }\n canonical_url\n label {\n search {\n text\n }\n eyebrows_override {\n text\n }\n }\n taxonomy {\n primary_section {\n _id\n name\n path\n }\n }\n credits {\n by {\n type\n name\n url\n org\n additional_properties {\n original {\n byline\n }\n }\n }\n }\n description {\n basic\n }\n display_date\n ${(0,l.G)()}\n websites {\n ${t} {\n website_url\n }\n }\n }`})||[];return u="object"!=typeof u||Array.isArray(u)?u:Object.values(u),u?(0,c.jsx)(s.A,{stories:u,showCommentCount:r,showHeroPackage:i}):(0,c.jsx)(c.Fragment,{})};u.label="DN - Three Up (Curated)",u.icon="picture-landscape",u.propTypes={customFields:i().shape({curatedStories:i().list.tag({label:"Curated Story URLs",description:"Only the first 3 URLs will be included."}),showCommentCount:i().bool.tag({label:"Comment Count",defaultValue:!1,group:"Promo Elements"}),showHeroPackage:i().bool.tag({label:"Hero Package",defaultValue:!0,group:"Promo Elements"})})},t.default=u},10053:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(4321),o=n(14375),a=n(4174),s=n(19674),l=n.n(s),c=n(35616),u=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h=e=>{const{arcSite:t,globalContent:n}=(0,i.useFusionContext)(),s=e.customFields?.showCommentCount,l=e.customFields?.showHeroPackage;let d=(0,r.useMemo)(()=>(e=>"section"==e?.node_type?e?._admin?.alias_ids?.includes("/all-sections")?"/all-sections":e?._id:null)(n),[n]);const{content_elements:f=[]}=(0,o.useContent)({source:"latest-stories",query:p({feature:"results-list",feedOffset:0,feedSize:3},d?{includeSections:d}:{}),filter:`{\n content_elements {\n _id\n additional_properties {\n heroPackage\n heroVideoSettings {\n autoplay\n hideAudioControls\n hideVideoControls\n }\n promoHeadline\n promoDescription {\n plaintext\n }\n }\n headlines {\n basic\n }\n canonical_url\n label {\n search {\n text\n }\n eyebrows_override {\n text\n }\n }\n taxonomy {\n primary_section {\n _id\n name\n path\n }\n }\n credits {\n by {\n type\n name\n url\n org\n additional_properties {\n original {\n byline\n }\n }\n }\n }\n description {\n basic\n }\n display_date\n ${(0,c.G)()}\n websites {\n ${t} {\n website_url\n }\n }\n }\n }`})||{};
2return(0,u.jsx)(a.A,{stories:f,showCommentCount:s,showHeroPackage:l})};h.label="DN - Three Up (Section)",h.icon="picture-landscape",h.propTypes={customFields:l().shape({showCommentCount:l().bool.tag({label:"Comment Count",defaultValue:!1,group:"Promo Elements"}),showHeroPackage:l().bool.tag({label:"Hero Package",defaultValue:!0,group:"Promo Elements"})})},t.default=h},38774:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return T}});var r=n(40809),i=n(19674),o=n.n(i),a=n(14375),s=n(4321),l=n(19216),c=n(73974),u=n(44745),d=n(35616),p=n(28408),f=n(74848);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b=({streams:e,videoId:t})=>{const[n,i]=(0,r.useState)(!0);return(0,f.jsx)("div",{className:"vvc__hover-player",children:(0,f.jsx)(c.A,{urls:e,playing:n,setPlaying:i,mute:!0,showPip:!1,hideMuteControl:!0,hideSeekControl:!0,hideProgressLabel:!0,hideFullscreenControl:!0,hidePlayPauseControl:!0,videoId:t,aspectRatio:"9/16"})})},y=({streams:e,videoId:t,headline:n})=>{const[i,o]=(0,r.useState)(!0);return(0,f.jsx)(c.A,{urls:e,playing:i,setPlaying:o,title:n,aspectRatio:"9/16",videoId:t,showPip:!1})},v=({video:e,onClose:t})=>((0,r.useEffect)(()=>{const e=e=>{"Escape"===e.key&&t()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[t]),(0,f.jsxs)("div",{className:"vvc__lightbox",role:"dialog","aria-modal":"true","aria-label":e.headline,children:[(0,f.jsx)("div",{className:"vvc__lightbox-backdrop",onClick:t}),(0,f.jsxs)("div",{className:"vvc__lightbox-inner",children:[(0,f.jsx)("button",{className:"vvc__lightbox-close",onClick:t,"aria-label":"Close video",children:(0,f.jsx)("i",{className:"fa-solid fa-xmark"})}),(0,f.jsx)(y,{streams:e.streams,videoId:e._id,headline:e.headline})]})]})),w=({video:e,showCategory:t,showTitle:n,onVideoClick:i,isMobile:o,EyebrowComponent:a})=>{const[s,l]=(0,r.useState)(!1),c=(0,d.CP)(e),p=(0,d.T6)(),h=e?.headlines?.basic,g=e?.streams,y=(e=>{if(isNaN(e))return"";const t=Math.floor(e/1e3),n=Math.floor(t/3600),r=Math.floor(t%3600/60).toString().padStart(2,"0"),i=Math.floor(t%60).toString().padStart(2,"0");return n>0?`${n}:${r}:${i}`:`${parseInt(r,10)}:${i}`})(e?.duration),v=c?{ansImage:c,width:400,aspectRatio:"9:16",className:"vvc__thumbnail-img"}:{src:p,className:"vvc__thumbnail-img"},w=e=>i(e.currentTarget);return(0,f.jsxs)("div",{className:"vvc__card",onMouseEnter:()=>!o&&l(!0),onMouseLeave:()=>!o&&l(!1),onClick:w,children:[(0,f.jsx)("div",{className:"vvc__card-media",onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),w(e))},role:"button",tabIndex:0,"aria-label":`Play video: ${h}`,children:(0,f.jsxs)("div",{className:"vvc__thumbnail-wrapper",children:[(0,f.jsx)(u.A,m({},v)),(0,f.jsx)("div",{className:"vvc__thumbnail-gradient"}),(0,f.jsxs)("div",{className:"vvc__play-btn"+(s?" vvc__play-btn--hidden":""),children:[(0,f.jsx)("span",{className:"vvc__play-icon"}),y&&(0,f.jsx)("span",{className:"vvc__timestamp",children:y})]}),s&&g?.length>0&&(0,f.jsx)(b,{streams:g,videoId:e._id})]})}),(0,f.jsxs)("div",{className:"vvc__card-meta",onClick:e=>{"A"===e.target.tagName&&e.preventDefault()},children:[t&&a&&(0,f.jsx)(a,{story:e}),n&&(0,f.jsx)("span",{className:"vvc__card-title",children:h})]})]})},_=e=>{const{HeadingComponent:t,EyebrowComponent:n,desktopVisible:i=5.35,mobileVisible:o=2.5,desktopSlidesToScroll:c=5,mobileSlidesToScroll:u=2}=e,{title:h="Videos",linkTo:g="",showTitle:b=!0,showViewAll:y=!1,showCategory:_=!0,listContentConfig:{contentService:x="",contentConfigValues:j={}}={}}=e.customFields,{arcSite:O}=(0,s.useFusionContext)(),S=!!(j._id||j.collection_id||j.collection_alias||j.content_alias),{content_elements:k=[]}=(0,a.useContent)({source:S?x:"",query:m(m({size:20},j),{},{type:"video"}),filter:`{\n content_elements {\n _id\n type\n canonical_url\n duration\n headlines { basic }\n taxonomy {\n primary_section { _id name path }\n }\n label {\n eyebrows_override { text }\n }\n ${(0,d.G)()}\n streams {\n url\n stream_type\n bitrate\n height\n width\n }\n websites {\n ${O} { website_url }\n }\n }\n }`})||{},C=k.filter(e=>e?.streams?.length>0).slice(0,20),P=(e,t)=>{const n=C.length||1,r=Math.min(100,t/n*100);return{width:`${r}%`,left:`${Math.max(0,Math.min(1,e))*(100-r)}%`}},[T,E]=(0,l.A)({align:"start",containScroll:"trimSnaps",loop:!1,slidesToScroll:c}),[N,A]=(0,l.A)({align:"start",containScroll:"trimSnaps",loop:!1,slidesToScroll:u}),[I,L]=(0,r.useState)(!0),[D,R]=(0,r.useState)(!1),[M,$]=(0,r.useState)(!0),[F,V]=(0,r.useState)(!1),[z,B]=(0,r.useState)(0),[H,U]=(0,r.useState)(0),[q,Z]=(0,r.useState)(null),G=(0,r.useRef)(null),W=(0,r.useRef)(null),K=(0,r.useCallback)(e=>{G.current=e,T(e)},[T]),Y=(0,r.useCallback)(()=>E?.scrollPrev(),[E]),J=(0,r.useCallback)(()=>E?.scrollNext(),[E]),X=(0,r.useCallback)(()=>{E&&(L(!E.canScrollPrev()),R(!E.canScrollNext()),B(E.scrollProgress()))},[E]);(0,r.useEffect)(()=>
2{if(E)return X(),E.on("scroll",X),E.on("select",X),E.on("reInit",X),()=>{E.off("scroll",X),E.off("select",X),E.off("reInit",X)}},[E,X]),(0,r.useEffect)(()=>{const e=G.current;if(!e||!E)return;let t=!1;const n=e=>{if(Math.abs(e.deltaX)<=Math.abs(e.deltaY))return;const n=e.deltaX;if(0===n)return;const r=n>0;(r?E.canScrollNext():E.canScrollPrev())&&(e.preventDefault(),t||(t=!0,setTimeout(()=>{t=!1},300),r?E.scrollNext():E.scrollPrev()))};return e.addEventListener("wheel",n,{passive:!1}),()=>e.removeEventListener("wheel",n)},[E]);const Q=(0,r.useCallback)(()=>A?.scrollPrev(),[A]),ee=(0,r.useCallback)(()=>A?.scrollNext(),[A]),te=(0,r.useCallback)(()=>{A&&(U(A.scrollProgress()),$(!A.canScrollPrev()),V(!A.canScrollNext()))},[A]);(0,r.useEffect)(()=>{if(A)return te(),A.on("scroll",te),A.on("select",te),A.on("reInit",te),()=>{A.off("scroll",te),A.off("select",te),A.off("reInit",te)}},[A,te]);const ne=(0,r.useCallback)((e,t)=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"video_carousel_click"}),W.current=t||null,Z({_id:e._id,streams:e?.streams,headline:e?.headlines?.basic})},[]),re=(0,r.useCallback)(()=>{Z(null);const e=W.current;e&&"function"==typeof e.focus&&requestAnimationFrame(()=>{e.focus({preventScroll:!1})})},[]);if(!C?.length)return null;const ie=g?(0,p.J1)(g):null;return(0,f.jsxs)("section",{className:"vvc",children:[(0,f.jsxs)("div",{className:"container",children:[(0,f.jsxs)("div",{className:"vvc__header",children:[b&&t&&(0,f.jsx)(t,{title:h,link:ie}),y&&ie&&(0,f.jsx)("a",{href:ie,className:"vvc__view-all",children:"View All"})]}),(0,f.jsxs)("div",{className:"vvc__desktop d-none d-md-block",children:[(0,f.jsx)("div",{className:"vvc__viewport",ref:K,children:(0,f.jsx)("div",{className:"vvc__track",children:C.map(e=>(0,f.jsx)("div",{className:"vvc__slide",children:(0,f.jsx)(w,{video:e,showCategory:_,showTitle:b,EyebrowComponent:n,onVideoClick:t=>ne(e,t),isMobile:!1})},e._id))})}),(0,f.jsxs)("div",{className:"vvc__footer",children:[(0,f.jsx)("div",{className:"vvc__progress-track",children:(0,f.jsx)("div",{className:"vvc__progress-fill",style:P(z,i)})}),(0,f.jsxs)("div",{className:"vvc__nav",children:[(0,f.jsx)("button",{className:"vvc__nav-btn",onClick:Y,disabled:I,"aria-label":"Previous videos",type:"button",children:(0,f.jsx)("i",{className:"fa-solid fa-arrow-left"})}),(0,f.jsx)("button",{className:"vvc__nav-btn",onClick:J,disabled:D,"aria-label":"Next videos",type:"button",children:(0,f.jsx)("i",{className:"fa-solid fa-arrow-right"})})]})]})]}),(0,f.jsxs)("div",{className:"vvc__mobile d-block d-md-none",children:[(0,f.jsx)("div",{className:"vvc__viewport",ref:N,children:(0,f.jsx)("div",{className:"vvc__track",children:C.map(e=>(0,f.jsx)("div",{className:"vvc__slide vvc__slide--mobile",children:(0,f.jsx)(w,{video:e,showCategory:_,showTitle:b,EyebrowComponent:n,onVideoClick:t=>ne(e,t),isMobile:!0})},e._id))})}),(0,f.jsxs)("div",{className:"vvc__mobile-footer",children:[(0,f.jsx)("div",{className:"vvc__mobile-progress-track",children:(0,f.jsx)("div",{className:"vvc__progress-fill",style:P(H,o)})}),(0,f.jsxs)("div",{className:"vvc__nav",children:[(0,f.jsx)("button",{className:"vvc__nav-btn",onClick:Q,disabled:M,"aria-label":"Previous videos",type:"button",children:(0,f.jsx)("i",{className:"fa-solid fa-arrow-left"})}),(0,f.jsx)("button",{className:"vvc__nav-btn",onClick:ee,disabled:F,"aria-label":"Next videos",type:"button",children:(0,f.jsx)("i",{className:"fa-solid fa-arrow-right"})})]})]})]})]}),q&&(0,f.jsx)(v,{video:q,onClose:re})]})};_.propTypes={customFields:o().shape({title:o().string.tag({label:"Title",defaultValue:"Videos"}),showTitle:o().bool.tag({label:"Show Title",defaultValue:!0,group:"Display Options"}),showViewAll:o().bool.tag({label:"Show View All",defaultValue:!1,group:"Display Options"}),linkTo:o().string.tag({label:"Link To (View All)",defaultValue:""}),showCategory:o().bool.tag({label:"Show Category",defaultValue:!0,group:"Display Options"}),listContentConfig:o().contentConfig("ans-feed").tag({group:"Configure Content",label:"Video Collection",defaultValue:{contentService:"collections-for-lists",contentConfigValues:{content_alias:"",type:"video"}}})})};var x=_,j=n(84129),O=n(59889);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?S(Object(n),!0).forEach(function(t){C(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function C(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const P=e=>(0,f.jsx)(x,k(k({},e),{},{HeadingComponent:j.A,EyebrowComponent:O.A}));P.label="DN - Vertical Video Carousel",P.icon="picture-landscape",P.propTypes={customFields:o().shape({title:o().string.tag({label:"Title",defaultValue:"Videos"}),showTitle:o().bool.tag({label:"Show Title",defaultValue:!0,group:"Display Options"}),showViewAll:o().bool.tag({label:"Show View All",defaultValue:!1,group:"Display Options"}),linkTo:o().string.tag({label:"View All Link",defaultValue:""}),showCategory:o().bool.tag({label:"Show Category",defaultValue:!0,group:"Display Options"}),listContentConfig:o().contentConfig("ans-feed").tag({group:"Configure Content",label:"Video Collection",defaultValue:{contentService:"collections-for-lists",contentConfigValues:{content_alias:"",type:"video"}}})})};var T=P},48475:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(19674),o=n.n(i),a=n(14375),s=n(4321),l=n(84129),c=n(44745),u=n(35616),d=n(28408),p=n(19216),f=n(74848);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b=e=>{const{title:t="Videos",hideTitleDecoration:n=!1,linkTo:i="/videos",limit:o=4,desktopGridWidth:h=4,listContentConfig:{contentService:g="",contentConfigValues:b={}}={}}=e.customFields,{arcSite:y,globalContent:v}=(0,s.useFusionContext)(),w=(0,u.T6)();let{content_elements:_=[]}=(0,a.useContent)({source:g,query:m(m({},b),{},{query:"type:video"}),filter:`{\n \tcontent_elements {\n \t\t_id\n \t\tcanonical_url\n \t\theadlines {\n \t\t\tbasic\n \t\t}\n subheadline {\n basic\n }\n \t \twebsite_url\n description {\n basic\n }\n credits {\n by {\n additional_properties {\n original {\n byline\n }\n }\n org\n name\n url\n type\n }\n affiliation {\n name\n }\n }\n duration\n display_date\n taxonomy {\n primary_section {\n _id\n name\n path\n }\n }\n \t \t${(0,u.G)()}\n \t \twebsites {\n \t\t\t${y} {\n \t\t\t\twebsite_url\n \t\t\t}\n \t \t}\n \t}\n }`})||{};const[x,j]=(0,p.A)({align:"start",slidesToScroll:1,containScroll:"trimSnaps",dragFree:!1,skipSnaps:!1}),[O,S]=(0,r.useState)(!0),[k,C]=(0,r.useState)(!0),P=(0,r.useCallback)(()=>{j&&j.scrollPrev()},[j]),T=(0,r.useCallback)(()=>{j&&j.scrollNext()},[j]),E=(0,r.useCallback)(()=>{j&&(S(!j.canScrollPrev()),C(!j.canScrollNext()))},[j]);(0,r.useEffect)(()=>
2{if(j)return E(),j.on("select",E),j.on("reInit",E),()=>{j.off("select",E),j.off("reInit",E)}},[j,E]);const N=e=>{if(isNaN(e))return"0:00";const t=Math.floor(e/1e3),n=Math.floor(t/3600),r=Math.floor(t%3600/60).toString().padStart(2,"0"),i=Math.floor(t%60).toString().padStart(2,"0");return n>0?`${n}:${r}:${i}`:`${parseInt(r)}:${i}`};_=_.filter(e=>e?._id!==v?._id);const A=_?.[0]?.headlines?.basic,I=(0,u.CP)(_?.[0]),L=_?.[0]?.websites?.[y]?.website_url,D=_?.[0]?.credits?.affiliation?.[0]?.name,R=I&&I?.url?{ansImage:I,aspectRatio:"16:9",width:310,height:310,loading:"lazy",alt:A}:{src:w};function M(){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"video_breaker_click"})}return(0,f.jsxs)("div",{className:"dn-video-breaker",children:[t?n?(0,f.jsxs)("div",{className:"dn-video-breaker__heading",children:[(0,f.jsx)("h3",{children:i?(0,f.jsx)("a",{className:"dn-ym-heading__link",href:(0,d.J1)(i),children:t}):t}),(0,f.jsx)("a",{className:"dn-video-breaker__viewall d-none d-md-flex",href:(0,d.J1)(i),children:"View all videos â"})]}):(0,f.jsxs)("div",{className:"dn-video-breaker__heading",children:[(0,f.jsx)(l.A,{title:t,link:i}),(0,f.jsx)("a",{className:"dn-video-breaker__viewall",href:(0,d.J1)(i),children:"View all videos â"})]}):null,(0,f.jsxs)("div",{className:"dn-video-breaker__videos-desktop d-none d-md-flex",children:[(0,f.jsx)("button",{className:"dn-video-breaker__videos-desktop-button",onClick:P,disabled:O,children:(0,f.jsx)("i",{className:"fa-solid fa-arrow-left"})}),(0,f.jsx)("div",{className:"dn-video-breaker__videos-desktop-viewport",ref:x,children:(0,f.jsx)("div",{className:"dn-video-breaker__videos-desktop-container",style:{"--columns":h},children:_.map(e=>{const t=e?.headlines?.basic,n=(0,u.CP)(e),r=e?.websites?.[y]?.website_url,i=n&&n?.url?{ansImage:n,aspectRatio:"16:9",width:310,loading:"lazy",alt:t}:{src:w};return(0,f.jsxs)("div",{className:"dn-video-item",onClick:M,children:[(0,f.jsxs)("a",{className:"dn-video-item__video",href:(0,d.J1)(r),children:[(0,f.jsx)(c.A,m(m({},i),{},{className:"dn-video-item__thumbnail"})),(0,f.jsx)("div",{className:"dn-video-item__toolbar",children:(0,f.jsxs)("div",{className:"dn-video-item__button",children:[(0,f.jsx)("i",{className:"fa-solid fa-play"}),(0,f.jsx)("div",{className:"dn-video-item__timestamp",children:N(e.duration)})]})})]}),(0,f.jsx)("a",{className:"dn-video-item__headline",href:(0,d.J1)(r),children:t})]},e._id)})})}),(0,f.jsx)("button",{className:"dn-video-breaker__videos-desktop-button",onClick:T,disabled:k,children:(0,f.jsx)("i",{className:"fa-solid fa-arrow-right"})})]}),(0,f.jsxs)("div",{className:"dn-video-breaker__videos-mobile d-block d-md-none",children:[(0,f.jsxs)("div",{className:"dn-featured-video",onClick:M,children:[(0,f.jsxs)("a",{className:"dn-featured-video__video",href:(0,d.J1)(L),children:[(0,f.jsx)(c.A,m(m({},R),{},{className:"dn-featured-video__thumbnail"})),(0,f.jsx)("div",{className:"dn-featured-video__toolbar",children:(0,f.jsx)("div",{className:"dn-featured-video__button",children:(0,f.jsx)("i",{className:"fa-solid fa-play"})})})]}),(0,f.jsx)("a",{className:"dn-featured-video__headline",href:(0,d.J1)(L),children:A}),(0,f.jsx)("div",{className:"dn-featured-video__byline",children:D&&(0,f.jsxs)("span",{children:["By ",D]})})]}),(0,f.jsxs)("div",{className:"dn-video-feed",children:[(0,f.jsx)("div",{className:"dn-video-feed__title",children:"Up Next"}),(0,f.jsx)("div",{className:"dn-video-feed__items",children:_.slice(1,6).map(e=>{const t=e?.headlines?.basic,n=(0,u.CP)(e),r=e?.websites?.[y]?.website_url,i=n&&n?.url?{ansImage:n,aspectRatio:"16:9",width:310,loading:"lazy",alt:t}:{src:w};return(0,f.jsxs)("div",{className:"dn-video-feed__item",onClick:M,children:[(0,f.jsxs)("a",{className:"dn-video-feed__video",href:(0,d.J1)(r),children:[(0,f.jsx)(c.A,m(m({},i),{},{className:"dn-video-feed__thumbnail"})),(0,f.jsx)("div",{className:"dn-video-feed__toolbar",children:(0,f.jsxs)("div",{className:"dn-video-feed__button",children:[(0,f.jsx)("i",{className:"fa-solid fa-play"}),(0,f.jsx)("div",{className:"dn-video-feed__timestamp",children:N(e.duration)})]})})]}),(0,f.jsx)("a",{className:"dn-video-feed__headline",href:(0,d.J1)(r),children:t})]},e._id)})})]})]})]})};b.label="DN - Video Breaker",b.icon="picture-landscape",b.propTypes={customFields:o().shape({title:o().string.tag({label:"Title",defaultValue:"Videos"}),hideTitleDecoration:o().bool.tag({label:"Hide Title Decoration",defaultValue:!1}),linkTo:o().string.tag({label:"Link To",defaultValue:"/videos"}),limit:o().number.tag({label:"Limit",defaultValue:4}),desktopGridWidth:o().number.tag({label:"Desktop Grid Width",defaultValue:4}),listContentConfig:o().contentConfig("ans-feed").tag({group:"Configure Content",label:"Display Content Info",defaultValue:{contentService:"collections-for-lists",contentConfigValues:{content_alias:"",type:"video"}}})})},t.default=b},73111:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(40809),i=n(4321),o=n(87983),a=n.n(o),s=n(74848);const l=(e,t={language:"en",timeZone:"GMT",dateTimeFormat:"%B %d %Y %l:%M%p %Z"})=>{const n=new Date(e),{day:r,month:i,year:o,hour:a,minute:l,dayPeriod:c,timeZoneName:u}=new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",hour12:!0,timeZone:t.timeZone,timeZoneName:"short"}).formatToParts(n).reduce((e,t)=>
2(e[t.type]=t.value,e),{}),d={Mar:"March",Apr:"April",Jun:"June",Jul:"July",Sep:"Sept"}?.[i]??i,p=`${a}:${l} ${"PM"===c?"p.m.":"a.m."} ${u}`;return(0,s.jsxs)("span",{children:[`${d} ${r}, ${o}`,(0,s.jsx)("span",{className:"mx-1",children:"â¢"}),p]})},c=()=>{const{arcSite:e,globalContent:t}=(0,i.useFusionContext)(),{dateLocalization:n}=a()(e),o=t?.credits?.affiliation?.[0]?.name;return(0,s.jsx)("div",{className:"dn-video-byline",children:(0,s.jsx)("div",{className:"d-md-flex pb-5 justify-content-between",children:(0,s.jsx)("div",{className:"d-flex",children:(0,s.jsx)("div",{className:"byline-details align-self-center",children:(0,s.jsxs)("div",{className:"byline-names mb-0",children:[o&&(0,s.jsxs)(r.Fragment,{children:[(0,s.jsxs)("span",{children:["By ",o]}),(0,s.jsx)("span",{className:"mx-1",children:"â¢"})]}),(0,s.jsx)("time",{dateTime:t?.last_updated_date,className:"d-block d-md-inline-block mt-1 mt-md-0",children:l(t?.display_date,n)})]})})})})})};c.label="DN - Video Byline",c.icon="arc-headline";var u=c},64919:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(19674),o=n.n(i),a=n(14375),s=n(4321),l=n(84129),c=n(44745),u=n(35616),d=n(28408),p=n(73974),f=n(7770),h=n(21718),m=n(74848);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const v=e=>{const{title:t="Videos",hideTitleDecoration:n=!1,aspectRatio:i,hideVideoCaption:o,hideVideoCredits:g,hideVideoTitle:y,limit:v=2,desktopGridWidth:w=4,listContentConfig:{contentService:_="",contentConfigValues:x={}}={}}=e.customFields,{arcSite:j}=(0,s.useFusionContext)(),O=(0,u.T6)();let{content_elements:S=[]}=(0,a.useContent)({source:_,query:b(b({},x),{},{query:"type:video"}),filter:`{\n \tcontent_elements {\n \t\t_id\n \t\tcanonical_url\n \t\theadlines {\n \t\t\tbasic\n \t\t}\n subheadlines {\n basic\n }\n \t \twebsite_url\n description {\n basic\n }\n credits {\n by {\n additional_properties {\n original {\n byline\n }\n }\n org\n name\n url\n type\n }\n affiliation {\n name\n }\n }\n display_date\n taxonomy {\n primary_section {\n _id\n name\n path\n }\n }\n \t \t${(0,u.G)()}\n streams {\n height\n width\n filesize\n stream_type\n url\n bitrate\n provider\n }\n duration\n \t \twebsites {\n \t\t\t${j}
2 {\n \t\t\t\twebsite_url\n \t\t\t}\n \t \t}\n \t}\n }`})||{};const[k,C]=(0,r.useState)(S?.[0]||null),[P,T]=(0,r.useState)(!1),E=e=>{if(isNaN(e))return"0:00";const t=Math.floor(e/1e3),n=Math.floor(t/3600),r=Math.floor(t%3600/60).toString().padStart(2,"0"),i=Math.floor(t%60).toString().padStart(2,"0");return n>0?`${n}:${r}:${i}`:`${parseInt(r)}:${i}`};let N=i;const A=(0,u.CP)(k);if((!N||"---"===N)&&A){const e=A?.width,t=A?.height;N=e&&t?e/t:"16/9"}return(0,m.jsxs)("div",{className:"dn-video-grid",children:[(0,m.jsx)("div",{className:"container-wrapper",style:{marginTop:"0"},children:(0,m.jsx)("div",{className:"one-column-container container-fluid",style:{backgroundColor:"#000"},children:(0,m.jsx)("div",{className:"container",children:(0,m.jsx)("div",{className:"dn-video-grid__player",children:(0,m.jsx)(p.A,{aspectRatio:N,thumbnail:A,title:k?.headlines?.basic,caption:o?null:k?.description?.basic,credit:g?null:(0,f.Ql)(k?.credits),urls:k?.streams,playing:P,setPlaying:T,videoId:k?._id})})})})}),(0,m.jsxs)("div",{className:"container",children:[!y&&k?.headlines?.basic&&(0,m.jsx)("h3",{className:"dn-video-grid__player-title",children:k.headlines.basic}),!o&&k?.subheadlines?.basic&&(0,m.jsx)("p",{className:"dn-video-grid__player-description",children:k.subheadlines.basic})]}),(0,m.jsx)("div",{className:"container-wrapper",children:(0,m.jsxs)("div",{className:"container one-column-container",children:[t?n?(0,m.jsx)("div",{className:"dn-video-grid__heading",children:(0,m.jsx)("h3",{children:t})}):(0,m.jsx)("div",{className:"dn-video-grid__heading",children:(0,m.jsx)(l.A,{title:t})}):null,(0,m.jsx)("div",{className:"dn-video-grid__videos d-grid",children:S.slice(0,v).map(e=>{const t=e?.headlines?.basic,n=(0,u.CP)(e),r=e?.websites?.[j]?.website_url,i=e?.duration,o=k?._id===e._id,a=n&&n?.url?{ansImage:n,aspectRatio:"16:9",width:310,loading:"lazy",alt:t}:{src:O};return(0,m.jsxs)("div",{className:(0,h.A)("dn-video-item",o&&"selected",(!P||P&&!o)&&"paused"),onClick:()=>P&&o?T(!1):C(e),children:[(0,m.jsxs)("div",{className:"dn-video-item__video",children:[(0,m.jsx)(c.A,b(b({},a),{},{className:"dn-video-item__thumbnail"})),(0,m.jsx)("div",{className:"dn-video-item__toolbar",children:(0,m.jsx)("div",{className:"dn-video-item__meta",children:(0,m.jsxs)("button",{className:"dn-video-item__button",onClick:()=>{C(e),T(e=>!e)},children:[o&&P?(0,m.jsx)("i",{className:"fa-solid fa-pause"}):(0,m.jsx)("i",{className:"fa-solid fa-play"}),(0,m.jsx)("div",{className:"dn-video-item__timestamp",children:E(i)})]})})})]}),(0,m.jsx)("a",{className:"dn-video-item__headline",href:(0,d.J1)(r),children:t})]},e._id)})})]})})]})};v.label="DN - Video Grid",v.icon="picture-landscape",v.propTypes={customFields:o().shape({title:o().string.tag({label:"Title",defaultValue:"Videos"}),hideTitleDecoration:o().bool.tag({label:"Hide Title Decoration",defaultValue:!1}),limit:o().number.tag({label:"Limit",defaultValue:20}),desktopGridWidth:o().number.tag({label:"Grid Width",defaultValue:4}),listContentConfig:o().contentConfig("ans-feed").tag({group:"Configure Content",label:"Display Content Info",defaultValue:{contentService:"content-api-collections",contentConfigValues:{content_alias:""}}}),hideVideoTitle:o().bool.tag({description:"This display option applies to all Videos in the Video Center Player block",label:"Hide Title",defaultValue:!1,group:"Player Options"}),hideVideoCaption:o().bool.tag({description:"This display option applies to all Videos in the Video Center Player block",label:"Hide Caption",defaultValue:!1,group:"Player Options"}),hideVideoCredits:o().bool.tag({description:"This display option applies to all Videos in the Video Center Player block",label:"Hide Credits",defaultValue:!1,group:"Player Options"}),aspectRatio:o().oneOf(["---","16/9","9/16","1/1","4/3"]).isRequired.tag({description:"Aspect ratio to use in player (Defaults to the aspect ratio of the resolved video)",label:"Player aspect ratio",defaultValue:"---",group:"Player",labels:{"---":"Video Aspect Ratio","16/9":"16:9","9/16":"9:16","1/1":"1:1","4/3":"4:3"}})})},t.default=v},36260:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(79044),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.propTypes=r.A.propTypes,s.label="CN - Gallery",t.default=s},48073:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(79044),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.propTypes=r.A.propTypes,s.label="DN - Gallery",t.default=s},45630:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(79044),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.propTypes=r.A.propTypes,s.label="UB - Gallery",t.default=s},44009:function(e,t,n){"use strict";n.r(t);var r=n(12308),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.label="DN - Heading",s.icon=r.A.icon,s.propTypes=r.A.propTypes,t.default=s},59966:function(e,t,n){"use strict";n.r(t);var r=n(12308),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.label="UB - Heading",s.icon=r.A.icon,s.propTypes=r.A.propTypes,t.default=s},19584:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(19894),o=n.n(i),a=n(4321),s=n(59626),l=n.n(s),c=n(21718),u=n(74848);const d=({id:e})=>{let t=null;const{customFields:{HTML:n,disableBlock:i=!1,mobileOrder:o=0}}=(0,a.useFusionContext)(),s=`flex-block-${(0,r.useId)().replace(/:/g,"")}`;if(i)return null;let d="";return o&&(d=`@media(max-width:767.98px){.${s}{order:${o}}}`),n&&(t=(0,u.jsxs)(l(),{className:"custom-html-box",id:`html-block-${e}`,children:[d&&(0,u.jsx)("style",{dangerouslySetInnerHTML:{__html:d}}),(0,u.jsx)("div",{dangerouslySetInnerHTML:{__html:n},className:(0,c.A)(s,o>0&&"flex-block--ordered")})]})),t};d.label="HTML â Block",d.icon="programming-language-html",d.propTypes={customFields:o().shape({HTML:o().richtext,disableBlock:o().bool.tag({label:"Disable Block",defaultValue:!1}),mobileOrder:o().number.tag({label:"Mobile/App Order",description:"Controls display order on mobile. Lower numbers appear first. 0 = natural order.",defaultValue:0,min:0,group:"Flexbox Settings"})})},t.default=d},82184:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(35616),o=n(74848);const a=()=>{const{globalContent:e}=(0,r.useFusionContext)(),t=(0,i.kM)(e)||{},n=t?.type,a=e=>t=>t[e];let s=null,l=null;"video"===n?(s=t?.description?.basic||null,l=s&&"Video Credits: "):"image"===n&&(s=t.caption||null,l=s&&"Photo Credits: ");const c=t?.credits?.affiliation?.map(a("name")).join(", ")||t?.credits?.by?.map(a("name")).join(", ")||null,u=s&&c?(0,o.jsxs)(o.Fragment,{children:[s," ",(0,o.jsxs)("span",{className:"lead-art-credits__credit",children:[(0,o.jsx)("span",{className:"line"})," ",c]})]}):s||(c?(0,o.jsxs)(o.Fragment,{children:[l,c]}):null);return u&&(0,o.jsx)("div",{className:"lead-art-credits",children:u})};a.label="Lead Art Credits",a.icon="arc-headline",t.default=a},23896:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(19674),o=n.n(i),a=n(87983),s=n.n(a),l=n(4321),c=n(14375),u=n(25067),d=n(74848);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const m=e=>{const{imageId:t,imageAuth:n,imageUrl:i,twitterImageId:o,twitterImageAuth:a,twitterImageUrl:p}=e?.customFields||{},h=(0,l.useFusionContext)(),m=s()(h?.arcSite),{searchableField:g}=(0,c.useEditableContent)(),[b,y]=(0,r.useState)(!1),[v,w]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{"undefined"!=typeof window&&window.parent?.location?.href?.includes("pagebuilder/experiences")&&y(!0)},[]),b?(0,d.jsxs)(d.Fragment,{children:[!v&&(0,d.jsx)("button",{className:"btn btn-dark position-fixed meta-overrides__btn",onClick:()=>w(!0),children:"meta overrides"}),v&&(0,d.jsx)("div",{className:"modal fade show d-block meta-overrides",tabIndex:"-1",role:"dialog",children:(0,d.jsx)("div",{className:"modal-dialog modal-dialog-centered",children:(0,d.jsxs)("div",{className:"modal-content",children:[(0,d.jsxs)("div",{className:"modal-header",children:[(0,d.jsx)("h5",{className:"modal-title",children:"Meta Overrides"}),(0,d.jsx)("button",{type:"button",className:"btn-close","aria-label":"Close",onClick:()=>w(!1)})]}),(0,d.jsxs)("div",{className:"modal-body d-flex justify-content-center gap-3",children:[(0,d.jsxs)("div",{className:"d-flex flex-column align-items-center image-container",children:["Search Image:",(0,d.jsx)("br",{}),(0,d.jsx)("img",f({src:(0,u.Ny)(m.websiteDomain,i,400)},g({imageId:"_id",imageAuth:"auth.1",imageUrl:"additional_properties.resizeUrl"})))]}),(0,d.jsx)("br",{}),(0,d.jsxs)("div",{className:"d-flex flex-column align-items-center image-container",children:["Social Image:",(0,d.jsx)("br",{}),(0,d.jsx)("img",f({src:(0,u.Ny)(m.websiteDomain,p,400)},g({twitterImageId:"_id",twitterImageAuth:"auth.1",twitterImageUrl:"additional_properties.resizeUrl"})))]})]})]})})})]}):null};m.label="Meta Overrides",m.icon="picture-landscape",m.propTypes={customFields:o().shape({title:o().string.tag({label:"Search Title"}),description:o().string.tag({label:"Search Description"}),imageUrl:o().string.tag({label:"Search Image Url",description:'To change, click the "meta overrides" at the bottom of the page and click the "Replace image" button.'}),twitterTitle:o().string.tag({label:"Social Title"}),twitterDescription:o().string.tag({label:"Social Description"}),twitterImageUrl:o().string.tag({label:"Social Image Url",description:'To change, click the "meta overrides" at the bottom of the page and click the "Replace image" button.'}
2),pageType:o().oneOf(["page","event"]).tag({label:"Page Type",labels:{page:"Page",event:"Event"},defaultValue:"page"}),eventLocation:o().string.tag({label:"Event Location",description:"The location of the event."}),eventStartDate:o().dateTime.tag({label:"Event Start Date"}),indexPage:o().oneOf(["yes","no"]).tag({label:"Index Page",labels:{yes:"Yes",no:"No"},defaultValue:"yes"})})},t.default=m},96569:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(68352),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.label="DN - Paragraph",s.icon=r.A.icon,s.propTypes=r.A.propTypes,t.default=s},91598:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(68352),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.label="UB - Paragraph",s.icon=r.A.icon,s.propTypes=r.A.propTypes,t.default=s},83910:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(40809),i=n(21718),o=n(74848);function a(){const[e,t]=(0,r.useState)(!1),[n,a]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{const e=new MutationObserver(()=>{const e=document.querySelector("#piano-fixed-banner iframe");e&&(e.onload=()=>{console.log("iframe Loaded!"),t(!0)})}),n=document.getElementById("piano-fixed-banner");return n&&e.observe(n,{childList:!0}),()=>e.disconnect()},[]),(0,o.jsx)("div",{id:"piano-fixed__wrapper",className:(0,i.A)(!n&&"d-none",e&&"open"),children:(0,o.jsxs)("div",{className:"container position-relative",children:[(0,o.jsx)("button",{id:"piano-fixed__wrapper__close-button",onClick:function(){t(!1),setTimeout(()=>a(!1),1e3)},children:(0,o.jsx)("img",{alt:"close",src:"https://media.thechurchnews.com/bs/images/icon-close.png"})}),(0,o.jsx)("div",{id:"piano-fixed-banner"})]})})}a.label="Piano Fixed Banner",a.icon="arc-footer"},76192:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l}});var r=n(40809),i=n(19674),o=n.n(i),a=n(21718),s=n(74848);function l(e){const{identifier:t,disableBlock:n=!1,mobileOrder:i=0}=e.customFields,o=`flex-block-${(0,r.useId)().replace(/:/g,"")}`;if(n)return null;let l="";return i&&(l=`@media(max-width:767.98px){.${o}{order:${i}}}`),t&&(0,s.jsxs)(s.Fragment,{children:[l&&(0,s.jsx)("style",{dangerouslySetInnerHTML:{__html:l}}),(0,s.jsx)("div",{id:t,className:(0,a.A)("piano-inline-target",o,i>0&&"flex-block--ordered")})]})}l.label="Piano Inline Target",l.icon="pathfinder-minus-front",l.propTypes={customFields:o().shape({identifier:o().string.tag({label:"Identifier",required:!0}),mobileOrder:o().number.tag({label:"Mobile/App Order",description:"Controls display order on mobile. Lower numbers appear first. 0 = natural order.",defaultValue:0,min:0,group:"Flexbox Settings"}),disableBlock:o().bool.tag({label:"Disable Block",defaultValue:!1})})}},20620:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(76192),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.default,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.label="DN - Piano Inline Target",s.icon=r.default.icon,s.propTypes=r.default.propTypes,t.default=s},36679:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(7770),i=n(79753),o=n(74848);const a=()=>{const e=(0,r.il)();return(0,o.jsx)(i.A,{headerText:e.t("cn-myaccount.manageAccount")})};a.label="CN - My Account",a.icon="browser-page-account",t.default=a},15056:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(79753),i=n(74848);const o=()=>(0,i.jsx)(r.A,{});o.label="DN - My Account",o.icon="browser-page-account",t.default=o},79753:function(e,t,n){"use strict";var r=n(40809),i=n(4321),o=n(40849),a=n(28408),s=n(41878),l=n(74848);t.A=({headerText:e="Manage Account"})=>{const t=(0,a.J1)("/"),{arcSite:n,metaValue:c}=(0,i.useFusionContext)(),u=c("view_context");return(0,r.useEffect)(()=>{window.addEventListener("message",e=>{if(!/(\.deseret\.com|\.thechurchnews\.com|\.utahbusiness\.com|\.tinypass\.com|\.arc-cdn\.net|localhost)/.test(e.origin))return;let n,r=null;try{n=JSON.parse(e.data)}catch(e){}"pianoIdProfileUpdated"===n?.event?((0,o.do)(),window.dispatchEvent(new Event("deseret:piano:profile_updated"))):"loaded"===n?.event&&n?.iframeId?r=n?.iframeId:"app"!==u&&n?.sender?.startsWith("piano-id")&&"closed"===n?.event&&(window.tp.user.isUserValid()?window.location.reload():window.location.href=t);const i=r||document?.querySelector("#my-account-contents iframe")?.getAttribute("id");e.data?.myAccount&&("myaccount-simplecirc-click"===e.data?.myAccount?.type?window.gtag("event","myaccount-simplecirc-click"):"get-simplecirc-link"===e.data?.myAccount?.type&&i&&window.tp?.pianoId?.loadExtendedUser({extendedUserLoaded:function(e){for(const t in e.custom_field_values){const n=e.custom_field_values[t].field_name,r=e.custom_field_values[t].value;if("simplecirc_subscriber_login_link"===n){const e=document.getElementById(i);e&&e.contentWindow.postMessage({myAccount:{loginLink:r}},"*")}}},formName:"simplecirc"}))}),window.tp=window.tp||[],window.tp.push(["init",function(){window.tp.user.isUserValid()||"app"===u?window.tp.myaccount.show({displayMode:"inline",containerSelector:"#my-account-contents"}):window.tp.pianoId?.show({screen:"login",displayMode:"modal",loginSuccess:()=>{Promise.all([(0,s.l0)(),(0,o.qz)()]).then(()=>{window.location.reload()})},registrationSuccess:e=>{window.dn.setCookie("_pc_registrationType","SignInReg",{expires:Date((new Date).getTime()+36e5)}),window.location.reload()}})}])},[]),(0,l.jsxs)("div",{className:`my-account-${n}`,children:[(0,l.jsx)("div",{className:`my-account-${n}--header`,children:e}),(0,l.jsx)("div",{className:`my-account-${n}--contents`,id:"my-account-contents"})]})}},37821:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(79753),i=n(74848);const o=()=>(0,i.jsx)(r.A,{});o.label="UB - My Account",o.icon="browser-page-account",t.default=o},6110:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});n(40809);var r=n(19674),i=n.n(r),o=n(74848);function a(e){const{identifier:t}=e.customFields;return t&&(0,o.jsx)("div",{id:t,className:"piano-podcast-widget"})}a.label="DN - Piano Podcast Widget",a.icon="pathfinder-minus-front",a.propTypes={customFields:i().shape({identifier:i().string.tag({label:"Identifier",required:!0})})}},40907:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(74848);t.default=()=>(0,r.jsx)("div",{children:"CNMembership"})},88288:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});n(40809);var r=n(4321),i=n(74848);var o=()=>{const{arcSite:e}=(0,r.useFusionContext)();return(0,i.jsx)("div",{className:`membership-${e}`,children:(0,i.jsx)("div",{className:`membership-${e}--contents`,id:"membership-contents"})})};const a=()=>(0,i.jsx)(o,{});a.label="DN - Membership",a.icon="";var s=a},98137:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(74848);t.default=()=>(0,r.jsx)("div",{children:"UBMemebership"})},52657:function(e,t,n){"use strict";n.d(t,{dA:function(){return i}});const r=(e="")=>{const t=String(e||"").trim();return t?/^[a-z][a-z0-9+.-]*:/i.test(t)?t:`https://${t}`:""},i=(e="")=>{const t=r(e);if(!t)return"";try{const{protocol:e}=new URL(t);return"https:"===e||"http:"===e?t:""}catch(e){return""}}},74878:function(e,t,n){"use strict";n.d(t,{G8:function(){return p},Sc:function(){return f}});var r=n(52657);const i=/^(s|t|ref_src|ref_url|igsh|igshid|si|mibextid|rdid|share_url|fbclid|gclid|is_from_webapp|sender_device|web_id|refer|_r|_t|utm_[a-z_]+)$/i,o=/^did:[a-z]+:[a-zA-Z0-9._:%-]+$/,a={x:"X",instagram:"Instagram",facebook:"Facebook",linkedin:"LinkedIn",bluesky:"Bluesky",truthsocial:"Truth Social",threads:"Threads",tiktok:"TikTok"};function s(e){return e.hostname.toLowerCase().replace(/^(www|m|mobile)\./,"")}function l(e){const t=String(e||"").trim();if(!t)return null;try{return new URL(/^https?:\/\//i.test(t)?t:`https://${t}`)}catch{return null}}function c(e,t){const n=new URL(e.toString());
2return n.pathname=t,n.hash="",[...n.searchParams.keys()].forEach(e=>{i.test(e)&&n.searchParams.delete(e)}),n.toString()}const u=[function(e){const t=s(e);if("x.com"!==t&&"twitter.com"!==t)return null;const n=e.pathname.match(/^\/([A-Za-z0-9_]{1,15})\/status(?:es)?\/(\d{1,25})(?:\/(?:photo|video)\/\d+)?\/?$/);return n?{platform:"x",postId:n[2],url:c(e,`/${n[1]}/status/${n[2]}`)}:null},function(e){if("instagram.com"!==s(e))return null;const t=e.pathname.match(/^\/(?:[A-Za-z0-9._]+\/)?(p|reel|reels|tv)\/([A-Za-z0-9_-]{5,})\/?$/);if(!t)return null;const n="reels"===t[1]?"reel":t[1];return{platform:"instagram",postId:t[2],url:c(e,`/${n}/${t[2]}/`)}},function(e){const t=s(e);if("fb.watch"===t){const t=e.pathname.replace(/\//g,"");return t?{platform:"facebook",postId:t,url:c(e,e.pathname.replace(/\/$/,"")),share:!0}:null}if("facebook.com"!==t)return null;const n=e.pathname;let r=n.match(/^\/([^/]+)\/(?:posts|videos|photos|reels)\/([A-Za-z0-9._:-]+)\/?$/);if(r)return{platform:"facebook",postId:r[2],url:c(e,n.replace(/\/$/,""))};if(r=n.match(/^\/reel\/([A-Za-z0-9]+)\/?$/),r)return{platform:"facebook",postId:r[1],url:c(e,`/reel/${r[1]}`)};if(/^\/watch\/?$/.test(n)){const t=e.searchParams.get("v");if(t&&/^[A-Za-z0-9]+$/.test(t))return{platform:"facebook",postId:t,url:c(e,"/watch")}}if(r=n.match(/^\/share\/(?:p|v|r)\/([A-Za-z0-9_-]+)\/?$/),r)return{platform:"facebook",postId:r[1],url:c(e,n.replace(/\/$/,"")),share:!0};if(/^\/permalink\.php$/.test(n)||/^\/story\.php$/.test(n)){const t=e.searchParams.get("story_fbid");if(t)return{platform:"facebook",postId:t,url:c(e,e.pathname)}}return null},function(e){if("linkedin.com"!==s(e))return null;let t;try{t=decodeURIComponent(e.pathname)}catch(n){t=e.pathname}let n=t.match(/^\/feed\/update\/urn:li:(?:activity|share|ugcPost):(\d{5,})\/?$/);return n?{platform:"linkedin",postId:n[1],url:c(e,t.replace(/\/$/,""))}:(n=t.match(/^\/posts\/[^/]*?(?:activity[-:])(\d{5,})/),n?{platform:"linkedin",postId:n[1],url:c(e,t.replace(/\/$/,""))}:null)},function(e){if("bsky.app"!==s(e))return null;const t=e.pathname.match(/^\/profile\/([^/]+)\/post\/([A-Za-z0-9]+)\/?$/);if(!t)return null;const n=t[1],r={platform:"bluesky",postId:t[2],url:c(e,`/profile/${n}/post/${t[2]}`)};return o.test(n)?r.did=n:r.author=n,r},function(e){if("truthsocial.com"!==s(e))return null;const t=e.pathname.match(/^\/@([A-Za-z0-9_.]+)\/(?:posts\/)?(\d{5,})\/?$/);return t?{platform:"truthsocial",postId:t[2],url:c(e,`/@${t[1]}/${t[2]}`)}:null},function(e){const t=s(e);if("threads.net"!==t&&"threads.com"!==t)return null;const n=e.pathname.match(/^\/@([A-Za-z0-9._]+)\/post\/([A-Za-z0-9_-]{5,})\/?$/);return n?{platform:"threads",postId:n[2],url:c(e,`/@${n[1]}/post/${n[2]}`)}:null},function(e){if("tiktok.com"!==s(e))return null;const t=e.pathname.match(/^\/@([A-Za-z0-9._]+)\/(video|photo)\/(\d{5,})\/?$/);return t?{platform:"tiktok",postId:t[3],url:c(e,`/@${t[1]}/${t[2]}/${t[3]}`)}:null}];function d(e){const t=l(e);if(!t)return null;if("http:"!==t.protocol&&"https:"!==t.protocol)return null;for(const e of u){const n=e(t);if(n)return n}return null}function p(e){return a[e]||e||""}function f(e){if(!e||!e.platform||!e.url)return"";const t=(0,r.dA)(e.url);if(!t)return"";const n=d(t);if(!n||n.platform!==e.platform)return"";const i=h(t),o=function(e,t){return`<a href="${e}">View on ${p(t)}</a>`}(i,e.platform);switch(e.platform){case"x":return`<blockquote class="twitter-tweet">${o}</blockquote><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"><\/script>`;case"instagram":return`<blockquote class="instagram-media" data-instgrm-permalink="${i}" data-instgrm-version="14">${o}</blockquote><script async src="https://www.instagram.com/embed.js"><\/script>`;case"threads":return`<blockquote class="text-post-media" data-text-post-permalink="${i}" data-text-post-version="0">${o}</blockquote><script async src="https://www.threads.net/embed.js"><\/script>`;case"facebook":return e.share?"":`<iframe class="fb-post-frame" src="https://www.facebook.com/plugins/post.php?href=${encodeURIComponent(t)}&show_text=true&width=500" width="500" height="600" style="border:none;overflow:hidden" scrolling="no" frameborder="0" title="Embedded Facebook post" allowfullscreen="true" loading="lazy" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>`;case"linkedin":return`<iframe class="li-post-frame" src="https://www.linkedin.com/embed/feed/update/urn:li:activity:${h(e.postId)}" width="504" height="600" frameborder="0" allowfullscreen="true" loading="lazy" title="Embedded LinkedIn post"></iframe>`;case"truthsocial":return`<iframe class="ts-post-frame" src="${h(`${function(e){try{const t=new URL(e);return t.search="",t.hash="",t.toString().replace(/\/$/,"")}catch(t){return String(e||"").replace(/[?#].*$/,"").replace(/\/$/,"")}}(t)}/embed`)}" width="500" height="600" frameborder="0" allowfullscreen="true" loading="lazy" title="Embedded Truth Social post"></iframe>`;case"tiktok":return`<blockquote class="tiktok-embed" cite="${i}" data-video-id="${h(e.postId)}" style="max-width:605px; min-width:325px;"><section>${o}</section></blockquote><script async src="https://www.tiktok.com/embed.js"><\/script>`;case"bluesky":return e.did?`<blockquote class="bluesky-embed" data-bluesky-uri="at://${h(e.did)}/app.bsky.feed.post/${h(e.postId)}">${o}</blockquote><script async src="https://embed.bsky.app/static/embed.js" charset="utf-8"><\/script>`:"";default:return""}}function h(e){return String(e).replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}}
2,68868:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var r=n(40809),i=n(4321),o=n(74848);const a="make-preferred-button-click",s=31536e3,l="make_preferred_button_click",c={deseretnews:{label:"Deseret News",domain:"deseret.com"},churchnews:{label:"Church News",domain:"thechurchnews.com"},"churchnews-es":{label:"Church News",domain:"es.thechurchnews.com"},utahbusiness:{label:"Utah Business",domain:"utahbusiness.com"}};const u=()=>(0,o.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,o.jsx)("path",{d:"M17.64 9.2c0-.637-.057-1.251-.164-1.84H9v3.481h4.844a4.14 4.14 0 0 1-1.796 2.716v2.259h2.908c1.702-1.567 2.684-3.875 2.684-6.615Z",fill:"#4285F4"}),(0,o.jsx)("path",{d:"M9 18c2.43 0 4.467-.806 5.956-2.18l-2.908-2.259c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H.957v2.332A8.997 8.997 0 0 0 9 18Z",fill:"#34A853"}),(0,o.jsx)("path",{d:"M3.964 10.71A5.41 5.41 0 0 1 3.682 9c0-.593.102-1.17.282-1.71V4.958H.957A8.997 8.997 0 0 0 0 9c0 1.452.348 2.827.957 4.042l3.007-2.332Z",fill:"#FBBC05"}),(0,o.jsx)("path",{d:"M9 3.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C13.463.891 11.426 0 9 0A8.997 8.997 0 0 0 .957 4.958L3.964 6.29C4.672 4.163 6.656 2.58 9 3.58Z",fill:"#EA4335"})]});function d(){const{arcSite:e}=(0,i.useFusionContext)(),[t,n]=(0,r.useState)(()=>"undefined"!=typeof document&&void 0!==window.dn.getCookie(a)),[d,p]=(0,r.useState)(!1),f=c[e];(0,r.useEffect)(()=>{if("undefined"==typeof window||!f)return;if(void 0!==window.dn.getCookie(a))return n(!0),void p(!0);window.tp=window.tp||[],window.tp.push(["init",()=>{(async function(){if(void 0!==window.dn.getCookie(a))return!0;let e=!1;return window.tp?.pianoId?.isUserValid()&&(e=await new Promise(e=>{window.tp.pianoId.loadExtendedUser({extendedUserLoaded:t=>{for(const n of t?.custom_field_values||[])if(n.field_name===l)return e("true"===n.value);e(!1)}})}).catch(console.error)),e})().then(e=>{e&&n(!0),p(!0)})}])},[]);return(0,o.jsx)("div",{className:`preferred-google-badge preferred-google-badge--${e} ${!t&&d&&f?"":"preferred-google-badge__hidden"}`,children:(0,o.jsxs)("a",{href:`https://google.com/preferences/source?q=${f?.domain}`,target:"_blank",rel:"noopener",onClick:()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"make_preferred_button_click",click_type:"Preferred Google Badge",site:e}),function(){if(window.dn.setCookie(a,"true",{maxAge:s}),window.tp?.pianoId?.isUserValid()){const e=new URLSearchParams({lang:"en_US",aid:window.tp.aid});fetch(window.tp.pianoIdUrl+"/id/api/v1/identity/userinfo?"+e.toString(),{method:"PUT",headers:{"Content-Type":"application/json",Authorization:window.tp.pianoId.getToken()},body:JSON.stringify({uid:window.tp.pianoId.getUser().uid,custom_field_values:[{field_name:l,value:"true"}]})}).catch(console.error)}}(),n(!0)},className:"preferred-google-badge__button","aria-label":`See More ${f?.label} Stories in Google Search (opens in new tab)`,children:[(0,o.jsx)(u,{}),"See More ",f.label," Stories In Search"]})})}d.label="Preferred Google Badge",d.icon="arc-search"},40900:function(e,t,n){"use strict";n.r(t);var r=n(97161),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEac
2h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.label="DN - Showcase Honoree",s.icon=r.A.icon,s.propTypes=r.A.propTypes,t.default=s},19889:function(e,t,n){"use strict";n.r(t);const r=n(97161).A;r.label="UB - Showcase Honoree",t.default=r},77120:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return h}});n(40809);var r=n(19674),i=n.n(r),o=n(25067),a=n(4321),s=n(87983),l=n.n(s),c=n(14375),u=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f({customFields:e}){const{imageAuth:t,imageId:n,imageUrl:r,additionalClasses:i,additionalStyles:s}=e||{},{searchableField:f}=(0,c.useEditableContent)(),h=(0,a.useFusionContext)(),{arcSite:m}=h,g=l()?.(m);return(0,u.jsx)("img",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({className:`single-image ${Array.isArray(i)?i.join(" "):""}`,style:s,src:(0,o.Lt)(g.websiteDomain,n,t,r,1e3),alt:"product"},f({imageId:"_id",imageAuth:"auth.1",imageUrl:"url"})))}f.label="Single Image",f.icon="picture-flower-1",f.propTypes={customFields:i().shape({imageAuth:i().string.tag({label:"Product Image AUTH",hidden:!0}),imageId:i().disabled.tag({label:"Product Image ID",description:'To change, hover over the product image and click the "Replace image" button.',hidden:!0}),additionalClasses:i().list.tag({label:"Additional Classes"}),additionalStyles:i().kvp.tag({label:"Additional Styles"})})};var h=f},71921:function(e,t,n){"use strict";n.r(t);var r=n(29820),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.label="DN - Sponsor Logo",s.propTypes=r.A.propTypes,t.default=s},33494:function(e,t,n){"use strict";n.r(t);var r=n(29820),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.label="UB - Sponsor Logo",s.propTypes=r.A.propTypes,t.default=s},79587:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n.n(r),o=n(74848);const a="utah-business/stock-ticker/sandbox-data.json",s="utah-business/stock-ticker/data.json",l=()=>{const[e,t]=(0,r.useState)(0),[n,l]=(0,r.useState)(null),[c,u]=(0,r.useState)(null),[d,p]=(0,r.useState)(8),f=(0,r.useRef)(null),[h,m]=(0,r.useState)({stocks:[],config:{},error:!1,loading:!0});(0,r.useEffect)(()=>{const e=async()=>{const e=`https://uploads.deseret.com/${"undefined"!=typeof window&&(window.location.hostname.includes("sandbox")||window.location.hostname.includes("localhost"))?a:s}`;console.log(`[stock-ticker] Client-side fetch from: ${e}`);try{const t=await fetch(e,{headers:{Accept:"application/json"},cache:"no-store"});if(!t.ok)throw new Error(`HTTP ${t.status}: ${t.statusText}`);const n=await t.json();m({stocks:Array.isArray(n.stocks)?n.stocks:[],config:n.config||{},lastUpdated:n.lastUpdated,error:!1,loading:!1}),console.log(`[stock-ticker] Successfully loaded ${n.symbolCount||0} stocks`)}catch(e){console.error("[stock-ticker] Fetch error:",e),m({stocks:[],config:{},error:!0,loading:!1})}};e();const t=setInterval(e,3e5);return()=>clearInterval(t)},[]);const{stocks:g=[],config:b={},error:y=!1,loading:v=!1}=h,{enabled:w=!0,colorScheme:_="grey"}=b,x=g.filter(e=>e&&"string"==typeof e.symbol&&"number"==typeof e.changePercent&&!isNaN(e.changePercent));(0,r.useEffect)(()=>{const e=()=>{const e=window.innerWidth;p(e<768?3:e<1024?7:e<1440?8:9)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const j=Math.max(0,x.length-d);if((0,r.useEffect)(()=>{e>j&&t(0)},[e,j]),v)return null;if(!w||y||0===x.length)return null;const O=()=>{t(e=>Math.max(0,e-1))},S=()=>{t(e=>Math.min(j,e+1))},k=x.slice(e,e+d),C=Math.ceil(x.length/d),P=Math.floor(e/d);return(0,o.jsxs)("div",{className:`stock-ticker stock-ticker--${_}`,children:[(0,o.jsxs)("div",{className:"stock-ticker__container",children:[(0,o.jsx)("button",{className:"stock-ticker__arrow stock-ticker__arrow--prev",onClick:O,disabled:0===e,"aria-label":"Previous stocks",children:(0,o.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,o.jsx)("path",{d:"M15 18L9 12L15 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,o.jsx)("div",{className:"stock-ticker__list",ref:f,onTouchStart:e=>{u(null),l(e.targetTouches[0].clientX)},onTouchMove:e=>{u(e.targetTouches[0].clientX)},onTouchEnd:()=>{if(!n||!c)return;const r=n-c,i=r>50,o=r<-50;if(3===d){const e=Math.floor((x.length-1)/d)*d;i&&t(t=>Math.min(e,t+d)),o&&t(e=>Math.max(0,e-d))}else i&&e<j&&S(),o&&e>0&&O()},children:k.map((e,t)=>{const n=e.changePercent>=0,r=Math.abs(e.changePercent).toFixed(2);return(0,o.jsxs)(i().Fragment,{children:[t>0&&(0,o.jsx)("div",{className:"stock-ticker__divider"}),(0,o.jsxs)("div",{className:"stock-ticker__item",children:[(0,o.jsx)("div",{className:"stock-ticker__symbol",children:e.symbol}),(0,o.jsxs)("div",{className:"stock-ticker__change-container",children:[(0,o.jsx)("svg",{className:"stock-ticker__arrow-icon "+(n?"stock-ticker__arrow-icon--positive":"stock-ticker__arrow-icon--negative"),width:"8",height:"5",viewBox:"0 0 8 5","aria-hidden":"true",children:n?(0,o.jsx)("path",{d:"M0.235526 3.57812L3.42183 0.244792C3.60007 0.0807292 3.80564 0 4.01121 0C4.21678 0 4.42184 0.0813802 4.57853 0.244141L7.76483 3.57747C7.99436 3.81591 8.06315 4.17409 7.93888 4.48581C7.81462 4.79753 7.54347 5 7.19751 5L0.802592 5C0.478196 5 0.185387 4.79737 0.0610436 4.48568C-0.0633 4.17398 0.00597391 3.8151 0.235526 3.57812Z",fill:"currentColor"}):(0,o.jsx)("path",{d:"M7.76447 1.42188L4.57817 4.75521C4.39993 4.91927 4.19436 5 3.98879 5C3.78322 5 3.57816 4.91862 3.42147 4.75586L0.235168 1.42253C0.00563598 1.18409 -0.0631533 0.825915 0.0611153 0.514193C0.185384 0.202474 0.456533 0 0.802489 0L7.19741 0C7.5218 0 7.81461 0.20263 7.93896 0.514323C8.0633 0.826016 7.99403 1.1849 7.76447 1.42188Z",fill:"currentColor"})}),(0,o.jsxs)("div",{className:"stock-ticker__change "+(n?"stock-ticker__change--positive":"stock-ticker__change--negative"),"aria-label":`${e.symbol} ${n?"up":"down"} ${r} percent`,children:[n?"+":"-",r,"%"]})]})]})]},`${e.symbol}-${t}`)})}),(0,o.jsx)("button",{className:"stock-ticker__arrow stock-ticker__arrow--next",onClick:S,disabled:e>=j,"aria-label":"Next stocks",children:(0,o.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,o.jsx)("path",{d:"M9 18L15 12L9 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),C>1&&(0,o.jsx)("div",{className:"stock-ticker__scroll-dots-wrapper d-md-none",children:Array.from({length:C}).map((e,t)=>(0,o.jsx)("i",{className:`fa-${P===t?"solid":"regular"} fa-circle`,"aria-label":`Page ${t+1} of ${C}`},t))})]})};l.label="UB - Stock Ticker",l.icon="line-chart-up",t.default=l},60660:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(74848);const o=()=>{const{globalContent:e}=(0,r.useFusionContext)();return e?.subheadlines?.basic?(0,i.jsx)("h2",{className:"cn-subheadline",dangerouslySetInnerHTML:{__html:e.subheadlines.basic}}):null};o.label="CN - Subheadline",o.icon="arc-headline",t.default=o},52345:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(74848);const o=()=>{const{globalContent:e}=(0,r.useFusionContext)();return e?.subheadlines?.basic?(0,i.jsx)("h2",{className:"dn-subheadline",dangerouslySetInnerHTML:{__html:e.subheadlines.basic}}):null};o.label="DN - Subheadline",o.icon="arc-headline",t.default=o},15086:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(4321),i=n(74848);const o=()=>{const{globalContent:e}=(0,r.useFusionContext)();return e?.subheadlines?.basic?(0,i.jsx)("h2",{className:"ub-subheadline",dangerouslySetInnerHTML:{__html:e.subheadlines.basic}}):null};o.label="UB - Subheadline",o.icon="arc-headline",t.default=o},26464:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(63801),a=n(74848);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?s(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=e=>(0,a.jsx)(o.A,l({},e));u.label="DN - Submenu",u.icon="list-menu",u.propTypes={customFields:i().shape(l(l({},o.G),{},{menuColor:i().oneOf(["gold"]).tag({label:"Menu Color",defaultValue:"gold",group:"Configuration"}),isOnTopOfPage:i().boolean.tag({label:"Pin to Top of Page",description:"Option to pin the submenu to the top of the page",defaultValue:!1})}))},u.description='\nCreating a Menu (up to 5 items):\n\nRequired Menu Item:\n1. Enter the display text in "Menu Label"\n2. For anchor links to page sections:\n - Add a heading block and set its "heading_name" (e.g., "speakers")\n - Enter "#speakers" in "Menu Link"\n - Check "Is Page Section?"\n3. For external links:\n - Enter the full URL in "Menu Link" (e.g., https://deseret.com)\n - Leave "Is Page Section?" unchecked\n\nAdditional Menu Items (Optional):\n- Find these under "Additional Menu Items" section\n- Follow the same steps as above for each item\n- Add up to 4 additional menu items\n\nMenu Color:\n- Choose menu color (currently only Gold is available)\n',t.default=u},37773:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(19674),i=n.n(r),o=n(63801),a=n(74848);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=e=>(0,a.jsx)(o.A,l({},e));u.label="UB - Submenu",u.icon="list-menu",u.propTypes={customFields:i().shape(l(l({},o.G),{},{menuColor:i().oneOf(["blue","purple","gold"]).tag({label:"Menu Color",defaultValue:"blue"}),isOnTopOfPage:i().boolean.tag({label:"Pin to Top of Page",description:"Option to pin the submenu to the top of the page",defaultValue:!1})}))},u.description='\nCreating a Menu (up to 5 items):\n\nRequired Menu Item:\n1. Enter the display text in "Menu Label"\n2. For anchor links to page sections:\n - Add a heading block and set its "heading_name" (e.g., "speakers")\n - Enter "#speakers" in "Menu Link"\n - Check "Is Page Section?"\n3. For external links:\n - Enter the full URL in "Menu Link" (e.g., https://utahbusiness.com)\n - Leave "Is Page Section?" unchecked\n\nAdditional Menu Items (Optional):\n- Find these under "Additional Menu Items" section\n- Follow the same steps as above for each item\n- Add up to 4 additional menu items\n\nMenu Color:\n- Choose between Blue, Purple, or Gold\n',t.default=u},68598:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(8490),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.default,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.label="DN - Video Player",s.icon=r.default.icon,s.propTypes=r.default.propTypes,t.default=s},8490:function(e,t,n){"use strict";n.r(t);var r=n(40809),i=n(4321),o=n(14375),a=n(19674),s=n.n(a),l=n(7770),c=n(73974),u=n(35616),d=n(74848);function p({customFields:e={}}){const{aspectRatio:t,caption:n,hideVideoCaption:a,hideVideoCredits:s,hideVideoTitle:p,inheritGlobalContent:f,title:h,websiteURL:m}=e,{globalContent:g={},arcSite:b}=(0,i.useFusionContext)(),[y,v]=(0,r.useState)(!1),w=m?{website_url:m,site:b}:e?.itemContentConfig?.contentConfigValues||null,_=m?"content-api":e?.itemContentConfig?.contentService||null,x=(0,o.useContent)({query:f?null:w,source:f?null:_}),j=f?g:x,O=f?j?.headlines?.basic:h||j?.headlines?.basic,S=f?j?.description?.basic:n||j?.description?.basic;let k=t;const C=(0,u.CP)(j);if((!k||"---"===k)&&C){const e=C?.width,t=C?.height;k=e&&t?e/t:"16/9"}return(0,d.jsx)("div",{children:(0,d.jsx)(c.A,{aspectRatio:k,thumbnail:C,title:O,caption:a?null:S,credit:s?null:(0,l.Ql)(j?.credits),urls:j?.streams,playing:y,setPlaying:v,videoId:j?._id})})}p.propTypes={customFields:s().shape({websiteURL:s().string.tag({label:"Display Content Info",hidden:!0,group:"Configure Content"}),itemContentConfig:s().contentConfig("ans-item").tag({label:"Video Content",group:"Configure Content"}),inheritGlobalContent:s().bool.tag({label:"Inherit global content",defaultValue:!0,group:"Configure Content"}),hideVideoTitle:s().bool.tag({description:"This display option applies to all Videos in the Video Center Player block",label:"Hide Title",defaultValue:!1,group:"Video Subtext Options"}),hideVideoCaption:s().bool.tag({description:"This display option applies to all Videos in the Video Center Player block",label:"Hide Caption",defaultValue:!1,group:"Video Subtext Options"}),hideVideoCredits:s().bool.tag({description:"This display option applies to all Videos in the Video Center Player block",label:"Hide Credits",defaultValue:!1,group:"Video Subtext Options"}),aspectRatio:s().oneOf(["---","16/9","9/16","1/1","4/3"]).isRequired.tag({description:"Aspect ratio to use in player (Defaults to the aspect ratio of the resolved video)",label:"Player aspect ratio",defaultValue:"---",group:"Display Settings",labels:{"---":"Video Aspect Ratio","16/9":"16:9","9/16":"9:16","1/1":"1:1","4/3":"4:3"}}),title:s().string.tag({label:"Title",group:"Display Settings"}),caption:s().string.tag({label:"Caption",group:"Display Settings"})})},p.icon="video-player-adjust",t.default=p},88583:function(e,t,n){"use strict";n.r(t);n(40809);var r=n(8490),i=n(74848);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>(0,i.jsx)(r.default,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e));s.label="UB - Video Player",s.icon=r.default.icon,s.propTypes=r.default.propTypes,t.default=s},40188:function(e,t,n){"use strict";n.r(t);var r=n(81877),i=n(87762),o=n(74848);const a=e=>{const[t,n,a,s,l]=e.children;return(0,r.A)(),(0,i.A)(),(0,o.jsxs)("div",{className:"dn-headline-above-article-layout",children:[(0,o.jsx)("header",{children:t}),(0,o.jsx)("main",{children:(0,o.jsxs)("article",{children:[(0,o.jsx)("div",{className:"container-wrapper article-wrapper",children:(0,o.jsx)("div",{className:"container one-column-container lead-content",children:n})}),(0,o.jsx)("div",{className:"media-content",children:a}),(0,o.jsx)("div",{className:"container-wrapper article-wrapper",children:(0,o.jsx)("div",{className:"container one-column-container main-content",children:s})})]})}),(0,o.jsx)("footer",{children:l})]})};a.sections=["Header","Lead","Media","Main","Footer"],a.label="DN - Article Layout - Headline Above",t.default=a},85712:function(e,t,n){"use strict";n.r(t);var r=n(81877),i=n(87762),o=n(74848);const a=e=>{const[t,n,a]=e.children;return(0,r.A)(),(0,i.A)(),(0,o.jsxs)("div",{className:"dn-featured-article-layout",children:[(0,o.jsx)("header",{children:t}),(0,o.jsx)("main",{children:(0,o.jsx)("article",{className:"container-wrapper article-wrapper",children:(0,o.jsx)("div",{className:"container one-column-container",children:(0,o.jsx)("div",{className:"main-content",children:n})})})}),(0,o.jsx)("footer",{children:a})]})};a.sections=["Header","Main","Footer"],a.label="DN - Article Layout - Headline Below",t.default=a},84384:function(e,t,n){"use strict";n.r(t);var r=n(81877),i=n(87762),o=n(74848);const a=e=>{const[t,n,a,s,l]=e.children;return(0,r.A)(),(0,i.A)(),(0,o.jsxs)("div",{className:"dn-standard-article-layout",children:[(0,o.jsx)("header",{children:t}),(0,o.jsx)("main",{children:(0,o.jsxs)("article",{className:"container-wrapper article-wrapper",children:[(0,o.jsx)("div",{className:"container one-column-container",children:(0,o.jsx)("div",{className:"lead-content",children:n})}),(0,o.jsxs)("div",{className:"container two-column-container",children:[(0,o.jsx)("div",{className:"main-content",children:a}),(0,o.jsx)("aside",{className:"sidebar-content",children:s})]})]})}),(0,o.jsx)("footer",{children:l})]})};a.sections=["Header","Lead","Main","Side Bar","Footer"],a.label="DN - Article Layout - Standard",t.default=a},50442:function(e,t,n){"use strict";n.r(t);var r=n(4321),i=n(81877),o=n(87762),a=n(74848);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?s(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=e=>{const[t,n,s]=e.children,{metaValue:c}=(0,r.useFusionContext)();(0,i.A)(),(0,o.A)();const u=c("wrapper-class"),d=c("footer-bg");return(0,a.jsxs)("div",{className:"dn-standard-page-layout",children:[(0,a.jsx)("header",{children:t}),(0,a.jsx)("main",{children:(0,a.jsx)("div",{className:"container-wrapper article-wrapper"+(u?" "+u:""),children:(0,a.jsx)("div",{className:"container one-column-container--generic-page",children:(0,a.jsx)("div",{className:"main-content",children:n})})})}),(0,a.jsx)("footer",l(l({},d?{style:{backgroundColor:d}}:{}),{},{children:s}))]})};u.sections=["Header","Main","Footer"],u.label="DN - Page Layout - Standard",t.default=u},89724:function(e,t,n){"use strict";n.r(t);var r=n(81877),i=n(87762),o=n(72492),a=n(74848);const s=e=>{const[t,n,s]=e.children;return(0,r.A)(),(0,i.A)(),(0,a.jsxs)("div",{className:"dn-template-lead-art-layout",children:[(0,a.jsxs)("header",{children:[t,(0,a.jsx)("div",{className:"template-lead-art-layout-print-header",children:(0,a.jsx)(o.A,{})})]}),(0,a.jsx)("main",{children:(0,a.jsx)("article",{className:"container-wrapper article-wrapper",children:(0,a.jsx)("div",{className:"container one-column-container",children:(0,a.jsx)("div",{className:"main-content",children:n})})})}),(0,a.jsx)("footer",{children:s})]})};s.sections=["Header","Main","Footer"],s.label="DN - Article Layout - Template Lead Art",t.default=s},6576:function(e,t,n){"use strict";n.r(t);var r=n(81877),i=n(87762),o=n(74848);const a=e=>{const[t,n,a,s,l,c]=e.children;return(0,r.A)(),(0,i.A)(),(0,o.jsxs)("div",{className:"dn-vertical-video-article-layout",children:[(0,o.jsx)("header",{children:t}),(0,o.jsx)("main",{children:(0,o.jsxs)("article",{className:"container-wrapper article-wrapper",children:[(0,o.jsxs)("div",{className:"container hero-container",children:[(0,o.jsx)("div",{className:"lead-content",children:a}),(0,o.jsx)("div",{className:"headline-content",children:n})]}),(0,o.jsxs)("div",{className:"container two-column-container",children:[(0,o.jsx)("div",{className:"main-content",children:s}),(0,o.jsx)("aside",{className:"sidebar-content",children:l})]})]})}),(0,o.jsx)("footer",{children:c})]})};a.sections=["Header","Headline","Lead","Main","Side Bar","Footer"],a.label="DN - Article Layout - Vertical Video",t.default=a},58279:function(e,t,n){"use strict";n.r(t);var r=n(81877),i=n(87762),o=n(74848);const a=e=>{const[t,n,a,s,l]=e.children;return(0,r.A)(),(0,i.A)(),(0,o.jsxs)("div",{className:"dn-webinar-article-layout",children:[(0,o.jsx)("header",{children:t}),(0,o.jsx)("main",{children:(0,o.jsxs)("article",{children:[(0,o.jsxs)("div",{className:"webinar-hero",children:[(0,o.jsx)("div",{className:"container-wrapper article-wrapper webinar-hero__band",children:(0,o.jsx)("div",{className:"container one-column-container lead-content",children:n})}),(0,o.jsx)("div",{className:"media-content",children:a})]}),(0,o.jsx)("div",{className:"container-wrapper article-wrapper",children:(0,o.jsx)("div",{className:"container one-column-container main-content",children:s})})]})}),(0,o.jsx)("footer",{children:l})]})};a.sections=["Header","Lead","Media","Main","Footer"],a.label="DN - Article Layout - Webinar",t.default=a},23132:function(e,t,n){"use strict";n.r(t);var r=n(81877),i=n(87762),o=n(74848);const a=e=>{const[t,n,a]=e.children;return(0,r.A)(),(0,i.A)(),(0,o.jsxs)("div",{className:"deseretnews-page-layout",children:[(0,o.jsx)("header",{className:"header",children:t}),(0,o.jsx)("main",{className:"main",children:n}),(0,o.jsx)("footer",{className:"footer",children:a})]})};a.sections=["Header","Main","Footer"],a.label="DN - Page Layout",t.default=a},4647:function(e,t,n){"use strict";n.d(t,{A:function(){return j}});var r=n(40809),i=n.n(r),o=n(4321),a=n(43993),s=n(87983),l=n.n(s),c=n(74848);var u=()=>(0,c.jsxs)("svg",{role:"img","aria-labelledby":"svgTitle",width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,c.jsx)("title",{id:"svgTitle",children:"Play audio"}),(0,c.jsx)("g",{id:"Breaks",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:(0,c.jsx)("g",{id:"Media",transform:"translate(-231.000000, -384.000000)",children:(0,c.jsx)("g",{id:"desktop-hd",transform:"translate(101.000000, 38.000000)",children:(0,c.jsx)("g",{id:"media",transform:"translate(0.000000, 219.000000)",children:(0,c.jsx)("g",{id:"article-img-center",transform:"translate(0.000000, 67.000000)",children:(0,c.jsxs)("g",{id:"action/play",transform:"translate(130.000000, 60.000000)",children:[(0,c.jsx)("circle",{id:"Oval",className:"bg",cx:"25",cy:"25",r:"25"}),(0,c.jsx)("polygon",{id:"îª",className:"fg","fill-rule":"nonzero",points:"21.6833333 31.1916667 33.1083333 23.9166667 21.6833333 16.6416667"})]})})})})})})]});var d=()=>(0,c.jsxs)("svg",{role:"img","aria-labelledby":"svgTitle",width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,c.jsx)("title",{id:"svgTitle",children:"Pause audio"}),(0,c.jsxs)("g",{clipPath:"url(#clip0_4_2)",children:[(0,c.jsx)("path",{className:"bg",d:"M25 50C38.8071 50 50 38.8071 50 25C50 11.1929 38.8071 0 25 0C11.1929 0 0 11.1929 0 25C0 38.8071 11.1929 50 25 50Z"}),(0,c.jsx)("path",{className:"fg","fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.4 18H21.6909C22.4641 18 23.0909 18.6268 23.0909 19.4V30.6C23.0909 31.3732 22.4641 32 21.6909 32H19.4C18.6268 32 18 31.3732 18 30.6V19.4C18 18.6268 18.6268 18 19.4 18ZM28.3091 18H30.6C31.3732 18 32 18.6268 32 19.4V30.6C32 31.3732 31.3732 32 30.6 32H28.3091C27.5359 32 26.9091 31.3732 26.9091 30.6V19.4C26.9091 18.6268 27.5359 18 28.3091 18Z"})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"clip0_4_2",children:(0,c.jsx)("rect",{width:"50",height:"50",className:"fg"})})})]});var p=()=>(0,c.jsxs)("svg",{role:"img","aria-labelledby":"svgTitle",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"23",children:[(0,c.jsx)("title",{id:"svgTitle",children:"Skip back 15 seconds"}),(0,c.jsx)("path",{className:"skip bg",transform:"translate(0 0.187256)",d:"M9.999958 21.900991C15.460736 21.900991 20 17.371557 20 11.90099C20 7.0774922 16.470554 2.9892395 11.892138 2.0872595L11.892138 0.6951161C11.892138 -0.0009347201 11.41172 -0.18724544 10.87249 0.19512239L7.7450714 2.381408C7.3038907 2.6951327 7.2941022 3.16572 7.7450714 3.4892333L10.862701 5.685307C11.41172 6.0774632 11.892138 5.8911943 11.892138 5.1853132L11.892138 3.7833397C15.59798 4.6265068 18.323454 7.9304056 18.323454 11.90099C18.323454 16.528433 14.617611 20.234318 9.999958 20.234318C5.3725166 20.234318 1.6568435 16.528433 1.6666318
211.90099C1.67642 9.116662 3.0293689 6.6558881 5.1176052 5.1656952C5.5195909 4.8618002 5.6470051 4.401001 5.3921351 3.9892268C5.1568413 3.5872827 4.6176114 3.479445 4.1862187 3.812788C1.6568435 5.6461124 0 8.6068802 0 11.90099C0 17.371557 4.5293918 21.900991 9.999958 21.900991ZM7.0882154 15.920601C7.470541 15.920601 7.7058349 15.655901 7.7058349 15.244126L7.7058349 9.0578489C7.7058349 8.5578556 7.460753 8.2931547 7.0195723 8.2931547C6.7450838 8.2931547 6.548985 8.3813744 6.1960654 8.6166677L4.8529048 9.5284367C4.6274414 9.6951284 4.5195618 9.8715677 4.5195618 10.097073C4.5195618 10.420586 4.7744737 10.695116 5.0881987 10.695116C5.2842975 10.695116 5.3823471 10.65588 5.5587859 10.508847L6.4803419 9.8323727L6.4803419 15.244126C6.4803419 15.64607 6.7156358 15.920601 7.0882154 15.920601ZM12.068576 16.038227C13.696013 16.038227 14.764644 14.989214 14.764644 13.410802C14.764644 11.969634 13.794063 10.940198 12.401919 10.940198C11.813664 10.940198 11.186214 11.204898 10.901938 11.646079L11.068588 9.5284367L13.999949 9.5284367C14.294056 9.5284367 14.539138 9.2931423 14.539138 8.9598417C14.539138 8.6264982 14.294056 8.4108229 13.999949 8.4108229L10.87249 8.4108229C10.352878 8.4108229 10.068602 8.7049294 10.029365 9.2244997L9.8136892
212.048023C9.7744942 12.538229 10.029365 12.773522 10.460715 12.773522C10.78427 12.773522 10.921515 12.714709 11.196045 12.499034C11.57837 12.155903 11.872519 12.018617 12.264675 12.018617C13.029368 12.018617 13.539192 12.577465 13.539192 13.43042C13.539192 14.293163 12.931319 14.920613 12.127389 14.920613C11.539176 14.920613 11.04897 14.58727 10.794059 14.077446C10.647026 13.822535 10.470546 13.68529 10.225464 13.68529C9.9019089 13.68529 9.676445 13.920584 9.676445 14.253927C9.676445 14.391171 9.7058516 14.518627 9.7548761 14.646083C10.019576 15.351964 10.882319 16.038227 12.068576 16.038227Z"})]});var f=()=>(0,c.jsxs)("svg",{role:"img","aria-labelledby":"svgTitle",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"23",children:[(0,c.jsx)("title",{id:"svgTitle",children:"Skip forward 15 seconds"}),(0,c.jsx)("path",{className:"skip bg",transform:"translate(0 0.19043)",d:"M9.999958 21.897823C15.460736 21.897823 20 17.368391 20 11.897824C20 8.603713 18.333326 5.6429458 15.813656 3.8096213C15.382305 3.4762783 14.843075 3.584116 14.597993 3.9860601C14.352911 4.3978348 14.480367 4.8586335 14.872481 5.1625285C16.960718 6.6527214 18.323454 9.1134949 18.333326 11.897824C18.343157 16.525265 14.617611 20.23115 9.999958 20.23115C5.3725166 20.23115 1.67642 16.525265 1.67642 11.897824C1.67642 7.9272389 4.4019361 4.6233401 8.1078205 3.7801731L8.1078205 5.1919765C8.1078205 5.8880277 8.5881968 6.0742965 9.1175966 5.6919703L12.254845 3.4958966C12.696026 3.1919599 12.705855 2.7213726 12.254845 2.3978179L9.1274271 0.20174399C8.5881968 -0.19041204 8.1078205 -0.0041013276 8.1078205 0.70177954L8.1078205 2.0840931C3.5195744 2.9762845 0 7.0743256 0 11.897824C0 17.368391 4.5293918 21.897823 9.999958 21.897823ZM7.0882154 15.917434C7.470541 15.917434 7.7058349 15.652734 7.7058349 15.240959L7.7058349 9.0546827C7.7058349 8.5546885 7.460753 8.2899885 7.0195723 8.2899885C6.7450838 8.2899885 6.548985 8.3782082 6.1960654 8.6135015L4.8529048 9.5252695C4.6274414 9.6919622 4.5195618 9.8684006 4.5195618 10.093906C4.5195618 10.417419 4.7744737 10.69195 5.0881987 10.69195C5.2842975 10.69195 5.3823471 10.652713 5.5587859 10.505681L6.4803419 9.8292065L6.4803419 15.240959C6.4803419 15.642904 6.7156358 15.917434 7.0882154 15.917434ZM12.068576 16.035059C13.696013 16.035059 14.764644 14.986048 14.764644 13.407636C14.764644 11.966467 13.794063 10.937032 12.401919 10.937032C11.813664 10.937032 11.186214 11.201732 10.901938 11.642912L11.068588 9.5252695L13.999949 9.5252695C14.294056 9.5252695 14.539138 9.2899761 14.539138 8.9566746C14.539138 8.623332 14.294056 8.4076567 13.999949 8.4076567L10.87249 8.4076567C10.352878 8.4076567 10.068602 8.7017632 10.029365 9.2213326L9.8136892 12.044856C9.7744942 12.535062 10.029365 12.770355 10.460715 12.770355C10.78427 12.770355 10.921515 12.711543 11.196045 12.495868C11.57837 12.152736 11.872519 12.01545 12.264675 12.01545C13.029368 12.01545 13.539192 12.574299 13.539192 13.427254C13.539192 14.289997 12.931319 14.917446 12.127389 14.917446C11.539176 14.917446 11.04897 14.584104 10.794059 14.07428C10.647026 13.819367 10.470546 13.682123 10.225464 13.682123C9.9019089 13.682123 9.676445 13.917418 9.676445 14.25076C9.676445 14.388004 9.7058516 14.51546 9.7548761 14.642917C10.019576 15.348797 10.882319 16.035059 12.068576 16.035059Z"})]});var h=()=>(0,c.jsxs)("svg",{role:"img","aria-labelledby":"svgTitle",width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,c.jsx)("title",{id:"svgTitle",children:"Increase playback rate"}),(0,c.jsxs)("g",{clipPath:"url(#clip0_10_51)",children:[(0,c.jsx)("path",{className:"bg",d:"M25 50C38.8071 50 50 38.8071 50 25C50 11.1929 38.8071 0 25 0C11.1929 0 0 11.1929 0 25C0 38.8071 11.1929 50 25 50Z"}),(0,c.jsx)("path",{className:"fg",d:"M15 22.5H35V27.5H15V22.5Z"}),(0,c.jsx)("path",{className:"fg",d:"M27.5 15V35H22.5V15H27.5Z"})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"clip0_10_51",children:(0,c.jsx)("rect",{width:"50",height:"50",className:"fg"})})})]});var m=()=>(0,c.jsxs)("svg",{role:"img","aria-labelledby":"svgTitle",width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,c.jsx)("title",{id:"svgTitle",children:"Decrease playback rate"}),(0,c.jsx)("g",{clipPath:"url(#clip0_13_81)",children:(0,c.jsx)("path",{className:"bg",d:"M25 50C38.8071 50 50 38.8071 50 25C50 11.1929 38.8071 0 25 0C11.1929 0 0 11.1929 0 25C0 38.8071 11.1929 50 25 50Z"})}),(0,c.jsx)("path",{d:"M15 22H35V27H15V22Z",className:"fg"}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"clip0_13_81",children:(0,c.jsx)("rect",{width:"50",height:"50",className:"fg"})})})]}),g=n(21718),b=n(93525),y=n.n(b),v=n(19674),w=n.n(v),_=n(7927);const x=({overrideId:e,overrideAudioSrc:t,overrideTurnstileSiteKey:n,customFields:s})=>{const{deployment:b,arcSite:v,globalContent:w}=(0,o.useFusionContext)(),{overrideTitle:x}=s,j=e||w?._id;let O=n;if(!O){const e=l()(v);O=e?.turnstile_site_key}if(!e&&"True"===w?.label?.no_article_audio?.text)return null;const S=(0,_.gI)(v)?(0,_.lr)(v):null;if("disabled"===S?.audioPlayerBehavior)return null;const[k,C]=(0,r.useState)(0),[P,T]=(0,r.useState)(!1),[E,N]=(0,r.useState)(0),[A,I]=(0,r.useState)(1),[L,D]=(0,r.useState)(!1),[R,M]=(0,r.useState)(!0),[$,F]=(0,r.useState)(!0),[V,z]=(0,r.useState)(!1),[B,H]=(0,r.useState)(!1),[U,q]=(0,r.useState)(!1),[Z,G]=(0,r.useState)(!1),[W,K]=(0,r.useState)(10),Y=(0,r.useRef)(null),J=(0,r.useRef)(null),X=(0,r.useRef)(null),Q=(0,r.useRef)(null),ee=.5,te=(0,r.useMemo)(()=>{const e=[];let t=ee;for(;t.toFixed(1)<=3..toFixed(1);)e.push({value:t.toFixed(1),label:`${t.toFixed(1)}x`}),t+=.1;return e},[]),ne=t||w?.additional_properties?.audio?.combined,re=ne?.includes(".aac")?"audio/aac":"audio/mp3",[ie,oe]=(0,r.useState)(null);function ae(){const e=Y.current;if(!e)return;const t=new CustomEvent("articleAudioPlay",{detail:{articleId:j}});document.dispatchEvent(t),H(!0),M(!1),setTimeout(()=>{e.play(),T(!0),q(!0),M(!0)},200),Z||(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"media_play",media_type:"audio",media_player:"article_audio",media_source:ne,article_audio_id:w?._id}),G(!0))}function se(){const e=Y.current;e&&P&&(e.pause(),M(!1),setTimeout(()=>{T(!1),M(!0)},200))}function le(){const e=Y.current;e&&(e.ended?e.currentTime=e.duration-45:e.currentTime-=15)}function ce(){const e=Y.current;e&&(e.currentTime+=15)}function ue(){z(!0)}function de(e){if(!V)return;const t=Y.current,n="none"===window.getComputedStyle(J.current).display?Q.current:X.current;if(!t||!n)return;const r=e?.clientX||e?.targetTouches?.[0]?.clientX;if(r){const e=(r-n.offsetLeft)/n.clientWidth;t.currentTime=t.duration*e,N(100*e)}z(!1)}function pe(e){if(!V)return;const t=Y.current,n="none"===window.getComputedStyle(J.current).display?Q.current:X.current;if(!t||!n)return;const r=e?.clientX||e?.targetTouches?.[0]?.clientX;if(r){const e=(r-n.offsetLeft)/n.clientWidth;t.currentTime=t.duration*e,N(100*e)}}function fe(e){if(!e)return"00:00";const t=Math.floor(e/60),n=Math.floor(e%60);return`${String(t).padStart(2,"0")}
2:${String(n).padStart(2,"0")}`}return(0,r.useEffect)(()=>{if("undefined"!=typeof window){const e=new URLSearchParams(window?.location?.search),t=e.get("audioId"),n=e.get("audioUrl"),r=e.get("audioType");(t||n)&&(Y.current.children[0].src=`https://uploads.deseret.com/${v}/tts/${t}/combined.${r}`,n&&(Y.current.children[0].src=n),Y.current.children[0].type=r||"audio/aac"),Y.current.load();const i=window.localStorage.getItem("articleAudioPlaybackRate");i&&I(Number(i));const o=e=>{e?.detail?.articleId!==j&&(Y.current.pause(),T(!1))};return document.addEventListener("articleAudioPlay",o),()=>{document.removeEventListener("articleAudioPlay",o)}}},[]),(0,r.useEffect)(()=>{const e=Y.current;e&&(e.playbackRate=A,window.localStorage.setItem("articleAudioPlaybackRate",String(A)))},[A]),(0,r.useEffect)(()=>{const e=Y.current;e&&(V?e.paused||e.pause():P&&e.play(),e.playbackRate=A,window.localStorage.setItem("articleAudioPlaybackRate",String(A)))},[V]),(0,c.jsxs)(i().Fragment,{children:[(0,c.jsxs)("div",{className:(0,g.A)("article-audio mt-4",B&&"expanded",k<=0&&"hidden"),role:"region","aria-label":"Article Audio Player",onKeyDown:e=>{switch(e.key){case"ArrowRight":ce();break;case"ArrowLeft":le()}},children:[(0,c.jsxs)("audio",{ref:Y,onTimeUpdate:function(){const e=Y.current;if(!e)return;const t=e.currentTime/e.duration*100;N(t),Z&&t>=W&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"media_progress",media_duration:Math.floor(e.duration),media_playback_percentage:W,media_playback_progress:Math.floor(e.duration/10),media_type:"audio",media_player:"article_audio",media_source:ne,article_audio_id:w?._id}),K(W+10))},onEnded:function(){Y.current&&(N(100),se())},onCanPlay:function(){C(k+1)},children:[(0,c.jsx)("source",{src:ne,type:re}),"Your browser does not support the audio element."]}),(0,c.jsx)("div",{className:(0,g.A)("article-audio__player-wrapper expand-button d-md-none",B&&"expanded"),onClick:ae,children:(0,c.jsxs)("div",{className:"d-flex m-1 justify-content-center align-items-center",children:[(0,c.jsx)("button",{className:"large-button article-audio-play-pause",onClick:ae,"aria-label":"Play audio",disabled:B,children:(0,c.jsx)(u,{})}),(0,c.jsx)("div",{className:(0,g.A)("article-audio__header__title expand-button__label ms-2"),role:"heading",children:x||"Listen to this Article"})]})}),(0,c.jsxs)("div",{className:(0,g.A)("article-audio__header align-items-center mb-md-1",U&&"visible"),children:[(0,c.jsx)("div",{className:(0,g.A)("article-audio__header__title",R?"visible":"hidden"),children:P?(0,c.jsxs)("div",{className:"d-flex",role:"heading",children:[(0,c.jsxs)("div",{className:"equalizer-bars d-flex align-items-end justify-content-between",children:[(0,c.jsx)("div",{className:"equalizer-bar",style:{animationDelay:"0.4s",animationDuration:2/A+"s"}}),(0,c.jsx)("div",{className:"equalizer-bar",style:{animationDelay:"0.2s",animationDuration:2/A+"s"}}),(0,c.jsx)("div",{className:"equalizer-bar",style:{animationDelay:"0s",animationDuration:2/A+"s"}})]}),"Listening..."]}):(0,c.jsx)("div",{role:"heading",children:x||"Listen to this Article"})}),(0,c.jsx)("div",{className:(0,g.A)("article-audio__header__rating ms-auto",$?"visible":"hidden"),children:L?(0,c.jsx)(c.Fragment,{children:"Thanks for the feedback!"}):(0,c.jsxs)(c.Fragment,{children:["Audio quality:",(0,c.jsx)("button",{onClick:function(){F(!1),setTimeout(()=>{D(!0),F(!0)},200),ie&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"article_audio_vote_up"}))},"aria-label":"Upvote audio quality",children:(0,c.jsx)("i",{className:"fa-regular fa-thumbs-up mx-1"})}),(0,c.jsx)("span",{className:"article-audio__header__rating__divider",children:"|"}),(0,c.jsx)("button",{onClick:function(){if(F(!1),setTimeout(()=>{D(!0),F(!0)},200),ie){try{const e="staging"===a.arc_environment?`https://www.deseret.com/arc/outboundfeeds/api/article-audio/?storyId=${j}&rating=-1&time=${Date.now()}&_website=${v}&token=${ie}`:`/arc/outboundfeeds/api/article-audio/?storyId=${j}&rating=-1&time=${Date.now()}&_website=${v}&token=${ie}`;fetch(e)}catch(e){console.error(`handleDownVote Error: ${e.message}`)}window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"article_audio_vote_down"})}},"aria-label":"Downvote audio quality",children:(0,c.jsx)("i",{className:"fa-regular fa-thumbs-down mx-1"})})]})})]}),(0,c.jsxs)("div",{className:"article-audio__player-wrapper d-none d-md-flex",ref:J,children:[(0,c.jsxs)("div",{className:"d-flex align-items-center",children:[(0,c.jsx)("button",{className:"small-button ms-3 me-2",onClick:le,"aria-label":"Skip back 15 seconds",children:(0,c.jsx)(p,{})}),P?(0,c.jsx)("button",{className:"large-button article-audio-play-pause",onClick:se,children:(0,c.jsx)(d,{})}):(0,c.jsx)("button",{className:"large-button article-audio-play-pause",onClick:ae,children:(0,c.jsx)(u,{})}),(0,c.jsx)("button",{className:"small-button ms-2 me-3",onClick:ce,"aria-label":"Skip forward 15 seconds",children:(0,c.jsx)(f,{})})]}),(0,c.jsxs)("div",{className:"d-flex w-100 align-items-center",children:[(0,c.jsx)("div",{children:fe(Y?.current?.currentTime)}),(0,c.jsx)("div",{className:"progress-wrapper w-100 mx-1 py-2",onMouseDown:ue,onMouseMove:pe,onMouseUp:de,onMouseLeave:de,onTouchStart:ue,onTouchEnd:de,onTouchMove:pe,children:(0,c.jsx)("div",{className:"progress",ref:X,children:(0,c.jsx)("div",{className:(0,g.A)("progress-bar",V&&"dragging"),role:"slider",style:{width:`${E}%`}
2,"aria-valuenow":E,"aria-valuemin":"0","aria-valuemax":"100"})})}),(0,c.jsx)("div",{className:"ms-auto",children:fe(Y?.current?.duration)})]}),(0,c.jsxs)("div",{className:"right-controls d-flex ms-auto align-items-center",role:"group","aria-label":"Playback rate controls","aria-valuenow":Number(A.toFixed(1)),"aria-valuemin":ee,"aria-valuemax":3,children:[(0,c.jsx)("button",{className:"small-button ms-3 me-2",onClick:function(){let e=A.toFixed(1)<=ee?ee:A-.1;I(e)},"aria-label":"Decrease playback rate",disabled:A<=ee,children:(0,c.jsx)(m,{})}),(0,c.jsxs)("div",{children:[A.toFixed(1),"x"]}),(0,c.jsx)("button",{className:"small-button ms-2 me-3",onClick:function(){I(A>=3?3:A+.1)},"aria-label":"Increase playback rate",disabled:A>=3,children:(0,c.jsx)(h,{})})]})]}),(0,c.jsxs)("div",{className:(0,g.A)("article-audio__player-wrapper d-block d-md-none",B&&"expanded"),children:[(0,c.jsx)("div",{className:(0,g.A)("progress-wrapper w-100 py-3",U&&"visible"),onMouseDown:ue,onMouseMove:pe,onMouseUp:de,onMouseLeave:de,onTouchStart:ue,onTouchEnd:de,onTouchMove:pe,children:(0,c.jsx)("div",{className:"progress",ref:Q,children:(0,c.jsx)("div",{className:(0,g.A)("progress-bar",V&&"dragging"),role:"progressbar",style:{width:`${E}%`},"aria-valuenow":E,"aria-valuemin":"0","aria-valuemax":"100"})})}),(0,c.jsxs)("div",{className:"d-flex mb-2 mx-2",children:[(0,c.jsxs)("div",{className:"left-controls d-flex align-items-center me-auto",children:[fe(Y?.current?.currentTime),"/",fe(Y?.current?.duration)]}),(0,c.jsxs)("div",{className:"d-flex align-items-center justify-content-center",children:[(0,c.jsx)("button",{className:"small-button ms-3 me-2",onClick:le,children:(0,c.jsx)(p,{})}),P?(0,c.jsx)("button",{className:"large-button article-audio-play-pause",onClick:se,children:(0,c.jsx)(d,{})}):(0,c.jsx)("button",{className:"large-button article-audio-play-pause",onClick:ae,children:(0,c.jsx)(u,{})}),(0,c.jsx)("button",{className:"small-button ms-2 me-3",onClick:ce,children:(0,c.jsx)(f,{})})]}),(0,c.jsxs)("div",{className:"right-controls d-flex ms-auto align-items-center",role:"group","aria-label":"Playback rate controls","aria-valuenow":Number(A.toFixed(1)),"aria-valuemin":ee,"aria-valuemax":3,children:[(0,c.jsx)("div",{className:"small-button text-end",children:"-"}),(0,c.jsx)("select",{className:"px-1",value:A.toFixed(1),onChange:function(e){const t=e?.target?.value;t&&I(Number(t))},children:te.map(e=>(0,c.jsx)("option",{value:e.value,selected:e.label===Number(A.toFixed(1)),children:e.label}))}),(0,c.jsx)("div",{className:"small-button",children:"+"})]})]})]})]}),"warning"===S?.audioPlayerBehavior&&S.audioWarningMessage&&(0,c.jsx)("div",{role:"heading",className:"article-audio__subtitle",children:S.audioWarningMessage}),(0,c.jsx)(y(),{sitekey:O,onSuccess:oe,size:"invisible"})]})};x.propTypes={customFields:w().shape({overrideTitle:w().string.tag({label:"Title Override"})})};var j=x},57072:function(e,t,n){"use strict";n.d(t,{T:function(){return w}});var r=n(40809),i=n(4321),o=n(87983),a=n.n(o),s=n(97398),l=n(43993),c=n(28346),u=n(63200),d=n(37304),p=n(74848);var f=()=>(0,p.jsx)("svg",{viewBox:"0 0 32 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,p.jsx)("path",{d:"M2 21.5V31.0091C2 31.2802 2.21979 31.5 2.49091 31.5H29C29.5523 31.5 30 31.0523 30 30.5V21.5C30 20.9477 29.5523 20.5 29 20.5H21.2955C20.8299 20.5 20.4258 20.1786 20.3211 19.7249L16.4872 3.11118C16.3679 2.59442 15.6321 2.59442 15.5128 3.11118L11.6789 19.7249C11.5742 20.1786 11.1701 20.5 10.7045 20.5H3C2.44772 20.5 2 20.9477 2 21.5Z",stroke:"#DF4848","stroke-width":"4"})}),h=n(663),m=n(46196);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){if(!e)return;let t=e;"string"==typeof e&&(t=new Date(e));
2return t?.toLocaleString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,timeZone:"America/Denver",timeZoneName:"short"}).replace(/AM|PM/g,e=>"AM"===e?"a.m.":"p.m.")}const w=({useFeatured:e,payload:t})=>{const[n,o]=(0,r.useState)(null),[u,f]=(0,r.useState)(new Date),h=(0,r.useRef)(null),m=(0,r.useRef)(null),g=(0,r.useRef)(0),y=(0,r.useRef)(null),v=(0,r.useRef)({}),{globalContent:w,arcSite:_,requestUri:k}=(0,i.useFusionContext)(),{websiteDomain:C,dateLocalization:P}=a()(_),T=b(b({},P),{},{dateTimeFormat:"D MMMM YYYY, hh:mm A z"}),E=(0,r.useCallback)(e=>{const t=k||"",[n,r]=t.split("?"),i=new URLSearchParams(r||"");return i.set("update",e),`${n}?${i.toString()}`},[k]),N=(0,r.useCallback)(e=>{const t="localhost"===l.arc_environment||"dev"===l.arc_environment?`localhost${E(e)}`:`${C}${E(e)}`;navigator.clipboard.writeText(t).catch(()=>{});const n=document.querySelector(".update__copied-tooltip.visible");n&&n.classList.remove("visible"),clearTimeout(m.current);const r=document.getElementById(`tooltip-${e}`);r&&(r.classList.add("visible"),m.current=setTimeout(()=>r.classList.remove("visible"),2e3))},[C,E]),A=t?.id||w?._id,I=t?.showTitle??!0,L=(0,r.useMemo)(()=>e?"localhost"===l.arc_environment||"dev"===l.arc_environment?"https://uploads.deseret.com/files/dev/church-news/live-updates/feeds/featured.json":C.includes("sandbox")?"https://uploads.deseret.com/files/stage/church-news/live-updates/feeds/featured.json":"https://uploads.deseret.com/files/church-news/live-updates/feeds/featured.json":"localhost"===l.arc_environment||"dev"===l.arc_environment?`https://uploads.deseret.com/files/dev/church-news/live-updates/feeds/${A}.json`:C.includes("sandbox")?`https://uploads.deseret.com/files/stage/church-news/live-updates/feeds/${A}.json`:`https://uploads.deseret.com/files/church-news/live-updates/feeds/${A}.json`,[e,l.arc_environment,C,A]),D=async()=>{const e=await fetch(L);if(!e.ok)return clearInterval(y.current),null;const t=await e.json();"ACTIVE"!==t?.status&&clearInterval(y.current),o(t)};(0,r.useEffect)(()=>(D(),y.current=setInterval(D,1e4),()=>clearInterval(y.current)),[L]),(0,r.useEffect)(()=>{if(!n)return;const e=new URLSearchParams(window.location.search).get("update");e&&requestAnimationFrame(()=>{const t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"start"})})},[!!n]),(0,r.useEffect)(()=>{if(window){if(document.getElementById("instagramScript"))window?.instgrm?.Embeds?.process();else{const e=document.createElement("script");e.src="https://www.instagram.com/embed.js",e.id="instagramScript",document.body.append(e),setTimeout(()=>window?.instgrm?.Embeds?.process(),100)}if(document.getElementById("facebookScript"))window?.FB?.XFBML?.parse();else{const e=document.createElement("script");e.src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v21.0",e.id="facebookScript",e.async=!0,e.crossOrigin="anonymous",document.body.insertBefore(e,document.body.firstChild)}if(document.getElementById("xScript"))window?.twttr?.widgets?.load();else{const e=document.createElement("script");e.src="https://platform.twitter.com/widgets.js",e.id="xScript",document.body.append(e)}}return()=>{const e=document.getElementById("instagramScript"),t=document.getElementById("xScript");e?.remove(),t?.remove()}},[u]);const R=n?.updates?.filter(e=>new Date(e.created_at)>u).length;const M=()=>{h.current&&!function(e){const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}(h.current)&&h.current.scrollIntoView(!0),setTimeout(()=>{f(new Date)},1e3),g.current=R};let $=null;return(0,p.jsxs)("div",{className:"cn-live-updates-feed",children:[(0,p.jsxs)("div",{className:"cn-live-updates-feed__header",children:[(0,p.jsx)("div",{className:"d-flex text-center",children:"ACTIVE"===n?.status&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{className:"cn-live-updates-feed__live-indicator me-1",children:"LIVE"}),n?.last_updated_at&&(0,p.jsx)("div",{className:"cn-live-updates-feed__relative-timestamp",children:(0,p.jsxs)("time",{dateTime:new Date(n?.last_updated_at).toISOString(),children:["Updated ",(0,s.A)(new Date(n?.last_updated_at))]})})]})}),I&&(0,p.jsx)("h3",{className:"cn-live-updates-feed__title",children:n?.title})]}),R?(0,p.jsxs)("div",{className:"cn-live-updates-feed__toast-prompt",role:"button",tabIndex:0,onClick:M,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||M()},children:[R," ",R>1?"New Updates":"New Update",(0,p.jsx)("i",{className:"fa fa-circle-up ms-1"})]}):(0,p.jsx)("div",{className:"cn-live-updates-feed__toast-placeholder"}),!!n&&(0,p.jsx)("div",{children:n.updates?.toSorted((e,t)=>{const n=e.order-t.order;return 0===n?new Date(t.timestamp)-new Date(e.timestamp):n}).filter(e=>new Date(e.created_at)<u)?.map((e,t)=>{let n=!1;$===e.author_id?n=!0:$=e.author_id;const r={arcSite:_,mediaCache:v,arc_environment:l.arc_environment,websiteDomain:C,galleryIndex:t,localDateLocalization:T},i=(0,c.A)(e.content),o=t<g.current;switch(e.subtype){case"Post with Heading":return(0,p.jsx)(S,{update:e,updateContent:i,isNew:o},e.id);case"Talk Summary":return(0,p.jsx)(j,b({update:e,updateContent:i,hideByline:n,isNew:o,copyUpdateLink:N},r),e.id);case"Temple":return(0,p.jsx)(O,b({update:e,updateContent:i,hideByline:n,isNew:o,copyUpdateLink:N},r),e.id);default:return(0,p.jsx)(x,b({update:e,updateContent:i,hideByline:n,isNew:o,copyUpdateLink:N},r),e.id)}})}),(0,p.jsx)(d.A,{feed:n,storyId:w?._id})]})},_=(e,t)=>
2e.update.id===t.update.id&&e.update.timestamp===t.update.timestamp&&e.update.headline===t.update.headline&&e.update.featured_image===t.update.featured_image&&e.update.author_id===t.update.author_id&&e.update.media_id===t.update.media_id&&e.hideByline===t.hideByline&&e.updateContent===t.updateContent,x=(0,r.memo)(({update:e,updateContent:t,hideByline:n,isNew:r,copyUpdateLink:i,arcSite:o,mediaCache:a,arc_environment:s,websiteDomain:l,galleryIndex:c,localDateLocalization:d})=>{const f=new Date-new Date(e.timestamp)>864e5,g=e.author_image?.includes("?auth=")?`${e.author_image}&width=80&height=80`:e.author_image?.replace(/width=[0-9]+/g,"width=80");return(0,p.jsxs)("div",{id:e.id,className:"update subtype-quote",children:[!n&&(0,p.jsxs)("div",{className:"update__author-block",children:[g&&(0,p.jsx)("div",{className:"update__author-link-wrapper",children:(0,p.jsx)("a",{href:e.author_bio_page,children:(0,p.jsx)("img",{src:g,alt:`Image of ${e.author_byline}`})})}),(0,p.jsxs)("div",{className:"update__byline-wrapper",children:[(0,p.jsx)("a",{href:e.author_bio_page,children:(0,p.jsx)("h3",{className:"update__author-byline",children:e.author_byline})}),e.author_bio&&(0,p.jsx)("div",{className:"author-bio",children:(0,p.jsx)(u.Ay,{children:e.author_bio})})]})]}),(0,p.jsxs)("div",{className:"update__icon-block",children:[(0,p.jsx)("div",{className:"update__icon-wrapper",children:"Quote"===e.subtype?(0,p.jsx)("i",{className:"fa-solid fa-quote-left"}):(0,p.jsx)("i",{className:"fa-solid fa-circle"})}),(0,p.jsxs)("div",{className:"update__timestamp-wrapper",children:[f?(0,p.jsx)("span",{role:"button",tabIndex:0,onClick:()=>i(e.id),className:"update__publish-date",children:(0,m.Y)(e.timestamp,d)}):(0,p.jsx)("span",{role:"button",tabIndex:0,onClick:()=>i(e.id),className:"update__timestamp",children:v(e.timestamp)}),(0,p.jsx)("span",{id:`tooltip-${e.id}`,className:"update__copied-tooltip",children:"Link copied"}),r&&(0,p.jsx)("div",{className:"update__new-tag",children:"NEW"})]})]}),(0,p.jsxs)("div",{className:"update__content-block",children:[(e.featured_image||t||e.headline)&&(0,p.jsx)("div",{className:"update__vertical-rule"}),(0,p.jsxs)("div",{className:"update__content-wrapper",children:[e.headline&&(0,p.jsx)("h3",{className:"update__headline",children:e.headline}),(0,p.jsx)(h.A,{featuredImage:e.featured_image,caption:e.featured_image_caption,credit:e.featured_image_credit,arcSite:o,mediaCache:a,arc_environment:s,websiteDomain:l,galleryIndex:c,mediaType:e.media_type,mediaId:e.media_id,classPrefix:"cn-article-body"}),t&&(0,p.jsx)("div",{className:"update__content",dangerouslySetInnerHTML:{__html:t}})]})]})]})},_),j=(0,r.memo)(({update:e,updateContent:t,hideByline:n,isNew:r,copyUpdateLink:i,arcSite:o,mediaCache:a,arc_environment:s,websiteDomain:l,galleryIndex:c})=>{const d=e.author_image?.includes("?auth=")?`${e.author_image}&width=80&height=80`:e.author_image?.replace(/width=[0-9]+/g,"width=80");return(0,p.jsxs)("div",{id:e.id,className:"update subtype-talk-summary",children:[!n&&(0,p.jsxs)("div",{className:"update__author-block",children:[d&&(0,p.jsx)("div",{className:"update__author-link-wrapper",children:(0,p.jsx)("a",{href:e.author_bio_page,children:(0,p.jsx)("img",{src:d,alt:`Image of ${e.author_byline}`})})}),(0,p.jsxs)("div",{className:"update__byline-wrapper",children:[(0,p.jsx)("a",{href:e.author_bio_page,children:(0,p.jsx)("h3",{className:"update__author-byline",children:e.author_byline})}),e.author_bio&&(0,p.jsx)("div",{className:"author-bio",children:(0,p.jsx)(u.Ay,{children:e.author_bio})})]})]}),(0,p.jsxs)("div",{className:"update__content-block",children:[(e.featured_image||t||e.headline)&&(0,p.jsx)("div",{className:"update__vertical-rule"}),(0,p.jsxs)("div",{className:"update__content-wrapper",children:[e.headline&&(0,p.jsx)("h3",{className:"update__headline",children:e.headline}),(0,p.jsx)(h.A,{featuredImage:e.featured_image,caption:e.featured_image_caption,credit:e.featured_image_credit,arcSite:o,mediaCache:a,arc_environment:s,websiteDomain:l,galleryIndex:c,mediaType:e.media_type,mediaId:e.media_id,classPrefix:"cn-article-body"}),t&&(0,p.jsx)("div",{className:"update__content",dangerouslySetInnerHTML:{__html:t}})]})]})]})},_),O=(0,r.memo)(({update:e,updateContent:t,hideByline:n,isNew:r,copyUpdateLink:i,arcSite:o,mediaCache:a,arc_environment:s,websiteDomain:l,galleryIndex:c,localDateLocalization:d})=>
2{const g=new Date-new Date(e.timestamp)>864e5,b=e.author_image?.includes("?auth=")?`${e.author_image}&width=80&height=80`:e.author_image?.replace(/width=[0-9]+/g,"width=80");return(0,p.jsxs)("div",{id:e.id,className:"update subtype-temple",children:[!n&&(0,p.jsxs)("div",{className:"update__author-block",children:[b&&(0,p.jsx)("div",{className:"update__author-link-wrapper",children:(0,p.jsx)("a",{href:e.author_bio_page,children:(0,p.jsx)("img",{src:b,alt:`Image of ${e.author_byline}`})})}),(0,p.jsxs)("div",{className:"update__byline-wrapper",children:[(0,p.jsx)("a",{href:e.author_bio_page,children:(0,p.jsx)("h3",{className:"update__author-byline",children:e.author_byline})}),e.author_bio&&(0,p.jsx)("div",{className:"author-bio",children:(0,p.jsx)(u.Ay,{children:e.author_bio})})]})]}),(0,p.jsxs)("div",{className:"update__icon-block",children:[(0,p.jsx)("div",{className:"update__icon-wrapper",children:(0,p.jsx)(f,{})}),(0,p.jsxs)("div",{className:"update__timestamp-wrapper",children:[g?(0,p.jsx)("span",{role:"button",tabIndex:0,onClick:()=>i(e.id),className:"update__publish-date",children:(0,m.Y)(e.timestamp,d)}):(0,p.jsx)("span",{role:"button",tabIndex:0,onClick:()=>i(e.id),className:"update__timestamp",children:v(e.timestamp)}),(0,p.jsx)("span",{id:`tooltip-${e.id}`,className:"update__copied-tooltip",children:"Link copied"}),r&&(0,p.jsx)("div",{className:"update__new-tag",children:"NEW"})]})]}),(0,p.jsxs)("div",{className:"update__content-block",children:[(e.featured_image||t||e.headline)&&(0,p.jsx)("div",{className:"update__vertical-rule"}),(0,p.jsxs)("div",{className:"update__content-wrapper",children:[e.headline&&(0,p.jsx)("h3",{className:"update__headline",children:e.headline}),(0,p.jsx)(h.A,{featuredImage:e.featured_image,caption:e.featured_image_caption,credit:e.featured_image_credit,arcSite:o,mediaCache:a,arc_environment:s,websiteDomain:l,galleryIndex:c,mediaType:e.media_type,mediaId:e.media_id}),t&&(0,p.jsx)("div",{className:"update__content",dangerouslySetInnerHTML:{__html:t}})]})]})]})},_),S=(0,r.memo)(({update:e,updateContent:t,isNew:n})=>(0,p.jsxs)("div",{id:e.id,className:"update subtype-post-with-heading",children:[(0,p.jsxs)("div",{className:"update__heading-wrapper",children:[(0,p.jsx)("div",{className:"update__heading",children:e.heading}),n&&(0,p.jsx)("div",{className:"update__new-tag",children:"NEW"})]}),(0,p.jsxs)("div",{className:"update__post-wrapper",children:[e?.thumbnail_image&&(0,p.jsx)("div",{className:"update__thumbnail-image-wrapper",children:(0,p.jsx)("img",{src:e.thumbnail_image,alt:"thumbnail image"})}),(0,p.jsxs)("div",{className:"update__content-wrapper",children:[e.headline&&(0,p.jsx)("h3",{className:"update__headline",children:e.headline}),t&&(0,p.jsx)("div",{className:"update__content",dangerouslySetInnerHTML:{__html:t}})]})]})]}),_)},42636:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(40809),i=n.n(r),o=n(28408),a=n(74848);const s=(e=[],t="and",n="")=>((e=[],t="and",n=",",r=" ")=>e.filter(e=>null!=e&&0!==Object.keys(e).length).map((e,o,{length:s})=>(0,a.jsxs)(i().Fragment,{children:[s>1&&o===s-1?(0,a.jsxs)(a.Fragment,{children:[t,r]}):null,e,s>2&&o!==s-1&o!==s-2?n:null,o!==s-1?r:null]},`${e}_${o}`)))(e.map(e=>({type:e?.type,name:e?.additional_properties?.original?.byline||e?.name,url:e?.url,org:e?.org})).filter(({type:e,name:t})=>"author"===e&&t).map(({name:e,org:t,url:r})=>r?(0,a.jsx)("a",{href:(0,o.J1)(r),className:n,children:t?`${e}, ${t}`:e}):t?`${e}, ${t}`:e),t);var l=n(97398),c=n(21718);var u=({story:e,showDate:t=!1,showByline:n=!0,className:r=""})=>{const i=e?.credits?.by,o=e?.display_date;return i?(0,a.jsxs)("div",{className:(0,c.A)("dn-byline",r),children:[n&&(0,a.jsxs)("div",{className:"dn-byline__byline",children:["By ",(0,a.jsx)("div",{className:"dn-byline__byline-author",children:s(i,"and","dn-byline__byline-author-link")})]}),t&&o&&(0,a.jsxs)("div",{className:"dn-byline__date",children:[n&&(0,a.jsx)("span",{className:"line"}),(0,a.jsx)("time",{dateTime:o,className:"dn-byline__date-published",children:(0,l.A)(new Date(o))})]})]}):null}},59889:function(e,t,n){"use strict";n(40809);var r=n(28408),i=n(74848);t.A=({story:e,onlyPrimary:t=!1,isPromo:n=!1})=>{const o=e?.label?.eyebrows_override?.text||"",a=o?.split(",").map(e=>e.trim()).filter(e=>e.length),s=a.some(e=>"live"===e.trim().toLowerCase());if(a?.length)return(0,i.jsx)("div",{className:"dn-eyebrows",children:s&&n?(0,i.jsxs)("div",{className:"dn-eyebrows__eyebrow dn-eyebrows__eyebrow--live d-flex",children:["LIVE ",(0,i.jsx)("p",{className:"live-bullet",children:" â¢Â "})]}):a.map((e,n)=>t&&0===n&&e||!t?(0,i.jsx)("div",{className:"dn-eyebrows__eyebrow",children:e.trim()},e+n):null)});const l=e?.taxonomy?.primary_section,c=e?.taxonomy?.sections?.filter(e=>e._id&&e.name&&e.path).filter(e=>!e?.additional_properties?.original?.inactive).filter(e=>e.name!==l.name)||[];return c.sort((e,t)=>
2e?.parent?.default===t?.parent?.default?0:e?.parent?.default===l._id||"/"===t?.parent?.default?-1:t?.parent?.default===l._id||"/"===e?.parent?.default?1:0),(0,i.jsxs)("div",{className:"dn-eyebrows",children:[l&&l?.name&&(0,i.jsx)("a",{className:"dn-eyebrows__eyebrow",href:(0,r.TJ)(l),children:l?.name}),!t&&c?.length>0&&c.slice(0,2).map(e=>{if(e?.name)return(0,i.jsx)("a",{className:"dn-eyebrows__eyebrow",href:(0,r.TJ)(e),children:e?.name},e?._id)})]})}},58670:function(e,t,n){"use strict";var r=n(40809),i=n(4321),o=n(87983),a=n.n(o),s=n(41878),l=n(74848);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.A=({className:e,dataUnitOverride:t=null,dataTargeting:n=null,dataSticky:o=!1,hideForReducedAds:c=!1})=>{const{globalContent:d,arcSite:p,metaValue:f}=(0,i.useFusionContext)(),{websiteAdPath:h}=a()(p);if(!h||!e)return null;const[m,g]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{const e=(0,s.s5)();e?.reducedAds||g(!0)},[]),c&&!m)return null;const b={className:`HTLAds ${e}`};let y="";if(t)y=t;else{const e=f("page-type");y=h&&!h?.startsWith("/")?`/${h}`:h,"section"==d?.node_type?d?._admin?.alias_ids?.includes("/all-sections")?y+="/all-sections":y+=d?._id:d?.taxonomy?.primary_section?._id?y+=d?.taxonomy?.primary_section?._id:e&&(y+="homepage"===e?"/front_page":`/${e}`)}return y&&(b["data-unit"]=y),n&&(b["data-targeting"]=n),o&&(b["data-sticky"]=""),(0,l.jsx)("div",{className:"htl-ad-block",children:(0,l.jsx)("div",u({},b))})}},57483:function(e,t,n){"use strict";n.d(t,{A:function(){return x}});var r=n(40809),i=n.n(r),o=n(4321),a=n(87983),s=n.n(a),l=n(35616),c=n(28408),u=n(44745),d=n(59889),p=n(42636),f=n(74848);function h({coralUrl:e,coralId:t}){return(0,f.jsx)("span",{className:"coral-count","data-coral-url":e,"data-coral-id":t,"data-coral-notext":!0})}var m=n(21718),g=n(63200),b=n(87751),y=n(81008);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach(function(t){_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=({story:e,type:t="default",className:n="",showDate:r=!1,showDescription:a=!0,showImage:v=!0,showEyebrow:_=!0,showByline:x=!0,showCommentCount:j=!1,showHeroPackage:O=!1,aspectRatio:S="16:9"})=>{const{arcSite:k,deployment:C}=(0,o.useFusionContext)();if(!e||!e.websites[k])return null;const{websiteDomain:P}=s()(k),T=(0,l.T6)(),E="list-compact"===t?"list":t,N="list-compact"===t?"standard":e?.subtype?.toLowerCase()||"",A=(e?.label?.eyebrows_override?.text||"").split(",").map(e=>e.trim()).filter(e=>e.length).some(e=>"live"===e.toLowerCase());let I,L,D,R,M,$="col-4 col-md-12",F="col-8 col-md-12",V="standard"===N?274:968;if("minimal"===E?(v=!1,_=A,a=!1,$="",F=""):"list"===E?($="standard"===N?"col-4":"col-12",F="standard"===N?"col-8":"col-12"):"featured"===E&&(_=_||A,$="",F="",S="131:100",V=560),"featured"===E){const t=(0,l.RM)(e);if("video"===t?.type)I=t,M=(0,l.gx)(e),R=M?.hideMuteControl&&M?.hideSeekControl&&M?.hideProgressLabel&&M?.hideFullscreenControl&&M?.hideFullscreenControl;else if("raw_html"===t?.type){const e=(0,y.X4)(t);e.video?(I=e.video,M=e.heroVideoOptions,R=e.shouldVideoBeLink):e.rawHtml&&(D=e.rawHtml)}else L=t}else L=(0,l.CP)(e);const z=e?.additional_properties?.promoHeadline??e?.headlines?.basic??"",B=e?.additional_properties?.promoDescription?.plaintext??e?.description?.basic??"";if(!e.websites[k])return null;const H=(0,c.J1)(e?.websites[k]?.website_url),U=L?{ansImage:L,aspectRatio:S,width:V}:{src:T},q=e?.additional_properties?.heroPackage;return(0,f.jsx)("div",{className:(0,m.A)("dn-promo",n,N,["featured","minimal","list"].includes(E)&&E),children:(0,f.jsxs)("div",{className:"row",children:[v&&L&&(0,f.jsx)("div",{className:(0,m.A)("dn-promo__media mb-lg-0 mx-auto",$),children:(0,f.jsx)("a",{className:"dn-promo__media-link","aria-label":e?.subheadline?.basic||L?.alt,href:H,rel:e?.label?.search?.text?.toLowerCase()?.includes("follow")?"nofollow":null,children:(0,f.jsx)(u.A,w(w({},U),{},{className:"dn-promo__image"}))})}),I&&(0,f.jsx)("div",{className:(0,m.A)("dn-promo__media mb-lg-0 mx-auto",$),children:R?(0,f.jsx)("a",{className:"dn-promo__media-link","aria-label":e?.subheadline?.basic||L?.alt,href:H,rel:e?.label?.search?.text?.toLowerCase()?.includes("follow")?"nofollow":null,children:(0,f.jsx)(b.A,{item:I,options:M})}):(0,f.jsx)(b.A,{item:I,options:M})}),D&&(0,f.jsx)("div",{className:(0,m.A)("dn-promo__media mb-lg-0 mx-auto",$),children:(0,f.jsx)("div",{dangerouslySetInnerHTML:{__html:D.content}})}),(0,f.jsxs)("div",{className:(0,m.A)("dn-promo__details ",F),children:[_&&(0,f.jsx)(d.A,{story:e,onlyPrimary:!0,isPromo:!0}),(0,f.jsx)("div",{className:"dn-promo__title",children:(0,f.jsx)("a",{className:"dn-promo__title-link",href:H,rel:e?.label?.search?.text?.toLowerCase()?.includes("follow")?"nofollow":null,children:z})}),O&&q?(0,f.jsx)("div",{className:"d-flex flex-wrap dn-promo__hero-package",children:(0,f.jsx)(g.Ay,{children:q})}):(0,f.jsxs)(i().Fragment,{children:[a&&B&&(0,f.jsx)("div",{className:"dn-promo__description",children:B}),(0,f.jsxs)("div",{className:"d-flex flex-wrap",children:[x?(0,f.jsx)(p.A,{story:e,showDate:r}):null,j?(0,f.jsxs)("a",{href:H+(H.includes("?")?"&showComments":"?showComments"),className:"dn-promo__comment-count",hidden:!0,children:[x&&(0,f.jsx)("span",{className:"line"}),(0,f.jsx)("img",{className:"dn-promo__comment-count__icon",src:(Z="comment",C(`/
2pf/resources/deseretnews/assets/images/icons/${Z}.svg`))}),(0,f.jsx)(h,{coralUrl:P+H,coralId:e._id}),"Comments"]}):null]})]})]})]})});var Z}},4174:function(e,t,n){"use strict";n(40809);var r=n(57483),i=n(74848);t.A=({stories:e,showCommentCount:t,showHeroPackage:n})=>(0,i.jsx)("div",{className:"row",children:(0,i.jsx)("div",{className:"col",children:(0,i.jsxs)("div",{className:"three-up-hero-breaker",children:[(0,i.jsx)(r.A,{story:e[0],type:"featured",showDate:!0,showCommentCount:t,showHeroPackage:n}),(0,i.jsx)(r.A,{story:e[1],showDate:!0,showDescription:!1,showCommentCount:t,showHeroPackage:n}),(0,i.jsx)(r.A,{story:e[2],showDate:!0,showDescription:!1,showCommentCount:t,showHeroPackage:n})]})})})},84129:function(e,t,n){"use strict";n(40809);var r=n(28408),i=n(74848);t.A=({title:e,link:t,headingTag:n="h2"})=>{if(!e)return null;const o=`${n}`;return(0,i.jsx)("div",{className:"dn-ym-heading",children:(0,i.jsx)("div",{className:"row",children:(0,i.jsx)("div",{className:"col-12",children:(0,i.jsx)(o,{className:"dn-ym-heading__title",children:t?(0,i.jsx)("a",{className:"dn-ym-heading__link",href:(0,r.J1)(t),children:e}):e})})})})}},81008:function(e,t,n){"use strict";n.d(t,{Hc:function(){return f},He:function(){return s},Oq:function(){return l},X4:function(){return h},Zb:function(){return u}});var r=n(7770);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>e?.includes("youtube.com/embed/")||e?.includes("youtube.com/shorts/"),l=e=>{if(!e)return!1;if(e.includes("youtube.com/shorts/"))return!0;if(!e.includes("youtube.com/embed/"))return!1;const t=e.match(/\swidth=["'](\d+)["']/i),n=e.match(/\sheight=["'](\d+)["']/i);if(!t||!n)return!1;const r=parseInt(t[1],10),i=parseInt(n[1],10);return r>0&&i>r},c=e=>e?.includes("powa")||e?.includes("video-player.arcpublishing.com"),u=e=>{if(!e)return null;let t=e;if(/<html[^>]*>/i.test(e)&&/<body[^>]*>/i.test(e)){const n=e.match(/<body[^>]*>([\s\S]*?)<\/body>/i);n&&n[1]&&(t=n[1])}const n=t?.match(/youtube\.com\/embed\/([^"?&'>\s]+)/)||t?.match(/youtube\.com\/shorts\/([^"?&'>\s]+)/);return n?n[1]:null},d=e=>e.includes("data-autoplay=")?e:e.replace(/<div class="powa"/,'<div class="powa" data-autoplay="true"'),p=e=>{if(!e)return e;let t=e;const n=/<html[^>]*>/i.test(e),r=/<body[^>]*>/i.test(e);if(n&&r){const n=e.match(/<body[^>]*>([\s\S]*?)<\/body>/i);n&&n[1]&&(t=n[1].trim())}if(t.includes("<iframe")){/<div[^>]*>\s*<iframe/i.test(t)?(t=t.replace(/<div([^>]*class=["'][^"']*video[^"']*["'][^>]*)>/i,(e,t)=>t.includes("style=")?e:`<div${t} style="position: relative; width: 100%; padding-bottom: 56.25%; height: 0;">`),t=t.replace(/<iframe([^>]*)>/i,(e,t)=>t.includes("style=")?e:`<iframe${t} style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;">`)):t=`<div style="position: relative; width: 100%; padding-bottom: 56.25%; height: 0;">\n <div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;">\n ${t}\n </div>\n </div>`}return t},f=(e,t={})=>{const{autoplay:n=!0,mute:i=!0,playthrough:a}=t;let l=p(e.content);if(c(l)){if(e?.embed_html){const t=(0,r.PU)(e.embed_html,{autoplay:n,playthrough:a});return o(o({},e),{},{content:t})}const t=d(l);return o(o({},e),{},{content:t})}if(s(l)){const t=((e,t=!0)=>{const n=e.match(/src="([^"]*youtube\.com\/embed\/[^"?]*)([^"]*)"/);if(!n)return e;const r=n[1],i=n[2],o=i.includes("?")?"&":"?",a=`${i}${o}autoplay=1${t?"&mute=1":""}`;return e.replace(`src="${r}${i}"`,`src="${r}${a}"`)})(l,i);return o(o({},e),{},{content:t})}return o(o({},e),{},{content:l})},h=(e,t={})=>{const{convertYouTubeToVideo:n=!0}=t,i=p(e?.content);if(n&&s(i)){const t=(e=>{const t=u(e?.content);if(!t)return null;const n=`https://img.youtube.com/vi/${t}/sddefault.jpg`;return o(o({},e),{},{type:"video",streams:[{url:`https://www.youtube.com/watch?v=${t}`}],promo_items:{basic:{type:"image",url:n,width:640,height:480}},_id:e._id})})(o(o({},e),{},{content:i}));if(t)return{video:t,heroVideoOptions:{autoplay:!0,hideMuteControl:!1,hideSeekControl:!1,hideProgressLabel:!1,hideFullscreenControl:!1,hidePlayPauseControl:!1},shouldVideoBeLink:!1}}if(c(i)){if(e?.embed_html){const t=(0,r.PU)(e.embed_html,{autoplay:!0});return{rawHtml:o(o({},e),{},{content:t})}}const t=d(i);return{rawHtml:o(o({},e),{},{content:t})}}return{rawHtml:o(o({},e),{},{content:i})}}},94439:function(e,t,n){"use strict";n(40809);var r=n(74848);const i=({customFields:e})=>
2{const{message:t,url:n,buttonIcon:i,color:o,maxWidth:a,alignment:s="left"}=e,l=n?.startsWith("http")||n?.startsWith("https");return(0,r.jsx)("div",{className:"event-button-wrapper d-flex",style:{justifyContent:{left:"flex-start",center:"center",right:"flex-end"}[s]},children:(0,r.jsxs)("a",{href:n,target:l?"_blank":void 0,rel:l?"noopener noreferrer":void 0,className:"event-button btn py-3",style:{backgroundColor:o,maxWidth:a||void 0},children:[i&&(0,r.jsx)("span",{className:"event-button-icon",children:(c=i,c&&c.startsWith("fa-")?(0,r.jsx)("i",{className:c}):null)}),(0,r.jsx)("span",{className:"event-button-text",style:{marginLeft:i?8:0},children:t})]})});var c};i.icon="",t.A=i},79044:function(e,t,n){"use strict";n(40809);var r=n(19894),i=n.n(r),o=n(14375),a=n(4321),s=n(71352),l=n(74848);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=({customFields:e})=>{const{arcSite:t}=(0,a.useFusionContext)(),{searchableField:n}=(0,o.useEditableContent)(),{_id:r,defaultWidth:i,maxHeight:c}=e,{contentService:d,contentConfigValues:p}=r,f=(0,o.useContent)({source:d,key:{_id:p?._id,published:!0}});if(!f?.content_elements?.length)return null;const h=Math.floor(1e3+9e3*Math.random()),m={"--gallery-default-width":`${i||740}px`,"--gallery-max-height":`${c||435}px`};return(0,l.jsx)("div",u(u({className:"gallery",style:m},n("_id","gallery",{contentSource:"gallery-search"})),{},{children:(0,l.jsx)(s.A,{classPrefix:"gallery",images:f?.content_elements,arcSite:t,galleryIndex:h,selectedDefaultWidth:1600,selectedMaxHeight:99999},`pb-gallery_${p?._id}`)}))};p.propTypes={customFields:i().shape({_id:i().contentConfig("feeds").tag({name:"Schema"}),defaultWidth:i().number.tag({label:"Default Width Override",description:"Overrides the default width of the gallery images. (default: 740)"}),maxHeight:i().number.tag({label:"Max Height Override",description:"Overrides the max height of the gallery images. (default: 435)"})})},p.icon="picture-polaroid-landscape",t.A=p},12308:function(e,t,n){"use strict";var r=n(40809),i=n(19674),o=n.n(i),a=n(63118),s=n.n(a),l=n(74848);function c({customFields:e}){const{headingContent:t,headingLevel:n="1",heading_name:i,textAlign:o,fontColor:a,mobileOrder:c=0}=e||{},u=`h${n}`,d=i||s()(t?.toLowerCase()||""),p=`flex-block-${(0,r.useId)().replace(/:/g,"")}`,f=["heading-block",o?`heading-block--align-${o}`:"","light"===a?"heading-block--color-light":"",c>0?"flex-block--ordered":"",p].filter(Boolean).join(" ");let h="";return c&&(h+=`@media(max-width:767.98px){.${p}{order:${c}}}`),(0,l.jsxs)(l.Fragment,{children:[h&&(0,l.jsx)("style",{dangerouslySetInnerHTML:{__html:h}}),(0,l.jsx)(u,{id:d,className:f,children:t})]})}c.icon="text-style",c.propTypes={customFields:o().shape({headingContent:o().string.tag({label:"Heading Content"}),headingLevel:o().oneOf(["1","2","3","4","5","6"]).tag({label:"Heading Level",defaultValue:"1"}),heading_name:o().string.tag({label:"Anchor Name",description:'Used for anchor links (e.g., "speakers" creates #speakers)',placeholder:"section-name"}),textAlign:o().oneOf(["left","center","right"]).tag({label:"Text Alignment",defaultValue:"left"}),fontColor:o().oneOf(["dark","light"]).tag({label:"Font Color",defaultValue:"dark"}),mobileOrder:o().number.tag({label:"Mobile/App Order",description:"Controls display order on mobile. Lower numbers appear first. 0 = natural order.",defaultValue:0,min:0,group:"Flexbox Settings"})})},t.A=c},44745:function(e,t,n){"use strict";var r=n(19894),i=n.n(r),o=n(40809),a=n(4321),s=n(43993),l=n(87983),c=n.n(l),u=n(7770),d=n(35616),p=n(74848);
2const f=["alt","ansImage","aspectRatio","className","loading","src","resizedOptions","resizerURL","responsiveImages","width","height","sizes","onClick"];function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b="c-image",y=(0,o.forwardRef)((e,t)=>{let{alt:n="",ansImage:r,aspectRatio:i,className:o,loading:l="lazy",src:h,resizedOptions:g={},resizerURL:y,responsiveImages:v=[],width:w,height:_,sizes:x=[],onClick:j}=e,O=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,f);const S=r?r.auth?.[s.RESIZER_TOKEN_VERSION]:g?.auth,k=r?(0,u.i1)(r):h,{arcSite:C}=(0,a.useFusionContext)(),{resizerURL:P}=c()(C),T=y||P,E=o?`${b} ${o}`:b;if(!S)return console.error("No auth token provided for resizer"),(0,p.jsx)("img",{alt:n,ref:t,onClick:j&&j,style:j?{cursor:"pointer"}:{},className:E,src:h||r?.url,width:w,height:_});const N=(0,d.XV)({aspectRatio:i,width:w,height:_,ansImage:r}),A=parseFloat(N.width/N.height)?.toFixed(2),I=r?.additional_properties?.focal_point?.max?r?.additional_properties?.focal_point?.max.join(","):r?.focal_point?`${r.focal_point.x},${r.focal_point.y}`:null;g.focal=I||"0,0";const L=(0,d.qi)(T.concat(k),m(m({},g),{},{auth:S}),N.width,N.height);let D="";if(v?.length)D=v.filter(e=>Number.isInteger(e)&&e>0).map(e=>(0,d.qi)(T.concat(k),m(m({},g),{},{auth:S}),e,0!==A?e/A:void 0).concat(` ${e}w`)).join(", ")||null;else{D=`${(0,d.qi)(T.concat(k),m(m({},g),{},{auth:S}),2*N.width,2*N.height)} 2x`}const R=x&&x.length?x.filter(({isDefault:e})=>!e).map(({mediaCondition:e,sourceSizeValue:t})=>`${e} ${t}`).concat(x.find(e=>e.isDefault)?.sourceSizeValue||[]).join(", "):null,M={aspectRatio:A};return L?.includes(".png")||(M.backgroundColor="deseretnews"===C?"#F3F1F0":"#F6F6F6"),(0,p.jsx)("img",m(m({},O),{},{"data-chromatic":"ignore",alt:n,ref:t,onClick:j&&j,style:j?m(m({},M),{},{cursor:"pointer"}):m({},M),className:E,loading:l,src:L,srcSet:D,sizes:R},N))});y.displayName="Image",y.propTypes={alt:i().string,ansImage:i().shape({_id:i().string,url:i().string,auth:i().object}),aspectRatio:i().string,className:i().string,height:i().number,loading:i().oneOf(["lazy","eager"]),resizedOptions:i().object,resizerURL:i().string,responsiveImages:i().arrayOf(i().number),sizes:i().arrayOf(i().shape({isDefault:i().bool,sourceSizeValue:i().string,mediaCondition:i().string})),width:i().number,src:i().string,onClick:i().func},t.A=y},35616:function(e,t,n){"use strict";n.d(t,{CP:function(){return h},G:function(){return _},RM:function(){return m},T6:function(){return y},XV:function(){return w},Z_:function(){return p},gx:function(){return g},hn:function(){return b},kM:function(){return f},qi:function(){return v}});var r=n(4321),i=n(43993),o=n(81008);const a=["height","width"];function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?s(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=e=>{if("gallery"===e?.type){const t=e?.content_elements?.[0];t&&"image"===t?.type&&(e=t)}else if("video"===e?.type)e=e?.promo_items?.basic;else if("raw_html"===e?.type){const t=(0,o.Zb)(e?.content);t?e={url:`https://img.youtube.com/vi/${t}/sddefault.jpg`,type:"image"}:e?.promo_items?.basic&&(e=e.promo_items.basic)}return"image"===e?.type&&e?.url?e:null},d=(e,t,n=!1)=>{const{promo_items:r}=e||{};if(!r||!t)return null;const i={lead_art:["lead_art","basic","homepage_and_feeds","promo"],homepage_and_feeds:["homepage_and_feeds","promo","lead_art","basic"],search_social:["search_social","social","lead_art","homepage_and_feeds","promo","basic"],decoration:["decoration"]}[t]||[];for(const e of i)if(r?.[e]){if(n)return r[e];const t=u(r[e]);if(t)return t}return null},p=e=>d(e,"lead_art"),f=e=>((e,t)=>{const{promo_items:n}=e||{};if(!n||!t)return null;const r={lead_art:["lead_art","basic","homepage_and_feeds","promo"],homepage_and_feeds:["homepage_and_feeds","promo","lead_art","basic"],search_social:["search_social","social","lead_art","homepage_and_feeds","promo","basic"],decoration:["decoration"]}[t]||[];for(const e of r){const t=n?.[e];if(e){if("video"===t?.type)return t;if("gallery"===t?.type)return t;if("raw_html"===t?.type)return t;const e=u(t);if(e)return e}}return null})(e,"lead_art"),h=e=>d(e,"homepage_and_feeds"),m=e=>((e,t)=>{const{promo_items:n}=e||{};if(!n||!t)return null;const r={lead_art:["lead_art","basic","homepage_and_feeds","promo"],homepage_and_feeds:["homepage_and_feeds","promo","lead_art","basic"],search_social:["search_social","social","lead_art","homepage_and_feeds","promo","basic"],decoration:["decoration"]}[t]||[];for(const e of r){const t=n?.[e];if(e){if("video"===t?.type)return t;if("raw_html"===t?.type)return t;const e=u(t);if(e)return e}}return null})(e,"homepage_and_feeds"),g=e=>{const t={autoplay:!1,hideMuteControl:!1,hideSeekControl:!1,hideProgressLabel:!1,hideFullscreenControl:!1,hidePlayPauseControl:!1,hideCaption:!0,playOnHover:!0};return t.autoplay=e?.additional_properties?.heroVideoSettings?.autoplay||t.autoplay,t.hideMuteControl=e?.additional_properties?.heroVideoSettings?.hideAudioControls||t.hideMuteControl,t.hideSeekControl=e?.additional_properties?.heroVideoSettings?.hideVideoControls||t.hideSeekControl,t.hideProgressLabel=e?.additional_properties?.heroVideoSettings?.hideVideoControls||t.hideProgressLabel,t.hideFullscreenControl=e?.additional_properties?.heroVideoSettings?.hideVideoControls||t.hideFullscreenControl,t.hidePlayPauseControl=e?.additional_properties?.heroVideoSettings?.hideVideoControls||t.hidePlayPauseControl,t},b=e=>d(e,"search_social"),y=()=>{const{arcSite:e,deployment:t}=(0,r.useFusionContext)();return t(`/pf/resources/${e}/assets/images/pb/fallbackImage.png`)},v=(e,t,n,r)=>{const{height:i,width:o}=t,s=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,a);return r&&e?.includes("height=")&&(e=e.replace(/[?&]height=\d+/g,"")),n&&e?.includes("width=")&&(e=e.replace(/[?&]width=\d+/g,"")),(e=e.replace(/[?&]$/g,"")).concat(e?.includes("?")?"&":"?",new URLSearchParams(l(l(l({},s),n?{width:Math.floor(n)}:{}),r?{height:Math.floor(r)}:{})).toString())},w=({aspectRatio:e="",width:t,height:n,ansImage:r={}})=>{if(t&&n)return{width:t,height:n};const[i,o]=e?.split(":"),a=t||r?.width,s=n||r?.height;if(e&&a){const e=o/i*a;return{width:a,height:Math.floor(e)}}if(e&&s){const e=i/o*s;return{width:Math.floor(e),height:s}}return{width:a||null,height:s||null}},_=()=>{const e=`\n _id\n type\n url\n content\n auth {\n ${i.RESIZER_TOKEN_VERSION}\n }\n focal_point {\n x\n y\n }\n additional_properties {\n focal_point {\n max\n min\n }\n }\n content_elements {\n _id\n type\n url\n content\n auth {\n ${i.RESIZER_TOKEN_VERSION}\n }\n focal_point {\n x\n y\n }\n additional_properties {\n focal_point {\n max\n min\n }\n }\n height\n width\n }\n height\n width\n promo_items {\n basic {\n type\n version\n url\n width\n height\n auth {\n 1\n }\n }\n }\n video_type\n streams {\n height\n width\n filesize\n stream_type\n url\n bitrate\n provider\n }\n subtitles\n embed_html\n `;return`\n promo_items {\n lead_art {\n ${e}\n }\n homepage_and_feeds {\n ${e}\n }\n search_social {\n ${e}\n }\n social {\n ${e}\n }\n promo {\n ${e}\n }\n basic {\n ${e}\n }\n decoration {\n ${e}\n }\n }\n `}},37304:function(e,t,n){"use strict";n(40809);var r=n(14375),i=n(4321),o=n(87983),a=n.n(o),s=n(74848);t.A=({feed:e,storyId:t})=>{const{arcSite:n}=(0,i.useFusionContext)(),{websiteDomain:o}=a()(n),l=(0,r.useContent)({source:"story-api",query:{_id:t}});if(!l)return null;const c={"@context":"https://schema.org","@type":"LiveBlogPosting","@id":`${o}${l?.canonical_url}`,headline:l?.additional_properties?.seoHeadline??l?.headlines?.basic??"",description:l?.additional_properties?.seoDescription?.plaintext??l?.description?.basic??"",about:{"@type":"event",startDate:(u=new Date(e?.coverage_start_date||l?.publish_date),`${u.getFullYear()}
2-${String(u.getMonth()+1).padStart(2,"0")}-${String(u.getDate()).padStart(2,"0")}T${String(u.getHours()).padStart(2,"0")}:${String(u.getMinutes()).padStart(2,"0")}:${String(u.getSeconds()).padStart(2,"0")}${new Date("2025-01-01").getTimezoneOffset()!==(new Date).getTimezoneOffset()?"-06:00":"-07:00"}`),name:e?.title}};var u;return e?.coverage_start_date&&(c.coverageStartTime=e.coverage_start_date),e?.coverage_end_date&&(c.coverageEndTime=e.coverage_end_date),e?.updates?.length>0&&(c.liveBlogUpdate=e.updates.map(e=>({"@type":"BlogPosting",headline:e.headline??"",articleBody:e?.content?.map(e=>"text"===e?.type?e?.content??"":"")?.join("")??"",datePublished:new Date(e.created_at).toISOString()}))),(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(c)}})}},663:function(e,t,n){"use strict";var r=n(40809),i=n(87751),o=n(71352),a=n(74848);function s(e,t,n){return function(e,t){return"localhost"===e||"dev"===e||t?.includes("sandbox")}(e,t)?`https://deseretnews-${n}-sandbox.web.arc-cdn.net`:"churchnews"===n||"churchnews-es"===n||"churchnews-pt"===n?"https://www.thechurchnews.com":"https://www.deseret.com"}t.A=({featuredImage:e,caption:t,credit:n,arcSite:l,mediaCache:c,arc_environment:u,websiteDomain:d,galleryIndex:p,classPrefix:f="dn-article-body",mediaType:h,mediaId:m})=>{const[g,b]=(0,r.useState)(null),[y,v]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!m||!h||"image"===h)return;if(c.current[m])return b(c.current[m]),void v(!1);let e=!1;v(!0);return(async()=>{try{let t;if("video"===h?t=`${s(u,d,l)}/arc/outboundfeeds/video/${m}/`:"gallery"===h&&(t=`${s(u,d,l)}/arc/outboundfeeds/content/?_id=${m}`),!t)return;const n=await fetch(t);if(n.ok){let t=await n.json();"video"===h&&Array.isArray(t)&&(t=t[0]),!e&&t&&(c.current[m]=t,b(t))}}catch(e){console.error("FeaturedMedia fetch error:",e)}finally{e||v(!1)}})(),()=>{e=!0}},[m,h,u,d,l,c]),h||e?"video"===h?y||!g?null:(0,a.jsx)("div",{className:"mb-5",children:(0,a.jsx)(i.A,{item:g,options:{thumbnail:e}})}):"gallery"===h?y||!g?.content_elements?null:(0,a.jsx)("div",{className:"mb-5",children:(0,a.jsx)(o.A,{images:g.content_elements,classPrefix:f,arcSite:l,galleryIndex:p})}):e?(0,a.jsxs)("figure",{className:"mb-5",children:[(0,a.jsx)("img",{src:e,alt:t||"featured image"}),(t||n)&&(0,a.jsxs)("figcaption",{className:"c-media-item__fig-caption mt-1",children:[t?(0,a.jsx)("span",{className:"c-media-item__caption",children:t}):null,n?(0,a.jsxs)("span",{className:"c-media-item__credit",children:[(0,a.jsx)("span",{className:"line"}),n]}):null]})]}):null:null}},68352:function(e,t,n){"use strict";n(40809);var r=n(4321),i=n(19674),o=n.n(i),a=n(63200),s=n(74848);function l({customFields:e}){const{markdown:t}=e||{},{arcSite:n}=(0,r.useFusionContext)();let i=t;return"utahbusiness"===n&&(i=i?.replaceAll(/<\s*blue\s*>/g,'<span style="color: #009cf5">'),i=i?.replaceAll(/<\s*\/\s*blue\s*>/g,"</span>")),"deseretnews"===n&&(i=i?.replaceAll(/<\s*yellow\s*>/g,'<span style="color: rgba(255, 210, 24, 1)">'),i=i?.replaceAll(/<\s*\/\s*yellow\s*>/g,"</span>")),(0,s.jsx)("p",{className:"paragraph-block",children:(0,s.jsx)(a.Ay,{children:i})})}l.icon="paragraph-left-align",l.propTypes={customFields:o().shape({markdown:o().richtext.tag({label:"Markdown Text",description:"Markdown"})})},t.A=l},72492:function(e,t,n){"use strict";n(40809);var r=n(4321),i=n(74848);t.A=()=>{const{deployment:e}=(0,r.useFusionContext)();return(0,i.jsx)("div",{id:"deseret-print-header",children:(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("div",{className:"col-12",children:(0,i.jsx)("img",{src:e("/pf/resources/deseretnews/assets/images/pb/desktop_logo_black_and_yellow.svg"),className:"dn-logo",alt:"Deseret News Logo Black & Yellow"})})})})}},97161:function(e,t,n){"use strict";n(40809);var r=n(19674),i=n.n(r),o=n(25067),a=n(4321),s=n(87983),l=n.n(s),c=n(14375),u=n(63200),d=n(74848);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?p(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m({customFields:e}){const{imageAuth:t,imageId:n,imageUrl:r,name:i,title:s,description:p,linkUrl:h}=e||{},{searchableField:m}=(0,c.useEditableContent)(),g=(0,a.useFusionContext)(),{arcSite:b}=g,y=l()?.(b);return(0,d.jsxs)("a",{className:"showcase-block",href:h,children:[(0,d.jsx)("img",f({className:"showcase-block__image",src:(0,o.Lt)(y.websiteDomain,n,t,r,800),alt:"product"},m({imageId:"_id",imageAuth:"auth.1",imageUrl:"url"}))),(0,d.jsxs)("div",{className:"showcase-block__content",children:[i&&(0,d.jsx)("h4",{className:"showcase-block__name",children:i}),s&&(0,d.jsx)("div",{className:"showcase-block__title",children:s}),p&&(0,d.jsx)("p",{className:"showcase-block__description",children:(0,d.jsx)(u.Ay,{children:p})})]})]})}m.icon="laptop-user",m.propTypes={customFields:i().shape({imageAuth:i().string.tag({label:"Image AUTH",hidden:!0}),imageId:i().disabled.tag({label:"Image ID",hidden:!0}),name:i().string.tag({label:"Name"}),title:i().string.tag({label:"Title"}),description:i().richtext.tag({label:"Description",description:"Supports markdown"}),linkUrl:i().richtext.tag({label:"Link URL"})})},t.A=m},29820:function(e,t,n){"use strict";var r=n(40809),i=n(19674),o=n.n(i),a=n(25067),s=n(4321),l=n(87983),c=n.n(l),u=n(14375),d=n(21718),p=n(80213),f=n(48368),h=n(74848);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b({customFields:e}){const{imageAuth:t,imageId:n,imageUrl:i,linkUrl:o,linkBorder:l,imageSize:b}=e||{},y=(0,s.useFusionContext)(),{arcSite:v}=y,w={deseretnews:f.A,utahbusiness:p.A}[v]||p.A,_=(0,r.useContext)(w),x=_?.imageSize||b;let j=l;_?.linkBorder&&(j="border"===_.linkBorder);const{searchableField:O}=(0,u.useEditableContent)(),S=c()?.(v),k=()=>(0,h.jsx)("img",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({className:"sponsor-logo__image",src:(0,a.Lt)(S.websiteDomain,n,t,i,1e3),alt:"product"},O({imageId:"_id",imageAuth:"auth.1",imageUrl:"url"})));return(0,h.jsx)("div",{className:(0,d.A)("sponsor-logo",j&&"sponsor-border",x),children:o?(0,h.jsx)("a",{href:o,children:(0,h.jsx)(k,{})}):(0,h.jsx)(k,{})})}b.icon="picture-flower-1",b.propTypes={customFields:o().shape({linkUrl:o().string.tag({label:"Link"}),imageSize:o().oneOf(["small","medium","large"]).tag({label:"Size",labels:{small:"Small",medium:"Medium",large:"Large"},defaultValue:"small"}),linkBorder:o().bool.tag({label:"Border"}),imageAuth:o().string.tag({label:"Product Image AUTH",hidden:!0}),imageId:o().disabled.tag({label:"Product Image ID",description:'To change, hover over the product image and click the "Replace image" button.',hidden:!0})})},t.A=b},63801:function(e,t,n){"use strict";n.d(t,{G:function(){return u}});var r=n(40809),i=n(19674),o=n.n(i),a=n(74848);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?s(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u={menuItem1Title:o().string.tag({label:"Menu Label",description:"Text that will be shown as the link",required:!0}),menuItem1Link:o().string.tag({label:"Menu Link",description:"For page sections, enter the heading name with # (e.g., #speakers). For external links, enter full URL.",required:!0,placeholder:"#section-name or https://example.com"}),menuItem1IsAnchor:o().boolean.tag({label:"Is Page Section?",description:"Check if this links to a section on this page (like #speakers)",defaultValue:!1}),menuItem2Title:o().string.tag({label:"Menu Label 2",group:"Additional Menu Items"}),menuItem2Link:o().string.tag({label:"Menu Link 2",group:"Additional Menu Items"}),menuItem2IsAnchor:o().boolean.tag({label:"Is Page Section?",defaultValue:!1,group:"Additional Menu Items"}),menuItem3Title:o().string.tag({label:"Menu Label 3",group:"Additional Menu Items"}),menuItem3Link:o().string.tag({label:"Menu Link 3",group:"Additional Menu Items"}),menuItem3IsAnchor:o().boolean.tag({label:"Is Page Section?",defaultValue:!1,group:"Additional Menu Items"}),menuItem4Title:o().string.tag({label:"Menu Label 4",group:"Additional Menu Items"}),menuItem4Link:o().string.tag({label:"Menu Link 4",group:"Additional Menu Items"}),menuItem4IsAnchor:o().boolean.tag({label:"Is Page Section?",defaultValue:!1,group:"Additional Menu Items"}),menuItem5Title:o().string.tag({label:"Menu Label 5",group:"Additional Menu Items"}),menuItem5Link:o().string.tag({label:"Menu Link 5",group:"Additional Menu Items"}),menuItem5IsAnchor:o().boolean.tag({label:"Is Page Section?",defaultValue:!1,group:"Additional Menu Items"})},d=({customFields:e={}})=>{const t=e.menuColor||"blue",n=e.isOnTopOfPage||!1,[i,o]=(0,r.useState)(!1),[s,l]=(0,r.useState)(""),c=(0,r.useRef)(null),u=(0,r.useRef)(null),d=(0,r.useRef)(null),[p,f]=(0,r.useState)(!1),[h,m]=(0,r.useState)({left:0,width:0,height:0,top:80}),g=[];for(let t=1;t<=5;t++)e[`menuItem${t}Title`]&&g.push({title:e[`menuItem${t}Title`],link:e[`menuItem${t}Link`],isAnchor:e[`menuItem${t}IsAnchor`]});(0,r.useEffect)(()=>{const e=e=>{const t=e.target.closest('a[href^="#"]');if(!t)return;const n=t.getAttribute("href").slice(1).toLowerCase(),r=document.getElementById(n)||document.getElementById(n.toLowerCase());if(r){e.preventDefault(),l(n);const t=r.getBoundingClientRect(),i=window.pageYOffset||document.documentElement.scrollTop,a=t.top+i-80;window.scrollTo({top:a,behavior:"smooth"}),o(!1)}},t=document.querySelector(".submenu");return t?.addEventListener("click",e),()=>t?.removeEventListener("click",e)},[]),(0,r.useEffect)(()=>{if(!n)return;const e=c.current,t=u.current;if(!e||!t)return;const r=e=>{const t=window.getComputedStyle(e).position;return"sticky"===t||"fixed"===t},i=document.querySelector("header"),o=i?r(i)?i:Array.from(i.querySelectorAll("*")).find(r)||null:null;let a=80;const s=()=>{a=Math.round(o?o.getBoundingClientRect().bottom:80);const t=e.getBoundingClientRect(),n=Math.round(t.left),r=Math.round(t.width),i=d.current?.offsetHeight||t.height;m(e=>e.left===n&&e.width===r&&e.height===i&&e.top===a?e:{left:n,width:r,height:i,top:a})};let l=null;const p=()=>{"function"==typeof IntersectionObserver&&(l?.disconnect(),l=new IntersectionObserver(([e])=>{f(e.boundingClientRect.top<=a)},{rootMargin:`-${a}px 0px 0px 0px`,threshold:0}),l.observe(t))};s(),p();let h=null;const g=()=>{null===h&&(h=window.requestAnimationFrame(()=>{h=null;const e=a;s(),a!==e&&p()}))};return window.addEventListener("resize",g),()=>{null!==h&&window.cancelAnimationFrame(h),l?.disconnect(),window.removeEventListener("resize",g)}},[n,g.length]);const b=e=>`submenu__link ${e.isAnchor&&y(e).slice(1)===s?"active":""} ${"gold"===t?"gold-menu":""}`,y=e=>!e.isAnchor||e.link&&"string"==typeof e.link?e.link&&"string"==typeof e.link?e.isAnchor?`#${e.link.replace(/^#/,"").toLowerCase().trim()}`:e.link:(console.warn(`Warning: No link provided for menu item "${e.title}"`),"/"):(console.warn(`Warning: No link provided for anchor menu item "${e.title}"`),"#");if(!g.length)return null;const v=p?{height:h.height}
2:void 0,w=p?{position:"fixed",top:h.top,left:h.left,width:h.width}:void 0;return(0,a.jsxs)("div",{ref:c,className:"submenu-pin-wrapper",style:v,children:[(0,a.jsx)("div",{ref:u,className:"submenu-pin-sentinel","aria-hidden":"true"}),(0,a.jsxs)("nav",{ref:d,className:`submenu submenu--${t}${p?" submenu--stuck py-2":""}`,style:w,children:[(0,a.jsxs)("div",{className:"submenu__mobile",children:[(0,a.jsxs)("button",{className:"submenu__toggle",onClick:()=>o(!i),"aria-expanded":i,children:["Menu",(0,a.jsx)("span",{className:"submenu__arrow "+(i?"is-open":"")})]}),(0,a.jsx)("ul",{className:"submenu__list "+(i?"is-open":""),children:g.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:y(e),className:b(e),children:e.title||"Untitled"})},t))})]}),(0,a.jsx)("ul",{className:"submenu__desktop",children:g.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:y(e),className:b(e),children:e.title||"Untitled"})},t))})]})]})};d.propTypes={customFields:o().shape(l(l({},u),{},{menuColor:o().string,isOnTopOfPage:o().boolean}))},t.A=d},73974:function(e,t,n){"use strict";n.d(t,{A:function(){return b}});var r=n(40809),i=n(74665),o=n.n(i),a=n(39923),s=n.n(a),l=n(4321),c=n(43993),u=n(87983),d=n.n(u);function p(e){const[t,n]=(0,r.useState)(null);(0,r.useEffect)(()=>{n("undefined"!=typeof navigator&&/Mobi|Android|iPhone/i.test(navigator.userAgent))},[]);return(0,r.useMemo)(()=>{if(!Array.isArray(e)||0===e.length)return null;const n=e[0];if(n&&!n.stream_type&&n.url)return n.url.includes("youtube.com")||n.url.includes("youtu.be"),n.url;const r=e.filter(e=>"mp4"===e.stream_type).sort((e,t)=>t.bitrate-e.bitrate);if(null===t)return r.length?r[0].url:null;const i=e.filter(e=>"mp4"===e.stream_type).sort((e,t)=>e.bitrate-t.bitrate);if(i.length)return t?i[0].url:i[i.length-1].url;const o=e.filter(e=>"ts"===e.stream_type).sort((e,t)=>e.bitrate-t.bitrate);return o.length?t?o[0].url:o[o.length-1].url:null},[e,t])}var f=n(35616),h=n(7770),m=n(21718),g=n(74848);function b({thumbnail:e,aspectRatio:t,urls:n,caption:i,playing:a,setPlaying:u,title:b,mute:y=!1,showPip:v=!0,hideMuteControl:w=!1,hideSeekControl:_=!1,hideProgressLabel:x=!1,hideFullscreenControl:j=!1,hidePlayPauseControl:O=!1,loop:S=!1,playOnHover:k=!1,videoId:C=null}){const P=(0,r.useRef)(null),T=(0,r.useRef)(null),E=p(n),{arcSite:N}=(0,l.useFusionContext)(),{resizerURL:A}=d()(N),I=(0,f.T6)(),L=(0,h.i1)(e),D=L?L.startsWith("http://")||L.startsWith("https://")?L:(0,f.qi)(A.concat(L),{auth:e?.auth?.[c.RESIZER_TOKEN_VERSION]}):"string"==typeof e&&/^https?:\/\//.test(e)?e:I,[R,M]=(0,r.useState)(y),[$,F]=(0,r.useState)(0),[V,z]=(0,r.useState)(0),[B,H]=(0,r.useState)(!1),[U,q]=(0,r.useState)(!1),Z=10,[G,W]=(0,r.useState)(Z),[K,Y]=(0,r.useState)(!1),[J,X]=(0,r.useState)(!1),Q=w&&_&&x&&j&&O,ee=(0,r.useRef)(!1),te=(0,r.useRef)(y);(0,r.useEffect)(()=>{te.current=R},[R]),(0,r.useEffect)(()=>{Y(!1),W(Z),ee.current=!1,X(!1),H(!1),F(0),z(0),q(!1)},[C,E,Z]);const ne=e=>{if(isNaN(e))return"0:00";return`${Math.floor(e/60)}:${Math.floor(e%60).toString().padStart(2,"0")}`},[re,ie]=(0,r.useState)(!1);(0,r.useEffect)(()=>{if(!s().isEnabled)return;const e=()=>ie(s().isFullscreen);return s().on("change",e),()=>s().off("change",e)},[]);const[oe,ae]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!T.current)return;const e=T.current,t=new IntersectionObserver(e=>{const[t]=e;ae(!t.isIntersecting)},{root:null,threshold:0,rootMargin:"0px"});return t.observe(e),()=>{t.unobserve(e),t.disconnect()}},[]),(0,g.jsxs)("div",{className:"video-container",ref:T,style:{"--aspect-ratio":t||"16/9"},onClick:()=>{B&&(a||(ee.current=!0,X(!0)),u(e=>!e))},onMouseEnter:()=>{q(!0),!a&&k&&(ee.current=!0,X(!0),M(!0),u(!0))},onMouseLeave:()=>{q(!1),a&&k&&u(!1)},children:[(0,g.jsx)(o(),{ref:P,playsInline:!0,url:E,playing:a,muted:R,light:!a&&!B&&D,onReady:()=>H(!0),onProgress:e=>{const t=100*e.played;if(K&&t>=G)try{if(!E&&!C)return void console.warn("[Video Analytics] Skipping media_progress: missing videoUrl and videoId");window.dataLayer=window.dataLayer||[];const e={event:"media_progress",media_playback_percentage:G,media_playback_progress:Math.floor(V/Z),media_duration:Math.floor(V),media_type:"video",media_player:void 0,media_source:E||void 0,play_type:te.current?"video_muted":"video_unmuted",video_id:C||void 0,video_title:b||void 0};window.dataLayer.push(e),W(G+Z)}catch(e){console.error("[Video Analytics] Error tracking media_progress:",e)}F(e.played)},onDuration:e=>{z(e)},onStart:()=>{if(!K)try{if(!E&&!C)return console.warn("[Video Analytics] Skipping media_play: missing videoUrl and videoId"),Y(!0),void H(!0);window.dataLayer=window.dataLayer||[];const e={event:"media_play",media_type:"video",media_player:void 0,media_source:E||void 0,play_type:te.current?"video_muted":"video_unmuted",video_id:C||void 0,video_title:b||void 0};ee.current?e.manual_play=1:e.auto_play=1,window.dataLayer.push(e),Y(!0)}catch(e){console.error("[Video Analytics] Error tracking media_play:",e),Y(!0)}H(!0)},onEnded:()=>
2{if(K&&G<=100)try{if(!E&&!C)return void console.warn("[Video Analytics] Skipping media_progress 100%: missing videoUrl and videoId");window.dataLayer=window.dataLayer||[];const e={event:"media_progress",media_playback_percentage:100,media_playback_progress:Math.floor(V/Z),media_duration:Math.floor(V),media_type:"video",media_player:void 0,media_source:E||void 0,play_type:te.current?"video_muted":"video_unmuted",video_id:C||void 0,video_title:b||void 0};window.dataLayer.push(e),W(110)}catch(e){console.error("[Video Analytics] Error tracking media_progress 100%:",e)}},playIcon:(0,g.jsx)("button",{className:"play-button",onClick:()=>{ee.current=!0,X(!0),u(!0)},children:(0,g.jsx)("i",{className:"fa-solid fa-play"})}),width:"100%",height:"100%",controls:!1,pip:!!v&&(a&&oe),config:{file:{attributes:{playsinline:!0}}},loop:S}),(0,g.jsxs)("div",{className:(0,m.A)("overlay",U&&B&&!Q&&"show"),children:[(0,g.jsxs)("div",{className:"controls",children:[(0,g.jsx)("button",{className:j&&"d-none",onClick:e=>{e.stopPropagation(),s().isEnabled&&s().toggle(T.current)},"aria-label":re?"Exit full screen":"Enter full screen",children:(0,g.jsx)("i",{className:re?"fa-solid fa-down-left-and-up-right-to-center":"fa-solid fa-up-right-and-down-left-from-center"})}),(0,g.jsx)("button",{className:w&&"d-none",onClick:e=>{e.stopPropagation(),M(e=>!e)},children:R?(0,g.jsx)("i",{className:"fa-solid fa-volume-xmark"}):(0,g.jsx)("i",{className:"fa-solid fa-volume-high"})}),(0,g.jsxs)("span",{className:x&&"d-none",children:[ne($*V)," / ",ne(V)]}),(0,g.jsx)("input",{className:_&&"d-none",type:"range",min:0,max:1,step:"any",value:$,onClick:e=>e.stopPropagation(),onChange:e=>{const t=parseFloat(e.target.value);F(t),P.current.seekTo(t)}}),(0,g.jsx)("button",{className:O&&"d-none",onClick:e=>{e.stopPropagation(),a||(ee.current=!0,X(!0)),u(e=>!e)},children:a?(0,g.jsx)("i",{className:"fa-solid fa-pause"}):(0,g.jsx)("i",{className:"fa-solid fa-play"})})]}),i&&(0,g.jsx)("div",{className:"caption",children:i})]})]})}},7927:function(e,t,n){"use strict";n.d(t,{gI:function(){return a},lr:function(){return o}});n(43993);const r={en:{siteId:"churchnews",label:"ENGLISH",domain:"https://www.thechurchnews.com",sandboxDomain:"https://deseretnews-churchnews-sandbox.web.arc-cdn.net",pianoLocale:"en_US",translationErrorPage:"/translation-not-found",newsletterConfirmationPage:"https://www.thechurchnews.com/pages/thank-you-for-subscribing",newsletterLists:null,audioPlayerBehavior:"enabled",audioWarningMessage:null,enabled:!0},es:{siteId:"churchnews-es",label:"ESPAÃOL",domain:"https://es.thechurchnews.com",sandboxDomain:"https://deseretnews-churchnews-es-sandbox.web.arc-cdn.net",pianoLocale:"es_ES",translationErrorPage:"/traduccion-no-encontrada",newsletterConfirmationPage:"https://es.thechurchnews.com/pages/suscripcion-confirmada/",newsletterLists:["church-news-es"],audioPlayerBehavior:"warning",audioWarningMessage:"El audio del artÃculo solo está disponible en inglés.",enabled:!0},pt:{siteId:"churchnews-pt",label:"PORTUGUÃS",domain:"https://pt.thechurchnews.com",sandboxDomain:"https://deseretnews-churchnews-pt-sandbox.web.arc-cdn.net",pianoLocale:"pt_BR",translationErrorPage:"/traducao-nao-encontrada",newsletterConfirmationPage:"https://pt.thechurchnews.com/pages/subscricao-confirmada/",newsletterLists:["church-news-pt"],audioPlayerBehavior:"disabled",audioWarningMessage:null,enabled:!0},fr:{siteId:"churchnews-fr",label:"FRANÃAIS",domain:"https://fr.thechurchnews.com",sandboxDomain:"https://deseretnews-churchnews-fr-sandbox.web.arc-cdn.net",pianoLocale:"fr_FR",translationErrorPage:"/traduction-non-trouvee",newsletterConfirmationPage:"https://fr.thechurchnews.com/pages/confirmation-abonnement/",newsletterLists:["church-news-fr"],audioPlayerBehavior:"warning",audioWarningMessage:"L'audio de l'article est uniquement disponible en anglais.",enabled:!0}},i=Object.values(r).map(e=>e.siteId),o=e=>Object.values(r).find(t=>t.siteId===e)||r.en,a=e=>i.includes(e)},97398:function(e,t,n){"use strict";function r(e){const t=new Date,n=Math.floor((t.getTime()-e.getTime())/1e3),r=[{label:"year",seconds:31536e3},{label:"month",seconds:2592e3},{label:"day",seconds:86400},{label:"hour",seconds:3600},{label:"minute",seconds:60},{label:"second",seconds:1}];for(const e of r)if(n>=e.seconds){const t=Math.floor(n/e.seconds);return`${t} ${1===t?e.label:`${e.label}s`} ago`}return"just now"}n.d(t,{A:function(){return r}})},25067:function(e,t,n){"use strict";n.d(t,{C$:function(){return u},Lt:function(){return s},Lx:function(){return c},Ny:function(){return l}});var r=n(43993),i=n(87983),o=n.n(i),a=n(7770);const s=(e,t,n,r,i=500)=>
2{if(!(e&&t&&n&&r))return"";const o=r?.match(/\.\w{3,4}$/);return o?`${e}/resizer/v2/${t}${o}?auth=${n}&width=${i}`:""},l=(e,t,n=500)=>e&&t?`${e}${t}&width=${n}`:"",c=(e,t)=>{const n=e?.imageUrl||e?.image?.url||e?.image;return n?.includes("?auth=")?`${n}&${t}`:n},u=(e,t,n=1e3)=>{if(!e||!t)return"";const i=e?.auth?.[r.RESIZER_TOKEN_VERSION]||null,s=(0,a.i1)(e),{resizerURL:l}=o()(t);n=e.width>n?n:e.width;const c=Math.floor(e.height/e.width*n);let u=e?.additional_properties?.focal_point?.max?e?.additional_properties?.focal_point?.max.join(","):e?.focal_point?`${e.focal_point.x},${e.focal_point.y}`:null;return u||(u="0,0"),`${l}${s}?auth=${i}&width=${n}&height=${c}&focal=${u}&quality=90`}},28408:function(e,t,n){"use strict";n.d(t,{De:function(){return c},J1:function(){return u},TJ:function(){return d}});n(40809);var r=n(87983),i=n.n(r),o=n(4321),a=n(43993),s=n(74848);const l=["localhost","j.thechurchnews.com","j.deseret.com"],c=({children:e,href:t,className:n=null,target:r=null})=>{let i=u(t);return i?(0,s.jsx)("a",{href:i,className:n,target:r,children:e}):null},u=(e,t=null)=>{const{arcSite:n}=(0,o.useFusionContext)();return((e,t)=>{const{websiteDomain:n}=i()(t);if(!e)return e;if(l.includes(a.arc_environment)&&!e.includes("http")){e?.includes("_website")||(e=e?.includes("?")?`${e}&_website=${t}`:`${e}?_website=${t}`);let[n,r]=e.split("?");n?.endsWith("/")||(n+="/"),e=`${n}?${r}`,e?.startsWith("/")&&(e=`${e}`)}else"/"===e&&n?e=n:e?.startsWith("/")&&n&&(e=`${n}${e}`),e?.endsWith("/")||(e+="/");return e})(e,t||n)},d=e=>{let t="";return"section"===e?.node_type?t=e?._id:"link"===e?.node_type&&e?.url?t=e.url:e?.path&&(t=e.path),u(t)}},28346:function(e,t,n){"use strict";function r(e,t){const n=t.map(e=>{if("list"===e.type){const{list_type:t,items:n}=e;return r(t,n)}return`<li>${e.content}</li>`});return"unordered"===e?`<ul>${n.join("")}</ul>`:`<ol>${n.join("")}</ol>`}function i(e=[]){return e?`\n ${e?.map(e=>{switch(e.type){case"text":return`<p>${e.content}</p>`;case"header":switch(e.level){case 1:return`<h1>${e.content}</h1>`;case 2:return`<h2>${e.content}</h2>`;case 3:return`<h3>${e.content}</h3>`;default:return""}case"list":return r(e.list_type,e.items);case"oembed_response":return`${e?.raw_oembed?.html}${e.caption?`<span class="c-media-item__caption">${e?.caption}</span>`:""}`;case"image":return`<img src="${e.url}" alt="${e?.caption}" />${e.caption?`<span class="c-media-item__caption">${e?.caption}</span>`:""}`;default:return""}}).join("")}`:null}n.d(t,{A:function(){return i}})},40849:function(e,t,n){"use strict";n.d(t,{FB:function(){return d},Pt:function(){return o},Xk:function(){return c},do:function(){return a},gf:function(){return p},qz:function(){return u}});const r="https://authapi.deseret.com/pianoCoralAuth",i="deseret:coral:authToken";function o(){return window?.tp?.pianoId&&!window.tp.pianoId.isUserValid()&&a(),window?.localStorage?.getItem(i)||void 0}function a(e){e?window?.localStorage?.setItem(i,e):window?.localStorage?.removeItem(i)}async function s(e,t){if(e&&t)try{const n=await fetch(r,{method:"POST",headers:{"content-type":"application/json",accept:"application/json"},body:JSON.stringify({aid:e,token:t})});if(200===n.status){return{success:!0,token:(await n.json()).coralAuthToken}}if(400===n.status){const e=await n.json();if(e?.error)return{success:!1,token:null,error:e.error}}}catch(e){console.error(e)}return{success:!1,token:null}}let l=!1;async function c(e={}){const{viewContext:t=null}=e;if(!l&&(l=!0,window?.tp?.pianoId))try{if(window.tp.pianoId.isUserValid()){const e=window.tp.aid,n=window.tp.pianoId.getToken(),r=await s(e,n);r.success?(a(r.token),window.coralStreamEmbed.login(r.token)):"no_username"===r?.error&&("app"===t?window.dispatchEvent(new Event("deseret:coral:no_username")):await async function(){if(window?.tp?.experience){const e=document?.getElementById("comments-sidebar");e&&window?.bootstrap&&window.bootstrap.Offcanvas.getOrCreateInstance(e).hide(),window.tp.experience.execute({increment_pageview_meter:"false",custom_variables:JSON.stringify({show_template:"coral_username"})})}}())}else if("app"===t)window.dispatchEvent(new Event("deseret:coral:show_piano_login"));else{const e=document?.getElementById("comments-sidebar");e&&window?.bootstrap&&window.bootstrap.Offcanvas.getOrCreateInstance(e).hide(),window.tp.pianoId.show({displayMode:"modal",loginSuccess:u,registrationSuccess:e=>{window.dn.setCookie("_pc_registrationType","CommentReg",{expires:Date((new Date).getTime()+36e5)})}})}}finally{l=!1}}async function u(){if(window?.tp?.pianoId&&window.tp.pianoId.isUserValid()){const e=window.tp.aid,t=window.tp.pianoId.getToken(),n=await s(e,t);n.success&&(a(n.token),window?.coralStreamEmbed&&window.coralStreamEmbed.login(n.token))}}async function d(){a(),window?.coralStreamEmbed&&window.coralStreamEmbed.logout()}async function p(e={}){const{viewContext:t=null}=e;if(window?.tp?.pianoId&&window.tp.pianoId.isUserValid()){if(!o()){const e=window.tp.aid,t=window.tp.pianoId.getToken(),n=await s(e,t);n.success&&(a(n.token),window?.coralStreamEmbed&&window.coralStreamEmbed.login(n.token))}}}},41878:function(e,t,n){"use strict";n.d(t,{H8:function(){return s},UC:function(){return a},l0:function(){return o},s5:function(){return l}});const r="piano-user-resources",i=[{rid:"R0VTZPW",name:"member",priority:1,features:{reducedAds:!1,articleAudio:!1}},{rid:"RZLIQD5",name:"insider",priority:0,features:{reducedAds:!0,articleAudio:!0}}],o=()=>
2{if(window?.tp?.pianoId&&window.tp.pianoId.isUserValid())return new Promise(e=>{window.tp.api.callApi("/access/list",{},function(t){const n={membership:""},o=[];if(t?.data?.map(e=>{const t=i.find(t=>t.rid===e?.resource?.rid);t&&(Object.keys(t.features).forEach(e=>{n[e]||(n[e]=t.features[e]),t.features[e]&&(n[e]=t.features[e])}),o.push(t))}),o.length>0){const e=o.sort((e,t)=>t.priority-e.priority)?.pop();n.membership=e.name}window.dn.setCookie(r,0===Object.keys(n).length?null:btoa(JSON.stringify(n)),{expires:Date((new Date).getTime()+864e5)}),e()})})},a=()=>{window.dn.deleteCookie(r)},s=()=>{void 0!==window.dn.getCookie(r)&&o()},l=()=>{s();return function(){const e=window.dn.getCookie(r);try{if(e){const t=JSON.parse(atob(e));if("object"==typeof t)return t}}catch(e){console.error("Error parsing cookie value:",e)}return null}()||null}},87762:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(40809);function i(){(0,r.useEffect)(()=>{function e(){const e=window.tp?.pianoId?.isUserValid();window.cX=window.cX||{},window.cX.callQueue=window.cX.callQueue||[],e&&window.cX.callQueue.push(["setCustomParameters",{loggedIn:"true"}])}if(window.tp)return void e();const t=setInterval(function(){window.tp&&(e(),clearInterval(t))},100);return()=>{clearInterval(t)}},[])}},81877:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(40809),i=n(14375),o=n(4321),a=n(87983),s=n.n(a),l=n(43993);function c(){const e="deseretnews"===l.ENVIRONMENT,[t,n]=(0,r.useState)(),[a,c]=(0,r.useState)(),{globalContent:d={},arcSite:p}=(0,o.useFusionContext)(),{pianoApplicationId:f}=s()(p);(0,r.useEffect)(()=>{window.tp=window.tp||[];const t=new URLSearchParams(document.location.search);if(t.has("utm_medium")&&/^[a-f0-9]{40}$/.test(t.get("utm_medium"))){const e=t.get("utm_medium");c(e)}const r=!e&&t.has("hubspotutk")?t.get("hubspotutk"):window.dn.getCookie("hubspotutk");r&&n(r),d?.owner?.name&&tp.push(["setCustomVariable","user_need",d.owner.name])},[]);const h=(0,i.useContent)({source:"newsletter-fetch",query:{utk:t,emailHash:a,aid:f}});u(h?.results)}const u=(e=[])=>{(0,r.useEffect)(()=>{for(const{name:t,value:n}of e)window.tp.push(["setCustomVariable",t,n]);if(e.length){const e=()=>{const e=window.OnetrustActiveGroups;return!(!e||"string"!=typeof e||!e.split(",").includes("C0003"))},t=()=>{e()?window.dn.setCookie("_pc_registeredUser","true"):window.dn.deleteCookie("_pc_registeredUser")};return t(),window.addEventListener("OneTrustGroupsUpdated",t),()=>window.removeEventListener("OneTrustGroupsUpdated",t)}},[e])}},13144:function(e,t,n){"use strict";var r=n(66743),i=n(11002),o=n(10076),a=n(47119);e.exports=a||r.call(o,i)},11002:function(e){"use strict";e.exports=Function.prototype.apply},10076:function(e){"use strict";e.exports=Function.prototype.call},73126:function(e,t,n){"use strict";var r=n(66743),i=n(69675),o=n(10076),a=n(13144);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return a(r,o,e)}},47119:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},36556:function(e,t,n){"use strict";var r=n(70453),i=n(73126),o=i([r("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i([n]):n}},7176:function(e,t,n){"use strict";var r,i=n(73126),o=n(75795);try{r=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!r&&o&&o(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?i([a.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},30655:function(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},41237:function(e){"use strict";e.exports=EvalError},69383:function(e){"use strict";e.exports=Error},79290:function(e){"use strict";e.exports=RangeError},79538:function(e){"use strict";e.exports=ReferenceError},58068:function(e){"use strict";e.exports=SyntaxError},69675:function(e){"use strict";e.exports=TypeError},35345:function(e){"use strict";e.exports=URIError},79612:function(e){"use strict";e.exports=Object},89353:function(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n}
vendor: 2,503 bytes, line 2
2(arguments,1),s=n(0,i.length-a.length),l=[],c=0;c<s;c++)l[c]="$"+c;if(o=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n}(l,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof o){var t=i.apply(this,r(a,arguments));return Object(t)===t?t:this}return i.apply(e,r(a,arguments))}),i.prototype){var u=function(){};u.prototype=i.prototype,o.prototype=new u,u.prototype=null}return o}},66743:function(e,t,n){"use strict";var r=n(89353);e.exports=Function.prototype.bind||r},70453:function(e,t,n){"use strict";var r,i=n(79612),o=n(69383),a=n(41237),s=n(79290),l=n(79538),c=n(58068),u=n(69675),d=n(35345),p=n(71514),f=n(58968),h=n(6188),m=n(68002),g=n(75880),b=Function,y=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},v=n(75795),w=n(30655),_=function(){throw new u},x=v?function(){try{return _}catch(e){try{return v(arguments,"callee").get}catch(e){return _}}}():_,j=n(64039)(),O=n(7176),S="function"==typeof Reflect&&Reflect.getPrototypeOf||i.getPrototypeOf||O,k=n(11002),C=n(10076),P={},T="undefined"!=typeof Uint8Array&&S?S(Uint8Array):r,E={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":j&&S?S([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":P,"%AsyncGenerator%":P,"%AsyncGeneratorFunction%":P,"%AsyncIteratorPrototype%":P,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":P,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":j&&S?S(S([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&j&&S?S((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":v,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&j&&S?S((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":j&&S?S(""[Symbol.iterator]()):r,"%Symbol%":j?Symbol:r,"%SyntaxError%":c,"%ThrowTypeError%":x,"%TypedArray%":T,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":d,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":C,"%Function.prototype.apply%":k,"%Object.defineProperty%":w,"%Math.abs%":p,"%Math.floor%":f,"%Math.max%":h,"%Math.min%":m,"%Math.pow%":g};if(S)try{null.error}catch(e){var N=S(S(e));E["%Error.prototype%"]=N}var A=function e(t){var n;if("%AsyncFunction%"===t)n=y("async function () {}");else if("%GeneratorFunction%"===t)n=y("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=y("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&S&&(n=S(i.prototype))}return E[t]=n,n},I={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},L=n(66743),D=n(9957),R=L.call(C,Array.prototype.concat),M=L.call(k,Array.prototype.splice),$=L.call(C,String.prototype.replace),F=L.call(C,String.prototype.slice),V=L.call(C,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,B=/\\(\\)?/g,H=function(e,t){var n,r=e;if(D(I,r)&&(r="%"+(n=I[r])[0]+"%"),D(E,r)){var i=E[r];if(i===P&&(i=A(r)),void 0===i&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new c("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===V(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=F(e,0,1),n=F(e,-1);if("%"===t&&"%"!==n)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return $(e,z,function(e,t,n,i){r[r.length]=n?$(i,B,"$1"):t||e}),r}(e),r=n.length>0?n[0]:"",i=H("%"+r+"%",t),o=i.name,a=i.value,s=!1,l=i.alias;l&&(r=l[0],M(n,R([0,1],l)));for(var d=1,p=!0;d<n.length;d+=1){var f=n[d],h=F(f,0,1),m=F(f,-1);if(('"'===h||"'"===h||"`"===h||'"'===m||"'"===m||"`"===m)&&h!==m)throw new c("property names with quotes must have matching quotes");if("constructor"!==f&&p||(s=!0),D(E,o="%"+(r+="."+f)+"%"))a=E[o];
vendor: 4,582 bytes, line 2
2else if(null!=a){if(!(f in a)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(v&&d+1>=n.length){var g=v(a,f);a=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[f]}else p=D(a,f),a=a[f];p&&!s&&(E[o]=a)}}return a}},6549:function(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},75795:function(e,t,n){"use strict";var r=n(6549);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},64039:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(41333);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},41333:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},9957:function(e,t,n){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=n(66743);e.exports=o.call(r,i)},71514:function(e){"use strict";e.exports=Math.abs},58968:function(e){"use strict";e.exports=Math.floor},6188:function(e){"use strict";e.exports=Math.max},68002:function(e){"use strict";e.exports=Math.min},75880:function(e){"use strict";e.exports=Math.pow},4486:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r,i={exports:{}},o=i.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var c,u=[],d=!1,p=-1;function f(){d&&c&&(d=!1,c.length?u=c.concat(u):p=-1,u.length&&h())}function h(){if(!d){var e=l(f);d=!0;for(var t=u.length;t;){for(c=u,u=[];++p<t;)c&&c[p].run();p=-1,t=u.length}c=null,d=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}function b(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new m(e,t)),1!==u.length||d||l(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0};var y=i.exports.browser,v=b,w=i.exports.binding,_=b,x={},j=b,O=b,S=b,k=b,C=b,P="browser",T="browser",E="browser",N=[],A={nextTick:i.exports.nextTick,title:i.exports.title,browser:y,env:i.exports.env,argv:i.exports.argv,version:i.exports.version,versions:i.exports.versions,on:i.exports.on,addListener:i.exports.addListener,once:i.exports.once,off:i.exports.off,removeListener:i.exports.removeListener,removeAllListeners:i.exports.removeAllListeners,emit:i.exports.emit,emitWarning:v,prependListener:i.exports.prependListener,prependOnceListener:i.exports.prependOnceListener,listeners:i.exports.listeners,binding:w,cwd:i.exports.cwd,chdir:i.exports.chdir,umask:i.exports.umask,exit:_,pid:1,features:x,kill:j,dlopen:O,uptime:S,memoryUsage:k,uvCounters:C,platform:P,arch:T,execPath:E,execArgv:N};t.addListener=i.exports.addListener,t.arch=T,t.argv=i.exports.argv,t.b
vendor: 8,594 bytes, line 2
2inding=w,t.browser=y,t.chdir=i.exports.chdir,t.cwd=i.exports.cwd,t.default=A,t.dlopen=O,t.emit=i.exports.emit,t.emitWarning=v,t.env=i.exports.env,t.execArgv=N,t.execPath=E,t.exit=_,t.features=x,t.kill=j,t.listeners=i.exports.listeners,t.memoryUsage=k,t.nextTick=i.exports.nextTick,t.off=i.exports.off,t.on=i.exports.on,t.once=i.exports.once,t.pid=1,t.platform=P,t.prependListener=i.exports.prependListener,t.prependOnceListener=i.exports.prependOnceListener,t.removeAllListeners=i.exports.removeAllListeners,t.removeListener=i.exports.removeListener,t.title=i.exports.title,t.umask=i.exports.umask,t.uptime=S,t.uvCounters=C,t.version=i.exports.version,t.versions=i.exports.versions,t=e.exports=A},18:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(19167),i=n(55373);function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(r),s=o(i),l=a.default;function c(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var u=/^([a-z0-9.+-]+:)/i,d=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,f=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),h=["'"].concat(f),m=["%","/","?",";","#"].concat(h),g=["/","?","#"],b=/^[+a-z0-9A-Z_-]{0,63}$/,y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},w={javascript:!0,"javascript:":!0},_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},x=s.default;function j(e,t,n){if(e&&"object"==typeof e&&e instanceof c)return e;var r=new c;return r.parse(e,t,n),r}c.prototype.parse=function(e,t,n){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=-1!==r&&r<e.indexOf("#")?"?":"#",o=e.split(i);o[0]=o[0].replace(/\\/g,"/");var a=e=o.join(i);if(a=a.trim(),!n&&1===e.split("#").length){var s=p.exec(a);if(s)return this.path=a,this.href=a,this.pathname=s[1],s[2]?(this.search=s[2],this.query=t?x.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var c=u.exec(a);if(c){var d=(c=c[0]).toLowerCase();this.protocol=d,a=a.substr(c.length)}if(n||c||a.match(/^\/\/[^@/]+@[^@/]+/)){var f="//"===a.substr(0,2);!f||c&&w[c]||(a=a.substr(2),this.slashes=!0)}if(!w[c]&&(f||c&&!_[c])){for(var j,O,S=-1,k=0;k<g.length;k++){-1!==(C=a.indexOf(g[k]))&&(-1===S||C<S)&&(S=C)}-1!==(O=-1===S?a.lastIndexOf("@"):a.lastIndexOf("@",S))&&(j=a.slice(0,O),a=a.slice(O+1),this.auth=decodeURIComponent(j)),S=-1;for(k=0;k<m.length;k++){var C;-1!==(C=a.indexOf(m[k]))&&(-1===S||C<S)&&(S=C)}-1===S&&(S=a.length),this.host=a.slice(0,S),a=a.slice(S),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var T=this.hostname.split(/\./),E=(k=0,T.length);k<E;k++){var N=T[k];if(N&&!N.match(b)){for(var A="",I=0,L=N.length;I<L;I++)N.charCodeAt(I)>127?A+="x":A+=N[I];if(!A.match(b)){var D=T.slice(0,k),R=T.slice(k+1),M=N.match(y);M&&(D.push(M[1]),R.unshift(M[2])),R.length&&(a="/"+R.join(".")+a),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=l.toASCII(this.hostname));var $=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+$,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!v[d])for(k=0,E=h.length;k<E;k++){var V=h[k];if(-1!==a.indexOf(V)){var z=encodeURIComponent(V);z===V&&(z=escape(V)),a=a.split(V).join(z)}}var B=a.indexOf("#");-1!==B&&(this.hash=a.substr(B),a=a.slice(0,B));var H=a.indexOf("?");if(-1!==H?(this.search=a.substr(H),this.query=a.substr(H+1),t&&(this.query=x.parse(this.query)),a=a.slice(0,H)):t&&(this.search="",this.query={}),a&&(this.pathname=a),_[d]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){$=this.pathname||"";var U=this.search||"";this.path=$+U}return this.href=this.format(),this},c.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(o=x.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||_[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+i+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(a=a.replace("#","%23"))+r},c.prototype.resolve=function(e){return this.resolveObject(j(e,!1,!0)).format()},c.prototype.resolveObject=function(e){if("string"==typeof e){var t=new c;t.parse(e,!1,!0),e=t}for(var n=new c,r=Object.keys(this),i=0;i<r.length;i++){var o=r[i];n[o]=this[o]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),s=0;s<a.length;s++){var l=a[s];"protocol"!==l&&(n[l]=e[l])}return _[n.protocol]&&n.hostname&&!n.pathname&&(n.pathname="/",n.path=n.pathname),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!_[e.protocol]){for(var u=Object.keys(e),d=0;d<u.length;d++){var p=u[d];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||w[e.protocol])n.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),n.pathname=f.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var h=n.pathname||"",m=n.search||"";n.path=h+m}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var g=n.pathname&&"/"===n.pathname.charAt(0),b=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=b||g||n.host&&e.pathname,v=y,x=n.pathname&&n.pathname.split("/")||[],j=(f=e.pathname&&e.pathname.split("/")||[],n.protocol&&!_[n.protocol]);if(j&&(n.hostname="",n.port=null,n.host&&(""===x[0]?x[0]=n.host:x.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),y=y&&(""===f[0]||""===x[0])),b)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,x=f;else if(f.length)x||(x=[]),x.pop(),x=x.concat(f),n.search=e.search,n.query=e.query;else if(null!=e.search){if(j)n.host=x.shift(),n.hostname=n.host,(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.hostname=P.shift(),n.host=n.hostname);return n.search=e.search,n.query=e.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!x.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var O=x.slice(-1)[0],S=(n.host||e.host||x.length>1)&&("."===O||".."===O)||""===O,k=0,C=x.length;C>=0;C--)"."===(O=x[C])?x.splice(C,1):".."===O?(x.splice(C,1),k++):k&&(x.splice(C,1),k--);if(!y&&!v)for(;k--;k)x.unshift("..");!y||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),S&&"/"!==x.join("/").substr(-1)&&x.push("");var P,T=""===x[0]||x[0]&&"/"===x[0].charAt(0);j&&(n.hostname=T?"":x.length?x.shift():"",n.host=n.hostname,(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.hostname=P.shift(),n.host=n.hostname));return(y=y||n.host&&x.length)&&!T&&x.unshift(""),x.length>0?n.pathname=x.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},c.prototype.parseHost=function(){var e=this.host,t=d.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var O=j,S=function(e,t){return j(e,!1,!0).resolve(t)},k=function(e,t){return e?j(e,!1,!0).resolveObject(t):t},C=function(e){return"string"==typeof e&&(e=j(e)),e instanceof c?e.format():c.prototype.format.call(e)},P=c;var T=function(e){function t(){var t=this||self;return delete e.prototype.__magic__,t}return"object"==typeof globalThis?globalThis:this?t():(e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t}),__magic__)}
2(Object),E=C,N=O,A=S,I=P,L=T.URL,D=T.URLSearchParams,R=/%/g,M=/\\/g,$=/\n/g,F=/\r/g,V=/\t/g;var z=function(e){if(void 0===e)throw new TypeError('The "domain" argument must be specified');return new L("http://"+e).hostname},B=function(e){if(void 0===e)throw new TypeError('The "domain" argument must be specified');return new L("http://"+e).hostname},H=function(e){var t=new L("file://"),n=function(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return e=function(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}(function(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}(e.split("/"),function(e){return!!e}),!t).join("/"),(t?"/":"")+e||"."}(e);return 47===e.charCodeAt(e.length-1)&&"/"!==n[n.length-1]&&(n+="/"),t.pathname=function(e){return e.includes("%")&&(e=e.replace(R,"%25")),e.includes("\\")&&(e=e.replace(M,"%5C")),e.includes("\n")&&(e=e.replace($,"%0A")),e.includes("\r")&&(e=e.replace(F,"%0D")),e.includes("\t")&&(e=e.replace(V,"%09")),e}(n),t},U=function(e){if(!function(e){var t=null!=e?e:null;return Boolean(null!==t&&(null==t?void 0:t.href)&&(null==t?void 0:t.origin))}(e)&&"string"!=typeof e)throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof e+" ("+e+")");var t=new L(e);if("file:"!==t.protocol)throw new TypeError("The URL must be of scheme file");return function(e){if(""!==e.hostname)throw new TypeError('File URL host must be "localhost" or empty on browser');for(var t=e.pathname,n=0;n<t.length;n++)if("%"===t[n]){var r=32|t.codePointAt(n+2);if("2"===t[n+1]&&102===r)throw new TypeError("File URL path must not include encoded / characters")}return decodeURIComponent(t)}(t)},q=function(e,t){var n,r,i;if(void 0===t&&(t={}),!(e instanceof L))return E(e);if("object"!=typeof t||null===t)throw new TypeError('The "options" argument must be of type object.');var o=null==(n=t.auth)||n,a=null==(r=t.fragment)||r,s=null==(i=t.search)||i;t.unicode;var l=new L(e.toString());return o||(l.username="",l.password=""),a||(l.hash=""),s||(l.search=""),l.toString()},Z={format:q,parse:N,resolve:A,resolveObject:k,Url:I,URL:L,URLSearchParams:D,domainToASCII:z,domainToUnicode:B,pathToFileURL:H,fileURLToPath:U};t.URL=L,t.URLSearchParams=D,t.Url=I,t.default=Z,t.domainToASCII=z,t.domainToUnicode=B,t.fileURLToPath=U,t.format=q,t.parse=N,t.pathToFileURL=H,t.resolve=A,t.resolveObject=k,t=e.exports=Z},19167:function(e,t,n){var r;e=n.nmd(e),function(){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n.g&&n.g;i.global!==i&&i.window!==i&&i.self;var o,a=2147483647,s=36,l=/^xn--/,c=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,f=String.fromCharCode;function h(e){throw new RangeError(d[e])}function m(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function g(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+m((e=e.replace(u,".")).split("."),t).join(".")}function b(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function y(e){return m(e,function(e){var t="";return e>65535&&(t+=f((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=f(e)}).join("")}function v(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:s}function w(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function _(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=s)e=p(e/35);return p(r+36*e/(e+38))}function x(e){var t,n,r,i,o,l,c,u,d,f,m=[],g=e.length,b=0,w=128,x=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&h("not-basic"),m.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<g;){for(o=b,l=1,c=s;i>=g&&h("invalid-input"),((u=v(e.charCodeAt(i++)))>=s||u>p((a-b)/l))&&h("overflow"),b+=u*l,!(u<(d=c<=x?1:c>=x+26?26:c-x));c+=s)l>p(a/(f=s-d))&&h("overflow"),l*=f;x=_(b-o,t=m.length+1,0==o),p(b/t)>a-w&&h("overflow"),w+=p(b/t),b%=t,m.splice(b++,0,w)}return y(m)}function j(e){var t,n,r,i,o,l,c,u,d,m,g,y,v,x,j,O=[];for(y=(e=b(e)).length,t=128,n=0,o=72,l=0;l<y;++l)(g=e[l])<128&&O.push(f(g));for(r=i=O.length,i&&O.push("-");r<y;){for(c=a,l=0;l<y;++l)(g=e[l])>=t&&g<c&&(c=g);for(c-t>p((a-n)/(v=r+1))&&h("overflow"),n+=(c-t)*v,t=c,l=0;l<y;++l)if((g=e[l])<t&&++n>a&&h("overflow"),g==t){for(u=n,d=s;!(u<(m=d<=o?1:d>=o+26?26:d-o));
2d+=s)j=u-m,x=s-m,O.push(f(w(m+j%x,0))),u=p(j/x);O.push(f(w(u,0))),o=_(n,v,r==i),n=0,++r}++n,++t}return O.join("")}o={version:"1.4.1",ucs2:{decode:b,encode:y},decode:x,encode:j,toASCII:function(e){return g(e,function(e){return c.test(e)?"xn--"+j(e):e})},toUnicode:function(e){return g(e,function(e){return l.test(e)?x(e.slice(4).toLowerCase()):e})}},void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()},58859:function(e,t,n){var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,b=String.prototype.match,y=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,x=RegExp.prototype.test,j=Array.prototype.concat,O=Array.prototype.join,S=Array.prototype.slice,k=Math.floor,C="function"==typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,E="function"==typeof Symbol&&"object"==typeof Symbol.iterator,N="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===E||"symbol")?Symbol.toStringTag:null,A=Object.prototype.propertyIsEnumerable,I=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function L(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-k(-e):k(e);if(r!==e){var i=String(r),o=y.call(t,i.length+1);return v.call(i,n,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,n,"$&_")}var D=n(42634),R=D.custom,M=U(R)?R:null,$={__proto__:null,double:'"',single:"'"},F={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function V(e,t,n){var r=n.quoteStyle||t,i=$[r];return i+e+i}function z(e){return v.call(String(e),/"/g,""")}function B(e){return!("[object Array]"!==G(e)||N&&"object"==typeof e&&N in e)}function H(e){return!("[object RegExp]"!==G(e)||N&&"object"==typeof e&&N in e)}function U(e){if(E)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,i,s){var l=r||{};if(Z(l,"quoteStyle")&&!Z($,l.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Z(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!Z(l,"customInspect")||l.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Z(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Z(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return K(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var x=String(t);return w?L(t,x):x}if("bigint"==typeof t){var k=String(t)+"n";return w?L(t,k):k}var P=void 0===l.depth?5:l.depth;if(void 0===i&&(i=0),i>=P&&P>0&&"object"==typeof t)return B(t)?"[Array]":"[Object]";var R=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=O.call(Array(e.indent+1)," ")}return{base:n,prev:O.call(Array(t+1),n)}}(l,i);if(void 0===s)s=[];
vendor: 4,116 bytes, line 2
2else if(W(s,t)>=0)return"[Circular]";function F(t,n,r){if(n&&(s=S.call(s)).push(n),r){var o={depth:l.depth};return Z(l,"quoteStyle")&&(o.quoteStyle=l.quoteStyle),e(t,o,i+1,s)}return e(t,l,i+1,s)}if("function"==typeof t&&!H(t)){var q=function(e){if(e.name)return e.name;var t=b.call(g.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),Y=te(t,F);return"[Function"+(q?": "+q:" (anonymous)")+"]"+(Y.length>0?" { "+O.call(Y,", ")+" }":"")}if(U(t)){var ne=E?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(t);return"object"!=typeof t||E?ne:J(ne)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var re="<"+_.call(String(t.nodeName)),ie=t.attributes||[],oe=0;oe<ie.length;oe++)re+=" "+ie[oe].name+"="+V(z(ie[oe].value),"double",l);return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+="</"+_.call(String(t.nodeName))+">"}if(B(t)){if(0===t.length)return"[]";var ae=te(t,F);return R&&!function(e){for(var t=0;t<e.length;t++)if(W(e[t],"\n")>=0)return!1;return!0}(ae)?"["+ee(ae,R)+"]":"[ "+O.call(ae,", ")+" ]"}if(function(e){return!("[object Error]"!==G(e)||N&&"object"==typeof e&&N in e)}(t)){var se=te(t,F);return"cause"in Error.prototype||!("cause"in t)||A.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+O.call(se,", ")+" }":"{ ["+String(t)+"] "+O.call(j.call("[cause]: "+F(t.cause),se),", ")+" }"}if("object"==typeof t&&m){if(M&&"function"==typeof t[M]&&D)return D(t,{depth:P-i});if("symbol"!==m&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var le=[];return a&&a.call(t,function(e,n){le.push(F(n,t,!0)+" => "+F(e,t))}),Q("Map",o.call(t),le,R)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ce=[];return u&&u.call(t,function(e){ce.push(F(e,t))}),Q("Set",c.call(t),ce,R)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return X("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return X("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return X("WeakRef");if(function(e){return!("[object Number]"!==G(e)||N&&"object"==typeof e&&N in e)}(t))return J(F(Number(t)));if(function(e){if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}(t))return J(F(C.call(t)));if(function(e){return!("[object Boolean]"!==G(e)||N&&"object"==typeof e&&N in e)}(t))return J(h.call(t));if(function(e){return!("[object String]"!==G(e)||N&&"object"==typeof e&&N in e)}(t))return J(F(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==n.g&&t===n.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==G(e)||N&&"object"==typeof e&&N in e)}(t)&&!H(t)){var ue=te(t,F),de=I?I(t)===Object.prototype:t instanceof Object||t.constructor===Object,pe=t instanceof Object?"":"null prototype",fe=!de&&N&&Object(t)===t&&N in t?y.call(G(t),8,-1):pe?"Object":"",he=(de||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||pe?"["+O.call(j.call([],fe||[],pe||[]),": ")+"] ":"");return 0===ue.length?he+"{}":R?he+"{"+ee(ue,R)+"}":he+"{ "+O.call(ue,", ")+" }"}return String(t)};var q=Object.prototype.hasOwnProperty||function(e){return e in this};function Z(e,t){return q.call(e,t)}function G(e){return m.call(e)}function W(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function K(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");
2return K(y.call(e,0,t.maxStringLength),t)+r}var i=F[t.quoteStyle||"single"];return i.lastIndex=0,V(v.call(v.call(e,i,"\\$1"),/[\x00-\x1f]/g,Y),"single",t)}function Y(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function J(e){return"Object("+e+")"}function X(e){return e+" { ? }"}function Q(e,t,n,r){return e+" ("+t+") {"+(r?ee(n,r):O.call(n,", "))+"}"}function ee(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+O.call(e,","+n)+"\n"+t.prev}function te(e,t){var n=B(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Z(e,i)?t(e[i],e):""}var o,a="function"==typeof P?P(e):[];if(E){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var l in e)Z(e,l)&&(n&&String(Number(l))===l&&l<e.length||E&&o["$"+l]instanceof Symbol||(x.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"==typeof P)for(var c=0;c<a.length;c++)A.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}},74765:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",i="RFC3986";e.exports={default:i,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:i}},55373:function(e,t,n){"use strict";var r=n(98636),i=n(62642),o=n(74765);e.exports={formats:o,parse:i,stringify:r}},62642:function(e,t,n){"use strict";var r=n(37720),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,u=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(s=a.exec(o))&&d<n.depth;){if(d+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}if(s){if(!0===n.strictDepth)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");u.push("["+o.slice(s.index)+"]")}return function(e,t,n,r){for(var i=r?t:l(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=n.allowEmptyArrays&&(""===i||n.strictNullHandling&&null===i)?[]:[].concat(i);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=n.decodeDotInKeys?c.replace(/%2E/g,"."):c,d=parseInt(u,10);n.parseArrays||""!==u?!isNaN(d)&&s!==u&&String(d)===u&&d>=0&&n.parseArrays&&d<=n.arrayLimit?(a=[])[d]=i:"__proto__"!==u&&(a[u]=i):a={0:i}}i=a}return i}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;
vendor: 9,195 bytes, line 2
2if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset,n=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;c=c.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u,d=t.parameterLimit===1/0?void 0:t.parameterLimit,p=c.split(t.delimiter,d),f=-1,h=t.charset;if(t.charsetSentinel)for(u=0;u<p.length;++u)0===p[u].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[u]?h="utf-8":"utf8=%26%2310003%3B"===p[u]&&(h="iso-8859-1"),f=u,u=p.length);for(u=0;u<p.length;++u)if(u!==f){var m,g,b=p[u],y=b.indexOf("]="),v=-1===y?b.indexOf("="):y+1;-1===v?(m=t.decoder(b,a.decoder,h,"key"),g=t.strictNullHandling?null:""):(m=t.decoder(b.slice(0,v),a.decoder,h,"key"),g=r.maybeMap(l(b.slice(v+1),t),function(e){return t.decoder(e,a.decoder,h,"value")})),g&&t.interpretNumericEntities&&"iso-8859-1"===h&&(g=s(g)),b.indexOf("[]=")>-1&&(g=o(g)?[g]:g);var w=i.call(n,m);w&&"combine"===t.duplicates?n[m]=r.combine(n[m],g):w&&"last"!==t.duplicates||(n[m]=g)}return n}(e,n):e,d=n.plainObjects?Object.create(null):{},p=Object.keys(u),f=0;f<p.length;++f){var h=p[f],m=c(h,u[h],n,"string"==typeof e);d=r.merge(d,m,n)}return!0===n.allowSparse?d:r.compact(d)}},98636:function(e,t,n){"use strict";var r=n(920),i=n(37720),o=n(74765),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,p=o.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,n,o,a,s,c,d,p,m,g,b,y,v,w,_,x,j,O){for(var S,k=t,C=O,P=0,T=!1;void 0!==(C=C.get(h))&&!T;){var E=C.get(t);if(P+=1,void 0!==E){if(E===P)throw new RangeError("Cyclic object value");T=!0}void 0===C.get(h)&&(P=0)}if("function"==typeof g?k=g(n,k):k instanceof Date?k=v(k):"comma"===o&&l(k)&&(k=i.maybeMap(k,function(e){return e instanceof Date?v(e):e})),null===k){if(c)return m&&!x?m(n,f.encoder,j,"key",w):n;k=""}if("string"==typeof(S=k)||"number"==typeof S||"boolean"==typeof S||"symbol"==typeof S||"bigint"==typeof S||i.isBuffer(k))return m?[_(x?n:m(n,f.encoder,j,"key",w))+"="+_(m(k,f.encoder,j,"value",w))]:[_(n)+"="+_(String(k))];var N,A=[];if(void 0===k)return A;if("comma"===o&&l(k))x&&m&&(k=i.maybeMap(k,m)),N=[{value:k.length>0?k.join(",")||null:void 0}];else if(l(g))N=g;else{var I=Object.keys(k);N=b?I.sort(b):I}var L=p?n.replace(/\./g,"%2E"):n,D=a&&l(k)&&1===k.length?L+"[]":L;if(s&&l(k)&&0===k.length)return D+"[]";for(var R=0;R<N.length;++R){var M=N[R],$="object"==typeof M&&void 0!==M.value?M.value:k[M];if(!d||null!==$){var F=y&&p?M.replace(/\./g,"%2E"):M,V=l(k)?"function"==typeof o?o(D,F):D:D+(y?"."+F:"["+F+"]");O.set(t,P);var z=r();z.set(h,O),u(A,e($,V,o,a,s,c,d,p,"comma"===o&&x&&l(k)?null:m,g,b,y,v,w,_,x,j,z))}}return A};e.exports=function(e,t){var n,i=e,c=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!a.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r,i=o.formatters[n],c=f.filter;if(("function"==typeof e.filter||l(e.filter))&&(c=e.filter),r=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:r,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:n,formatter:i,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof c.filter?i=(0,c.filter)("",i):l(c.filter)&&(n=c.filter);var d=[];if("object"!=typeof i||null===i)return"";var p=s[c.arrayFormat],h="comma"===p&&c.commaRoundTrip;n||(n=Object.keys(i)),c.sort&&n.sort(c.sort);for(var g=r(),b=0;b<n.length;++b){var y=n[b];c.skipNulls&&null===i[y]||u(d,m(i[y],y,p,h,c.allowEmptyArrays,c.strictNullHandling,c.skipNulls,c.encodeDotInKeys,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,g))}var v=d.join(c.delimiter),w=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),v.length>0?w+v:""}},37720:function(e,t,n){"use strict";var r=n(74765),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n},l=1024;e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),l=0;l<s.length;++l){var c=s[l],u=a[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:a,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");
2if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var c="",u=0;u<s.length;u+=l){for(var d=s.length>=l?s.slice(u,u+l):s,p=[],f=0;f<d.length;++f){var h=d.charCodeAt(f);45===h||46===h||95===h||126===h||h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||o===r.RFC1738&&(40===h||41===h)?p[p.length]=d.charAt(f):h<128?p[p.length]=a[h]:h<2048?p[p.length]=a[192|h>>6]+a[128|63&h]:h<55296||h>=57344?p[p.length]=a[224|h>>12]+a[128|h>>6&63]+a[128|63&h]:(f+=1,h=65536+((1023&h)<<10|1023&d.charCodeAt(f)),p[p.length]=a[240|h>>18]+a[128|h>>12&63]+a[128|h>>6&63]+a[128|63&h])}c+=p.join("")}return c},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return o(t)&&!o(n)&&(a=s(t,r)),o(t)&&o(n)?(n.forEach(function(n,o){if(i.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,r):t.push(n)}else t[o]=n}),t):Object.keys(n).reduce(function(t,o){var a=n[o];return i.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t},a)}}},86047:function(e,t,n){"use strict";var r=n(40809),i=n(91565);function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),p=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),y=Symbol.for("react.scope"),v=Symbol.for("react.activity"),w=Symbol.for("react.legacy_hidden"),_=Symbol.for("react.memo_cache_sentinel"),x=Symbol.for("react.view_transition"),j=Symbol.iterator;function O(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var S=Array.isArray;function k(e,t){var n=3&e.length,r=e.length-n,i=t;for(t=0;t<r;){var o=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,i=27492+(65535&(i=5*(65535&(i=(i^=o=461845907*(65535&(o=(o=3432918353*(65535&o)+((3432918353*(o>>>16)&65535)<<16)&4294967295)<<15|o>>>
vendor: 4,354 bytes, line 2
217))+((461845907*(o>>>16)&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+(((i>>>16)+58964&65535)<<16)}switch(o=0,n){case 3:o^=(255&e.charCodeAt(t+2))<<16;case 2:o^=(255&e.charCodeAt(t+1))<<8;case 1:i^=461845907*(65535&(o=(o=3432918353*(65535&(o^=255&e.charCodeAt(t)))+((3432918353*(o>>>16)&65535)<<16)&4294967295)<<15|o>>>17))+((461845907*(o>>>16)&65535)<<16)&4294967295}return i^=e.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,((i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295)^i>>>16)>>>0}var C=Object.assign,P=Object.prototype.hasOwnProperty,T=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),E={},N={};function A(e){return!!P.call(N,e)||!P.call(E,e)&&(T.test(e)?N[e]=!0:(E[e]=!0,!1))}var I=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),L=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
2-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),D=/["'&<>]/;function R(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=D.exec(e);if(t){var n,r="",i=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}i!==n&&(r+=e.slice(i,n)),i=n+1,r+=t}e=i!==n?r+e.slice(i,n):r}return e}var M=/([A-Z])/g,$=/^ms-/,F=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function V(e){return F.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var z=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H={pending:!1,data:null,method:null,action:null},U=B.d;B.d={f:U.f,r:U.r,D:function(e){var t=mn||null;if(t){var n=t.resumableState,r=t.renderState;if("string"==typeof e&&e){var i,o;if(!n.dnsResources.hasOwnProperty(e))n.dnsResources[e]=null,(o=(n=r.headers)&&0<n.remainingCapacity)&&(i="<"+(""+e).replace(Ke,Ye)+">; rel=dns-prefetch",o=0<=(n.remainingCapacity-=i.length+2)),o?(r.resets.dns[e]=null,n.preconnects&&(n.preconnects+=", "),n.preconnects+=i):(pe(i=[],{href:e,rel:"dns-prefetch"}),r.preconnects.add(i));ur(t)}}else U.D(e)},C:function(e,t){var n=mn||null;if(n){var r=n.resumableState,i=n.renderState;if("string"==typeof e&&e){var o="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[o].hasOwnProperty(e)){var a,s;if(r.connectResources[o][e]=null,s=(r=i.headers)&&0<r.remainingCapacity){if(s="<"+(""+e).replace(Ke,Ye)+">; rel=preconnect","string"==typeof t)s+='; crossorigin="'+(""+t).replace(Je,Xe)+'"';a=s,s=0<=(r.remainingCapacity-=a.length+2)}s?(i.resets.connect[o][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=a):(pe(o=[],{rel:"preconnect",href:e,crossOrigin:t}),i.preconnects.add(o))}ur(n)}}else U.C(e,t)},L:function(e,t,n){var r=mn||null;if(r){var i=r.resumableState,o=r.renderState;if(t&&e){switch(t){case"image":if(n)var a=n.imageSrcSet,s=n.imageSizes,l=n.fetchPriority;var c,u=a?a+"\n"+(s||""):e;if(i.imageResources.hasOwnProperty(u))return;i.imageResources[u]=q,(i=o.headers)&&0<i.remainingCapacity&&"string"!=typeof a&&"high"===l&&(c=We(e,t,n),0<=(i.remainingCapacity-=c.length+2))?(o.resets.image[u]=q,i.highImagePreloads&&(i.highImagePreloads+=", "),i.highImagePreloads+=c):(pe(i=[],C({rel:"preload",href:a?void 0:e,as:t},n)),"high"===l?o.highImagePreloads.add(i):(o.bulkPreloads.add(i),o.preloads.images.set(u,i)));break;case"style":if(i.styleResources.hasOwnProperty(e))return;pe(a=[],C({rel:"preload",href:e,as:t},n)),i.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?q:[n.crossOrigin,n.integrity],o.preloads.stylesheets.set(e,a),o.bulkPreloads.add(a);break;case"script":if(i.scriptResources.hasOwnProperty(e))return;a=[],o.preloads.scripts.set(e,a),o.bulkPreloads.add(a),pe(a,C({rel:"preload",href:e,as:t},n)),i.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?q:[n.crossOrigin,n.integrity];break;default:if(i.unknownResources.hasOwnProperty(t)){if((a=i.unknownResources[t]).hasOwnProperty(e))return}else a={},i.unknownResources[t]=a;if(a[e]=q,(i=o.headers)&&0<i.remainingCapacity&&"font"===t&&(u=We(e,t,n),0<=(i.remainingCapacity-=u.length+2)))o.resets.font[e]=q,i.fontPreloads&&(i.fontPreloads+=", "),i.fontPreloads+=u;else if("font"===(pe(i=[],e=C({rel:"preload",href:e,as:t},n)),t))o.fontPreloads.add(i);else o.bulkPreloads.add(i)}ur(r)}}else U.L(e,t,n)},m:function(e,t){var n=mn||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var o=t&&"string"==typeof t.as?t.as:"script";if("script"===o){if(r.moduleScriptResources.hasOwnProperty(e))return;o=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?q:[t.crossOrigin,t.integrity],i.preloads.moduleScripts.set(e,o)}else{if(r.moduleUnknownResources.hasOwnProperty(o)){var a=r.unknownResources[o];if(a.hasOwnProperty(e))return}else a={},r.moduleUnknownResources[o]=a;o=[],a[e]=q}pe(o,C({rel:"modulepreload",href:e},t)),i.bulkPreloads.add(o),ur(n)}}else U.m(e,t)},X:function(e,t){var n=mn||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var o=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==o&&(r.scriptResources[e]=null,t=C({src:e,async:!0},t),o&&(2===o.length&&Ge(t,o),e=i.preloads.scripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),be(e,t),ur(n))}}else U.X(e,t)},S:function(e,t,n){var r=mn||null;
vendor: 4,954 bytes, line 2
2if(r){var i=r.resumableState,o=r.renderState;if(e){t=t||"default";var a=o.styles.get(t),s=i.styleResources.hasOwnProperty(e)?i.styleResources[e]:void 0;null!==s&&(i.styleResources[e]=null,a||(a={precedence:R(t),rules:[],hrefs:[],sheets:new Map},o.styles.set(t,a)),t={state:0,props:C({rel:"stylesheet",href:e,"data-precedence":t},n)},s&&(2===s.length&&Ge(t.props,s),(o=o.preloads.stylesheets.get(e))&&0<o.length?o.length=0:t.state=1),a.sheets.set(e,t),ur(r))}}else U.S(e,t,n)},M:function(e,t){var n=mn||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var o=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==o&&(r.moduleScriptResources[e]=null,t=C({src:e,type:"module",async:!0},t),o&&(2===o.length&&Ge(t,o),e=i.preloads.moduleScripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),be(e,t),ur(n))}}else U.M(e,t)}};var q=[],Z=null,G=/(<\/|<)(s)(cript)/gi;function W(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}function K(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function Y(e,t,n){var r=-25&e.tagScope;switch(t){case"noscript":return K(2,null,1|r,null);case"select":return K(2,null!=n.value?n.value:n.defaultValue,r,null);case"svg":return K(4,null,r,null);case"picture":return K(2,null,2|r,null);case"math":return K(5,null,r,null);case"foreignObject":return K(2,null,r,null);case"table":return K(6,null,r,null);case"thead":case"tbody":case"tfoot":return K(7,null,r,null);case"colgroup":return K(9,null,r,null);case"tr":return K(8,null,r,null);case"head":if(2>e.insertionMode)return K(3,null,r,null);break;case"html":if(0===e.insertionMode)return K(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?K(2,null,r,null):e.tagScope!==r?K(e.insertionMode,e.selectedValue,r,null):e}function J(e){return null===e?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function X(e,t){return 32&t.tagScope&&(e.instructions|=128),K(t.insertionMode,t.selectedValue,12|t.tagScope,J(t.viewTransition))}function Q(e,t){e=J(t.viewTransition);var n=16|t.tagScope;return null!==e&&"none"!==e.share&&(n|=64),K(t.insertionMode,t.selectedValue,n,e)}var ee=new Map;function te(e,t){if("object"!=typeof t)throw Error(o(62));var n,r=!0;for(n in t)if(P.call(t,n)){var i=t[n];if(null!=i&&"boolean"!=typeof i&&""!==i){if(0===n.indexOf("--")){var a=R(n);i=R((""+i).trim())}else void 0===(a=ee.get(n))&&(a=R(n.replace(M,"-$1").toLowerCase().replace($,"-ms-")),ee.set(n,a)),i="number"==typeof i?0===i||I.has(n)?""+i:i+"px":R((""+i).trim());r?(r=!1,e.push(' style="',a,":",i)):e.push(";",a,":",i)}}r||e.push('"')}function ne(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""')}function re(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push(" ",t,'="',R(n),'"')}var ie=R("javascript:throw new Error('React form unexpectedly submitted.')");function oe(e,t){this.push('<input type="hidden"'),ae(e),re(this,"name",t),re(this,"value",e),this.push("/>")}function ae(e){if("string"!=typeof e)throw Error(o(480))}function se(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var i=r.data;null!=i&&i.forEach(ae)}return r}catch(e){if("object"==typeof e&&null!==e&&"function"==typeof e.then)throw e}}return null}function le(e,t,n,r,i,o,a,s){var l=null;if("function"==typeof r){var c=se(t,r);null!==c?(s=c.name,r=c.action||"",i=c.encType,o=c.method,a=c.target,l=c.data):(e.push(" ","formAction",'="',ie,'"'),a=o=i=r=s=null,de(t,n))}return null!=s&&ce(e,"name",s),null!=r&&ce(e,"formAction",r),null!=i&&ce(e,"formEncType",i),null!=o&&ce(e,"formMethod",o),null!=a&&ce(e,"formTarget",a),l}function ce(e,t,n){switch(t){case"className":re(e,"class",n);break;case"tabIndex":re(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":re(e,t,n);break;case"style":te(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=V(""+n),e.push(" ",t,'="',R(n),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":ne(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=V(""+n),e.push(" ","xlink:href",'="',R(n),'"');break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',R(n),'"');break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
2ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""');break;case"capture":case"download":!0===n?e.push(" ",t,'=""'):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',R(n),'"');break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push(" ",t,'="',R(n),'"');break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push(" ",t,'="',R(n),'"');break;case"xlinkActuate":re(e,"xlink:actuate",n);break;case"xlinkArcrole":re(e,"xlink:arcrole",n);break;case"xlinkRole":re(e,"xlink:role",n);break;case"xlinkShow":re(e,"xlink:show",n);break;case"xlinkTitle":re(e,"xlink:title",n);break;case"xlinkType":re(e,"xlink:type",n);break;case"xmlBase":re(e,"xml:base",n);break;case"xmlLang":re(e,"xml:lang",n);break;case"xmlSpace":re(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&A(t=L.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push(" ",t,'="',R(n),'"')}}}function ue(e,t,n){if(null!=t){if(null!=n)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(""+t)}}function de(e,t){if(!(16&e.instructions)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&0===r.length?(r.push(t.startInlineScript),Ue(r,e),r.push(">",'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>")):r.unshift(t.startInlineScript,">",'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>")}}function pe(e,t){for(var n in e.push(xe("link")),t)if(P.call(t,n)){var r=t[n];if(null!=r)switch(n){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"link"));default:ce(e,n,r)}}return e.push("/>"),null}var fe=/(<\/|<)(s)(tyle)/gi;function he(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function me(e,t,n){for(var r in e.push(xe(n)),t)if(P.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,n));default:ce(e,r,i)}}return e.push("/>"),null}function ge(e,t){e.push(xe("title"));var n,r=null,i=null;for(n in t)if(P.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":i=o;break;default:ce(e,n,o)}}return e.push(">"),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(R(""+t)),ue(e,i,r),e.push(Se("title")),null}function be(e,t){e.push(xe("script"));var n,r=null,i=null;for(n in t)if(P.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":i=o;break;default:ce(e,n,o)}}return e.push(">"),ue(e,i,r),"string"==typeof r&&e.push((""+r).replace(G,W)),e.push(Se("script")),null}function ye(e,t,n){e.push(xe(n));var r,i=n=null;for(r in t)if(P.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":i=o;break;default:ce(e,r,o)}}return e.push(">"),ue(e,i,n),n}function ve(e,t,n){e.push(xe(n));var r,i=n=null;for(r in t)if(P.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":i=o;break;default:ce(e,r,o)}}return e.push(">"),ue(e,i,n),"string"==typeof n?(e.push(R(n)),null):n}var we=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,_e=new Map;function xe(e){var t=_e.get(e);if(void 0===t){if(!we.test(e))throw Error(o(65,e));t="<"+e,_e.set(e,t)}return t}function je(e,t,n,i,a,s,l,c,u){switch(t){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":break;case"a":e.push(xe("a"));var d,p=null,f=null;for(d in n)if(P.call(n,d)){var h=n[d];if(null!=h)switch(d){case"children":p=h;break;case"dangerouslySetInnerHTML":f=h;break;case"href":""===h?re(e,"href",""):ce(e,d,h);break;default:ce(e,d,h)}}if(e.push(">"),ue(e,f,p),"string"==typeof p){e.push(R(p));var m=null}else m=p;return m;case"select":e.push(xe("select"));var g,b=null,y=null;for(g in n)if(P.call(n,g)){var v=n[g];
vendor: 22,978 bytes, line 2
2if(null!=v)switch(g){case"children":b=v;break;case"dangerouslySetInnerHTML":y=v;break;case"defaultValue":case"value":break;default:ce(e,g,v)}}return e.push(">"),ue(e,y,b),b;case"option":var w=c.selectedValue;e.push(xe("option"));var _,x=null,j=null,O=null,k=null;for(_ in n)if(P.call(n,_)){var T=n[_];if(null!=T)switch(_){case"children":x=T;break;case"selected":O=T;break;case"dangerouslySetInnerHTML":k=T;break;case"value":j=T;default:ce(e,_,T)}}if(null!=w){var E=null!==j?""+j:function(e){var t="";return r.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(x);if(S(w)){for(var N=0;N<w.length;N++)if(""+w[N]===E){e.push(' selected=""');break}}else""+w===E&&e.push(' selected=""')}else O&&e.push(' selected=""');return e.push(">"),ue(e,k,x),x;case"textarea":e.push(xe("textarea"));var I,L=null,D=null,M=null;for(I in n)if(P.call(n,I)){var $=n[I];if(null!=$)switch(I){case"children":M=$;break;case"value":L=$;break;case"defaultValue":D=$;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:ce(e,I,$)}}if(null===L&&null!==D&&(L=D),e.push(">"),null!=M){if(null!=L)throw Error(o(92));if(S(M)){if(1<M.length)throw Error(o(93));L=""+M[0]}L=""+M}return"string"==typeof L&&"\n"===L[0]&&e.push("\n"),null!==L&&e.push(R(""+L)),null;case"input":e.push(xe("input"));var F,z=null,B=null,H=null,U=null,Z=null,G=null,W=null,K=null,Y=null;for(F in n)if(P.call(n,F)){var J=n[F];if(null!=J)switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"name":z=J;break;case"formAction":B=J;break;case"formEncType":H=J;break;case"formMethod":U=J;break;case"formTarget":Z=J;break;case"defaultChecked":Y=J;break;case"defaultValue":W=J;break;case"checked":K=J;break;case"value":G=J;break;default:ce(e,F,J)}}var X=le(e,i,a,B,H,U,Z,z);return null!==K?ne(e,"checked",K):null!==Y&&ne(e,"checked",Y),null!==G?ce(e,"value",G):null!==W&&ce(e,"value",W),e.push("/>"),null!=X&&X.forEach(oe,e),null;case"button":e.push(xe("button"));var Q,ee=null,ae=null,we=null,_e=null,je=null,Oe=null,ke=null;for(Q in n)if(P.call(n,Q)){var Ce=n[Q];if(null!=Ce)switch(Q){case"children":ee=Ce;break;case"dangerouslySetInnerHTML":ae=Ce;break;case"name":we=Ce;break;case"formAction":_e=Ce;break;case"formEncType":je=Ce;break;case"formMethod":Oe=Ce;break;case"formTarget":ke=Ce;break;default:ce(e,Q,Ce)}}var Pe=le(e,i,a,_e,je,Oe,ke,we);if(e.push(">"),null!=Pe&&Pe.forEach(oe,e),ue(e,ae,ee),"string"==typeof ee){e.push(R(ee));var Te=null}else Te=ee;return Te;case"form":e.push(xe("form"));var Ee,Ne=null,Ae=null,Ie=null,Le=null,De=null,Re=null;for(Ee in n)if(P.call(n,Ee)){var Me=n[Ee];if(null!=Me)switch(Ee){case"children":Ne=Me;break;case"dangerouslySetInnerHTML":Ae=Me;break;case"action":Ie=Me;break;case"encType":Le=Me;break;case"method":De=Me;break;case"target":Re=Me;break;default:ce(e,Ee,Me)}}var $e=null,Fe=null;if("function"==typeof Ie){var Ve=se(i,Ie);null!==Ve?(Ie=Ve.action||"",Le=Ve.encType,De=Ve.method,Re=Ve.target,$e=Ve.data,Fe=Ve.name):(e.push(" ","action",'="',ie,'"'),Re=De=Le=Ie=null,de(i,a))}if(null!=Ie&&ce(e,"action",Ie),null!=Le&&ce(e,"encType",Le),null!=De&&ce(e,"method",De),null!=Re&&ce(e,"target",Re),e.push(">"),null!==Fe&&(e.push('<input type="hidden"'),re(e,"name",Fe),e.push("/>"),null!=$e&&$e.forEach(oe,e)),ue(e,Ae,Ne),"string"==typeof Ne){e.push(R(Ne));var ze=null}else ze=Ne;return ze;case"menuitem":for(var Be in e.push(xe("menuitem")),n)if(P.call(n,Be)){var He=n[Be];if(null!=He)switch(Be){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:ce(e,Be,He)}}return e.push(">"),null;case"object":e.push(xe("object"));var Ue,qe=null,Ze=null;for(Ue in n)if(P.call(n,Ue)){var Ke=n[Ue];if(null!=Ke)switch(Ue){case"children":qe=Ke;break;case"dangerouslySetInnerHTML":Ze=Ke;break;case"data":var Ye=V(""+Ke);if(""===Ye)break;e.push(" ","data",'="',R(Ye),'"');break;default:ce(e,Ue,Ke)}}if(e.push(">"),ue(e,Ze,qe),"string"==typeof qe){e.push(R(qe));var Je=null}else Je=qe;return Je;case"title":var Xe=1&c.tagScope,Qe=4&c.tagScope;if(4===c.insertionMode||Xe||null!=n.itemProp)var et=ge(e,n);else Qe?et=null:(ge(a.hoistableChunks,n),et=void 0);return et;case"link":var tt=1&c.tagScope,nt=4&c.tagScope,rt=n.rel,it=n.href,ot=n.precedence;if(4===c.insertionMode||tt||null!=n.itemProp||"string"!=typeof rt||"string"!=typeof it||""===it){pe(e,n);var at=null}else if("stylesheet"===n.rel)if("string"!=typeof ot||null!=n.disabled||n.onLoad||n.onError)at=pe(e,n);else{var st=a.styles.get(ot),lt=i.styleResources.hasOwnProperty(it)?i.styleResources[it]:void 0;if(null!==lt){i.styleResources[it]=null,st||(st={precedence:R(ot),rules:[],hrefs:[],sheets:new Map},a.styles.set(ot,st));var ct={state:0,props:C({},n,{"data-precedence":n.precedence,precedence:null})};if(lt){2===lt.length&&Ge(ct.props,lt);var ut=a.preloads.stylesheets.get(it);ut&&0<ut.length?ut.length=0:ct.state=1}st.sheets.set(it,ct),l&&l.stylesheets.add(ct)}else if(st){var dt=st.sheets.get(it);dt&&l&&l.stylesheets.add(dt)}u&&e.push("\x3c!-- --\x3e"),at=null}else n.onLoad||n.onError?at=pe(e,n):(u&&e.push("\x3c!-- --\x3e"),at=nt?null:pe(a.hoistableChunks,n));return at;case"script":var pt=1&c.tagScope,ft=n.async;if("string"!=typeof n.src||!n.src||!ft||"function"==typeof ft||"symbol"==typeof ft||n.onLoad||n.onError||4===c.insertionMode||pt||null!=n.itemProp)var ht=be(e,n);else{var mt=n.src;if("module"===n.type)var gt=i.moduleScriptResources,bt=a.preloads.moduleScripts;else gt=i.scriptResources,bt=a.preloads.scripts;var yt=gt.hasOwnProperty(mt)?gt[mt]:void 0;if(null!==yt){gt[mt]=null;var vt=n;if(yt){2===yt.length&&Ge(vt=C({},n),yt);var wt=bt.get(mt);wt&&(wt.length=0)}var _t=[];a.scripts.add(_t),be(_t,vt)}u&&e.push("\x3c!-- --\x3e"),ht=null}return ht;case"style":var xt=1&c.tagScope,jt=n.precedence,Ot=n.href,St=n.nonce;if(4===c.insertionMode||xt||null!=n.itemProp||"string"!=typeof jt||"string"!=typeof Ot||""===Ot){e.push(xe("style"));var kt,Ct=null,Pt=null;for(kt in n)if(P.call(n,kt)){var Tt=n[kt];if(null!=Tt)switch(kt){case"children":Ct=Tt;break;case"dangerouslySetInnerHTML":Pt=Tt;break;default:ce(e,kt,Tt)}}e.push(">");var Et=Array.isArray(Ct)?2>Ct.length?Ct[0]:null:Ct;"function"!=typeof Et&&"symbol"!=typeof Et&&null!=Et&&e.push((""+Et).replace(fe,he)),ue(e,Pt,Ct),e.push(Se("style"));var Nt=null}else{var At=a.styles.get(jt);if(null!==(i.styleResources.hasOwnProperty(Ot)?i.styleResources[Ot]:void 0)){i.styleResources[Ot]=null,At||(At={precedence:R(jt),rules:[],hrefs:[],sheets:new Map},a.styles.set(jt,At));var It=a.nonce.style;if(!It||It===St){At.hrefs.push(R(Ot));var Lt,Dt=At.rules,Rt=null,Mt=null;for(Lt in n)if(P.call(n,Lt)){var $t=n[Lt];if(null!=$t)switch(Lt){case"children":Rt=$t;break;case"dangerouslySetInnerHTML":Mt=$t}}var Ft=Array.isArray(Rt)?2>Rt.length?Rt[0]:null:Rt;"function"!=typeof Ft&&"symbol"!=typeof Ft&&null!=Ft&&Dt.push((""+Ft).replace(fe,he)),ue(Dt,Mt,Rt)}}At&&l&&l.styles.add(At),u&&e.push("\x3c!-- --\x3e"),Nt=void 0}return Nt;case"meta":var Vt=1&c.tagScope,zt=4&c.tagScope;if(4===c.insertionMode||Vt||null!=n.itemProp)var Bt=me(e,n,"meta");else u&&e.push("\x3c!-- --\x3e"),Bt=zt?null:"string"==typeof n.charSet?me(a.charsetChunks,n,"meta"):"viewport"===n.name?me(a.viewportChunks,n,"meta"):me(a.hoistableChunks,n,"meta");return Bt;case"listing":case"pre":e.push(xe(t));var Ht,Ut=null,qt=null;for(Ht in n)if(P.call(n,Ht)){var Zt=n[Ht];if(null!=Zt)switch(Ht){case"children":Ut=Zt;break;case"dangerouslySetInnerHTML":qt=Zt;break;default:ce(e,Ht,Zt)}}if(e.push(">"),null!=qt){if(null!=Ut)throw Error(o(60));if("object"!=typeof qt||!("__html"in qt))throw Error(o(61));var Gt=qt.__html;null!=Gt&&("string"==typeof Gt&&0<Gt.length&&"\n"===Gt[0]?e.push("\n",Gt):e.push(""+Gt))}return"string"==typeof Ut&&"\n"===Ut[0]&&e.push("\n"),Ut;case"img":var Wt=3&c.tagScope,Kt=n.src,Yt=n.srcSet;if(!("lazy"===n.loading||!Kt&&!Yt||"string"!=typeof Kt&&null!=Kt||"string"!=typeof Yt&&null!=Yt||"low"===n.fetchPriority||Wt)&&("string"!=typeof Kt||":"!==Kt[4]||"d"!==Kt[0]&&"D"!==Kt[0]||"a"!==Kt[1]&&"A"!==Kt[1]||"t"!==Kt[2]&&"T"!==Kt[2]||"a"!==Kt[3]&&"A"!==Kt[3])&&("string"!=typeof Yt||":"!==Yt[4]||"d"!==Yt[0]&&"D"!==Yt[0]||"a"!==Yt[1]&&"A"!==Yt[1]||"t"!==Yt[2]&&"T"!==Yt[2]||"a"!==Yt[3]&&"A"!==Yt[3])){null!==l&&64&c.tagScope&&(l.suspenseyImages=!0);var Jt="string"==typeof n.sizes?n.sizes:void 0,Xt=Yt?Yt+"\n"+(Jt||""):Kt,Qt=a.preloads.images,en=Qt.get(Xt);if(en)("high"===n.fetchPriority||10>a.highImagePreloads.size)&&(Qt.delete(Xt),a.highImagePreloads.add(en));else if(!i.imageResources.hasOwnProperty(Xt)){i.imageResources[Xt]=q;var tn,nn=n.crossOrigin,rn="string"==typeof nn?"use-credentials"===nn?nn:"":void 0,on=a.headers;on&&0<on.remainingCapacity&&"string"!=typeof n.srcSet&&("high"===n.fetchPriority||500>on.highImagePreloads.length)&&(tn=We(Kt,"image",{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:rn,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(on.remainingCapacity-=tn.length+2))?(a.resets.image[Xt]=q,on.highImagePreloads&&(on.highImagePreloads+=", "),on.highImagePreloads+=tn):(pe(en=[],{rel:"preload",as:"image",href:Yt?void 0:Kt,imageSrcSet:Yt,imageSizes:Jt,crossOrigin:rn,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),"high"===n.fetchPriority||10>a.highImagePreloads.size?a.highImagePreloads.add(en):(a.bulkPreloads.add(en),Qt.set(Xt,en)))}}return me(e,n,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return me(e,n,t);case"head":if(2>c.insertionMode){var an=s||a.preamble;if(an.headChunks)throw Error(o(545,"`<head>`"));null!==s&&e.push("\x3c!--head--\x3e"),an.headChunks=[];var sn=ye(an.headChunks,n,"head")}else sn=ve(e,n,"head");return sn;case"body":if(2>c.insertionMode){var ln=s||a.preamble;if(ln.bodyChunks)throw Error(o(545,"`<body>`"));null!==s&&e.push("\x3c!--body--\x3e"),ln.bodyChunks=[];var cn=ye(ln.bodyChunks,n,"body")}else cn=ve(e,n,"body");return cn;case"html":if(0===c.insertionMode){var un=s||a.preamble;if(un.htmlChunks)throw Error(o(545,"`<html>`"));null!==s&&e.push("\x3c!--html--\x3e"),un.htmlChunks=[""];var dn=ye(un.htmlChunks,n,"html")}else dn=ve(e,n,"html");return dn;default:if(-1!==t.indexOf("-")){e.push(xe(t));var pn,fn=null,hn=null;for(pn in n)if(P.call(n,pn)){var mn=n[pn];if(null!=mn){var gn=pn;switch(pn){case"children":fn=mn;break;case"dangerouslySetInnerHTML":hn=mn;break;case"style":te(e,mn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":gn="class";default:if(A(pn)&&"function"!=typeof mn&&"symbol"!=typeof mn&&!1!==mn){if(!0===mn)mn="";else if("object"==typeof mn)continue;e.push(" ",gn,'="',R(mn),'"')}}}}return e.push(">"),ue(e,hn,fn),fn}}return ve(e,n,t)}var Oe=new Map;function Se(e){var t=Oe.get(e);return void 0===t&&(t="</"+e+">",Oe.set(e,t)),t}function ke(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function Ce(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)e.push(t[n]);return!(n<t.length)||(n=t[n],t.length=0,e.push(n))}function Pe(e,t,n){if(e.push('\x3c!--$?--\x3e<template id="'),null===n)throw Error(o(395));return e.push(t.boundaryPrefix),t=n.toString(16),e.push(t),e.push('"></template>')}var Te=/[<\u2028\u2029]/g;function Ee(e){return JSON.stringify(e).replace(Te,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Ne=/[&><\u2028\u2029]/g;function Ae(e){return JSON.stringify(e).replace(Ne,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Ie=!1,Le=!0;function De(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(this.push(Z.startInlineStyle),this.push(' media="not all" data-precedence="'),this.push(e.precedence),this.push('" data-href="');r<n.length-1;r++)this.push(n[r]),this.push(" ");for(this.push(n[r]),this.push('">'),r=0;r<t.length;r++)this.push(t[r]);Le=this.push("</style>"),Ie=!0,t.length=0,n.length=0}}function Re(e){return 2!==e.state&&(Ie=!0)}function Me(e,t,n){return Ie=!1,Le=!0,Z=n,t.styles.forEach(De,e),Z=null,t.stylesheets.forEach(Re),Ie&&(n.stylesToHoist=!0),Le}function $e(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}var Fe=[];function Ve(e){pe(Fe,e.props);for(var t=0;t<Fe.length;t++)this.push(Fe[t]);Fe.length=0,e.state=2}function ze(e){var t=0<e.sheets.size;e.sheets.forEach(Ve,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(this.push(Z.startInlineStyle),this.push(' data-precedence="'),this.push(e.precedence),e=0,r.length){for(this.push('" data-href="');e<r.length-1;e++)this.push(r[e]),this.push(" ");this.push(r[e])}for(this.push('">'),e=0;e<n.length;e++)this.push(n[e]);this.push("</style>"),n.length=0,r.length=0}}function Be(e){if(0===e.state){e.state=1;var t=e.props;for(pe(Fe,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Fe.length;e++)this.push(Fe[e]);Fe.length=0}}function He(e){e.sheets.forEach(Be,this),e.sheets.clear()}function Ue(e,t){!(32&t.instructions)&&(t.instructions|=32,e.push(' id="',R("_"+t.idPrefix+"R_"),'"'))}function qe(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=V(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!A(t))return;t=""+n}e.push(","),r=Ae(r),e.push(r),e.push(","),r=Ae(t),e.push(r)}function Ze(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function Ge(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function We(e,t,n){for(var r in t="<"+(e=(""+e).replace(Ke,Ye))+'>; rel=preload; as="'+(t=(""+t).replace(Je,Xe))+'"',n)P.call(n,r)&&("string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(Je,Xe)+'"'));return t}var Ke=/[<>\r\n]/g;function Ye(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var Je=/["';,\r\n]/g;function Xe(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function Qe(e){this.styles.add(e)}function et(e){this.stylesheets.add(e)}function tt(e,t){t.styles.forEach(Qe,e),t.stylesheets.forEach(et,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function nt(e,t,n,r){return n.generateStaticMarkup?(e.push(R(t)),!1):(""===t?e=r:(r&&e.push("\x3c!-- --\x3e"),e.push(R(t)),e=!0),e)}function rt(e,t,n,r){t.generateStaticMarkup||n&&r&&e.push("\x3c!-- --\x3e")}var it=Function.prototype.bind,ot=Symbol.for("react.client.reference");function at(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===ot?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"Fragment";case u:return"Profiler";case c:return"StrictMode";case h:return"Suspense";case m:return"SuspenseList";case v:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case s:return"Portal";case p:return e.displayName||"Context";case d:return(e._context.displayName||"Context")+".Consumer";case f:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case g:return null!==(t=e.displayName||null)?t:at(e.type)||"Memo";case b:t=e._payload,e=e._init;try{return at(e(t))}catch(e){}}return null}var st={},lt=null;function ct(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(o(401))}else{if(null===n)throw Error(o(401));ct(e,n)}t.context._currentValue2=t.value}}function ut(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&ut(e)}function dt(e){var t=e.parent;null!==t&&dt(t),e.context._currentValue2=e.value}function pt(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(o(402));e.depth===t.depth?ct(e,t):pt(e,t)}function ft(e,t){var n=t.parent;if(null===n)throw Error(o(402));e.depth===n.depth?ct(e,n):ft(e,n),t.context._currentValue2=t.value}function ht(e){var t=lt;t!==e&&(null===t?dt(e):null===e?ut(t):t.depth===e.depth?ct(t,e):t.depth>e.depth?pt(t,e):ft(t,e),lt=e)}var mt={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},gt={id:1,overflow:""};function bt(e,t,n){var r=e.id;e=e.overflow;var i=32-yt(r)-1;r&=~(1<<i),n+=1;var o=32-yt(t)+i;if(30<o){var a=i-i%5;return o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,{id:1<<32-yt(t)+i|n<<i|r,overflow:o+e}}return{id:1<<o|n<<i|r,overflow:e}}var yt=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(vt(e)/wt|0)|0},vt=Math.log,wt=Math.LN2;function _t(){}var xt=Error(o(460));var jt=null;function Ot(){if(null===jt)throw Error(o(459));var e=jt;return jt=null,e}var St="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},kt=null,Ct=null,Pt=null,Tt=null,Et=null,Nt=null,At=!1,It=!1,Lt=0,Dt=0,Rt=-1,Mt=0,$t=null,Ft=null,Vt=0;function zt(){if(null===kt)throw Error(o(321));return kt}function Bt(){if(0<Vt)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function Ht(){return null===Nt?null===Et?(At=!1,Et=Nt=Bt()):(At=!0,Nt=Et):null===Nt.next?(At=!1,Nt=Nt.next=Bt()):(At=!0,Nt=Nt.next),Nt}function Ut(){var e=$t;return $t=null,e}function qt(){Tt=Pt=Ct=kt=null,It=!1,Et=null,Vt=0,Nt=Ft=null}function Zt(e,t){return"function"==typeof t?t(e):t}function Gt(e,t,n){if(kt=zt(),Nt=Ht(),At){var r=Nt.queue;if(t=r.dispatch,null!==Ft&&void 0!==(n=Ft.get(r))){Ft.delete(r),r=Nt.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Nt.memoizedState=r,[r,t]}return[Nt.memoizedState,t]}return e=e===Zt?"function"==typeof t?t():t:void 0!==n?n(t):t,Nt.memoizedState=e,e=(e=Nt.queue={last:null,dispatch:null}).dispatch=Kt.bind(null,kt,e),[Nt.memoizedState,e]}function Wt(e,t){if(kt=zt(),t=void 0===t?null:t,null!==(Nt=Ht())){var n=Nt.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var i=0;i<r.length&&i<t.length;i++)if(!St(t[i],r[i])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Nt.memoizedState=[e,t],e}function Kt(e,t,n){if(25<=Vt)throw Error(o(301));if(e===kt)if(It=!0,e={action:n,next:null},null===Ft&&(Ft=new Map),void 0===(n=Ft.get(t)))Ft.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function Yt(){throw Error(o(440))}function Jt(){throw Error(o(394))}function Xt(){throw Error(o(479))}function Qt(e,t,n){zt();var r=Dt++,i=Pt;if("function"==typeof e.$$FORM_ACTION){var o=null,a=Tt;i=i.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==i&&"function"==typeof s){var l=i[1];s.call(e,i[2],i[3])&&(l===(o=void 0!==n?"p"+n:"k"+k(JSON.stringify([a,null,r]),0))&&(Rt=r,t=i[0]))}var c=e.bind(null,t);return e=function(e){c(e)},"function"==typeof c.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=c.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===o&&(o=void 0!==n?"p"+n:"k"+k(JSON.stringify([a,null,r]),0)),t.append("$ACTION_KEY",o)),e}),[t,e,!1]}var u=e.bind(null,t);return[t,function(e){u(e)},!1]}function en(e){var t=Mt;return Mt+=1,null===$t&&($t=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(_t,_t),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(_t,_t):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw jt=t,xt}}($t,e,t)}function tn(){throw Error(o(393))}var nn,rn,on={readContext:function(e){return e._currentValue2},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return en(e);if(e.$$typeof===p)return e._currentValue2}throw Error(o(438,String(e)))},useContext:function(e){return zt(),e._currentValue2},useMemo:Wt,useReducer:Gt,useRef:function(e){kt=zt();var t=(Nt=Ht()).memoizedState;return null===t?(e={current:e},Nt.memoizedState=e):t},useState:function(e){return Gt(Zt,e)},useInsertionEffect:_t,useLayoutEffect:_t,useCallback:function(e,t){return Wt(function(){return e},t)},useImperativeHandle:_t,useEffect:_t,useDebugValue:_t,useDeferredValue:function(e,t){return zt(),void 0!==t?t:e},useTransition:function(){return zt(),[!1,Jt]},useId:function(){var e=Ct.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-yt(e)-1)).toString(32)+t;var n=an;if(null===n)throw Error(o(404));return t=Lt++,e="_"+n.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(o(407));return n()},useOptimistic:function(e){return zt(),[e,Xt]},useActionState:Qt,useFormState:Qt,useHostTransitionStatus:function(){return zt(),H},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=_;return t},useCacheRefresh:function(){return tn},useEffectEvent:function(){return Yt}},an=null,sn={getCacheForType:function(){throw Error(o(248))},cacheSignal:function(){throw Error(o(248))}};function ln(e){if(void 0===nn)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);nn=t&&t[1]||"",rn=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+nn+e+rn}var cn=!1;function un(e,t){if(!e||cn)return"";cn=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
2else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),a=o[0],s=o[1];if(a&&s){var l=a.split("\n"),c=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===c.length)for(r=l.length-1,i=c.length-1;1<=r&&0<=i&&l[r]!==c[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==c[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==c[i]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=i);break}}}finally{cn=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?ln(n):""}function dn(e){if("string"==typeof e)return ln(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?un(e,!0):un(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case f:return un(e.render,!1);case g:return un(e.type,!1);case b:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(e){return ln("Lazy")}return dn(e)}if("string"==typeof e.name){n=e.name,t=e.env;var r=e.debugLocation;return n=null==r||(e=Error.prepareStackTrace,Error.prepareStackTrace=void 0,r=r.stack,Error.prepareStackTrace=e,r.startsWith("Error: react-stack-top-frame\n")&&(r=r.slice(29)),-1!==(e=r.indexOf("\n"))&&(r=r.slice(e+1)),-1!==(e=r.indexOf("react_stack_bottom_frame"))&&(e=r.lastIndexOf("\n",e)),e=-1!==e?r=r.slice(0,e):"",r=e.lastIndexOf("\n"),-1===(e=-1===r?e:e.slice(r+1)).indexOf(n))?ln(n+(t?" ["+t+"]":"")):"\n"+e}}switch(e){case m:return ln("SuspenseList");case h:return ln("Suspense")}return""}function pn(e,t){return 500<t.byteSize&&null===t.contentPreamble}function fn(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"[%s] "+e[0]," "+t+" "):e.splice(0,0,"[%s]"," "+t+" "),e.unshift(console),(t=it.apply(console.error,e))()}else console.error(e);return null}function hn(e,t,n,r,i,o,a,s,l,c,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===i?fn:i,this.onPostpone=void 0===c?_t:c,this.onAllReady=void 0===o?_t:o,this.onShellReady=void 0===a?_t:a,this.onShellError=void 0===s?_t:s,this.onFatalError=void 0===l?_t:l,this.formState=void 0===u?null:u}var mn=null;function gn(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,Xn(e))}function bn(e,t,n,r,i){return n={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:Ze(),fallbackState:Ze(),contentPreamble:r,fallbackPreamble:i,trackedContentKeyPath:null,trackedFallbackNode:null},null!==t&&(t.pendingTasks++,null!==(r=t.boundaries)&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),null!==(e=t.inheritedHoistables)&&tt(n.contentState,e)),n}function yn(e,t,n,r,i,o,a,s,l,c,u,d,p,f,h){e.allPendingTasks++,null===i?e.pendingRootTasks++:i.pendingTasks++,null!==f&&f.pendingTasks++;var m={replay:null,node:n,childIndex:r,ping:function(){return gn(e,m)},blockedBoundary:i,blockedSegment:o,blockedPreamble:a,hoistableState:s,abortSet:l,keyPath:c,formatContext:u,context:d,treeContext:p,row:f,componentStack:h,thenableState:t};return l.add(m),m}function vn(e,t,n,r,i,o,a,s,l,c,u,d,p,f){e.allPendingTasks++,null===o?e.pen
2dingRootTasks++:o.pendingTasks++,null!==p&&p.pendingTasks++,n.pendingTasks++;var h={replay:n,node:r,childIndex:i,ping:function(){return gn(e,h)},blockedBoundary:o,blockedSegment:null,blockedPreamble:null,hoistableState:a,abortSet:s,keyPath:l,formatContext:c,context:u,treeContext:d,row:p,componentStack:f,thenableState:t};return s.add(h),h}function wn(e,t,n,r,i,o){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:i,textEmbedded:o}}function _n(e){var t=e.node;if("object"==typeof t&&null!==t&&t.$$typeof===a)e.componentStack={parent:e.componentStack,type:t.type}}function xn(e){return null===e?null:{parent:e.parent,type:"Suspense Fallback"}}function jn(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=dn(r.type),r=r.parent}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return Object.defineProperty(t,"componentStack",{value:i}),i}}),t}function On(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function Sn(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,e.destination.destroy(t)):(e.status=13,e.fatalError=t)}function kn(e,t){Cn(e,t.next,t.hoistables)}function Cn(e,t,n){for(;null!==t;){null!==n&&(tt(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(null!==r){t.boundaries=null;for(var i=0;i<r.length;i++){var o=r[i];null!==n&&tt(o.contentState,n),Jn(e,o,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function Pn(e,t){var n=t.boundaries;if(null!==n&&t.pendingTasks===n.length){for(var r=!0,i=0;i<n.length;i++){var o=n[i];if(1!==o.pendingTasks||o.parentFlushed||pn(0,o)){r=!1;break}}r&&Cn(e,t,t.hoistables)}}function Tn(e){var t={pendingTasks:1,boundaries:null,hoistables:Ze(),inheritedHoistables:null,together:!1,next:null};return null!==e&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function En(e,t,n,r,i){var o=t.keyPath,a=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var l=null;if(null!==t.replay){var c=t.replay.slots;if(null!==c&&"object"==typeof c)for(var u=0;u<n;u++){var d="backwards"!==i&&"unstable_legacy-backwards"!==i?u:n-1-u,p=r[d];t.row=l=Tn(l),t.treeContext=bt(a,n,d);var f=c[d];"number"==typeof f?(Ln(e,t,f,p,d),delete c[d]):Hn(e,t,p,d),0===--l.pendingTasks&&kn(e,l)}else for(c=0;c<n;c++)d=r[u="backwards"!==i&&"unstable_legacy-backwards"!==i?c:n-1-c],t.row=l=Tn(l),t.treeContext=bt(a,n,u),Hn(e,t,d,u),0===--l.pendingTasks&&kn(e,l)}else if("backwards"!==i&&"unstable_legacy-backwards"!==i)for(i=0;i<n;i++)c=r[i],t.row=l=Tn(l),t.treeContext=bt(a,n,i),Hn(e,t,c,i),0===--l.pendingTasks&&kn(e,l);else{for(c=(i=t.blockedSegment).children.length,u=i.chunks.length,d=n-1;0<=d;d--){p=r[d],t.row=l=Tn(l),t.treeContext=bt(a,n,d),f=wn(0,u,null,t.formatContext,0!==d||i.lastPushedText,!0),i.children.splice(c,0,f),t.blockedSegment=f;try{Hn(e,t,p,d),rt(f.chunks,e.renderState,f.lastPushedText,f.textEmbedded),f.status=1,0===--l.pendingTasks&&kn(e,l)}catch(t){throw f.status=12===e.status?3:4,t}}t.blockedSegment=i,i.lastPushedText=!1}null!==s&&null!==l&&0<l.pendingTasks&&(s.pendingTasks++,l.next=s),t.treeContext=a,t.row=s,t.keyPath=o}function Nn(e,t,n,r,i,o){var a=t.thenableState;for(t.thenableState=null,kt={},Ct=t,Pt=e,Tt=n,Dt=Lt=0,Rt=-1,Mt=0,$t=a,e=r(i,o);It;)It=!1,Dt=Lt=0,Rt=-1,Mt=0,Vt+=1,Nt=null,e=r(i,o);return qt(),e}function An(e,t,n,r,i,o,a){var s=!1;if(0!==o&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var c=0;c<o;c++)c===a?l.push("\x3c!--F!--\x3e"):l.push("\x3c!--F--\x3e")}}
2o=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=bt(n,1,0),Hn(e,t,r,-1),t.treeContext=n):s?Hn(e,t,r,-1):Dn(e,t,r,-1),t.keyPath=o}function In(e,t,n,r,i,a){if("function"==typeof r)if(r.prototype&&r.prototype.isReactComponent){var s=i;if("ref"in i)for(var _ in s={},i)"ref"!==_&&(s[_]=i[_]);var j=r.defaultProps;if(j)for(var k in s===i&&(s=C({},s,i)),j)void 0===s[k]&&(s[k]=j[k]);i=s,s=st,"object"==typeof(j=r.contextType)&&null!==j&&(s=j._currentValue2);var P=void 0!==(s=new r(i,s)).state?s.state:null;if(s.updater=mt,s.props=i,s.state=P,j={queue:[],replace:!1},s._reactInternals=j,a=r.contextType,s.context="object"==typeof a&&null!==a?a._currentValue2:st,"function"==typeof(a=r.getDerivedStateFromProps)&&(P=null==(a=a(i,P))?P:C({},P,a),s.state=P),"function"!=typeof r.getDerivedStateFromProps&&"function"!=typeof s.getSnapshotBeforeUpdate&&("function"==typeof s.UNSAFE_componentWillMount||"function"==typeof s.componentWillMount))if(r=s.state,"function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount(),r!==s.state&&mt.enqueueReplaceState(s,s.state,null),null!==j.queue&&0<j.queue.length)if(r=j.queue,a=j.replace,j.queue=null,j.replace=!1,a&&1===r.length)s.state=r[0];else{for(j=a?r[0]:s.state,P=!0,a=a?1:0;a<r.length;a++)null!=(k="function"==typeof(k=r[a])?k.call(s,j,i,void 0):k)&&(P?(P=!1,j=C({},j,k)):C(j,k));s.state=j}else j.queue=null;if(r=s.render(),12===e.status)throw null;i=t.keyPath,t.keyPath=n,Dn(e,t,r,-1),t.keyPath=i}else{if(r=Nn(e,t,n,r,i,void 0),12===e.status)throw null;An(e,t,n,r,0!==Lt,Dt,Rt)}else{if("string"!=typeof r){switch(r){case w:case c:case u:case l:return r=t.keyPath,t.keyPath=n,Dn(e,t,i.children,-1),void(t.keyPath=r);case v:return void(null===(r=t.blockedSegment)?"hidden"!==i.mode&&(r=t.keyPath,t.keyPath=n,Hn(e,t,i.children,-1),t.keyPath=r):"hidden"!==i.mode&&(e.renderState.generateStaticMarkup||r.chunks.push("\x3c!--&--\x3e"),r.lastPushedText=!1,s=t.keyPath,t.keyPath=n,Hn(e,t,i.children,-1),t.keyPath=s,e.renderState.generateStaticMarkup||r.chunks.push("\x3c!--/&--\x3e"),r.lastPushedText=!1));case m:e:{if(r=i.children,"forwards"===(i=i.revealOrder)||"backwards"===i||"unstable_legacy-backwards"===i){if(S(r)){En(e,t,n,r,i);break e}if((s=O(r))&&(s=s.call(r))){if(!(j=s.next()).done){do{j=s.next()}while(!j.done);En(e,t,n,r,i)}break e}}"together"===i?(i=t.keyPath,s=t.row,(j=t.row=Tn(null)).boundaries=[],j.together=!0,t.keyPath=n,Dn(e,t,r,-1),0===--j.pendingTasks&&kn(e,j),t.keyPath=i,t.row=s,null!==s&&0<j.pendingTasks&&(s.pendingTasks++,j.next=s)):(i=t.keyPath,t.keyPath=n,Dn(e,t,r,-1),t.keyPath=i)}return;case x:case y:throw Error(o(343));case h:e:if(null!==t.replay){r=t.keyPath,s=t.formatContext,j=t.row,t.keyPath=n,t.formatContext=Q(e.resumableState,s),t.row=null,n=i.children;try{Hn(e,t,n,-1)}finally{t.keyPath=r,t.formatContext=s,t.row=j}}else{r=t.keyPath,a=t.formatContext;var T=t.row,E=t.blockedBoundary;k=t.blockedPreamble;var N=t.hoistableState;_=t.blockedSegment;var A=i.fallback;i=i.children;var I=new Set,L=bn(e,t.row,I,null,null);null!==e.trackedPostpones&&(L.trackedContentKeyPath=n);var D=wn(0,_.chunks.length,L,t.formatContext,!1,!1);_.children.push(D),_.lastPushedText=!1;var R=wn(0,0,null,t.formatContext,!1,!1);if(R.parentFlushed=!0,null!==e.trackedPostpones){s=t.componentStack,P=[(j=[n[0],"Suspense Fallback",n[2]])[1],j[2],[],null],e.trackedPostpones.workingMap.set(j,P),L.trackedFallbackNode=P,t.blockedSegment=D,t.blockedPreamble=L.fallbackPreamble,t.keyPath=j,t.formatContext=X(e.resumableState,a),t.componentStack=xn(s),D.status=6;try{Hn(e,t,A,-1),rt(D.chunks,e.renderState,D.lastPushedText,D.textEmbedded),D.status=1}catch(t){throw D.status=12===e.status?3:4,t}finally{t.blockedSegment=_,t.blockedPreamble=k,t.keyPath=r,t.formatContext=a}_n(t=yn(e,null,i,-1,L,R,L.contentPreamble,L.contentState,t.abortSet,n,Q(e.resumableState,t.formatContext),t.context,t.treeContext,null,s)),e.pingedTasks.push(t)}else{t.blockedBoundary=L,t.blockedPreamble=L.contentPreamble,t.hoistableState=L.contentState,t.blockedSegment=R,t.keyPath=n,t.formatContext=Q(e.resumableState,a),t.row=null,R.status=6;
vendor: 5,718 bytes, line 2
2try{if(Hn(e,t,i,-1),rt(R.chunks,e.renderState,R.lastPushedText,R.textEmbedded),R.status=1,Yn(L,R),0===L.pendingTasks&&0===L.status){if(L.status=1,!pn(0,L)){null!==T&&0===--T.pendingTasks&&kn(e,T),0===e.pendingRootTasks&&t.blockedPreamble&&tr(e);break e}}else null!==T&&T.together&&Pn(e,T)}catch(n){L.status=4,12===e.status?(R.status=3,s=e.fatalError):(R.status=4,s=n),P=On(e,s,j=jn(t.componentStack)),L.errorDigest=P,Vn(e,L)}finally{t.blockedBoundary=E,t.blockedPreamble=k,t.hoistableState=N,t.blockedSegment=_,t.keyPath=r,t.formatContext=a,t.row=T}_n(t=yn(e,null,A,-1,E,D,L.fallbackPreamble,L.fallbackState,I,[n[0],"Suspense Fallback",n[2]],X(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,xn(t.componentStack))),e.pingedTasks.push(t)}}return}if("object"==typeof r&&null!==r)switch(r.$$typeof){case f:if("ref"in i)for(A in s={},i)"ref"!==A&&(s[A]=i[A]);else s=i;return void An(e,t,n,r=Nn(e,t,n,r.render,s,a),0!==Lt,Dt,Rt);case g:return void In(e,t,n,r.type,i,a);case p:if(j=i.children,s=t.keyPath,i=i.value,P=r._currentValue2,r._currentValue2=i,lt=r={parent:a=lt,depth:null===a?0:a.depth+1,context:r,parentValue:P,value:i},t.context=r,t.keyPath=n,Dn(e,t,j,-1),null===(e=lt))throw Error(o(403));return e.context._currentValue2=e.parentValue,e=lt=e.parent,t.context=e,void(t.keyPath=s);case d:return r=(i=i.children)(r._context._currentValue2),i=t.keyPath,t.keyPath=n,Dn(e,t,r,-1),void(t.keyPath=i);case b:if(r=(s=r._init)(r._payload),12===e.status)throw null;return void In(e,t,n,r,i,a)}throw Error(o(130,null==r?r:typeof r,""))}if(null===(s=t.blockedSegment))s=i.children,j=t.formatContext,P=t.keyPath,t.formatContext=Y(j,r,i),t.keyPath=n,Hn(e,t,s,-1),t.formatContext=j,t.keyPath=P;else{if(P=je(s.chunks,r,i,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,s.lastPushedText),s.lastPushedText=!1,j=t.formatContext,a=t.keyPath,t.keyPath=n,3===(t.formatContext=Y(j,r,i)).insertionMode){n=wn(0,0,null,t.formatContext,!1,!1),s.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,Hn(e,t,P,-1),rt(n.chunks,e.renderState,n.lastPushedText,n.textEmbedded),n.status=1}finally{t.blockedSegment=s}}else Hn(e,t,P,-1);t.formatContext=j,t.keyPath=a;e:{switch(t=s.chunks,e=e.resumableState,r){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=j.insertionMode){e.hasBody=!0;break e}break;case"html":if(0===j.insertionMode){e.hasHtml=!0;break e}break;case"head":if(1>=j.insertionMode)break e}t.push(Se(r))}s.lastPushedText=!1}}}function Ln(e,t,n,r,i){var o=t.replay,a=t.blockedBoundary,s=wn(0,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,Hn(e,t,r,i),s.status=1,null===a?e.completedRootSegment=s:(Yn(a,s),a.parentFlushed&&e.partialBoundaries.push(a))}finally{t.replay=o,t.blockedSegment=null}}function Dn(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?Ln(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,_n(t),Rn(e,t),t.componentStack=n)}function Rn(e,t){var n=t.node,r=t.childIndex;if(null!==n){if("object"==typeof n){switch(n.$$typeof){case a:var i=n.type,l=n.key,c=n.props,u=void 0!==(n=c.ref)?n:null,d=at(i),f=null==l?-1===r?0:r:l;if(l=[t.keyPath,d,f],null!==t.replay)e:{var m=t.replay;for(r=m.nodes,n=0;n<r.length;n++){var g=r[n];if(f===g[1]){if(4===g.length){if(null!==d&&d!==g[0])throw Error(o(490,g[0],d));var y=g[2];d=g[3],f=t.node,t.replay={nodes:y,slots:d,pendingTasks:1};try{if(In(e,t,l,i,c,u),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));t.replay.pendingTasks--}catch(o){if("object"==typeof o&&null!==o&&(o===xt||"function"==typeof o.then))throw t.node===f?t.replay=m:r.splice(n,1),o;t.replay.pendingTasks--,c=jn(t.componentStack),qn(l=e,e=t.blockedBoundary,y,d,i=o,c=On(l,i,c))}t.replay=m}else{if(i!==h)throw Error(o(490,"Suspense",at(i)||"Unknown"));t:{m=void 0,i=g[5],u=g[2],d=g[3],f=null===g[4]?[]:g[4][2],g=null===g[4]?null:g[4][3];var v=t.keyPath,w=t.formatContext,_=t.row,x=t.replay,j=t.blockedBoundary,k=t.hoistableState,C=c.children,P=c.fallback,T=new Set;(c=bn(e,t.row,T,null,null)).parentFlushed=!0,c.rootSegmentID=i,t.blockedBoundary=c,t.hoistableState=c.contentState,t.keyPath=l,t.formatContext=Q(e.resumableState,w),t.row=null,t.replay={nodes:u,slots:d,pendingTasks:1};try{if(Hn(e,t,C,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));if(t.replay.pendingTasks--,0===c.pendingTasks&&0===c.status){c.status=1,e.completedBoundaries.push(c);break t}}catch(n){c.status=4,m=On(e,n,y=jn(t.componentStack)),c.errorDigest=m,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(c)}finally{t.blockedBoundary=j,t.hoistableState=k,t.replay=x,t.keyPath=v,t.formatContext=w,t.row=_}_n(y=vn(e,null,{nodes:f,slots:g,pendingTasks:0},P,-1,j,c.fallbackState,T,[l[0],"Suspense Fallback",l[2]],X(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,xn(t.componentStack))),e.pingedTasks.push(y)}}r.splice(n,1);break e}}}else In(e,t,l,i,c,u);return;case s:throw Error(o(257));case b:if(n=(y=n._init)(n._payload),12===e.status)throw null;return void Dn(e,t,n,r)}if(S(n))return void Mn(e,t,n,r);if((y=O(n))&&(y=y.call(n))){if(!(n=y.next()).done){c=[];do{c.push(n.value),n=y.next()}while(!n.done);Mn(e,t,c,r)}return}if("function"==typeof n.then)return t.thenableState=null,Dn(e,t,en(n),r);if(n.$$typeof===p)return Dn(e,t,n._currentValue2,r);throw r=Object.prototype.toString.call(n),Error(o(31,"[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r))}"string"==typeof n?null!==(r=t.blockedSegment)&&(r.lastPushedText=nt(r.chunks,n,e.render
2State,r.lastPushedText)):"number"!=typeof n&&"bigint"!=typeof n||null!==(r=t.blockedSegment)&&(r.lastPushedText=nt(r.chunks,""+n,e.renderState,r.lastPushedText))}}function Mn(e,t,n,r){var i=t.keyPath;if(-1===r||(t.keyPath=[t.keyPath,"Fragment",r],null===t.replay)){if(a=t.treeContext,s=n.length,null!==t.replay&&(null!==(l=t.replay.slots)&&"object"==typeof l)){for(r=0;r<s;r++)c=n[r],t.treeContext=bt(a,s,r),"number"==typeof(u=l[r])?(Ln(e,t,u,c,r),delete l[r]):Hn(e,t,c,r);return t.treeContext=a,void(t.keyPath=i)}for(l=0;l<s;l++)r=n[l],t.treeContext=bt(a,s,l),Hn(e,t,r,l);t.treeContext=a,t.keyPath=i}else{for(var a=t.replay,s=a.nodes,l=0;l<s.length;l++){var c=s[l];if(c[1]===r){r=c[2],c=c[3],t.replay={nodes:r,slots:c,pendingTasks:1};try{if(Mn(e,t,n,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));t.replay.pendingTasks--}catch(i){if("object"==typeof i&&null!==i&&(i===xt||"function"==typeof i.then))throw i;t.replay.pendingTasks--,n=jn(t.componentStack);var u=t.blockedBoundary;qn(e,u,r,c,i,n=On(e,i,n))}t.replay=a,s.splice(l,1);break}}t.keyPath=i}}function $n(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,null===(e=n.trackedContentKeyPath))throw Error(o(486));var r=n.trackedFallbackNode,i=t.workingMap.get(e);return void 0===i?(n=[e[1],e[2],[],null,r,n.rootSegmentID],t.workingMap.set(e,n),fr(n,e[0],t),n):(i[4]=r,i[5]=n.rootSegmentID,i)}function Fn(e,t,n,r){r.status=5;var i=n.keyPath,a=n.blockedBoundary;if(null===a)r.id=e.nextSegmentId++,t.rootSlots=r.id,null!==e.completedRootSegment&&(e.completedRootSegment.status=5);else{if(null!==a&&0===a.status){var s=$n(e,t,a);if(a.trackedContentKeyPath===i&&-1===n.childIndex)return-1===r.id&&(r.id=r.parentFlushed?a.rootSegmentID:e.nextSegmentId++),void(s[3]=r.id)}if(-1===r.id&&(r.id=r.parentFlushed&&null!==a?a.rootSegmentID:e.nextSegmentId++),-1===n.childIndex)null===i?t.rootSlots=r.id:void 0===(n=t.workingMap.get(i))?fr(n=[i[1],i[2],[],r.id],i[0],t):n[3]=r.id;else{if(null===i){if(null===(e=t.rootSlots))e=t.rootSlots={};else if("number"==typeof e)throw Error(o(491))}else if(void 0===(s=(a=t.workingMap).get(i)))e={},s=[i[1],i[2],[],e],a.set(i,s),fr(s,i[0],t);else if(null===(e=s[3]))e=s[3]={};else if("number"==typeof e)throw Error(o(491));e[n.childIndex]=r.id}}}function Vn(e,t){null!==(e=e.trackedPostpones)&&(null!==(t=t.trackedContentKeyPath)&&(void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)))}function zn(e,t,n){return vn(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function Bn(e,t,n){var r=t.blockedSegment,i=wn(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,yn(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function Hn(e,t,n,r){var i=t.formatContext,o=t.context,a=t.keyPath,s=t.treeContext,l=t.componentStack,c=t.blockedSegment;if(null===c){c=t.replay;try{return Dn(e,t,n,r)}catch(u){if(qt(),n=u===xt?Ot():u,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return e=zn(e,t,r=u===xt?Ut():null).ping,n.then(e,e),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=c,void ht(o);if("Maximum call stack size exceeded"===n.message)return n=zn(e,t,n=u===xt?Ut():null),e.pingedTasks.push(n),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=c,void ht(o)}}}else{var u=c.children.length,d=c.chunks.length;try{return Dn(e,t,n,r)}catch(r){if(qt(),c.children.length=u,c.chunks.length=d,n=r===xt?Ot():r,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return c=n,e=Bn(e,t,n=r===xt?Ut():null).ping,c.then(e,e),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,void ht(o);if("Maximum call stack size exceeded"===n.message)return c=Bn(e,t,c=r===xt?Ut():null),e.pingedTasks.push(c),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,void ht(o)}}}throw t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,ht(o),n}function Un(e){var t=e.blockedBoundary,n=e.blockedSegment;null!==n&&(n.status=3,Jn(this,t,e.row,n))}function qn(e,t,n,r,i,a){for(var s=0;s<n.length;s++){var l=n[s];if(4===l.length)qn(e,t,l[2],l[3],i,a);else{l=l[5];
2var c=e,u=a,d=bn(c,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=l,d.status=4,d.errorDigest=u,d.parentFlushed&&c.clientRenderedBoundaries.push(d)}}if(n.length=0,null!==r){if(null===t)throw Error(o(487));if(4!==t.status&&(t.status=4,t.errorDigest=a,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof r)for(var p in r)delete r[p]}}function Zn(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(null!==i){if(6===i.status)return;i.status=3}var o=jn(e.componentStack);if(null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return void(null!==t.trackedPostpones&&null!==i?(r=t.trackedPostpones,On(t,n,o),Fn(t,r,e,i),Jn(t,null,e.row,i)):(On(t,n,o),Sn(t,n)));r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(i=On(t,n,o),qn(t,null,r.nodes,r.slots,n,i)),t.pendingRootTasks--,0===t.pendingRootTasks&&Wn(t)}}else{var a=t.trackedPostpones;if(4!==r.status){if(null!==a&&null!==i)return On(t,n,o),Fn(t,a,e,i),r.fallbackAbortableTasks.forEach(function(e){return Zn(e,t,n)}),r.fallbackAbortableTasks.clear(),Jn(t,r,e.row,i);r.status=4,i=On(t,n,o),r.status=4,r.errorDigest=i,Vn(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,null!==(i=r.row)&&0===--i.pendingTasks&&kn(t,i),r.fallbackAbortableTasks.forEach(function(e){return Zn(e,t,n)}),r.fallbackAbortableTasks.clear()}null!==(e=e.row)&&0===--e.pendingTasks&&kn(t,e),t.allPendingTasks--,0===t.allPendingTasks&&Kn(t)}function Gn(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var o=i.preconnects;if(i.fontPreloads&&(o&&(o+=", "),o+=i.fontPreloads),i.highImagePreloads&&(o&&(o+=", "),o+=i.highImagePreloads),!t){var a=n.styles.values(),s=a.next();e:for(;0<i.remainingCapacity&&!s.done;s=a.next())for(var l=s.value.sheets.values(),c=l.next();0<i.remainingCapacity&&!c.done;c=l.next()){var u=c.value,d=u.props,p=d.href,f=u.props,h=We(f.href,"style",{crossOrigin:f.crossOrigin,integrity:f.integrity,nonce:f.nonce,type:f.type,fetchPriority:f.fetchPriority,referrerPolicy:f.referrerPolicy,media:f.media});if(!(0<=(i.remainingCapacity-=h.length+2)))break e;n.resets.style[p]=q,o&&(o+=", "),o+=h,n.resets.style[p]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:q}}r(o?{Link:o}:{})}}}catch(t){On(e,t,{})}}function Wn(e){null===e.trackedPostpones&&Gn(e,!0),null===e.trackedPostpones&&tr(e),e.onShellError=_t,(e=e.onShellReady)()}function Kn(e){Gn(e,null===e.trackedPostpones||(null===e.completedRootSegment||5!==e.completedRootSegment.status)),tr(e),(e=e.onAllReady)()}function Yn(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1!==n.status&&3!==n.status&&4!==n.status||Yn(e,n)}else e.completedSegments.push(t)}function Jn(e,t,n,r){if(null!==n&&(0===--n.pendingTasks?kn(e,n):n.together&&Pn(e,n)),e.allPendingTasks--,null===t){if(null!==r&&r.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&Wn(e)}else if(t.pendingTasks--,4!==t.status)if(0===t.pendingTasks){if(0===t.status&&(t.status=1),null!==r&&r.parentFlushed&&(1===r.status||3===r.status)&&Yn(t,r),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status)null!==(n=t.row)&&tt(n.hoistables,t.contentState),pn(0,t)||(t.fallbackAbortableTasks.forEach(Un,e),t.fallbackAbortableTasks.clear(),null!==n&&0===--n.pendingTasks&&kn(e,n)),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&tr(e);else if(5===t.status&&null!==(t=t.row)){if(null!==e.trackedPostpones){n=e.trackedPostpones;var i=t.next;if(null!==i&&null!==(r=i.boundaries))for(i.boundaries=null,i=0;i<r.length;i++){var a=r[i];$n(e,n,a),Jn(e,a,null,null)}}0===--t.pendingTasks&&kn(e,t)}}else null===r||!r.parentFlushed||1!==r.status&&3!==r.status||(Yn(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)),null!==(t=t.row)&&t.together&&Pn(e,t);0===e.allPendingTasks&&Kn(e)}function Xn(e){if(14!==e.status&&13!==e.status){var t=lt,n=z.H;z.H=on;var r=z.A;z.A=sn;var i=mn;mn=e;var a=an;an=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var c=l[s],u=e,d=c.blockedSegment;if(null===d){var p=u;if(0!==c.replay.pendingTasks){ht(c.context);try{if("number"==typeof c.replay.slots?Ln(p,c,c.replay.slots,c.node,c.childIndex):Rn(p,c),1===c.replay.pendingTasks&&0<c.replay.nodes.length)throw Error(o(488));c.replay.pendingTasks--,c.abortSet.delete(c),Jn(p,c.blockedBoundary,c.row,null)}catch(e){qt();var f=e===xt?Ot():e;if("object"==typeof f&&null!==f&&"function"==typeof f.then){var h=c.ping;f.then(h,h),c.thenableState=e===xt?Ut():null}else{c.replay.pendingTasks--,c.abortSet.delete(c);var m=jn(c.componentStack);u=void 0;var g=p,b=c.blockedBoundary,y=12===p.status?p.fatalError:f;qn(g,b,c.replay.nodes,c.replay.slots,y,u=On(g,y,m)),p.pendingRootTasks--,0===p.pendingRootTasks&&Wn(p),p.allPendingTasks--,0===p.allPendingTasks&&Kn(p)}}}}else if(p=void 0,0===(g=d).status){g.status=6,ht(c.context);var v=g.children.length,w=g.chunks.length;
2try{Rn(u,c),rt(g.chunks,u.renderState,g.lastPushedText,g.textEmbedded),c.abortSet.delete(c),g.status=1,Jn(u,c.blockedBoundary,c.row,g)}catch(e){qt(),g.children.length=v,g.chunks.length=w;var _=e===xt?Ot():12===u.status?u.fatalError:e;if(12===u.status&&null!==u.trackedPostpones){var x=u.trackedPostpones,j=jn(c.componentStack);c.abortSet.delete(c),On(u,_,j),Fn(u,x,c,g),Jn(u,c.blockedBoundary,c.row,g)}else if("object"==typeof _&&null!==_&&"function"==typeof _.then){g.status=0,c.thenableState=e===xt?Ut():null;var O=c.ping;_.then(O,O)}else{var S=jn(c.componentStack);c.abortSet.delete(c),g.status=4;var k=c.blockedBoundary,C=c.row;if(null!==C&&0===--C.pendingTasks&&kn(u,C),u.allPendingTasks--,p=On(u,_,S),null===k)Sn(u,_);else if(k.pendingTasks--,4!==k.status){k.status=4,k.errorDigest=p,Vn(u,k);var P=k.row;null!==P&&0===--P.pendingTasks&&kn(u,P),k.parentFlushed&&u.clientRenderedBoundaries.push(k),0===u.pendingRootTasks&&null===u.trackedPostpones&&null!==k.contentPreamble&&tr(u)}0===u.allPendingTasks&&Kn(u)}}}}l.splice(0,s),null!==e.destination&&cr(e,e.destination)}catch(t){On(e,t,{}),Sn(e,t)}finally{an=a,z.H=n,z.A=r,n===on&&ht(t),mn=i}}}function Qn(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=er(e,t.children[i],n)||r;return r}function er(e,t,n){var r=t.boundary;if(null===r)return Qn(e,t,n);var i=r.contentPreamble,a=r.fallbackPreamble;if(null===i||null===a)return!1;switch(r.status){case 1:if(ke(e.renderState,i),e.byteSize+=r.byteSize,!(t=r.completedSegments[0]))throw Error(o(391));return Qn(e,t,n);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return ke(e.renderState,a),Qn(e,t,n);default:return!0}}function tr(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=e.byteSize,r=er(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function nr(e,t,n,r){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,t.push('<template id="'),t.push(e.placeholderPrefix),e=r.toString(16),t.push(e),t.push('"></template>');case 1:n.status=2;var i=!0,a=n.chunks,s=0;n=n.children;for(var l=0;l<n.length;l++){for(i=n[l];s<i.index;s++)t.push(a[s]);i=ir(e,t,i,r)}for(;s<a.length-1;s++)t.push(a[s]);return s<a.length&&(i=t.push(a[s])),i;case 3:return!0;default:throw Error(o(390))}}var rr=0;function ir(e,t,n,r){var i=n.boundary;if(null===i)return nr(e,t,n,r);if(i.parentFlushed=!0,4===i.status){var a=i.row;return null!==a&&0===--a.pendingTasks&&kn(e,a),e.renderState.generateStaticMarkup||(i=i.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),i&&(t.push(' data-dgst="'),i=R(i),t.push(i),t.push('"')),t.push("></template>")),nr(e,t,n,r),e=!!e.renderState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}if(1!==i.status)return 0===i.status&&(i.rootSegmentID=e.nextSegmentId++),0<i.completedSegments.length&&e.partialBoundaries.push(i),Pe(t,e.renderState,i.rootSegmentID),r&&tt(r,i.fallbackState),nr(e,t,n,r),t.push("\x3c!--/$--\x3e");if(!lr&&pn(0,i)&&rr+i.byteSize>e.progressiveChunkSize)return i.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(i),Pe(t,e.renderState,i.rootSegmentID),nr(e,t,n,r),t.push("\x3c!--/$--\x3e");if(rr+=i.byteSize,r&&tt(r,i.contentState),null!==(n=i.row)&&pn(0,i)&&0===--n.pendingTasks&&kn(e,n),e.renderState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(n=i.completedSegments).length)throw Error(o(391));return ir(e,t,n[0],r),e=!!e.renderState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}function or(e,t,n,r){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:case 3:case 2:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 4:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 5:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 8:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 9:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');default:throw Error(o(397))}}
2(t,e.renderState,n.parentFormatContext,n.id),ir(e,t,n,r),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return e.push("</div>");case 4:return e.push("</svg>");case 5:return e.push("</math>");case 6:return e.push("</table>");case 7:return e.push("</tbody></table>");case 8:return e.push("</tr></table>");case 9:return e.push("</colgroup></table>");default:throw Error(o(397))}}(t,n.parentFormatContext)}function ar(e,t,n){rr=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)sr(e,t,n,r[i]);r.length=0,null!==(r=n.row)&&pn(0,n)&&0===--r.pendingTasks&&kn(e,r),Me(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,i=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),t.push(">"),a?(!(4&r.instructions)&&(r.instructions|=4,t.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};')),!(2&r.instructions)&&(r.instructions|=2,t.push('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};')),8&r.instructions?t.push('$RR("'):(r.instructions|=8,t.push('$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'))):(!(2&r.instructions)&&(r.instructions|=2,t.push('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};')),t.push('$RC("')),r=i.toString(16),t.push(e.boundaryPrefix),t.push(r),t.push('","'),t.push(e.segmentPrefix),t.push(r),a?(t.push('",'),function(e,t){e.push("[");var n="[";
2t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)e.push(n),t=Ae(""+t.props.href),e.push(t),e.push("]"),n=",[";else{e.push(n);var r=t.props["data-precedence"],i=t.props,a=V(""+t.props.href);for(var s in a=Ae(a),e.push(a),r=""+r,e.push(","),r=Ae(r),e.push(r),i)if(P.call(i,s)&&null!=(r=i[s]))switch(s){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"link"));default:qe(e,s,r)}e.push("]"),n=",[",t.state=3}}),e.push("]")}(t,n)):t.push('"'),n=t.push(")<\/script>"),Ce(t,e)&&n}function sr(e,t,n,r){if(2===r.status)return!0;var i=n.contentState,a=r.id;if(-1===a){if(-1===(r.id=n.rootSegmentID))throw Error(o(392));return or(e,t,r,i)}return a===n.rootSegmentID?or(e,t,r,i):(or(e,t,r,i),n=e.resumableState,e=e.renderState,t.push(e.startInlineScript),t.push(">"),1&n.instructions?t.push('$RS("'):(n.instructions|=1,t.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),a=a.toString(16),t.push(a),t.push('","'),t.push(e.placeholderPrefix),t.push(a),t=t.push('")<\/script>'))}var lr=!1;function cr(e,t){try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var i=e.completedPreambleSegments;if(null===i)return;rr=e.byteSize;var o,a=e.resumableState,s=e.renderState,l=s.preamble,c=l.htmlChunks,u=l.headChunks;if(c){for(o=0;o<c.length;o++)t.push(c[o]);if(u)for(o=0;o<u.length;o++)t.push(u[o]);else{var d=xe("head");t.push(d),t.push(">")}}else if(u)for(o=0;o<u.length;o++)t.push(u[o]);var p=s.charsetChunks;for(o=0;o<p.length;o++)t.push(p[o]);p.length=0,s.preconnects.forEach($e,t),s.preconnects.clear();var f=s.viewportChunks;for(o=0;o<f.length;o++)t.push(f[o]);f.length=0,s.fontPreloads.forEach($e,t),s.fontPreloads.clear(),s.highImagePreloads.forEach($e,t),s.highImagePreloads.clear(),Z=s,s.styles.forEach(ze,t),Z=null;var h=s.importMapChunks;for(o=0;o<h.length;o++)t.push(h[o]);h.length=0,s.bootstrapScripts.forEach($e,t),s.scripts.forEach($e,t),s.scripts.clear(),s.bulkPreloads.forEach($e,t),s.bulkPreloads.clear(),a.instructions|=32;var m=s.hoistableChunks;for(o=0;o<m.length;o++)t.push(m[o]);for(a=m.length=0;a<i.length;a++){var g=i[a];for(s=0;s<g.length;s++)ir(e,t,g[s],null)}var b=e.renderState.preamble,y=b.headChunks;if(b.htmlChunks||y){var v=Se("head");t.push(v)}var w=b.bodyChunks;if(w)for(i=0;i<w.length;i++)t.push(w[i]);ir(e,t,r,null),e.completedRootSegment=null;var _=e.renderState;if(0!==e.allPendingTasks||0!==e.clientRenderedBoundaries.length||0!==e.completedBoundaries.length||null!==e.trackedPostpones&&(0!==e.trackedPostpones.rootNodes.length||null!==e.trackedPostpones.rootSlots)){var x=e.resumableState;if(!(64&x.instructions)){if(x.instructions|=64,t.push(_.startInlineScript),!(32&x.instructions)){x.instructions|=32;var j="_"+x.idPrefix+"R_";t.push(' id="');var O=R(j);t.push(O),t.push('"')}t.push(">"),t.push("requestAnimationFrame(function(){$RT=performance.now()});"),t.push("<\/script>")}}Ce(t,_)}var S=e.renderState;r=0;var k=S.viewportChunks;for(r=0;r<k.length;r++)t.push(k[r]);k.length=0,S.preconnects.forEach($e,t),S.preconnects.clear(),S.fontPreloads.forEach($e,t),S.fontPreloads.clear(),S.highImagePreloads.forEach($e,t),S.highImagePreloads.clear(),S.styles.forEach(He,t),S.scripts.forEach($e,t),S.scripts.clear(),S.bulkPreloads.forEach($e,t),S.bulkPreloads.clear();var C=S.hoistableChunks;for(r=0;r<C.length;r++)t.push(C[r]);C.length=0;var P=e.clientRenderedBoundaries;for(n=0;n<P.length;n++){var T=P[n];S=t;var E=e.resumableState,N=e.renderState,A=T.rootSegmentID,I=T.errorDigest;S.push(N.startInlineScript),S.push(">"),4&E.instructions?S.push('$RX("'):(E.instructions|=4,S.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("')),S.push(N.boundaryPrefix);var L=A.toString(16);if(S.push(L),S.push('"'),I){S.push(",");var D=Ee(I||"");S.push(D)}var M=S.push(")<\/script>");if(!M)return e.destination=null,n++,void P.splice(0,n)}P.splice(0,n);var $=e.completedBoundaries;for(n=0;n<$.length;n++)if(!ar(e,t,$[n]))return e.destination=null,n++,void $.splice(0,n);$.splice(0,n),lr=!0;var F=e.partialBoundaries;for(n=0;n<F.length;n++){var V=F[n];e:{P=e,T=t,rr=V.byteSize;var z=V.completedSegments;for(M=0;M<z.length;M++)if(!sr(P,T,V,z[M])){M++,z.splice(0,M);var B=!1;break e}z.splice(0,M);var H=V.row;null!==H&&H.together&&1===V.pendingTasks&&(1===H.pendingTasks?Cn(P,H,H.hoistables):H.pendingTasks--),B=Me(T,V.contentState,P.renderState)}if(!B)return e.destination=null,n++,void F.splice(0,n)}F.splice(0,n),lr=!1;var U=e.completedBoundaries;for(n=0;n<U.length;n++)if(!ar(e,t,U[n]))return e.destination=null,n++,void U.splice(0,n);U.splice(0,n)}}finally{lr=!1,0===e.allPendingTasks&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&(e.flushScheduled=!1,(n=e.resumableState).hasBody&&(F=Se("body"),t.push(F)),n.hasHtml&&(n=Se("html"),t.pu
2sh(n)),e.status=14,t.push(null),e.destination=null)}}function ur(e){if(!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination){e.flushScheduled=!0;var t=e.destination;t?cr(e,t):e.flushScheduled=!1}}function dr(e,t){if(13===e.status)e.status=14,t.destroy(e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{cr(e,t)}catch(t){On(e,t,{}),Sn(e,t)}}}function pr(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var r=void 0===t?Error(o(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(o(530)):t;e.fatalError=r,n.forEach(function(t){return Zn(t,e,r)}),n.clear()}null!==e.destination&&cr(e,e.destination)}catch(t){On(e,t,{}),Sn(e,t)}}function fr(e,t,n){if(null===t)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);void 0===i&&(i=[t[1],t[2],[],null],r.set(t,i),fr(i,t[0],n)),i[2].push(e)}}function hr(){}function mr(e,t,n,r){var i,a,s,l,c=!1,u=null,d="",p=!1;if(e=function(e,t,n,r,i,o,a,s,l,c,u,d){return(n=wn(t=new hn(t,n,r,i,o,a,s,l,c,u,d),0,null,r,!1,!1)).parentFlushed=!0,_n(e=yn(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,gt,null,null)),t.pingedTasks.push(e),t}(e,t={idPrefix:void 0===(i=t?t.identifierPrefix:void 0)?"":i,nextFormID:0,streamingFormat:0,bootstrapScriptContent:a,bootstrapScripts:s,bootstrapModules:l,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}},function(e,t){var n=e.idPrefix,r=[],i=e.bootstrapScriptContent,o=e.bootstrapScripts,a=e.bootstrapModules;void 0!==i&&(r.push("<script"),Ue(r,e),r.push(">",(""+i).replace(G,W),"<\/script>")),i=n+"P:";var s=n+"S:";n+="B:";var l=new Set,c=new Set,u=new Set,d=new Map,p=new Set,f=new Set,h=new Set,m={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(void 0!==o)for(var g=0;g<o.length;g++){var b,y=o[g],v=void 0,w=void 0,_={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};"string"==typeof y?_.href=b=y:(_.href=b=y.src,_.integrity=w="string"==typeof y.integrity?y.integrity:void 0,_.crossOrigin=v="string"==typeof y||null==y.crossOrigin?void 0:"use-credentials"===y.crossOrigin?"use-credentials":"");var x=b;(y=e).scriptResources[x]=null,y.moduleScriptResources[x]=null,pe(y=[],_),p.add(y),r.push('<script src="',R(b),'"'),"string"==typeof w&&r.push(' integrity="',R(w),'"'),"string"==typeof v&&r.push(' crossorigin="',R(v),'"'),Ue(r,e),r.push(' async=""><\/script>')}if(void 0!==a)for(o=0;o<a.length;o++)v=b=void 0,w={rel:"modulepreload",fetchPriority:"low",nonce:void 0},"string"==typeof(_=a[o])?w.href=g=_:(w.href=g=_.src,w.integrity=v="string"==typeof _.integrity?_.integrity:void 0,w.crossOrigin=b="string"==typeof _||null==_.crossOrigin?void 0:"use-credentials"===_.crossOrigin?"use-credentials":""),y=g,(_=e).scriptResources[y]=null,_.moduleScriptResources[y]=null,pe(_=[],w),p.add(_),r.push('<script type="module" src="',R(g),'"'),"string"==typeof v&&r.push(' integrity="',R(v),'"'),"string"==typeof b&&r.push(' crossorigin="',R(b),'"'),Ue(r,e),r.push(' async=""><\/script>');return{placeholderPrefix:i,segmentPrefix:s,boundaryPrefix:n,startInlineScript:"<script",startInlineStyle:"<style",preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:r,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:l,fontPreloads:c,highImagePreloads:u,styles:d,bootstrapScripts:p,scripts:f,bulkPreloads:h,preloads:m,nonce:{script:void 0,style:void 0},stylesToHoist:!1,generateStaticMarkup:t}}(t,n),K(0,null,0,null),1/0,hr,void 0,function(){p=!0},void 0,void 0,void 0),e.flushScheduled=null!==e.destination,Xn(e),10===e.status&&(e.status=11),null===e.trackedPostpones&&Gn(e,0===e.pendingRootTasks),pr(e,r),dr(e,{push:function(e){return null!==e&&(d+=e),!0},destroy:function(e){c=!0,u=e}}),c&&u!==r)throw u;if(!p)throw Error(o(426));return d}t.renderToStaticMarkup=function(e,t){return mr(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.renderToString=function(e,t){return mr(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.version="19.2.3"},67909:function(e,t,n){"use strict";var r=n(40809),i=n(91565);function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),p=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),y=Symbol.for("react.scope"),v=Symbol.for("react.activity"),w=Symbol.for("react.legacy_hidden"),_=Symbol.for("react.memo_cache_sentinel"),x=Symbol.for("react.view_transition"),j=Symbol.iterator;function O(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var S=Array.isArray;function k(e,t){var n=3&e.length,r=e.length-n,i=t;for(t=0;t<r;){var o=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,i=27492+(65535&(i=5*(65535&(i=(i^=o=461845907*(65535&(o=(o=3432918353*(65535&o)+((3432918353*(o>>>16)&65535)<<16)&4294967295)<<15|o>>>
vendor: 5,263 bytes, line 2
217))+((461845907*(o>>>16)&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+(((i>>>16)+58964&65535)<<16)}switch(o=0,n){case 3:o^=(255&e.charCodeAt(t+2))<<16;case 2:o^=(255&e.charCodeAt(t+1))<<8;case 1:i^=461845907*(65535&(o=(o=3432918353*(65535&(o^=255&e.charCodeAt(t)))+((3432918353*(o>>>16)&65535)<<16)&4294967295)<<15|o>>>17))+((461845907*(o>>>16)&65535)<<16)&4294967295}return i^=e.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,((i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295)^i>>>16)>>>0}var C=new MessageChannel,P=[];function T(e){P.push(e),C.port2.postMessage(null)}function E(e){setTimeout(function(){throw e})}C.port1.onmessage=function(){var e=P.shift();e&&e()};var N=Promise,A="function"==typeof queueMicrotask?queueMicrotask:function(e){N.resolve(null).then(e).catch(E)},I=null,L=0;function D(e,t){if(0!==t.byteLength)if(2048<t.byteLength)0<L&&(e.enqueue(new Uint8Array(I.buffer,0,L)),I=new Uint8Array(2048),L=0),e.enqueue(t);else{var n=I.length-L;n<t.byteLength&&(0===n?e.enqueue(I):(I.set(t.subarray(0,n),L),e.enqueue(I),t=t.subarray(n)),I=new Uint8Array(2048),L=0),I.set(t,L),L+=t.byteLength}}function R(e,t){return D(e,t),!0}function M(e){I&&0<L&&(e.enqueue(new Uint8Array(I.buffer,0,L)),I=null,L=0)}var $=new TextEncoder;function F(e){return $.encode(e)}function V(e){return $.encode(e)}function z(e){return e.byteLength}function B(e,t){"function"==typeof e.error?e.error(t):e.close()}var H=Object.assign,U=Object.prototype.hasOwnProperty,q=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Z={},G={};function W(e){return!!U.call(G,e)||!U.call(Z,e)&&(q.test(e)?G[e]=!0:(Z[e]=!0,!1))}var K=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Y=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
2-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),J=/["'&<>]/;function X(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=J.exec(e);if(t){var n,r="",i=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}i!==n&&(r+=e.slice(i,n)),i=n+1,r+=t}e=i!==n?r+e.slice(i,n):r}return e}var Q=/([A-Z])/g,ee=/^ms-/,te=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ne(e){return te.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var re=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},ae=ie.d;ie.d={f:ae.f,r:ae.r,D:function(e){var t=Ci||null;if(t){var n=t.resumableState,r=t.renderState;if("string"==typeof e&&e){var i,o;if(!n.dnsResources.hasOwnProperty(e))n.dnsResources[e]=null,(o=(n=r.headers)&&0<n.remainingCapacity)&&(i="<"+(""+e).replace(sr,lr)+">; rel=dns-prefetch",o=0<=(n.remainingCapacity-=i.length+2)),o?(r.resets.dns[e]=null,n.preconnects&&(n.preconnects+=", "),n.preconnects+=i):(ot(i=[],{href:e,rel:"dns-prefetch"}),r.preconnects.add(i));So(t)}}else ae.D(e)},C:function(e,t){var n=Ci||null;if(n){var r=n.resumableState,i=n.renderState;if("string"==typeof e&&e){var o="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[o].hasOwnProperty(e)){var a,s;if(r.connectResources[o][e]=null,s=(r=i.headers)&&0<r.remainingCapacity){if(s="<"+(""+e).replace(sr,lr)+">; rel=preconnect","string"==typeof t)s+='; crossorigin="'+(""+t).replace(cr,ur)+'"';a=s,s=0<=(r.remainingCapacity-=a.length+2)}s?(i.resets.connect[o][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=a):(ot(o=[],{rel:"preconnect",href:e,crossOrigin:t}),i.preconnects.add(o))}So(n)}}else ae.C(e,t)},L:function(e,t,n){var r=Ci||null;if(r){var i=r.resumableState,o=r.renderState;if(t&&e){switch(t){case"image":if(n)var a=n.imageSrcSet,s=n.imageSizes,l=n.fetchPriority;var c,u=a?a+"\n"+(s||""):e;if(i.imageResources.hasOwnProperty(u))return;i.imageResources[u]=se,(i=o.headers)&&0<i.remainingCapacity&&"string"!=typeof a&&"high"===l&&(c=ar(e,t,n),0<=(i.remainingCapacity-=c.length+2))?(o.resets.image[u]=se,i.highImagePreloads&&(i.highImagePreloads+=", "),i.highImagePreloads+=c):(ot(i=[],H({rel:"preload",href:a?void 0:e,as:t},n)),"high"===l?o.highImagePreloads.add(i):(o.bulkPreloads.add(i),o.preloads.images.set(u,i)));break;case"style":if(i.styleResources.hasOwnProperty(e))return;ot(a=[],H({rel:"preload",href:e,as:t},n)),i.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?se:[n.crossOrigin,n.integrity],o.preloads.stylesheets.set(e,a),o.bulkPreloads.add(a);break;case"script":if(i.scriptResources.hasOwnProperty(e))return;a=[],o.preloads.scripts.set(e,a),o.bulkPreloads.add(a),ot(a,H({rel:"preload",href:e,as:t},n)),i.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?se:[n.crossOrigin,n.integrity];break;default:if(i.unknownResources.hasOwnProperty(t)){if((a=i.unknownResources[t]).hasOwnProperty(e))return}else a={},i.unknownResources[t]=a;if(a[e]=se,(i=o.headers)&&0<i.remainingCapacity&&"font"===t&&(u=ar(e,t,n),0<=(i.remainingCapacity-=u.length+2)))o.resets.font[e]=se,i.fontPreloads&&(i.fontPreloads+=", "),i.fontPreloads+=u;else if("font"===(ot(i=[],e=H({rel:"preload",href:e,as:t},n)),t))o.fontPreloads.add(i);else o.bulkPreloads.add(i)}So(r)}}else ae.L(e,t,n)},m:function(e,t){var n=Ci||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var o=t&&"string"==typeof t.as?t.as:"script";if("script"===o){if(r.moduleScriptResources.hasOwnProperty(e))return;o=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?se:[t.crossOrigin,t.integrity],i.preloads.moduleScripts.set(e,o)}else{if(r.moduleUnknownResources.hasOwnProperty(o)){var a=r.unknownResources[o];if(a.hasOwnProperty(e))return}else a={},r.moduleUnknownResources[o]=a;o=[],a[e]=se}ot(o,H({rel:"modulepreload",href:e},t)),i.bulkPreloads.add(o),So(n)}}else ae.m(e,t)},X:function(e,t){var n=Ci||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var o=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==o&&(r.scriptResources[e]=null,t=H({src:e,async:!0},t),o&&(2===o.length&&or(t,o),e=i.preloads.scripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),ft(e,t),So(n))}}else ae.X(e,t)},S:function(e,t,n){var r=Ci||null;
2if(r){var i=r.resumableState,o=r.renderState;if(e){t=t||"default";var a=o.styles.get(t),s=i.styleResources.hasOwnProperty(e)?i.styleResources[e]:void 0;null!==s&&(i.styleResources[e]=null,a||(a={precedence:F(X(t)),rules:[],hrefs:[],sheets:new Map},o.styles.set(t,a)),t={state:0,props:H({rel:"stylesheet",href:e,"data-precedence":t},n)},s&&(2===s.length&&or(t.props,s),(o=o.preloads.stylesheets.get(e))&&0<o.length?o.length=0:t.state=1),a.sheets.set(e,t),So(r))}}else ae.S(e,t,n)},M:function(e,t){var n=Ci||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var o=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==o&&(r.moduleScriptResources[e]=null,t=H({src:e,type:"module",async:!0},t),o&&(2===o.length&&or(t,o),e=i.preloads.moduleScripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),ft(e,t),So(n))}}else ae.M(e,t)}};var se=[],le=null;V('"></template>');var ce=V("<script"),ue=V("<\/script>"),de=V('<script src="'),pe=V('<script type="module" src="'),fe=V(' nonce="'),he=V(' integrity="'),me=V(' crossorigin="'),ge=V(' async=""><\/script>'),be=V("<style"),ye=/(<\/|<)(s)(cript)/gi;function ve(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}var we=V('<script type="importmap">'),_e=V("<\/script>");function xe(e,t,n,r,i,o){var a=void 0===(n="string"==typeof t?t:t&&t.script)?ce:V('<script nonce="'+X(n)+'"'),s="string"==typeof t?void 0:t&&t.style,l=void 0===s?be:V('<style nonce="'+X(s)+'"'),c=e.idPrefix,u=[],d=e.bootstrapScriptContent,p=e.bootstrapScripts,f=e.bootstrapModules;if(void 0!==d&&(u.push(a),Xn(u,e),u.push(Je,F((""+d).replace(ye,ve)),ue)),d=[],void 0!==r&&(d.push(we),d.push(F((""+JSON.stringify(r)).replace(ye,ve))),d.push(_e)),r=i?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+("number"==typeof o?o:2e3)}:null,i={placeholderPrefix:V(c+"P:"),segmentPrefix:V(c+"S:"),boundaryPrefix:V(c+"B:"),startInlineScript:a,startInlineStyle:l,preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:u,importMapChunks:d,onHeaders:i,headers:r,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:n,style:s},hoistableState:null,stylesToHoist:!1},void 0!==p)for(r=0;r<p.length;r++)s=a=void 0,l={rel:"preload",as:"script",fetchPriority:"low",nonce:t},"string"==typeof(c=p[r])?l.href=o=c:(l.href=o=c.src,l.integrity=s="string"==typeof c.integrity?c.integrity:void 0,l.crossOrigin=a="string"==typeof c||null==c.crossOrigin?void 0:"use-credentials"===c.crossOrigin?"use-credentials":""),d=o,(c=e).scriptResources[d]=null,c.moduleScriptResources[d]=null,ot(c=[],l),i.bootstrapScripts.add(c),u.push(de,F(X(o)),Ve),n&&u.push(fe,F(X(n)),Ve),"string"==typeof s&&u.push(he,F(X(s)),Ve),"string"==typeof a&&u.push(me,F(X(a)),Ve),Xn(u,e),u.push(ge);if(void 0!==f)for(t=0;t<f.length;t++)o=r=void 0,a={rel:"modulepreload",fetchPriority:"low",nonce:n},"string"==typeof(s=f[t])?a.href=p=s:(a.href=p=s.src,a.integrity=o="string"==typeof s.integrity?s.integrity:void 0,a.crossOrigin=r="string"==typeof s||null==s.crossOrigin?void 0:"use-credentials"===s.crossOrigin?"use-credentials":""),l=p,(s=e).scriptResources[l]=null,s.moduleScriptResources[l]=null,ot(s=[],a),i.bootstrapScripts.add(s),u.push(pe,F(X(p)),Ve),n&&u.push(fe,F(X(n)),Ve),"string"==typeof o&&u.push(he,F(X(o)),Ve),"string"==typeof r&&u.push(me,F(X(r)),Ve),Xn(u,e),u.push(ge);return i}function je(e,t,n,r,i){return{idPrefix:void 0===e?"":e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:i,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function Oe(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function Se(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function ke(e){return Se("http://www.w3.org/2000/svg"===e?4:"http://www.w3.org/1998/Math/MathML"===e?5:0,null,0,null)}function Ce(e,t,n){var r=-25&e.tagScope;switch(t){case"noscript":return Se(2,null,1|r,null);case"select":return Se(2,null!=n.value?n.value:n.defaultValue,r,null);case"svg":return Se(4,null,r,null);case"picture":return Se(2,null,2|r,null);case"math":return Se(5,null,r,null);case"foreignObject":return Se(2,null,r,null);case"table":return Se(6,null,r,null);case"thead":case"tbody":case"tfoot":return Se(7,null,r,null);case"colgroup":return Se(9,null,r,null);case"tr":return Se(8,null,r,null);case"head":if(2>e.insertionMode)return Se(3,null,r,null);break;case"html":if(0===e.insertionMode)return Se(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?Se(2,null,r,null):e.tagScope!==r?Se(e.insertionMode,e.selectedValue,r,null):e}function Pe(e){return null===e?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function Te(e,t){return 32&t.tagScope&&(e.instructions|=128),Se(t.insertionMode,t.selectedValue,12|t.tagScope,Pe(t.viewTransition))}function Ee(e,t){e=Pe(t.viewTransition);var n=16|t.tagScope;
vendor: 4,537 bytes, line 2
2return null!==e&&"none"!==e.share&&(n|=64),Se(t.insertionMode,t.selectedValue,n,e)}var Ne=V("\x3c!-- --\x3e");function Ae(e,t,n,r){return""===t?r:(r&&e.push(Ne),e.push(F(X(t))),!0)}var Ie=new Map,Le=V(' style="'),De=V(":"),Re=V(";");function Me(e,t){if("object"!=typeof t)throw Error(o(62));var n,r=!0;for(n in t)if(U.call(t,n)){var i=t[n];if(null!=i&&"boolean"!=typeof i&&""!==i){if(0===n.indexOf("--")){var a=F(X(n));i=F(X((""+i).trim()))}else void 0===(a=Ie.get(n))&&(a=V(X(n.replace(Q,"-$1").toLowerCase().replace(ee,"-ms-"))),Ie.set(n,a)),i="number"==typeof i?0===i||K.has(n)?F(""+i):F(i+"px"):F(X((""+i).trim()));r?(r=!1,e.push(Le,a,De,i)):e.push(Re,a,De,i)}}r||e.push(Ve)}var $e=V(" "),Fe=V('="'),Ve=V('"'),ze=V('=""');function Be(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push($e,F(t),ze)}function He(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push($e,F(t),Fe,F(X(n)),Ve)}var Ue=V(X("javascript:throw new Error('React form unexpectedly submitted.')")),qe=V('<input type="hidden"');function Ze(e,t){this.push(qe),Ge(e),He(this,"name",t),He(this,"value",e),this.push(Xe)}function Ge(e){if("string"!=typeof e)throw Error(o(480))}function We(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var i=r.data;null!=i&&i.forEach(Ge)}return r}catch(e){if("object"==typeof e&&null!==e&&"function"==typeof e.then)throw e}}return null}function Ke(e,t,n,r,i,o,a,s){var l=null;if("function"==typeof r){var c=We(t,r);null!==c?(s=c.name,r=c.action||"",i=c.encType,o=c.method,a=c.target,l=c.data):(e.push($e,F("formAction"),Fe,Ue,Ve),a=o=i=r=s=null,nt(t,n))}return null!=s&&Ye(e,"name",s),null!=r&&Ye(e,"formAction",r),null!=i&&Ye(e,"formEncType",i),null!=o&&Ye(e,"formMethod",o),null!=a&&Ye(e,"formTarget",a),l}function Ye(e,t,n){switch(t){case"className":He(e,"class",n);break;case"tabIndex":He(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":He(e,t,n);break;case"style":Me(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=ne(""+n),e.push($e,F(t),Fe,F(X(n)),Ve);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":Be(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=ne(""+n),e.push($e,F("xlink:href"),Fe,F(X(n)),Ve);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push($e,F(t),Fe,F(X(n)),Ve);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push($e,F(t),ze);break;case"capture":case"download":!0===n?e.push($e,F(t),ze):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push($e,F(t),Fe,F(X(n)),Ve);break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push($e,F(t),Fe,F(X(n)),Ve);break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push($e,F(t),Fe,F(X(n)),Ve);break;case"xlinkActuate":He(e,"xlink:actuate",n);break;case"xlinkArcrole":He(e,"xlink:arcrole",n);break;case"xlinkRole":He(e,"xlink:role",n);break;case"xlinkShow":He(e,"xlink:show",n);break;case"xlinkTitle":He(e,"xlink:title",n);break;case"xlinkType":He(e,"xlink:type",n);break;case"xmlBase":He(e,"xml:base",n);break;case"xmlLang":He(e,"xml:lang",n);break;case"xmlSpace":He(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&W(t=Y.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push($e,F(t),Fe,F(X(n)),Ve)}}}var Je=V(">"),Xe=V("/>");function Qe(e,t,n){if(null!=t){if(null!=n)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(F(""+t))}}var et=V(' selected=""'),tt=V('addEventListener("submit",function(a){if
2(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});');function nt(e,t){if(!(16&e.instructions)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&0===r.length?(r.push(t.startInlineScript),Xn(r,e),r.push(Je,tt,ue)):r.unshift(t.startInlineScript,Je,tt,ue)}}var rt=V("\x3c!--F!--\x3e"),it=V("\x3c!--F--\x3e");function ot(e,t){for(var n in e.push(vt("link")),t)if(U.call(t,n)){var r=t[n];if(null!=r)switch(n){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"link"));default:Ye(e,n,r)}}return e.push(Xe),null}var at=/(<\/|<)(s)(tyle)/gi;function st(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function lt(e,t,n){for(var r in e.push(vt(n)),t)if(U.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,n));default:Ye(e,r,i)}}return e.push(Xe),null}function ct(e,t){e.push(vt("title"));var n,r=null,i=null;for(n in t)if(U.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":i=o;break;default:Ye(e,n,o)}}return e.push(Je),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(F(X(""+t))),Qe(e,i,r),e.push(jt("title")),null}var ut=V("\x3c!--head--\x3e"),dt=V("\x3c!--body--\x3e"),pt=V("\x3c!--html--\x3e");function ft(e,t){e.push(vt("script"));var n,r=null,i=null;for(n in t)if(U.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":i=o;break;default:Ye(e,n,o)}}return e.push(Je),Qe(e,i,r),"string"==typeof r&&e.push(F((""+r).replace(ye,ve))),e.push(jt("script")),null}function ht(e,t,n){e.push(vt(n));var r,i=n=null;for(r in t)if(U.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":i=o;break;default:Ye(e,r,o)}}return e.push(Je),Qe(e,i,n),n}function mt(e,t,n){e.push(vt(n));var r,i=n=null;for(r in t)if(U.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":i=o;break;default:Ye(e,r,o)}}return e.push(Je),Qe(e,i,n),"string"==typeof n?(e.push(F(X(n))),null):n}var gt=V("\n"),bt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yt=new Map;function vt(e){var t=yt.get(e);if(void 0===t){if(!bt.test(e))throw Error(o(65,e));t=V("<"+e),yt.set(e,t)}return t}var wt=V("<!DOCTYPE html>");function _t(e,t,n,i,a,s,l,c,u){switch(t){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":break;case"a":e.push(vt("a"));var d,p=null,f=null;for(d in n)if(U.call(n,d)){var h=n[d];if(null!=h)switch(d){case"children":p=h;break;case"dangerouslySetInnerHTML":f=h;break;case"href":""===h?He(e,"href",""):Ye(e,d,h);break;default:Ye(e,d,h)}}if(e.push(Je),Qe(e,f,p),"string"==typeof p){e.push(F(X(p)));var m=null}else m=p;return m;case"select":e.push(vt("select"));var g,b=null,y=null;for(g in n)if(U.call(n,g)){var v=n[g];if(null!=v)switch(g){case"children":b=v;break;case"dangerouslySetInnerHTML":y=v;break;case"defaultValue":case"value":break;default:Ye(e,g,v)}}return e.push(Je),Qe(e,y,b),b;case"option":var w=c.selectedValue;e.push(vt("option"));var _,x=null,j=null,O=null,k=null;for(_ in n)if(U.call(n,_)){var C=n[_];if(null!=C)switch(_){case"children":x=C;break;case"selected":O=C;break;case"dangerouslySetInnerHTML":k=C;break;case"value":j=C;default:Ye(e,_,C)}}if(null!=w){var P=null!==j?""+j:function(e){var t="";return r.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(x);if(S(w)){for(var T=0;T<w.length;T++)if(""+w[T]===P){e.push(et);break}}else""+w===P&&e.push(et)}else O&&e.push(et);return e.push(Je),Qe(e,k,x),x;case"textarea":e.push(vt("textarea"));var E,N=null,A=null,I=null;for(E in n)if(U.call(n,E)){var L=n[E];if(null!=L)switch(E){case"children":I=L;break;case"value":N=L;break;case"defaultValue":A=L;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:Ye(e,E,L)}}if(null===N&&null!==A&&(N=A),e.push(Je),null!=I){if(null!=N)throw Error(o(92));if(S(I)){if(1<I.length)throw Error(o(93));N=""+I[0]}N=""+I}return"string"==typeof N&&"\n"===N[0]&&e.push(gt),null!==N&&e.push(F(X(""+N))),null;case"input":e.push(vt("input"));var D,R=null,M=null,$=null,V=null,z=null,B=null,q=null,Z=null,G=null;for(D in n)if(U.call(n,D)){var K=n[D];if(null!=K)switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"name":R=K;break;
vendor: 14,162 bytes, line 2
2case"formAction":M=K;break;case"formEncType":$=K;break;case"formMethod":V=K;break;case"formTarget":z=K;break;case"defaultChecked":G=K;break;case"defaultValue":q=K;break;case"checked":Z=K;break;case"value":B=K;break;default:Ye(e,D,K)}}var Y=Ke(e,i,a,M,$,V,z,R);return null!==Z?Be(e,"checked",Z):null!==G&&Be(e,"checked",G),null!==B?Ye(e,"value",B):null!==q&&Ye(e,"value",q),e.push(Xe),null!=Y&&Y.forEach(Ze,e),null;case"button":e.push(vt("button"));var J,Q=null,ee=null,te=null,re=null,ie=null,oe=null,ae=null;for(J in n)if(U.call(n,J)){var le=n[J];if(null!=le)switch(J){case"children":Q=le;break;case"dangerouslySetInnerHTML":ee=le;break;case"name":te=le;break;case"formAction":re=le;break;case"formEncType":ie=le;break;case"formMethod":oe=le;break;case"formTarget":ae=le;break;default:Ye(e,J,le)}}var ce=Ke(e,i,a,re,ie,oe,ae,te);if(e.push(Je),null!=ce&&ce.forEach(Ze,e),Qe(e,ee,Q),"string"==typeof Q){e.push(F(X(Q)));var ue=null}else ue=Q;return ue;case"form":e.push(vt("form"));var de,pe=null,fe=null,he=null,me=null,ge=null,be=null;for(de in n)if(U.call(n,de)){var ye=n[de];if(null!=ye)switch(de){case"children":pe=ye;break;case"dangerouslySetInnerHTML":fe=ye;break;case"action":he=ye;break;case"encType":me=ye;break;case"method":ge=ye;break;case"target":be=ye;break;default:Ye(e,de,ye)}}var ve=null,we=null;if("function"==typeof he){var _e=We(i,he);null!==_e?(he=_e.action||"",me=_e.encType,ge=_e.method,be=_e.target,ve=_e.data,we=_e.name):(e.push($e,F("action"),Fe,Ue,Ve),be=ge=me=he=null,nt(i,a))}if(null!=he&&Ye(e,"action",he),null!=me&&Ye(e,"encType",me),null!=ge&&Ye(e,"method",ge),null!=be&&Ye(e,"target",be),e.push(Je),null!==we&&(e.push(qe),He(e,"name",we),e.push(Xe),null!=ve&&ve.forEach(Ze,e)),Qe(e,fe,pe),"string"==typeof pe){e.push(F(X(pe)));var xe=null}else xe=pe;return xe;case"menuitem":for(var je in e.push(vt("menuitem")),n)if(U.call(n,je)){var Oe=n[je];if(null!=Oe)switch(je){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:Ye(e,je,Oe)}}return e.push(Je),null;case"object":e.push(vt("object"));var Se,ke=null,Ce=null;for(Se in n)if(U.call(n,Se)){var Pe=n[Se];if(null!=Pe)switch(Se){case"children":ke=Pe;break;case"dangerouslySetInnerHTML":Ce=Pe;break;case"data":var Te=ne(""+Pe);if(""===Te)break;e.push($e,F("data"),Fe,F(X(Te)),Ve);break;default:Ye(e,Se,Pe)}}if(e.push(Je),Qe(e,Ce,ke),"string"==typeof ke){e.push(F(X(ke)));var Ee=null}else Ee=ke;return Ee;case"title":var Ae=1&c.tagScope,Ie=4&c.tagScope;if(4===c.insertionMode||Ae||null!=n.itemProp)var Le=ct(e,n);else Ie?Le=null:(ct(a.hoistableChunks,n),Le=void 0);return Le;case"link":var De=1&c.tagScope,Re=4&c.tagScope,ze=n.rel,Ge=n.href,tt=n.precedence;if(4===c.insertionMode||De||null!=n.itemProp||"string"!=typeof ze||"string"!=typeof Ge||""===Ge){ot(e,n);var rt=null}else if("stylesheet"===n.rel)if("string"!=typeof tt||null!=n.disabled||n.onLoad||n.onError)rt=ot(e,n);else{var it=a.styles.get(tt),bt=i.styleResources.hasOwnProperty(Ge)?i.styleResources[Ge]:void 0;if(null!==bt){i.styleResources[Ge]=null,it||(it={precedence:F(X(tt)),rules:[],hrefs:[],sheets:new Map},a.styles.set(tt,it));var yt={state:0,props:H({},n,{"data-precedence":n.precedence,precedence:null})};if(bt){2===bt.length&&or(yt.props,bt);var _t=a.preloads.stylesheets.get(Ge);_t&&0<_t.length?_t.length=0:yt.state=1}it.sheets.set(Ge,yt),l&&l.stylesheets.add(yt)}else if(it){var xt=it.sheets.get(Ge);xt&&l&&l.stylesheets.add(xt)}u&&e.push(Ne),rt=null}else n.onLoad||n.onError?rt=ot(e,n):(u&&e.push(Ne),rt=Re?null:ot(a.hoistableChunks,n));return rt;case"script":var Ot=1&c.tagScope,St=n.async;if("string"!=typeof n.src||!n.src||!St||"function"==typeof St||"symbol"==typeof St||n.onLoad||n.onError||4===c.insertionMode||Ot||null!=n.itemProp)var kt=ft(e,n);else{var Ct=n.src;if("module"===n.type)var Pt=i.moduleScriptResources,Tt=a.preloads.moduleScripts;else Pt=i.scriptResources,Tt=a.preloads.scripts;var Et=Pt.hasOwnProperty(Ct)?Pt[Ct]:void 0;if(null!==Et){Pt[Ct]=null;var Nt=n;if(Et){2===Et.length&&or(Nt=H({},n),Et);var At=Tt.get(Ct);At&&(At.length=0)}var It=[];a.scripts.add(It),ft(It,Nt)}u&&e.push(Ne),kt=null}return kt;case"style":var Lt=1&c.tagScope,Dt=n.precedence,Rt=n.href,Mt=n.nonce;if(4===c.insertionMode||Lt||null!=n.itemProp||"string"!=typeof Dt||"string"!=typeof Rt||""===Rt){e.push(vt("style"));var $t,Ft=null,Vt=null;for($t in n)if(U.call(n,$t)){var zt=n[$t];if(null!=zt)switch($t){case"children":Ft=zt;break;case"dangerouslySetInnerHTML":Vt=zt;break;default:Ye(e,$t,zt)}}e.push(Je);var Bt=Array.isArray(Ft)?2>Ft.length?Ft[0]:null:Ft;"function"!=typeof Bt&&"symbol"!=typeof Bt&&null!=Bt&&e.push(F((""+Bt).replace(at,st))),Qe(e,Vt,Ft),e.push(jt("style"));var Ht=null}else{var Ut=a.styles.get(Dt);if(null!==(i.styleResources.hasOwnProperty(Rt)?i.styleResources[Rt]:void 0)){i.styleResources[Rt]=null,Ut||(Ut={precedence:F(X(Dt)),rules:[],hrefs:[],sheets:new Map},a.styles.set(Dt,Ut));var qt=a.nonce.style;if(!qt||qt===Mt){Ut.hrefs.push(F(X(Rt)));var Zt,Gt=Ut.rules,Wt=null,Kt=null;for(Zt in n)if(U.call(n,Zt)){var Yt=n[Zt];if(null!=Yt)switch(Zt){case"children":Wt=Yt;break;case"dangerouslySetInnerHTML":Kt=Yt}}var Jt=Array.isArray(Wt)?2>Wt.length?Wt[0]:null:Wt;"function"!=typeof Jt&&"symbol"!=typeof Jt&&null!=Jt&&Gt.push(F((""+Jt).replace(at,st))),Qe(Gt,Kt,Wt)}}Ut&&l&&l.styles.add(Ut),u&&e.push(Ne),Ht=void 0}return Ht;case"meta":var Xt=1&c.tagScope,Qt=4&c.tagScope;if(4===c.insertionMode||Xt||null!=n.itemProp)var en=lt(e,n,"meta");else u&&e.push(Ne),en=Qt?null:"string"==typeof n.charSet?lt(a.charsetChunks,n,"meta"):"viewport"===n.name?lt(a.viewportChunks,n,"meta"):lt(a.hoistableChunks,n,"meta");return en;case"listing":case"pre":e.push(vt(t));var tn,nn=null,rn=null;for(tn in n)if(U.call(n,tn)){var on=n[tn];if(null!=on)switch(tn){case"children":nn=on;break;case"dangerouslySetInnerHTML":rn=on;break;default:Ye(e,tn,on)}}if(e.push(Je),null!=rn){if(null!=nn)throw Error(o(60));if("object"!=typeof rn||!("__html"in rn))throw Error(o(61));var an=rn.__html;null!=an&&("string"==typeof an&&0<an.length&&"\n"===an[0]?e.push(gt,F(an)):e.push(F(""+an)))}return"string"==typeof nn&&"\n"===nn[0]&&e.push(gt),nn;case"img":var sn=3&c.tagScope,ln=n.src,cn=n.srcSet;if(!("lazy"===n.loading||!ln&&!cn||"string"!=typeof ln&&null!=ln||"string"!=typeof cn&&null!=cn||"low"===n.fetchPriority||sn)&&("string"!=typeof ln||":"!==ln[4]||"d"!==ln[0]&&"D"!==ln[0]||"a"!==ln[1]&&"A"!==ln[1]||"t"!==ln[2]&&"T"!==ln[2]||"a"!==ln[3]&&"A"!==ln[3])&&("string"!=typeof cn||":"!==cn[4]||"d"!==cn[0]&&"D"!==cn[0]||"a"!==cn[1]&&"A"!==cn[1]||"t"!==cn[2]&&"T"!==cn[2]||"a"!==cn[3]&&"A"!==cn[3])){null!==l&&64&c.tagScope&&(l.suspenseyImages=!0);var un="string"==typeof n.sizes?n.sizes:void 0,dn=cn?cn+"\n"+(un||""):ln,pn=a.preloads.images,fn=pn.get(dn);if(fn)("high"===n.fetchPriority||10>a.highImagePreloads.size)&&(pn.delete(dn),a.highImagePreloads.add(fn));else if(!i.imageResources.hasOwnProperty(dn)){i.imageResources[dn]=se;var hn,mn=n.crossOrigin,gn="string"==typeof mn?"use-credentials"===mn?mn:"":void 0,bn=a.headers;bn&&0<bn.remainingCapacity&&"string"!=typeof n.srcSet&&("high"===n.fetchPriority||500>bn.highImagePreloads.length)&&(hn=ar(ln,"image",{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:gn,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(bn.remainingCapacity-=hn.length+2))?(a.resets.image[dn]=se,bn.highImagePreloads&&(bn.highImagePreloads+=", "),bn.highImagePreloads+=hn):(ot(fn=[],{rel:"preload",as:"image",href:cn?void 0:ln,imageSrcSet:cn,imageSizes:un,crossOrigin:gn,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),"high"===n.fetchPriority||10>a.highImagePreloads.size?a.highImagePreloads.add(fn):(a.bulkPreloads.add(fn),pn.set(dn,fn)))}}return lt(e,n,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return lt(e,n,t);case"head":if(2>c.insertionMode){var yn=s||a.preamble;if(yn.headChunks)throw Error(o(545,"`<head>`"));null!==s&&e.push(ut),yn.headChunks=[];var vn=ht(yn.headChunks,n,"head")}else vn=mt(e,n,"head");return vn;case"body":if(2>c.insertionMode){var wn=s||a.preamble;if(wn.bodyChunks)throw Error(o(545,"`<body>`"));null!==s&&e.push(dt),wn.bodyChunks=[];var _n=ht(wn.bodyChunks,n,"body")}else _n=mt(e,n,"body");return _n;case"html":if(0===c.insertionMode){var xn=s||a.preamble;if(xn.htmlChunks)throw Error(o(545,"`<html>`"));null!==s&&e.push(pt),xn.htmlChunks=[wt];var jn=ht(xn.htmlChunks,n,"html")}else jn=mt(e,n,"html");return jn;default:if(-1!==t.indexOf("-")){e.push(vt(t));var On,Sn=null,kn=null;for(On in n)if(U.call(n,On)){var Cn=n[On];if(null!=Cn){var Pn=On;switch(On){case"children":Sn=Cn;break;case"dangerouslySetInnerHTML":kn=Cn;break;case"style":Me(e,Cn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":Pn="class";default:if(W(On)&&"function"!=typeof Cn&&"symbol"!=typeof Cn&&!1!==Cn){if(!0===Cn)Cn="";else if("object"==typeof Cn)continue;e.push($e,F(Pn),Fe,F(X(Cn)),Ve)}}}}return e.push(Je),Qe(e,kn,Sn),Sn}}return mt(e,n,t)}var xt=new Map;function jt(e){var t=xt.get(e);return void 0===t&&(t=V("</"+e+">"),xt.set(e,t)),t}function Ot(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function St(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)D(e,t[n]);return!(n<t.length)||(n=t[n],t.length=0,R(e,n))}var kt=V("requestAnimationFrame(function(){$RT=performance.now()});"),Ct=V('<template id="'),Pt=V('"></template>'),Tt=V("\x3c!--&--\x3e"),Et=V("\x3c!--/&--\x3e"),Nt=V("\x3c!--$--\x3e"),At=V('\x3c!--$?--\x3e<template id="'),It=V('"></template>'),Lt=V("\x3c!--$!--\x3e"),Dt=V("\x3c!--/$--\x3e"),Rt=V("<template"),Mt=V('"'),$t=V(' data-dgst="');V(' data-msg="'),V(' data-stck="'),V(' data-cstck="');var Ft=V("></template>");function Vt(e,t,n){if(D(e,At),null===n)throw Error(o(395));return D(e,t.boundaryPrefix),D(e,F(n.toString(16))),R(e,It)}var zt=V('<div hidden id="'),Bt=V('">'),Ht=V("</div>"),Ut=V('<svg aria-hidden="true" style="display:none" id="'),qt=V('">'),Zt=V("</svg>"),Gt=V('<math aria-hidden="true" style="display:none" id="'),Wt=V('">'),Kt=V("</math>"),Yt=V('<table hidden id="'),Jt=V('">'),Xt=V("</table>"),Qt=V('<table hidden><tbody id="'),en=V('">'),tn=V("</tbody></table>"),nn=V('<table hidden><tr id="'),rn=V('">'),on=V("</tr></table>"),an=V('<table hidden><colgroup id="'),sn=V('">'),ln=V("</colgroup></table>");var cn=V('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),un=V('$RS("'),dn=V('","'),pn=V('")<\/script>');V('<template data-rsi="" data-sid="'),V('" data-pid="');var fn=V('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};');F('$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),\nH=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(B){var z=\ndocument.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=\nperformance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}
2.bind(null,$RV);');var hn=V('$RC("'),mn=V('$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'),gn=V('$RR("'),bn=V('","'),yn=V('",'),vn=V('"'),wn=V(")<\/script>");V('<template data-rci="" data-bid="'),V('<template data-rri="" data-bid="'),V('" data-sid="'),V('" data-sty="');var _n=V('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'),xn=V('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),jn=V('$RX("'),On=V('"'),Sn=V(","),kn=V(")<\/script>");V('<template data-rxi="" data-bid="'),V('" data-dgst="'),V('" data-msg="'),V('" data-stck="'),V('" data-cstck="');var Cn=/[<\u2028\u2029]/g;function Pn(e){return JSON.stringify(e).replace(Cn,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Tn=/[&><\u2028\u2029]/g;function En(e){return JSON.stringify(e).replace(Tn,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Nn=V(' media="not all" data-precedence="'),An=V('" data-href="'),In=V('">'),Ln=V("</style>"),Dn=!1,Rn=!0;function Mn(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(D(this,le.startInlineStyle),D(this,Nn),D(this,e.precedence),D(this,An);r<n.length-1;r++)D(this,n[r]),D(this,qn);for(D(this,n[r]),D(this,In),r=0;r<t.length;r++)D(this,t[r]);Rn=R(this,Ln),Dn=!0,t.length=0,n.length=0}}function $n(e){return 2!==e.state&&(Dn=!0)}function Fn(e,t,n){return Dn=!1,Rn=!0,le=n,t.styles.forEach(Mn,e),le=null,t.stylesheets.forEach($n),Dn&&(n.stylesToHoist=!0),Rn}function Vn(e){for(var t=0;t<e.length;t++)D(this,e[t]);e.length=0}var zn=[];function Bn(e){ot(zn,e.props);for(var t=0;t<zn.length;t++)D(this,zn[t]);zn.length=0,e.state=2}var Hn=V(' data-precedence="'),Un=V('" data-href="'),qn=V(" "),Zn=V('">'),Gn=V("</style>");function Wn(e){var t=0<e.sheets.size;e.sheets.forEach(Bn,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(D(this,le.startInlineStyle),D(this,Hn),D(this,e.precedence),e=0,r.length){for(D(this,Un);e<r.length-1;e++)D(this,r[e]),D(this,qn);D(this,r[e])}for(D(this,Zn),e=0;e<n.length;e++)D(this,n[e]);D(this,Gn),n.length=0,r.length=0}}function Kn(e){if(0===e.state){e.state=1;var t=e.props;for(ot(zn,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<zn.length;e++)D(this,zn[e]);zn.length=0}}
vendor: 9,308 bytes, line 2
2function Yn(e){e.sheets.forEach(Kn,this),e.sheets.clear()}V('<link rel="expect" href="#'),V('" blocking="render"/>');var Jn=V(' id="');function Xn(e,t){!(32&t.instructions)&&(t.instructions|=32,e.push(Jn,F(X("_"+t.idPrefix+"R_")),Ve))}var Qn=V("["),er=V(",["),tr=V(","),nr=V("]");function rr(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=ne(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!W(t))return;t=""+n}D(e,tr),D(e,F(En(r))),D(e,tr),D(e,F(En(t)))}function ir(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function or(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function ar(e,t,n){for(var r in t="<"+(e=(""+e).replace(sr,lr))+'>; rel=preload; as="'+(t=(""+t).replace(cr,ur))+'"',n)U.call(n,r)&&("string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(cr,ur)+'"'));return t}var sr=/[<>\r\n]/g;function lr(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var cr=/["';,\r\n]/g;function ur(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function dr(e){this.styles.add(e)}function pr(e){this.stylesheets.add(e)}function fr(e,t){t.styles.forEach(dr,e),t.stylesheets.forEach(pr,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function hr(e){return 0<e.stylesheets.size||e.suspenseyImages}var mr=Function.prototype.bind,gr=Symbol.for("react.client.reference");function br(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===gr?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"Fragment";case u:return"Profiler";case c:return"StrictMode";case h:return"Suspense";case m:return"SuspenseList";case v:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case s:return"Portal";case p:return e.displayName||"Context";case d:return(e._context.displayName||"Context")+".Consumer";case f:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case g:return null!==(t=e.displayName||null)?t:br(e.type)||"Memo";case b:t=e._payload,e=e._init;try{return br(e(t))}catch(e){}}return null}var yr={},vr=null;function wr(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(o(401))}else{if(null===n)throw Error(o(401));wr(e,n)}t.context._currentValue=t.value}}function _r(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&_r(e)}function xr(e){var t=e.parent;null!==t&&xr(t),e.context._currentValue=e.value}function jr(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(o(402));e.depth===t.depth?wr(e,t):jr(e,t)}function Or(e,t){var n=t.parent;if(null===n)throw Error(o(402));e.depth===n.depth?wr(e,n):Or(e,n),t.context._currentValue=t.value}function Sr(e){var t=vr;t!==e&&(null===t?xr(e):null===e?_r(t):t.depth===e.depth?wr(t,e):t.depth>e.depth?jr(t,e):Or(t,e),vr=e)}var kr={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},Cr={id:1,overflow:""};function Pr(e,t,n){var r=e.id;e=e.overflow;var i=32-Tr(r)-1;r&=~(1<<i),n+=1;var o=32-Tr(t)+i;if(30<o){var a=i-i%5;return o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,{id:1<<32-Tr(t)+i|n<<i|r,overflow:o+e}}return{id:1<<o|n<<i|r,overflow:e}}var Tr=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(Er(e)/Nr|0)|0},Er=Math.log,Nr=Math.LN2;function Ar(){}var Ir=Error(o(460));var Lr=null;function Dr(){if(null===Lr)throw Error(o(459));var e=Lr;return Lr=null,e}var Rr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Mr=null,$r=null,Fr=null,Vr=null,zr=null,Br=null,Hr=!1,Ur=!1,qr=0,Zr=0,Gr=-1,Wr=0,Kr=null,Yr=null,Jr=0;function Xr(){if(null===Mr)throw Error(o(321));return Mr}function Qr(){if(0<Jr)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function ei(){return null===Br?null===zr?(Hr=!1,zr=Br=Qr()):(Hr=!0,Br=zr):null===Br.next?(Hr=!1,Br=Br.next=Qr()):(Hr=!0,Br=Br.next),Br}function ti(){var e=Kr;return Kr=null,e}function ni(){Vr=Fr=$r=Mr=null,Ur=!1,zr=null,Jr=0,Br=Yr=null}function ri(e,t){return"function"==typeof t?t(e):t}function ii(e,t,n){if(Mr=Xr(),Br=ei(),Hr){var r=Br.queue;if(t=r.dispatch,null!==Yr&&void 0!==(n=Yr.get(r))){Yr.delete(r),r=Br.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Br.memoizedState=r,[r,t]}return[Br.memoizedState,t]}return e=e===ri?"function"==typeof t?t():t:void 0!==n?n(t):t,Br.memoizedState=e,e=(e=Br.queue={last:null,dispatch:null}).dispatch=ai.bind(null,Mr,e),[Br.memoizedState,e]}function oi(e,t){if(Mr=Xr(),t=void 0===t?null:t,null!==(Br=ei())){var n=Br.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var i=0;i<r.length&&i<t.length;i++)if(!Rr(t[i],r[i])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Br.memoizedState=[e,t],e}function ai(e,t,n){if(25<=Jr)throw Error(o(301));if(e===Mr)if(Ur=!0,e={action:n,next:null},null===Yr&&(Yr=new Map),void 0===(n=Yr.get(t)))Yr.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function si(){throw Error(o(440))}function li(){throw Error(o(394))}function ci(){throw Error(o(479))}function ui(e,t,n){Xr();var r=Zr++,i=Fr;if("function"==typeof e.$$FORM_ACTION){var o=null,a=Vr;i=i.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==i&&"function"==typeof s){var l=i[1];s.call(e,i[2],i[3])&&(l===(o=void 0!==n?"p"+n:"k"+k(JSON.stringify([a,null,r]),0))&&(Gr=r,t=i[0]))}var c=e.bind(null,t);return e=function(e){c(e)},"function"==typeof c.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=c.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===o&&(o=void 0!==n?"p"+n:"k"+k(JSON.stringify([a,null,r]),0)),t.append("$ACTION_KEY",o)),e}),[t,e,!1]}var u=e.bind(null,t);return[t,function(e){u(e)},!1]}function di(e){var t=Wr;return Wr+=1,null===Kr&&(Kr=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Ar,Ar),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(Ar,Ar):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw Lr=t,Ir}}(Kr,e,t)}function pi(){throw Error(o(393))}var fi,hi,mi={readContext:function(e){return e._currentValue},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return di(e);if(e.$$typeof===p)return e._currentValue}throw Error(o(438,String(e)))},useContext:function(e){return Xr(),e._currentValue},useMemo:oi,useReducer:ii,useRef:function(e){Mr=Xr();var t=(Br=ei()).memoizedState;return null===t?(e={current:e},Br.memoizedState=e):t},useState:function(e){return ii(ri,e)},useInsertionEffect:Ar,useLayoutEffect:Ar,useCallback:function(e,t){return oi(function(){return e},t)},useImperativeHandle:Ar,useEffect:Ar,useDebugValue:Ar,useDeferredValue:function(e,t){return Xr(),void 0!==t?t:e},useTransition:function(){return Xr(),[!1,li]},useId:function(){var e=$r.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-Tr(e)-1)).toString(32)+t;var n=gi;if(null===n)throw Error(o(404));return t=qr++,e="_"+n.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(o(407));return n()},useOptimistic:function(e){return Xr(),[e,ci]},useActionState:ui,useFormState:ui,useHostTransitionStatus:function(){return Xr(),oe},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=_;return t},useCacheRefresh:function(){return pi},useEffectEvent:function(){return si}},gi=null,bi={getCacheForType:function(){throw Error(o(248))},cacheSignal:function(){throw Error(o(248))}};function yi(e){if(void 0===fi)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);fi=t&&t[1]||"",hi=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+fi+e+hi}var vi=!1;function wi(e,t){if(!e||vi)return"";vi=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
2else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),a=o[0],s=o[1];if(a&&s){var l=a.split("\n"),c=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===c.length)for(r=l.length-1,i=c.length-1;1<=r&&0<=i&&l[r]!==c[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==c[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==c[i]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=i);break}}}finally{vi=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?yi(n):""}function _i(e){if("string"==typeof e)return yi(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?wi(e,!0):wi(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case f:return wi(e.render,!1);case g:return wi(e.type,!1);case b:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(e){return yi("Lazy")}return _i(e)}if("string"==typeof e.name){n=e.name,t=e.env;var r=e.debugLocation;return n=null==r||(e=Error.prepareStackTrace,Error.prepareStackTrace=void 0,r=r.stack,Error.prepareStackTrace=e,r.startsWith("Error: react-stack-top-frame\n")&&(r=r.slice(29)),-1!==(e=r.indexOf("\n"))&&(r=r.slice(e+1)),-1!==(e=r.indexOf("react_stack_bottom_frame"))&&(e=r.lastIndexOf("\n",e)),e=-1!==e?r=r.slice(0,e):"",r=e.lastIndexOf("\n"),-1===(e=-1===r?e:e.slice(r+1)).indexOf(n))?yi(n+(t?" ["+t+"]":"")):"\n"+e}}switch(e){case m:return yi("SuspenseList");case h:return yi("Suspense")}return""}function xi(e,t){return(500<t.byteSize||hr(t.contentState))&&null===t.contentPreamble}function ji(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"%c%s%c "+e[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""):e.splice(0,0,"%c%s%c","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""),e.unshift(console),(t=mr.apply(console.error,e))()}else console.error(e);return null}function Oi(e,t,n,r,i,o,a,s,l,c,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===i?ji:i,this.onPostpone=void 0===c?Ar:c,this.onAllReady=void 0===o?Ar:o,this.onShellReady=void 0===a?Ar:a,this.onShellError=void 0===s?Ar:s,this.onFatalError=void 0===l?Ar:l,this.formState=void 0===u?null:u}function Si(e,t,n,r,i,o,a,s,l,c,u,d){return(n=Ai(t=new Oi(t,n,r,i,o,a,s,l,c,u,d),0,null,r,!1,!1)).parentFlushed=!0,Ii(e=Ei(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,Cr,null,null)),t.pingedTasks.push(e),t}function ki(e,t,n,r,i,o,a,s,l){return(n=new Oi(t.resumableState,n,t.rootFormatContext,t.progressiveChunkSize,r,i,o,a,s,l,null)).nextSegmentId=t.nextSegmentId,"number"==typeof t.replaySlots?((r=Ai(n,0,null,t.rootFormatContext,!1,!1)).parentFlushed=!0,Ii(e=Ei(n,null,e,-1,null,r,null,null,n.abortableTasks,null,t.rootFormatContext,null,Cr,null,null)),n.pingedTasks.push(e),n):(Ii(e=Ni(n,null,{nodes:t.replayNodes,slots:t.replaySlots,pendingTasks:0},e,-1,null,null,n.abortableTasks,null,t.rootFormatContext,null,Cr,null,null)),n.pingedTasks.push(e),n)}var Ci=null;function Pi(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,null!==e.trackedPostpones||10===e.status?A(function(){return po(e)}):T(function(){return po(e)}))}function Ti(e,t,n,r,i){return n={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:ir(),fallbackState:ir(),contentPreamble:r,fallbackPreamble:i,trackedContentKeyPath:null,trackedFallbackNode:null}
2,null!==t&&(t.pendingTasks++,null!==(r=t.boundaries)&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),null!==(e=t.inheritedHoistables)&&fr(n.contentState,e)),n}function Ei(e,t,n,r,i,o,a,s,l,c,u,d,p,f,h){e.allPendingTasks++,null===i?e.pendingRootTasks++:i.pendingTasks++,null!==f&&f.pendingTasks++;var m={replay:null,node:n,childIndex:r,ping:function(){return Pi(e,m)},blockedBoundary:i,blockedSegment:o,blockedPreamble:a,hoistableState:s,abortSet:l,keyPath:c,formatContext:u,context:d,treeContext:p,row:f,componentStack:h,thenableState:t};return l.add(m),m}function Ni(e,t,n,r,i,o,a,s,l,c,u,d,p,f){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++,null!==p&&p.pendingTasks++,n.pendingTasks++;var h={replay:n,node:r,childIndex:i,ping:function(){return Pi(e,h)},blockedBoundary:o,blockedSegment:null,blockedPreamble:null,hoistableState:a,abortSet:s,keyPath:l,formatContext:c,context:u,treeContext:d,row:p,componentStack:f,thenableState:t};return s.add(h),h}function Ai(e,t,n,r,i,o){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:i,textEmbedded:o}}function Ii(e){var t=e.node;if("object"==typeof t&&null!==t&&t.$$typeof===a)e.componentStack={parent:e.componentStack,type:t.type}}function Li(e){return null===e?null:{parent:e.parent,type:"Suspense Fallback"}}function Di(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=_i(r.type),r=r.parent}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return Object.defineProperty(t,"componentStack",{value:i}),i}}),t}function Ri(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function Mi(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,B(e.destination,t)):(e.status=13,e.fatalError=t)}function $i(e,t){Fi(e,t.next,t.hoistables)}function Fi(e,t,n){for(;null!==t;){null!==n&&(fr(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(null!==r){t.boundaries=null;for(var i=0;i<r.length;i++){var o=r[i];null!==n&&fr(o.contentState,n),uo(e,o,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function Vi(e,t){var n=t.boundaries;if(null!==n&&t.pendingTasks===n.length){for(var r=!0,i=0;i<n.length;i++){var o=n[i];if(1!==o.pendingTasks||o.parentFlushed||xi(0,o)){r=!1;break}}r&&Fi(e,t,t.hoistables)}}function zi(e){var t={pendingTasks:1,boundaries:null,hoistables:ir(),inheritedHoistables:null,together:!1,next:null};return null!==e&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function Bi(e,t,n,r,i){var o=t.keyPath,a=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var l=null;if(null!==t.replay){var c=t.replay.slots;if(null!==c&&"object"==typeof c)for(var u=0;u<n;u++){var d="backwards"!==i&&"unstable_legacy-backwards"!==i?u:n-1-u,p=r[d];t.row=l=zi(l),t.treeContext=Pr(a,n,d);var f=c[d];"number"==typeof f?(Zi(e,t,f,p,d),delete c[d]):to(e,t,p,d),0===--l.pendingTasks&&$i(e,l)}else for(c=0;c<n;c++)d=r[u="backwards"!==i&&"unstable_legacy-backwards"!==i?c:n-1-c],t.row=l=zi(l),t.treeContext=Pr(a,n,u),to(e,t,d,u),0===--l.pendingTasks&&$i(e,l)}else if("backwards"!==i&&"unstable_legacy-backwards"!==i)for(i=0;i<n;i++)c=r[i],t.row=l=zi(l),t.treeContext=Pr(a,n,i),to(e,t,c,i),0===--l.pendingTasks&&$i(e,l);else{for(c=(i=t.blockedSegment).children.length,u=i.chunks.length,d=n-1;0<=d;d--){p=r[d],t.row=l=zi(l),t.treeContext=Pr(a,n,d),f=Ai(0,u,null,t.formatContext,0!==d||i.lastPushedText,!0),i.children.splice(c,0,f),t.blockedSegment=f;try{to(e,t,p,d),f.lastPushedText&&f.textEmbedded&&f.chunks.push(Ne),f.status=1,co(e,t.blockedBoundary,f),0===--l.pendingTasks&&$i(e,l)}catch(t){throw f.status=12===e.status?3:4,t}}t.blockedSegment=i,i.lastPushedText=!1}null!==s&&null!==l&&0<l.pendingTasks&&(s.pendingTasks++,l.next=s),t.treeContext=a,t.row=s,t.keyPath=o}function Hi(e,t,n,r,i,o){var a=t.thenableState;for(t.thenableState=null,Mr={},$r=t,Fr=e,Vr=n,Zr=qr=0,Gr=-1,Wr=0,Kr=a,e=r(i,o);Ur;)Ur=!1,Zr=qr=0,Gr=-1,Wr=0,Jr+=1,Br=null,e=r(i,o);return ni(),e}function Ui(e,t,n,r,i,o,a){var s=!1;if(0!==o&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var c=0;c<o;c++)c===a?l.push(rt):l.push(it)}}
2o=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=Pr(n,1,0),to(e,t,r,-1),t.treeContext=n):s?to(e,t,r,-1):Gi(e,t,r,-1),t.keyPath=o}function qi(e,t,n,r,i,a){if("function"==typeof r)if(r.prototype&&r.prototype.isReactComponent){var s=i;if("ref"in i)for(var _ in s={},i)"ref"!==_&&(s[_]=i[_]);var j=r.defaultProps;if(j)for(var k in s===i&&(s=H({},s,i)),j)void 0===s[k]&&(s[k]=j[k]);i=s,s=yr,"object"==typeof(j=r.contextType)&&null!==j&&(s=j._currentValue);var C=void 0!==(s=new r(i,s)).state?s.state:null;if(s.updater=kr,s.props=i,s.state=C,j={queue:[],replace:!1},s._reactInternals=j,a=r.contextType,s.context="object"==typeof a&&null!==a?a._currentValue:yr,"function"==typeof(a=r.getDerivedStateFromProps)&&(C=null==(a=a(i,C))?C:H({},C,a),s.state=C),"function"!=typeof r.getDerivedStateFromProps&&"function"!=typeof s.getSnapshotBeforeUpdate&&("function"==typeof s.UNSAFE_componentWillMount||"function"==typeof s.componentWillMount))if(r=s.state,"function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount(),r!==s.state&&kr.enqueueReplaceState(s,s.state,null),null!==j.queue&&0<j.queue.length)if(r=j.queue,a=j.replace,j.queue=null,j.replace=!1,a&&1===r.length)s.state=r[0];else{for(j=a?r[0]:s.state,C=!0,a=a?1:0;a<r.length;a++)null!=(k="function"==typeof(k=r[a])?k.call(s,j,i,void 0):k)&&(C?(C=!1,j=H({},j,k)):H(j,k));s.state=j}else j.queue=null;if(r=s.render(),12===e.status)throw null;i=t.keyPath,t.keyPath=n,Gi(e,t,r,-1),t.keyPath=i}else{if(r=Hi(e,t,n,r,i,void 0),12===e.status)throw null;Ui(e,t,n,r,0!==qr,Zr,Gr)}else{if("string"!=typeof r){switch(r){case w:case c:case u:case l:return r=t.keyPath,t.keyPath=n,Gi(e,t,i.children,-1),void(t.keyPath=r);case v:return void(null===(r=t.blockedSegment)?"hidden"!==i.mode&&(r=t.keyPath,t.keyPath=n,to(e,t,i.children,-1),t.keyPath=r):"hidden"!==i.mode&&(r.chunks.push(Tt),r.lastPushedText=!1,s=t.keyPath,t.keyPath=n,to(e,t,i.children,-1),t.keyPath=s,r.chunks.push(Et),r.lastPushedText=!1));case m:e:{if(r=i.children,"forwards"===(i=i.revealOrder)||"backwards"===i||"unstable_legacy-backwards"===i){if(S(r)){Bi(e,t,n,r,i);break e}if((s=O(r))&&(s=s.call(r))){if(!(j=s.next()).done){do{j=s.next()}while(!j.done);Bi(e,t,n,r,i)}break e}}"together"===i?(i=t.keyPath,s=t.row,(j=t.row=zi(null)).boundaries=[],j.together=!0,t.keyPath=n,Gi(e,t,r,-1),0===--j.pendingTasks&&$i(e,j),t.keyPath=i,t.row=s,null!==s&&0<j.pendingTasks&&(s.pendingTasks++,j.next=s)):(i=t.keyPath,t.keyPath=n,Gi(e,t,r,-1),t.keyPath=i)}return;case x:case y:throw Error(o(343));case h:e:if(null!==t.replay){r=t.keyPath,s=t.formatContext,j=t.row,t.keyPath=n,t.formatContext=Ee(e.resumableState,s),t.row=null,n=i.children;try{to(e,t,n,-1)}finally{t.keyPath=r,t.formatContext=s,t.row=j}}else{r=t.keyPath,a=t.formatContext;var P=t.row;k=t.blockedBoundary,_=t.blockedPreamble;var T=t.hoistableState,E=t.blockedSegment,N=i.fallback;i=i.children;var A=new Set,I=2>t.formatContext.insertionMode?Ti(e,t.row,A,{htmlChunks:null,headChunks:null,bodyChunks:null},{htmlChunks:null,headChunks:null,bodyChunks:null}):Ti(e,t.row,A,null,null);null!==e.trackedPostpones&&(I.trackedContentKeyPath=n);var L=Ai(0,E.chunks.length,I,t.formatContext,!1,!1);E.children.push(L),E.lastPushedText=!1;var D=Ai(0,0,null,t.formatContext,!1,!1);if(D.parentFlushed=!0,null!==e.trackedPostpones){s=t.componentStack,C=[(j=[n[0],"Suspense Fallback",n[2]])[1],j[2],[],null],e.trackedPostpones.workingMap.set(j,C),I.trackedFallbackNode=C,t.blockedSegment=L,t.blockedPreamble=I.fallbackPreamble,t.keyPath=j,t.formatContext=Te(e.resumableState,a),t.componentStack=Li(s),L.status=6;try{to(e,t,N,-1),L.lastPushedText&&L.textEmbedded&&L.chunks.push(Ne),L.status=1,co(e,k,L)}catch(t){throw L.status=12===e.status?3:4,t}finally{t.blockedSegment=E,t.blockedPreamble=_,t.keyPath=r,t.formatContext=a}Ii(t=Ei(e,null,i,-1,I,D,I.contentPreamble,I.contentState,t.abortSet,n,Ee(e.resumableState,t.formatContext),t.context,t.treeContext,null,s)),e.pingedTasks.push(t)}else{t.blockedBoundary=I,t.blockedPreamble=I.contentPreamble,t.hoistableState=I.contentState,t.blockedSegment=D,t.keyPath=n,t.formatContext=Ee(e.resumableState,a),t.row=null,D.status=6;try{if(to(e,t,i,-1),D.lastPushedText&&D.textEmbedded&&D.chunks.push(Ne),D.status=1,co(e,I,D),lo(I,D),0===I.pendingTasks&&0===I.status){if(I.status=1,!xi(0,I)){null!==P&&0===--P.pendingTasks&&$i(e,P),0===e.pendingRootTasks&&t.blockedPreamble&&mo(e);break e}}else null!==P&&P.together&&Vi(e,P)}catch(n){I.status=4,12===e.status?(D.status=3,s=e.fatalError):(D.status=4,s=n),C=Ri(e,s,j=Di(t.componentStack)),I.errorDigest=C,Xi(e,I)}finally{t.blockedBoundary=k,t.blockedPreamble=_,t.hoistableState=T,t.blockedSegment=E,t.keyPath=r,t.formatContext=a,t.row=P}Ii(t=Ei(e,null,N,-1,k,L,I.fallbackPreamble,I.fallbackState,A,[n[0],"Suspense Fallback",n[2]],Te(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Li(t.componentStack))),e.pingedTasks.push(t)}}return}if("object"==typeof r&&null!==r)switch(r.$$typeof){case f:if("ref"in i)for(E in s={},i)"ref"!==E&&(s[E]=i[E]);else s=i;return void Ui(e,t,n,r=Hi(e,t,n,r.render,s,a),0!==qr,Zr,Gr);case g:return void qi(e,t,n,r.type,i,a);case p:if(j=i.children,s=t.keyPath,i=i.value,C=r._currentValue,r._currentValue=i,vr=r={parent:a=vr,depth:null===a?0:a.depth+1,context:r,parentValue:C,value:i},t.context=r,t.keyPath=n,Gi(e,t,j,-1),null===(e=vr))throw Error(o(403));return e.context._currentValue=e.parentValue,e=vr=e.parent,t.context=e,void(t.keyPath=s);case d:return r=(i=i.children)(r._context._currentValue),i=t.keyPath,t.keyPath=n,Gi(e,t,r,-1),void(t.keyPath=i);case b:if(r=(s=r._init)(r._payload),12===e.status)throw null;return void qi(e,t,n,r,i,a)}throw Error(o(130,null==r?r:typeof r,""))}if(null===(s=t.blockedSegment))s=i.children,j=t.formatContext,C=t.keyPath,t.formatContext=Ce(j,r,i),t.keyPath=n,to(e,t,s,-1),t.formatContext=j,t.keyPath=C;
vendor: 4,105 bytes, line 2
2else{if(C=_t(s.chunks,r,i,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,s.lastPushedText),s.lastPushedText=!1,j=t.formatContext,a=t.keyPath,t.keyPath=n,3===(t.formatContext=Ce(j,r,i)).insertionMode){n=Ai(0,0,null,t.formatContext,!1,!1),s.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,to(e,t,C,-1),n.lastPushedText&&n.textEmbedded&&n.chunks.push(Ne),n.status=1,co(e,t.blockedBoundary,n)}finally{t.blockedSegment=s}}else to(e,t,C,-1);t.formatContext=j,t.keyPath=a;e:{switch(t=s.chunks,e=e.resumableState,r){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=j.insertionMode){e.hasBody=!0;break e}break;case"html":if(0===j.insertionMode){e.hasHtml=!0;break e}break;case"head":if(1>=j.insertionMode)break e}t.push(jt(r))}s.lastPushedText=!1}}}function Zi(e,t,n,r,i){var o=t.replay,a=t.blockedBoundary,s=Ai(0,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,to(e,t,r,i),s.status=1,co(e,a,s),null===a?e.completedRootSegment=s:(lo(a,s),a.parentFlushed&&e.partialBoundaries.push(a))}finally{t.replay=o,t.blockedSegment=null}}function Gi(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?Zi(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,Ii(t),Wi(e,t),t.componentStack=n)}function Wi(e,t){var n=t.node,r=t.childIndex;if(null!==n){if("object"==typeof n){switch(n.$$typeof){case a:var i=n.type,l=n.key,c=n.props,u=void 0!==(n=c.ref)?n:null,d=br(i),f=null==l?-1===r?0:r:l;if(l=[t.keyPath,d,f],null!==t.replay)e:{var m=t.replay;for(r=m.nodes,n=0;n<r.length;n++){var g=r[n];if(f===g[1]){if(4===g.length){if(null!==d&&d!==g[0])throw Error(o(490,g[0],d));var y=g[2];d=g[3],f=t.node,t.replay={nodes:y,slots:d,pendingTasks:1};try{if(qi(e,t,l,i,c,u),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));t.replay.pendingTasks--}catch(o){if("object"==typeof o&&null!==o&&(o===Ir||"function"==typeof o.then))throw t.node===f?t.replay=m:r.splice(n,1),o;t.replay.pendingTasks--,c=Di(t.componentStack),ro(l=e,e=t.blockedBoundary,y,d,i=o,c=Ri(l,i,c))}t.replay=m}else{if(i!==h)throw Error(o(490,"Suspense",br(i)||"Unknown"));t:{m=void 0,i=g[5],u=g[2],d=g[3],f=null===g[4]?[]:g[4][2],g=null===g[4]?null:g[4][3];var v=t.keyPath,w=t.formatContext,_=t.row,x=t.replay,j=t.blockedBoundary,k=t.hoistableState,C=c.children,P=c.fallback,T=new Set;(c=2>t.formatContext.insertionMode?Ti(e,t.row,T,Oe(),Oe()):Ti(e,t.row,T,null,null)).parentFlushed=!0,c.rootSegmentID=i,t.blockedBoundary=c,t.hoistableState=c.contentState,t.keyPath=l,t.formatContext=Ee(e.resumableState,w),t.row=null,t.replay={nodes:u,slots:d,pendingTasks:1};try{if(to(e,t,C,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));if(t.replay.pendingTasks--,0===c.pendingTasks&&0===c.status){c.status=1,e.completedBoundaries.push(c);break t}}catch(n){c.status=4,m=Ri(e,n,y=Di(t.componentStack)),c.errorDigest=m,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(c)}finally{t.blockedBoundary=j,t.hoistableState=k,t.replay=x,t.keyPath=v,t.formatContext=w,t.row=_}Ii(y=Ni(e,null,{nodes:f,slots:g,pendingTasks:0},P,-1,j,c.fallbackState,T,[l[0],"Suspense Fallback",l[2]],Te(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Li(t.componentStack))),e.pingedTasks.push(y)}}r.splice(n,1);break e}}}else qi(e,t,l,i,c,u);return;case s:throw Error(o(257));case b:if(n=(y=n._init)(n._payload),12===e.status)throw null;return void Gi(e,t,n,r)}if(S(n))return void Ki(e,t,n,r);if((y=O(n))&&(y=y.call(n))){if(!(n=y.next()).done){c=[];do{c.push(n.value),n=y.next()}while(!n.done);Ki(e,t,c,r)}return}if("function"==typeof n.then)return t.thenableState=null,Gi(e,t,di(n),r);if(n.$$typeof===p)return Gi(e,t,n._currentValue,r);throw r=Object.prototype.toString.call(n),Error(o(31,"[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r))}"string"==typeof n?null!==(r=t.blockedSegment)&&(r.lastPushedText=Ae(r.chunks,n,e.render
2State,r.lastPushedText)):"number"!=typeof n&&"bigint"!=typeof n||null!==(r=t.blockedSegment)&&(r.lastPushedText=Ae(r.chunks,""+n,e.renderState,r.lastPushedText))}}function Ki(e,t,n,r){var i=t.keyPath;if(-1===r||(t.keyPath=[t.keyPath,"Fragment",r],null===t.replay)){if(a=t.treeContext,s=n.length,null!==t.replay&&(null!==(l=t.replay.slots)&&"object"==typeof l)){for(r=0;r<s;r++)c=n[r],t.treeContext=Pr(a,s,r),"number"==typeof(u=l[r])?(Zi(e,t,u,c,r),delete l[r]):to(e,t,c,r);return t.treeContext=a,void(t.keyPath=i)}for(l=0;l<s;l++)r=n[l],t.treeContext=Pr(a,s,l),to(e,t,r,l);t.treeContext=a,t.keyPath=i}else{for(var a=t.replay,s=a.nodes,l=0;l<s.length;l++){var c=s[l];if(c[1]===r){r=c[2],c=c[3],t.replay={nodes:r,slots:c,pendingTasks:1};try{if(Ki(e,t,n,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(o(488));t.replay.pendingTasks--}catch(i){if("object"==typeof i&&null!==i&&(i===Ir||"function"==typeof i.then))throw i;t.replay.pendingTasks--,n=Di(t.componentStack);var u=t.blockedBoundary;ro(e,u,r,c,i,n=Ri(e,i,n))}t.replay=a,s.splice(l,1);break}}t.keyPath=i}}function Yi(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,null===(e=n.trackedContentKeyPath))throw Error(o(486));var r=n.trackedFallbackNode,i=t.workingMap.get(e);return void 0===i?(n=[e[1],e[2],[],null,r,n.rootSegmentID],t.workingMap.set(e,n),Po(n,e[0],t),n):(i[4]=r,i[5]=n.rootSegmentID,i)}function Ji(e,t,n,r){r.status=5;var i=n.keyPath,a=n.blockedBoundary;if(null===a)r.id=e.nextSegmentId++,t.rootSlots=r.id,null!==e.completedRootSegment&&(e.completedRootSegment.status=5);else{if(null!==a&&0===a.status){var s=Yi(e,t,a);if(a.trackedContentKeyPath===i&&-1===n.childIndex)return-1===r.id&&(r.id=r.parentFlushed?a.rootSegmentID:e.nextSegmentId++),void(s[3]=r.id)}if(-1===r.id&&(r.id=r.parentFlushed&&null!==a?a.rootSegmentID:e.nextSegmentId++),-1===n.childIndex)null===i?t.rootSlots=r.id:void 0===(n=t.workingMap.get(i))?Po(n=[i[1],i[2],[],r.id],i[0],t):n[3]=r.id;else{if(null===i){if(null===(e=t.rootSlots))e=t.rootSlots={};else if("number"==typeof e)throw Error(o(491))}else if(void 0===(s=(a=t.workingMap).get(i)))e={},s=[i[1],i[2],[],e],a.set(i,s),Po(s,i[0],t);else if(null===(e=s[3]))e=s[3]={};else if("number"==typeof e)throw Error(o(491));e[n.childIndex]=r.id}}}function Xi(e,t){null!==(e=e.trackedPostpones)&&(null!==(t=t.trackedContentKeyPath)&&(void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)))}function Qi(e,t,n){return Ni(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function eo(e,t,n){var r=t.blockedSegment,i=Ai(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Ei(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function to(e,t,n,r){var i=t.formatContext,o=t.context,a=t.keyPath,s=t.treeContext,l=t.componentStack,c=t.blockedSegment;if(null===c){c=t.replay;try{return Gi(e,t,n,r)}catch(u){if(ni(),n=u===Ir?Dr():u,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return e=Qi(e,t,r=u===Ir?ti():null).ping,n.then(e,e),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=c,void Sr(o);if("Maximum call stack size exceeded"===n.message)return n=Qi(e,t,n=u===Ir?ti():null),e.pingedTasks.push(n),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=c,void Sr(o)}}}else{var u=c.children.length,d=c.chunks.length;try{return Gi(e,t,n,r)}catch(r){if(ni(),c.children.length=u,c.chunks.length=d,n=r===Ir?Dr():r,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return c=n,e=eo(e,t,n=r===Ir?ti():null).ping,c.then(e,e),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,void Sr(o);if("Maximum call stack size exceeded"===n.message)return c=eo(e,t,c=r===Ir?ti():null),e.pingedTasks.push(c),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,void Sr(o)}}}throw t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,Sr(o),n}function no(e){var t=e.blockedBoundary,n=e.blockedSegment;null!==n&&(n.status=3,uo(this,t,e.row,n))}function ro(e,t,n,r,i,a){for(var s=0;s<n.length;s++){var l=n[s];if(4===l.length)ro(e,t,l[2],l[3],i,a);else{l=l[5];
2var c=e,u=a,d=Ti(c,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=l,d.status=4,d.errorDigest=u,d.parentFlushed&&c.clientRenderedBoundaries.push(d)}}if(n.length=0,null!==r){if(null===t)throw Error(o(487));if(4!==t.status&&(t.status=4,t.errorDigest=a,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof r)for(var p in r)delete r[p]}}function io(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(null!==i){if(6===i.status)return;i.status=3}var o=Di(e.componentStack);if(null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return void(null!==t.trackedPostpones&&null!==i?(r=t.trackedPostpones,Ri(t,n,o),Ji(t,r,e,i),uo(t,null,e.row,i)):(Ri(t,n,o),Mi(t,n)));r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(i=Ri(t,n,o),ro(t,null,r.nodes,r.slots,n,i)),t.pendingRootTasks--,0===t.pendingRootTasks&&ao(t)}}else{var a=t.trackedPostpones;if(4!==r.status){if(null!==a&&null!==i)return Ri(t,n,o),Ji(t,a,e,i),r.fallbackAbortableTasks.forEach(function(e){return io(e,t,n)}),r.fallbackAbortableTasks.clear(),uo(t,r,e.row,i);r.status=4,i=Ri(t,n,o),r.status=4,r.errorDigest=i,Xi(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,null!==(i=r.row)&&0===--i.pendingTasks&&$i(t,i),r.fallbackAbortableTasks.forEach(function(e){return io(e,t,n)}),r.fallbackAbortableTasks.clear()}null!==(e=e.row)&&0===--e.pendingTasks&&$i(t,e),t.allPendingTasks--,0===t.allPendingTasks&&so(t)}function oo(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var o=i.preconnects;if(i.fontPreloads&&(o&&(o+=", "),o+=i.fontPreloads),i.highImagePreloads&&(o&&(o+=", "),o+=i.highImagePreloads),!t){var a=n.styles.values(),s=a.next();e:for(;0<i.remainingCapacity&&!s.done;s=a.next())for(var l=s.value.sheets.values(),c=l.next();0<i.remainingCapacity&&!c.done;c=l.next()){var u=c.value,d=u.props,p=d.href,f=u.props,h=ar(f.href,"style",{crossOrigin:f.crossOrigin,integrity:f.integrity,nonce:f.nonce,type:f.type,fetchPriority:f.fetchPriority,referrerPolicy:f.referrerPolicy,media:f.media});if(!(0<=(i.remainingCapacity-=h.length+2)))break e;n.resets.style[p]=se,o&&(o+=", "),o+=h,n.resets.style[p]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:se}}r(o?{Link:o}:{})}}}catch(t){Ri(e,t,{})}}function ao(e){null===e.trackedPostpones&&oo(e,!0),null===e.trackedPostpones&&mo(e),e.onShellError=Ar,(e=e.onShellReady)()}function so(e){oo(e,null===e.trackedPostpones||(null===e.completedRootSegment||5!==e.completedRootSegment.status)),mo(e),(e=e.onAllReady)()}function lo(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1!==n.status&&3!==n.status&&4!==n.status||lo(e,n)}else e.completedSegments.push(t)}function co(e,t,n){if(null!==z){n=n.chunks;for(var r=0,i=0;i<n.length;i++)r+=n[i].byteLength;null===t?e.byteSize+=r:t.byteSize+=r}}function uo(e,t,n,r){if(null!==n&&(0===--n.pendingTasks?$i(e,n):n.together&&Vi(e,n)),e.allPendingTasks--,null===t){if(null!==r&&r.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&ao(e)}else if(t.pendingTasks--,4!==t.status)if(0===t.pendingTasks){if(0===t.status&&(t.status=1),null!==r&&r.parentFlushed&&(1===r.status||3===r.status)&&lo(t,r),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status)null!==(n=t.row)&&fr(n.hoistables,t.contentState),xi(0,t)||(t.fallbackAbortableTasks.forEach(no,e),t.fallbackAbortableTasks.clear(),null!==n&&0===--n.pendingTasks&&$i(e,n)),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&mo(e);else if(5===t.status&&null!==(t=t.row)){if(null!==e.trackedPostpones){n=e.trackedPostpones;var i=t.next;if(null!==i&&null!==(r=i.boundaries))for(i.boundaries=null,i=0;i<r.length;i++){var a=r[i];Yi(e,n,a),uo(e,a,null,null)}}0===--t.pendingTasks&&$i(e,t)}}else null===r||!r.parentFlushed||1!==r.status&&3!==r.status||(lo(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)),null!==(t=t.row)&&t.together&&Vi(e,t);0===e.allPendingTasks&&so(e)}function po(e){if(14!==e.status&&13!==e.status){var t=vr,n=re.H;re.H=mi;var r=re.A;re.A=bi;var i=Ci;Ci=e;var a=gi;gi=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var c=l[s],u=e,d=c.blockedSegment;if(null===d){var p=u;if(0!==c.replay.pendingTasks){Sr(c.context);try{if("number"==typeof c.replay.slots?Zi(p,c,c.replay.slots,c.node,c.childIndex):Wi(p,c),1===c.replay.pendingTasks&&0<c.replay.nodes.length)throw Error(o(488));c.replay.pendingTasks--,c.abortSet.delete(c),uo(p,c.blockedBoundary,c.row,null)}catch(e){ni();var f=e===Ir?Dr():e;if("object"==typeof f&&null!==f&&"function"==typeof f.then){var h=c.ping;f.then(h,h),c.thenableState=e===Ir?ti():null}else{c.replay.pendingTasks--,c.abortSet.delete(c);var m=Di(c.componentStack);u=void 0;var g=p,b=c.blockedBoundary,y=12===p.status?p.fatalError:f;ro(g,b,c.replay.nodes,c.replay.slots,y,u=Ri(g,y,m)),p.pendingRootTasks--,0===p.pendingRootTasks&&ao(p),p.allPendingTasks--,0===p.allPendingTasks&&so(p)}}}}else if(p=void 0,0===(g=d).status){g.status=6,Sr(c.context);var v=g.children.length,w=g.chunks.length;try{Wi(u,c),g.lastPushedText&&g.textEmbedded&&g.chunks.push(Ne),c.abortSet.delete(c),g.status=1,co(u,c.blockedBoundary,g),uo(u,c.blockedBoundary,c.row,g)}catch(e){ni(),g.children.length=v,g.chunks.length=w;var _=e===Ir?Dr():12===u.status?u.fatalError:e;if(12===u.status&&null!==u.trackedPostpones){var x=u.trackedPostpones,j=Di(c.componentStack);c.abortSet.delete(c),Ri(u,_,j),Ji(u,x,c,g),uo(u,c.blockedBoundary,c.row,g)}else if("object"==typeof _&&null!==_&&"function"==typeof _.then){g.status=0,c.thenableState=e===Ir?ti():null;var O=c.ping;_.then(O,O)}else{var S=Di(c.componentStack);c.abortSet.delete(c),g.status=4;var k=c.blockedBoundary,C=c.row;if(null!==C&&0===--C.pendingTasks&&$i(u,C),u.allPendingTasks--,p=Ri(u,_,S),null===k)Mi(u,_);else if(k.pendingTasks--,4!==k.status){k.status=4,k.errorDigest=p,Xi(u,k);var P=k.row;null!==P&&0===--P.pendingTasks&&$i(u,P),k.parentFlushed&&u.clientRenderedBoundaries.push(k),0===u.pendingRootTasks&&null===u.trackedPostpones&&null!==k.contentPreamble&&mo(u)}0===u.allPendingTasks&&so(u)}}}}l.splice(0,s),null!==e.destination&&jo(e,e.destination)}catch(t){Ri(e,t,{}),Mi(e,t)}finally{gi=a,re.H=n,re.A=r,n===mi&&Sr(t),Ci=i}}}function fo(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=ho(e,t.children[i],n)||r;return r}
2function ho(e,t,n){var r=t.boundary;if(null===r)return fo(e,t,n);var i=r.contentPreamble,a=r.fallbackPreamble;if(null===i||null===a)return!1;switch(r.status){case 1:if(Ot(e.renderState,i),e.byteSize+=r.byteSize,!(t=r.completedSegments[0]))throw Error(o(391));return fo(e,t,n);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return Ot(e.renderState,a),fo(e,t,n);default:return!0}}function mo(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=e.byteSize,r=ho(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function go(e,t,n,r){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,D(t,Ct),D(t,e.placeholderPrefix),D(t,e=F(r.toString(16))),R(t,Pt);case 1:n.status=2;var i=!0,a=n.chunks,s=0;n=n.children;for(var l=0;l<n.length;l++){for(i=n[l];s<i.index;s++)D(t,a[s]);i=yo(e,t,i,r)}for(;s<a.length-1;s++)D(t,a[s]);return s<a.length&&(i=R(t,a[s])),i;case 3:return!0;default:throw Error(o(390))}}var bo=0;function yo(e,t,n,r){var i=n.boundary;if(null===i)return go(e,t,n,r);if(i.parentFlushed=!0,4===i.status){var a=i.row;null!==a&&0===--a.pendingTasks&&$i(e,a),i=i.errorDigest,R(t,Lt),D(t,Rt),i&&(D(t,$t),D(t,F(X(i))),D(t,Mt)),R(t,Ft),go(e,t,n,r)}else if(1!==i.status)0===i.status&&(i.rootSegmentID=e.nextSegmentId++),0<i.completedSegments.length&&e.partialBoundaries.push(i),Vt(t,e.renderState,i.rootSegmentID),r&&fr(r,i.fallbackState),go(e,t,n,r);else if(!xo&&xi(0,i)&&(bo+i.byteSize>e.progressiveChunkSize||hr(i.contentState)))i.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(i),Vt(t,e.renderState,i.rootSegmentID),go(e,t,n,r);else{if(bo+=i.byteSize,r&&fr(r,i.contentState),null!==(n=i.row)&&xi(0,i)&&0===--n.pendingTasks&&$i(e,n),R(t,Nt),1!==(n=i.completedSegments).length)throw Error(o(391));yo(e,t,n[0],r)}return R(t,Dt)}function vo(e,t,n,r){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:case 3:case 2:return D(e,zt),D(e,t.segmentPrefix),D(e,F(r.toString(16))),R(e,Bt);case 4:return D(e,Ut),D(e,t.segmentPrefix),D(e,F(r.toString(16))),R(e,qt);case 5:return D(e,Gt),D(e,t.segmentPrefix),D(e,F(r.toString(16))),R(e,Wt);case 6:return D(e,Yt),D(e,t.segmentPrefix),D(e,F(r.toString(16))),R(e,Jt);case 7:return D(e,Qt),D(e,t.segmentPrefix),D(e,F(r.toString(16))),R(e,en);case 8:return D(e,nn),D(e,t.segmentPrefix),D(e,F(r.toString(16))),R(e,rn);case 9:return D(e,an),D(e,t.segmentPrefix),D(e,F(r.toString(16))),R(e,sn);default:throw Error(o(397))}}(t,e.renderState,n.parentFormatContext,n.id),yo(e,t,n,r),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return R(e,Ht);case 4:return R(e,Zt);case 5:return R(e,Kt);case 6:return R(e,Xt);case 7:return R(e,tn);case 8:return R(e,on);case 9:return R(e,ln);default:throw Error(o(397))}}(t,n.parentFormatContext)}function wo(e,t,n){bo=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)_o(e,t,n,r[i]);r.length=0,null!==(r=n.row)&&xi(0,n)&&0===--r.pendingTasks&&$i(e,r),Fn(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,i=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,D(t,e.startInlineScript),D(t,Je),a?(!(4&r.instructions)&&(r.instructions|=4,D(t,_n)),!(2&r.instructions)&&(r.instructions|=2,D(t,fn)),8&r.instructions?D(t,gn):(r.instructions|=8,D(t,mn))):(!(2&r.instructions)&&(r.instructions|=2,D(t,fn)),D(t,hn)),r=F(i.toString(16)),D(t,e.boundaryPrefix),D(t,r),D(t,bn),D(t,e.segmentPrefix),D(t,r),a?(D(t,yn),function(e,t){D(e,Qn);var n=Qn;t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)D(e,n),D(e,F(En(""+t.props.href))),D(e,nr),n=er;else{D(e,n);var r=t.props["data-precedence"],i=t.props,a=ne(""+t.props.href);for(var s in D(e,F(En(a))),r=""+r,D(e,tr),D(e,F(En(r))),i)if(U.call(i,s)&&null!=(r=i[s]))switch(s){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"link"));default:rr(e,s,r)}D(e,nr),n=er,t.state=3}}),D(e,nr)}(t,n)):D(t,vn),n=R(t,wn),St(t,e)&&n}function _o(e,t,n,r){if(2===r.status)return!0;var i=n.contentState,a=r.id;if(-1===a){if(-1===(r.id=n.rootSegmentID))throw Error(o(392));return vo(e,t,r,i)}return a===n.rootSegmentID?vo(e,t,r,i):(vo(e,t,r,i),n=e.resumableState,D(t,(e=e.renderState).startInlineScript),D(t,Je),1&n.instructions?D(t,un):(n.instructions|=1,D(t,cn)),D(t,e.segmentPrefix),D(t,a=F(a.toString(16))),D(t,dn),D(t,e.placeholderPrefix),D(t,a),t=R(t,pn))}var xo=!1;function jo(e,t){I=new Uint8Array(2048),L=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var i=e.completedPreambleSegments;if(null===i)return;bo=e.byteSize;var o,a=e.resumableState,s=e.renderState,l=s.preamble,c=l.htmlChunks,u=l.headChunks;if(c){for(o=0;o<c.length;o++)D(t,c[o]);if(u)for(o=0;o<u.length;o++)D(t,u[o]);else D(t,vt("head")),D(t,Je)}else if(u)for(o=0;o<u.length;o++)D(t,u[o]);var d=s.charsetChunks;for(o=0;o<d.length;o++)D(t,d[o]);
2d.length=0,s.preconnects.forEach(Vn,t),s.preconnects.clear();var p=s.viewportChunks;for(o=0;o<p.length;o++)D(t,p[o]);p.length=0,s.fontPreloads.forEach(Vn,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(Vn,t),s.highImagePreloads.clear(),le=s,s.styles.forEach(Wn,t),le=null;var f=s.importMapChunks;for(o=0;o<f.length;o++)D(t,f[o]);f.length=0,s.bootstrapScripts.forEach(Vn,t),s.scripts.forEach(Vn,t),s.scripts.clear(),s.bulkPreloads.forEach(Vn,t),s.bulkPreloads.clear(),c||u||(a.instructions|=32);var h=s.hoistableChunks;for(o=0;o<h.length;o++)D(t,h[o]);for(a=h.length=0;a<i.length;a++){var m=i[a];for(s=0;s<m.length;s++)yo(e,t,m[s],null)}var g=e.renderState.preamble,b=g.headChunks;(g.htmlChunks||b)&&D(t,jt("head"));var y=g.bodyChunks;if(y)for(i=0;i<y.length;i++)D(t,y[i]);yo(e,t,r,null),e.completedRootSegment=null;var v=e.renderState;if(0!==e.allPendingTasks||0!==e.clientRenderedBoundaries.length||0!==e.completedBoundaries.length||null!==e.trackedPostpones&&(0!==e.trackedPostpones.rootNodes.length||null!==e.trackedPostpones.rootSlots)){var w=e.resumableState;if(!(64&w.instructions)){if(w.instructions|=64,D(t,v.startInlineScript),!(32&w.instructions)){w.instructions|=32;var _="_"+w.idPrefix+"R_";D(t,Jn),D(t,F(X(_))),D(t,Ve)}D(t,Je),D(t,kt),R(t,ue)}}St(t,v)}var x=e.renderState;r=0;var j=x.viewportChunks;for(r=0;r<j.length;r++)D(t,j[r]);j.length=0,x.preconnects.forEach(Vn,t),x.preconnects.clear(),x.fontPreloads.forEach(Vn,t),x.fontPreloads.clear(),x.highImagePreloads.forEach(Vn,t),x.highImagePreloads.clear(),x.styles.forEach(Yn,t),x.scripts.forEach(Vn,t),x.scripts.clear(),x.bulkPreloads.forEach(Vn,t),x.bulkPreloads.clear();var O=x.hoistableChunks;for(r=0;r<O.length;r++)D(t,O[r]);O.length=0;var S=e.clientRenderedBoundaries;for(n=0;n<S.length;n++){var k=S[n];x=t;var C=e.resumableState,P=e.renderState,T=k.rootSegmentID,E=k.errorDigest;D(x,P.startInlineScript),D(x,Je),4&C.instructions?D(x,jn):(C.instructions|=4,D(x,xn)),D(x,P.boundaryPrefix),D(x,F(T.toString(16))),D(x,On),E&&(D(x,Sn),D(x,F(Pn(E||""))));var N=R(x,kn);if(!N)return e.destination=null,n++,void S.splice(0,n)}S.splice(0,n);var A=e.completedBoundaries;for(n=0;n<A.length;n++)if(!wo(e,t,A[n]))return e.destination=null,n++,void A.splice(0,n);A.splice(0,n),M(t),I=new Uint8Array(2048),L=0,xo=!0;var $=e.partialBoundaries;for(n=0;n<$.length;n++){var V=$[n];e:{S=e,k=t,bo=V.byteSize;var z=V.completedSegments;for(N=0;N<z.length;N++)if(!_o(S,k,V,z[N])){N++,z.splice(0,N);var B=!1;break e}z.splice(0,N);var H=V.row;null!==H&&H.together&&1===V.pendingTasks&&(1===H.pendingTasks?Fi(S,H,H.hoistables):H.pendingTasks--),B=Fn(k,V.contentState,S.renderState)}if(!B)return e.destination=null,n++,void $.splice(0,n)}$.splice(0,n),xo=!1;var U=e.completedBoundaries;for(n=0;n<U.length;n++)if(!wo(e,t,U[n]))return e.destination=null,n++,void U.splice(0,n);U.splice(0,n)}}finally{xo=!1,0===e.allPendingTasks&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length?(e.flushScheduled=!1,(n=e.resumableState).hasBody&&D(t,jt("body")),n.hasHtml&&D(t,jt("html")),M(t),e.status=14,t.close(),e.destination=null):M(t)}}function Oo(e){e.flushScheduled=null!==e.destination,A(function(){return po(e)}),T(function(){10===e.status&&(e.status=11),null===e.trackedPostpones&&oo(e,0===e.pendingRootTasks)})}function So(e){!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination&&(e.flushScheduled=!0,T(function(){var t=e.destination;t?jo(e,t):e.flushScheduled=!1}))}function ko(e,t){if(13===e.status)e.status=14,B(t,e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{jo(e,t)}catch(t){Ri(e,t,{}),Mi(e,t)}}}function Co(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var r=void 0===t?Error(o(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(o(530)):t;e.fatalError=r,n.forEach(function(t){return io(t,e,r)}),n.clear()}null!==e.destination&&jo(e,e.destination)}catch(t){Ri(e,t,{}),Mi(e,t)}}function Po(e,t,n){if(null===t)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);
2void 0===i&&(i=[t[1],t[2],[],null],r.set(t,i),Po(i,t[0],n)),i[2].push(e)}}function To(e){var t=e.trackedPostpones;if(null===t||0===t.rootNodes.length&&null===t.rootSlots)return e.trackedPostpones=null;if(null===e.completedRootSegment||5!==e.completedRootSegment.status&&null!==e.completedPreambleSegments){var n=e.nextSegmentId,r=t.rootSlots,i=e.resumableState;i.bootstrapScriptContent=void 0,i.bootstrapScripts=void 0,i.bootstrapModules=void 0}else{n=0,r=-1,i=e.resumableState;var o=e.renderState;i.nextFormID=0,i.hasBody=!1,i.hasHtml=!1,i.unknownResources={font:o.resets.font},i.dnsResources=o.resets.dns,i.connectResources=o.resets.connect,i.imageResources=o.resets.image,i.styleResources=o.resets.style,i.scriptResources={},i.moduleUnknownResources={},i.moduleScriptResources={},i.instructions=0}return{nextSegmentId:n,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:r}}function Eo(){var e=r.version;if("19.2.3"!==e)throw Error(o(527,e,"19.2.3"))}Eo(),Eo(),t.prerender=function(e,t){return new Promise(function(n,r){var i,o=t?t.onHeaders:void 0;o&&(i=function(e){o(new Headers(e))});var a=je(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),s=function(e,t,n,r,i,o,a,s,l,c,u){return(e=Si(e,t,n,r,i,o,a,s,l,c,u,void 0)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}(e,a,xe(a,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,i,t?t.maxHeadersLength:void 0),ke(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,function(){var e=new ReadableStream({type:"bytes",pull:function(e){ko(s,e)},cancel:function(e){s.destination=null,Co(s,e)}},{highWaterMark:0});e={postponed:To(s),prelude:e},n(e)},void 0,void 0,r,t?t.onPostpone:void 0);if(t&&t.signal){var l=t.signal;if(l.aborted)Co(s,l.reason);else{var c=function(){Co(s,l.reason),l.removeEventListener("abort",c)};l.addEventListener("abort",c)}}Oo(s)})},t.renderToReadableStream=function(e,t){return new Promise(function(n,r){var i,o,a,s=new Promise(function(e,t){o=e,i=t}),l=t?t.onHeaders:void 0;l&&(a=function(e){l(new Headers(e))});var c=je(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),u=Si(e,c,xe(c,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,a,t?t.maxHeadersLength:void 0),ke(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,o,function(){var e=new ReadableStream({type:"bytes",pull:function(e){ko(u,e)},cancel:function(e){u.destination=null,Co(u,e)}},{highWaterMark:0});e.allReady=s,n(e)},function(e){s.catch(function(){}),r(e)},i,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)Co(u,d.reason);else{var p=function(){Co(u,d.reason),d.removeEventListener("abort",p)};d.addEventListener("abort",p)}}Oo(u)})},t.resume=function(e,t,n){return new Promise(function(r,i){var o,a,s=new Promise(function(e,t){a=e,o=t}),l=ki(e,t,xe(t.resumableState,n?n.nonce:void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,a,function(){var e=new ReadableStream({type:"bytes",pull:function(e){ko(l,e)},cancel:function(e){l.destination=null,Co(l,e)}},{highWaterMark:0});e.allReady=s,r(e)},function(e){s.catch(function(){}),i(e)},o,n?n.onPostpone:void 0);if(n&&n.signal){var c=n.signal;if(c.aborted)Co(l,c.reason);else{var u=function(){Co(l,c.reason),c.removeEventListener("abort",u)};c.addEventListener("abort",u)}}Oo(l)})},t.resumeAndPrerender=function(e,t,n){return new Promise(function(r,i){var o=function(e,t,n,r,i,o,a,s,l){return(e=ki(e,t,n,r,i,o,a,s,l)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}(e,t,xe(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,function(){var e=new ReadableStream({type:"bytes",pull:function(e){ko(o,e)},cancel:function(e){o.destination=null,Co(o,e)}},{highWaterMark:0});e={postponed:To(o),prelude:e},r(e)},void 0,void 0,i,n?n.onPostpone:void 0);if(n&&n.signal){var a=n.signal;if(a.aborted)Co(o,a.reason);else{var s=function(){Co(o,a.reason),a.removeEventListener("abort",s)};a.addEventListener("abort",s)}}Oo(o)})},t.version="19.2.3"},65848:function(e,t,n){"use strict";var r,i;r=n(86047),i=n(67909),t.version=r.version,t.renderToString=r.renderToString,t.renderToStaticMarkup=r.renderToStaticMarkup,t.renderToReadableStream=i.renderToReadableStream,t.resume=i.resume},29698:function(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(e,t,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:i,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=i,t.jsxs=i},74848:function(e,t,n){"use strict";e.exports=n(29698)},14803:function(e,t,n){"use strict";var r=n(58859),i=n(69675),o=function(e,t,n){for(var r,i=e;null!=(r=i.next);i=r)if(r.key===t)return i.next=r.next,n||(r.next=e.next,e.next=r),r};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+r(e))},delete:function(t){var n=e&&e.next,r=function(e,t){if(e)return o(e,t,!0)}(e,t);return r&&n&&n===r&&(e=void 0),!!r},get:function(t){return function(e,t){if(e){var n=o(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!o(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var r=o(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}
2(e,t,n)}};return t}},80507:function(e,t,n){"use strict";var r=n(70453),i=n(36556),o=n(58859),a=n(69675),s=r("%Map%",!0),l=i("Map.prototype.get",!0),c=i("Map.prototype.set",!0),u=i("Map.prototype.has",!0),d=i("Map.prototype.delete",!0),p=i("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+o(e))},delete:function(t){if(e){var n=d(e,t);return 0===p(e)&&(e=void 0),n}return!1},get:function(t){if(e)return l(e,t)},has:function(t){return!!e&&u(e,t)},set:function(t,n){e||(e=new s),c(e,t,n)}};return t}},72271:function(e,t,n){"use strict";var r=n(70453),i=n(36556),o=n(58859),a=n(80507),s=n(69675),l=r("%WeakMap%",!0),c=i("WeakMap.prototype.get",!0),u=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),p=i("WeakMap.prototype.delete",!0);e.exports=l?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new s("Side channel does not contain "+o(e))},delete:function(n){if(l&&n&&("object"==typeof n||"function"==typeof n)){if(e)return p(e,n)}else if(a&&t)return t.delete(n);return!1},get:function(n){return l&&n&&("object"==typeof n||"function"==typeof n)&&e?c(e,n):t&&t.get(n)},has:function(n){return l&&n&&("object"==typeof n||"function"==typeof n)&&e?d(e,n):!!t&&t.has(n)},set:function(n,r){l&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new l),u(e,n,r)):a&&(t||(t=a()),t.set(n,r))}};return n}:a},920:function(e,t,n){"use strict";var r=n(69675),i=n(58859),o=n(14803),a=n(80507),s=n(72271)||a||o;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+i(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=s()),e.set(t,n)}};return t}},19674:function(t){"use strict";t.exports=e},19894:function(e){"use strict";e.exports=t},40809:function(e){"use strict";e.exports=n},91565:function(e){"use strict";e.exports=r},88792:function(e){"use strict";e.exports=i},14375:function(e){"use strict";e.exports=o},4321:function(e){"use strict";e.exports=a},92986:function(e){"use strict";e.exports=s},71592:function(e){"use strict";e.exports=l},59626:function(e){"use strict";e.exports=c},43993:function(e){"use strict";e.exports=u},87983:function(e){"use strict";e.exports=d},77508:function(e){"use strict";e.exports=p},1534:function(e){"use strict";e.exports=f},42634:function(){},79775:function(e){"use strict";e.exports={rE:"1.94.0"}},22273:function(e){"use strict";e.exports={rE:"1.94.0"}}},v={};function w(e){var t=v[e];if(void 0!==t)return t.exports;var n=v[e]={id:e,loaded:!1,exports:{}};return y[e].call(n.exports,n,n.exports,w),n.loaded=!0,n.exports}return w.m=y,w.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return w.d(t,{a:t}),t},m=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},w.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);w.r(n);var r={};h=h||[null,m({}),m([]),m(m)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~h.indexOf(i);i=m(i))Object.getOwnPropertyNames(i).forEach(function(t){r[t]=function(){return e[t]}});return r.default=function(){return e},w.d(n,r),n},w.d=function(e,t){for(var n in t)w.o(t,n)&&!w.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},w.f={},w.e=function(e){return Promise.all(Object.keys(w.f).reduce(function(t,n){return w.f[n](e,t),t},[]))},w.u=function(e){return{42:"reactPlayerTwitch",173:"reactPlayerVimeo",328:"reactPlayerDailyMotion",340:"reactPlayerWistia",353:"reactPlayerPreview",392:"reactPlayerVidyard",446:"reactPlayerYouTube",458:"reactPlayerFilePlayer",463:"reactPlayerKaltura",570:"reactPlayerMixcloud",627:"reactPlayerStreamable",723:"reactPlayerMux",887:"reactPlayerFacebook",979:"reactPlayerSoundCloud"}[e]+".chunk.js?d=389&mxId=00000000"},w.miniCssF=function(e){},w.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}
vendor: 1,924 bytes, line 2
2}(),w.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},g={},b="Fusion.components:",w.l=function(e,t,n,r){if(g[e])g[e].push(t);else{var i,o;if(void 0!==n)for(var a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var l=a[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==b+n){i=l;break}}i||(o=!0,(i=document.createElement("script")).charset="utf-8",w.nc&&i.setAttribute("nonce",w.nc),i.setAttribute("data-webpack",b+n),i.src=e),g[e]=[t];var c=function(t,n){i.onerror=i.onload=null,clearTimeout(u);var r=g[e];if(delete g[e],i.parentNode&&i.parentNode.removeChild(i),r&&r.forEach(function(e){return e(n)}),t)return t(n)},u=setTimeout(c.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=c.bind(null,i.onerror),i.onload=c.bind(null,i.onload),o&&document.head.appendChild(i)}},w.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},w.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},w.p="/pf/dist/components/combinations/",function(){var e={686:0};w.f.j=function(t,n){var r=w.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise(function(n,i){r=e[t]=[n,i]});n.push(r[2]=i);var o=w.p+w.u(t),a=new Error;w.l(o,function(n){if(w.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,r[1](a)}},"chunk-"+t,t)}};var t=function(t,n){var r,i,o=n[0],a=n[1],s=n[2],l=0;if(o.some(function(t){return 0!==e[t]})){for(r in a)w.o(a,r)&&(w.m[r]=a[r]);if(s)s(w)}for(t&&t(n);l<o.length;l++)i=o[l],w.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=this.webpackChunkFusion_components=this.webpackChunkFusion_components||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),w(76498)}()});
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.